:root{--navy-900:#101B33;--navy-800:#1C2D52;--navy-50:#E7ECF7;--accent-500:#2F6BFF;--accent-50:#E7EEFE;--gold-500:#FFD500;--gold-ink:#2a1d00;--red-600:#c01016;--red-50:#ffe3e3;--green-600:#0f7a45;--green-50:#e6f7ee;--teal-600:#0a6b63;--teal-50:#dcf5f1;--amber-50:#fff6d6;--amber-ink:#8a6d00;--ink:#1a1030;--muted:#5c5570;--line:#e3def0;--paper:#fff;--wash:#f6f4fb;--radius-lg:18px;--radius-md:12px;--shadow:0 12px 34px rgba(16,27,51,.12)}
*{box-sizing:border-box}
body{margin:0;background:var(--wash);color:var(--ink);font-family:system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.55}
a{color:var(--navy-900);text-decoration:none}a:not([class]){color:var(--deep-red);font-weight:700}a:not([class]):hover{color:#9e0c24}a:not([class]):focus-visible{outline:2px solid var(--deep-yellow);outline-offset:2px;border-radius:4px}
.small-note{color:var(--muted);font-size:.88rem}
.alert{padding:.8rem 1rem;background:var(--red-50);color:#9b1c1f;border-radius:10px;margin-bottom:1.2rem;display:flex;align-items:center;flex-wrap:wrap;gap:.5rem}
.link-button{background:none;border:0;font:inherit;font-weight:700;padding:0;margin:0;cursor:pointer;color:var(--deep-red);text-decoration:none}
.footer{text-align:center;color:var(--muted);font-size:.82rem;padding:1.5rem;border-top:1px solid var(--line)}
.button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:.72rem 1.1rem;border:0;border-radius:11px;font:inherit;font-weight:750;text-decoration:none;cursor:pointer}
.primary{background:var(--deep-blue);color:#fff}
.secondary{background:#fff;color:var(--ink);border:1px solid var(--line)}
.cta{background:var(--deep-yellow);color:var(--gold-ink)}
.full-width{width:100%}
.eyebrow{font-size:.72rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--deep-red)}
.pill{display:inline-block;font-size:.72rem;font-weight:700;padding:.2rem .6rem;border-radius:999px;background:var(--navy-50);color:var(--navy-900);text-transform:capitalize}
.pill-green{background:var(--green-50);color:var(--green-600)}
.pill-amber{background:var(--amber-50);color:var(--amber-ink)}
.pill-red{background:var(--red-50);color:var(--red-600)}
.pill-blue{background:var(--accent-50);color:#1d4ed8}
.pill-teal{background:var(--teal-50);color:var(--teal-600)}
.icon-chip{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:10px;background:var(--navy-50);margin-right:.5rem;font-size:1.05rem;vertical-align:middle}
.logo-mark{height:30px;width:auto;display:block;flex:0 0 auto}
.sidebar .logo-mark{background:#fff;border-radius:8px;padding:3px}
.brand-text{display:flex;flex-direction:column;line-height:1.2}
.brand-text small{color:#9b90c9;font-weight:600;font-size:.66rem;letter-spacing:.02em}

/* Guest (marketing/auth) shell */
.guest-topbar{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;padding:.85rem clamp(1rem,4vw,3rem);background:#fff;border-bottom:1px solid var(--line);z-index:5}
.guest-topbar .brand{display:flex;align-items:center;gap:.5rem;font-weight:850;text-decoration:none;color:var(--ink);font-size:1.1rem}
.guest-nav{display:flex;align-items:center;gap:1rem}
.guest-nav a{text-decoration:none;font-weight:650;color:var(--ink)}
.nav-cta{padding:.55rem .85rem;background:var(--navy-900);color:#fff;border-radius:10px}
.guest-shell{width:min(1080px,calc(100% - 2rem));margin:auto;padding:2rem 0 3rem}
.hero{padding:clamp(2rem,7vw,5rem) clamp(1.25rem,6vw,4.5rem);background:linear-gradient(135deg,var(--navy-900),var(--navy-800));border-radius:var(--radius-lg);color:#fff}
.hero .eyebrow{color:var(--gold-500)}
.hero h1,.dashboard-heading h1,.auth-card h1{margin:.2rem 0 .8rem;line-height:1.08;letter-spacing:-.045em;font-size:clamp(2rem,5vw,3.5rem)}
.hero-copy{max-width:650px;color:var(--muted);font-size:1.05rem}
.hero .hero-copy{color:#e4dcfb}
.hero-actions{display:flex;gap:.8rem;flex-wrap:wrap;margin-top:1.6rem}
.feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-top:1.2rem}
.feature-card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius-lg);padding:1.25rem;box-shadow:var(--shadow)}
.feature-card h2{font-size:1.1rem;margin:.4rem 0}
.feature-card p{color:var(--muted)}
.auth-card{width:min(500px,100%);margin:1rem auto;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow);overflow:hidden}
.auth-card .card-head,.auth-card .card-body{padding-left:clamp(1.25rem,5vw,2rem);padding-right:clamp(1.25rem,5vw,2rem)}
.auth-card .card-body{padding-top:1.25rem;padding-bottom:clamp(1.25rem,5vw,2rem)}
.auth-card h1{font-size:2.1rem}
.form-stack{display:grid;gap:1rem;margin-top:1.4rem}
.form-stack label{display:grid;gap:.4rem;font-size:.92rem;font-weight:700}
.form-stack input{width:100%;min-height:46px;padding:.7rem .8rem;border:1px solid var(--line);border-radius:10px;font:inherit}
.password-field{position:relative;display:block}
.password-field input{padding-right:2.75rem}
.password-toggle{position:absolute;top:50%;right:.4rem;transform:translateY(-50%);background:none;border:0;padding:.4rem;margin:0;cursor:pointer;color:var(--muted);display:flex;align-items:center;border-radius:7px}
.password-toggle:hover{color:var(--ink);background:var(--wash)}
.checkbox-label{display:flex!important;align-items:center;gap:.6rem!important}
.checkbox-label input{width:18px;min-height:auto}

/* Authenticated app shell */
.app-shell{display:flex;min-height:100vh;align-items:stretch}
.sidebar{width:260px;flex:0 0 260px;background:var(--navy-900);color:#d9cdf5;display:flex;flex-direction:column;padding:1.5rem 1rem;position:sticky;top:0;align-self:flex-start;height:100vh;overflow-y:auto}
.sidebar .brand{color:#fff;display:flex;align-items:center;gap:.6rem;font-weight:800;font-size:1.05rem;text-decoration:none;padding:0 .5rem .5rem}
.sidebar-nav{display:grid;gap:.25rem;margin-top:1.5rem}
.sidebar-nav a{display:flex;align-items:center;gap:.7rem;padding:.65rem .8rem;border-radius:10px;color:#d9cdf5;text-decoration:none;font-weight:600;font-size:.92rem}
.nav-icon{width:19px;height:19px;flex:0 0 auto;display:block}
.sidebar-nav a .icon,.sidebar-logout .link-button .icon{display:flex;align-items:center}
.sidebar-nav a:hover{background:var(--navy-800);color:#fff}
.sidebar-nav a.active{background:var(--accent-500);color:#fff}
.nav-badge{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 .3rem;border-radius:999px;background:var(--red-600);color:#fff;font-size:.7rem;font-weight:700;margin-left:auto}
.sidebar-logout{margin-top:auto;padding-top:1rem}
.sidebar-logout .link-button{color:#d9cdf5;background:none;border:0;font:inherit;cursor:pointer;display:flex;align-items:center;gap:.7rem;padding:.65rem .8rem;width:100%;text-align:left;border-radius:10px}
.sidebar-logout .link-button:hover{background:var(--navy-800);color:#fff}
.app-main{flex:1;min-width:0;display:flex;flex-direction:column}
.app-topbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem clamp(1rem,3vw,2.5rem);background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:4}
.app-topbar h1{font-size:1.15rem;margin:0}
.topbar-actions{display:flex;align-items:center;gap:1rem}
.bell{position:relative;text-decoration:none;color:var(--ink);font-size:1.25rem;line-height:1}
.bell .count{position:absolute;top:-8px;right:-10px;background:var(--red-600);color:#fff;font-size:.65rem;font-weight:700;padding:.08rem .38rem;border-radius:999px}
.topbar-avatar{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;background:var(--navy-900);color:#fff;font-weight:800;text-decoration:none;font-size:.9rem}
.page-shell{width:min(1080px,calc(100% - 2rem));margin:0 auto;padding:2rem 0 3rem}
.bottom-nav{display:none}

/* Stat tiles */
.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin-bottom:1.2rem}
.stat-tile{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius-md);padding:1.1rem 1.2rem;box-shadow:var(--shadow)}
.stat-tile .stat-label{display:block;color:var(--muted);font-size:.82rem;font-weight:600;margin-bottom:.45rem}
.stat-tile .stat-value{font-size:1.7rem;font-weight:800;color:var(--ink);display:block}
.stat-tile .stat-caption{display:block;font-size:.78rem;font-weight:700;margin-top:.35rem}
.stat-tile .stat-caption-positive{color:var(--green-600)}
.stat-tile .stat-caption-neutral{color:var(--muted);font-weight:600}
.stat-tile .stat-caption-info{color:var(--accent-500)}

/* CTA banner */
.cta-banner{background:radial-gradient(ellipse 320px 220px at 46% 50%,rgba(47,107,255,.4),transparent 70%),linear-gradient(100deg,rgba(16,27,51,.2) 0%,rgba(16,27,51,.8) 52%,rgba(16,27,51,.95) 100%),url(/images/promo-banner.jpg) center/cover no-repeat;color:#fff;border-radius:var(--radius-lg);padding:1.5rem 1.8rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-bottom:1.2rem;min-height:150px}
.cta-banner h2{font-size:1.45rem;font-weight:800}
.cta-banner p{margin:.35rem 0 0;color:rgba(255,255,255,.82)}
.cta-banner .button.cta{background:var(--deep-yellow);color:var(--gold-ink);border-radius:999px;padding:.85rem 1.7rem}

/* Dashboard two-column layout: recent activity + quick actions */
.dashboard-columns{display:grid;grid-template-columns:1.6fr 1fr;gap:1.2rem;align-items:start}
.recent-list{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow);overflow:hidden}
.recent-list-head,.card-head{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.25rem;border-bottom:1px solid var(--line)}
.recent-list-head h2,.card-head h2{font-size:1.1rem;margin:0}
.recent-list-head a,.card-head a{font-size:.82rem;font-weight:700;text-decoration:none;color:var(--accent-500)}
.card-body{padding:1.25rem}
.recent-item{display:flex;align-items:center;gap:.8rem;padding:.9rem 1.25rem;border-bottom:1px solid var(--line)}
.recent-item:last-child{border-bottom:0}
.recent-thumb{width:44px;height:44px;border-radius:50%;object-fit:cover;flex:0 0 auto}
.skeleton{background:linear-gradient(90deg,#ece9f6 25%,#f6f4fb 37%,#ece9f6 63%);background-size:400% 100%;animation:skeleton-pulse 1.6s ease-in-out infinite;border-radius:8px;display:inline-block}
.skeleton-avatar{width:44px;height:44px;border-radius:50%;flex:0 0 auto}
.skeleton-line{height:11px;display:block;border-radius:6px}
.skeleton-pill{width:72px;height:22px;border-radius:999px;flex:0 0 auto}
.recent-item-placeholder .recent-item-body{flex:1;display:flex;flex-direction:column}
@keyframes skeleton-pulse{0%{background-position:100% 50%}100%{background-position:0 50%}}
.recent-item-body{flex:1;min-width:0}
.recent-item .recent-meta{color:var(--muted);font-size:.84rem}
.recent-item-aside{display:flex;flex-direction:column;align-items:flex-end;gap:.35rem;flex:0 0 auto}
.recent-amount{font-weight:800;color:var(--ink);font-size:.9rem}
.quick-action{display:flex;align-items:center;gap:.9rem;padding:.75rem 1.25rem;text-decoration:none;color:var(--ink);font-weight:700;font-size:.92rem}
.quick-action:last-child{padding-bottom:1.1rem}
.quick-action .icon-chip{margin-right:0;width:46px;height:46px;font-size:1.3rem;border-radius:50%;background:var(--accent-50);color:var(--accent-500);flex:0 0 auto}
.quick-action .icon-chip .nav-icon{width:22px;height:22px}
.mini-chart{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow);padding:1.25rem;margin-bottom:1.2rem}
.mini-chart h2{font-size:1.1rem;margin:0 0 .8rem}
.mini-chart svg{width:100%;height:120px;display:block}
.mini-chart .chart-labels{display:flex;justify-content:space-between;color:var(--muted);font-size:.72rem;margin-top:.3rem}

/* Category filter tabs + coloured icon chips (service browsing) */
.filter-tabs{display:flex;gap:.5rem;flex-wrap:wrap;margin:1rem 0}
.filter-tab{background:var(--paper);border:1px solid var(--line);border-radius:999px;padding:.4rem .9rem;font-size:.82rem;font-weight:700;color:var(--muted);cursor:pointer}
.filter-tab.active{background:var(--navy-900);color:#fff;border-color:var(--navy-900)}
.icon-chip-blue{background:#e3eeff;color:#1d4ed8}
.icon-chip-purple{background:#f1e8fd;color:#7c3aed}
.icon-chip-teal{background:#e1f7f2;color:#0f8a6e}
.icon-chip-amber{background:var(--amber-50);color:var(--amber-ink)}
.icon-chip-red{background:var(--red-50);color:var(--red-600)}

/* Cards / grids shared across every app page */
.dashboard-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-top:1.2rem}
.list-row{padding:1rem 1.25rem;border-bottom:1px solid var(--line)}
.list-row:last-child{border-bottom:0}
.list-row h2{font-size:1rem;margin:0 0 .35rem;display:flex;align-items:center;flex-wrap:wrap;gap:.4rem}
.list-row p{margin:.25rem 0}
.list-row form{margin-top:.6rem}
.dashboard-card,.settings-card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius-lg);padding:1.25rem;box-shadow:var(--shadow)}
.dashboard-card h2,.settings-card h2{font-size:1.1rem;margin:.4rem 0;display:flex;align-items:center;flex-wrap:wrap;gap:.3rem}
.dashboard-card p{color:var(--muted)}
.settings-card{display:block;padding:0;overflow:hidden;margin-top:1.2rem}
.settings-card .card-head h2{margin:0}
.settings-card .card-body{display:grid;grid-template-columns:.8fr 1.2fr;gap:2rem;padding:1.25rem}
.preference-list{display:grid}
.preference-list label{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.8rem 0;border-bottom:1px solid var(--line)}
.preference-list label span{display:grid}
.preference-list small{color:var(--muted);font-size:.82rem}
.preference-list input[type=checkbox]{appearance:none;-webkit-appearance:none;width:42px;height:24px;border-radius:999px;background:#d9cdf5;position:relative;cursor:pointer;transition:background .15s;flex:0 0 auto}
.preference-list input[type=checkbox]::after{content:'';position:absolute;top:2px;left:2px;width:20px;height:20px;background:#fff;border-radius:50%;transition:left .15s;box-shadow:0 1px 2px rgba(0,0,0,.2)}
.preference-list input[type=checkbox]:checked{background:var(--navy-900)}
.preference-list input[type=checkbox]:checked::after{left:20px}
.preference-list button{margin-top:1rem}

.mobile-home{display:none}
@media(max-width:960px){
 .sidebar{display:none}
 .app-shell{display:block}
 .app-main{padding-bottom:70px}
 .bottom-nav .nav-icon{width:20px;height:20px}
 .dashboard-columns{grid-template-columns:1fr}
 .role-customer .customer-desktop-home{display:none}
 .role-customer .mobile-home{display:block}
 .role-customer.page-dashboard .app-topbar{display:none}
 .topbar-location{display:none}
 .role-customer.page-dashboard .app-main{background:#fff}
 .role-customer.page-dashboard .page-shell{padding-top:.9rem}
}

.mobile-search{margin-bottom:1rem}
.mobile-search input{width:100%;min-height:46px;padding:.7rem 1rem;border:1px solid var(--line);border-radius:12px;font:inherit;background:var(--paper)}

/* Mobile customer "Home" screen */
.mobile-home{color:#14213d}
.mobile-home svg{display:block;width:100%;height:100%}
.mh-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem}
.loc-picker{position:relative}
.loc-picker summary{list-style:none;display:flex;align-items:center;gap:.4rem;cursor:pointer;color:#14213d;padding:.2rem 0;user-select:none}
.loc-picker summary::-webkit-details-marker{display:none}
.loc-picker summary svg{width:22px;height:22px;flex:0 0 auto}
.loc-picker summary svg:last-child{width:18px;height:18px;margin-top:2px;transition:transform .15s}
.loc-picker[open] summary svg:last-child{transform:rotate(180deg)}
.loc-picker strong{font-size:1.15rem;font-weight:800}
.loc-menu{position:absolute;top:calc(100% + 8px);left:0;z-index:30;min-width:230px;max-height:60vh;overflow-y:auto;background:#fff;border:1px solid #e3e8f1;border-radius:14px;box-shadow:0 14px 34px rgba(16,27,51,.16);padding:.4rem}
.loc-menu-title{margin:.35rem .65rem .45rem;font-size:.7rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#7b8499}
.loc-menu form{margin:0}
.loc-menu button{display:flex;align-items:center;justify-content:space-between;width:100%;padding:.7rem .7rem;border:0;background:none;border-radius:10px;font:inherit;font-weight:600;color:#14213d;text-align:left;cursor:pointer}
.loc-menu button:hover,.loc-menu button.is-current{background:#eef3ff;color:#1f5eff}
.topbar-location strong{font-size:.95rem}
.topbar-location svg{width:19px!important;height:19px!important}
.topbar-location .loc-menu{left:auto;right:0}
.topbar-avatar,.mh-avatar{overflow:hidden}
.topbar-avatar img,.mh-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.mh-actions{display:flex;align-items:center;gap:1rem}
.mh-bell{position:relative;width:26px;height:26px;color:#14213d}
.mh-bell-count{position:absolute;top:-6px;right:-8px;min-width:18px;height:18px;padding:0 4px;border-radius:999px;background:var(--red-600);color:#fff;font-size:.65rem;font-weight:700;display:flex;align-items:center;justify-content:center}
.mh-avatar{width:40px;height:40px;border-radius:50%;background:#14213d;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;text-decoration:none}
.mh-search{position:relative;margin-bottom:1rem}
.mh-search svg{position:absolute;left:14px;top:50%;transform:translateY(-50%);width:20px;height:20px;color:#7b8499;pointer-events:none}
.mh-search input{width:100%;min-height:48px;padding:.75rem 1rem .75rem 2.8rem;border:1px solid #e3e8f1;border-radius:12px;background:#f5f7fb;font:inherit;font-size:.95rem;color:#14213d}
.mh-search input::placeholder{color:#8a93a6}
.mh-verify{display:flex;align-items:center;justify-content:space-between;gap:.6rem;margin-bottom:1rem;padding:.6rem .85rem;border-radius:10px;background:var(--amber-50);color:var(--amber-ink);font-size:.85rem;font-weight:600}
.mh-verify form{margin:0}
.mh-verify button{background:none;border:0;padding:0;font:inherit;font-weight:800;color:inherit;text-decoration:none;cursor:pointer}
.mh-carousel{margin-bottom:1.4rem}
.mh-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;border-radius:16px;overscroll-behavior-x:contain}
.mh-track::-webkit-scrollbar{display:none}
.mh-promo{position:relative;flex:0 0 100%;scroll-snap-align:start;overflow:hidden;border-radius:16px;min-height:150px;display:flex;align-items:center;background-color:#14213d;background-image:radial-gradient(circle at 92% 18%,rgba(47,107,255,.55) 0,rgba(47,107,255,0) 42%),radial-gradient(circle at 78% 110%,rgba(255,213,0,.28) 0,rgba(255,213,0,0) 40%),linear-gradient(120deg,#101b33 0%,#1c2d52 100%);background-size:cover;background-position:right center;color:#fff}
.mh-promo.has-image{background-image:linear-gradient(90deg,#101b33 0%,rgba(16,27,51,.88) 42%,rgba(16,27,51,.05) 100%),var(--banner-image)}
.mh-dots{display:flex;justify-content:center;gap:6px;margin-top:.65rem}
.mh-dots button{width:7px;height:7px;padding:0;border:0;border-radius:999px;background:#cdd5e4;cursor:pointer;transition:width .2s,background .2s}
.mh-dots button.is-active{width:20px;background:#1f5eff}
.desktop-promo{margin-bottom:1.2rem}
.mh-carousel.is-desktop .mh-promo{min-height:180px}
.mh-carousel.is-desktop .mh-promo-text{max-width:55%;padding:1.6rem 1.9rem}
.mh-carousel.is-desktop .mh-promo h2{font-size:1.5rem}
.mh-carousel.is-desktop .mh-promo p{font-size:.95rem}
.mh-promo-text{position:relative;padding:1.2rem 1.1rem;max-width:68%}
.mh-promo h2{margin:0 0 .4rem;font-size:1.2rem;font-weight:800;line-height:1.25}
.mh-promo p{margin:0 0 .9rem;font-size:.85rem;line-height:1.45;color:#dfe5f2}
.mh-promo-btn{display:inline-flex;align-items:center;justify-content:center;padding:.6rem 1.4rem;border-radius:10px;background:var(--gold-500);color:#14213d;font-weight:800;font-size:.9rem;text-decoration:none}
.mh-categories{display:grid;grid-template-columns:repeat(4,1fr);gap:1.1rem .5rem;margin-bottom:1.6rem}
.mh-category{display:flex;flex-direction:column;align-items:center;gap:.45rem;text-decoration:none;color:#14213d;text-align:center}
.mh-category-icon{width:56px;height:56px;padding:15px;border-radius:50%;background:#eaf0ff;color:#1f5eff}
.mh-category-label{font-size:.74rem;font-weight:600;line-height:1.25}
.mh-section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:.8rem}
.mh-section-head h2{margin:0;font-size:1.15rem;font-weight:800}
.mh-section-head a{font-size:.9rem;font-weight:700;color:#1f5eff;text-decoration:none}
.mh-service{display:flex;align-items:center;gap:.9rem;padding:.8rem;margin-bottom:.75rem;border:1px solid #e8ebf2;border-radius:14px;background:#fff;box-shadow:0 4px 14px rgba(16,27,51,.05);text-decoration:none;color:#14213d}
.mh-service img{width:64px;height:64px;border-radius:12px;object-fit:cover;flex:0 0 auto}
.mh-service-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:.2rem}
.mh-service-body strong{font-size:.98rem;font-weight:800}
.mh-service-sub{font-size:.8rem;color:#7b8499;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mh-service-price{font-size:.88rem;font-weight:800}
.mh-service-arrow{width:22px;height:22px;color:#1f5eff;flex:0 0 auto}
.mh-empty{padding:1.1rem;border:1px dashed #d8deea;border-radius:14px;text-align:center;color:#7b8499;font-size:.9rem}

/* Admin: locations & banners */
.admin-inline-form{display:flex;gap:.6rem;flex-wrap:wrap}
.admin-inline-form input,.admin-row input[type=text],.admin-row input[type=number]{min-height:44px;padding:.55rem .75rem;border:1px solid var(--line);border-radius:10px;font:inherit;background:#fff}
.admin-inline-form input{flex:1;min-width:200px}
.admin-row{display:flex;align-items:center;gap:.8rem;flex-wrap:wrap}
.admin-row form{margin:0}
.admin-row-main{display:flex;align-items:center;gap:.6rem;flex:1;flex-wrap:wrap}
.admin-row-main input[type=text]{flex:1;min-width:160px}
.admin-order{display:flex;align-items:center;gap:.4rem;font-size:.85rem;color:var(--muted)}
.admin-order input{width:72px}
.admin-row-body{flex:1;min-width:200px;display:flex;flex-direction:column;gap:.15rem}
.admin-row-actions{display:flex;gap:.4rem;flex-wrap:wrap}
.admin-row .button{min-height:40px;padding:.5rem .9rem}
.admin-danger{color:var(--red-600)}
.admin-banner-thumb{width:104px;height:58px;flex:0 0 auto;border-radius:10px;background:#14213d center/cover no-repeat}
.admin-banner-thumb.is-empty{background:linear-gradient(120deg,#101b33,#1c2d52)}
.admin-banner-preview{height:150px;border-radius:12px;background:#14213d center/cover no-repeat}
.admin-two-col{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.form-stack select{width:100%;min-height:46px;padding:.6rem .8rem;border:1px solid var(--line);border-radius:10px;font:inherit;background:#fff}
.form-stack small{font-weight:500}
@media(max-width:560px){.admin-two-col{grid-template-columns:1fr}}

/* Profile photo */
.pill-ad{background:var(--deep-yellow);color:#1a1200;font-size:.68rem;padding:.1rem .45rem;vertical-align:middle}.promo-off{display:inline-block;margin-top:.25rem;font-size:.78rem;font-weight:700;color:var(--muted)}
.mh-offers{display:flex;gap:.8rem;padding:.9rem;margin:.6rem 0 .4rem;border-radius:16px;background:linear-gradient(135deg,#12306e,#1d4291);color:#fff;border-bottom:3px solid var(--deep-yellow)}.mh-offers[hidden]{display:none}.mh-offers-icon{font-size:1.7rem;line-height:1}.mh-offers strong{display:block;font-size:.98rem}.mh-offers .small-note{display:block;margin:.15rem 0 .6rem;color:#dbe4ff;font-size:.8rem}
.mh-offers-actions{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}.mh-offers-actions .button{min-height:38px;padding:.45rem .95rem;font-size:.86rem}.mh-offers .link-button{color:#dbe4ff;font-size:.85rem}
.promo-reach{margin:0;padding:.7rem .9rem;border-radius:12px;background:#eef3ff;color:var(--deep-blue)}.promo-when{border:1px solid #dbe3f0;border-radius:14px;padding:.8rem;display:grid;gap:.5rem}.promo-when legend{font-weight:700;padding:0 .3rem}
.promo-preview{display:grid;gap:.15rem;max-width:360px;padding:.75rem .9rem;border-radius:16px;background:#f2f4f8;border:1px solid #dbe3f0;font-size:.88rem}.promo-preview-app{display:flex;align-items:center;gap:.35rem;font-size:.72rem;color:var(--muted)}.promo-preview-app img{width:16px;height:16px;border-radius:4px}
.crop-previews{display:flex;gap:.5rem;flex-wrap:wrap}.crop-previews img{width:64px;height:64px;object-fit:cover;border-radius:10px;border:1px solid #dbe3f0}
.crop-modal{position:fixed;inset:0;z-index:2000;background:rgba(8,14,28,.82);display:flex;align-items:center;justify-content:center;padding:16px}body.crop-open{overflow:hidden}
.crop-sheet{width:min(100%,420px);background:#fff;border-radius:20px;padding:1rem;box-shadow:0 20px 50px rgba(0,0,0,.4)}.crop-title{margin:0 0 .7rem;font-weight:800;color:var(--deep-blue);text-align:center}
.crop-stage{position:relative;width:100%;aspect-ratio:1;overflow:hidden;border-radius:14px;background:#0c1322;touch-action:none;cursor:grab;user-select:none}.crop-stage:active{cursor:grabbing}
.crop-stage.is-portrait{aspect-ratio:4/5;width:min(100%,calc(58vh * .8));margin:0 auto}
.crop-stage img{position:absolute;left:0;top:0;max-width:none;transform-origin:0 0;pointer-events:none}
.crop-mask{position:absolute;inset:0;border-radius:50%;box-shadow:0 0 0 999px rgba(8,14,28,.55);border:2px solid rgba(255,255,255,.9);pointer-events:none}.crop-mask.is-square{border-radius:0}
.crop-zoom{display:flex;align-items:center;gap:.6rem;margin:.9rem 0 .2rem;font-weight:800;color:var(--deep-blue)}.crop-zoom input{flex:1;accent-color:var(--deep-red)}
.crop-actions{display:grid;grid-template-columns:1fr 1fr;gap:.6rem;margin-top:.8rem}.crop-actions .button{width:100%}
.profile-photo-row{display:flex;align-items:center;gap:1.2rem;flex-wrap:wrap}
.profile-photo{width:84px;height:84px;flex:0 0 auto;border-radius:50%;overflow:hidden;background:var(--navy-900);color:#fff;font-size:2rem;font-weight:800;display:flex;align-items:center;justify-content:center}
.profile-photo img{width:100%;height:100%;object-fit:cover;display:block}
.profile-photo-actions{display:flex;flex-direction:column;gap:.5rem;min-width:0}
.profile-photo-actions form{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;margin:0}
.profile-photo-actions input[type=file]{max-width:100%;font:inherit;font-size:.9rem}
@media(max-width:760px){
 .page-shell,.guest-shell{width:calc(100% - 1rem);padding:1rem 0 2rem}
 .feature-grid,.dashboard-grid,.settings-card .card-body,.stat-grid{grid-template-columns:1fr}
 .hero{border-radius:14px}
 .hero-actions .button{width:100%}
 .guest-nav{gap:.7rem;font-size:.88rem}
 .cta-banner{flex-direction:column;align-items:flex-start}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Log out on the profile page (the sidebar's log out is hidden on mobile) */
.logout-button{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;width:100%;max-width:420px;background:#fff;color:#c62828;border:1px solid #f1c7c7;font-weight:700}
.logout-button:hover{background:#fdecec}
.logout-button svg{width:18px;height:18px}

/* Customer "Services" screen */
.svc{max-width:760px;color:#14213d}
.svc svg{display:block;width:100%;height:100%}
.svc-header{display:none;align-items:center;gap:.9rem;margin-bottom:1.1rem}
.svc-header h1{flex:1;margin:0;font-size:1.3rem;font-weight:800;color:#14213d}
.svc-icon-button{display:flex;align-items:center;justify-content:center;width:36px;height:36px;padding:6px;border:0;background:none;color:#14213d;cursor:pointer;border-radius:50%}
.svc-icon-button:hover{background:#eef3ff}
.svc-search{display:flex;align-items:center;gap:.6rem;padding:0 1rem;margin-bottom:1rem;min-height:48px;border:1px solid #e3e8f1;border-radius:14px;background:#fff}
.svc-search svg{width:19px;height:19px;flex:0 0 auto;color:#7b8499}
.svc-search input{flex:1;border:0;outline:0;font:inherit;font-size:.95rem;background:none;min-height:46px}
.svc-chips{display:flex;gap:.55rem;overflow-x:auto;scrollbar-width:none;margin:0 0 1.1rem;padding-bottom:2px}
.svc-chips::-webkit-scrollbar{display:none}
.svc-chip{flex:0 0 auto;padding:.6rem 1.15rem;border:1px solid #e3e8f1;border-radius:999px;background:#f4f6fa;color:#14213d;font-weight:600;font-size:.9rem;text-decoration:none}
.svc-chip.active{background:#13254d;border-color:#13254d;color:#fff}
.svc-area{margin:-.4rem 0 1rem;font-size:.8rem;color:#7b8499}
.svc-list{display:grid;gap:.8rem}
.svc-row{display:flex;align-items:stretch;width:100%;padding:0;border:1px solid #e8ecf4;border-radius:14px;background:#fff;box-shadow:0 4px 14px rgba(16,27,51,.04);color:#14213d;text-decoration:none;text-align:left;font:inherit;cursor:pointer;overflow:hidden}
.svc-row:hover{border-color:#cdd9f5}
.svc-row-icon{display:flex;align-items:center;justify-content:center;flex:0 0 78px;border-right:1px solid #eef1f6}
.svc-row-icon>span{display:flex;align-items:center;justify-content:center;width:52px;height:52px;padding:12px;border-radius:50%;background:#e9f0ff;color:#1f5eff}
.svc-row-icon svg{stroke-width:2.3;fill:currentColor;fill-opacity:.18}
.svc-row-body{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:.22rem;padding:.8rem .9rem}
.svc-row-body strong{font-size:.95rem;font-weight:800}
.svc-row-sub{font-size:.8rem;color:#6b7489;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.svc-row-price{font-size:.86rem;font-weight:800}
.svc-row-price.muted{color:#9aa3b5;font-weight:600}
.svc-row-chevron{display:flex;align-items:center;flex:0 0 auto;width:20px;margin-right:.9rem;color:#14213d}
.svc-row-chevron svg{height:20px}
.svc-section-title{margin:1.4rem 0 .8rem;font-size:1.05rem;font-weight:800}
.svc-empty{padding:1rem;border:1px dashed #d8deea;border-radius:14px;color:#6b7489;font-size:.9rem;background:#fff}
.svc-offer .svc-row[aria-expanded="true"] .svc-row-chevron svg{transform:rotate(90deg)}
.svc-quote{padding:.6rem .2rem 0}
.svc-times{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.6rem}
.svc-request{display:block;margin-top:.8rem;cursor:default}
.svc-request summary{display:flex;align-items:stretch;list-style:none;cursor:pointer}
.svc-request summary::-webkit-details-marker{display:none}
.svc-request[open] .svc-row-chevron svg{transform:rotate(90deg)}
.svc-request-form{padding:1rem;border-top:1px solid #eef1f6}
@media(max-width:960px){
 .role-customer.page-requests .app-topbar{display:none}
 .role-customer.page-requests .app-main{background:#fbfcfe;min-height:100vh}
 .role-customer.page-requests .page-shell{padding-top:.9rem}
 .svc-header{display:flex}
 .svc-search{display:none}
 .svc-search.is-open{display:flex}
}

/* BUILD-020: provider pages, request actions, ID verification */
.svc-dist{color:#1f5eff;font-weight:700}
.svc-provider-link{margin:0 0 .6rem;font-size:.88rem;font-weight:700}
.svc-provider-link a{color:#1f5eff;text-decoration:none}
.svc-night-note{margin:0;padding:.8rem 1rem;background:#fff7e6;color:#8a5a00;font-size:.85rem;border-top:1px solid #f3e2bd}
.req-card h2{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}
.req-quotes{display:grid;gap:.6rem;margin-top:.6rem}
.req-quote{display:grid;gap:.5rem;padding:.75rem;border:1px solid #e8ecf4;border-radius:12px;background:#fbfcfe}
.req-quote.is-accepted{border-color:#9fd8b4;background:#f1fbf4}
.req-quote .small-note{margin:.2rem 0 0}
.req-quote-price{font-weight:800;color:#14213d}
.req-quote-actions{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;font-size:.88rem;font-weight:700}
.req-quote-actions a:not(.button){color:#1f5eff;text-decoration:none}
.req-quote-actions .button{padding:.45rem .9rem;font-size:.85rem}
.req-actions{display:flex;gap:1rem;align-items:center;margin-top:.6rem}
.req-actions .link-button{background:none;border:0;padding:0;font:inherit;font-weight:700;color:#1f5eff;cursor:pointer}
.req-actions .req-cancel{color:#c62828}
.req-edit{margin-top:.8rem;padding-top:.8rem;border-top:1px solid #eef1f6}
.pv-hero{display:flex;gap:1rem;align-items:center;padding:1rem;border:1px solid #e8ecf4;border-radius:16px;background:#fff;box-shadow:0 4px 14px rgba(16,27,51,.04)}
.pv-avatar{flex:0 0 72px;width:72px;height:72px;border-radius:16px;background:#e9f0ff;color:#1f5eff;display:flex;align-items:center;justify-content:center;font-size:1.8rem;font-weight:800;overflow:hidden}
.pv-avatar img{width:100%;height:100%;object-fit:cover}
.pv-hero-body{min-width:0}
.pv-hero-body h2{margin:0 0 .3rem;font-size:1.15rem;font-weight:800;display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}
.pv-verified{display:inline-flex;align-items:center;gap:.25rem;padding:.15rem .5rem;border-radius:999px;background:#e8f7ee;color:#1d7a43;font-size:.72rem;font-weight:800}
.pv-verified svg{width:14px;height:14px}
.pv-meta{margin:.15rem 0;font-size:.84rem;color:#6b7489;display:flex;align-items:center;gap:.3rem;flex-wrap:wrap}
.pv-meta svg{width:15px;height:15px;display:inline-block}
.pv-stars{color:#f5a524;font-weight:800;letter-spacing:.02em}
.pv-stars-off{color:#d8deea}
.pv-actions{display:flex;gap:.6rem;margin:.9rem 0 0}
.pv-actions .button{display:inline-flex;align-items:center;gap:.5rem;flex:1;justify-content:center}
.pv-actions svg{width:18px;height:18px}
.pv-about{margin:0;color:#3b4560;line-height:1.55}
.pv-facts{display:grid;gap:.6rem;margin:1rem 0 0;padding:1rem;border:1px solid #e8ecf4;border-radius:14px;background:#fff}
.pv-facts dt{font-size:.75rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:#7b8499}
.pv-facts dd{margin:.15rem 0 0;font-weight:600}
.pv-note{margin-top:.6rem}
.pv-review{padding:.8rem 0;border-bottom:1px solid #eef1f6}
.pv-review p{margin:.2rem 0}
.id-state{margin:0;padding:.75rem 1rem;border-radius:12px;font-weight:600}
.id-approved{background:#e8f7ee;color:#1d7a43}
.id-pending{background:#fff7e6;color:#8a5a00}
.checkbox-row{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:.6rem;font-weight:500;font-size:.88rem}
.checkbox-row input{margin-top:.2rem;flex:0 0 auto;width:auto;min-height:0}
.id-review{display:flex;gap:1rem;align-items:flex-start;flex-wrap:wrap}
.id-card-thumb{flex:0 0 220px}
.id-card-thumb img{width:220px;max-width:100%;border-radius:10px;border:1px solid #e3e8f1;display:block}
.id-review-body{flex:1;min-width:240px}
.id-review-body h2{margin:0 0 .5rem;font-size:1.05rem}
.id-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.5rem 1rem;margin:0}
.id-facts dt{font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:#7b8499}
.id-facts dd{margin:.1rem 0 0}
.id-decide{display:grid;gap:.8rem;margin-top:1rem}
.id-decide form{display:flex;gap:.8rem;align-items:center;flex-wrap:wrap}
@media(max-width:960px){
 .role-customer.page-providers-show .app-topbar{display:none}
 .role-customer.page-providers-show .app-main{background:#fbfcfe;min-height:100vh}
 .role-customer.page-providers-show .page-shell{padding-top:.9rem}
}
[hidden]{display:none!important}
.req-edit textarea,.svc-request-form textarea{font:inherit}

/* BUILD-021: bookings actions, earnings, payouts, refund policy */
.booking-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.6rem}
.booking-actions .button{padding:.5rem .9rem;font-size:.85rem;text-decoration:none}
.policy-table{width:100%;border-collapse:collapse;font-size:.9rem}
.policy-table th,.policy-table td{text-align:left;padding:.55rem .4rem;border-bottom:1px solid #eef1f6}
.policy-table th{font-size:.75rem;text-transform:uppercase;letter-spacing:.06em;color:#7b8499}
.policy-table td:last-child{font-weight:800;white-space:nowrap}
.earn-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:.8rem}
.earn-tile{padding:1rem;border:1px solid #e8ecf4;border-radius:14px;background:#fff;display:grid;gap:.25rem}
.earn-tile span{font-size:.78rem;font-weight:700;color:#7b8499;text-transform:uppercase;letter-spacing:.05em}
.earn-tile strong{font-size:1.35rem}
.earn-tile.is-held{border-color:#f3d48a;background:#fffaf0}
.earn-row{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start;flex-wrap:wrap}
.earn-amount{display:grid;justify-items:end;gap:.3rem}
.payout-toolbar{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;margin-top:1rem}
.payout-row{display:flex;gap:1rem;justify-content:space-between;flex-wrap:wrap}
.payout-main{flex:1;min-width:260px}
.payout-main h2{margin:0 0 .3rem;font-size:1rem}
.payout-actions{display:grid;gap:.5rem;align-content:start;min-width:240px}
.payout-actions form{display:flex;gap:.5rem;flex-wrap:wrap}

/* BUILD-022: availability, referrals, fault codes */
.duty-on{color:#1d7a43;font-weight:700}
.duty-off{color:#9aa3b5;font-weight:700}
.pv-away{margin:.9rem 0 0;padding:.8rem 1rem;border-radius:12px;background:#fff7e6;color:#8a5a00;font-size:.9rem}
.dtc-chips{display:flex;flex-wrap:wrap;gap:.4rem;align-items:center;margin:.3rem 0}
.dtc-chip{display:inline-block;padding:.2rem .55rem;border-radius:8px;background:#13254d;color:#fff;font:700 .8rem/1.4 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;text-decoration:none;letter-spacing:.03em}
.ref-list{display:grid;gap:.4rem;margin-top:.5rem}
.ref-card{display:flex;flex-wrap:wrap;gap:.3rem .5rem;align-items:center;padding:.6rem .75rem;border:1px solid #dbe5ff;border-radius:12px;background:#f5f8ff;color:#14213d;text-decoration:none;font-size:.9rem}
.ref-card .small-note{flex-basis:100%;margin:0}
.ref-picker{display:grid;gap:.6rem;margin-top:.8rem;padding:.8rem;border:1px solid #e8ecf4;border-radius:12px;background:#fbfcfe}
.ref-results{display:grid;gap:.4rem;max-height:260px;overflow-y:auto}
.ref-option{display:grid;gap:.1rem;text-align:left;padding:.6rem .75rem;border:1px solid #e3e8f1;border-radius:10px;background:#fff;font:inherit;cursor:pointer}
.ref-option:hover{border-color:#1f5eff}
.dx-intro{margin:0 0 1rem;color:#3b4560;line-height:1.5}
.dx-form{display:flex;gap:.6rem;margin-bottom:1rem}
.dx-form input{flex:1;min-height:48px;padding:0 1rem;border:1px solid #e3e8f1;border-radius:12px;font:700 1rem ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;text-transform:uppercase;letter-spacing:.04em}
.dx-verdict{margin-bottom:.9rem;padding:.85rem 1rem;border-radius:12px;font-size:.92rem}
.dx-stop{background:#fdecec;color:#a61b1b}.dx-soon{background:#fff7e6;color:#8a5a00}.dx-monitor{background:#e8f7ee;color:#1d7a43}
.dx-card{padding:1rem;border:1px solid #e8ecf4;border-radius:14px;background:#fff;box-shadow:0 4px 14px rgba(16,27,51,.04)}
.dx-card-head{display:flex;justify-content:space-between;align-items:center;gap:.5rem;flex-wrap:wrap}
.dx-code{font:800 1.05rem ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#13254d;letter-spacing:.04em}
.dx-card h2{margin:.5rem 0;font-size:1rem;font-weight:800}
.dx-label{margin:.4rem 0 .2rem;font-size:.75rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:#7b8499}
.dx-causes{margin:0;padding-left:1.1rem;color:#3b4560;font-size:.9rem;line-height:1.5}
.dx-who{display:flex;align-items:center;gap:.4rem;margin:.7rem 0 0;font-weight:700;font-size:.9rem;color:#1f5eff}
.dx-who svg{width:18px;height:18px;flex:0 0 auto}
.dx-cta{display:flex;justify-content:center;margin-top:.8rem;text-decoration:none}
.dx-disclaimer{margin-top:1rem}
.svc-dtc-row{margin-top:.8rem}
@media(max-width:960px){
 .role-customer.page-diagnose .app-topbar,.role-customer.page-assistant .app-topbar,.role-customer.page-assistant-show .app-topbar{display:none}
 .role-customer.page-diagnose .app-main,.role-customer.page-assistant .app-main,.role-customer.page-assistant-show .app-main{background:#fbfcfe;min-height:100vh}
 .role-customer.page-diagnose .page-shell,.role-customer.page-assistant .page-shell,.role-customer.page-assistant-show .page-shell{padding-top:.9rem}
}

/* Provider sign-up and onboarding */
.account-type{border:0;padding:0;margin:0 0 .4rem;display:grid;gap:.6rem}
.account-type legend{font-weight:700;margin-bottom:.5rem}
.account-option{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:.7rem;padding:.8rem .9rem;border:1px solid #e3e8f1;border-radius:12px;cursor:pointer;background:#fff}
.account-option:has(input:checked){border-color:#1f5eff;background:#f5f8ff}
.account-option input{margin-top:.25rem;width:auto;min-height:0}
.account-option span{display:grid;gap:.15rem}
.account-option small{color:#6b7489;font-weight:500}
.onboard-steps{margin:0;padding-left:1.2rem;display:grid;gap:.6rem;line-height:1.5}
.onboard-bar{height:8px;border-radius:999px;background:#eef1f6;overflow:hidden}
.onboard-bar span{display:block;height:100%;background:#1f5eff;border-radius:999px}
.onboard-list{list-style:none;margin:0;padding:0;display:grid;gap:.5rem}
.onboard-list li{display:flex;align-items:center;gap:.75rem;padding:.6rem .2rem;border-bottom:1px solid #eef1f6}
.onboard-list li:last-child{border-bottom:0}
.onboard-tick{flex:0 0 28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#eef1f6;color:#6b7489;font-weight:800;font-size:.85rem}
.onboard-list li.is-done .onboard-tick{background:#e8f7ee;color:#1d7a43}
.onboard-list li.is-done strong{color:#7b8499;text-decoration:line-through}
.onboard-text{flex:1;display:grid;gap:.1rem;min-width:0}
.onboard-text small{color:#6b7489}
.onboard-list a{font-weight:700;color:#1f5eff;text-decoration:none;white-space:nowrap}
.guest-nav a.nav-cta{color:#fff}

/* BUILD-023: spare parts */
.parts-how{margin:0 0 1rem;padding:.9rem 1rem;border:1px solid #dbe5ff;border-radius:14px;background:#f5f8ff;font-size:.9rem;line-height:1.5}
.parts-how ol{margin:.4rem 0 0;padding-left:1.2rem}
.parts-two{display:grid;grid-template-columns:1fr 1fr;gap:.7rem}
.part-card{margin-bottom:.8rem}
.part-head{display:flex;justify-content:space-between;align-items:flex-start;gap:.5rem;flex-wrap:wrap}
.part-head h2{margin:0;font-size:1rem}
.part-photo{display:block;max-width:180px;max-height:140px;border-radius:10px;border:1px solid #e3e8f1;margin:.5rem 0;object-fit:cover}
.part-quote-top{display:flex;justify-content:space-between;gap:.5rem;align-items:baseline}
.req-quote-actions form{display:inline}
.part-quote-form{margin-top:.6rem}
.part-quote-form summary{display:inline-flex;list-style:none;cursor:pointer}
.part-quote-form summary::-webkit-details-marker{display:none}
.part-quote-form form{margin-top:.8rem}
.parts-cta{margin-bottom:.8rem}
.pickup-box{display:grid;gap:.2rem;justify-items:start;margin:.6rem 0;padding:.9rem 1rem;border:2px dashed #1f5eff;border-radius:14px;background:#f5f8ff}
.pickup-box span{font-size:.75rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:#1f5eff}
.pickup-box strong{font:800 2rem/1.1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.3em;color:#13254d}
.pickup-box small{color:#3b4560;line-height:1.4}
.handover-form{display:flex;gap:.4rem;align-items:center}
.handover-form input{width:8rem;min-height:40px;padding:0 .7rem;border:1px solid #cdd9f5;border-radius:10px;font:700 1rem ui-monospace,monospace;letter-spacing:.2em}
@media(max-width:960px){
 .role-customer.page-parts-index .app-topbar{display:none}
 .role-customer.page-parts-index .app-main{background:#fbfcfe;min-height:100vh}
 .role-customer.page-parts-index .page-shell{padding-top:.9rem}
}
.handover-form input::placeholder{letter-spacing:normal;font-weight:500}
/* BUILD-024: AI helper + job plan */
.ai-price{display:flex;justify-content:space-between;gap:.5rem;flex-wrap:wrap;margin-bottom:.8rem;padding:.7rem .9rem;border-radius:12px;background:#eef3ff;color:#13254d;font-size:.88rem}
.ai-price a{color:#1f5eff;font-weight:700}
.ai-form{padding:1rem;border:1px solid #e8ecf4;border-radius:14px;background:#fff}
.ai-suggestion-flag{margin-bottom:.8rem;padding:.6rem .9rem;border-radius:10px;border:1px dashed #8a5a00;background:#fffaf0;color:#8a5a00;font-size:.85rem;font-weight:700}
.ai .dx-card+.dx-card,.ai .dx-card+.dx-verdict{margin-top:.8rem}
.ai-services{margin:.2rem 0 .4rem;font-size:1.05rem;font-weight:800;color:#13254d}
.ai-history{display:grid;gap:.2rem;text-decoration:none;color:#13254d}
.ai-row .svc-row-icon span{background:#f1ecff;color:#6b3df5}
.job-item{display:grid;gap:.4rem}
.job-item.is-closed{opacity:.6}
.job-item-head{display:flex;justify-content:space-between;align-items:flex-start;gap:.8rem}
.job-item-head p{margin:.15rem 0 0}
.job-price-form{display:grid;gap:.5rem;width:100%;max-width:360px}
.job-total{border-top:2px solid #e8ecf4}
.job-item-head .earn-amount{flex:0 0 auto}
.job-item-head .earn-amount strong,.job-item .pill{white-space:nowrap}
/* BUILD-025: sharing, following, invites */
.share-button{display:inline-flex;align-items:center;justify-content:center;gap:.45rem}.share-button svg{width:17px;height:17px}
.share-sheet{position:fixed;inset:0;background:rgba(16,27,51,.45);display:flex;align-items:flex-end;justify-content:center;z-index:50}
.share-panel{width:min(480px,100%);background:#fff;border-radius:20px 20px 0 0;padding:1rem 1.1rem calc(1.2rem + env(safe-area-inset-bottom));box-shadow:var(--shadow)}
@media(min-width:700px){.share-sheet{align-items:center}.share-panel{border-radius:20px}}
.share-head{display:flex;align-items:center;justify-content:space-between}.share-close{border:0;background:none;font-size:1.6rem;line-height:1;cursor:pointer;color:var(--muted)}
.share-preview{margin:.2rem 0 .9rem;color:var(--muted);font-size:.88rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.share-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:.7rem .4rem}
.share-opt{display:flex;flex-direction:column;align-items:center;gap:.35rem;font-size:.76rem;font-weight:650;color:var(--ink);text-decoration:none;background:none;border:0;cursor:pointer;font-family:inherit;padding:0}
.share-opt span{display:flex;align-items:center;justify-content:center;width:50px;height:50px;border-radius:50%;background:var(--navy-50);color:var(--navy-900);font-size:1.15rem;font-weight:800}
.share-wa span{background:#25d366;color:#fff}.share-fb span{background:#1877f2;color:#fff}.share-x span{background:#111;color:#fff}.share-tg span{background:#29a9eb;color:#fff}
.pv-social{margin-top:.8rem}.pv-social .follow-button{min-width:8.5rem}
.pv-public .pv-name{margin:0 0 .3rem;font-size:1.3rem;font-weight:800;display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;letter-spacing:0}
.pv-public .pv-actions{flex-wrap:wrap}.pv-public .pv-actions .button{min-height:46px}
.svc-row-static{cursor:default}
.pv-join{margin:1.6rem 0 0;padding:1.1rem;border-radius:16px;background:var(--navy-50);display:grid;gap:.7rem;line-height:1.5}
.follow-row{display:flex;align-items:center;justify-content:space-between;gap:.8rem;flex-wrap:wrap}
.follow-who{display:flex;align-items:center;gap:.8rem;text-decoration:none;color:var(--ink);min-width:0}.follow-who>span:last-child{display:flex;flex-direction:column;gap:.15rem;min-width:0}
.follow-avatar{flex:0 0 48px;width:48px;height:48px;font-size:1.2rem;border-radius:12px}
.follow-actions{display:flex;align-items:center;gap:.6rem}
.invite-link{display:flex;gap:.6rem;align-items:center}.invite-link input{flex:1;min-width:0;font-weight:650}
.invite-actions{display:flex;gap:.6rem;flex-wrap:wrap}.invite-actions .button{flex:1;min-width:9rem;min-height:46px;display:inline-flex;align-items:center;justify-content:center}
.invite-wa{background:#25d366;color:#fff;text-decoration:none}
.share-card{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin:0 0 1.2rem;padding:1rem 1.2rem;border:1px solid var(--line);border-radius:var(--radius-lg);background:#fff}
.share-card .small-note{margin:.25rem 0 0}.share-card-actions{display:flex;gap:.6rem;flex-wrap:wrap}
.invite-link input{padding:.7rem .8rem;border:1px solid var(--line);border-radius:10px;font:inherit;font-size:.92rem;background:var(--wash)}
.profile-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:.7rem;margin:0 0 1.2rem}
.profile-shortcuts a{display:flex;flex-direction:column;gap:.2rem;padding:.9rem 1rem;border:1px solid var(--line);border-radius:14px;background:#fff;text-decoration:none;color:var(--ink)}
.profile-shortcuts span{font-size:.8rem;color:var(--muted)}
/* BUILD-026: My Garage, RevPoints */
.health-ring{position:relative;display:inline-flex;flex:0 0 var(--size);width:var(--size);height:var(--size)}
.health-ring svg{width:100%;height:100%;transform:rotate(-90deg)}
.ring-track{fill:none;stroke:#e8ecf4;stroke-width:9}.ring-fill{fill:none;stroke-width:9;stroke-linecap:round;transition:stroke-dasharray .6s ease}
.health-good .ring-fill{stroke:#1d9a5b}.health-fair .ring-fill{stroke:#e8a317}.health-poor .ring-fill{stroke:#d64545}
.ring-value{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:1px}.ring-value strong{font-size:calc(var(--size)*.3);font-weight:850;line-height:1;color:var(--ink)}.ring-value small{font-size:calc(var(--size)*.11);color:var(--muted);align-self:flex-end;margin-bottom:calc(var(--size)*.3)}
.garage-card{margin:0 0 1.2rem;padding:1rem;border:1px solid #e8ecf4;border-radius:16px;background:#fff;box-shadow:0 4px 14px rgba(16,27,51,.05)}
.mobile-home .garage-card{margin:.9rem 0 .4rem}
.garage-card-main{display:flex;gap:.9rem;align-items:center;text-decoration:none;color:var(--ink)}
.garage-card-body{display:flex;flex-direction:column;gap:.15rem;min-width:0}.garage-card-body strong{font-size:1.05rem}
.garage-card-eyebrow{font-size:.7rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.garage-card-note{font-size:.85rem;color:#3b4560}
.garage-card-foot{display:flex;align-items:center;justify-content:space-between;gap:.6rem;flex-wrap:wrap;margin-top:.8rem;padding-top:.8rem;border-top:1px solid #eef1f6}
.garage-card-foot .button{min-height:40px;padding:.5rem .9rem;font-size:.88rem}
.garage-stat{font-size:.85rem;color:var(--ink);text-decoration:none;white-space:nowrap}
.garage-done{color:var(--green-600);font-weight:750;font-size:.88rem}.garage-todo{color:var(--accent-500);font-weight:750;font-size:.85rem}
.garage-card-empty{display:grid;gap:.5rem}.garage-card-empty .button{justify-self:start}
.points-strip{display:flex;align-items:center;justify-content:space-between;gap:.6rem;flex-wrap:wrap;padding:.8rem 1rem;border-radius:14px;background:var(--navy-900);color:#fff;text-decoration:none;margin-bottom:1rem}
.points-strip .pill{background:var(--gold-500);color:var(--gold-ink)}
.streak-warn{margin:-.4rem 0 1rem;padding:.6rem .9rem;border-radius:10px;background:var(--amber-50);color:var(--amber-ink);font-weight:650;font-size:.9rem}
.garage-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:.9rem}
.garage-vehicle{display:flex;gap:1rem;align-items:center;padding:1rem;border:1px solid #e8ecf4;border-radius:16px;background:#fff;text-decoration:none;color:var(--ink)}
.garage-vehicle-body{display:flex;flex-direction:column;gap:.2rem;min-width:0}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:.8rem}
@media(max-width:520px){.form-row{grid-template-columns:1fr}}
.garage-hero{display:flex;gap:1.1rem;align-items:center;padding:1rem;border:1px solid #e8ecf4;border-radius:16px;background:#fff}
.garage-hero h2{margin:.15rem 0;font-size:1.25rem}.garage-hero .eyebrow{margin:0}.garage-hero p{margin:.1rem 0}
.health-list{list-style:none;margin:.8rem 0 0;padding:0;border:1px solid #e8ecf4;border-radius:16px;background:#fff;overflow:hidden}
.health-item{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;border-top:1px solid #eef1f6}.health-item:first-child{border-top:0}
.health-dot{flex:0 0 10px;height:10px;border-radius:50%;background:#c9d0dd}
.is-ok .health-dot{background:#1d9a5b}.is-warn .health-dot{background:#e8a317}.is-bad .health-dot{background:#d64545}
.health-label{flex:1;display:flex;flex-direction:column;min-width:0}.health-label span{font-size:.84rem;color:#5c6680}
.health-pts{font-size:.82rem;font-weight:750;color:var(--muted);white-space:nowrap}
.garage-box{padding:1rem;border:1px solid #e8ecf4;border-radius:16px;background:#fff;margin-top:.6rem}.garage-box p{margin:.2rem 0}
.check-form{display:grid;gap:.6rem}
.check-item{display:flex;align-items:center;justify-content:space-between;gap:.8rem;margin:0;padding:.55rem 0;border:0;border-top:1px solid #eef1f6}
.check-item legend{float:left;display:flex;flex-direction:column;padding:0;max-width:62%}.check-item legend span{font-size:.8rem;color:#6b7489}
.check-toggle{display:flex;border:1px solid var(--line);border-radius:999px;overflow:hidden;flex:0 0 auto;margin-left:auto}
.check-toggle label{position:relative;cursor:pointer}.check-toggle input{position:absolute;opacity:0;inset:0}
.check-toggle span{display:block;padding:.45rem .8rem;font-size:.82rem;font-weight:750;color:var(--muted)}
.check-toggle input:checked+span{background:#1d9a5b;color:#fff}.check-toggle .is-problem input:checked+span{background:#d64545}
.check-toggle input:focus-visible+span{outline:2px solid var(--accent-500);outline-offset:-2px}
.garage-problems{display:grid;gap:.5rem;margin:0 0 1rem;padding:1rem;border-radius:14px;background:var(--red-50)}.garage-problems .button{justify-self:start}
.input-pair{display:flex;align-items:center;gap:.4rem}.input-pair input{min-width:0;width:5.5rem}.input-pair span{font-size:.85rem;color:var(--muted);white-space:nowrap}
.garage-details summary{cursor:pointer}.garage-details form{margin-top:.9rem}
.check-line{display:flex;align-items:center;gap:.5rem;font-weight:600}.check-line input[type=checkbox]{width:18px;height:18px}
.form-stack .check-line,.promo-when .check-line{display:flex;flex-direction:row;align-items:center;gap:.55rem}.form-stack .check-line input:is([type=checkbox],[type=radio]){width:20px;height:20px;min-height:0;flex:0 0 auto;margin:0;padding:0}
.fuel-stats{display:grid;grid-template-columns:1fr 1fr;gap:.6rem}.fuel-stats div{display:flex;flex-direction:column;padding:.8rem 1rem;border-radius:14px;background:var(--navy-50)}.fuel-stats span{font-size:.78rem;color:var(--muted)}.fuel-stats strong{font-size:1.15rem}
.plain-list{list-style:none;margin:.6rem 0 0;padding:0}.plain-list li{display:flex;justify-content:space-between;gap:.8rem;padding:.6rem 0;border-bottom:1px solid #eef1f6;font-size:.9rem}
.history-row{display:flex;gap:.9rem;padding:.7rem 0;border-bottom:1px solid #eef1f6}.history-row p{margin:.1rem 0 0}
.history-date{flex:0 0 5.8rem;font-size:.8rem;color:var(--muted);padding-top:.1rem}
.points-hero{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;padding:1.1rem;border-radius:var(--radius-lg);background:var(--navy-900);color:#fff}
.points-hero .small-note{color:#c7cfe2;display:block}.points-big{display:block;font-size:2.6rem;font-weight:850;line-height:1.1}
.points-level{display:grid;gap:.4rem;align-content:center}.points-level .pill{justify-self:start;background:var(--gold-500);color:var(--gold-ink)}
.level-bar{height:8px;border-radius:999px;background:rgba(255,255,255,.18);overflow:hidden}.level-bar span{display:block;height:100%;background:var(--gold-500)}
.points-streak{display:grid;align-content:center;gap:.2rem}
.redeem-row{display:flex;gap:.6rem;flex-wrap:wrap}.redeem-row .button[disabled]{opacity:.45;cursor:not-allowed}
.pts-plus{color:var(--green-600)}.pts-minus{color:var(--red-600)}
.points-streak p{margin:0;font-size:1.05rem}
.earn-line{display:flex;justify-content:space-between;align-items:center;gap:1rem}.earn-line>strong{white-space:nowrap}.earn-line p{margin:.15rem 0 0}
/* Time choices as a compact list; Follow chip */
.svc-slots{display:grid;gap:.5rem}
.svc-slots-title{margin:.2rem 0 0;font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.svc-slot{display:flex;align-items:center;justify-content:space-between;gap:.8rem;padding:.7rem .85rem;border:1px solid #e8ecf4;border-radius:14px;background:#fff}
.svc-slot.is-soonest{border-color:#1f5eff;box-shadow:0 0 0 1px #1f5eff inset}
.svc-slot-when{display:flex;flex-direction:column;gap:.15rem;min-width:0}.svc-slot-when strong{font-size:.95rem}.svc-slot-when span{font-size:.8rem;color:var(--muted);display:flex;align-items:center;gap:.35rem;flex-wrap:wrap}
.svc-slot-when .pill{font-size:.68rem;padding:.1rem .45rem}
.svc-slot-act{display:flex;align-items:center;gap:.6rem;flex:0 0 auto}.svc-slot-act>strong{white-space:nowrap}
.svc-slot-act .button{min-height:38px;padding:.45rem 1rem;font-size:.88rem}
.svc-slot-lock{font-size:.82rem;font-weight:700;white-space:nowrap}
.svc-provider-link{display:flex;align-items:center;justify-content:space-between;gap:.6rem;flex-wrap:wrap}
.follow-chip{flex:0 0 auto;border:1.5px solid #1f5eff;background:#fff;color:#1f5eff;border-radius:999px;padding:.3rem .8rem;font:inherit;font-size:.8rem;font-weight:800;cursor:pointer}
.follow-chip.is-following{background:#1f5eff;color:#fff}
/* Brand colours: deep blue, deep red, deep yellow (service icons keep their own colours) */
:root{--deep-blue:#12306e;--deep-red:#c8102e;--deep-yellow:#f5b700}
.btn-red{background:var(--deep-red);color:#fff}
.app-topbar{border-bottom:3px solid transparent;border-image:linear-gradient(90deg,var(--deep-blue) 0 33.3%,var(--deep-red) 33.3% 66.6%,var(--deep-yellow) 66.6% 100%) 1}
.bell{display:flex;align-items:center;color:var(--deep-blue)}.bell .nav-icon{width:24px;height:24px}
.points-strip .pill,.points-level .pill{background:var(--deep-yellow)}
.level-bar span{background:var(--deep-yellow)}
.points-strip,.points-hero{background:var(--deep-blue)}
/* Personal greeting on the phone home screen */
.mh-greeting{margin:-.2rem 0 .9rem}
.mh-hello{margin:0;font-size:1.35rem;font-weight:500;color:var(--ink);letter-spacing:-.01em}.mh-hello strong{font-weight:850;color:var(--deep-blue)}
.mh-nudge{margin:.2rem 0 0;font-size:.9rem;color:#4a5370;line-height:1.4}
/* More sheet (opened from the bar) */
.more-sheet{position:fixed;inset:0;background:rgba(16,27,51,.5);display:flex;align-items:flex-end;justify-content:center;z-index:40}
.more-sheet[hidden]{display:none}
.more-panel{width:min(520px,100%);background:#fff;border-radius:22px 22px 0 0;padding:1rem 1.1rem calc(1.2rem + env(safe-area-inset-bottom));max-height:80vh;overflow-y:auto;border-top:4px solid var(--deep-red)}
.more-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:.8rem}.more-head strong{font-size:1.1rem}
.more-close{border:0;background:none;font-size:1.7rem;line-height:1;color:var(--muted);cursor:pointer}
.more-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:.9rem .4rem}
.more-grid a{display:flex;flex-direction:column;align-items:center;gap:.35rem;text-align:center;font-size:.74rem;font-weight:650;color:var(--ink);text-decoration:none;line-height:1.2}
.more-icon{display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:14px;background:#eef2fb;color:var(--deep-blue)}
.more-icon .nav-icon{width:22px;height:22px}
.more-grid a.active .more-icon{background:var(--deep-blue);color:var(--deep-yellow)}
.more-logout{margin-top:1.1rem;padding-top:.9rem;border-top:1px solid #eef1f6}
.more-logout button{display:flex;align-items:center;justify-content:center;gap:.5rem;width:100%;min-height:46px;border:1px solid #f3c6cd;border-radius:12px;background:#fff;color:var(--deep-red);font:inherit;font-weight:750;cursor:pointer}
.more-logout .nav-icon{width:18px;height:18px}
@media(max-width:960px){
 .app-main{padding-bottom:88px}
 .bottom-nav{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:30;align-items:flex-end;gap:0;overflow:visible;background:var(--navy-900);padding:.3rem .35rem calc(.35rem + env(safe-area-inset-bottom));border-top:3px solid transparent;border-image:linear-gradient(90deg,var(--deep-blue) 0 33.3%,var(--deep-red) 33.3% 66.6%,var(--deep-yellow) 66.6% 100%) 1;box-shadow:0 -6px 20px rgba(16,27,51,.18)}
 .bottom-nav a,.bottom-nav .nav-more{position:relative;flex:1 1 0;min-width:0;display:flex;flex-direction:column;align-items:center;gap:.2rem;padding:.35rem .15rem;border:0;border-radius:10px;background:none;color:#aeb8d3;font:inherit;font-size:.68rem;font-weight:650;text-decoration:none;cursor:pointer}
 .bottom-nav a.active,.bottom-nav .nav-more[aria-expanded="true"]{color:var(--deep-yellow);background:none}
 .bottom-nav .nav-icon{width:22px;height:22px}
 .bottom-nav .nav-home{margin-top:-28px;color:#fff}
 .bottom-nav .nav-home.active{color:var(--deep-yellow)}
 .home-disc{display:flex;align-items:center;justify-content:center;width:58px;height:58px;border-radius:50%;background:var(--deep-red);color:#fff;border:4px solid var(--navy-900);box-shadow:0 8px 18px rgba(200,16,46,.45)}
 .home-disc .nav-icon{width:26px;height:26px}
 .nav-home.active .home-disc{box-shadow:0 0 0 2px var(--deep-yellow),0 8px 18px rgba(200,16,46,.45)}
 .bottom-nav .nav-badge{position:absolute;top:0;left:calc(50% + 4px);margin:0;min-width:17px;height:17px;font-size:.62rem;background:var(--deep-red);border:2px solid var(--navy-900)}
 body.more-open{overflow:hidden}
}
@media(min-width:961px){.more-sheet{display:none!important}}
/* Chips with a ring; selected = deep blue with a deep-yellow ring */
.svc-chips{padding:2px 2px 4px}
.svc-chip{border:2px solid #c9d2e8;background:#fff;color:var(--deep-blue);font-weight:700;font-family:inherit;cursor:pointer}
.svc-chip:hover{border-color:var(--deep-blue)}
.svc-chip.active{background:var(--deep-blue);border-color:var(--deep-yellow);color:#fff}
/* Service cards: deep-blue edge, deep-red price and chevron (icons keep their colours) */
.svc-row{border-left:4px solid var(--deep-blue)}
.svc-row-price{color:var(--deep-red)}
.svc-row-chevron{color:var(--deep-red)}
/* Bookings, in the same style as Services */
.bk-desk-head{margin-bottom:1rem}
.bk-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;margin-left:.25rem;padding:0 .35rem;border-radius:999px;background:var(--deep-red);color:#fff;font-size:.72rem}
.bk-count:empty{display:none}
.bk-list{display:grid;gap:.85rem}
.bk-rate{margin:.7rem 0 .2rem;padding:.8rem .9rem;border-radius:14px;background:#fff8e1;border:1px solid #f5d77a}.bk-rate p{margin:0 0 .35rem;font-size:.9rem}.bk-rate textarea{margin:.55rem 0;width:100%}
.star-row{display:flex;align-items:center;gap:.15rem}.star-row button{border:0;background:none;padding:.1rem .15rem;font-size:2rem;line-height:1;color:#d5d9e2;cursor:pointer;transition:transform .1s,color .1s}.star-row button.on{color:var(--deep-yellow)}.star-row button:active{transform:scale(1.2)}.star-label{margin-left:.5rem;font-weight:700;font-size:.88rem;color:var(--deep-blue)}
.bk-rated{margin:.5rem 0 0;font-size:.85rem}.bk-rated .stars{color:var(--deep-yellow);letter-spacing:1px}.bk-rated .stars span{color:#d5d9e2}
.mh-rate{display:flex;align-items:center;gap:.8rem;padding:.8rem .9rem;margin:.6rem 0 .4rem;border-radius:16px;background:#fff8e1;border:1px solid #f5d77a;border-left:4px solid var(--deep-yellow);text-decoration:none;color:var(--ink)}.mh-rate .stars{color:var(--deep-yellow);font-size:1.25rem;letter-spacing:1px;flex:0 0 auto}.mh-rate strong{display:block;font-size:.92rem;line-height:1.3}.mh-rate .small-note{margin:0;font-size:.78rem}
.bk-card{position:relative;padding:1rem 1rem .9rem 1.15rem;border:1px solid #e8ecf4;border-left:4px solid var(--deep-blue);border-radius:16px;background:#fff;box-shadow:0 4px 14px rgba(16,27,51,.05)}
.bk-card.is-completed{border-left-color:#1d9a5b}.bk-card.is-cancelled{border-left-color:#b9c1d3;opacity:.85}
.bk-head{display:flex;gap:.8rem;align-items:flex-start}
.bk-icon{flex:0 0 46px;width:46px;height:46px;display:flex;align-items:center;justify-content:center;padding:11px;border-radius:50%;background:#e9f0ff;color:#1f5eff}
.bk-icon svg{width:100%;height:100%;stroke-width:2.3;fill:currentColor;fill-opacity:.18}
.bk-main{flex:1;min-width:0}
.bk-main h2{margin:0;font-size:1rem;font-weight:800;color:var(--deep-blue);line-height:1.25}
.bk-who{margin:.15rem 0 0;font-size:.82rem;color:#6b7489}
.bk-when{margin:.3rem 0 0;font-size:.9rem;font-weight:700;color:var(--ink)}
.bk-amount{flex:0 0 auto;font-weight:850;color:var(--deep-red);white-space:nowrap}
.bk-pills{display:flex;gap:.4rem;flex-wrap:wrap;margin:.7rem 0 0}
.bk-card .small-note{margin:.5rem 0 0}
.bk-card .booking-actions{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap;margin-top:.85rem;padding-top:.8rem;border-top:1px solid #eef1f6}
.bk-card .booking-actions .button{min-height:40px;padding:.5rem 1rem;font-size:.88rem}
.bk-chat{display:inline-flex;align-items:center;gap:.4rem}.bk-chat svg{width:16px;height:16px}
.bk-cancel{margin-left:auto;color:var(--deep-red);font-weight:700;font-size:.85rem}
.bk-policy-link{margin:1rem 0 0;font-size:.85rem;font-weight:700}.bk-policy-link a{color:var(--deep-blue)}
@media(max-width:960px){
 .page-bookings .app-topbar{display:none}
 .page-bookings .app-main{background:#fbfcfe;min-height:100vh}
 .page-bookings .page-shell{padding-top:.9rem}
 .bk-desk-head{display:none}
}
/* ===== Every form field, everywhere (zero specificity: page-specific rules still win) ===== */
:where(input:not([type=checkbox],[type=radio],[type=hidden],[type=file],[type=range],[type=submit],[type=button]),select,textarea){box-sizing:border-box;min-height:46px;padding:.7rem .85rem;border:1.5px solid var(--line);border-radius:12px;background:var(--paper);color:var(--ink);font:inherit;font-size:16px;line-height:1.3;transition:border-color .15s,box-shadow .15s}
:where(textarea){min-height:96px;width:100%;resize:vertical}
:where(select){appearance:none;-webkit-appearance:none;padding-right:2.4rem;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312306e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .8rem center;background-size:18px}
:where(input,select,textarea):focus-visible{outline:none;border-color:var(--deep-blue);box-shadow:0 0 0 3px rgba(18,48,110,.18)}
:where(input,select,textarea)::placeholder{color:#9aa3b5}
:where(input[type=checkbox],input[type=radio]){accent-color:var(--deep-blue);width:18px;height:18px}
/* File pickers: a dashed drop area with a real button */
.form-stack input[type=file],:where(input[type=file]){box-sizing:border-box;width:100%;min-height:auto;padding:.6rem;border:1.5px dashed #b8c4e3;border-radius:12px;background:var(--paper);color:var(--muted);font:inherit;font-size:.88rem;cursor:pointer}
input[type=file]::file-selector-button{margin-right:.8rem;padding:.55rem 1rem;border:0;border-radius:9px;background:var(--deep-blue);color:#fff;font:inherit;font-weight:750;cursor:pointer}
input[type=file]::-webkit-file-upload-button{margin-right:.8rem;padding:.55rem 1rem;border:0;border-radius:9px;background:var(--deep-blue);color:#fff;font:inherit;font-weight:750;cursor:pointer}
.form-stack textarea{width:100%}
.svc-quote input[data-qty]{width:5.5rem!important;margin:0 .4rem}

/* ===== Confirmations you can't miss: toasts ===== */
.toast-wrap{position:fixed;left:0;right:0;bottom:calc(96px + env(safe-area-inset-bottom));display:flex;flex-direction:column;align-items:center;gap:.5rem;padding:0 1rem;z-index:60;pointer-events:none}
@media(min-width:961px){.toast-wrap{bottom:2rem}}
.toast{display:flex;align-items:center;gap:.7rem;width:min(460px,100%);padding:.85rem 1rem;border-radius:14px;background:#0f7a45;color:#fff;font-weight:700;font-size:.95rem;line-height:1.35;box-shadow:0 12px 30px rgba(16,27,51,.3);pointer-events:auto;animation:toast-in .25s ease-out}
.toast.is-error{background:var(--deep-red)}.toast.is-info{background:var(--deep-blue)}
.toast-icon{flex:0 0 28px;height:28px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:rgba(255,255,255,.22);font-size:1rem}
.toast a{color:var(--deep-yellow);font-weight:800;text-decoration:none;white-space:nowrap}
.toast.is-leaving{animation:toast-out .2s ease-in forwards}
@keyframes toast-in{from{opacity:0;transform:translateY(16px) scale(.97)}to{opacity:1;transform:none}}
@keyframes toast-out{to{opacity:0;transform:translateY(10px)}}
.ok-panel{display:flex;align-items:center;gap:.8rem;flex-wrap:wrap;padding:1rem;border-radius:14px;background:var(--green-50);border:1.5px solid #8fd3ad;color:var(--green-600);font-weight:800}
.ok-panel .ok-tick{flex:0 0 34px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#0f7a45;color:#fff;font-size:1.1rem}
.ok-panel .button{margin-left:auto;min-height:40px;padding:.5rem 1rem}

/* ===== Native-app feel ===== */
html{-webkit-tap-highlight-color:transparent}
@view-transition{navigation:auto}
::view-transition-old(root){animation:vt-out .16s ease-in both}
::view-transition-new(root){animation:vt-in .2s ease-out both}
@keyframes vt-out{to{opacity:0;transform:translateX(-12px)}}
@keyframes vt-in{from{opacity:0;transform:translateX(12px)}}
.bottom-nav,.svc-chips,.more-grid{user-select:none;-webkit-user-select:none}
.bottom-nav{view-transition-name:bottom-nav}
:where(.button,.svc-row,.svc-chip,.bk-card,.garage-vehicle,.garage-card-main,.mh-category,.mh-service,.more-grid a,.quick-action,.follow-chip,.bottom-nav a,.nav-more){transition:transform .12s ease}
:where(.button,.svc-row,.svc-chip,.garage-vehicle,.garage-card-main,.mh-category,.mh-service,.more-grid a,.quick-action,.follow-chip,.bottom-nav a,.nav-more):active{transform:scale(.97)}
@media(display-mode:standalone){.app-topbar{padding-top:calc(1rem + env(safe-area-inset-top))}.mobile-home{padding-top:env(safe-area-inset-top)}}
@media(prefers-reduced-motion:reduce){::view-transition-old(root),::view-transition-new(root){animation:none}}
.install-tile{display:none}.install-tile.is-ready{display:flex}
/* Phone browser tab: invite people to the installed, full-screen app (no address bar). Sits just above the bottom nav. */
.app-banner{position:fixed;left:.6rem;right:.6rem;bottom:calc(84px + env(safe-area-inset-bottom));z-index:35;display:flex;align-items:center;gap:.6rem;padding:.65rem .6rem .65rem .85rem;border-radius:14px;background:var(--navy-900);color:#fff;box-shadow:0 10px 28px rgba(8,16,40,.35);transform:translateY(140%);opacity:0;transition:transform .3s ease,opacity .3s ease}
.app-banner.show{transform:none;opacity:1}
.app-banner img{width:38px;height:38px;border-radius:9px;flex:none}
.app-banner p{margin:0;flex:1;min-width:0;font-size:.82rem;line-height:1.3}.app-banner p strong{display:block;font-size:.92rem}
.app-banner .app-banner-go{flex:none;border:0;border-radius:999px;padding:.55rem .95rem;background:var(--deep-yellow);color:var(--navy-900);font:inherit;font-weight:750;font-size:.85rem;cursor:pointer}
.app-banner .app-banner-x{flex:none;border:0;background:none;color:#aeb8d3;font-size:1.35rem;line-height:1;padding:.2rem .3rem;cursor:pointer}
@media(min-width:961px){.app-banner{display:none}}
.app-pop{position:fixed;inset:0;z-index:80;display:flex;align-items:flex-end;justify-content:center;padding:1rem 1rem calc(1rem + env(safe-area-inset-bottom));background:rgba(8,16,40,.55);opacity:0;transition:opacity .25s ease}
.app-pop.show{opacity:1}
.app-pop-card{width:100%;max-width:420px;border-radius:20px;background:var(--navy-900);color:#fff;padding:1.4rem 1.3rem 1rem;text-align:center;box-shadow:0 18px 50px rgba(0,0,0,.4);transform:translateY(30px);transition:transform .3s ease}
.app-pop.show .app-pop-card{transform:none}
.app-pop-card img{width:64px;height:64px;border-radius:15px}
.app-pop-card h2{margin:.7rem 0 .5rem;font-size:1.25rem;color:#fff}
.app-pop-card ul{list-style:none;margin:0 0 1rem;padding:0;display:grid;gap:.35rem;font-size:.92rem;color:#d6dcec}.app-pop-card li::before{content:"✓ ";color:var(--deep-yellow);font-weight:800}
.app-pop-ios{margin:0 0 .9rem;font-size:.92rem;color:#d6dcec}
.app-pop-go{display:block;width:100%;border:0;border-radius:999px;padding:.85rem 1rem;background:var(--deep-yellow);color:var(--navy-900);font:inherit;font-weight:800;font-size:1rem;cursor:pointer}
.app-pop-x{display:block;width:100%;margin-top:.4rem;border:0;background:none;color:#aeb8d3;font:inherit;font-weight:650;padding:.6rem;cursor:pointer}

/* ===== Bottom bar: deep blue ===== */
@media(max-width:960px){
 .bottom-nav{background:#12306e}
 .home-disc{border-color:#12306e}
 .bottom-nav .nav-badge{border-color:#12306e}
 .bottom-nav a,.bottom-nav .nav-more{color:#c6d2f0}
}

/* ===== Light / dark switch ===== */
.theme-switch{display:flex;gap:.3rem;padding:.25rem;border-radius:12px;background:var(--navy-50)}
.theme-switch button{flex:1;min-height:38px;border:0;border-radius:9px;background:none;color:var(--ink);font:inherit;font-size:.84rem;font-weight:700;cursor:pointer}
.theme-switch button[aria-pressed="true"]{background:var(--paper);color:var(--deep-blue);box-shadow:0 1px 4px rgba(16,27,51,.15)}
.more-theme{margin-top:1rem}.more-theme p{margin:0 0 .45rem;font-size:.8rem;font-weight:800;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}
.sidebar-theme{padding:.6rem .4rem 0}.sidebar-theme .theme-switch{background:rgba(255,255,255,.08)}.sidebar-theme .theme-switch button{color:#c9d2ea}.sidebar-theme .theme-switch button[aria-pressed="true"]{background:#fff;color:var(--deep-blue)}
.more-install{width:100%;min-height:46px;margin-top:1rem;align-items:center;justify-content:center;gap:.5rem;border:0;border-radius:12px;background:var(--deep-yellow);color:var(--gold-ink);font:inherit;font-weight:800;cursor:pointer}
/* No sideways wobble: cards with a thick left edge stay inside the screen */
.svc-row,.svc-offer,.bk-card,.mh-service{box-sizing:border-box;max-width:100%}
.app-shell,.app-main{overflow-x:clip}
/* Home: deep-blue header band, floating search, accents */
.mh-hero{margin:-.9rem -1rem 0;padding:1rem 1rem 2.4rem;background:radial-gradient(circle at 88% 0,rgba(245,183,0,.22) 0,rgba(245,183,0,0) 38%),radial-gradient(circle at 0 100%,rgba(200,16,46,.28) 0,rgba(200,16,46,0) 45%),linear-gradient(160deg,#12306e 0%,#0d2457 60%,#0a1b44 100%);border-radius:0 0 26px 26px;color:#fff}
@media(display-mode:standalone){.mh-hero{padding-top:calc(1rem + env(safe-area-inset-top))}}
.mh-hero .mh-header{margin-bottom:.9rem}
.mh-hero :is(.mh-location,.mh-location *,.loc-trigger,.loc-trigger *){color:#fff}
.mh-hero .mh-bell{color:#fff}
.mh-hero .mh-avatar{background:#fff;color:#12306e;box-shadow:0 0 0 2px rgba(245,183,0,.9)}
.mh-hero .mh-greeting{margin:0}
.mh-hero .mh-hello{color:#fff;font-size:1.45rem}.mh-hero .mh-hello strong{color:#f5b700}
.mh-hero .mh-nudge{color:#d5def3}
.mobile-home .mh-search{margin-top:-1.55rem;position:relative;z-index:2}
.mobile-home .mh-search input{background:#fff;box-shadow:0 10px 24px rgba(13,36,87,.22);border-color:transparent}
.mobile-home .garage-card{box-shadow:0 8px 22px rgba(16,27,51,.08)}
.mh-section-head h2{display:flex;align-items:center;gap:.5rem}
.mh-section-head h2::before{content:'';width:4px;height:1.05em;border-radius:2px;background:var(--deep-red)}
.mh-category-icon{box-shadow:0 6px 14px rgba(31,94,255,.14)}
/* Popular services cards look like the Services cards */
.mh-service{border-left:4px solid var(--deep-blue)}
.mh-service-price{color:var(--deep-red)}
.mh-service-arrow{color:var(--deep-red)}
/* Banners: square corners, nothing cut off in landscape */
.mh-track,.mh-promo{border-radius:0}
.mh-promo{aspect-ratio:2.4/1;min-height:150px}
.mh-promo.has-image{background-size:cover;background-position:center right}
@media(orientation:landscape) and (max-height:600px){.mh-carousel{max-width:620px;margin-left:auto;margin-right:auto}}
.my-parts{margin-bottom:.8rem}
.svc-list,.bk-list{grid-template-columns:minmax(0,1fr)}
.svc-offer,.svc-list>*{min-width:0}
.form-stack select,:where(select){background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312306e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .8rem center;background-size:18px;padding-right:2.4rem;appearance:none;-webkit-appearance:none}
/* BUILD-027: parts store */
.shop-desk-head{margin-bottom:1rem}
.pr-search{display:grid;gap:.6rem;margin-bottom:.9rem}
.pr-search-box{display:flex;align-items:center;gap:.6rem;padding:0 .9rem;border:1.5px solid var(--line);border-radius:14px;background:var(--paper)}
.pr-search-box svg{width:20px;height:20px;flex:0 0 auto;color:var(--muted)}
.pr-search-box input{flex:1;min-width:0;border:0!important;box-shadow:none!important;background:none!important;padding-left:0}
.pr-fit{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;padding:.6rem .8rem;border-radius:12px;background:var(--green-50);color:var(--green-600);font-weight:700;font-size:.9rem}
.pr-fit-toggle{display:flex;align-items:center;gap:.5rem;cursor:pointer}
.pr-fit select{min-height:38px;padding:.3rem 2.2rem .3rem .6rem;font-size:.88rem}
.pr-fit-hint{margin:0}.pr-fit-note{margin:-.3rem 0 .8rem;font-size:.85rem;color:var(--muted)}
.shop-strip{display:flex;gap:.7rem;overflow-x:auto;scrollbar-width:none;margin:0 0 1.3rem;padding-bottom:4px}
.shop-strip::-webkit-scrollbar{display:none}
.shop-tile{flex:0 0 150px;display:flex;flex-direction:column;gap:.2rem;padding:.9rem;border:1px solid #e8ecf4;border-top:4px solid var(--deep-red);border-radius:16px;background:#fff;text-decoration:none;color:var(--ink);box-shadow:0 4px 14px rgba(16,27,51,.05)}
.shop-tile strong{font-size:.9rem;line-height:1.25}.shop-tile .small-note{margin:0;font-size:.76rem}
.shop-logo{display:flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:12px;background:var(--deep-blue);color:#fff;font-weight:850;font-size:1.2rem;overflow:hidden;margin-bottom:.35rem}
.shop-logo img{width:100%;height:100%;object-fit:cover}.shop-logo.is-big{width:72px;height:72px;border-radius:18px;font-size:1.8rem;margin:0}
.pr-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:.75rem;margin-bottom:1.2rem}
.pr-card{display:flex;flex-direction:column;min-width:0;border:1px solid #e8ecf4;border-radius:16px;background:#fff;overflow:hidden;text-decoration:none;color:var(--ink);box-shadow:0 4px 14px rgba(16,27,51,.05)}
.pr-card.is-out{opacity:.7}
.pr-photo{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:1/1;background:#f4f6fa;color:#1f5eff}
.pr-photo img{width:100%;height:100%;object-fit:cover}.pr-photo>svg{width:42%;height:42%;opacity:.55}
.pr-flag{position:absolute;left:.45rem;bottom:.45rem;padding:.18rem .5rem;border-radius:999px;background:rgba(16,27,51,.82);color:#fff;font-size:.7rem;font-weight:800}
.pr-flag.is-fit{background:#0f7a45}
.pr-body{display:flex;flex-direction:column;gap:.15rem;padding:.65rem .75rem .8rem;min-width:0}
.pr-body strong{font-size:.9rem;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.pr-meta,.pr-shop{font-size:.74rem;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pr-price{margin-top:.2rem;font-weight:850;color:var(--deep-red)}
.pr-request{margin-top:.4rem}
.shop-hero{display:flex;gap:1rem;align-items:center;padding:1.1rem;border-radius:18px;color:#fff;background:radial-gradient(circle at 92% 0,rgba(245,183,0,.25) 0,rgba(245,183,0,0) 40%),linear-gradient(150deg,#12306e,#0a1b44)}
.shop-hero h2{margin:0;font-size:1.25rem}.shop-hero p{margin:.2rem 0 0;color:#d5def3;font-size:.86rem}
.shop-hero .shop-logo{background:#fff;color:#12306e}
.shop-away{color:#ffd76a!important;font-weight:700}
.pd-gallery{display:flex;gap:.5rem;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;margin:0 -1rem;padding:0 1rem}
.pd-gallery::-webkit-scrollbar{display:none}
.pd-gallery img,.pd-noimg{flex:0 0 100%;aspect-ratio:1/1;max-height:420px;object-fit:cover;border-radius:18px;scroll-snap-align:center;background:#f4f6fa}
.pd-noimg{display:flex;align-items:center;justify-content:center;color:#1f5eff}.pd-noimg svg{width:30%;height:30%;opacity:.5}
.pd-swipe{text-align:center;margin:.4rem 0 0}
.pd-head{margin-top:1rem}.pd-head .eyebrow{margin:0}.pd-head h2{margin:.2rem 0;font-size:1.3rem;line-height:1.25}
.pd-price{margin:0;font-size:1.5rem;font-weight:900;color:var(--deep-red)}
.pd-fit{display:grid;gap:.2rem;margin-top:1rem;padding:.8rem 1rem;border-radius:14px;background:var(--navy-50);font-size:.9rem}
.pd-fit.is-yes{background:var(--green-50);color:var(--green-600)}.pd-fit.is-no{background:var(--amber-50);color:var(--amber-ink)}
.pd-buy{display:grid;gap:.8rem;margin-top:1rem}
.fits-box{border:1.5px dashed var(--line);border-radius:14px;padding:.8rem;display:grid;gap:.6rem}
.fits-box legend{font-weight:800;padding:0 .3rem}
.fits-row{display:grid;grid-template-columns:1fr 1fr .7fr .7fr;gap:.4rem;margin-bottom:.4rem}
@media(max-width:520px){.fits-row{grid-template-columns:1fr 1fr}}
.pd-thumbs{display:flex;gap:.6rem;flex-wrap:wrap}.pd-thumb{display:grid;gap:.3rem;width:90px;font-size:.78rem}.pd-thumb img{width:90px;height:90px;object-fit:cover;border-radius:10px}
.ds-row{display:flex;align-items:center;gap:.8rem;flex-wrap:wrap}.ds-row.is-hidden{opacity:.6}
.ds-photo{flex:0 0 56px;width:56px;height:56px;border-radius:12px;overflow:hidden;background:#f4f6fa}.ds-photo img{width:100%;height:100%;object-fit:cover}
.ds-body{flex:1;min-width:160px;display:flex;flex-direction:column;gap:.15rem}.ds-body .small-note{margin:0}
.ds-actions{display:flex;align-items:center;gap:.7rem;flex-wrap:wrap}.ds-actions .button{min-height:38px;padding:.4rem .9rem}
.follow-chip-inline{font-weight:800}
@media(max-width:960px){.page-shop-index .app-topbar,.page-shop-dealer .app-topbar,.page-shop-product .app-topbar{display:none}.shop-desk-head{display:none}.page-shop-index .page-shell,.page-shop-dealer .page-shell,.page-shop-product .page-shell{padding-top:.9rem}}
/* BUILD-028: Community */
.cm-hero{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;padding:1.1rem;margin-bottom:1rem;border-radius:18px;color:#fff;background:radial-gradient(circle at 95% 0,rgba(245,183,0,.25) 0,rgba(245,183,0,0) 40%),linear-gradient(150deg,#12306e,#0a1b44)}
.cm-hero strong{font-size:1.15rem}.cm-hero p{margin:.2rem 0 0;color:#d5def3;font-size:.88rem;max-width:42ch}
.cm-list{display:grid;gap:.75rem;grid-template-columns:minmax(0,1fr);margin-bottom:1.2rem}
.cm-note{margin:-.4rem 0 .8rem}
.cm-q{display:grid;gap:.3rem;padding:.9rem 1rem;border:1px solid #e8ecf4;border-left:4px solid var(--deep-blue);border-radius:16px;background:#fff;text-decoration:none;color:var(--ink);box-shadow:0 4px 14px rgba(16,27,51,.05)}
.cm-q strong{font-size:.98rem;line-height:1.3}.cm-q .small-note{margin:0}
.cm-q-foot{display:flex;gap:.4rem;flex-wrap:wrap}
.cm-post,.cm-answer,.cm-question{display:grid;gap:.6rem;padding:1rem;border:1px solid #e8ecf4;border-radius:16px;background:#fff;box-shadow:0 4px 14px rgba(16,27,51,.05)}
.cm-question h2{margin:0;font-size:1.2rem;line-height:1.3}.cm-question .small-note{margin:0}
.cm-answer.is-best{border:2px solid #1d9a5b;background:#f3fbf6}
.cm-best{justify-self:start;padding:.2rem .6rem;border-radius:999px;background:#1d9a5b;color:#fff;font-size:.75rem;font-weight:800}
.cm-post-head{display:flex;align-items:center;gap:.7rem;text-decoration:none;color:var(--ink)}.cm-post-head .shop-logo{margin:0;width:42px;height:42px;font-size:1rem}
.cm-post-head>span:last-child{display:flex;flex-direction:column}.cm-post-head .small-note{margin:0}
.cm-post-body{margin:0;white-space:pre-line;line-height:1.55}
.cm-post-photo{width:100%;max-height:360px;object-fit:cover;border-radius:12px}
.cm-edit{margin-top:.6rem}.cm-edit>summary{list-style:none;display:inline-flex;cursor:pointer;min-height:38px;padding:.45rem .95rem;font-size:.86rem}.cm-edit>summary::-webkit-details-marker{display:none}.cm-edit[open]>summary{margin-bottom:.7rem}.cm-edit form{padding:.85rem;border:1px solid #dbe3f0;border-radius:14px;background:#f7f9fd}
.cm-actions{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap}.cm-actions .button{min-height:40px;padding:.5rem 1rem;font-size:.88rem}
.cm-report{margin-left:auto}.cm-report .link-button{font-size:.8rem;color:var(--muted)}
.cm-wait{margin:0;padding:.7rem .9rem;border-radius:12px;background:var(--amber-50);color:var(--amber-ink);font-size:.88rem}
.cm-tools{display:grid;gap:.6rem;margin-top:1rem}.cm-tools summary{cursor:pointer}.cm-tools form{margin-top:.9rem}
.live-tile{flex:0 0 220px;display:grid;gap:.3rem;padding:.9rem;border-radius:16px;background:#fff;border:1px solid #e8ecf4;border-top:4px solid var(--deep-blue);text-decoration:none;color:var(--ink);box-shadow:0 4px 14px rgba(16,27,51,.05)}
.live-tile.is-live{border-top-color:var(--deep-red)}
.live-tile strong{font-size:.92rem;line-height:1.3}.live-tile .small-note{margin:0;font-size:.76rem}
.live-badge{justify-self:start;padding:.15rem .55rem;border-radius:999px;background:var(--navy-50);color:var(--deep-blue);font-size:.72rem;font-weight:850}
.live-tile.is-live .live-badge,.live-hero.is-live .live-badge{background:var(--deep-red);color:#fff;animation:live-pulse 1.6s ease-in-out infinite}
@keyframes live-pulse{50%{opacity:.65}}
.live-hero{display:grid;gap:.4rem;padding:1.2rem;border-radius:18px;color:#fff;background:radial-gradient(circle at 95% 0,rgba(200,16,46,.35) 0,rgba(200,16,46,0) 45%),linear-gradient(150deg,#12306e,#0a1b44)}
.live-hero .live-badge{background:rgba(255,255,255,.15);color:#fff}
.live-hero h2{margin:0;font-size:1.3rem;line-height:1.3}.live-hero p{margin:0;color:#d5def3}.live-hero a{color:#f5b700}
.live-desc{font-size:.9rem}
.live-chat{display:flex;flex-direction:column;margin-top:1rem;border:1px solid #e8ecf4;border-radius:16px;background:#fff;overflow:hidden}
.live-pinned{display:grid;gap:.3rem;padding:.7rem .9rem;background:var(--amber-50);color:var(--amber-ink);font-size:.86rem;border-bottom:1px solid #f3e2bd}
.live-log{display:flex;flex-direction:column;gap:.55rem;height:min(55vh,460px);overflow-y:auto;padding:.9rem}
.live-msg{display:grid;gap:.15rem;max-width:88%;padding:.55rem .75rem;border-radius:14px;background:#f4f6fa;align-self:flex-start}
.live-msg.is-host{background:#e9f0ff;border-left:3px solid var(--deep-blue)}.live-msg.is-mine{align-self:flex-end;background:#fff4d6}
.live-msg.is-hidden{opacity:.45}
.live-who{font-size:.78rem;font-weight:800;color:var(--deep-blue)}.live-who .small-note{font-weight:500}.live-who .pill{font-size:.62rem;padding:.05rem .4rem}
.live-body{white-space:pre-line;font-size:.92rem;line-height:1.45}
.live-tools{display:flex;gap:.5rem}.live-tools button{border:0;background:none;color:var(--muted);font:inherit;font-size:.74rem;font-weight:700;cursor:pointer;padding:0}
.live-input{display:flex;gap:.5rem;padding:.6rem;border-top:1px solid #eef1f6}.live-input input{flex:1;min-width:0}.live-input .button{min-height:46px}
.live-empty{margin:auto;text-align:center;max-width:30ch}
.mh-live{display:flex;align-items:center;gap:.8rem;padding:.8rem .9rem;margin:.6rem 0 .4rem;border-radius:16px;background:#fff;border:1px solid #e8ecf4;border-left:4px solid var(--deep-red);text-decoration:none;color:var(--ink);box-shadow:0 6px 16px rgba(16,27,51,.06)}
.mh-live .live-badge{flex:0 0 auto}.mh-live strong{display:block;font-size:.92rem;line-height:1.3}.mh-live .small-note{margin:0;font-size:.78rem}
.pv-stats{margin:.2rem 0 0;font-size:.82rem;color:var(--muted)}
@media(max-width:960px){.page-community .app-topbar,.page-community-ask .app-topbar,.page-community-question .app-topbar,.page-live-show .app-topbar{display:none}.page-community .page-shell,.page-community-ask .page-shell,.page-community-question .page-shell,.page-live-show .page-shell{padding-top:.9rem}}
/* BUILD-030 reels: photos played as a moving story — slow zoom/pan per photo, captions, story-style progress bars. */
.reels-page{max-width:460px;margin:0 auto}.reels-head{display:flex;align-items:center;gap:.6rem;margin-bottom:.6rem}.reels-head h1{margin:0;font-size:1.3rem;flex:1}.reels-head .button{min-height:38px;padding:.45rem .9rem;font-size:.86rem}
.reels-feed{height:calc(100dvh - 210px);overflow-y:auto;scroll-snap-type:y mandatory;overscroll-behavior:contain;scrollbar-width:none;border-radius:18px}.reels-feed::-webkit-scrollbar{display:none}
.reel{position:relative;height:100%;scroll-snap-align:start;scroll-snap-stop:always;background:#05070d;overflow:hidden;border-radius:18px;margin-bottom:8px;color:#fff}
.reel-stage{position:absolute;inset:0;overflow:hidden;user-select:none;-webkit-user-select:none}
.reel-stage::after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(180deg,rgba(0,0,0,.45) 0,transparent 16%,transparent 52%,rgba(0,0,0,.8) 100%)}
.reel-slide{position:absolute;inset:0;margin:0;opacity:0;transition:opacity .7s ease}.reel-slide.is-on{opacity:1;z-index:1}
.reel-slide img{width:100%;height:100%;object-fit:cover;display:block;will-change:transform;transform:scale(1.08)}
.reel-slide.kb-0.is-on img{animation:reelZoomIn 4.4s ease-out both}.reel-slide.kb-1.is-on img{animation:reelPanLeft 4.4s ease-in-out both}.reel-slide.kb-2.is-on img{animation:reelZoomOut 4.4s ease-out both}.reel-slide.kb-3.is-on img{animation:reelPanUp 4.4s ease-in-out both}
@keyframes reelZoomIn{from{transform:scale(1)}to{transform:scale(1.2)}}@keyframes reelZoomOut{from{transform:scale(1.22)}to{transform:scale(1.02)}}
@keyframes reelPanLeft{from{transform:scale(1.16) translateX(5%)}to{transform:scale(1.16) translateX(-5%)}}@keyframes reelPanUp{from{transform:scale(1.16) translateY(5%)}to{transform:scale(1.16) translateY(-4%)}}
.reel-slide figcaption{position:absolute;left:16px;right:74px;bottom:34%;z-index:3;opacity:0}.reel-slide.is-on figcaption{animation:reelCap .55s .35s cubic-bezier(.2,.8,.2,1) both}
.reel-slide figcaption span{background:var(--deep-yellow);color:#1a1200;font-weight:900;font-size:1.4rem;line-height:1.5;padding:.12rem .5rem;-webkit-box-decoration-break:clone;box-decoration-break:clone;border-radius:4px}
@keyframes reelCap{from{opacity:0;transform:translateY(22px) scale(.96)}to{opacity:1;transform:none}}
.reel.is-paused .reel-slide.is-on img,.reel.is-paused .reel-slide.is-on figcaption{animation-play-state:paused}
.reel-bars{position:absolute;top:10px;left:10px;right:10px;display:flex;gap:4px;z-index:4}.reel-bars span{flex:1;height:3px;border-radius:3px;background:rgba(255,255,255,.35);overflow:hidden}.reel-bars i{display:block;height:100%;width:0;background:#fff}
@keyframes reelbar{to{width:100%}}
.reel-tap{position:absolute;top:0;bottom:0;z-index:3;background:none;border:0;padding:0;-webkit-tap-highlight-color:transparent;cursor:pointer}.reel-tap.is-prev{left:0;width:33%}.reel-tap.is-next{right:0;width:67%}
.reel-paused{position:absolute;inset:0;margin:auto;width:64px;height:64px;display:grid;place-items:center;border-radius:50%;background:rgba(0,0,0,.45);font-size:1.3rem;z-index:4;opacity:0;transition:opacity .2s;pointer-events:none}.reel.is-paused .reel-paused{opacity:1}
.reel-info{position:absolute;left:14px;right:76px;bottom:16px;z-index:5}.reel-who{display:inline-flex;align-items:center;gap:.5rem;color:#fff;text-decoration:none;font-size:.92rem}.reel-who .shop-logo{width:34px;height:34px;font-size:.9rem;border:2px solid #fff}
.reel-info h2{margin:.45rem 0 .65rem;font-size:1.05rem;line-height:1.3;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.55)}
.reel-cta{display:flex;align-items:center;gap:.7rem;flex-wrap:wrap}.reel-price{font-weight:900;font-size:1rem;background:rgba(255,255,255,.16);padding:.4rem .65rem;border-radius:10px;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.reel-cta .button{min-height:40px;padding:.5rem 1.15rem}
.reel-rail{position:absolute;right:10px;bottom:22px;z-index:5;display:flex;flex-direction:column;gap:1rem;align-items:center}
.reel-act{display:flex;flex-direction:column;align-items:center;gap:.15rem;background:none;border:0;color:#fff;cursor:pointer;list-style:none;padding:0;font:inherit}.reel-act::-webkit-details-marker{display:none}
.reel-ico{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:rgba(0,0,0,.38);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);font-size:1.3rem;transition:transform .15s}
.reel-act.is-on .reel-ico{color:var(--deep-red);background:#fff}.reel-act small{font-size:.74rem;font-weight:700}.reel-act.pop .reel-ico{animation:reelPop .35s}@keyframes reelPop{50%{transform:scale(1.28)}}
.reel-more{position:relative}.reel-more .cm-report{position:absolute;right:54px;bottom:8px;margin:0;background:#fff;border-radius:10px;padding:.5rem .85rem;box-shadow:0 6px 18px rgba(0,0,0,.3)}.reel-more .cm-report .link-button{color:var(--deep-red);font-size:.85rem}
.reel.is-still .reel-slide img,.reel.is-still .reel-slide figcaption{animation:none!important;opacity:1;transform:none}
.reel-strip{display:flex;gap:.6rem;overflow-x:auto;padding:.2rem 0 .7rem;scroll-snap-type:x mandatory;scrollbar-width:none}.reel-strip::-webkit-scrollbar{display:none}
.reel-tile{position:relative;flex:0 0 116px;height:146px;border-radius:14px;background:#0c1322 center/135% no-repeat;scroll-snap-align:start;overflow:hidden;color:#fff;text-decoration:none;animation:reelTilePan 7s ease-in-out infinite alternate}
.reel-tile:nth-child(2n){animation-delay:-3s}.reel-tile::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 40%,rgba(0,0,0,.8))}
@keyframes reelTilePan{from{background-position:25% 40%}to{background-position:75% 60%}}
.reel-tile-play{position:absolute;top:8px;left:8px;z-index:2;width:26px;height:26px;border-radius:50%;background:var(--deep-red);display:grid;place-items:center;font-size:.65rem;box-shadow:0 0 0 3px rgba(255,255,255,.35)}
.reel-tile-text{position:absolute;left:8px;right:8px;bottom:8px;z-index:2}.reel-tile-text strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:.78rem;line-height:1.2}.reel-tile-text small{display:block;font-size:.66rem;opacity:.85;margin-top:.15rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.reel-captions{display:grid;gap:.55rem}.form-stack .reel-cap-row{display:flex;flex-direction:row;gap:.65rem;align-items:center}.reel-cap-row img{width:56px;height:70px;object-fit:cover;border-radius:8px;flex:0 0 auto}.reel-cap-row span{flex:1;display:grid;gap:.25rem;font-size:.82rem;min-width:0}
.reel-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:.8rem}.reel-card{display:grid;gap:.3rem;align-content:start}.reel-card strong{font-size:.88rem;line-height:1.3}
.reel-thumb{aspect-ratio:4/5;border-radius:14px;background:#0c1322 center/cover;position:relative;display:block}.reel-thumb span{position:absolute;left:8px;bottom:8px;background:rgba(0,0,0,.55);color:#fff;font-size:.75rem;font-weight:700;padding:.15rem .45rem;border-radius:8px}
.pd-reel{display:flex;align-items:center;gap:.65rem;margin:1rem 0 0;padding:.75rem .9rem;border-radius:14px;color:#fff;font-weight:800;text-decoration:none;background:linear-gradient(90deg,rgba(18,48,110,.94),rgba(18,48,110,.55)),var(--cover) center/cover}.pd-reel span{width:32px;height:32px;border-radius:50%;background:var(--deep-red);display:grid;place-items:center;font-size:.8rem}
@media (prefers-reduced-motion:reduce){.reel-slide img,.reel-slide figcaption,.reel-tile{animation:none!important}.reel-slide figcaption{opacity:1}}
/* BUILD-031 market insights. One sequential blue ramp (light→dark = quiet→busy); hatched cells = fewer than 5 people. */
.ins{--ins-0:#eef2f9;--ins-1:#d3def3;--ins-2:#a9bfe8;--ins-3:#6f93d6;--ins-4:#3561b8;--ins-5:#12306e;--ins-bar:#3561b8;--ins-bar-hover:#12306e;--ins-grid:#dbe3f0}
.ins-intro{margin:.2rem 0 .9rem;color:var(--muted);line-height:1.5}
.ins-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:.6rem;align-items:end;margin:0 0 1rem}.ins-filters label{display:grid;gap:.25rem;font-size:.8rem;font-weight:700;color:var(--muted);min-width:0}.ins-filters select{min-height:42px;width:100%;min-width:0}
.ins-filter-actions{display:flex;gap:.5rem;flex-wrap:wrap;grid-column:1/-1}.ins-filter-actions .button{min-height:42px}
.ins-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;margin-bottom:.8rem}
.ins-tile{padding:.85rem .95rem;border-radius:16px;background:#fff;border:1px solid #e8ecf4;border-top:3px solid var(--deep-blue);display:grid;gap:.15rem}.ins-tile:nth-child(2){border-top-color:var(--deep-red)}
.ins-tile span{font-size:.78rem;font-weight:700;color:var(--muted)}.ins-tile strong{font-size:1.6rem;line-height:1.15;color:var(--ink)}.ins-tile small{font-size:.74rem;color:var(--muted)}
.ins-up{color:#167a3e;font-weight:800}.ins-down{color:#b3261e;font-weight:800}
.ins-peaks{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem;margin:.2rem 0 .9rem}.ins-peaks>span{font-size:.8rem;font-weight:700;color:var(--muted);margin-right:.2rem}
.ins-peak{padding:.3rem .65rem;border-radius:999px;background:#eef2f9;color:var(--deep-blue);font-size:.82rem}.ins-peak.is-top{background:var(--deep-yellow);color:#1a1200}
.ins-card{background:#fff;border:1px solid #e8ecf4;border-radius:18px;padding:1rem;margin-bottom:.9rem;box-shadow:0 4px 14px rgba(16,27,51,.04)}
.ins-card-head{display:flex;align-items:baseline;justify-content:space-between;gap:.6rem;flex-wrap:wrap;margin-bottom:.75rem}.ins-card-head h2{margin:0;font-size:1rem}
.ins-heat{display:grid;gap:3px}.ins-heat-row{display:grid;grid-template-columns:34px repeat(8,minmax(0,1fr));gap:3px;align-items:center}
.ins-heat-head span{font-size:.6rem;color:var(--muted);text-align:center;line-height:1.15;white-space:normal}.ins-heat-day{font-size:.74rem;font-weight:700;color:var(--muted)}
.ins-cell{display:block;height:26px;border-radius:5px;background:var(--ins-0);cursor:pointer;outline-offset:2px}.ins-cell:hover,.ins-cell:focus-visible{outline:2px solid var(--deep-yellow)}
.ins-cell.s1{background:var(--ins-1)}.ins-cell.s2{background:var(--ins-2)}.ins-cell.s3{background:var(--ins-3)}.ins-cell.s4{background:var(--ins-4)}.ins-cell.s5{background:var(--ins-5)}
.ins-cell.is-few{background:repeating-linear-gradient(45deg,var(--ins-0) 0 3px,var(--ins-grid) 3px 5px)}
.ins-legend{display:flex;align-items:center;gap:3px;margin-top:.6rem;font-size:.7rem;color:var(--muted)}.ins-legend i{width:18px;height:10px;border-radius:3px;cursor:default}.ins-legend span:first-child{margin-right:.3rem}.ins-legend span:last-child{margin-left:.3rem}
.ins-bars{display:block;width:100%;height:150px}.ins-bars rect{fill:var(--ins-bar);cursor:pointer}.ins-bars rect:hover{fill:var(--ins-bar-hover)}.ins-axis{stroke:var(--ins-grid);stroke-width:.3}
.ins-bars-x{display:flex;justify-content:space-between;font-size:.72rem;color:var(--muted);margin-top:.3rem}
.ins-rank{list-style:none;margin:0;padding:0;display:grid;gap:.55rem}.ins-rank li{display:grid;grid-template-columns:minmax(0,38%) minmax(0,1fr) auto auto;align-items:center;gap:.55rem;font-size:.86rem}
.ins-rank-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.ins-rank-bar{height:10px;border-radius:5px;background:var(--ins-0);overflow:hidden}.ins-rank-bar i{display:block;height:100%;border-radius:5px;background:var(--ins-bar)}.ins-rank b{font-variant-numeric:tabular-nums}
.ins-table-wrap{overflow-x:auto;margin:0 -.2rem}.ins-table{width:100%;border-collapse:collapse;font-size:.84rem}.ins-table td small{display:block;font-size:.72rem}.ins-table th:not(:first-child),.ins-table td:not(:first-child){text-align:right}.ins-table th{text-align:left;font-size:.72rem;color:var(--muted);font-weight:700;padding:.4rem .5rem;border-bottom:1px solid var(--ins-grid)}.ins-table td{padding:.5rem;border-bottom:1px solid #f0f3f8;font-variant-numeric:tabular-nums}
.ins-hot{color:var(--deep-red)}.ins-hot-tag{font-size:.72rem;font-weight:700;color:var(--deep-red);white-space:nowrap}
.ins-mine-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:.7rem}.ins-mine-grid div{display:grid;gap:.1rem}.ins-mine-grid strong{font-size:1.35rem}.ins-mine-grid span{font-size:.78rem;color:var(--muted)}.ins-mine-grid em{font-style:normal;margin-left:.2rem}
.ins-note{margin:.8rem 0 0;padding:.65rem .8rem;border-radius:12px;background:#eef2f9;font-size:.86rem;line-height:1.45}
.ins-advice{display:block;padding:.8rem .9rem;border-radius:14px;background:#fff8e1;border:1px solid #f5d77a;margin-bottom:.8rem;font-size:.88rem;line-height:1.45}
.ins-tip{position:absolute;z-index:3000;padding:.4rem .6rem;border-radius:8px;background:#101b33;color:#fff;font-size:.78rem;font-weight:700;pointer-events:none;white-space:nowrap;box-shadow:0 6px 16px rgba(0,0,0,.25)}
@media print{.sidebar,.bottom-nav,.app-topbar,.ins-filters .ins-filter-actions,.ins-tip{display:none!important}.ins-card,.ins-tile{break-inside:avoid;box-shadow:none}}
/* Guest pages (log in, sign up, password): same deep blue / red / yellow look as the landing page */
.guest-topbar{background:#12306e;border-bottom:0;color:#fff}
.guest-topbar::after{content:"";position:absolute;left:0;right:0;bottom:-3px;height:3px;background:linear-gradient(90deg,#12306e 0 33.3%,#c8102e 33.3% 66.6%,#f5b700 66.6% 100%)}
.guest-topbar .brand{color:#fff}.guest-topbar .logo-mark{height:34px;background:#fdfdfd;border-radius:9px;padding:3px}
.guest-nav a{color:#fff}.guest-nav a:not(.nav-cta){padding:.5rem .9rem;border:1.5px solid rgba(255,255,255,.6);border-radius:10px}
.guest-nav a.nav-cta{background:#f5b700;color:#2a1d00;border-radius:10px;padding:.55rem .95rem}
.guest-shell.is-auth{position:relative;width:100%;max-width:none;margin:0;padding:0 0 2.5rem}
.guest-shell.is-auth::before{content:"";position:absolute;left:0;right:0;top:0;height:250px;background:radial-gradient(circle at 92% 0,rgba(245,183,0,.28) 0,rgba(245,183,0,0) 40%),radial-gradient(circle at 0 100%,rgba(200,16,46,.45) 0,rgba(200,16,46,0) 50%),linear-gradient(160deg,#12306e 0%,#0d2457 60%,#0a1b44 100%)}
.auth-wrap{position:relative;z-index:1;padding:1.7rem 16px 0}
.auth-aside{color:#fff;max-width:500px;margin:0 auto 1.3rem}
.auth-aside h2{margin:0;font-size:1.6rem;line-height:1.15;font-weight:850;letter-spacing:-.02em;color:#fff}.auth-aside h2 em{font-style:normal;color:#f5b700}
.auth-aside>p{margin:.4rem 0 0;color:rgba(255,255,255,.88)}
.auth-points,.auth-help{display:none}
.auth-main{max-width:500px;margin:0 auto}.auth-main .auth-card{margin:0 auto}
.auth-main .auth-card::before{content:"";display:block;height:4px;background:linear-gradient(90deg,#12306e 0 33.3%,#c8102e 33.3% 66.6%,#f5b700 66.6% 100%)}
.footer.guest-foot{background:#0a1b44;color:rgba(255,255,255,.75);border-top:4px solid #c8102e;border-image:linear-gradient(90deg,#12306e 0 33.3%,#c8102e 33.3% 66.6%,#f5b700 66.6% 100%) 1;padding:1.2rem 16px calc(1.2rem + env(safe-area-inset-bottom));line-height:1.9}
.guest-foot a{color:#fff;font-weight:650;white-space:nowrap}.guest-foot a:hover{color:#f5b700}
@media (min-width:960px){
 .guest-shell.is-auth{padding:0}.guest-shell.is-auth::before{height:auto;bottom:0}
 .auth-wrap{display:grid;grid-template-columns:minmax(0,1fr) 480px;gap:4rem;align-items:center;max-width:1120px;margin:0 auto;padding:3.5rem 2rem;min-height:calc(100vh - 130px)}
 .auth-aside{margin:0;max-width:30rem}.auth-aside h2{font-size:2.7rem}.auth-aside>p{font-size:1.15rem;margin-top:.7rem}
 .auth-points{display:grid;gap:.9rem;margin:2rem 0 0;padding:0;list-style:none}
 .auth-points li{display:flex;gap:.7rem;align-items:flex-start;color:rgba(255,255,255,.85)}.auth-points strong{color:#fff}
 .auth-points svg{flex:0 0 20px;width:20px;height:20px;color:#f5b700;margin-top:2px}
 .auth-help{display:block;margin:2rem 0 0;font-size:.95rem;color:rgba(255,255,255,.75)}.auth-help a{color:#f5b700}
 .auth-main{max-width:none;margin:0;width:100%}
}
/* Delete account + legal pages */
.button.danger{background:var(--deep-red);color:#fff;border-color:var(--deep-red)}.button.danger:hover{background:#9e0c24}
.delete-list{margin:.5rem 0 1rem;padding-left:1.2rem;display:grid;gap:.4rem;color:var(--muted)}
.account-links{display:grid;gap:0}.account-links a{display:flex;justify-content:space-between;align-items:center;padding:.85rem 0;border-bottom:1px solid var(--line);font-weight:700;color:var(--ink)}.account-links a:last-child{border-bottom:0;color:var(--deep-red)}
.account-links a::after{content:"›";font-size:1.3rem;color:var(--muted)}
.legal{width:min(820px,100%);margin:0 auto;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius-lg);padding:1.6rem 1.2rem 2rem;box-shadow:var(--shadow);overflow:hidden;position:relative}
.legal::before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:linear-gradient(90deg,#12306e 0 33.3%,#c8102e 33.3% 66.6%,#f5b700 66.6% 100%)}
.legal h1{margin:.3rem 0 .2rem;font-size:1.9rem;line-height:1.15;letter-spacing:-.02em}
.legal .legal-date{color:var(--muted);font-size:.9rem;margin:0 0 1.2rem}
.legal h2{font-size:1.15rem;margin:1.8rem 0 .5rem;scroll-margin-top:80px}
.legal p,.legal li{line-height:1.65;color:var(--ink)}.legal ul{padding-left:1.2rem;display:grid;gap:.35rem}
.legal-toc{background:var(--wash);border-radius:12px;padding:.9rem 1rem;margin:0 0 1rem}.legal-toc ol{margin:.3rem 0 0;padding-left:1.2rem;columns:2;column-gap:2rem;font-size:.92rem}
.legal-summary{border-left:4px solid var(--deep-yellow);background:#fff6d6;border-radius:10px;padding:.9rem 1rem;margin:0 0 1.2rem}
@media (max-width:640px){.legal-toc ol{columns:1}.legal h1{font-size:1.6rem}}
@media (min-width:700px){.legal{padding:2.4rem 2.6rem 2.8rem}}
.req-pin{display:grid;gap:.4rem;margin:-.2rem 0 .2rem}.req-pin .button{justify-self:start}.req-pin .small-note{margin:0}
.req-pin.is-pinned .small-note{color:var(--green-600)}.req-pin.is-pinned .small-note .link-button{margin-left:.3rem}
#installs .ins-rank{margin-top:1.1rem}
.id-keep{display:grid;gap:.5rem;margin-top:.6rem;padding-top:.6rem;border-top:1px dashed var(--line)}.id-keep p{margin:0}
.id-hold{color:#8a6200;background:#fff6d6;border-radius:8px;padding:.5rem .7rem}.id-more summary{cursor:pointer;font-weight:700;color:var(--deep-red)}.id-more form{margin-top:.6rem}
.id-nudge{display:grid;gap:.4rem;margin:0 0 1rem;padding:1rem;border-radius:14px;background:#fff6d6;border:1px solid #f3d77a;border-left:4px solid var(--deep-yellow)}.id-nudge .button{justify-self:start;margin-top:.3rem}
.pv-verified.pv-id{margin-left:.3rem}
/* Light/dark switch in the guest top bar (log in, sign up, legal pages) */
.guest-nav .theme-btn{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.12);border:1.5px solid rgba(255,255,255,.35);color:#fff;cursor:pointer;padding:0}
.guest-nav .theme-btn svg{width:18px;height:18px}.guest-nav .theme-btn .i-sun,[data-theme=dark] .guest-nav .theme-btn .i-moon{display:none}[data-theme=dark] .guest-nav .theme-btn .i-sun{display:block}

/* Distance chips, technicians on bookings, teams */
.svc-reach[hidden],.svc-widened[hidden]{display:none}
.svc-widened{margin:.2rem 0 .6rem}
.bk-tech{margin:.45rem 0 0;font-size:.88rem;display:flex;flex-wrap:wrap;gap:.35rem;align-items:center}
.bk-assign{display:grid;gap:.3rem;margin:.6rem 0 0;font-size:.85rem;font-weight:650;max-width:360px}
.bk-assign select{min-height:42px;padding:0 .6rem;border:1px solid var(--line);border-radius:10px;background:var(--paper);color:var(--ink);font:inherit;font-weight:500}
.team-row,.work-row{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}
.team-row .pill{margin-left:.35rem}
.work-row .booking-actions{margin-top:.5rem}
.pv-team{list-style:none;padding:0;margin:.6rem 0 1.2rem;display:grid;gap:.7rem}
.pv-team li{display:flex;gap:.75rem;align-items:center}
.pv-team small{display:block;color:var(--muted);font-size:.82rem}
.pv-team-avatar{flex:0 0 42px;width:42px;height:42px;border-radius:50%;background:#e9f0ff;color:#1f5eff;display:grid;place-items:center;font-weight:800;overflow:hidden}
.pv-team-avatar img{width:100%;height:100%;object-fit:cover}

/* Chat before booking */
.enq-list{padding:1rem 1.25rem;display:flex;flex-direction:column;gap:.6rem;max-height:55vh;overflow-y:auto}
.enq-bubble{align-self:flex-start;max-width:78%;background:var(--wash);color:var(--ink);padding:.6rem .9rem;border-radius:12px;overflow-wrap:anywhere}
.enq-bubble.is-mine{align-self:flex-end;background:var(--navy-900);color:#fff}
.enq-meta{font-size:.7rem;margin-top:.2rem;color:var(--muted)}
.enq-bubble.is-mine .enq-meta{color:#d9cdf5}
.enq-note{margin:0;padding:.4rem 1.25rem}
.enq-form{display:flex;gap:.6rem;padding:1rem 1.25rem;border-top:1px solid var(--line)}
.enq-form input{flex:1;min-width:0;min-height:46px;padding:.7rem .8rem;border:1px solid var(--line);border-radius:10px;font:inherit;background:var(--paper);color:var(--ink)}
.enq-cta{padding:0 1.25rem 1rem}
