.check-shell {
    --check-navy: #1e3a8a;
    --check-line: #cbd5e1;
    --check-muted: #475569;
    min-width: 0;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background: #fff;
    color: #0f172a;
    box-shadow: 0 16px 35px rgb(15 23 42 / 9%);
    scroll-margin-top: .5rem;
}

.check-shell [hidden] {
    display: none !important;
}

.check-icons {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
}

.check-shell .icon,
.check-shell .choice-icon,
.check-shell .choice-arrow {
    display: inline-block;
    width: 1.15em;
    height: 1.15em;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: -.2em;
}

.check-shell .check-topline .icon,
.check-shell .step-footnote .icon,
.check-shell .check-bottom .icon,
.check-shell .contact-context .icon {
    margin-inline-end: .3em;
}

.check-shell .check-topline,
.check-shell .progress-row,
.check-shell .step-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem;
}

.check-shell .check-topline {
    color: var(--check-navy);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .035em;
}

.check-shell .check-intro {
    margin-top: .45rem;
    color: var(--check-muted);
    font-size: .85rem;
}

.check-shell .progress-row {
    margin-top: .9rem;
    color: var(--check-muted);
    font-size: .75rem;
    font-weight: 650;
}

.check-shell .progress-track {
    height: .375rem;
    margin: .4rem 0 1.25rem;
    overflow: hidden;
    border-radius: 99px;
    background: #e2e8f0;
}

.check-shell .progress-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--check-navy);
}

.check-shell .question-title {
    margin: 0;
    color: #0f172a;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.25;
    scroll-margin-top: .5rem;
}

.check-shell .question-help,
.check-shell .noscript-note {
    margin: .45rem 0 1rem;
    color: var(--check-muted);
    font-size: .875rem;
}

.check-shell .choice-grid,
.check-shell .field-stack {
    display: grid;
    gap: .65rem;
    min-width: 0;
}

.check-shell .choice-grid:not(.list-choices) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.check-shell .choice {
    display: flex;
    min-width: 0;
    min-height: 3rem;
    align-items: center;
    gap: .65rem;
    padding: .6rem .75rem;
    border: 1px solid var(--check-line);
    border-radius: .75rem;
    background: #fff;
    color: #1e293b;
    text-align: left;
    font-size: .875rem;
    font-weight: 700;
    line-height: 1.35;
    cursor: pointer;
}

.check-shell .choice:hover,
.check-shell .choice[aria-pressed="true"] {
    border-color: var(--check-navy);
    background: #eff6ff;
}

.check-shell .choice .choice-icon {
    width: 1.85rem;
    height: 1.35rem;
    color: var(--check-navy);
}

.check-shell .choice .choice-arrow {
    margin-left: auto;
    color: var(--check-navy);
}

.check-shell .icon-wash {
    fill: #dbeafe;
}

.check-shell .icon-accent {
    stroke: #b45309;
}

.check-shell .field-label {
    display: block;
    margin-bottom: .35rem;
    font-size: .875rem;
    font-weight: 700;
}

.check-shell .text-input {
    box-sizing: border-box;
    width: 100%;
    min-height: 2.75rem;
    padding: .5rem .65rem;
    border: 1px solid var(--check-line);
    border-radius: .55rem;
    background: #fff;
    color: #0f172a;
    font-size: 1rem;
}

.check-shell .text-input[aria-invalid="true"] {
    border-color: #b91c1c;
}

.check-shell .primary-button,
.check-shell .primary-link {
    display: flex;
    width: 100%;
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    margin-top: .9rem;
    padding: .55rem .75rem;
    border-radius: .6rem;
    background: var(--check-navy);
    color: #fff;
    font-size: .875rem;
    font-weight: 750;
    text-align: center;
}

.check-shell .primary-button:disabled {
    opacity: .7;
    cursor: wait;
}

.check-shell .field-note,
.check-shell .privacy-note,
.check-shell .step-footnote,
.check-shell .check-bottom,
.check-shell .optional-label {
    color: var(--check-muted);
    font-size: .75rem;
    font-weight: 400;
}

.check-shell .privacy-note,
.check-shell .field-note {
    margin-top: .375rem;
}

.check-shell .privacy-note a,
.check-shell .noscript-note a,
.check-shell .form-error a {
    color: var(--check-navy);
    text-decoration: underline;
}

.check-shell .contact-context,
.check-shell .form-error {
    margin: 0 0 .75rem;
    padding: .65rem .75rem;
    border-radius: .55rem;
    background: #eff6ff;
    color: #1e3a8a;
    font-size: .825rem;
}

.check-shell .form-error {
    margin-top: .75rem;
    background: #fef2f2;
    color: #991b1b;
}

.check-shell .step-actions,
.check-shell .check-bottom {
    margin-top: .75rem;
}

.check-shell .back-button {
    min-height: 2.75rem;
    padding-inline: .25rem;
    color: var(--check-navy);
    font-size: .875rem;
    font-weight: 700;
}

.check-shell .check-bottom {
    padding-top: .75rem;
    border-top: 1px solid #e2e8f0;
}

.check-shell .result-panel {
    text-align: center;
}

.check-shell .result-icon {
    display: grid;
    width: clamp(4.5rem, 20vw, 6.5rem);
    aspect-ratio: 1;
    place-items: center;
    margin: .25rem auto 1.1rem;
    border: 2px solid #a7f3d0;
    border-radius: 50%;
    background: #ecfdf5;
    color: #047857;
}

.check-shell .result-icon .icon {
    width: 56%;
    height: 56%;
    stroke-width: 2.6;
}

.check-shell .result-title {
    color: var(--check-navy);
    font-size: clamp(1.45rem, 3.5vw, 1.95rem);
    font-weight: 850;
}

.check-shell .result-copy {
    margin: .85rem 0 .5rem;
    color: #334155;
    font-size: .9rem;
    line-height: 1.5;
}

.check-shell .result-contact,
.check-shell .result-status-note,
.check-shell .result-vehicle {
    margin-top: .6rem;
    color: var(--check-muted);
    font-size: .8rem;
}

.check-shell .result-sent {
    margin-top: .65rem;
    color: #166534;
    font-size: .75rem;
}

.check-shell .result-summary {
    margin-top: .9rem;
    padding-top: .75rem;
    border-top: 1px solid #e2e8f0;
    color: var(--check-muted);
    text-align: left;
    font-size: .8rem;
}

.check-shell .result-summary summary {
    min-height: 2rem;
    cursor: pointer;
}

.check-shell .result-summary dl {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
    gap: .35rem .65rem;
}

.check-shell .result-summary dd {
    margin: 0;
    overflow-wrap: anywhere;
}

.check-shell.submitted .check-topline,
.check-shell.submitted .check-intro,
.check-shell.submitted .progress-row,
.check-shell.submitted .progress-track,
.check-shell.submitted .step-actions,
.check-shell.submitted .check-bottom {
    display: none;
}

.check-shell :focus-visible {
    outline: 2px solid var(--check-navy);
    outline-offset: 3px;
}

@media (max-width: 767px) {
    body:has(.check-shell:focus-within) .whatsapp-float {
        visibility: hidden;
    }
}

@media (max-width: 480px) {
    .check-shell {
        padding: 1rem;
    }

    .check-shell .choice {
        padding: .55rem;
        gap: .45rem;
    }

    .check-shell .vehicle-choice .choice-arrow {
        display: none;
    }
}
