/* ExpoXpress public design system — compact, professional, Nepal logistics first. */
:root {
    --expo-orange: var(--brand-primary);
    --expo-orange-dark: var(--brand-primary-deep);
    --expo-orange-soft: var(--brand-primary-soft);
    --expo-orange-line: var(--brand-primary-border);
    --expo-ink: #172033;
    --expo-text: #465166;
    --expo-muted: #7c8596;
    --expo-line: #e1e5ea;
    --expo-line-strong: #d4dae2;
    --expo-bg: #f5f6f7;
    --expo-surface: #ffffff;
    --expo-dark: #181b20;
    --expo-success: #168a58;
    --expo-danger: #c93636;
    --expo-radius-sm: 8px;
    --expo-radius-md: 12px;
    --expo-radius-lg: 16px;
    --expo-shadow-sm: 0 5px 18px rgba(17,24,39,.055);
    --expo-shadow-md: 0 18px 44px rgba(17,24,39,.085);
    --expo-ease: cubic-bezier(.2,.75,.2,1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 14px;
}

html, body {
    min-height: 100%;
}

    body.expo-site {
        margin: 0;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        overflow-x: hidden;
        background: var(--expo-bg);
        color: var(--expo-text);
        font-family: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        font-size: 1rem;
        line-height: 1.55;
        -webkit-font-smoothing: antialiased;
        text-rendering: optimizeLegibility;
    }

::selection {
    background: rgba(var(--brand-primary-rgb),.16);
    color: var(--expo-ink);
}

a {
    color: var(--expo-orange-dark);
}

    a:hover {
        color: var(--brand-primary-hover);
    }

img {
    max-width: 100%;
}

button, input, textarea, select {
    font: inherit;
}

.expo-skip-link {
    position: fixed;
    left: 14px;
    top: 8px;
    z-index: 20000;
    padding: 8px 11px;
    border-radius: 7px;
    background: var(--expo-dark);
    color: #fff;
    text-decoration: none;
    transform: translateY(-150%);
    transition: transform .16s ease;
}

    .expo-skip-link:focus {
        transform: translateY(0);
        color: #fff;
    }

/* Header */
body.expo-site > .expo-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
    padding: 5px 18px;
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid rgba(23,32,51,.08);
    box-shadow: 0 2px 10px rgba(17,24,39,.025);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.main-header {
    width: min(1160px, 100%);
    min-height: 52px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.expo-brand-link {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

    .expo-brand-link img {
        width: auto;
        max-width: 140px;
        max-height: 45px;
        padding: 2px;
    }

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    margin: 0 10px;
}

.main-nav-list {
    display: flex;
    align-items: center;
    gap: 1px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav-link {
    position: relative;
    min-height: 35px;
    padding: 0 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    color: #394459;
    font-size: .84rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s ease, color .15s ease;
}

    .main-nav-link:hover,
    .main-nav-link:focus-visible {
        background: #fff7f1;
        color: var(--expo-orange-dark);
        text-decoration: none;
    }

    .main-nav-link.active {
        color: var(--expo-orange-dark);
    }

        .main-nav-link.active::after {
            content: "";
            position: absolute;
            left: 11px;
            right: 11px;
            bottom: 0;
            height: 2px;
            border-radius: 999px;
            background: var(--expo-orange);
        }

.user-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
}

.login-btn, .register-btn {
    min-height: 35px;
    padding: 0 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    font-size: .8rem;
    font-weight: 800;
    text-decoration: none;
    transition: .15s ease;
}

.login-btn {
    background: var(--expo-orange);
    color: #fff;
    border: 1px solid var(--expo-orange);
}

    .login-btn:hover {
        background: var(--expo-orange-dark);
        color: #fff;
        text-decoration: none;
        transform: translateY(-1px);
    }

.register-btn {
    background: #fff;
    color: var(--expo-orange-dark);
    border: 1px solid #edb48c;
}

    .register-btn:hover {
        background: var(--expo-orange-soft);
        color: var(--expo-orange-dark);
        text-decoration: none;
    }

.mobile-menu-btn {
    display: none;
    width: 35px;
    height: 35px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--expo-line);
    border-radius: 7px;
    background: #fff;
    color: var(--expo-ink);
    cursor: pointer;
}

.expo-main {
    flex: 1 0 auto;
    min-width: 0;
}

.min-vh-100 {
    min-height: 100vh !important;
}

.expo-container {
    width: min(1120px, calc(100% - 30px));
    margin-inline: auto;
}

.expo-kicker,
.expo-eyebrow,
.expo-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 8px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--expo-orange-dark);
    font-size: .69rem;
    font-weight: 800;
    letter-spacing: .055em;
    text-transform: uppercase;
}

    .expo-eyebrow::before {
        display: none;
    }

.expo-card {
    background: #fff;
    border: 1px solid var(--expo-line);
    border-radius: var(--expo-radius-md);
    box-shadow: 0 1px 2px rgba(17,24,39,.03);
}

:focus-visible {
    outline: 2px solid rgba(var(--brand-primary-rgb),.38);
    outline-offset: 2px;
}

.form-control:focus, .form-select:focus, input:focus, select:focus, textarea:focus {
    border-color: var(--brand-primary) !important;
    box-shadow: 0 0 0 .18rem rgba(var(--brand-primary-rgb),.08) !important;
}

/* Footer */
.expo-footer {
    position: relative;
    margin-top: auto;
    background: #171a1f;
    color: #c8ced7;
    border-top: 1px solid #262b32;
}

.expo-footer-shell {
    width: min(1120px, calc(100% - 34px));
    margin: 0 auto;
}

.expo-footer-top {
    padding: 34px 0 27px;
    display: grid;
    grid-template-columns: 1.35fr 1fr .72fr;
    gap: 56px;
    align-items: start;
}

.expo-footer-logo {
    display: inline-flex;
    margin-bottom: 13px;
}

    .expo-footer-logo img {
        width: auto;
        max-width: 138px;
        max-height: 44px;
        filter: brightness(0) invert(1);
    }

.expo-footer-brand-column p {
    max-width: 330px;
    margin: 0 0 16px;
    color: #9ea7b4;
    font-size: .8rem;
    line-height: 1.65;
}

.expo-footer-support-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #f0f2f5 !important;
    font-size: .78rem;
    font-weight: 750;
    text-decoration: none;
}

    .expo-footer-support-link i {
        color: var(--brand-secondary);
    }

.expo-footer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

    .expo-footer-nav h2,
    .expo-footer-contact h2 {
        margin: 0 0 11px;
        color: #fff;
        font-size: .7rem;
        font-weight: 800;
        letter-spacing: .06em;
        text-transform: uppercase;
    }

    .expo-footer-nav a,
    .expo-footer-contact > a {
        display: block;
        width: fit-content;
        margin: 0 0 7px;
        color: #aeb6c1 !important;
        font-size: .77rem;
        text-decoration: none;
        transition: color .14s ease;
    }

        .expo-footer-nav a:hover,
        .expo-footer-contact > a:hover {
            color: #fff !important;
        }

.expo-footer-social {
    display: flex;
    gap: 7px;
    margin-top: 14px;
}

    .expo-footer-social a {
        width: 31px;
        height: 31px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #31363e;
        border-radius: 7px;
        color: #c9d0d9 !important;
        text-decoration: none;
        transition: .15s ease;
    }

        .expo-footer-social a:hover {
            border-color: #555d68;
            background: #20242a;
            color: #fff !important;
        }

.expo-footer-bottom {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid #292e35;
    color: #737e8c;
    font-size: .7rem;
}

#back-top {
    position: fixed;
    right: 20px;
    bottom: 80px;
    z-index: 998;
    width: 36px;
    height: 36px;
    display: none;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 50%;
    background: #242931;
    color: #fff !important;
    box-shadow: 0 8px 22px rgba(0,0,0,.16);
    text-decoration: none;
}

    #back-top.is-visible {
        display: inline-flex;
    }

    #back-top:hover {
        background: var(--expo-orange);
        border-color: var(--expo-orange);
    }

.expo-no-ai #back-top {
    bottom: 20px;
}

/* Authentication */
.auth-page {
    min-height: calc(100dvh - 63px);
    padding: 22px 16px;
    display: grid;
    place-items: center;
    background: #f5f6f7;
}

.auth-shell {
    width: min(940px, 100%);
    min-height: 458px;
    display: grid;
    grid-template-columns: .76fr 1.24fr;
    overflow: hidden;
    border: 1px solid #dfe3e8;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(17,24,39,.075);
}

.auth-story {
    position: relative;
    min-height: 458px;
    padding: 31px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    background: #1b1e23;
    color: #fff;
}

    .auth-story::before {
        content: "";
        position: absolute;
        left: 0;
        top: 30px;
        width: 4px;
        height: 70px;
        border-radius: 0 4px 4px 0;
        background: var(--expo-orange);
    }

.auth-brand {
    font-size: 1.18rem;
    font-weight: 900;
    letter-spacing: -.045em;
}

    .auth-brand span {
        color: var(--brand-primary);
    }

.auth-copy {
    max-width: 310px;
}

    .auth-copy h1 {
        margin: 0 0 11px;
        color: #fff;
        font-size: 2.18rem;
        line-height: 1.06;
        letter-spacing: -.045em;
        font-weight: 800;
    }

    .auth-copy p {
        margin: 0;
        color: #b6bec9;
        font-size: .82rem;
        line-height: 1.62;
    }

.auth-proof {
    color: #8e98a6;
    font-size: .69rem;
    font-weight: 650;
}

.auth-panel {
    padding: 34px 44px;
    display: flex;
    align-items: center;
    background: #fff;
}

.auth-panel-inner {
    width: min(390px, 100%);
    margin: 0 auto;
}

.auth-panel h2 {
    margin: 0 0 6px;
    color: var(--expo-ink);
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -.03em;
}

.auth-intro {
    margin: 0 0 21px;
    color: var(--expo-muted);
    font-size: .81rem;
    line-height: 1.5;
}

.auth-field {
    margin-bottom: 12px;
}

    .auth-field label {
        display: block;
        margin-bottom: 5px;
        color: #354052;
        font-size: .71rem;
        font-weight: 800;
    }

.auth-control-wrap {
    position: relative;
}

.auth-control {
    width: 100%;
    min-height: 41px;
    padding: 0 12px;
    border: 1px solid #d7dde5;
    border-radius: 7px;
    background: #fff;
    color: var(--expo-ink);
    font-size: .84rem;
    outline: none;
    transition: .15s ease;
}

    .auth-control::placeholder {
        color: #a4abb5;
    }

.auth-password-toggle {
    position: absolute;
    right: 4px;
    top: 50%;
    width: 32px;
    height: 32px;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--expo-orange-dark);
    cursor: pointer;
}

.auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 3px 0 16px;
}

.auth-check {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--expo-muted);
    font-size: .74rem;
}

    .auth-check input {
        accent-color: var(--expo-orange);
    }

.auth-link {
    color: var(--expo-orange-dark);
    font-size: .74rem;
    font-weight: 800;
    text-decoration: none;
}

    .auth-link:hover {
        text-decoration: underline;
    }

.auth-submit {
    width: 100%;
    min-height: 42px;
    border: 0;
    border-radius: 7px;
    background: var(--expo-orange);
    color: #fff;
    font-size: .82rem;
    font-weight: 800;
    box-shadow: 0 6px 16px rgba(var(--brand-primary-rgb),.14);
    cursor: pointer;
    transition: .15s var(--expo-ease);
}

    .auth-submit:hover {
        background: var(--expo-orange-dark);
        transform: translateY(-1px);
    }

    .auth-submit:disabled {
        opacity: .65;
        cursor: wait;
        transform: none;
    }

.auth-bottom {
    margin-top: 14px;
    text-align: center;
    color: var(--expo-muted);
    font-size: .74rem;
}

/* Registration */
.auth-register-page {
    width: 100%;
    max-width: none !important;
    min-height: calc(100dvh - 63px);
    padding: 22px 16px !important;
    display: grid;
    place-items: center;
    background: #f5f6f7;
}

    .auth-register-page > .row {
        width: min(950px, 100%);
        max-width: 950px !important;
        margin: 0 !important;
        border: 1px solid #dfe3e8;
        border-radius: 14px !important;
        box-shadow: 0 16px 42px rgba(17,24,39,.075) !important;
    }

        .auth-register-page > .row > div {
            padding: 31px 34px !important;
        }

            .auth-register-page > .row > div:first-child {
                position: relative;
                flex: 0 0 38%;
                max-width: 38%;
                color: #fff;
                background: #1b1e23;
            }

            .auth-register-page > .row > div:last-child {
                flex: 0 0 62%;
                max-width: 62%;
            }

            .auth-register-page > .row > div:first-child::before {
                content: "";
                position: absolute;
                left: 0;
                top: 30px;
                width: 4px;
                height: 70px;
                border-radius: 0 4px 4px 0;
                background: var(--expo-orange);
            }

            .auth-register-page > .row > div:first-child .text-dark {
                color: #fff !important;
            }

            .auth-register-page > .row > div:first-child .text-secondary {
                color: #b5bdc8 !important;
            }

    .auth-register-page .display-4 {
        font-size: 1.85rem !important;
    }

    .auth-register-page h2 {
        margin-bottom: 18px !important;
        font-size: 1.42rem;
        font-weight: 800;
    }

    .auth-register-page h4 {
        margin: 14px 0 10px !important;
        font-size: .91rem;
        font-weight: 800;
    }

    .auth-register-page .form-label {
        margin-bottom: 4px;
        color: #3f4a5e;
        font-size: .69rem;
        font-weight: 800;
    }

    .auth-register-page .row > [class*="col-"] {
        margin-bottom: 9px;
    }

    .auth-register-page .form-control,
    .auth-register-page .select2-selection--single {
        min-height: 39px !important;
        border: 1px solid #d7dde5 !important;
        border-radius: 7px !important;
        background: #fff !important;
        box-shadow: none !important;
        font-size: .82rem;
    }

    .auth-register-page .select2-selection__rendered {
        line-height: 37px !important;
        padding-left: 10px !important;
    }

    .auth-register-page .select2-selection__arrow {
        height: 37px !important;
    }

    .auth-register-page .btn-orange {
        min-height: 41px;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        border-radius: 7px;
        background: var(--expo-orange) !important;
        color: #fff !important;
        font-size: .82rem;
        font-weight: 800 !important;
        box-shadow: 0 6px 16px rgba(var(--brand-primary-rgb),.14);
    }

        .auth-register-page .btn-orange:hover {
            background: var(--expo-orange-dark) !important;
        }

    .auth-register-page .text-orange {
        color: var(--brand-primary) !important;
    }

    .auth-register-page > .row > div:last-child .text-orange {
        color: var(--expo-orange-dark) !important;
    }

.select2-container {
    width: 100% !important;
}

.select2-dropdown {
    z-index: 99999 !important;
    border-color: #d7dde5 !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: var(--expo-orange) !important;
}

/* Legal pages */
.legal-page {
    padding: 38px 16px 60px;
    background: #f5f6f7;
}

.legal-shell {
    width: min(1040px, 100%);
    margin: 0 auto;
}

.legal-head {
    padding: 0 0 23px;
    border-bottom: 1px solid var(--expo-line);
}

    .legal-head h1 {
        margin: 0;
        color: var(--expo-ink);
        font-size: 2.15rem;
        line-height: 1.08;
        letter-spacing: -.04em;
        font-weight: 800;
    }

    .legal-head p {
        max-width: 650px;
        margin: 8px 0 0;
        color: var(--expo-muted);
        font-size: .82rem;
    }

.legal-grid {
    margin-top: 24px;
    display: grid;
    grid-template-columns: 225px 1fr;
    gap: 28px;
    align-items: start;
}

.legal-toc {
    position: sticky;
    top: 84px;
    padding: 15px;
    border: 1px solid var(--expo-line);
    border-radius: 10px;
    background: #fff;
}

    .legal-toc h2 {
        margin: 0 0 9px;
        color: #596477;
        font-size: .7rem;
        font-weight: 800;
        letter-spacing: .05em;
        text-transform: uppercase;
    }

    .legal-toc ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .legal-toc li + li {
        border-top: 1px solid #eff1f3;
    }

    .legal-toc a {
        display: block;
        padding: 8px 2px;
        color: #596477;
        font-size: .74rem;
        line-height: 1.4;
        text-decoration: none;
    }

        .legal-toc a:hover {
            color: var(--expo-orange-dark);
        }

.legal-content {
    overflow: hidden;
    border: 1px solid var(--expo-line);
    border-radius: 11px;
    background: #fff;
}

.legal-item + .legal-item {
    border-top: 1px solid #e9edf1;
}

.legal-title {
    width: 100%;
    min-height: 56px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 0;
    background: #fff;
    color: var(--expo-ink);
    text-align: left;
    font-size: .87rem;
    font-weight: 800;
    cursor: pointer;
}

    .legal-title:hover {
        background: #fbfbfc;
    }

    .legal-title i {
        color: var(--expo-orange);
        transition: transform .16s ease;
    }

    .legal-title[aria-expanded="true"] i {
        transform: rotate(45deg);
    }

.legal-panel {
    display: none;
    padding: 0 18px 20px;
    color: #5e687a;
    font-size: .79rem;
    line-height: 1.72;
}

    .legal-panel > :first-child {
        margin-top: 0;
    }

    .legal-panel h1, .legal-panel h2, .legal-panel h3, .legal-panel h4, .legal-panel h5, .legal-panel h6 {
        color: #303b4f;
        font-size: .9rem;
        font-weight: 800;
        margin: 16px 0 7px;
    }

    .legal-panel p {
        margin: 0 0 10px;
    }

.legal-pagination {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
    margin-top: 12px;
}

    .legal-pagination button {
        min-width: 32px;
        height: 32px;
        border: 1px solid var(--expo-line);
        border-radius: 7px;
        background: #fff;
        color: #536074;
        font-size: .74rem;
        font-weight: 750;
        cursor: pointer;
    }

        .legal-pagination button.active {
            border-color: var(--expo-orange);
            background: var(--expo-orange);
            color: #fff;
        }

.legal-help {
    margin-top: 17px;
    color: #7c8596;
    font-size: .75rem;
}

    .legal-help a {
        font-weight: 800;
        text-decoration: none;
    }

/* AI support */
.expo-ai {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1200;
}

.expo-ai-launcher {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: var(--expo-orange);
    color: #fff;
    box-shadow: 0 10px 24px rgba(var(--brand-primary-rgb),.22);
    cursor: pointer;
}

    .expo-ai-launcher:hover {
        background: var(--expo-orange-dark);
    }

.expo-ai-panel {
    position: absolute;
    right: 0;
    bottom: 56px;
    width: 338px;
    height: 440px;
    overflow: hidden;
    border: 1px solid #dce1e7;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 22px 55px rgba(17,24,39,.18);
}

.expo-ai-head {
    min-height: 58px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e9ecf0;
    background: #fff;
}

    .expo-ai-head strong {
        display: block;
        color: var(--expo-ink);
        font-size: .84rem;
    }

    .expo-ai-head span {
        display: block;
        margin-top: 1px;
        color: #8a93a2;
        font-size: .64rem;
    }

    .expo-ai-head button {
        width: 30px;
        height: 30px;
        border: 0;
        border-radius: 6px;
        background: transparent;
        color: #6f7988;
        cursor: pointer;
    }

        .expo-ai-head button:hover {
            background: #f3f4f6;
        }

.expo-ai-messages {
    height: 318px;
    padding: 14px;
    overflow-y: auto;
    background: #f8f9fa;
}

.expo-ai-welcome {
    color: #596477;
    font-size: .75rem;
}

    .expo-ai-welcome strong {
        color: var(--expo-ink);
        font-size: .84rem;
    }

    .expo-ai-welcome p {
        margin: 5px 0 12px;
        line-height: 1.5;
    }

.expo-ai-suggestion {
    width: 100%;
    padding: 8px 0;
    display: block;
    border: 0;
    border-top: 1px solid #e5e8ec;
    background: transparent;
    color: #435065;
    text-align: left;
    font-size: .72rem;
    cursor: pointer;
}

    .expo-ai-suggestion:hover {
        color: var(--expo-orange-dark);
    }

.expo-ai-message {
    width: fit-content;
    max-width: 86%;
    margin: 0 0 9px;
    padding: 8px 10px;
    border: 1px solid #e1e5ea;
    border-radius: 9px;
    background: #fff;
    color: #465166;
    font-size: .74rem;
    line-height: 1.5;
    white-space: pre-wrap;
}

    .expo-ai-message.is-user {
        margin-left: auto;
        border-color: #f1c5a7;
        background: #fff7f1;
        color: #4b3a2f;
    }

    .expo-ai-message.is-pending {
        color: #8b94a1;
    }

.expo-ai-form {
    min-height: 64px;
    padding: 9px;
    display: grid;
    grid-template-columns: 1fr 36px;
    gap: 7px;
    align-items: end;
    border-top: 1px solid #e7eaee;
    background: #fff;
}

    .expo-ai-form textarea {
        min-height: 38px;
        max-height: 96px;
        resize: none;
        padding: 9px 10px;
        border: 1px solid #d8dee6;
        border-radius: 8px;
        color: var(--expo-ink);
        font-size: .76rem;
        line-height: 1.35;
        outline: none;
    }

    .expo-ai-form button {
        width: 36px;
        height: 36px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 0;
        border-radius: 8px;
        background: var(--expo-orange);
        color: #fff;
        cursor: pointer;
    }

        .expo-ai-form button:disabled {
            opacity: .55;
            cursor: wait;
        }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
}

@media (max-width: 980px) {
    .auth-shell {
        width: min(700px, 100%);
        grid-template-columns: 1fr;
    }

    .auth-story {
        min-height: 210px;
        padding: 26px;
    }

    .auth-copy h1 {
        font-size: 1.9rem;
    }

    .auth-proof {
        display: none;
    }

    .auth-panel {
        padding: 30px;
    }

    .auth-register-page > .row > div:first-child,
    .auth-register-page > .row > div:last-child {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .auth-register-page > .row > div:first-child {
        min-height: 200px;
    }

    .expo-footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .expo-footer-contact {
        grid-column: 2;
    }
}

@media (max-width: 900px) {
    .mobile-menu-btn {
        display: inline-flex;
        margin-left: auto;
    }

    .main-header {
        position: relative;
    }

    .main-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: calc(100% + 7px);
        margin: 0;
        padding: 7px;
        border: 1px solid var(--expo-line);
        border-radius: 9px;
        background: rgba(255,255,255,.99);
        box-shadow: var(--expo-shadow-sm);
    }

        .main-nav.open {
            display: block;
        }

    .main-nav-list {
        flex-direction: column;
        align-items: stretch;
    }

    .main-nav-link {
        width: 100%;
        justify-content: flex-start;
        padding: 0 11px;
    }

        .main-nav-link.active::after {
            display: none;
        }

    .legal-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .legal-toc {
        position: static;
    }
}

@media (max-width: 680px) {
    html {
        font-size: 15px;
    }

    body.expo-site > .expo-header {
        padding: 5px 10px;
    }

    .main-header {
        gap: 6px;
        min-height: 49px;
    }

    .expo-brand-link img {
        max-width: 122px;
    }

    .login-btn, .register-btn {
        min-height: 33px;
        padding: 0 8px;
        font-size: .7rem;
    }

    .auth-page, .auth-register-page {
        padding: 12px 9px !important;
    }

        .auth-shell, .auth-register-page > .row {
            border-radius: 10px !important;
        }

    .auth-story {
        min-height: 185px;
        padding: 23px 20px;
    }

        .auth-story::before {
            top: 23px;
            height: 56px;
        }

    .auth-panel {
        padding: 25px 20px;
    }

    .auth-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 7px;
    }

    .auth-register-page > .row > div {
        padding: 24px 20px !important;
    }

    .expo-footer-top {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-top: 28px;
    }

    .expo-footer-nav {
        max-width: 420px;
    }

    .expo-footer-contact {
        grid-column: auto;
    }

    .expo-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding: 11px 0;
    }

    .expo-ai {
        right: 12px;
        bottom: 12px;
    }

    .expo-ai-panel {
        position: fixed;
        left: 10px;
        right: 10px;
        bottom: 66px;
        width: auto;
        height: min(470px, calc(100dvh - 90px));
    }

    .expo-ai-messages {
        height: calc(100% - 122px);
    }

    #back-top {
        right: 12px;
        bottom: 68px;
    }

    .expo-no-ai #back-top {
        bottom: 12px;
    }

    .legal-page {
        padding: 30px 10px 45px;
    }

    .legal-head h1 {
        font-size: 1.85rem;
    }
}

/* Keep browser autofill inside the visual system. */
.auth-control:-webkit-autofill,
.auth-register-page .form-control:-webkit-autofill {
    -webkit-text-fill-color: #172033 !important;
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
    box-shadow: 0 0 0 1000px #ffffff inset !important;
    transition: background-color 9999s ease-out 0s;
}

.auth-register-page > .row > div:first-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.expo-footer-logo {
    text-decoration: none;
}

.expo-footer-wordmark {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: -.045em;
}

    .expo-footer-wordmark > span {
        color: var(--brand-primary);
    }

/* ========================================================================
   V4 — organic product refinement
   ======================================================================== */

:root {
    --expo-page-width: 1120px;
    --expo-soft-bg: #f7f8fa;
    --expo-soft-orange: #fff7f1;
    --expo-green: #18875b;
    --expo-green-soft: #edf8f3;
    --expo-red: #c64141;
    --expo-red-soft: #fff2f2;
}

/* Footer: quieter, tighter and more product-like. */
.expo-footer {
    background: #171a1f;
    border-top: 2px solid rgba(var(--brand-primary-rgb),.78);
}

.expo-footer-top {
    padding: 29px 0 24px;
    grid-template-columns: 1.4fr 1fr .65fr;
    gap: 52px;
}

.expo-footer-brand-column p {
    max-width: 360px;
    margin-bottom: 12px;
}

.expo-footer-contact-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    color: #5f6975;
}

    .expo-footer-contact-inline a {
        color: #b7bec8 !important;
        font-size: .73rem;
        text-decoration: none;
    }

        .expo-footer-contact-inline a:hover {
            color: #fff !important;
        }

.expo-footer-bottom {
    min-height: 43px;
}

/* Keep floating utilities side by side, not stacked. */
#back-top {
    right: 112px;
    bottom: 20px;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: #20242a;
    border-color: #343a43;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity .16s ease, visibility .16s ease, transform .16s ease, background .16s ease;
}

    #back-top.is-visible {
        display: inline-flex;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

body.expo-ai-open #back-top {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none;
}

.expo-no-ai #back-top {
    right: 20px;
    bottom: 20px;
}

/* Assistant — compact support tool, not a chatbot template. */
.expo-ai {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1200;
}

.expo-ai-launcher {
    width: auto;
    min-width: 82px;
    height: 40px;
    padding: 0 14px;
    gap: 8px;
    border-radius: 11px;
    background: var(--brand-primary);
    box-shadow: 0 8px 22px rgba(var(--brand-primary-rgb),.18);
    font-size: .73rem;
    font-weight: 800;
}

    .expo-ai-launcher i {
        font-size: .85rem;
    }

    .expo-ai-launcher:hover {
        background: var(--brand-primary-hover);
        transform: translateY(-1px);
    }

.expo-ai-panel {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 366px;
    height: min(520px, calc(100dvh - 86px));
    display: grid;
    grid-template-rows: auto 1fr auto;
    overflow: hidden;
    border: 1px solid #dce1e7;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 24px 64px rgba(17,24,39,.17);
}

.expo-ai-head {
    min-height: 64px;
    padding: 0 15px 0 16px;
    background: #fff;
}

.expo-ai-identity {
    display: flex;
    align-items: center;
    gap: 9px;
}

.expo-ai-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #1e9b67;
    box-shadow: 0 0 0 4px rgba(30,155,103,.09);
}

.expo-ai-head strong {
    font-size: .8rem;
    letter-spacing: -.01em;
}

.expo-ai-head span {
    font-size: .62rem;
}

.expo-ai-head button {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.expo-ai-messages {
    height: auto;
    min-height: 0;
    padding: 15px;
    overflow-y: auto;
    background: #f7f8fa;
    scrollbar-width: thin;
    scrollbar-color: #cdd3db transparent;
}

.expo-ai-welcome {
    color: #5a6577;
    font-size: .73rem;
}

    .expo-ai-welcome > strong {
        display: block;
        margin-bottom: 3px;
        color: #172033;
        font-size: .84rem;
    }

    .expo-ai-welcome > p {
        margin: 0 0 12px;
        color: #7b8493;
        line-height: 1.5;
    }

.expo-ai-actions {
    display: grid;
    gap: 7px;
}

.expo-ai-suggestion {
    width: 100%;
    min-height: 52px;
    padding: 9px 10px;
    display: grid;
    grid-template-columns: 28px 1fr;
    align-items: center;
    gap: 9px;
    border: 1px solid #e1e5ea;
    border-radius: 10px;
    background: #fff;
    color: #344054;
    text-align: left;
    transition: border-color .14s ease, background .14s ease, transform .14s ease;
}

    .expo-ai-suggestion:hover {
        border-color: #efb68d;
        background: #fffaf6;
        color: #344054;
        transform: translateY(-1px);
    }

    .expo-ai-suggestion > i {
        width: 28px;
        height: 28px;
        display: grid;
        place-items: center;
        border-radius: 8px;
        background: var(--brand-secondary-soft);
        color: var(--brand-secondary);
        font-size: .75rem;
    }

    .expo-ai-suggestion span {
        min-width: 0;
    }

    .expo-ai-suggestion b {
        display: block;
        margin-bottom: 1px;
        color: #273246;
        font-size: .72rem;
        font-weight: 800;
    }

    .expo-ai-suggestion small {
        display: block;
        color: #8a93a2;
        font-size: .61rem;
        line-height: 1.35;
    }

.expo-ai-support-link {
    margin-top: 11px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #6e7888 !important;
    font-size: .68rem;
    font-weight: 700;
    text-decoration: none;
}

    .expo-ai-support-link:hover {
        color: var(--brand-primary-deep) !important;
    }

.expo-ai-message {
    max-width: 88%;
    margin-bottom: 9px;
    padding: 9px 11px;
    border-radius: 10px;
    font-size: .72rem;
    line-height: 1.55;
}

    .expo-ai-message.is-assistant {
        width: 100%;
        max-width: 100%;
        padding: 9px 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: #485467;
    }

    .expo-ai-message.is-user {
        margin-left: auto;
        border: 1px solid #efc4a6;
        background: #fff7f1;
        color: #4a3d34;
    }

    .expo-ai-message.is-pending {
        color: #8992a0;
    }

.expo-ai-form {
    min-height: 58px;
    margin: 0;
    padding: 9px;
    position: relative;
    display: block;
    border-top: 1px solid #e5e8ec;
    background: #fff;
}

    .expo-ai-form textarea {
        width: 100%;
        min-height: 40px;
        max-height: 92px;
        padding: 10px 44px 10px 11px;
        border: 1px solid #d7dde5;
        border-radius: 11px;
        background: #fff;
        color: #172033;
        font-size: .72rem;
        line-height: 1.35;
    }

        .expo-ai-form textarea:focus {
            border-color: var(--brand-primary) !important;
            box-shadow: 0 0 0 3px rgba(var(--brand-primary-rgb),.07) !important;
        }

    .expo-ai-form button {
        position: absolute;
        right: 14px;
        bottom: 14px;
        width: 30px;
        height: 30px;
        border-radius: 9px;
        box-shadow: none;
    }

/* ========================================================================
   Account flows — OTP / password / verification
   ======================================================================== */
.account-page {
    min-height: calc(100dvh - 63px);
    padding: 22px 16px;
    display: grid;
    place-items: center;
    background: #f5f6f7;
}

.account-shell {
    width: min(900px, 100%);
    min-height: 430px;
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    overflow: hidden;
    border: 1px solid #dfe3e8;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(17,24,39,.07);
}

.account-shell--status {
    width: min(790px, 100%);
    min-height: 390px;
    grid-template-columns: .86fr 1.14fr;
}

.account-brand {
    position: relative;
    padding: 31px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    background: #1b1e23;
    color: #fff;
}

    .account-brand::before {
        content: "";
        position: absolute;
        left: 0;
        top: 30px;
        width: 4px;
        height: 70px;
        border-radius: 0 4px 4px 0;
        background: var(--brand-primary);
    }

.account-wordmark {
    color: #fff;
    font-size: 1.18rem;
    font-weight: 900;
    letter-spacing: -.045em;
}

    .account-wordmark span {
        color: var(--brand-primary);
    }

.account-brand-copy {
    max-width: 290px;
}

    .account-brand-copy .account-kicker {
        margin: 0 0 7px;
        color: var(--brand-secondary);
        font-size: .65rem;
        font-weight: 800;
        letter-spacing: .06em;
        text-transform: uppercase;
    }

    .account-brand-copy h1 {
        margin: 0 0 10px;
        color: #fff;
        font-size: 2rem;
        line-height: 1.07;
        letter-spacing: -.04em;
        font-weight: 800;
    }

    .account-brand-copy p {
        margin: 0;
        color: #b6bec9;
        font-size: .79rem;
        line-height: 1.62;
    }

.account-brand-foot {
    color: #8f99a6;
    font-size: .67rem;
    font-weight: 650;
}

.account-panel {
    padding: 34px 42px;
    display: flex;
    align-items: center;
    background: #fff;
}

.account-panel-inner {
    width: min(390px, 100%);
    margin: 0 auto;
}

.account-panel h2 {
    margin: 0 0 6px;
    color: #172033;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -.03em;
}

.account-intro {
    margin: 0 0 21px;
    color: #7c8596;
    font-size: .79rem;
    line-height: 1.55;
}

.account-email-note {
    margin: -10px 0 18px;
    color: #576276;
    font-size: .72rem;
}

    .account-email-note strong {
        color: #303b4d;
    }

.account-field {
    margin-bottom: 13px;
}

    .account-field label {
        display: block;
        margin-bottom: 5px;
        color: #354052;
        font-size: .69rem;
        font-weight: 800;
    }

.account-control-wrap {
    position: relative;
}

.account-control {
    width: 100%;
    height: 40px;
    padding: 0 11px;
    border: 1px solid #d7dde5;
    border-radius: 8px;
    background: #fff;
    color: #172033;
    font-size: .78rem;
    outline: none;
}

    .account-control::placeholder {
        color: #a2aab6;
    }

.account-control--otp {
    height: 52px;
    padding: 0 16px;
    text-align: center;
    font-size: 1.18rem;
    font-weight: 800;
    letter-spacing: .42em;
    font-variant-numeric: tabular-nums;
}

.account-toggle {
    position: absolute;
    right: 7px;
    top: 50%;
    width: 32px;
    height: 32px;
    transform: translateY(-50%);
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--brand-secondary);
    cursor: pointer;
}

    .account-toggle:hover {
        background: var(--brand-primary-soft);
    }

.account-hint {
    margin: 6px 0 0;
    color: #929aa7;
    font-size: .65rem;
    line-height: 1.45;
}

.account-submit {
    width: 100%;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid var(--brand-primary);
    border-radius: 8px;
    background: var(--brand-primary);
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(var(--brand-primary-rgb),.14);
    transition: background .15s ease, transform .15s ease;
}

    .account-submit:hover {
        background: var(--brand-primary-hover);
        transform: translateY(-1px);
    }

    .account-submit:disabled {
        opacity: .58;
        cursor: wait;
        transform: none;
    }

.account-secondary {
    margin-top: 13px;
    text-align: center;
    color: #7f8897;
    font-size: .7rem;
}

    .account-secondary a, .account-secondary button {
        color: var(--brand-primary);
        font-weight: 800;
        text-decoration: none;
    }

    .account-secondary button {
        border: 0;
        background: transparent;
        cursor: pointer;
    }

        .account-secondary button:disabled {
            color: #a5acb5;
            cursor: default;
        }

.account-timer {
    color: #556176;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.account-status-icon {
    width: 58px;
    height: 58px;
    margin: 0 0 18px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    font-size: 1.35rem;
}

    .account-status-icon.is-success {
        background: var(--expo-green-soft);
        color: var(--expo-green);
    }

    .account-status-icon.is-danger {
        background: var(--expo-red-soft);
        color: var(--expo-red);
    }

    .account-status-icon.is-mail {
        background: var(--brand-primary-soft);
        color: var(--brand-primary-hover);
    }

.account-status-copy {
    margin: 0 0 21px;
    color: #697386;
    font-size: .78rem;
    line-height: 1.65;
}

.account-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

    .account-actions .account-submit {
        width: auto;
        min-width: 145px;
    }

.account-outline {
    min-height: 40px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d7dde5;
    border-radius: 8px;
    background: #fff;
    color: #485468 !important;
    font-size: .75rem;
    font-weight: 800;
    text-decoration: none;
}

    .account-outline:hover {
        border-color: #e8ad82;
        color: var(--brand-primary-deep) !important;
    }

/* ========================================================================
   Customer Support
   ======================================================================== */
.support-page {
    padding: 40px 16px 58px;
    background: #f6f7f8;
}

.support-shell {
    width: min(1080px, 100%);
    margin: 0 auto;
}

.support-head {
    margin-bottom: 24px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.support-head-copy {
    max-width: 650px;
}

.support-head h1 {
    margin: 0;
    color: #172033;
    font-size: 2.05rem;
    line-height: 1.1;
    letter-spacing: -.04em;
    font-weight: 800;
}

.support-head p {
    margin: 8px 0 0;
    color: #737d8d;
    font-size: .81rem;
    line-height: 1.6;
}

.support-head-link {
    color: var(--brand-primary-deep) !important;
    font-size: .72rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.support-grid {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 18px;
    align-items: start;
}

.support-aside, .support-form-card, .support-location-card {
    border: 1px solid #dde2e8;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(17,24,39,.035);
}

.support-aside {
    overflow: hidden;
}

.support-contact-list {
    padding: 6px 18px;
}

.support-contact-row {
    min-height: 70px;
    display: grid;
    grid-template-columns: 34px 1fr;
    align-items: center;
    gap: 11px;
    border-bottom: 1px solid #edf0f2;
}

    .support-contact-row:last-child {
        border-bottom: 0;
    }

.support-contact-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: var(--brand-primary-soft);
    color: var(--brand-primary-hover);
    font-size: .8rem;
}

.support-contact-row small {
    display: block;
    margin-bottom: 2px;
    color: #929aa7;
    font-size: .62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .045em;
}

.support-contact-row a, .support-contact-row strong {
    display: block;
    color: #354052 !important;
    font-size: .75rem;
    font-weight: 750;
    text-decoration: none;
    word-break: break-word;
}

    .support-contact-row a:hover {
        color: var(--brand-primary-deep) !important;
    }

.support-mini-help {
    padding: 15px 18px 17px;
    border-top: 1px solid #edf0f2;
    background: #fafbfc;
}

    .support-mini-help h2 {
        margin: 0 0 7px;
        color: #344054;
        font-size: .75rem;
        font-weight: 800;
    }

    .support-mini-help a {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        color: var(--brand-primary-deep) !important;
        font-size: .7rem;
        font-weight: 800;
        text-decoration: none;
    }

.support-form-card {
    padding: 22px;
}

.support-form-head {
    margin-bottom: 18px;
}

    .support-form-head h2 {
        margin: 0 0 5px;
        color: #172033;
        font-size: 1.25rem;
        font-weight: 800;
        letter-spacing: -.025em;
    }

    .support-form-head p {
        margin: 0;
        color: #838c99;
        font-size: .72rem;
    }

.support-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.support-field {
    min-width: 0;
}

    .support-field.is-full {
        grid-column: 1 / -1;
    }

    .support-field label {
        display: block;
        margin-bottom: 5px;
        color: #354052;
        font-size: .68rem;
        font-weight: 800;
    }

.support-required {
    color: var(--brand-primary-hover);
}

.support-field .form-control, .support-field .form-select {
    width: 100%;
    min-height: 39px;
    padding: 8px 10px;
    border: 1px solid #d7dde5;
    border-radius: 8px;
    background: #fff;
    color: #253047;
    font-size: .75rem;
}

.support-field textarea.form-control {
    min-height: 112px;
    resize: vertical;
    line-height: 1.5;
}

.support-validation {
    min-height: 14px;
    margin-top: 3px;
    font-size: .63rem;
}

.support-submit-row {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.support-submit-note {
    max-width: 330px;
    margin: 0;
    color: #9199a5;
    font-size: .63rem;
    line-height: 1.45;
}

.support-submit {
    min-width: 132px;
    min-height: 39px;
    padding: 0 16px;
    border: 0;
    border-radius: 8px;
    background: var(--brand-primary);
    color: #fff;
    font-size: .73rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(var(--brand-primary-rgb),.13);
}

    .support-submit:hover {
        background: var(--brand-primary-hover);
    }

.support-location-card {
    margin-top: 18px;
    padding: 15px;
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 15px;
}

.support-location-copy {
    padding: 8px 7px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .support-location-copy .expo-kicker {
        margin-bottom: 6px;
    }

    .support-location-copy h2 {
        margin: 0 0 8px;
        color: #172033;
        font-size: 1.05rem;
        font-weight: 800;
    }

    .support-location-copy p {
        margin: 0 0 11px;
        color: #747e8e;
        font-size: .72rem;
        line-height: 1.55;
    }

    .support-location-copy a {
        width: fit-content;
        color: var(--brand-primary-deep) !important;
        font-size: .7rem;
        font-weight: 800;
        text-decoration: none;
    }

.support-map {
    min-height: 250px;
    overflow: hidden;
    border-radius: 10px;
    background: #eef1f4;
}

    .support-map iframe {
        width: 100%;
        height: 100%;
        min-height: 250px;
        border: 0;
        display: block;
    }

@media (max-width: 900px) {
    .support-grid {
        grid-template-columns: 1fr;
    }

    .support-location-card {
        grid-template-columns: 1fr;
    }

    .account-shell, .account-shell--status {
        width: min(680px, 100%);
        grid-template-columns: 1fr;
    }

    .account-brand {
        min-height: 190px;
        padding: 25px;
    }

    .account-brand-copy h1 {
        font-size: 1.72rem;
    }

    .account-brand-foot {
        display: none;
    }

    .account-panel {
        padding: 28px 26px;
    }
}

@media (max-width: 680px) {
    .expo-footer-top {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .expo-footer-contact {
        grid-column: auto;
    }

    #back-top {
        right: 62px;
        bottom: 12px;
        width: 40px;
        height: 40px;
    }

    .expo-no-ai #back-top {
        right: 12px;
        bottom: 12px;
    }

    .expo-ai {
        right: 12px;
        bottom: 12px;
    }

    .expo-ai-launcher {
        min-width: 44px;
        width: 44px;
        padding: 0;
        border-radius: 11px;
    }

        .expo-ai-launcher span {
            display: none;
        }

    .expo-ai-panel {
        position: fixed;
        left: 8px;
        right: 8px;
        bottom: 8px;
        width: auto;
        height: min(520px, calc(100dvh - 76px));
        border-radius: 14px;
    }

    .support-page {
        padding: 30px 10px 44px;
    }

    .support-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
    }

        .support-head h1 {
            font-size: 1.75rem;
        }

    .support-form-card {
        padding: 17px;
    }

    .support-fields {
        grid-template-columns: 1fr;
    }

    .support-field.is-full {
        grid-column: auto;
    }

    .support-submit-row {
        align-items: stretch;
        flex-direction: column;
    }

    .support-submit {
        width: 100%;
    }

    .account-page {
        padding: 10px 8px;
    }

    .account-shell, .account-shell--status {
        border-radius: 11px;
    }

    .account-brand {
        min-height: 165px;
        padding: 22px 20px;
    }

        .account-brand::before {
            top: 22px;
            height: 52px;
        }

    .account-brand-copy h1 {
        font-size: 1.5rem;
    }

    .account-brand-copy p {
        font-size: .74rem;
    }

    .account-panel {
        padding: 25px 20px;
    }

    .account-actions {
        flex-direction: column;
    }

        .account-actions .account-submit, .account-outline {
            width: 100%;
        }
}


/* ========================================================================
   V6 — unified floating controls + support layout
   ======================================================================== */

/* ---------- Floating utility dock ---------- */
.expo-floating-dock {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1400;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    pointer-events: none;
}

    .expo-floating-dock > * {
        pointer-events: auto;
    }

#back-top.expo-back-top {
    position: static !important;
    right: auto !important;
    bottom: auto !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px;
    padding: 0;
    display: none;
    align-items: center;
    justify-content: center;
    border: 1px solid #323842;
    border-radius: 10px;
    background: #20242a;
    color: #fff;
    box-shadow: 0 7px 18px rgba(17,24,39,.14);
    opacity: 1;
    visibility: visible;
    transform: none;
    text-decoration: none;
}

    #back-top.expo-back-top.is-visible {
        display: inline-flex;
    }

    #back-top.expo-back-top:hover {
        background: #15181d;
        color: #fff;
    }

    #back-top.expo-back-top svg,
    .expo-ai-launcher svg,
    .expo-ai-form button svg {
        width: 16px;
        height: 16px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.9;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

body.expo-ai-open #back-top.expo-back-top {
    display: none !important;
}

.expo-ai {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    z-index: auto;
}

.expo-ai-launcher {
    width: auto;
    min-width: 84px;
    height: 42px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--brand-primary);
    border-radius: 10px;
    background: var(--brand-primary);
    color: #fff;
    box-shadow: 0 7px 18px rgba(var(--brand-primary-rgb),.16);
    font-size: .72rem;
    font-weight: 800;
    line-height: 1;
}

    .expo-ai-launcher:hover {
        background: var(--brand-primary-hover);
        border-color: var(--brand-primary-hover);
        transform: none;
    }

.expo-ai.is-panel-open .expo-ai-launcher {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.expo-ai-launcher svg {
    width: 15px;
    height: 15px;
}

.expo-ai-panel {
    position: absolute !important;
    right: 0 !important;
    bottom: calc(100% + 10px) !important;
    width: 360px;
    height: min(510px, calc(100dvh - 92px));
    border-radius: 14px;
}

.expo-ai-head {
    min-height: 60px;
    padding: 0 14px 0 15px;
}

    .expo-ai-head strong {
        font-size: .78rem;
    }

    .expo-ai-head span {
        font-size: .61rem;
    }

.expo-ai-messages {
    padding: 13px;
    background: #f7f8fa;
}

.expo-ai-actions {
    gap: 6px;
}

.expo-ai-suggestion {
    min-height: 50px;
    padding: 8px 9px;
    border-radius: 9px;
}

    .expo-ai-suggestion:hover {
        transform: none;
    }

.expo-ai-form {
    min-height: 58px;
    padding: 9px;
}

    .expo-ai-form textarea {
        min-height: 40px;
        padding: 10px 43px 10px 11px;
        border-radius: 9px;
    }

    .expo-ai-form button {
        right: 14px;
        bottom: 14px;
        width: 30px;
        height: 30px;
        border-radius: 8px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

/* ---------- Customer support: map occupies the left-column gap ---------- */
.support-page {
    padding: 34px 16px 52px;
}

.support-shell {
    width: min(1120px, 100%);
}

.support-head {
    margin-bottom: 18px;
}

    .support-head h1 {
        font-size: 1.9rem;
    }

.support-grid {
    display: grid;
    grid-template-columns: minmax(300px, .78fr) minmax(0, 1.22fr);
    gap: 16px;
    align-items: stretch;
}

.support-left-column {
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.support-aside {
    flex: 0 0 auto;
}

.support-contact-list {
    padding: 3px 18px;
}

.support-contact-row {
    min-height: 66px;
}

.support-mini-help {
    padding: 13px 18px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

    .support-mini-help span {
        color: #667085;
        font-size: .67rem;
        font-weight: 700;
    }

    .support-mini-help a {
        flex: 0 0 auto;
    }

.support-map-card {
    flex: 1 1 auto;
    min-height: 330px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #dde2e8;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(17,24,39,.035);
}

.support-map-head {
    min-height: 68px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid #e8ebef;
}

    .support-map-head .expo-kicker {
        margin-bottom: 2px;
    }

    .support-map-head h2 {
        margin: 0;
        color: #253047;
        font-size: .88rem;
        font-weight: 800;
        letter-spacing: -.015em;
    }

.support-map-address {
    max-width: 245px;
    margin: 3px 0 0;
    color: #818a98;
    font-size: .63rem;
    line-height: 1.35;
}

.support-map-link {
    flex: 0 0 auto;
    min-height: 32px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid #e5aa7f;
    border-radius: 7px;
    background: #fff8f3;
    color: var(--brand-primary-deep) !important;
    font-size: .65rem;
    font-weight: 800;
    text-decoration: none;
}

.support-map {
    flex: 1 1 auto;
    min-height: 260px;
    border-radius: 0;
    background: #eef1f4;
}

    .support-map iframe {
        width: 100%;
        height: 100%;
        min-height: 100%;
    }

.support-form-card {
    height: 100%;
    min-width: 0;
    padding: 20px 21px;
}

.support-form-head {
    margin-bottom: 15px;
}

    .support-form-head .expo-kicker {
        margin-bottom: 3px;
    }

    .support-form-head h2 {
        font-size: 1.18rem;
    }

.support-fields {
    gap: 10px 12px;
}

.support-field .form-control,
.support-field .form-select {
    min-height: 38px;
}

.support-field textarea.form-control {
    min-height: 104px;
}

.support-submit-row {
    margin-top: 12px;
}

.support-submit {
    min-width: 142px;
    gap: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ---------- Home shipment tool: final calculator layout ---------- */
.expo-home .home-rate-layout {
    display: grid;
    gap: 14px;
}

.expo-home .home-rate-route {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
}

.expo-home .home-rate-field {
    min-width: 0;
}

.expo-home .home-rate-input,
.expo-home .home-rate-weight-input,
.expo-home .home-rate-unit-select {
    box-sizing: border-box;
    height: 40px;
    min-height: 40px;
    border: 1px solid #dbe1e8;
    outline: 0;
    background: #fff;
    color: #354052;
    font-family: inherit;
    font-size: .76rem;
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.expo-home .home-rate-input {
    width: 100%;
    padding: 0 11px;
    border-radius: 7px;
}

    .expo-home .home-rate-input::placeholder,
    .expo-home .home-rate-weight-input::placeholder {
        color: #a1a8b3;
    }

    .expo-home .home-rate-input:focus,
    .expo-home .home-rate-weight-input:focus,
    .expo-home .home-rate-unit-select:focus {
        border-color: var(--brand-primary);
        box-shadow: 0 0 0 3px rgba(var(--brand-primary-rgb), .08);
        position: relative;
        z-index: 2;
    }

.expo-home .home-rate-action-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 10px;
    align-items: end;
}

.expo-home .home-rate-weight-field {
    max-width: none;
}

.expo-home .home-weight-control {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 82px;
    width: 100%;
}

.expo-home .home-rate-weight-input {
    width: 100%;
    padding: 0 11px;
    border-radius: 7px 0 0 7px;
    border-right: 0;
}

.expo-home .home-rate-unit-select {
    width: 100%;
    padding: 0 28px 0 11px;
    border-radius: 0 7px 7px 0;
    background-color: #f7f8fa;
    cursor: pointer;
}

.expo-home .home-rate-submit {
    width: 100%;
    height: 40px;
    min-height: 40px;
    margin: 0;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 7px;
    white-space: nowrap;
}

    .expo-home .home-rate-submit i {
        font-size: .72rem;
    }

.expo-home .home-tool-card {
    padding: 17px;
}

@media (max-width: 900px) {
    .support-grid {
        grid-template-columns: 1fr;
    }

    .support-left-column {
        height: auto;
    }

    .support-map-card {
        min-height: 360px;
    }
}

@media (max-width: 680px) {
    .expo-floating-dock {
        right: 10px;
        bottom: 10px;
        gap: 7px;
    }

    #back-top.expo-back-top {
        width: 42px !important;
        height: 42px !important;
    }

    .expo-ai-launcher {
        width: 42px;
        min-width: 42px;
        height: 42px;
        padding: 0;
    }

        .expo-ai-launcher span {
            display: none;
        }

    .expo-ai-panel {
        position: fixed !important;
        left: 8px !important;
        right: 8px !important;
        bottom: 62px !important;
        width: auto;
        height: min(500px, calc(100dvh - 76px));
    }

    .support-page {
        padding: 28px 10px 42px;
    }

    .support-mini-help {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .support-map-card {
        min-height: 310px;
    }

    .support-map-head {
        align-items: flex-start;
    }

    .support-map-address {
        max-width: none;
    }

    .expo-home .home-rate-route {
        grid-template-columns: 1fr;
    }

    .expo-home .home-rate-action-row {
        grid-template-columns: 1fr;
    }

    .expo-home .home-rate-submit {
        width: 100%;
    }
}


/* ============================================================
   V8 — CUSTOMER SUPPORT COMPACT DESKTOP DENSITY
   Fits the main support workflow much closer to one viewport.
   ============================================================ */
@media (min-width: 901px) {
    .support-page {
        padding: 18px 16px 28px;
    }

    .support-shell {
        width: min(1160px, 100%);
    }

    .support-head {
        margin-bottom: 12px;
        align-items: center;
    }

    .support-head-copy {
        max-width: 720px;
    }

    .support-head .expo-kicker {
        margin-bottom: 3px;
        font-size: .59rem;
    }

    .support-head h1 {
        font-size: 1.62rem;
        line-height: 1.08;
        letter-spacing: -.035em;
    }

    .support-head p {
        margin-top: 5px;
        font-size: .71rem;
        line-height: 1.42;
    }

    .support-head-link {
        font-size: .67rem;
    }

    .support-grid {
        grid-template-columns: minmax(300px, .76fr) minmax(0, 1.24fr);
        gap: 14px;
    }

    .support-left-column {
        gap: 10px;
    }

    .support-contact-list {
        padding: 2px 16px;
    }

    .support-contact-row {
        min-height: 54px;
        grid-template-columns: 30px 1fr;
        gap: 10px;
    }

    .support-contact-icon {
        width: 30px;
        height: 30px;
        border-radius: 8px;
        font-size: .72rem;
    }

    .support-contact-row small {
        margin-bottom: 1px;
        font-size: .56rem;
    }

    .support-contact-row a,
    .support-contact-row strong {
        font-size: .69rem;
        line-height: 1.32;
    }

    .support-mini-help {
        min-height: 42px;
        padding: 9px 16px 10px;
    }

        .support-mini-help span,
        .support-mini-help a {
            font-size: .63rem;
        }

    .support-map-card {
        min-height: 245px;
        border-radius: 12px;
    }

    .support-map-head {
        min-height: 54px;
        padding: 8px 12px;
    }

        .support-map-head .expo-kicker {
            font-size: .55rem;
        }

        .support-map-head h2 {
            font-size: .8rem;
        }

    .support-map-address {
        margin-top: 2px;
        font-size: .57rem;
        line-height: 1.25;
    }

    .support-map-link {
        min-height: 29px;
        padding: 0 9px;
        font-size: .59rem;
    }

    .support-map {
        min-height: 190px;
    }

    .support-form-card {
        padding: 15px 18px 16px;
        border-radius: 12px;
    }

    .support-form-head {
        margin-bottom: 10px;
    }

        .support-form-head .expo-kicker {
            margin-bottom: 2px;
            font-size: .57rem;
        }

        .support-form-head h2 {
            margin-bottom: 2px;
            font-size: 1.05rem;
            line-height: 1.15;
        }

        .support-form-head p {
            font-size: .65rem;
            line-height: 1.35;
        }

    .support-fields {
        gap: 7px 10px;
    }

    .support-field label {
        margin-bottom: 3px;
        font-size: .62rem;
    }

    .support-field .form-control,
    .support-field .form-select {
        min-height: 35px;
        height: 35px;
        padding: 0 10px;
        border-radius: 7px;
        font-size: .72rem;
    }

    .support-field textarea.form-control {
        height: 72px;
        min-height: 72px;
        padding: 9px 10px;
        line-height: 1.35;
    }

    .support-validation {
        min-height: 0;
        margin-top: 2px;
        font-size: .58rem;
        line-height: 1.2;
    }

        .support-validation:empty {
            display: none;
        }

        .support-validation .field-validation-valid:empty {
            display: none;
        }

    .support-submit-row {
        margin-top: 9px;
    }

    .support-submit-note {
        font-size: .58rem;
        line-height: 1.3;
    }

    .support-submit {
        min-width: 126px;
        min-height: 35px;
        height: 35px;
        padding: 0 13px;
        border-radius: 7px;
        font-size: .65rem;
    }
}
