:root {
            --stb-account-green: #2f641f;
            --stb-account-green-dark: #214b16;
            --stb-account-green-soft: #e8f3e3;
            --stb-account-ink: #1c2a1c;
            --stb-account-muted: #6c786d;
            --stb-account-line: #e4ebe1;
            --stb-account-bg: #eef3ee;
            --stb-account-card: #ffffff;
        }

        * { box-sizing: border-box; }

        body.stb-customer-body {
            margin: 0;
            min-width: 320px;
            background: var(--stb-account-bg);
            color: var(--stb-account-ink);
        }

        body.stb-customer-body::before {
            content: "";
            position: fixed;
            inset: 0;
            pointer-events: none;
            opacity: .45;
            background: radial-gradient(circle at 5% 5%, rgba(47,100,31,.09), transparent 28%),
                        radial-gradient(circle at 95% 95%, rgba(196,151,66,.08), transparent 30%);
        }

        /* Keep the dashboard canvas clean; this decorative fixed layer can wash out
           the drawer on mobile/tablet when the menu is open. */
        body.stb-customer-body::before,
        body.stb-customer-body.menu-open::before {
            display: none !important;
        }

        .stb-customer-app {
            position: relative;
            z-index: 1;
            display: flex;
            min-height: 100vh;
            padding: clamp(12px, 2.2vw, 30px);
        }

        .stb-customer-shell {
            display: grid;
            grid-template-columns: 248px minmax(0, 1fr);
            width: min(1480px, 100%);
            min-height: calc(100vh - clamp(24px, 4.4vw, 60px));
            margin: 0 auto;
            overflow: hidden;
            background: #f8faf7;
            border: 1px solid rgba(47,100,31,.12);
            border-radius: 26px;
            box-shadow: 0 24px 70px rgba(37,65,38,.12);
        }

        .stb-account-sidebar {
            display: flex;
            flex-direction: column;
            min-width: 0;
            padding: 22px 14px 16px;
            background: #fff;
            border-right: 1px solid var(--stb-account-line);
        }

        .stb-account-brand {
            display: flex;
            align-items: center;
            gap: 10px;
            min-width: 0;
            padding: 2px 10px 24px;
            color: var(--stb-account-ink);
            text-decoration: none;
        }

        .stb-account-brand img {
            width: 42px;
            height: 42px;
            flex: 0 0 42px;
            object-fit: contain;
        }

        .stb-account-brand strong,
        .stb-account-brand small { display: block; }

        .stb-account-brand strong {
            color: var(--stb-account-green);
            font-size: 16px;
            line-height: 1.15;
        }

        .stb-account-brand small {
            margin-top: 4px;
            color: var(--stb-account-muted);
            font-size: 11px;
            letter-spacing: .02em;
        }

        .stb-account-nav-label {
            padding: 0 12px 9px;
            color: #a0aaa0;
            font-size: 10px;
            font-weight: 800;
            letter-spacing: .12em;
            text-transform: uppercase;
        }

        .stb-account-nav {
            display: grid;
            gap: 5px;
        }

        .stb-account-nav-link,
        .stb-account-nav-disabled {
            display: flex;
            align-items: center;
            gap: 11px;
            min-height: 44px;
            padding: 9px 12px;
            border-radius: 11px;
            font-size: 13px;
            font-weight: 700;
            text-decoration: none;
        }

        .stb-account-nav-link {
            color: #536154;
            transition: background-color .18s ease, color .18s ease, transform .18s ease;
        }

        .stb-account-nav-link:hover {
            color: var(--stb-account-green);
            background: #f2f8ef;
            transform: translateX(2px);
        }

        .stb-account-nav-link.is-active {
            color: #fff;
            background: var(--stb-account-green);
            box-shadow: 0 8px 18px rgba(47,100,31,.18);
        }

        .stb-account-nav-disabled {
            color: #a8b1a8;
            cursor: default;
        }

        .stb-account-nav-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 24px;
            height: 24px;
            flex: 0 0 24px;
            border-radius: 8px;
            color: currentColor;
        }

        .stb-account-nav-icon svg {
            width: 17px;
            height: 17px;
            fill: none;
            stroke: currentColor;
            stroke-linecap: round;
            stroke-linejoin: round;
            stroke-width: 1.8;
        }

        .stb-account-nav-badge {
            margin-left: auto;
            padding: 3px 6px;
            border-radius: 999px;
            background: #f1f4f0;
            color: #9aa59b;
            font-size: 9px;
            font-weight: 800;
            letter-spacing: .04em;
            text-transform: uppercase;
        }

        .stb-account-sidebar-bottom {
            margin-top: auto;
            padding: 18px 10px 0;
            border-top: 1px solid var(--stb-account-line);
        }

        .stb-account-sidebar-note {
            margin: 0 0 13px;
            color: var(--stb-account-muted);
            font-size: 11px;
            line-height: 1.5;
        }

        .stb-account-sidebar-logout {
            width: 100%;
            min-height: 42px;
            border: 1px solid #dcbebe;
            border-radius: 10px;
            background: #fff;
            color: #9c3939;
            font: inherit;
            font-size: 13px;
            font-weight: 800;
            cursor: pointer;
        }

        .stb-account-sidebar-logout:hover { background: #fff7f7; }

        .stb-account-main {
            display: flex;
            min-width: 0;
            flex-direction: column;
        }

        .stb-account-topbar {
            position: sticky;
            top: 0;
            z-index: 20;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            min-height: 76px;
            padding: 13px clamp(18px, 3vw, 38px);
            background: rgba(255,255,255,.94);
            border-bottom: 1px solid var(--stb-account-line);
            backdrop-filter: blur(12px);
        }

        .stb-account-menu-toggle,
        .stb-account-sidebar-close {
            display: none;
            align-items: center;
            justify-content: center;
            width: 42px;
            height: 42px;
            border: 1px solid var(--stb-account-line);
            border-radius: 11px;
            background: #fff;
            color: var(--stb-account-green);
            cursor: pointer;
        }

        .stb-account-context small,
        .stb-account-context strong { display: block; }

        .stb-account-context small {
            color: #9aa59b;
            font-size: 10px;
            font-weight: 800;
            letter-spacing: .1em;
            text-transform: uppercase;
        }

        .stb-account-context strong {
            margin-top: 3px;
            color: var(--stb-account-ink);
            font-size: 16px;
        }

        .stb-account-context strong.stb-account-context-customer { display: none; }

        .stb-account-top-actions {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .stb-account-store-link {
            color: var(--stb-account-green);
            font-size: 13px;
            font-weight: 800;
            text-decoration: none;
        }

        .stb-account-user-chip {
            display: flex;
            align-items: center;
            gap: 9px;
            padding: 4px 8px 4px 4px;
            border: 1px solid var(--stb-account-line);
            border-radius: 999px;
            background: #fff;
        }

        .stb-account-avatar {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: var(--stb-account-green-soft);
            color: var(--stb-account-green);
            font-size: 14px;
            font-weight: 900;
        }

        .stb-account-user-chip span:last-child {
            max-width: 140px;
            overflow: hidden;
            color: #4d5b4e;
            font-size: 12px;
            font-weight: 800;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .stb-account-content {
            flex: 1;
            min-width: 0;
            padding: clamp(24px, 4vw, 44px) clamp(18px, 3vw, 42px) 34px;
        }

        .stb-account-content-inner { width: min(1160px, 100%); margin: 0 auto; }

        .stb-account-footer {
            padding: 14px clamp(18px, 3vw, 42px) 20px;
            color: #8b988c;
            font-size: 11px;
            text-align: center;
        }

        .stb-account-mobile-nav,
        .stb-account-mobile-overlay { display: none; }

        /* Shared customer content styles */
        .stb-account-shell { max-width: 1120px; margin: 0 auto; padding: 0; }
        .stb-account-card { background: var(--stb-account-card); border: 1px solid var(--stb-account-line); border-radius: 18px; box-shadow: 0 12px 35px rgba(47,100,31,.07); padding: 28px; }
        .stb-account-narrow { max-width: 520px; margin: 0 auto; }
        .stb-account-title { color: var(--stb-account-green); margin: 0 0 8px; font-size: clamp(26px, 4vw, 38px); line-height: 1.12; }
        .stb-account-muted { color: var(--stb-account-muted); margin: 0 0 24px; line-height: 1.6; }
        .stb-account-label { display: block; color: #263324; font-weight: 700; margin: 0 0 7px; }
        .stb-account-input { width: 100%; min-height: 46px; border: 1px solid #ccd7c7; border-radius: 10px; padding: 11px 13px; font: inherit; background: #fff; }
        .stb-account-input:focus { outline: 3px solid rgba(47,100,31,.14); border-color: var(--stb-account-green); }
        .stb-account-field { margin-bottom: 16px; }
        .stb-account-button { min-height: 44px; border: 0; border-radius: 10px; background: var(--stb-account-green); color: #fff; padding: 11px 18px; font-weight: 800; cursor: pointer; }
        .stb-account-button:hover { background: var(--stb-account-green-dark); }
        .stb-account-link { color: var(--stb-account-green); font-weight: 700; text-decoration: none; }
        .stb-account-errors { background: #fff2f2; color: #9a2020; border: 1px solid #f0caca; border-radius: 10px; padding: 12px 15px; margin-bottom: 18px; }
        .stb-account-success { background: #eff9ed; color: #28631f; border: 1px solid #c8e4c2; border-radius: 10px; padding: 12px 15px; margin-bottom: 18px; }
        .stb-account-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
        .stb-account-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
        .stb-account-stat { border: 1px solid var(--stb-account-line); border-radius: 14px; padding: 18px; background: #fbfdf9; }
        .stb-account-stat strong { display: block; color: var(--stb-account-green); font-size: 19px; margin-bottom: 6px; overflow-wrap: anywhere; }
        .stb-account-stat span { color: var(--stb-account-muted); font-size: 13px; }
        .stb-account-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
        .stb-account-secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid #b9cdb1; border-radius: 10px; background: #fff; color: var(--stb-account-green); padding: 10px 17px; font-weight: 800; text-decoration: none; }
        .stb-account-secondary:hover { background: #f4faf1; }
        .stb-account-danger { border-color: #e3bcbc; color: #9a2020; background: #fff; }
        .stb-account-panel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
        .stb-account-panel { background: #fff; border: 1px solid var(--stb-account-line); border-radius: 14px; padding: 22px; }
        .stb-account-panel h2 { margin: 0 0 8px; color: var(--stb-account-green); font-size: 21px; }
        .stb-account-panel p { color: var(--stb-account-muted); line-height: 1.55; }
        .stb-account-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
        .stb-account-form-full { grid-column: 1 / -1; }
        .stb-account-check { display: flex; align-items: center; gap: 8px; color: #52604f; margin: 0 0 16px; }
        .stb-account-address-list { display: grid; gap: 14px; margin-top: 18px; }
        .stb-account-address { border: 1px solid var(--stb-account-line); border-radius: 14px; padding: 18px; background: #fbfdf9; }
        .stb-account-address-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
        .stb-account-address-head h3 { margin: 0; color: var(--stb-account-green); font-size: 18px; }
        .stb-account-badge { display: inline-flex; border-radius: 999px; background: #e7f4e2; color: #28631f; padding: 4px 9px; font-size: 12px; font-weight: 800; }
        .stb-account-address p { margin: 4px 0; color: #52604f; line-height: 1.5; }
        .stb-account-address-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
        .stb-account-address-actions form { margin: 0; }
        .stb-account-small-button { min-height: 40px; border: 1px solid #b9cdb1; border-radius: 8px; background: #fff; color: var(--stb-account-green); padding: 8px 11px; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
        .stb-account-small-button:hover { background: #f4faf1; }
        .stb-account-small-button.stb-account-danger { border-color: #e3bcbc; color: #9a2020; }
        .stb-account-edit { margin-top: 14px; border-top: 1px solid var(--stb-account-line); padding-top: 14px; }
        .stb-account-edit summary { color: var(--stb-account-green); font-weight: 800; cursor: pointer; }

        /* Dashboard */
        .stb-dashboard-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
        .stb-dashboard-eyebrow { display: block; margin-bottom: 7px; color: #8c988d; font-size: 11px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
        .stb-dashboard-heading h1 { margin: 0 0 8px; color: var(--stb-account-ink); font-size: clamp(27px, 4vw, 40px); line-height: 1.12; }
        .stb-dashboard-heading p { margin: 0; color: var(--stb-account-muted); line-height: 1.55; }
        .stb-dashboard-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(220px, .75fr); gap: 20px; min-height: 190px; margin-bottom: 20px; padding: clamp(22px, 4vw, 34px); overflow: hidden; border-radius: 20px; background: linear-gradient(120deg, #2f641f, #4e882d); color: #fff; box-shadow: 0 16px 32px rgba(47,100,31,.18); }
        .stb-dashboard-hero h2 { max-width: 520px; margin: 0 0 10px; font-size: clamp(22px, 3vw, 30px); line-height: 1.16; }
        .stb-dashboard-hero p { max-width: 560px; margin: 0; color: rgba(255,255,255,.82); line-height: 1.6; }
        .stb-dashboard-hero-art { position: relative; display: flex; align-items: center; justify-content: center; min-height: 130px; }
        .stb-dashboard-hero-art::before,
        .stb-dashboard-hero-art::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; }
        .stb-dashboard-hero-art::before { width: 180px; height: 180px; }
        .stb-dashboard-hero-art::after { width: 112px; height: 112px; }
        .stb-dashboard-hero-mark { position: relative; z-index: 1; display: grid; place-items: center; width: 76px; height: 76px; border: 1px solid rgba(255,255,255,.38); border-radius: 50%; background: rgba(255,255,255,.12); font-size: 30px; }
        .stb-dashboard-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
        .stb-dashboard-stat { display: flex; align-items: flex-start; gap: 12px; min-width: 0; padding: 17px; border: 1px solid var(--stb-account-line); border-radius: 15px; background: #fff; box-shadow: 0 8px 22px rgba(40,70,42,.05); }
        .stb-dashboard-stat-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 11px; background: var(--stb-account-green-soft); color: var(--stb-account-green); }
        .stb-dashboard-stat-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
        .stb-dashboard-stat small, .stb-dashboard-stat strong { display: block; }
        .stb-dashboard-stat small { margin-bottom: 5px; color: #869286; font-size: 11px; font-weight: 700; }
        .stb-dashboard-stat strong { color: var(--stb-account-ink); font-size: 17px; overflow-wrap: anywhere; }
        .stb-dashboard-stat em { display: block; margin-top: 4px; color: var(--stb-account-muted); font-size: 11px; font-style: normal; }
        .stb-dashboard-columns { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: 20px; }
        .stb-dashboard-panel { min-width: 0; padding: 22px; border: 1px solid var(--stb-account-line); border-radius: 17px; background: #fff; box-shadow: 0 8px 22px rgba(40,70,42,.04); }
        .stb-dashboard-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
        .stb-dashboard-panel h2 { margin: 0 0 6px; color: var(--stb-account-ink); font-size: 20px; }
        .stb-dashboard-panel-head p { margin: 0; color: var(--stb-account-muted); font-size: 13px; line-height: 1.5; }
        .stb-dashboard-action-list { display: grid; gap: 10px; }
        .stb-dashboard-action { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border: 1px solid var(--stb-account-line); border-radius: 12px; color: var(--stb-account-ink); text-decoration: none; transition: border-color .18s ease, background-color .18s ease, transform .18s ease; }
        .stb-dashboard-action:hover { border-color: #b9cdb1; background: #f8fcf6; transform: translateX(2px); }
        .stb-dashboard-action-icon { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px; background: #f1f7ee; color: var(--stb-account-green); }
        .stb-dashboard-action-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
        .stb-dashboard-action strong, .stb-dashboard-action small { display: block; }
        .stb-dashboard-action strong { font-size: 13px; }
        .stb-dashboard-action small { margin-top: 3px; color: var(--stb-account-muted); font-size: 11px; }
        .stb-dashboard-action-arrow { margin-left: auto; color: #9ba69c; font-size: 18px; }
        .stb-dashboard-contact { display: grid; gap: 13px; }
        .stb-dashboard-contact-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid #edf1ec; }
        .stb-dashboard-contact-row:last-child { padding-bottom: 0; border-bottom: 0; }
        .stb-dashboard-contact-row span { color: var(--stb-account-muted); font-size: 12px; }
        .stb-dashboard-contact-row strong { max-width: 62%; color: var(--stb-account-ink); font-size: 13px; text-align: right; overflow-wrap: anywhere; }
        .stb-dashboard-next { display: flex; align-items: flex-start; gap: 13px; margin-top: 20px; padding: 17px; border: 1px dashed #b8d1ae; border-radius: 15px; background: #f7fbf5; }
        .stb-dashboard-next-icon { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px; background: #e1f0db; color: var(--stb-account-green); font-weight: 900; }
        .stb-dashboard-next strong, .stb-dashboard-next p { display: block; }
        .stb-dashboard-next strong { margin-bottom: 4px; color: var(--stb-account-green); font-size: 13px; }
        .stb-dashboard-next p { margin: 0; color: var(--stb-account-muted); font-size: 12px; line-height: 1.5; }

        /* Guest auth pages use a separate, guard-aware presentation. */
        body.stb-customer-auth-body {
            min-width: 320px;
            min-height: 100vh;
            margin: 0;
            overflow-x: hidden;
            background: var(--stb-account-bg);
            color: var(--stb-account-ink);
            -webkit-text-size-adjust: 100%;
            text-size-adjust: 100%;
        }

        .stb-customer-auth-page {
            width: min(1180px, 100%);
            margin: 0 auto;
            padding: clamp(26px, 4vw, 46px) 16px clamp(34px, 5vw, 60px);
        }

        .stb-customer-auth-brand {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 11px;
            margin: 0 auto 24px;
            color: var(--stb-account-ink);
            text-align: left;
            text-decoration: none;
        }

        .stb-customer-auth-brand img { width: 48px; height: 48px; object-fit: contain; }
        .stb-customer-auth-brand strong,
        .stb-customer-auth-brand small { display: block; }
        .stb-customer-auth-brand strong { color: var(--stb-account-green); font-size: 18px; }
        .stb-customer-auth-brand small { margin-top: 3px; color: var(--stb-account-muted); font-size: 11px; }
        .stb-customer-auth-content {
            width: 100%;
            background: linear-gradient(180deg, #f7faf6 0%, #eef4ed 100%);
        }

        .stb-customer-auth-content .stb-account-card {
            box-shadow: 0 16px 38px rgba(47,100,31,.09);
        }

        .stb-customer-auth-footer { margin: 22px 0 0; color: #8b988c; font-size: 11px; text-align: center; }
        .stb-customer-auth-footer a { color: var(--stb-account-green); font-weight: 800; text-decoration: none; }

        /* Modern guest authentication screens */
        .stb-auth-layout {
            display: grid;
            grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr);
            width: min(1100px, 100%);
            margin: 0 auto;
            overflow: hidden;
            border: 1px solid rgba(47,100,31,.13);
            border-radius: 28px;
            background: #fff;
            box-shadow: 0 26px 70px rgba(35,65,38,.13);
            font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        }

        .stb-auth-layout--recovery {
            grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr);
            width: min(980px, 100%);
        }

        .stb-auth-layout--recovery .stb-auth-showcase { min-height: 500px; }
        .stb-auth-layout--recovery .stb-auth-form-card { align-self: center; }

        .stb-auth-showcase {
            position: relative;
            min-height: 620px;
            overflow: hidden;
            padding: clamp(28px, 4vw, 50px);
            background: linear-gradient(145deg, #1f5018 0%, #2f641f 46%, #5b953b 100%);
            color: #fff;
        }

        .stb-auth-showcase::before,
        .stb-auth-showcase::after {
            position: absolute;
            content: "";
            border: 1px solid rgba(255,255,255,.2);
            border-radius: 50%;
            pointer-events: none;
        }

        .stb-auth-showcase::before { width: 360px; height: 360px; right: -150px; top: -120px; }
        .stb-auth-showcase::after { width: 240px; height: 240px; left: -145px; bottom: -110px; }

        .stb-auth-kicker {
            position: relative;
            z-index: 1;
            display: inline-flex;
            align-items: center;
            min-height: 28px;
            padding: 6px 10px;
            border: 1px solid rgba(255,255,255,.27);
            border-radius: 999px;
            background: rgba(255,255,255,.1);
            color: rgba(255,255,255,.88);
            font-size: 10px;
            font-weight: 900;
            letter-spacing: .12em;
            text-transform: uppercase;
        }

        .stb-auth-orb {
            position: absolute;
            z-index: 0;
            top: 108px;
            right: 42px;
            display: grid;
            place-items: center;
            width: 150px;
            height: 150px;
            border: 1px solid rgba(255,255,255,.24);
            border-radius: 50%;
            background: rgba(255,255,255,.08);
            box-shadow: 0 0 0 24px rgba(255,255,255,.04), 0 0 0 48px rgba(255,255,255,.025);
        }

        .stb-auth-orb svg { width: 66px; height: 66px; fill: none; stroke: #fff; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.25; opacity: .9; }

        .stb-auth-showcase h1 {
            position: relative;
            z-index: 1;
            max-width: 390px;
            margin: 116px 0 16px;
            color: #fff;
            font-size: clamp(30px, 4vw, 48px);
            font-weight: 800;
            letter-spacing: -.045em;
            line-height: 1.02;
        }

        .stb-auth-showcase h1 em { color: #d7edbf; font-style: normal; }
        .stb-auth-showcase > p { position: relative; z-index: 1; max-width: 390px; margin: 0; color: rgba(255,255,255,.8); font-size: 14px; line-height: 1.7; }

        .stb-auth-benefits { position: absolute; right: clamp(28px, 4vw, 50px); bottom: clamp(28px, 4vw, 50px); left: clamp(28px, 4vw, 50px); z-index: 1; display: grid; gap: 9px; }
        .stb-auth-benefit { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.9); font-size: 12px; font-weight: 700; }
        .stb-auth-benefit span { display: grid; place-items: center; width: 25px; height: 25px; flex: 0 0 25px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: rgba(255,255,255,.1); color: #e2f4ce; font-size: 12px; }

        .stb-auth-form-card { min-width: 0; padding: clamp(26px, 5vw, 58px); background: #fff; }
        .stb-auth-form-head { margin-bottom: 24px; }
        .stb-auth-form-eyebrow { display: block; margin-bottom: 9px; color: var(--stb-account-green); font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
        .stb-auth-form-head h1 { margin: 0 0 9px; color: var(--stb-account-ink); font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -.035em; line-height: 1.12; }
        .stb-auth-form-head p { max-width: 500px; margin: 0; color: var(--stb-account-muted); font-size: 14px; line-height: 1.6; }
        .stb-auth-form { display: grid; gap: 0 14px; }
        .stb-auth-form--register { grid-template-columns: repeat(2, minmax(0, 1fr)); }
        .stb-auth-field--full, .stb-auth-form .stb-auth-submit, .stb-auth-form .stb-auth-form-note { grid-column: 1 / -1; }
        .stb-auth-field { min-width: 0; margin-bottom: 16px; }
        .stb-auth-label { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 0 0 7px; color: #28372b; font-size: 12px; font-weight: 800; }
        .stb-auth-label small { color: #849185; font-size: 10px; font-weight: 600; }
        .stb-auth-input { width: 100%; min-height: 50px; border: 1px solid #d5e0d1; border-radius: 12px; outline: none; background: #fbfdfb; color: var(--stb-account-ink); padding: 12px 14px; font: inherit; font-size: 16px; transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease; }
        .stb-auth-input:hover { border-color: #b8ceb0; background: #fff; }
        .stb-auth-input:focus { border-color: var(--stb-account-green); background: #fff; box-shadow: 0 0 0 4px rgba(47,100,31,.11); }
        .stb-auth-input::placeholder { color: #a2ada3; }
        .stb-auth-errors, .stb-auth-success { grid-column: 1 / -1; margin-bottom: 20px; border-radius: 12px; padding: 12px 14px; font-size: 12px; line-height: 1.5; }
        .stb-auth-errors { border: 1px solid #f1caca; background: #fff5f5; color: #a42b2b; }
        .stb-auth-success { border: 1px solid #c6e5bc; background: #f1faee; color: #28631f; }
        .stb-auth-errors ul { margin: 0; padding-left: 18px; }
        .stb-auth-submit { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 49px; margin-top: 4px; border: 0; border-radius: 12px; background: var(--stb-account-green); color: #fff; padding: 12px 18px; font: inherit; font-size: 13px; font-weight: 900; cursor: pointer; box-shadow: 0 10px 20px rgba(47,100,31,.18); transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease; }
        .stb-auth-submit:hover { background: var(--stb-account-green-dark); box-shadow: 0 13px 24px rgba(47,100,31,.23); transform: translateY(-1px); }
        .stb-auth-submit:active { transform: translateY(0); }
        .stb-auth-form-note { margin: 20px 0 0; color: var(--stb-account-muted); font-size: 12px; line-height: 1.5; }
        .stb-auth-form-note a { color: var(--stb-account-green); font-weight: 900; text-decoration: none; }
        .stb-auth-form-note a:hover { text-decoration: underline; }
        .stb-auth-check { display: flex; align-items: center; gap: 8px; margin: 0 0 18px; color: #5d6a5e; font-size: 12px; }
        .stb-auth-check input { width: 15px; height: 15px; accent-color: var(--stb-account-green); }
        .stb-auth-forgot { display: block; margin: -3px 0 17px; color: var(--stb-account-green); font-size: 12px; font-weight: 800; text-decoration: none; }
        .stb-auth-forgot:hover { text-decoration: underline; }
        .stb-auth-form--single { max-width: 560px; }
        .stb-auth-form--single .stb-auth-submit { width: auto; min-width: 160px; }

        @media (max-width: 820px) {
            .stb-auth-layout { grid-template-columns: 1fr; }
            .stb-auth-showcase { min-height: 280px; padding: 28px; }
            .stb-auth-layout--recovery .stb-auth-showcase { min-height: 280px; }
            .stb-auth-showcase h1 { max-width: 64%; margin: 52px 0 10px; font-size: clamp(28px, 7vw, 40px); }
            .stb-auth-showcase > p { max-width: 62%; font-size: 13px; }
            .stb-auth-orb { top: 55px; right: 46px; width: 112px; height: 112px; }
            .stb-auth-orb svg { width: 52px; height: 52px; }
            .stb-auth-benefits { position: static; grid-template-columns: repeat(3, 1fr); margin-top: 22px; }
            .stb-auth-benefit { font-size: 10px; line-height: 1.3; }
            .stb-auth-benefit span { width: 22px; height: 22px; flex-basis: 22px; }
        }

        @media (max-width: 560px) {
            .stb-customer-auth-page { padding: 14px 10px 28px; }
            .stb-auth-layout { border-radius: 20px; }
            .stb-auth-showcase { min-height: 0; padding: 24px 20px; }
            .stb-auth-layout--recovery .stb-auth-showcase { min-height: 0; }
            .stb-auth-showcase h1 { max-width: 73%; margin-top: 40px; font-size: 30px; }
            .stb-auth-showcase > p { max-width: 75%; font-size: 12px; }
            .stb-auth-orb { top: 51px; right: 30px; width: 86px; height: 86px; box-shadow: 0 0 0 14px rgba(255,255,255,.04), 0 0 0 28px rgba(255,255,255,.025); }
            .stb-auth-orb svg { width: 40px; height: 40px; }
            .stb-auth-benefits { grid-template-columns: 1fr; gap: 7px; margin-top: 20px; }
            .stb-auth-benefit { font-size: 11px; }
            .stb-auth-form-card { padding: 24px 20px; }
            .stb-auth-form--register { grid-template-columns: 1fr; }
            .stb-auth-form .stb-auth-field--full { grid-column: auto; }
            .stb-auth-form-head h1 { font-size: 28px; }
            .stb-auth-form--single .stb-auth-submit { width: 100%; }
        }

        @media (max-width: 1100px) {
            .stb-customer-shell { grid-template-columns: 220px minmax(0, 1fr); }
            .stb-dashboard-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
        }

        @media (max-width: 900px) {
            body.stb-customer-body.menu-open { overflow: hidden; }
            .stb-customer-app { padding: 0; }
            .stb-customer-shell { display: block; min-height: 100vh; border: 0; border-radius: 0; box-shadow: none; }
            .stb-account-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 100; width: min(292px, calc(100vw - 38px)); padding-top: 20px; transform: translateX(-105%); box-shadow: 12px 0 34px rgba(23,48,25,.18); transition: transform .22s ease; }
            .stb-account-sidebar.is-open { transform: translateX(0); }
            .stb-account-sidebar-close { display: inline-flex; position: absolute; top: 20px; right: 14px; width: 36px; height: 36px; }
            .stb-account-brand { padding-right: 52px; }
            .stb-account-mobile-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(17,35,20,.38); opacity: 0; pointer-events: none; transition: opacity .22s ease; }
            .stb-account-mobile-overlay.is-visible { display: block; opacity: 1; pointer-events: auto; }
            .stb-account-menu-toggle { display: inline-flex; flex: 0 0 42px; }
            .stb-account-topbar { min-height: 68px; padding: 11px 16px; }
            .stb-account-context { min-width: 0; margin-right: auto; }
            .stb-account-context strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
            .stb-account-store-link { display: none; }
            .stb-account-content { padding: 25px 16px calc(92px + env(safe-area-inset-bottom)); }
            .stb-account-footer { padding-bottom: 90px; }
            .stb-account-mobile-nav { position: fixed; right: 0; bottom: 0; left: 0; z-index: 70; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid var(--stb-account-line); background: rgba(255,255,255,.96); box-shadow: 0 -8px 24px rgba(35,61,37,.1); backdrop-filter: blur(12px); }
            .stb-account-mobile-link { display: grid; min-height: 50px; place-items: center; gap: 3px; border-radius: 10px; color: #7c887d; font-size: 10px; font-weight: 800; text-decoration: none; }
            .stb-account-mobile-link.is-active { color: var(--stb-account-green); background: #f0f7ed; }
            .stb-account-mobile-link svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
            .stb-account-mobile-link button { border: 0; background: transparent; color: inherit; font: inherit; }
            .stb-dashboard-columns { grid-template-columns: 1fr; }
        }

        /* Profile & security workspace */
        .stb-profile-page { width: 100%; }

        .stb-profile-hero {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            gap: 28px;
            margin-bottom: 30px;
            padding-bottom: 25px;
            border-bottom: 1px solid #e1eae0;
        }

        .stb-profile-eyebrow,
        .stb-profile-section-label {
            display: block;
            color: #8b998b;
            font-size: 11px;
            font-weight: 900;
            letter-spacing: .14em;
            text-transform: uppercase;
        }

        .stb-profile-hero h1 {
            margin: 8px 0 9px;
            color: var(--stb-account-ink);
            font-size: clamp(36px, 4.6vw, 62px);
            font-weight: 900;
            letter-spacing: -.06em;
            line-height: .98;
        }

        .stb-profile-hero h1 em { color: var(--stb-account-green); font-style: normal; }
        .stb-profile-hero p { max-width: 620px; margin: 0; color: var(--stb-account-muted); font-size: 15px; line-height: 1.6; }

        .stb-profile-identity {
            display: flex;
            align-items: center;
            gap: 11px;
            min-width: 260px;
            padding: 10px 12px 10px 10px;
            border: 1px solid #e0e9de;
            border-radius: 16px;
            background: #fff;
        }

        .stb-profile-avatar {
            display: grid;
            width: 44px;
            height: 44px;
            flex: 0 0 44px;
            place-items: center;
            border-radius: 14px;
            background: #e6f2df;
            color: var(--stb-account-green);
            font-size: 19px;
            font-weight: 900;
        }

        .stb-profile-identity strong,
        .stb-profile-identity small { display: block; }
        .stb-profile-identity strong { color: var(--stb-account-ink); font-size: 13px; }
        .stb-profile-identity small { margin-top: 3px; color: #8b998b; font-size: 11px; }
        .stb-profile-identity a { margin-left: auto; color: var(--stb-account-green); font-size: 12px; font-weight: 900; text-decoration: none; white-space: nowrap; }

        .stb-profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }

        .stb-profile-section {
            min-width: 0;
            padding: clamp(24px, 3vw, 36px);
            border: 1px solid #e0e9de;
            border-radius: 22px;
            background: #fff;
            box-shadow: 0 13px 32px rgba(35,67,38,.055);
        }

        .stb-profile-section-head { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 27px; }
        .stb-profile-section-icon { display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; border-radius: 13px; background: #e9f4e4; color: var(--stb-account-green); font-size: 23px; font-weight: 900; }
        .stb-profile-section-icon--security { background: #f5eedc; color: #99752c; }
        .stb-profile-section h2 { margin: 5px 0 6px; color: var(--stb-account-ink); font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.04em; line-height: 1.05; }
        .stb-profile-section-head p { margin: 0; color: var(--stb-account-muted); font-size: 13px; line-height: 1.55; }
        .stb-profile-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
        .stb-profile-field:last-child { grid-column: 1 / -1; }
        .stb-profile-section .stb-account-label { font-size: 12px; }
        .stb-profile-section .stb-account-input { min-height: 52px; border-radius: 11px; font-size: 15px; }
        .stb-profile-submit { display: inline-flex; align-items: center; gap: 18px; min-height: 48px; padding: 12px 17px; border-radius: 10px; }
        .stb-profile-submit span { font-size: 18px; line-height: 1; }

        .stb-profile-password-field { position: relative; }
        .stb-profile-password-field .stb-account-input { padding-right: 68px; }
        .stb-profile-password-toggle { position: absolute; right: 12px; bottom: 14px; border: 0; background: transparent; color: var(--stb-account-green); font: inherit; font-size: 11px; font-weight: 900; cursor: pointer; }
        .stb-profile-security-note { display: flex; align-items: center; gap: 8px; margin: 1px 0 20px; color: #718071; font-size: 11px; }
        .stb-profile-security-note span { display: grid; width: 18px; height: 18px; place-items: center; border-radius: 50%; background: #e8f3e3; color: var(--stb-account-green); font-weight: 900; }
        .stb-account-message-list { margin: 0; padding-left: 18px; }

        @media (max-width: 900px) {
            .stb-profile-hero { align-items: flex-start; flex-direction: column; gap: 18px; }
            .stb-profile-identity { width: 100%; min-width: 0; }
            .stb-profile-grid { grid-template-columns: 1fr; }
        }

        @media (max-width: 560px) {
            .stb-profile-hero { margin-bottom: 22px; padding-bottom: 20px; }
            .stb-profile-hero h1 { font-size: 38px; }
            .stb-profile-hero p { font-size: 13px; }
            .stb-profile-section { padding: 22px 18px; border-radius: 18px; }
            .stb-profile-section-head { margin-bottom: 22px; }
            .stb-profile-fields { grid-template-columns: 1fr; }
            .stb-profile-field:last-child { grid-column: auto; }
            .stb-profile-submit { width: 100%; justify-content: space-between; }
        }

        /* Delivery addresses workspace */
        .stb-address-hero {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            gap: 24px;
            margin-bottom: 28px;
            padding-bottom: 25px;
            border-bottom: 1px solid #e1eae0;
        }

        .stb-address-eyebrow,
        .stb-address-section-label {
            display: block;
            color: #8b998b;
            font-size: 11px;
            font-weight: 900;
            letter-spacing: .14em;
            text-transform: uppercase;
        }

        .stb-address-hero .stb-account-title { margin-top: 8px; margin-bottom: 8px; font-size: clamp(36px, 4.6vw, 62px); letter-spacing: -.06em; }
        .stb-address-hero .stb-account-muted { margin-bottom: 0; font-size: 15px; }
        .stb-address-hero .stb-account-secondary { white-space: nowrap; }

        .stb-address-form-card {
            padding: clamp(24px, 4vw, 42px);
            border-radius: 24px;
            background: linear-gradient(135deg, #fff 0%, #fbfdf9 100%);
            box-shadow: 0 14px 34px rgba(35,67,38,.06);
        }

        .stb-address-section-heading { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 28px; }
        .stb-address-section-icon { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border-radius: 14px; background: #e8f3e3; color: var(--stb-account-green); font-size: 24px; font-weight: 900; }
        .stb-address-section-heading h2 { margin: 5px 0 6px; color: var(--stb-account-ink); font-size: clamp(24px, 3vw, 32px); letter-spacing: -.045em; }
        .stb-address-section-heading p { margin: 0; color: var(--stb-account-muted); font-size: 13px; line-height: 1.5; }
        .stb-address-form .stb-account-input { min-height: 52px; border-radius: 11px; font-size: 15px; }
        .stb-address-optional { color: #849185; font-size: 11px; font-weight: 500; }
        .stb-address-default-check { margin-top: 5px; margin-bottom: 20px; }
        .stb-address-save-button { display: inline-flex; align-items: center; gap: 18px; min-height: 49px; border-radius: 10px; }
        .stb-address-save-button span { font-size: 18px; line-height: 1; }

        .stb-address-list { margin-top: 28px; }
        .stb-address-card { position: relative; padding: 24px 26px; border: 1px solid #e0e9de; border-radius: 20px; background: #fff; box-shadow: 0 10px 26px rgba(35,67,38,.045); }
        .stb-address-card::before { position: absolute; top: 22px; bottom: 22px; left: 0; width: 4px; border-radius: 0 5px 5px 0; background: #dcebd5; content: ""; }
        .stb-address-card:has(.stb-account-badge)::before { background: var(--stb-account-green); }
        .stb-address-card .stb-account-address-head h3 { color: var(--stb-account-ink); font-size: 20px; letter-spacing: -.025em; }
        .stb-address-card .stb-account-badge { border-radius: 999px; background: #e8f4e2; color: var(--stb-account-green); font-size: 10px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
        .stb-address-card .stb-account-address-actions { padding-top: 14px; border-top: 1px solid #edf1ec; }
        .stb-address-card .stb-account-small-button { min-height: 38px; border-radius: 9px; }
        .stb-address-edit-form { margin-top: 16px; padding-top: 20px; border-top: 1px solid #e5ece3; }
        .stb-address-empty { margin-top: 28px; text-align: center; }
        .stb-address-empty .stb-account-muted { margin: 0; }

        @media (max-width: 700px) {
            .stb-address-hero { align-items: flex-start; flex-direction: column; gap: 18px; }
            .stb-address-hero .stb-account-secondary { width: 100%; }
            .stb-address-form-card { padding: 24px 18px; border-radius: 18px; }
            .stb-address-save-button { width: 100%; justify-content: space-between; }
            .stb-address-card { padding: 22px 19px; }
            .stb-address-card .stb-account-address-head { align-items: flex-start; }
        }

        /* Premium full-bleed authentication direction.
           The auth screens intentionally do not use a floating card. */
        body.stb-customer-auth-body {
            background: #f4f7f1;
        }

        body.stb-customer-auth-body::before {
            opacity: .7;
            background:
                radial-gradient(circle at 8% 22%, rgba(47,100,31,.13), transparent 24%),
                radial-gradient(circle at 94% 78%, rgba(196,151,66,.12), transparent 25%),
                linear-gradient(135deg, #f8faf6 0%, #edf3ec 100%);
        }

        .stb-customer-auth-page {
            width: 100%;
            max-width: none;
            padding: 0;
        }

        .stb-auth-layout,
        .stb-auth-layout--recovery {
            position: relative;
            display: grid;
            grid-template-columns: minmax(360px, 43%) minmax(0, 57%);
            width: 100%;
            min-height: clamp(620px, 76vh, 790px);
            margin: 0;
            overflow: hidden;
            border: 0;
            border-radius: 0;
            background: #fff;
            box-shadow: none;
            font-family: inherit;
        }

        .stb-auth-layout::after {
            position: absolute;
            inset: 0;
            z-index: 2;
            pointer-events: none;
            content: "";
            background: linear-gradient(90deg, transparent 0 42%, rgba(255,255,255,.22) 50%, transparent 58%);
            opacity: .22;
        }

        .stb-auth-showcase {
            display: flex;
            flex-direction: column;
            min-height: 100%;
            padding: clamp(42px, 7vw, 100px) clamp(28px, 7vw, 100px);
            background:
                radial-gradient(circle at 74% 24%, rgba(183,223,143,.22), transparent 22%),
                linear-gradient(150deg, #173f12 0%, #2f641f 48%, #538e36 100%);
            clip-path: polygon(0 0, 100% 0, 91% 100%, 0 100%);
        }

        .stb-auth-showcase::before { width: 520px; height: 520px; right: -220px; top: -170px; border-color: rgba(255,255,255,.18); }
        .stb-auth-showcase::after { width: 340px; height: 340px; left: -190px; bottom: -190px; border-color: rgba(255,255,255,.16); }

        .stb-auth-kicker {
            min-height: 32px;
            padding: 7px 12px;
            border-color: rgba(255,255,255,.32);
            background: rgba(255,255,255,.09);
            letter-spacing: .1em;
        }

        .stb-auth-orb {
            top: 25%;
            right: 10%;
            width: 210px;
            height: 210px;
            border-color: rgba(255,255,255,.26);
            background: rgba(255,255,255,.07);
            box-shadow: 0 0 0 34px rgba(255,255,255,.035), 0 0 0 68px rgba(255,255,255,.02);
        }

        .stb-auth-showcase h1 {
            max-width: 510px;
            margin: clamp(150px, 19vh, 220px) 0 20px;
            font-size: clamp(42px, 5.1vw, 76px);
            letter-spacing: -.06em;
            line-height: .94;
        }

        .stb-auth-showcase > p { max-width: 430px; font-size: 15px; line-height: 1.75; }

        .stb-auth-benefits {
            position: relative;
            right: auto;
            bottom: auto;
            left: auto;
            gap: 12px;
            margin-top: auto;
            padding-top: 34px;
        }

        .stb-auth-benefit { font-size: 13px; }

        .stb-auth-form-card {
            position: relative;
            z-index: 3;
            display: flex;
            flex-direction: column;
            justify-content: center;
            min-width: 0;
            max-width: 760px;
            padding: clamp(42px, 8vw, 120px) clamp(36px, 8vw, 130px);
            background: #fff;
        }

        .stb-auth-form-head { margin-bottom: 32px; }
        .stb-auth-form-eyebrow { letter-spacing: .16em; }
        .stb-auth-form-head h1 { font-size: clamp(36px, 4.2vw, 62px); letter-spacing: -.06em; line-height: .98; }
        .stb-auth-form-head p { max-width: 560px; font-size: 15px; }
        .stb-auth-form { gap: 0 18px; }
        .stb-auth-field { margin-bottom: 22px; }
        .stb-auth-label { margin-bottom: 9px; font-size: 13px; }
        .stb-auth-input { min-height: 56px; border-radius: 9px; background: #fbfdfb; padding: 14px 16px; }
        .stb-auth-input:focus { box-shadow: 0 0 0 4px rgba(47,100,31,.09); }
        .stb-auth-submit { min-height: 56px; border-radius: 9px; font-size: 14px; box-shadow: 0 14px 25px rgba(47,100,31,.19); }
        .stb-auth-form-note { margin-top: 22px; font-size: 13px; }

        .stb-auth-layout--recovery {
            grid-template-columns: minmax(300px, 36%) minmax(0, 64%);
            min-height: clamp(520px, 68vh, 680px);
        }

        .stb-auth-layout--recovery .stb-auth-showcase { min-height: 100%; }
        .stb-auth-layout--recovery .stb-auth-showcase h1 { margin-top: clamp(120px, 16vh, 175px); font-size: clamp(36px, 4.4vw, 62px); }
        .stb-auth-layout--recovery .stb-auth-form-card { align-self: stretch; }

        @media (max-width: 820px) {
            .stb-auth-layout,
            .stb-auth-layout--recovery {
                grid-template-columns: 1fr;
                min-height: 0;
            }

            .stb-auth-layout::after { display: none; }
            .stb-auth-showcase,
            .stb-auth-layout--recovery .stb-auth-showcase {
                min-height: 430px;
                padding: 38px 34px;
                clip-path: none;
            }

            .stb-auth-showcase h1,
            .stb-auth-layout--recovery .stb-auth-showcase h1 {
                max-width: 68%;
                margin-top: 105px;
                font-size: clamp(38px, 8vw, 58px);
            }

            .stb-auth-showcase > p { max-width: 58%; }
            .stb-auth-form-card { max-width: none; padding: 48px clamp(28px, 8vw, 80px) 58px; }
            .stb-auth-form-head h1 { font-size: clamp(34px, 7vw, 48px); }
        }

        @media (max-width: 560px) {
            .stb-customer-auth-page { padding: 0; }
            .stb-auth-showcase,
            .stb-auth-layout--recovery .stb-auth-showcase { min-height: 390px; padding: 28px 22px; }
            .stb-auth-orb { top: 86px; right: 30px; width: 112px; height: 112px; box-shadow: 0 0 0 18px rgba(255,255,255,.035), 0 0 0 36px rgba(255,255,255,.02); }
            .stb-auth-orb svg { width: 46px; height: 46px; }
            .stb-auth-showcase h1,
            .stb-auth-layout--recovery .stb-auth-showcase h1 { max-width: 76%; margin-top: 86px; font-size: 38px; }
            .stb-auth-showcase > p { max-width: 78%; font-size: 13px; line-height: 1.6; }
            .stb-auth-benefits { position: static; margin-top: 24px; }
            .stb-auth-form-card { padding: 38px 22px 48px; }
            .stb-auth-form-head { margin-bottom: 26px; }
            .stb-auth-form-head h1 { font-size: 35px; }
            .stb-auth-form--register { grid-template-columns: 1fr; }
            .stb-auth-form .stb-auth-field--full { grid-column: auto; }
            .stb-auth-form--single .stb-auth-submit { width: 100%; }
        }

        @media (max-width: 700px) {
            .stb-account-top { align-items: flex-start; flex-direction: column; }
            .stb-account-grid, .stb-account-panel-grid, .stb-account-form-grid { grid-template-columns: 1fr; }
            .stb-account-form-full { grid-column: auto; }
            .stb-account-card { padding: 20px; border-radius: 15px; }
            .stb-account-address-head { align-items: flex-start; flex-direction: column; }
            .stb-dashboard-heading { align-items: flex-start; flex-direction: column; }
            .stb-dashboard-heading .stb-account-secondary { width: 100%; }
            .stb-dashboard-hero { grid-template-columns: 1fr; min-height: auto; }
            .stb-dashboard-hero-art { display: none; }
            .stb-dashboard-stat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
            .stb-dashboard-stat { padding: 13px; }
            .stb-dashboard-stat-icon { width: 32px; height: 32px; flex-basis: 32px; }
            .stb-dashboard-stat strong { font-size: 14px; }
            .stb-dashboard-panel { padding: 18px; }
        }

        @media (max-width: 420px) {
            .stb-account-user-chip span:last-child { display: none; }
            .stb-dashboard-stat-grid { grid-template-columns: 1fr; }
            .stb-dashboard-stat { align-items: center; }
            .stb-dashboard-contact-row { display: block; }
            .stb-dashboard-contact-row strong { display: block; max-width: none; margin-top: 4px; text-align: left; }
        }

@media (prefers-reduced-motion: reduce) {
            *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Auth pages: contact-page style hero + overlapping form on tablet/mobile.
   Desktop layout intentionally remains unchanged. */
@media (max-width: 1024px) {
    .stb-customer-auth-page {
        padding: 0 0 40px;
    }

    .stb-auth-layout,
    .stb-auth-layout--recovery {
        display: block;
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .stb-auth-showcase,
    .stb-auth-layout--recovery .stb-auth-showcase {
        position: relative;
        min-height: 350px;
        padding: 34px clamp(28px, 7vw, 74px) 105px;
        border-radius: 0 0 42px 42px;
    }

    .stb-auth-form-card,
    .stb-auth-layout--recovery .stb-auth-form-card {
        position: relative;
        z-index: 3;
        width: min(760px, calc(100% - 40px));
        max-width: none;
        margin: -64px auto 0;
        padding: 38px clamp(28px, 6vw, 64px) 48px;
        border: 1px solid rgba(224, 233, 222, .95);
        border-radius: 26px;
        background: #fff;
        box-shadow: 0 20px 42px rgba(35, 67, 38, .14);
    }

    .stb-auth-form-head h1 { font-size: clamp(34px, 6vw, 52px); }
}

@media (max-width: 560px) {
    .stb-customer-auth-page {
        padding: 0 0 30px;
    }

    .stb-auth-showcase,
    .stb-auth-layout--recovery .stb-auth-showcase {
        min-height: 365px;
        padding: 28px 22px 100px;
        border-radius: 0 0 34px 34px;
    }

    .stb-auth-showcase h1,
    .stb-auth-layout--recovery .stb-auth-showcase h1 {
        max-width: 80%;
        margin-top: 78px;
        font-size: 37px;
        line-height: .98;
    }

    .stb-auth-showcase > p { max-width: 82%; font-size: 13px; line-height: 1.6; }

    .stb-auth-form-card,
    .stb-auth-layout--recovery .stb-auth-form-card {
        width: calc(100% - 24px);
        margin-top: -54px;
        padding: 30px 20px 38px;
        border-radius: 23px;
    }

    .stb-auth-form-head { margin-bottom: 24px; }
    .stb-auth-form-head h1 { font-size: 32px; }
    .stb-auth-form-head p { font-size: 13px; }
.stb-auth-input { min-height: 52px; }
}

/* Live account status indicator */
@keyframes stb-account-active-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 5px rgba(187, 239, 135, .13), 0 0 0 0 rgba(187, 239, 135, 0);
    }
    50% {
        opacity: .72;
        transform: scale(.82);
        box-shadow: 0 0 0 5px rgba(187, 239, 135, .08), 0 0 0 9px rgba(187, 239, 135, .14);
    }
}

.stb-dashboard-v2-status i {
    display: inline-block;
    animation: stb-account-active-pulse 1.8s ease-in-out infinite;
    transform-origin: center;
}

@media (prefers-reduced-motion: reduce) {
    .stb-dashboard-v2-status i { animation: none; }
}

/* Final compact auth hero override for tablet/mobile only. */
@media (max-width: 1024px) {
    .stb-auth-showcase,
    .stb-auth-layout--recovery .stb-auth-showcase {
        min-height: 315px;
        padding-bottom: 72px;
    }

    .stb-auth-benefits {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        margin-top: 14px;
    }

    .stb-auth-benefit { min-width: 0; gap: 5px; font-size: 10px; line-height: 1.2; }
    .stb-auth-benefit span { width: 21px; height: 21px; flex-basis: 21px; font-size: 11px; }
    .stb-auth-form-card,
    .stb-auth-layout--recovery .stb-auth-form-card { margin-top: -50px; }
}

@media (max-width: 560px) {
    .stb-auth-showcase,
    .stb-auth-layout--recovery .stb-auth-showcase { min-height: 315px; padding: 22px 20px 72px; }
    .stb-auth-showcase h1,
    .stb-auth-layout--recovery .stb-auth-showcase h1 { max-width: 78%; margin-top: 42px; font-size: 33px; }
    .stb-auth-showcase > p { max-width: 84%; font-size: 12px; line-height: 1.45; }
    .stb-auth-benefits { gap: 5px; margin-top: 13px; }
    .stb-auth-benefit { align-items: center; flex-direction: column; gap: 3px; text-align: center; font-size: 9px; }
    .stb-auth-benefit span { width: 20px; height: 20px; flex-basis: 20px; }
    .stb-auth-form-card,
    .stb-auth-layout--recovery .stb-auth-form-card { margin-top: -48px; }
}

/* Compact auth hero: keep the first form fields visible above the fold. */
@media (max-width: 1024px) {
    .stb-auth-showcase,
    .stb-auth-layout--recovery .stb-auth-showcase {
        min-height: 315px;
        padding-bottom: 72px;
    }

    .stb-auth-benefits {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        margin-top: 14px;
    }

    .stb-auth-benefit {
        min-width: 0;
        gap: 5px;
        font-size: 10px;
        line-height: 1.2;
    }

    .stb-auth-benefit span {
        width: 21px;
        height: 21px;
        flex-basis: 21px;
        font-size: 11px;
    }

    .stb-auth-form-card,
    .stb-auth-layout--recovery .stb-auth-form-card {
        margin-top: -50px;
    }
}

@media (max-width: 560px) {
    .stb-auth-showcase,
    .stb-auth-layout--recovery .stb-auth-showcase {
        min-height: 315px;
        padding: 22px 20px 72px;
    }

    .stb-auth-showcase h1,
    .stb-auth-layout--recovery .stb-auth-showcase h1 {
        max-width: 78%;
        margin-top: 42px;
        font-size: 33px;
    }

    .stb-auth-showcase > p { max-width: 84%; font-size: 12px; line-height: 1.45; }

    .stb-auth-benefits {
        gap: 5px;
        margin-top: 13px;
    }

    .stb-auth-benefit {
        align-items: center;
        flex-direction: column;
        gap: 3px;
        text-align: center;
        font-size: 9px;
    }

    .stb-auth-benefit span { width: 20px; height: 20px; flex-basis: 20px; }

    .stb-auth-form-card,
    .stb-auth-layout--recovery .stb-auth-form-card {
        margin-top: -48px;
    }
}

        /* Customer dashboard: full-screen app canvas and always-visible logout */
        body.stb-customer-body {
            min-width: 320px;
            background: #f3f7f1;
            overflow-x: hidden;
        }

        .stb-customer-app {
            width: 100%;
            min-height: 100vh;
            padding: 0;
        }

        .stb-customer-shell {
            width: 100%;
            min-height: 100vh;
            margin: 0;
            border: 0;
            border-radius: 0;
            box-shadow: none;
        }

        .stb-account-sidebar {
            min-height: 100vh;
            border-right-color: #e8eee5;
        }

        .stb-account-sidebar-bottom { display: none; }

        .stb-account-topbar {
            min-height: 82px;
            padding: 15px clamp(20px, 4vw, 64px);
            background: rgba(255,255,255,.97);
            backdrop-filter: none;
            -webkit-backdrop-filter: none;
        }

        .stb-account-top-actions { gap: 10px; }

        .stb-account-top-logout button {
            min-height: 38px;
            min-width: 66px;
            padding: 8px 14px;
            border: 1px solid #e5bebe;
            border-radius: 999px;
            background: #fff;
            color: #a23e3e;
            font: inherit;
            font-size: 12px;
            font-weight: 800;
            line-height: 1;
            white-space: nowrap;
            cursor: pointer;
            transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
        }

        .stb-account-top-logout button:hover {
            border-color: #c88787;
            background: #fff6f6;
            transform: translateY(-1px);
        }

        .stb-account-content {
            padding: clamp(30px, 5vw, 66px) clamp(20px, 5vw, 72px) 38px;
        }

        .stb-account-content-inner { width: min(1440px, 100%); }

        .stb-account-footer {
            padding-right: clamp(20px, 5vw, 72px);
            padding-left: clamp(20px, 5vw, 72px);
        }

        .stb-dashboard-heading { margin-bottom: 30px; }
        .stb-dashboard-heading h1 { font-size: clamp(34px, 4vw, 58px); letter-spacing: -.055em; }
        .stb-dashboard-hero { border-radius: 24px; box-shadow: 0 20px 42px rgba(47,100,31,.16); }
        .stb-dashboard-stat { border-radius: 18px; box-shadow: 0 10px 26px rgba(35,67,38,.06); transition: transform .18s ease, box-shadow .18s ease; }
        .stb-dashboard-stat:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(35,67,38,.1); }
        .stb-dashboard-panel { border-radius: 20px; box-shadow: 0 10px 28px rgba(35,67,38,.055); }

        @media (max-width: 900px) {
            .stb-account-main {
                position: relative;
                isolation: isolate;
            }

            .stb-account-sidebar {
                z-index: 300 !important;
                min-height: 100vh;
                background: #fff;
                opacity: 1 !important;
                filter: none !important;
                backdrop-filter: none !important;
                -webkit-backdrop-filter: none !important;
            }

            .stb-account-mobile-overlay {
                display: none !important;
                position: static !important;
                background: transparent !important;
                pointer-events: none !important;
            }

            .stb-account-main::after {
                display: none;
            }

            .stb-account-context small {
                margin: 0;
                white-space: nowrap;
            }

            .stb-account-context-default { display: none !important; }
            .stb-account-context strong.stb-account-context-customer { display: block !important; white-space: nowrap; }
            .stb-account-user-chip { display: none; }
            .stb-account-top-actions { flex: 0 0 auto; margin-left: auto; }
            .stb-account-brand small { display: none !important; }

            .stb-account-topbar {
                min-height: 70px;
                padding: 11px 16px;
            }

            .stb-account-content { padding: 28px 16px calc(94px + env(safe-area-inset-bottom)); }
        }

        @media (max-width: 560px) {
            .stb-account-top-actions { gap: 6px; }
            .stb-account-top-logout button { min-width: 66px; min-height: 36px; padding: 7px 10px; font-size: 11px; }
            .stb-dashboard-heading h1 { font-size: 34px; }
        }

        /* Dashboard v2: premium organic-tech command centre */
        .stb-dashboard-v2 { width: 100%; }
        .stb-dashboard-v2-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
        .stb-dashboard-v2-heading h1 { margin: 8px 0 8px; color: var(--stb-account-ink); font-size: clamp(38px, 5vw, 70px); font-weight: 900; letter-spacing: -.07em; line-height: .96; }
        .stb-dashboard-v2-heading h1 em { color: var(--stb-account-green); font-style: normal; }
        .stb-dashboard-v2-heading p { max-width: 650px; margin: 0; color: var(--stb-account-muted); font-size: 15px; line-height: 1.6; }
        .stb-dashboard-v2-heading .stb-account-secondary { white-space: nowrap; }

        .stb-dashboard-v2-hero { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 280px; margin-bottom: 18px; overflow: hidden; padding: clamp(28px, 5vw, 52px); border-radius: 26px; background: linear-gradient(120deg, #183f13 0%, #2f641f 52%, #5a973a 100%); color: #fff; box-shadow: 0 24px 48px rgba(47,100,31,.18); }
        .stb-dashboard-v2-hero::before { position: absolute; inset: 0; pointer-events: none; content: ""; background: linear-gradient(105deg, transparent 45%, rgba(255,255,255,.07) 46%, transparent 47%); }
        .stb-dashboard-v2-hero-copy { position: relative; z-index: 1; max-width: 620px; }
        .stb-dashboard-v2-kicker { display: inline-flex; margin-bottom: 14px; color: rgba(255,255,255,.68); font-size: 11px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
        .stb-dashboard-v2-hero h2 { margin: 0 0 13px; color: #fff; font-size: clamp(30px, 4vw, 54px); font-weight: 900; letter-spacing: -.055em; line-height: .98; }
        .stb-dashboard-v2-hero h2 em { color: #d9f1bd; font-style: normal; }
        .stb-dashboard-v2-hero p { max-width: 520px; margin: 0; color: rgba(255,255,255,.78); font-size: 14px; line-height: 1.65; }
        .stb-dashboard-v2-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 25px; }
        .stb-dashboard-v2-hero-actions > a { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; padding: 10px 15px; border-radius: 10px; background: #fff; color: var(--stb-account-green); font-size: 12px; font-weight: 900; text-decoration: none; }
        .stb-dashboard-v2-status { display: inline-flex; align-items: center; gap: 7px; color: rgba(255,255,255,.78); font-size: 11px; font-weight: 800; }
        .stb-dashboard-v2-status i { width: 8px; height: 8px; border-radius: 50%; background: #bbef87; box-shadow: 0 0 0 5px rgba(187,239,135,.13); }
        .stb-dashboard-v2-orbit { position: relative; display: grid; width: 210px; height: 210px; flex: 0 0 210px; place-items: center; border: 1px solid rgba(255,255,255,.23); border-radius: 50%; box-shadow: 0 0 0 28px rgba(255,255,255,.045), 0 0 0 56px rgba(255,255,255,.025); }
        .stb-dashboard-v2-orbit::before, .stb-dashboard-v2-orbit::after { position: absolute; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; content: ""; }
        .stb-dashboard-v2-orbit::before { inset: 28px; }.stb-dashboard-v2-orbit::after { inset: 56px; }
        .stb-dashboard-v2-orbit span { position: relative; z-index: 1; color: #d9f1bd; font-size: 36px; }

        .stb-dashboard-v2-insights { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
        .stb-dashboard-v2-insights article { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 17px; border: 1px solid #e0e9de; border-radius: 17px; background: #fff; box-shadow: 0 9px 23px rgba(35,67,38,.045); }
        .stb-dashboard-v2-icon { display: grid; width: 39px; height: 39px; flex: 0 0 39px; place-items: center; border-radius: 12px; background: #e8f3e3; color: var(--stb-account-green); font-size: 21px; font-weight: 900; }
        .stb-dashboard-v2-insights small, .stb-dashboard-v2-insights strong, .stb-dashboard-v2-insights em { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
        .stb-dashboard-v2-insights small { color: #879487; font-size: 10px; font-weight: 800; }.stb-dashboard-v2-insights strong { margin-top: 4px; color: var(--stb-account-ink); font-size: 17px; }.stb-dashboard-v2-insights em { margin-top: 4px; color: #879487; font-size: 10px; font-style: normal; }

        .stb-dashboard-v2-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: 18px; margin-bottom: 18px; }
        .stb-dashboard-v2-panel { min-width: 0; padding: clamp(22px, 3vw, 32px); border: 1px solid #e0e9de; border-radius: 21px; background: #fff; box-shadow: 0 10px 27px rgba(35,67,38,.045); }
        .stb-dashboard-v2-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; }.stb-dashboard-v2-panel-head h2 { margin: 5px 0 0; color: var(--stb-account-ink); font-size: 24px; letter-spacing: -.04em; }
        .stb-dashboard-v2-action-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
        .stb-dashboard-v2-action-grid a { position: relative; min-height: 125px; padding: 18px; border: 1px solid #e2ebe0; border-radius: 15px; color: var(--stb-account-ink); text-decoration: none; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
        .stb-dashboard-v2-action-grid a:hover { border-color: #b8d3ae; box-shadow: 0 10px 22px rgba(47,100,31,.08); transform: translateY(-2px); }.stb-dashboard-v2-action-grid a.is-coming-soon { background: #fafcf9; color: #889589; }
        .stb-dashboard-v2-action-grid a > span { display: grid; width: 30px; height: 30px; margin-bottom: 14px; place-items: center; border-radius: 9px; background: #e8f3e3; color: var(--stb-account-green); font-weight: 900; }.stb-dashboard-v2-action-grid strong, .stb-dashboard-v2-action-grid small { display: block; }.stb-dashboard-v2-action-grid strong { font-size: 13px; }.stb-dashboard-v2-action-grid small { margin-top: 5px; color: #879487; font-size: 10px; line-height: 1.4; }.stb-dashboard-v2-action-grid b { position: absolute; top: 17px; right: 17px; color: var(--stb-account-green); font-size: 16px; }
        .stb-dashboard-v2-health-badge { display: inline-flex; min-height: 28px; align-items: center; padding: 5px 9px; border-radius: 999px; background: #e8f3e3; color: var(--stb-account-green); font-size: 11px; font-weight: 900; }
        .stb-dashboard-v2-progress { height: 9px; margin: 12px 0 17px; overflow: hidden; border-radius: 999px; background: #eaf0e8; }.stb-dashboard-v2-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #2f641f, #7caf4e); }
        .stb-dashboard-v2-health p { margin: 0 0 20px; color: var(--stb-account-muted); font-size: 13px; line-height: 1.6; }.stb-dashboard-v2-text-link { color: var(--stb-account-green); font-size: 12px; font-weight: 900; text-decoration: none; }.stb-dashboard-v2-text-link span { margin-left: 8px; font-size: 17px; }
        .stb-dashboard-v2-next { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; border: 1px solid #dfeadc; border-radius: 19px; background: linear-gradient(105deg, #f0f7ed, #fff); }.stb-dashboard-v2-next > div { display: flex; align-items: center; gap: 14px; }.stb-dashboard-v2-next-icon { display: grid; width: 39px; height: 39px; flex: 0 0 39px; place-items: center; border-radius: 12px; background: var(--stb-account-green); color: #fff; font-weight: 900; }.stb-dashboard-v2-next h2 { margin: 5px 0 5px; color: var(--stb-account-ink); font-size: 20px; letter-spacing: -.03em; }.stb-dashboard-v2-next p { max-width: 720px; margin: 0; color: var(--stb-account-muted); font-size: 12px; line-height: 1.5; }.stb-dashboard-v2-next > a { flex: 0 0 auto; color: var(--stb-account-green); font-size: 12px; font-weight: 900; text-decoration: none; white-space: nowrap; }

        @media (max-width: 900px) {
            .stb-dashboard-v2-heading { align-items: flex-start; flex-direction: column; }.stb-dashboard-v2-heading .stb-account-secondary { width: 100%; }.stb-dashboard-v2-insights { grid-template-columns: repeat(2, minmax(0, 1fr)); }.stb-dashboard-v2-grid { grid-template-columns: 1fr; }.stb-dashboard-v2-orbit { width: 155px; height: 155px; flex-basis: 155px; }
        }
        @media (max-width: 560px) {
            .stb-dashboard-v2-heading h1 { font-size: 38px; }.stb-dashboard-v2-heading p { font-size: 13px; }.stb-dashboard-v2-hero { min-height: 0; padding: 25px 21px; border-radius: 21px; }.stb-dashboard-v2-hero h2 { font-size: 34px; }.stb-dashboard-v2-hero p { font-size: 13px; }.stb-dashboard-v2-orbit { display: none; }.stb-dashboard-v2-insights { gap: 9px; }.stb-dashboard-v2-insights article { padding: 12px; gap: 8px; border-radius: 14px; }.stb-dashboard-v2-icon { width: 31px; height: 31px; flex-basis: 31px; font-size: 17px; }.stb-dashboard-v2-insights strong { font-size: 14px; }.stb-dashboard-v2-action-grid { grid-template-columns: 1fr; }.stb-dashboard-v2-action-grid a { min-height: 102px; }.stb-dashboard-v2-next { align-items: flex-start; flex-direction: column; padding: 18px; }.stb-dashboard-v2-next > a { margin-left: 53px; }.stb-dashboard-v2-next h2 { font-size: 18px; }
        }

        /* The drawer has no backdrop element; keep every sidebar pixel fully opaque. */
        @media (max-width: 900px) {
            .stb-account-sidebar,
            .stb-account-sidebar * {
                opacity: 1 !important;
                filter: none !important;
                backdrop-filter: none !important;
                -webkit-backdrop-filter: none !important;
            }

            .stb-account-topbar,
            .stb-account-mobile-nav {
                backdrop-filter: none !important;
                -webkit-backdrop-filter: none !important;
            }
        }

/* Final auth responsive override: contact-page composition on tablet/mobile.
   Kept at the end so existing desktop/auth rules cannot override it. */
@media (max-width: 1024px) {
    .stb-customer-auth-page { padding: 0 0 40px; }

    .stb-auth-layout,
    .stb-auth-layout--recovery {
        display: block;
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .stb-auth-showcase,
    .stb-auth-layout--recovery .stb-auth-showcase {
        position: relative;
        min-height: 315px;
        padding: 28px clamp(28px, 7vw, 74px) 72px;
        border-radius: 0 0 42px 42px;
    }

    .stb-auth-form-card,
    .stb-auth-layout--recovery .stb-auth-form-card {
        position: relative;
        z-index: 3;
        width: min(760px, calc(100% - 40px));
        max-width: none;
        margin: -64px auto 0;
        padding: 38px clamp(28px, 6vw, 64px) 48px;
        border: 1px solid rgba(224, 233, 222, .95);
        border-radius: 26px;
        background: #fff;
        box-shadow: 0 20px 42px rgba(35, 67, 38, .14);
    }

    .stb-auth-form-head h1 { font-size: clamp(34px, 6vw, 52px); }

    .stb-auth-benefits {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        margin-top: 14px;
    }

    .stb-auth-benefit { min-width: 0; gap: 5px; font-size: 10px; line-height: 1.2; }
    .stb-auth-benefit span { width: 21px; height: 21px; flex-basis: 21px; font-size: 11px; }
    .stb-auth-form-card,
    .stb-auth-layout--recovery .stb-auth-form-card { margin-top: -50px; }
}

@media (max-width: 560px) {
    .stb-customer-auth-page { padding: 0 0 30px; }

    .stb-auth-showcase,
    .stb-auth-layout--recovery .stb-auth-showcase {
        min-height: 315px;
        padding: 22px 20px 72px;
        border-radius: 0 0 34px 34px;
    }

    .stb-auth-showcase h1,
    .stb-auth-layout--recovery .stb-auth-showcase h1 {
        max-width: 78%;
        margin-top: 42px;
        font-size: 33px;
        line-height: .98;
    }

    .stb-auth-showcase > p { max-width: 84%; font-size: 12px; line-height: 1.45; }

    .stb-auth-benefits { gap: 5px; margin-top: 13px; }
    .stb-auth-benefit { align-items: center; flex-direction: column; gap: 3px; text-align: center; font-size: 9px; }
    .stb-auth-benefit span { width: 20px; height: 20px; flex-basis: 20px; }

    .stb-auth-form-card,
    .stb-auth-layout--recovery .stb-auth-form-card {
        width: calc(100% - 24px);
        margin-top: -48px;
        padding: 30px 20px 38px;
        border-radius: 23px;
    }

    .stb-auth-form-head { margin-bottom: 24px; }
    .stb-auth-form-head h1 { font-size: 32px; }
    .stb-auth-form-head p { font-size: 13px; }
    .stb-auth-input { min-height: 52px; }
}

/* --------------------------------------------------------------------------
   Soil To Bowl customer dashboard UI refinement
   Presentation-only layer: existing routes, data and customer actions remain
   unchanged. These rules intentionally stay scoped to the customer shell and
   dashboard v2 classes so the guest auth pages keep their existing styling.
   -------------------------------------------------------------------------- */

body.stb-customer-body {
    background: #f4f7f2;
    color: var(--stb-account-ink);
}

body.stb-customer-body .stb-customer-shell {
    grid-template-columns: 270px minmax(0, 1fr);
    background: #f8fbf7;
    border-color: #dfe9dc;
}

body.stb-customer-body .stb-account-sidebar {
    padding: 28px 16px 22px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdf9 100%);
    border-right-color: #e4ece1;
}

body.stb-customer-body .stb-account-brand {
    gap: 11px;
    padding: 0 12px 30px;
}

body.stb-customer-body .stb-account-brand img {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
}

body.stb-customer-body .stb-account-brand strong {
    font-size: 17px;
    letter-spacing: -.02em;
}

body.stb-customer-body .stb-account-brand small {
    margin-top: 5px;
    font-size: 11px;
}

body.stb-customer-body .stb-account-nav-label {
    padding: 0 12px 11px;
    color: #8c9a8d;
    font-size: 10px;
}

body.stb-customer-body .stb-account-nav {
    gap: 6px;
}

body.stb-customer-body .stb-account-nav-link,
body.stb-customer-body .stb-account-nav-disabled {
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: 13px;
    font-size: 13px;
}

body.stb-customer-body .stb-account-nav-link:hover {
    background: #f0f7ed;
    transform: translateX(0);
}

body.stb-customer-body .stb-account-nav-link.is-active {
    background: linear-gradient(135deg, #2f641f, #397827);
    box-shadow: 0 10px 22px rgba(47, 100, 31, .18);
}

body.stb-customer-body .stb-account-nav-link:focus-visible,
body.stb-customer-body .stb-account-mobile-link:focus-visible,
body.stb-customer-body .stb-account-menu-toggle:focus-visible,
body.stb-customer-body .stb-account-sidebar-close:focus-visible,
body.stb-customer-body .stb-account-top-logout button:focus-visible {
    outline: 3px solid rgba(47, 100, 31, .25);
    outline-offset: 2px;
}

body.stb-customer-body .stb-account-nav-icon {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
    border-radius: 9px;
}

body.stb-customer-body .stb-account-nav-icon svg {
    width: 18px;
    height: 18px;
}

body.stb-customer-body .stb-account-topbar {
    min-height: 84px;
    padding: 15px clamp(22px, 4vw, 64px);
    background: rgba(255, 255, 255, .96);
    border-bottom-color: #e4ece1;
}

body.stb-customer-body .stb-account-context {
    min-width: 0;
}

body.stb-customer-body .stb-account-context strong {
    letter-spacing: -.02em;
}

body.stb-customer-body .stb-account-top-actions {
    min-width: 0;
    flex-wrap: nowrap;
}

body.stb-customer-body .stb-account-store-link {
    white-space: nowrap;
}

body.stb-customer-body .stb-account-user-chip {
    min-width: 0;
    min-height: 42px;
    padding-right: 12px;
}

body.stb-customer-body .stb-account-user-chip span:last-child {
    max-width: 160px;
}

body.stb-customer-body .stb-account-top-logout {
    flex: 0 0 auto;
}

body.stb-customer-body .stb-account-top-logout button {
    min-height: 42px;
    padding: 9px 16px;
}

body.stb-customer-body .stb-account-content {
    padding: clamp(32px, 5vw, 70px) clamp(22px, 5vw, 72px) 42px;
}

body.stb-customer-body .stb-account-content-inner {
    width: min(1480px, 100%);
}

.stb-dashboard-v2 {
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
}

.stb-dashboard-v2-heading {
    align-items: flex-end;
    gap: 28px;
    margin-bottom: 32px;
}

.stb-dashboard-v2-heading h1 {
    max-width: 980px;
    margin: 9px 0 10px;
    font-size: clamp(42px, 5vw, 76px);
    letter-spacing: -.075em;
    line-height: .94;
}

.stb-dashboard-v2-heading p {
    max-width: 720px;
    font-size: 15px;
}

.stb-dashboard-v2-heading .stb-account-secondary {
    min-height: 50px;
    padding: 12px 19px;
    border-radius: 14px;
    white-space: nowrap;
}

.stb-dashboard-v2-hero {
    min-height: 316px;
    margin-bottom: 20px;
    padding: clamp(32px, 4.5vw, 56px);
    border-radius: 30px;
    background:
        radial-gradient(circle at 84% 52%, rgba(164, 218, 111, .16), transparent 26%),
        linear-gradient(118deg, #153c12 0%, #28621f 52%, #5b963b 100%);
    box-shadow: 0 25px 55px rgba(47, 100, 31, .18);
}

.stb-dashboard-v2-hero::after {
    position: absolute;
    top: -45%;
    right: 39%;
    width: 130px;
    height: 190%;
    content: "";
    transform: rotate(17deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .08), transparent);
    pointer-events: none;
}

.stb-dashboard-v2-hero-copy {
    max-width: 700px;
}

.stb-dashboard-v2-hero h2 {
    font-size: clamp(34px, 4.2vw, 60px);
}

.stb-dashboard-v2-hero-actions > a {
    min-height: 48px;
    padding: 12px 18px;
    border-radius: 13px;
    transition: transform .18s ease, box-shadow .18s ease;
}

.stb-dashboard-v2-hero-actions > a:hover {
    box-shadow: 0 10px 22px rgba(0, 0, 0, .13);
    transform: translateY(-2px);
}

.stb-dashboard-v2-orbit {
    width: 230px;
    height: 230px;
    flex-basis: 230px;
    border-color: rgba(255, 255, 255, .25);
}

.stb-dashboard-v2-orbit span {
    font-size: 40px;
}

.stb-dashboard-v2-insights {
    gap: 14px;
    margin-bottom: 20px;
}

.stb-dashboard-v2-insights article {
    min-height: 88px;
    padding: 18px;
    border-color: #dfe9dc;
    border-radius: 18px;
    box-shadow: 0 10px 26px rgba(35, 67, 38, .05);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.stb-dashboard-v2-insights article:hover {
    border-color: #c3d8bc;
    box-shadow: 0 15px 30px rgba(35, 67, 38, .08);
    transform: translateY(-2px);
}

.stb-dashboard-v2-icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    border-radius: 13px;
}

.stb-dashboard-v2-icon svg,
.stb-dashboard-v2-action-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.stb-dashboard-v2-insights small {
    letter-spacing: .01em;
}

.stb-dashboard-v2-insights strong {
    font-size: 18px;
    letter-spacing: -.02em;
}

.stb-dashboard-v2-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(310px, .75fr);
    grid-template-rows: auto auto;
    align-items: stretch;
    gap: 18px;
    margin-bottom: 20px;
}

.stb-dashboard-v2-panel {
    padding: clamp(24px, 3vw, 34px);
    border-color: #dfe9dc;
    border-radius: 23px;
    box-shadow: 0 12px 30px rgba(35, 67, 38, .05);
}

.stb-dashboard-v2-actions {
    grid-column: 1;
    grid-row: 1 / span 2;
}

.stb-dashboard-v2-health {
    grid-column: 2;
    grid-row: 1;
}

.stb-dashboard-v2-updates {
    grid-column: 2;
    grid-row: 2;
}

.stb-dashboard-v2-panel-head {
    margin-bottom: 24px;
}

.stb-dashboard-v2-panel-head h2 {
    font-size: clamp(22px, 2.2vw, 28px);
    line-height: 1.05;
}

.stb-dashboard-v2-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.stb-dashboard-v2-action-grid > .stb-dashboard-v2-action-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 140px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 19px;
    border: 1px solid #e0eade;
    border-radius: 17px;
    background: #fff;
    color: var(--stb-account-ink);
    text-decoration: none;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background-color .18s ease;
}

.stb-dashboard-v2-action-grid > .stb-dashboard-v2-action-card:hover {
    border-color: #b8d3ae;
    background: #fcfffb;
    box-shadow: 0 12px 24px rgba(47, 100, 31, .09);
    transform: translateY(-2px);
}

.stb-dashboard-v2-action-grid > .stb-dashboard-v2-action-card.is-coming-soon,
.stb-dashboard-v2-action-grid > .stb-dashboard-v2-action-card.is-coming-soon:hover {
    background: #f8fbf7;
    color: #849285;
    box-shadow: none;
    transform: none;
}

.stb-dashboard-v2-action-grid > .stb-dashboard-v2-action-card:last-child {
    grid-column: 1 / -1;
}

.stb-dashboard-v2-action-icon {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    margin-bottom: 20px;
    border-radius: 12px;
    background: #e8f3e3;
    color: var(--stb-account-green);
}

.stb-dashboard-v2-action-card strong {
    font-size: 14px;
    line-height: 1.25;
}

.stb-dashboard-v2-action-card small {
    max-width: calc(100% - 4px);
    margin-top: 6px;
    color: #879487;
    font-size: 11px;
    line-height: 1.45;
}

.stb-dashboard-v2-action-card b {
    top: 18px;
    right: 18px;
    font-size: 18px;
    font-weight: 800;
}

.stb-dashboard-v2-progress {
    height: 10px;
    margin: 15px 0 19px;
}

.stb-dashboard-v2-health p {
    margin-bottom: 24px;
}

.stb-dashboard-v2-muted-label {
    color: #879487;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.stb-dashboard-updates-list {
    margin-top: 0;
    border-top-color: #edf2eb;
}

.stb-dashboard-update {
    min-width: 0;
    padding: 13px 10px;
    border-bottom: 0;
    border-radius: 12px;
    transition: background-color .18s ease;
}

.stb-dashboard-update:hover {
    background: #f6faf4;
}

.stb-dashboard-update-title,
.stb-dashboard-update-preview,
.stb-dashboard-update-meta {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.stb-dashboard-update-arrow {
    transition: transform .18s ease;
}

.stb-dashboard-update:hover .stb-dashboard-update-arrow {
    transform: translateX(3px);
}

.stb-dashboard-v2-subscription-panel {
    margin-bottom: 20px;
}

.stb-dashboard-subscription-row {
    margin: 0 -10px;
    padding: 16px 10px;
    border-radius: 12px;
    transition: background-color .18s ease;
}

.stb-dashboard-subscription-row:hover {
    background: #f6faf4;
}

.stb-dashboard-v2-next {
    min-height: 92px;
    padding: 24px 28px;
    border-color: #d8e7d3;
    border-radius: 22px;
}

.stb-dashboard-v2-next > a {
    padding: 10px 0;
}

.stb-account-mobile-overlay {
    display: none;
}

@media (max-width: 1180px) {
    body.stb-customer-body .stb-customer-shell {
        grid-template-columns: 250px minmax(0, 1fr);
    }

    .stb-dashboard-v2-insights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    body.stb-customer-body .stb-customer-shell {
        display: block;
        min-height: 100vh;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    body.stb-customer-body .stb-account-sidebar {
        position: fixed;
        inset: 0 auto 0 0;
        z-index: 310 !important;
        width: min(310px, calc(100vw - 34px));
        min-height: 100vh;
        padding: 24px 16px 22px;
        visibility: hidden;
        transform: translateX(-105%);
        box-shadow: 18px 0 42px rgba(23, 48, 25, .2);
        transition: transform .24s ease, visibility 0s linear .24s;
    }

    body.stb-customer-body .stb-account-sidebar.is-open {
        visibility: visible;
        transform: translateX(0);
        transition-delay: 0s;
    }

    body.stb-customer-body .stb-account-mobile-overlay {
        display: block !important;
        position: fixed !important;
        inset: 0 !important;
        z-index: 260 !important;
        background: rgba(17, 35, 20, .42) !important;
        opacity: 0;
        pointer-events: none;
        transition: opacity .24s ease;
    }

    body.stb-customer-body .stb-account-mobile-overlay.is-visible {
        opacity: 1;
        pointer-events: auto;
    }

    body.stb-customer-body .stb-account-menu-toggle {
        display: inline-flex;
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
        border-radius: 13px;
    }

    body.stb-customer-body .stb-account-sidebar-close {
        display: inline-flex;
        top: 22px;
        right: 14px;
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    body.stb-customer-body .stb-account-topbar {
        min-height: 72px;
        padding: 11px 16px;
    }

    body.stb-customer-body .stb-account-context {
        margin-right: auto;
    }

    body.stb-customer-body .stb-account-context-default {
        display: none !important;
    }

    body.stb-customer-body .stb-account-context strong.stb-account-context-customer {
        display: block !important;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.stb-customer-body .stb-account-user-chip {
        display: none;
    }

    body.stb-customer-body .stb-account-store-link {
        display: inline-flex;
        align-items: center;
        font-size: 12px;
    }

    body.stb-customer-body .stb-account-content {
        padding: 30px 16px calc(96px + env(safe-area-inset-bottom));
    }

    body.stb-customer-body .stb-account-footer {
        padding-bottom: 98px;
    }

    body.stb-customer-body .stb-account-mobile-nav {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 280;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 5px;
        padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
        border-top: 1px solid #dfe9dc;
        background: rgba(255, 255, 255, .98);
        box-shadow: 0 -10px 28px rgba(35, 61, 37, .1);
        backdrop-filter: none;
    }

    body.stb-customer-body .stb-account-mobile-link {
        min-height: 52px;
        border: 0;
        border-radius: 13px;
        background: transparent;
        color: #7c887d;
        font: inherit;
        font-size: 10px;
        font-weight: 800;
        cursor: pointer;
    }

    body.stb-customer-body .stb-account-mobile-link.is-active {
        color: var(--stb-account-green);
        background: #eef7eb;
    }

    .stb-dashboard-v2-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .stb-dashboard-v2-actions,
    .stb-dashboard-v2-health,
    .stb-dashboard-v2-updates {
        grid-column: auto;
        grid-row: auto;
    }

    .stb-dashboard-v2-orbit {
        width: 170px;
        height: 170px;
        flex-basis: 170px;
    }
}

@media (max-width: 700px) {
    .stb-dashboard-v2-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
        margin-bottom: 24px;
    }

    .stb-dashboard-v2-heading .stb-account-secondary {
        width: 100%;
    }

    .stb-dashboard-v2-hero {
        align-items: flex-start;
        min-height: 0;
        padding: 29px 23px;
    }

    .stb-dashboard-v2-hero-copy {
        max-width: 100%;
    }

    .stb-dashboard-v2-orbit {
        position: absolute;
        right: -48px;
        bottom: -48px;
        width: 150px;
        height: 150px;
        opacity: .62;
    }

    .stb-dashboard-v2-action-grid {
        grid-template-columns: 1fr;
    }

    .stb-dashboard-v2-action-grid > .stb-dashboard-v2-action-card:last-child {
        grid-column: auto;
    }
}

@media (max-width: 560px) {
    body.stb-customer-body .stb-account-top-actions {
        gap: 6px;
    }

    body.stb-customer-body .stb-account-store-link {
        min-width: 36px;
        justify-content: center;
        font-size: 0;
    }

    body.stb-customer-body .stb-account-store-link::before {
        content: "Store";
        font-size: 11px;
        font-weight: 900;
    }

    body.stb-customer-body .stb-account-top-logout button {
        min-width: 64px;
        min-height: 38px;
        padding: 8px 10px;
        font-size: 11px;
    }

    .stb-dashboard-v2-heading h1 {
        font-size: 39px;
        line-height: .97;
    }

    .stb-dashboard-v2-heading p {
        font-size: 13px;
    }

    .stb-dashboard-v2-hero {
        padding: 26px 20px;
        border-radius: 22px;
    }

    .stb-dashboard-v2-hero h2 {
        max-width: 285px;
        font-size: 34px;
    }

    .stb-dashboard-v2-hero p {
        max-width: 290px;
        font-size: 13px;
    }

    .stb-dashboard-v2-orbit {
        right: -60px;
        bottom: -62px;
        width: 145px;
        height: 145px;
    }

    .stb-dashboard-v2-insights {
        gap: 9px;
    }

    .stb-dashboard-v2-insights article {
        min-height: 78px;
        gap: 8px;
        padding: 12px;
        border-radius: 15px;
    }

    .stb-dashboard-v2-icon {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
        border-radius: 10px;
    }

    .stb-dashboard-v2-icon svg {
        width: 16px;
        height: 16px;
    }

    .stb-dashboard-v2-insights small,
    .stb-dashboard-v2-insights em {
        font-size: 9px;
    }

    .stb-dashboard-v2-insights strong {
        font-size: 14px;
        white-space: normal;
    }

    .stb-dashboard-v2-panel {
        padding: 21px 17px;
        border-radius: 19px;
    }

    .stb-dashboard-v2-panel-head {
        gap: 11px;
        margin-bottom: 19px;
    }

    .stb-dashboard-v2-panel-head h2 {
        font-size: 22px;
    }

    .stb-dashboard-v2-action-grid > .stb-dashboard-v2-action-card {
        min-height: 120px;
        padding: 16px;
        border-radius: 15px;
    }

    .stb-dashboard-v2-action-icon {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
        margin-bottom: 15px;
        border-radius: 10px;
    }

    .stb-dashboard-v2-action-icon svg {
        width: 18px;
        height: 18px;
    }

    .stb-dashboard-update {
        padding-right: 5px;
        padding-left: 5px;
    }

    .stb-dashboard-subscription-row {
        margin-right: -5px;
        margin-left: -5px;
        padding-right: 5px;
        padding-left: 5px;
    }

    .stb-dashboard-v2-next {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
        padding: 19px;
        border-radius: 19px;
    }

    .stb-dashboard-v2-next > div {
        align-items: flex-start;
    }

    .stb-dashboard-v2-next > a {
        margin-left: 53px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.stb-customer-body *,
    body.stb-customer-body *::before,
    body.stb-customer-body *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}

/* Main dashboard message preview: compact WhatsApp-style inbox cards. */
.stb-dashboard-v2-updates.stb-dashboard-wa-panel {
    overflow: hidden;
    padding: 0;
    border-color: #d7e5d5;
    background: #e9f0e6;
    box-shadow: 0 14px 32px rgba(35, 78, 34, .08);
}

.stb-dashboard-wa-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 23px 23px 19px;
    border-bottom: 1px solid #d8e5d6;
    background: linear-gradient(180deg, #fbfefb 0%, #f3f8f1 100%);
}

.stb-dashboard-wa-heading {
    min-width: 0;
}

.stb-dashboard-wa-heading h2 {
    margin: 6px 0 0;
    overflow-wrap: anywhere;
    color: #19391f;
    font-size: clamp(21px, 2.4vw, 28px);
    letter-spacing: -.045em;
    line-height: 1.05;
}

.stb-dashboard-wa-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 30px;
    flex: 0 0 auto;
    padding: 6px 10px;
    border: 1px solid #cfe2ca;
    border-radius: 999px;
    background: #f5faf2;
    color: #2f641f;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.stb-dashboard-wa-status-icon {
    display: grid;
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    place-items: center;
    border-radius: 50%;
    background: #dfeeda;
    color: #2f641f;
    font-size: 11px;
    line-height: 1;
}

.stb-dashboard-wa-status.is-unread {
    border-color: #f0dfbb;
    background: #fff9ed;
    color: #94621c;
}

.stb-dashboard-wa-status.is-unread .stb-dashboard-wa-status-icon {
    width: 8px;
    height: 8px;
    flex-basis: 8px;
    background: #d38a32;
    box-shadow: 0 0 0 4px #fff0d6;
}

.stb-dashboard-wa-inbox {
    padding: 17px 18px 18px;
    background-color: #e9f0e6;
    background-image:
        radial-gradient(circle at 13px 17px, rgba(89, 129, 82, .08) 0 1px, transparent 1.5px),
        radial-gradient(circle at 43px 47px, rgba(89, 129, 82, .06) 0 1px, transparent 1.5px),
        linear-gradient(135deg, rgba(255, 255, 255, .2), rgba(218, 233, 214, .18));
    background-size: 58px 58px, 68px 68px, auto;
}

.stb-dashboard-wa-inbox-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0 2px 11px;
}

.stb-dashboard-wa-inbox-head strong {
    color: #2b482f;
    font-size: 12px;
    font-weight: 900;
}

.stb-dashboard-wa-inbox-head span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 5px 8px;
    border: 1px solid #cfe2ca;
    border-radius: 999px;
    background: rgba(255, 255, 255, .7);
    color: #2f641f;
    font-size: 9px;
    font-weight: 900;
    white-space: nowrap;
}

.stb-dashboard-wa-thread-list {
    display: grid;
    gap: 9px;
}

.stb-dashboard-wa-thread {
    display: block;
    overflow: hidden;
    min-width: 0;
    border: 1px solid #d3e3d0;
    border-radius: 16px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 7px 15px rgba(35, 78, 34, .07);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.stb-dashboard-wa-thread:hover {
    border-color: #a9caa2;
    box-shadow: 0 11px 22px rgba(35, 78, 34, .12);
    transform: translateY(-1px);
}

.stb-dashboard-wa-thread.is-unread {
    border-color: #b9d7b3;
}

.stb-dashboard-wa-thread-strip {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
    padding: 10px 11px 9px;
    border-bottom: 1px solid #dce9da;
    background: linear-gradient(105deg, #eaf5e7, #f6fbf4);
}

.stb-dashboard-wa-thread-meta {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    color: #7d9180;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .06em;
    line-height: 1.35;
    text-transform: uppercase;
}

.stb-dashboard-wa-thread-meta > span:not(.stb-dashboard-wa-dot),
.stb-dashboard-wa-thread-meta time {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.stb-dashboard-wa-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: #b8cbb6;
}

.stb-dashboard-wa-thread.is-unread .stb-dashboard-wa-dot {
    background: #3f9132;
    box-shadow: 0 0 0 4px rgba(110, 174, 87, .18);
}

.stb-dashboard-wa-thread-state {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
}

.stb-dashboard-wa-thread-status {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 4px 7px;
    border: 1px solid #d5e8d1;
    border-radius: 999px;
    background: #f2faef;
    color: #2f641f;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .04em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.stb-dashboard-wa-thread-status.is-pending {
    border-color: #f0dfbb;
    background: #fff5df;
    color: #986719;
}

.stb-dashboard-wa-thread-status.is-resolved {
    border-color: #e0e5e1;
    background: #f0f2f0;
    color: #6d7870;
}

.stb-dashboard-wa-thread-arrow {
    color: #2f701f;
    font-size: 16px;
    line-height: 1;
    transition: transform .18s ease;
}

.stb-dashboard-wa-thread:hover .stb-dashboard-wa-thread-arrow {
    transform: translateX(3px);
}

.stb-dashboard-wa-thread-body {
    display: grid;
    gap: 4px;
    min-width: 0;
    padding: 11px 12px 12px 25px;
}

.stb-dashboard-wa-thread-body strong {
    overflow: hidden;
    color: #19391f;
    font-size: 13px;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.stb-dashboard-wa-thread-body small {
    display: block;
    overflow: hidden;
    color: #66796b;
    font-size: 11px;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.stb-dashboard-wa-empty {
    margin: 0;
    padding: 17px 13px;
    border: 1px dashed #c7dac3;
    border-radius: 14px;
    background: rgba(255, 255, 255, .72);
    color: #718073;
    font-size: 11px;
    line-height: 1.5;
    text-align: center;
}

.stb-dashboard-wa-open-all {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 13px;
    padding: 10px 2px 0;
    border-top: 1px solid rgba(207, 224, 202, .85);
    color: #2f641f;
    font-size: 11px;
    font-weight: 900;
    text-decoration: none;
}

.stb-dashboard-wa-open-all span {
    font-size: 17px;
    line-height: 1;
    transition: transform .18s ease;
}

.stb-dashboard-wa-open-all:hover span {
    transform: translateX(3px);
}

@media (max-width: 900px) {
    .stb-dashboard-wa-header {
        padding: 20px 19px 17px;
    }

    .stb-dashboard-wa-inbox {
        padding: 15px 15px 16px;
    }
}

@media (max-width: 640px) {
    .stb-dashboard-v2-updates.stb-dashboard-wa-panel {
        border-radius: 19px;
    }

    .stb-dashboard-wa-header {
        gap: 10px;
        padding: 18px 16px 16px;
    }

    .stb-dashboard-wa-heading h2 {
        font-size: 21px;
    }

    .stb-dashboard-wa-status {
        min-height: 28px;
        padding: 5px 8px;
        font-size: 9px;
    }

    .stb-dashboard-wa-inbox {
        padding: 14px 11px 15px;
    }

    .stb-dashboard-wa-thread-strip {
        display: grid;
        gap: 8px;
    }

    .stb-dashboard-wa-thread-meta {
        flex-wrap: wrap;
        row-gap: 4px;
    }

    .stb-dashboard-wa-thread-meta > span:not(.stb-dashboard-wa-dot),
    .stb-dashboard-wa-thread-meta time {
        white-space: normal;
    }

    .stb-dashboard-wa-thread-state {
        justify-content: space-between;
        width: 100%;
    }

    .stb-dashboard-wa-thread-body {
        padding-left: 19px;
    }
}

@media (max-width: 390px) {
    .stb-dashboard-wa-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .stb-dashboard-wa-status {
        align-self: flex-start;
    }

    .stb-dashboard-wa-inbox-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }
}

/* 2026-08-18: keep split customer pages isolated. */
body.stb-message-inbox-body .stb-notifications-page,
body.stb-message-inbox-body .stb-notifications-page .stb-notifications-chat-shell,
body.stb-message-inbox-body .stb-notifications-page .stb-notifications-composer,
body.stb-message-inbox-body .stb-notifications-page .stb-notifications-composer * {
    filter: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

body.stb-message-inbox-body .stb-notifications-page .stb-notifications-composer {
    opacity: 1 !important;
    isolation: isolate;
}

body.stb-notification-centre-body .stb-updates-page {
    isolation: isolate;
}

@media (max-width: 760px) {
    body.stb-message-inbox-body .stb-notifications-page .stb-notifications-composer {
        background: #eef4ec !important;
    }
}