.es-selector {
    --es-navy: #26394B;
    --es-orange: #E8952B;
    --es-muted: #7C8A97;
    --es-line: #EDF0F2;
    --es-stop: #C0392B;
    --es-gold: #C9A227;
    color: var(--es-navy);
}

.es-selector-heading {
    font-size: 27px;
    line-height: 1.32;
    font-weight: 500;
    margin: 0 0 8px;
    letter-spacing: -0.01em;
    max-width: 760px;
}

.es-selector-lede {
    font-size: 14px;
    color: var(--es-muted);
    margin: 0;
    font-weight: 300;
}

.es-selector-group-label {
    font-size: 11px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--es-muted);
    margin: 32px 0 14px;
    font-weight: 500;
}

.es-selector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
    gap: 16px;
}

.es-selector-tile {
    background: #fff;
    border: 0;
    border-radius: 5px;
    padding: 26px 14px;
    text-align: center;
    font-size: 12px;
    line-height: 1.5;
    cursor: pointer;
    color: var(--es-navy);
    font-weight: 400;
    font-family: inherit;
    box-shadow: 0 2px 12px rgba(38, 57, 75, 0.09);
    transition: box-shadow 0.18s, transform 0.18s, background 0.18s;
    min-height: 142px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.es-selector-tile:hover {
    box-shadow: 0 4px 18px rgba(38, 57, 75, 0.15);
    transform: translateY(-1px);
}

.es-selector-tile svg {
    width: 36px;
    height: 36px;
    margin-bottom: 14px;
    stroke: var(--es-orange);
    fill: none;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: none;
}

.es-selector-tile.is-on {
    box-shadow: 0 0 0 2px var(--es-orange), 0 2px 12px rgba(232, 149, 43, 0.2);
    background: #FFFBF5;
}

.es-selector-tile--stop.is-on {
    box-shadow: 0 0 0 2px var(--es-stop), 0 2px 12px rgba(192, 57, 43, 0.18);
    background: #FDF4F3;
}

.es-selector-tile--stop.is-on svg {
    stroke: var(--es-stop);
}

.es-selector-tile--safe.is-on {
    box-shadow: 0 0 0 2px var(--es-gold), 0 2px 12px rgba(201, 162, 39, 0.18);
    background: #FDFAF0;
}

.es-selector-tile--safe.is-on svg {
    stroke: var(--es-gold);
}

.es-selector-result {
    margin-top: 34px;
    background: #FBFCFC;
    border-radius: 8px;
    padding: 26px 28px;
    box-shadow: 0 2px 12px rgba(38, 57, 75, 0.07);
}

.es-selector-result.is-halt {
    background: #FDF4F3;
    box-shadow: 0 0 0 1.5px #E4B6B0, 0 2px 12px rgba(192, 57, 43, 0.1);
}

.es-selector-result.is-warn {
    background: #FDFAF0;
    box-shadow: 0 0 0 1.5px #E5D28E, 0 2px 12px rgba(201, 162, 39, 0.1);
}

.es-selector-kicker {
    font-size: 10.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--es-muted);
    margin: 0 0 8px;
    font-weight: 500;
}

.es-selector-title {
    font-size: 27px;
    font-weight: 500;
    margin: 0;
    letter-spacing: -0.01em;
}

.es-selector-copy {
    font-size: 13.5px;
    color: var(--es-muted);
    margin: 8px 0 0;
    line-height: 1.75;
    font-weight: 300;
    max-width: 760px;
}

.es-selector-copy p {
    margin: 0 0 10px;
}

.es-selector-copy p:last-child {
    margin-bottom: 0;
}

.es-selector-deeds {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--es-line);
}

.es-selector-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    padding: 6px 0;
    color: var(--es-muted);
    gap: 18px;
    font-weight: 300;
}

.es-selector-row.is-total {
    border-top: 1px solid var(--es-line);
    margin-top: 10px;
    padding-top: 12px;
    color: var(--es-navy);
    font-size: 17px;
    font-weight: 500;
}

.es-selector-deeds input[type="number"] {
    width: 62px;
    padding: 5px 9px;
    border: 1px solid #DCE2E7;
    border-radius: 5px;
    font-size: 13px;
    font-family: inherit;
    color: var(--es-navy);
}

.es-selector-fine {
    font-size: 11.5px;
    color: var(--es-muted);
    margin: 14px 0 0;
    line-height: 1.75;
    font-weight: 300;
}

.es-selector-actions {
    margin-top: 18px;
}

.es-selector-consult {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    padding: 10px 22px;
    border-radius: 22px;
    background: #4A9FE0;
    color: #fff !important;
    text-decoration: none;
    border: 1.5px solid #4A9FE0;
}

.es-selector-consult:hover {
    color: #fff !important;
    opacity: 0.92;
}

@media (max-width: 575px) {
    .es-selector-heading,
    .es-selector-title {
        font-size: 22px;
    }

    .es-selector-result {
        padding: 20px 16px;
    }
}
