/* One-field searchable selects + mobile no-zoom form controls */
.ch-search-select {
    position: relative;
}

.ch-native-select-hidden {
    position: absolute !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 1px !important;
    height: 1px !important;
    min-height: 1px !important;
    padding: 0 !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.ch-combo {
    position: relative;
}

.ch-combo__button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 46px;
    padding: 11px 12px;
    border: 1px solid #d6deea;
    background: #fff;
    color: #101828;
    font: 700 13px var(--ch-font);
    text-align: left;
    cursor: pointer;
}

.ch-combo__button i {
    color: #667085;
    font-style: normal;
    font-size: 15px;
}

.ch-combo__button.is-placeholder {
    color: #8a94a6;
}

.ch-combo__button.is-invalid {
    border-color: #f04438;
}

.ch-combo__panel {
    position: absolute;
    z-index: 40;
    top: calc(100% + 6px);
    right: 0;
    left: 0;
    padding: 8px;
    border: 1px solid #dbe6f4;
    background: #fff;
    box-shadow: none;
}

.ch-combo__search {
    width: 100%;
    min-height: 42px;
    margin: 0 0 7px;
    padding: 9px 10px;
    border: 1px solid #d6deea;
    background: #fff;
    color: #101828;
    font: 600 14px var(--ch-font);
}

.ch-combo__options {
    display: grid;
    gap: 4px;
    max-height: 240px;
    overflow: auto;
}

.ch-combo__option {
    width: 100%;
    padding: 10px;
    border: 0;
    background: #fff;
    color: #101828;
    font: 700 13px var(--ch-font);
    text-align: left;
    cursor: pointer;
}

.ch-combo__option:hover,
.ch-combo__option[aria-selected="true"] {
    background: #eef8ff;
    color: #0f8bd3;
}

.ch-combo__empty {
    padding: 12px 10px;
    color: #8a94a6;
    font: 700 13px var(--ch-font);
}

@media (max-width: 767.98px) {
    .ch-body:not(.ch-landing-page) .ch-button,
    .ch-body:not(.ch-landing-page) .ch-button span,
    .ch-body:not(.ch-landing-page) .ch-text-button,
    .ch-body:not(.ch-landing-page) .ch-customer-steps a,
    .ch-body:not(.ch-landing-page) .ch-order-card__link,
    .ch-body:not(.ch-landing-page) .ch-admin-order-open,
    .ch-body:not(.ch-landing-page) .ch-admin-tab,
    .ch-body:not(.ch-landing-page) .ch-payment-account button {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .ch-body:not(.ch-landing-page) .ch-button {
        font-size: 12px;
    }

    .ch-body:not(.ch-landing-page) .ch-text-button {
        font-size: 11px;
    }

    .ch-body:not(.ch-landing-page) .ch-customer-empty .ch-button,
    .ch-body:not(.ch-landing-page) .ch-order-card__link {
        line-height: 1.25;
        min-height: 40px;
        padding-block: 0;
    }

    .ch-body:not(.ch-landing-page) .ch-wizard-progress button {
        font-size: 10px;
    }

    .ch-body:not(.ch-landing-page) input,
    .ch-body:not(.ch-landing-page) select,
    .ch-body:not(.ch-landing-page) textarea,
    .ch-body:not(.ch-landing-page) .ch-combo__button,
    .ch-body:not(.ch-landing-page) .ch-combo__search {
        font-size: 16px !important;
    }
}

/* Hard stop for mobile horizontal drift / rubber-band sideways movement */
html,
body.ch-body,
.ch-body .ch-app,
.ch-body .ch-shell,
.ch-body .ch-main,
.ch-body .ch-customer-stage,
.ch-body .ch-customer-order-head {
    max-width: 100%;
    overflow-x: hidden;
}

.ch-body:not(.ch-landing-page) {
    width: 100%;
    overscroll-behavior-x: none;
    touch-action: pan-y;
}

.ch-body:not(.ch-landing-page) *,
.ch-body:not(.ch-landing-page) *::before,
.ch-body:not(.ch-landing-page) *::after {
    box-sizing: border-box;
}

.ch-body:not(.ch-landing-page) img,
.ch-body:not(.ch-landing-page) svg,
.ch-body:not(.ch-landing-page) iframe,
.ch-body:not(.ch-landing-page) video,
.ch-body:not(.ch-landing-page) canvas,
.ch-body:not(.ch-landing-page) table {
    max-width: 100%;
}

@media (max-width: 767.98px) {
    html,
    body.ch-body {
        position: relative;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden !important;
    }

    .ch-body:not(.ch-landing-page) .ch-shell,
    .ch-body:not(.ch-landing-page) .ch-customer-stage,
    .ch-body:not(.ch-landing-page) .ch-customer-order-head {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
}

/* Customer order steps mirror assistant progress */
.ch-body .ch-customer-steps a.is-done,
.ch-body .ch-customer-steps a.is-active.is-done {
    border-color: #22c55e !important;
    background: #f2fbf5 !important;
    color: #15803d !important;
}

.ch-body .ch-customer-steps a.is-done b {
    display: inline-grid;
    width: 22px;
    height: 22px;
    place-items: center;
    background: #22c55e;
    color: #fff;
    font-size: 12px;
    line-height: 1;
}

.ch-body .ch-customer-steps a.is-future:not(.is-done) {
    background: #fff !important;
    border-color: #e5e7eb !important;
    color: #8a94a6 !important;
}

.ch-body:not(.ch-landing-page) .ch-status--requested,
.ch-body:not(.ch-landing-page) .ch-pill--requested { background: #eaf2ff !important; color: #1d4ed8 !important; }
.ch-body:not(.ch-landing-page) .ch-status--assigned,
.ch-body:not(.ch-landing-page) .ch-pill--assigned { background: #f3e8ff !important; color: #6d28d9 !important; }
.ch-body:not(.ch-landing-page) .ch-status--accepted,
.ch-body:not(.ch-landing-page) .ch-pill--accepted { background: #eef2ff !important; color: #4338ca !important; }
.ch-body:not(.ch-landing-page) .ch-status--on_the_way,
.ch-body:not(.ch-landing-page) .ch-pill--on_the_way { background: #ecfeff !important; color: #0891b2 !important; }
.ch-body:not(.ch-landing-page) .ch-status--picked_up,
.ch-body:not(.ch-landing-page) .ch-pill--picked_up { background: #ccfbf1 !important; color: #0f766e !important; }
.ch-body:not(.ch-landing-page) .ch-status--at_workshop,
.ch-body:not(.ch-landing-page) .ch-pill--at_workshop { background: #e0f2fe !important; color: #0369a1 !important; }
.ch-body:not(.ch-landing-page) .ch-status--diagnosis,
.ch-body:not(.ch-landing-page) .ch-pill--diagnosis { background: #fff7ed !important; color: #b45309 !important; }
.ch-body:not(.ch-landing-page) .ch-status--awaiting_approval,
.ch-body:not(.ch-landing-page) .ch-pill--awaiting_approval { background: #fef9c3 !important; color: #a16207 !important; }
.ch-body:not(.ch-landing-page) .ch-status--payment_pending,
.ch-body:not(.ch-landing-page) .ch-pill--payment_pending { background: #ffedd5 !important; color: #c2410c !important; }
.ch-body:not(.ch-landing-page) .ch-status--paid,
.ch-body:not(.ch-landing-page) .ch-pill--paid { background: #d1fae5 !important; color: #047857 !important; }
.ch-body:not(.ch-landing-page) .ch-status--in_repair,
.ch-body:not(.ch-landing-page) .ch-pill--in_repair { background: #f5f3ff !important; color: #7c3aed !important; }
.ch-body:not(.ch-landing-page) .ch-status--ready_for_delivery,
.ch-body:not(.ch-landing-page) .ch-pill--ready_for_delivery { background: #dcfce7 !important; color: #15803d !important; }
.ch-body:not(.ch-landing-page) .ch-status--returning,
.ch-body:not(.ch-landing-page) .ch-pill--returning { background: #fae8ff !important; color: #a21caf !important; }
.ch-body:not(.ch-landing-page) .ch-status--completed,
.ch-body:not(.ch-landing-page) .ch-pill--completed { background: #dcfce7 !important; color: #166534 !important; }
.ch-body:not(.ch-landing-page) .ch-status--cancelled,
.ch-body:not(.ch-landing-page) .ch-pill--cancelled { background: #f3f4f6 !important; color: #4b5563 !important; }

.ch-header {
    min-height: 96px;
}

.ch-select-search {
    margin-bottom: 8px;
}

.ch-map-picker {
    position: relative;
    min-height: 270px;
    overflow: hidden;
    border: 1px solid #dbe6f4;
    border-radius: 14px;
    background: #eef4ff;
}

.ch-map-picker--compact {
    min-height: 210px;
    margin-top: 14px;
}

.ch-map-picker__canvas {
    position: absolute;
    inset: 0;
}

.ch-map-picker__current {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 2;
    min-height: 38px;
    padding: 0 14px;
    border: 0;
    border-radius: 10px;
    background: #ffffff;
    color: #101828;
    box-shadow: 0 10px 25px rgba(16, 24, 40, .16);
    font: 800 12px var(--ch-font);
}

.ch-map-picker.is-invalid {
    border-color: #f04438;
    box-shadow: 0 0 0 3px rgba(240, 68, 56, .12);
}

.ch-checkbox-line {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    width: max-content;
    max-width: 100%;
    margin-top: -2px;
    color: #475467;
    font-size: 12px;
    font-weight: 700;
}

.ch-checkbox-line input {
    width: 16px;
    height: 16px;
    min-height: 16px;
    padding: 0;
    flex: none;
    accent-color: #1fa8f8;
}

.ch-checkbox-line > span {
    margin: 0 !important;
}

.ch-assistant-trust {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
    border-radius: 16px;
    background: #101828;
    color: #ffffff;
    box-shadow: 0 18px 36px rgba(16, 24, 40, .14);
}

.ch-assistant-trust span {
    min-height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 20px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    border-right: 1px solid rgba(255, 255, 255, .14);
}

.ch-assistant-trust span:last-child {
    border-right: 0;
}

.ch-assistant-trust i {
    width: 30px;
    height: 30px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: #ffffff;
    color: var(--ch-blue);
    font-style: normal;
    font-size: 15px;
    line-height: 1;
}

@media (max-width: 640px) {
    .ch-header {
        min-height: 82px;
    }

    .ch-customer-hero,
    .ch-customer-focus__head,
    .ch-customer-history__head {
        align-items: flex-start;
        flex-direction: column;
    }

    .ch-customer-hero__actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .ch-customer-hero__actions .ch-button,
    .ch-customer-empty .ch-button,
    .ch-form-submit .ch-button {
        width: 100%;
    }

    .ch-current-order {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .ch-current-order__status,
    .ch-current-order__arrow {
        grid-column: 1 / -1;
        justify-items: start;
        text-align: left;
    }

    .ch-customer-empty {
        align-items: flex-start;
        flex-direction: column;
    }

    .ch-customer-history__list a {
        grid-template-columns: 1fr 16px;
    }

    .ch-customer-history__list span,
    .ch-customer-history__list b {
        grid-column: 1 / -1;
    }

    .ch-map-picker {
        min-height: 240px;
        margin-left: -4px;
        margin-right: -4px;
    }

    .ch-app {
        padding-top: 24px;
    }

    .ch-app-hero {
        gap: 14px;
    }

    .ch-app-hero h1 {
        font-size: 26px;
        margin: 6px 0 0;
    }

    .ch-app-hero p,
    .ch-form-step p,
    .ch-form-submit p {
        display: none;
    }

    .ch-app-hero .ch-button {
        width: 100%;
    }

    .ch-form-card,
    .ch-detail-card,
    .ch-order-head,
    .ch-order-card,
    .ch-vehicle-card,
    .ch-notification-item {
        border-radius: 13px;
    }

    .ch-form-step {
        gap: 10px;
    }

    .ch-form-step > span {
        width: 28px;
        height: 28px;
        border-radius: 9px;
    }

    .ch-form-step h2,
    .ch-detail-card__head h2,
    .ch-detail-card > h2 {
        font-size: 16px;
    }

    .ch-form-divider {
        margin: 20px 0;
    }

    .ch-vehicle-select {
        align-items: flex-start;
        padding: 12px;
    }

    input,
    select,
    textarea {
        min-height: 43px;
        padding: 10px 11px;
        font-size: 12px;
    }

    .ch-detail-card__head {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
        margin-bottom: 14px;
    }

    .ch-order-head__title {
        align-items: flex-start;
    }

    .ch-order-head__title h1 {
        font-size: 19px;
        line-height: 1.25;
    }

    .ch-order-head__title p {
        max-width: 100%;
        word-break: break-word;
    }

    .ch-order-card {
        padding: 15px;
    }

    .ch-order-card__vehicle {
        margin: 14px 0;
    }

    .ch-notification-item {
        grid-template-columns: 8px minmax(0, 1fr);
        gap: 10px;
        padding: 13px 14px;
    }

    .ch-auth {
        padding: 22px 12px;
    }

    .ch-auth__card {
        border-radius: 16px;
        padding: 23px 18px;
    }

    .ch-auth__card h1 {
        font-size: 22px;
        margin-bottom: 14px;
    }

    .ch-footer__grid {
        grid-template-columns: 1fr;
        gap: 18px;
        padding-bottom: 36px;
    }

    .ch-footer__intro {
        display: none;
    }

    .ch-assistant-trust {
        grid-template-columns: 1fr;
        margin-top: 22px;
        border-radius: 14px;
    }

    .ch-assistant-trust span {
        min-height: 58px;
        justify-content: flex-start;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .14);
        font-size: 13px;
    }

    .ch-assistant-trust span:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 420px) {
    .ch-shell,
    .ch-header__inner {
        width: min(100% - 24px, 1180px);
    }

    .ch-app-hero h1 {
        font-size: 24px;
    }

    .ch-button--large {
        min-height: 48px;
        padding: 0 16px;
        font-size: 13px;
    }

    .ch-map-picker {
        min-height: 218px;
    }

    .ch-photo-grid,
    .ch-photo-grid--compact {
        grid-template-columns: 1fr;
    }
}

/* ---------- flat minimal pass ---------- */

.ch-body .ch-header,
.ch-body .ch-menu-open .ch-nav,
.ch-body .ch-button,
.ch-body .ch-floating-card,
.ch-body .ch-step,
.ch-body .ch-service-card,
.ch-body .ch-assistant-card,
.ch-body .ch-phone-mockup,
.ch-body .ch-mini-car,
.ch-body .ch-mini-quote,
.ch-body .ch-current-order,
.ch-body .ch-customer-focus,
.ch-body .ch-customer-history,
.ch-body .ch-customer-empty,
.ch-body .ch-order-card,
.ch-body .ch-vehicle-card,
.ch-body .ch-form-card,
.ch-body .ch-detail-card,
.ch-body .ch-order-head,
.ch-body .ch-notification-item,
.ch-body .ch-auth__card,
.ch-body .ch-map-picker,
.ch-body .ch-map-picker__current,
.ch-body .ch-checkbox-line input,
.ch-body .ch-assistant-profile,
.ch-body .ch-assistant-page-card,
.ch-body .ch-make-chip,
.ch-body .ch-make-logo,
.ch-body .ch-review-card,
.ch-body .ch-public-hero,
.ch-body .ch-public-hero__aside,
.ch-body .ch-public-cta,
.ch-body details,
.ch-body input,
.ch-body select,
.ch-body textarea,
.ch-body .ch-phone-input {
    border-radius: 0 !important;
    box-shadow: none !important;
}

.ch-body .ch-button:hover,
.ch-body .ch-step:hover,
.ch-body .ch-service-card:hover,
.ch-body .ch-assistant-card--link:hover,
.ch-body .ch-assistant-page-card:hover,
.ch-body .ch-order-card:hover,
.ch-body .ch-photo-card:hover img {
    transform: none !important;
    box-shadow: none !important;
}

.ch-body .ch-car-square,
.ch-body .ch-order-card__vehicle > span,
.ch-body .ch-current-order__icon,
.ch-body .ch-vehicle-card__icon,
.ch-body .ch-step__icon,
.ch-body .ch-empty > span,
.ch-body .ch-awaiting-card > span,
.ch-body .ch-quote-icon,
.ch-body .ch-status,
.ch-body .ch-primary,
.ch-body .ch-paid-state,
.ch-body .ch-quote-state {
    border-radius: 0 !important;
}

.ch-body .ch-status::before,
.ch-body .ch-pill::before {
    content: "●";
    margin-right: 6px;
    font-size: 8px;
    line-height: 1;
}

.ch-body .ch-app-hero p,
.ch-body .ch-section-heading > p,
.ch-body .ch-services__header > p,
.ch-body .ch-assistants__heading > p,
.ch-body .ch-public-hero p,
.ch-body .ch-public-section__head p,
.ch-body .ch-public-hero__aside span,
.ch-body .ch-public-cta p,
.ch-body .ch-faq-page__copy p,
.ch-body .ch-detail-card dd,
.ch-body .ch-side-copy,
.ch-body .ch-inline-notice {
    font-size: 11px !important;
    line-height: 1.45 !important;
}

/* ---------- customer vehicle edit/delete ---------- */

.ch-body .ch-vehicle-card--editable {
    display: grid;
    align-items: stretch;
    gap: 14px;
}

.ch-body .ch-vehicle-card__main {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
}

.ch-body .ch-vehicle-card--editable .ch-primary {
    position: static;
    justify-self: end;
}

.ch-body .ch-vehicle-card__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--ch-line);
}

.ch-body .ch-vehicle-edit {
    flex: 1 1 auto;
}

.ch-body .ch-vehicle-edit summary,
.ch-body .ch-text-button {
    cursor: pointer;
    border: 0;
    background: transparent;
    color: var(--ch-blue);
    font: 800 12px var(--ch-font);
    text-decoration: none;
    padding: 0;
}

.ch-body .ch-text-button--danger {
    color: #dc2626;
}

.ch-body .ch-vehicle-edit summary::-webkit-details-marker {
    display: none;
}

.ch-body .ch-vehicle-edit[open] summary {
    margin-bottom: 14px;
}

.ch-body .ch-form-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--ch-line);
    background: #f8fbff;
}

.ch-body .ch-vehicle-edit__actions {
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 640px) {
    .ch-body .ch-vehicle-card__main {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .ch-body .ch-vehicle-card__main .ch-primary {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .ch-body .ch-vehicle-card__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .ch-body .ch-form-grid--compact {
        grid-template-columns: 1fr;
    }

    .ch-body .ch-vehicle-edit__actions .ch-button,
    .ch-body .ch-vehicle-card__actions .ch-text-button {
        width: 100%;
    }
}

/* ---------- customer call wizard ---------- */

.ch-body .ch-call-wizard {
    display: grid;
    gap: 22px;
}

.ch-body .ch-wizard-progress {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.ch-body .ch-wizard-progress button {
    min-height: 58px;
    border: 1px solid var(--ch-line);
    background: #fff;
    color: #98a2b3;
    cursor: pointer;
    font: 800 12px Inter, Arial, sans-serif;
    text-align: left;
    padding: 12px 14px;
}

.ch-body .ch-wizard-progress button span {
    display: block;
    margin-top: 2px;
    color: #475467;
    font: 800 11px var(--ch-font);
}

.ch-body .ch-wizard-progress button.is-active {
    border-color: var(--ch-blue);
    color: var(--ch-blue);
    background: #f5fbff;
}

.ch-body .ch-wizard-panel {
    display: grid;
    gap: 18px;
}

.ch-body .ch-wizard-panel[hidden],
.ch-body .ch-inline-vehicle-form[hidden] {
    display: none !important;
}

.ch-body .ch-inline-vehicle-form {
    padding: 18px;
    border: 1px solid var(--ch-line);
    background: #f8fbff;
}

.ch-body .ch-wizard-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid var(--ch-line);
}

.ch-body .ch-call-wizard .ch-button--ghost {
    background: #fff !important;
    border: 1px solid var(--ch-line) !important;
    color: #475467 !important;
}

.ch-body .ch-vehicle-select--add {
    border-style: dashed;
}

.ch-body .ch-vehicle-logo {
    overflow: hidden;
    background: #fff !important;
    border: 1px solid var(--ch-line);
}

.ch-body .ch-vehicle-logo img {
    width: 82%;
    height: 82%;
    display: block;
    object-fit: contain;
}

.ch-body .ch-vehicle-logo > span {
    font: 800 14px Inter, Arial, sans-serif;
    color: var(--ch-primary);
}

.ch-body .ch-wizard-empty {
    align-items: flex-start;
    text-align: left;
    margin-top: 16px;
}

/* ---------- customer order step-by-step details ---------- */

.ch-body .ch-customer-order-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px;
    margin-bottom: 14px;
    background: #fff;
    border: 1px solid var(--ch-line);
}

.ch-body .ch-customer-order-head__title {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.ch-body .ch-customer-back {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    flex: none;
    color: var(--ch-ink);
    text-decoration: none;
    border: 1px solid var(--ch-line);
    background: #fff;
    font: 800 18px Inter, Arial, sans-serif;
}

.ch-body .ch-customer-order-head__title > div:last-child {
    min-width: 0;
}

.ch-body .ch-customer-order-head__title span {
    display: block;
    color: #667085;
    font: 800 11px Inter, Arial, sans-serif;
}

.ch-body .ch-customer-order-head h1 {
    margin: 2px 0;
    font-size: 24px;
    line-height: 1.15;
    letter-spacing: -.5px;
}

.ch-body .ch-customer-order-head p,
.ch-body .ch-customer-order-head small {
    margin: 0;
    color: #667085;
    font-size: 12px;
}

.ch-body .ch-customer-order-head__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: none;
}

.ch-body .ch-customer-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 14px;
}

.ch-body .ch-customer-steps a {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 11px 13px;
    color: #667085;
    text-decoration: none;
    background: #fff;
    border: 1px solid var(--ch-line);
}

.ch-body .ch-customer-steps b {
    color: inherit;
    font: 800 13px Inter, Arial, sans-serif;
}

.ch-body .ch-customer-steps span {
    color: inherit;
    font-size: 12px;
    font-weight: 800;
    text-align: right;
}

.ch-body .ch-customer-steps a.is-active {
    color: var(--ch-primary);
    border-color: var(--ch-primary);
    background: #f5fbff;
}

.ch-body .ch-customer-steps a.is-done {
    color: #168349;
}

.ch-body .ch-customer-steps a.is-current:not(.is-active) {
    border-color: #8bd4ff;
}

.ch-body .ch-customer-steps a.is-future {
    color: #98a2b3;
}

.ch-body .ch-customer-stage {
    background: #fff;
    border: 1px solid var(--ch-line);
    padding: 22px;
}

.ch-body .ch-customer-stage__head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--ch-line);
}

.ch-body .ch-customer-stage__head > span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    flex: none;
    color: var(--ch-primary);
    background: #eef8ff;
    font: 800 12px Inter, Arial, sans-serif;
}

.ch-body .ch-customer-stage__head h2 {
    margin: 0 0 3px;
    font-size: 24px;
    line-height: 1.15;
}

.ch-body .ch-customer-stage__head p {
    margin: 0;
    color: #667085;
    font-size: 12px;
}

.ch-body .ch-overview-grid {
    display: grid;
    grid-template-columns: 1.35fr repeat(4, minmax(0, .75fr));
    gap: 10px;
}

.ch-body .ch-overview-card,
.ch-body .ch-customer-quote-panel {
    padding: 16px;
    border: 1px solid var(--ch-line);
    background: #fff;
}

.ch-body .ch-overview-card--wide {
    grid-row: span 2;
}

.ch-body .ch-overview-card span,
.ch-body .ch-customer-quote-panel__head span {
    display: block;
    margin-bottom: 8px;
    color: #667085;
    font-size: 10px;
    font-weight: 800;
}

.ch-body .ch-overview-card h3,
.ch-body .ch-customer-quote-panel__head h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.25;
}

.ch-body .ch-overview-card p {
    margin: 8px 0 0;
    color: #667085;
    font-size: 12px;
    line-height: 1.55;
}

.ch-body .ch-customer-quote-panel {
    margin-top: 12px;
}

.ch-body .ch-customer-quote-panel__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.ch-body .ch-customer-quote-panel__head b {
    flex: none;
    color: var(--ch-primary);
    background: #eef8ff;
    padding: 6px 9px;
    font-size: 11px;
}

.ch-body .ch-customer-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.ch-body .ch-customer-actions form {
    margin: 0;
}

.ch-body .ch-customer-actions .ch-button {
    min-height: 42px;
}

.ch-body .ch-invoice-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 14px;
    color: var(--ch-primary);
    text-decoration: none;
    border: 1px solid var(--ch-primary);
    font-size: 12px;
    font-weight: 800;
}

.ch-body .ch-payment-account {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 13px;
    padding: 12px;
    border: 1px solid var(--ch-line);
    background: #f8fbff;
}

.ch-body .ch-payment-account span,
.ch-body .ch-payment-account small {
    display: block;
    color: #667085;
    font-size: 10px;
    line-height: 1.4;
}

.ch-body .ch-payment-account strong {
    display: block;
    margin: 3px 0;
    color: #101828;
    font-family: Inter, Arial, sans-serif;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .01em;
    overflow-wrap: anywhere;
}

.ch-body .ch-payment-account button {
    flex: none;
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid var(--ch-primary);
    background: #fff;
    color: var(--ch-primary);
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.ch-body .ch-payment-account button.is-copied {
    border-color: #16a34a;
    color: #16a34a;
}

.ch-body .ch-customer-overview-bottom,
.ch-body .ch-stage-two-col {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    margin-top: 12px;
}

.ch-body .ch-map-embed {
    width: 100%;
    height: 260px;
    display: block;
    border: 1px solid var(--ch-line);
    background: #eef1f5;
}

.ch-body .ch-info-list {
    margin: 14px 0 0;
}

.ch-body .ch-info-list > div {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid var(--ch-line);
}

.ch-body .ch-info-list dt {
    color: #667085;
    font-size: 10px;
    font-weight: 800;
}

.ch-body .ch-info-list dd {
    margin: 0;
    color: var(--ch-ink);
    font-size: 12px;
    line-height: 1.45;
}

.ch-body .ch-photo-grid--customer {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ch-body .ch-photo-grid--customer .ch-empty {
    grid-column: 1 / -1;
}

.ch-body .ch-photo-card[data-photo-preview] {
    cursor: zoom-in;
}

.ch-body .ch-photo-lightbox[hidden] {
    display: none !important;
}

.ch-body .ch-photo-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(15, 23, 42, .82);
}

.ch-body .ch-photo-lightbox__panel {
    position: relative;
    width: min(980px, 100%);
    max-height: calc(100vh - 48px);
    display: grid;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--ch-line);
    padding: 12px;
}

.ch-body .ch-photo-lightbox__panel img {
    width: 100%;
    max-height: calc(100vh - 130px);
    object-fit: contain;
    display: block;
    background: #0f172a;
}

.ch-body .ch-photo-lightbox__panel span {
    color: var(--ch-ink);
    font-size: 12px;
    font-weight: 800;
}

.ch-body .ch-photo-lightbox__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(15, 23, 42, .82);
    border: 0;
    font: 800 22px Inter, Arial, sans-serif;
    cursor: pointer;
}

.ch-photo-lightbox-open {
    overflow: hidden;
}

.ch-body .ch-cancel-card--customer {
    margin-top: 12px;
}

@media (max-width: 640px) {
    .ch-body .ch-call-wizard {
        gap: 16px;
    }

    .ch-body .ch-wizard-progress {
        grid-template-columns: 1fr;
    }

    .ch-body .ch-wizard-progress button {
        min-height: 46px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 10px 12px;
    }

    .ch-body .ch-wizard-progress button span {
        margin: 0;
    }

    .ch-body .ch-inline-vehicle-form {
        padding: 12px;
    }

    .ch-body .ch-wizard-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .ch-body .ch-wizard-actions .ch-button {
        width: 100%;
    }
}

/* ---------- customer mobile polish ---------- */

@media (max-width: 640px) {
    .ch-body:not(.ch-landing-page) {
        overflow-x: hidden;
    }

    .ch-body:not(.ch-landing-page) .ch-header {
        height: 76px;
        min-height: 76px;
    }

    .ch-body:not(.ch-landing-page) .ch-header__inner,
    .ch-body:not(.ch-landing-page) .ch-shell {
        width: min(100% - 24px, 1180px);
    }

    .ch-body:not(.ch-landing-page) .ch-menu-toggle {
        width: 42px;
        height: 42px;
        padding: 9px;
    }

    .ch-body:not(.ch-landing-page).ch-menu-open .ch-nav {
        top: 75px;
        padding: 14px 12px;
    }

    .ch-body:not(.ch-landing-page).ch-menu-open .ch-nav a {
        width: 100%;
        padding: 8px 0;
        color: #101828;
        font-size: 13px;
    }

    .ch-body:not(.ch-landing-page) .ch-app {
        padding: 18px 0 46px;
    }

    .ch-body:not(.ch-landing-page) .ch-app-hero,
    .ch-body:not(.ch-landing-page) .ch-app-hero--compact,
    .ch-body:not(.ch-landing-page) .ch-customer-hero {
        padding: 8px 0 18px;
        gap: 10px;
    }

    .ch-body:not(.ch-landing-page) .ch-app-hero h1,
    .ch-body:not(.ch-landing-page) .ch-customer-hero h1 {
        font-size: 24px;
        line-height: 1.18;
        letter-spacing: -.7px;
        margin: 4px 0 0;
    }

    .ch-body:not(.ch-landing-page) .ch-eyebrow {
        font-size: 10px;
        gap: 7px;
    }

    .ch-body:not(.ch-landing-page) .ch-form-card,
    .ch-body:not(.ch-landing-page) .ch-detail-card,
    .ch-body:not(.ch-landing-page) .ch-customer-focus,
    .ch-body:not(.ch-landing-page) .ch-customer-history,
    .ch-body:not(.ch-landing-page) .ch-order-head,
    .ch-body:not(.ch-landing-page) .ch-order-card,
    .ch-body:not(.ch-landing-page) .ch-vehicle-card {
        padding: 14px;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .ch-body:not(.ch-landing-page) .ch-call-wizard {
        gap: 12px;
    }

    .ch-body:not(.ch-landing-page) .ch-wizard-progress {
        display: flex;
        grid-template-columns: none;
        gap: 7px;
        margin: 0 -2px;
        padding: 0 2px 2px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .ch-body:not(.ch-landing-page) .ch-wizard-progress::-webkit-scrollbar {
        display: none;
    }

    .ch-body:not(.ch-landing-page) .ch-wizard-progress button {
        flex: 1 0 31%;
        min-width: 96px;
        min-height: 42px;
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        justify-content: start;
        gap: 6px;
        padding: 8px 9px;
        text-align: left;
        font-size: 10px;
        line-height: 1.25;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .ch-body:not(.ch-landing-page) .ch-wizard-progress button span {
        display: block;
        min-width: 0;
        margin: 0;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        color: inherit;
        font-size: 9px;
        line-height: 1.25;
    }

    .ch-body:not(.ch-landing-page) .ch-wizard-panel {
        gap: 12px;
    }

    .ch-body:not(.ch-landing-page) .ch-form-step {
        align-items: center;
        gap: 9px;
    }

    .ch-body:not(.ch-landing-page) .ch-form-step > span {
        width: 31px;
        height: 31px;
        flex: 0 0 31px;
        border-radius: 0;
        font-size: 10px;
    }

    .ch-body:not(.ch-landing-page) .ch-form-step h2,
    .ch-body:not(.ch-landing-page) .ch-detail-card__head h2,
    .ch-body:not(.ch-landing-page) .ch-detail-card > h2,
    .ch-body:not(.ch-landing-page) .ch-customer-focus h2,
    .ch-body:not(.ch-landing-page) .ch-customer-history__head h2 {
        font-size: 18px;
        line-height: 1.22;
        letter-spacing: -.35px;
    }

    .ch-body:not(.ch-landing-page) .ch-form-grid,
    .ch-body:not(.ch-landing-page) .ch-form-grid--compact {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 12px;
        padding: 0;
        border: 0;
        background: transparent;
    }

    .ch-body:not(.ch-landing-page) .ch-inline-vehicle-form {
        padding: 10px;
        border-radius: 0;
    }

    .ch-body:not(.ch-landing-page) .ch-vehicle-select-grid {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 12px;
    }

    .ch-body:not(.ch-landing-page) .ch-vehicle-select {
        min-height: 74px;
        padding: 11px;
        border-radius: 0;
    }

    .ch-body:not(.ch-landing-page) .ch-vehicle-select__visual,
    .ch-body:not(.ch-landing-page) .ch-vehicle-card__icon,
    .ch-body:not(.ch-landing-page) .ch-car-square,
    .ch-body:not(.ch-landing-page) .ch-order-card__vehicle > span {
        width: 34px;
        height: 34px;
        border-radius: 0;
        font-size: 15px;
    }

    .ch-body:not(.ch-landing-page) .ch-vehicle-select strong,
    .ch-body:not(.ch-landing-page) .ch-vehicle-card h3,
    .ch-body:not(.ch-landing-page) .ch-order-card__vehicle strong {
        font-size: 13px;
        line-height: 1.25;
    }

    .ch-body:not(.ch-landing-page) .ch-vehicle-select small,
    .ch-body:not(.ch-landing-page) .ch-vehicle-card p,
    .ch-body:not(.ch-landing-page) .ch-order-card__vehicle small {
        font-size: 11px;
    }

    .ch-body:not(.ch-landing-page) input,
    .ch-body:not(.ch-landing-page) select,
    .ch-body:not(.ch-landing-page) textarea {
        min-height: 44px;
        border-radius: 0 !important;
        font-size: 13px;
    }

    .ch-body:not(.ch-landing-page) .ch-select-search {
        margin-bottom: 6px;
    }

    .ch-body:not(.ch-landing-page) .ch-map-picker {
        min-height: 260px;
        margin: 0;
        border-radius: 0;
    }

    .ch-body:not(.ch-landing-page) .ch-wizard-actions {
        position: sticky;
        bottom: 0;
        z-index: 8;
        flex-direction: row;
        align-items: center;
        gap: 8px;
        margin: 4px -14px -14px;
        padding: 10px 14px;
        border-top: 1px solid var(--ch-line);
        background: rgba(255, 255, 255, .96);
        backdrop-filter: blur(10px);
    }

    .ch-body:not(.ch-landing-page) .ch-wizard-actions .ch-button {
        width: auto;
        flex: 1 1 auto;
        min-height: 46px;
    }

    .ch-body:not(.ch-landing-page) .ch-wizard-actions .ch-button--ghost {
        flex: 0 0 92px;
    }

    .ch-body:not(.ch-landing-page) .ch-customer-hero__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        width: 100%;
    }

    .ch-body:not(.ch-landing-page) .ch-customer-hero__actions .ch-button,
    .ch-body:not(.ch-landing-page) .ch-app-hero .ch-button {
        width: 100%;
        min-height: 44px;
        padding: 0 10px;
        font-size: 11px;
    }

    .ch-body:not(.ch-landing-page) .ch-current-order {
        grid-template-columns: 36px minmax(0, 1fr) 18px;
        gap: 10px;
        padding: 12px;
    }

    .ch-body:not(.ch-landing-page) .ch-current-order__icon {
        width: 36px;
        height: 36px;
    }

    .ch-body:not(.ch-landing-page) .ch-current-order__main strong {
        font-size: 14px;
        line-height: 1.25;
    }

    .ch-body:not(.ch-landing-page) .ch-current-order__status {
        display: none;
    }

    .ch-body:not(.ch-landing-page) .ch-customer-empty {
        gap: 10px;
        padding: 13px;
    }

    .ch-body:not(.ch-landing-page) .ch-customer-empty .ch-button {
        width: 100%;
        margin-left: 0;
    }

    .ch-body:not(.ch-landing-page) .ch-customer-history__list a {
        grid-template-columns: 70px minmax(0, 1fr) 18px;
        gap: 8px;
        padding: 11px 0;
    }

    .ch-body:not(.ch-landing-page) .ch-customer-history__list b {
        display: none;
    }

    .ch-body:not(.ch-landing-page) .ch-order-grid,
    .ch-body:not(.ch-landing-page) .ch-order-grid--list,
    .ch-body:not(.ch-landing-page) .ch-vehicle-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .ch-body:not(.ch-landing-page) .ch-order-card {
        padding: 13px;
    }

    .ch-body:not(.ch-landing-page) .ch-order-card__vehicle {
        margin: 12px 0;
    }

    .ch-body:not(.ch-landing-page) .ch-order-card__link {
        min-height: 40px;
        display: grid;
        place-items: center;
        margin-top: 12px;
        background: var(--ch-blue);
        color: #fff;
        font-size: 0;
    }

    .ch-body:not(.ch-landing-page) .ch-order-card__link::before {
        content: "ნახვა";
        font-size: 12px;
        font-weight: 800;
    }

    .ch-body:not(.ch-landing-page) .ch-order-layout,
    .ch-body:not(.ch-landing-page) .ch-order-side {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .ch-body:not(.ch-landing-page) .ch-order-head {
        gap: 12px;
    }

    .ch-body:not(.ch-landing-page) .ch-order-head__title {
        gap: 10px;
    }

    .ch-body:not(.ch-landing-page) .ch-order-head__title h1 {
        font-size: 18px;
        line-height: 1.25;
    }

    .ch-body:not(.ch-landing-page) .ch-order-head__assistant {
        min-width: 0;
        width: 100%;
    }

    .ch-body:not(.ch-landing-page) .ch-photo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .ch-body:not(.ch-landing-page) .ch-photo-card {
        height: 118px;
        border-radius: 0;
    }

    .ch-body:not(.ch-landing-page) .ch-quote-items > div,
    .ch-body:not(.ch-landing-page) .ch-quote-total {
        align-items: flex-start;
        gap: 10px;
    }

    .ch-body:not(.ch-landing-page) .ch-vehicle-manager {
        display: grid;
        gap: 12px;
    }

    .ch-body:not(.ch-landing-page) .ch-vehicle-manager__list {
        display: grid;
        gap: 10px;
    }

    .ch-body:not(.ch-landing-page) .ch-vehicle-card__main {
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 10px;
    }

    .ch-body:not(.ch-landing-page) .ch-vehicle-card__actions {
        gap: 8px;
        padding-top: 10px;
    }

    .ch-body:not(.ch-landing-page) .ch-vehicle-edit summary,
    .ch-body:not(.ch-landing-page) .ch-text-button {
        min-height: 40px;
        display: grid;
        place-items: center;
        border: 1px solid var(--ch-line);
    }

    .ch-body:not(.ch-landing-page) .ch-vehicle-edit__actions .ch-button,
    .ch-body:not(.ch-landing-page) .ch-form-submit .ch-button {
        width: 100%;
    }

    .ch-body:not(.ch-landing-page) .ch-customer-order-head {
        align-items: flex-start;
        flex-direction: column;
        padding: 12px;
        gap: 12px;
    }

    .ch-body:not(.ch-landing-page) .ch-customer-order-head__title {
        width: 100%;
        gap: 9px;
    }

    .ch-body:not(.ch-landing-page) .ch-customer-back {
        width: 34px;
        height: 34px;
    }

    .ch-body:not(.ch-landing-page) .ch-customer-order-head h1 {
        font-size: 19px;
    }

    .ch-body:not(.ch-landing-page) .ch-customer-order-head__meta {
        width: 100%;
        justify-content: space-between;
    }

    .ch-body:not(.ch-landing-page) .ch-customer-steps {
        display: flex;
        gap: 6px;
        overflow-x: auto;
        padding-bottom: 4px;
        margin-right: -16px;
        scrollbar-width: none;
    }

    .ch-body:not(.ch-landing-page) .ch-customer-steps::-webkit-scrollbar {
        display: none;
    }

    .ch-body:not(.ch-landing-page) .ch-customer-steps a {
        min-width: 112px;
        min-height: 50px;
        padding: 9px 10px;
    }

    .ch-body:not(.ch-landing-page) .ch-customer-steps span {
        font-size: 11px;
    }

    .ch-body:not(.ch-landing-page) .ch-customer-stage {
        padding: 14px;
    }

    .ch-body:not(.ch-landing-page) .ch-customer-stage__head {
        gap: 10px;
        padding-bottom: 14px;
        margin-bottom: 14px;
    }

    .ch-body:not(.ch-landing-page) .ch-customer-stage__head h2 {
        font-size: 20px;
    }

    .ch-body:not(.ch-landing-page) .ch-overview-grid,
    .ch-body:not(.ch-landing-page) .ch-customer-overview-bottom,
    .ch-body:not(.ch-landing-page) .ch-stage-two-col {
        grid-template-columns: 1fr;
    }

    .ch-body:not(.ch-landing-page) .ch-overview-card--wide {
        grid-row: auto;
    }

    .ch-body:not(.ch-landing-page) .ch-overview-card,
    .ch-body:not(.ch-landing-page) .ch-customer-quote-panel {
        padding: 13px;
    }

    .ch-body:not(.ch-landing-page) .ch-overview-card h3,
    .ch-body:not(.ch-landing-page) .ch-customer-quote-panel__head h3 {
        font-size: 16px;
    }

    .ch-body:not(.ch-landing-page) .ch-customer-quote-panel__head {
        flex-direction: column;
    }

    .ch-body:not(.ch-landing-page) .ch-customer-actions,
    .ch-body:not(.ch-landing-page) .ch-customer-actions form,
    .ch-body:not(.ch-landing-page) .ch-customer-actions .ch-button,
    .ch-body:not(.ch-landing-page) .ch-customer-actions .ch-invoice-link {
        width: 100%;
    }

    .ch-body:not(.ch-landing-page) .ch-payment-account {
        align-items: stretch;
        flex-direction: column;
    }

    .ch-body:not(.ch-landing-page) .ch-payment-account button {
        width: 100%;
    }

    .ch-body:not(.ch-landing-page) .ch-map-embed {
        height: 220px;
    }

    .ch-body:not(.ch-landing-page) .ch-info-list > div {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .ch-body:not(.ch-landing-page) .ch-photo-grid--customer {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ch-body:not(.ch-landing-page) .ch-photo-lightbox {
        padding: 10px;
    }

    .ch-body:not(.ch-landing-page) .ch-photo-lightbox__panel {
        max-height: calc(100vh - 20px);
    }

    .ch-body:not(.ch-landing-page) .ch-photo-lightbox__panel img {
        max-height: calc(100vh - 95px);
    }
}

@media (max-width: 380px) {
    .ch-body:not(.ch-landing-page) .ch-app-hero h1,
    .ch-body:not(.ch-landing-page) .ch-customer-hero h1 {
        font-size: 22px;
    }

    .ch-body:not(.ch-landing-page) .ch-wizard-progress button {
        min-width: 88px;
        padding-inline: 8px;
    }
}

/* ---------- public hero titles fit two lines on phones ---------- */
/* "ყველა საკითხი, / ერთი პასუხისმგებლით." wrapped onto three lines at 36px;
   the size now tracks the viewport so the longest line stays on one row. */
@media (max-width: 640px) {
    .ch-body .ch-public-hero h1 {
        font-size: clamp(18px, 6.4vw, 27px) !important;
        line-height: 1.15 !important;
        letter-spacing: -1px !important;
    }
}

/* ---------- privacy / terms pages ---------- */
.ch-body .ch-legal-page {
    display: grid;
    gap: 26px;
    max-width: 820px;
}

.ch-body .ch-legal-section h2 {
    margin: 0 0 8px;
    font-size: 17px !important;
    line-height: 1.35;
    letter-spacing: -.4px;
}

.ch-body .ch-legal-section p {
    margin: 0 0 10px;
    color: var(--ch-muted, #667085);
    font-size: 13px !important;
    line-height: 1.75 !important;
}

.ch-body .ch-legal-section p:last-child {
    margin-bottom: 0;
}

@media (max-width: 640px) {
    .ch-body .ch-legal-page {
        gap: 20px;
    }

    .ch-body .ch-legal-section h2 {
        font-size: 15px !important;
    }
}

/* estimate line: keep "× 2" and the cashback note apart */
.ch-body .ch-quote-items small + small {
    margin-left: 8px;
    color: var(--ch-blue, #1fa8f8);
}

/* ---------- footer legal links on phones ---------- */
/* app.css hides the whole bottom bar under 641px, which took the privacy and
   terms links with it — they are the only links to those pages in the app. */
@media (max-width: 640px) {
    .ch-body .ch-footer__bottom {
        display: flex !important;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 18px 0;
    }

    .ch-body .ch-footer__bottom div {
        display: flex;
        gap: 16px;
    }
}

/* cashback is a note, not an amount owed — keep it visually apart from the total */
.ch-body .ch-quote-total--cashback strong {
    color: var(--ch-blue, #1fa8f8);
    font-weight: 600;
}
