@font-face{font-family:Inter;src:url("fonts/Inter-Regular.ttf") format("truetype");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Inter;src:url("fonts/Inter-Medium.ttf") format("truetype");font-style:normal;font-weight:500;font-display:swap}
@font-face{font-family:Inter;src:url("fonts/Inter-SemiBold.ttf") format("truetype");font-style:normal;font-weight:600;font-display:swap}
/* Aurora — Alex's approved Claude Design export, September 14, 2026.
   Ported visual tokens only. Appearance preference and all record contracts stay intact.
   Opaque sheets protect form legibility; translucency is for workspace surfaces. */
:root{--bg:#F4F6FA;--surface:rgba(255,255,255,.74);--raise:rgba(255,255,255,.9);--sheet:#F4F6FA;--solid-surface:#FFFFFF;--ink:#141821;--text:var(--ink);--line:rgba(20,24,33,.1);--muted:rgba(20,24,33,.76);--muted2:rgba(20,24,33,.64);--accent:#1949B8;--fill:#2459D3;--deep:#1949B8;--tint:rgba(36,89,211,.1);--tint-line:rgba(36,89,211,.32);--accent-soft:#1949B8;--glow:rgba(36,89,211,.24);--on-accent:#FFFFFF;--grad:linear-gradient(135deg,#2459D3,#1949B8);--card-shadow:inset 0 0 0 1px rgba(255,255,255,.7),0 0 0 1px rgba(20,24,33,.05),0 12px 30px rgba(20,24,33,.09);--sheet-shadow:0 24px 60px rgba(20,24,33,.18);--dock-bg:rgba(255,255,255,.72);--dock-shadow:inset 0 0 0 1px rgba(20,24,33,.07),0 18px 44px rgba(20,24,33,.16);--backdrop:rgba(10,12,18,.55);--danger:#b3261e;--aurora-a:rgba(36,89,211,.26);--aurora-b:rgba(140,173,244,.3);--glass:blur(18px) saturate(150%);--r-card:18px;--r-input:12px;--r-pill:999px;--font:"Inter",-apple-system,BlinkMacSystemFont,"Helvetica Neue",Helvetica,Arial,sans-serif;
 --canvas:var(--bg);--link:var(--accent);--selected:var(--tint);--subtle:rgba(20,24,33,.05);--hover:rgba(20,24,33,.04);--status-text:var(--muted);--blue-line:var(--tint-line);--control-border:var(--line);--hero-muted:#dbe6ff;--strong-blue:var(--deep);--nav-surface:var(--dock-bg)}
:root[data-theme="night"]{--bg:#0A0C12;--surface:rgba(255,255,255,.055);--raise:rgba(255,255,255,.09);--sheet:#141822;--solid-surface:#181C26;--ink:#F2F4F8;--line:rgba(255,255,255,.12);--muted:rgba(242,244,248,.74);--muted2:rgba(242,244,248,.6);--accent:#8CADF4;--tint:rgba(36,89,211,.22);--tint-line:rgba(140,173,244,.42);--accent-soft:#D6E2FD;--glow:rgba(36,89,211,.45);--card-shadow:inset 0 0 0 1px rgba(255,255,255,.1),0 16px 38px rgba(0,0,0,.5);--sheet-shadow:0 24px 60px rgba(0,0,0,.7);--dock-bg:rgba(20,24,34,.88);--dock-shadow:inset 0 0 0 1px rgba(242,244,248,.10),0 18px 44px rgba(0,0,0,.62);--backdrop:rgba(0,0,0,.66);--danger:#ff8a80;--subtle:rgba(242,244,248,.06);--hover:rgba(242,244,248,.05);--aurora-a:rgba(36,89,211,.5);--aurora-b:rgba(25,73,184,.4);--glass:blur(18px) saturate(160%)}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--font);font-size:13.5px;line-height:1.5;color:var(--ink);background:var(--bg);font-synthesis:none;-webkit-font-smoothing:antialiased}
h1,h2,h3{margin:0;font-weight:600;letter-spacing:-.015em;line-height:1.15}
h1{font-size:27px}h2{font-size:15.5px}h3{font-size:13px}
p{margin:0}
button,input,select,textarea{font:inherit;color:inherit}
button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}
button{cursor:pointer;border:0;background:none;min-height:44px;padding:0;border-radius:var(--r-input);transition:background .18s ease,border-color .18s ease,color .18s ease,box-shadow .2s ease,transform .14s cubic-bezier(.2,.8,.3,1)}
button:active{transform:scale(.978)}
a{color:var(--accent);text-underline-offset:3px}
:focus{outline:none}:focus-visible{outline:2px solid var(--fill);outline-offset:2px}
::selection{background:rgba(36,89,211,.3)}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.muted{color:var(--muted2)}.wrap{overflow-wrap:anywhere}
.eyebrow{display:inline-flex;align-items:center;gap:6px;font-size:10.5px;letter-spacing:.09em;text-transform:uppercase;color:var(--muted2);font-weight:500}
.eyebrow.accent{color:var(--accent)}
.eyebrow .dot::before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:currentColor}

/* Buttons */
.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:var(--r-input);padding:11px 16px;font-size:13.5px;font-weight:500;white-space:nowrap;text-decoration:none;min-height:44px}
.primary{background:var(--grad);color:var(--on-accent);box-shadow:0 6px 18px var(--glow)}
.primary:hover{box-shadow:0 8px 22px var(--glow)}
.secondary{background:var(--surface);border:1px solid var(--line);color:var(--ink)}
.secondary:hover{border-color:var(--fill);background:color-mix(in srgb,var(--fill) 10%,transparent)}
.text-link{color:var(--accent);font-weight:500;font-size:12.5px;padding:0 4px;min-height:40px;display:inline-flex;align-items:center;gap:5px;text-decoration:none;border-radius:8px}
.text-link:hover{background:color-mix(in srgb,var(--fill) 10%,transparent)}
.text-link svg{width:15px;height:15px}
.back{color:var(--accent);font-size:12.5px;font-weight:500;min-height:40px;margin:2px 0 6px}
button:disabled,.primary:disabled{opacity:.45;cursor:not-allowed}
.icon-btn{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--r-input);border:1px solid var(--line);background:var(--surface)}
.icon-btn svg{width:18px;height:18px}
svg{width:18px;height:18px;flex-shrink:0}

/* Layout */
#app{min-height:100dvh}
aside{position:fixed;inset:0 auto 0 0;width:236px;padding:28px 18px;background:var(--surface);border-right:1px solid var(--line);display:flex;flex-direction:column;gap:22px}
main{margin-left:236px;padding:0 40px 60px;max-width:1500px}
.brand{display:inline-flex;align-items:center;gap:9px;font-weight:600;font-size:21px;letter-spacing:-.02em;text-decoration:none;color:var(--ink)}
.brand-mark{display:inline-flex;align-items:flex-end;gap:2px;height:22px}
.brand-mark i{display:block;width:5px;border-radius:2px;background:var(--fill);transform:skewX(-14deg);transition:height .36s cubic-bezier(.22,1.3,.3,1)}
.brand-mark i:nth-child(1){height:14px}.brand-mark i:nth-child(2){height:22px}.brand-mark i:nth-child(3){height:18px}
.brand:hover .brand-mark i:nth-child(1){height:22px}.brand:hover .brand-mark i:nth-child(2){height:16px}.brand:hover .brand-mark i:nth-child(3){height:20px}
.nav-caption{display:none}
nav{display:grid;gap:4px}
nav button{display:flex;align-items:center;gap:12px;padding:11px 12px;border-radius:12px;font-size:13.5px;font-weight:500;color:var(--muted);text-align:left}
nav button svg{width:19px;height:19px}
nav button:hover{background:var(--hover)}
nav button.active{background:var(--tint);color:var(--accent)}
.sidebar-note{margin-top:auto;padding-top:18px;border-top:1px solid var(--line);font-size:12px;color:var(--muted2)}
.sidebar-note svg{color:var(--accent);margin-bottom:6px}
.sidebar-note strong{display:block;color:var(--ink);font-weight:500;margin-bottom:3px}
.topbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:22px 0 6px;font-size:12.5px;color:var(--muted2)}
.topbar .brand{display:none}
.workspace{display:inline-flex;align-items:center;gap:8px}
.workspace select{min-height:36px;padding:6px 30px 6px 12px;border-radius:var(--r-pill);border:1px solid var(--line);background:var(--surface);font-size:11px;letter-spacing:.08em;text-transform:uppercase;font-weight:500;color:var(--ink);appearance:none;-webkit-appearance:none;background-image:linear-gradient(45deg,transparent 50%,var(--muted2) 50%),linear-gradient(135deg,var(--muted2) 50%,transparent 50%);background-position:calc(100% - 15px) 55%,calc(100% - 10px) 55%;background-size:5px 5px;background-repeat:no-repeat}
.workspace-banner{display:flex;gap:8px;align-items:baseline;font-size:11px;color:var(--muted2);margin:0 0 18px}
.workspace-banner strong{font-weight:500;font-size:10px;letter-spacing:.08em;text-transform:uppercase;padding:2px 8px;border:1px solid var(--line);border-radius:var(--r-pill);color:var(--muted)}
.workspace-banner.personal strong{border-color:var(--tint-line);color:var(--accent)}
.heading{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin:8px 0 18px}
.heading h1{font-size:27px}
.heading>div>p{color:var(--muted2);font-size:12.5px;margin-top:4px}
.heading .date{margin:0 0 2px;font-size:12px;color:var(--muted2)}
.heading .awaited-count{align-self:flex-start;margin-top:4px}
.heading .primary{padding:10px 16px}
.detail-heading{align-items:flex-start;flex-wrap:wrap}
.detail-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.detail-actions .secondary{padding:9px 13px;font-size:12.5px;min-height:40px}
.panel{background:var(--surface);border-radius:var(--r-card);box-shadow:var(--card-shadow);margin-bottom:14px;min-width:0;overflow:hidden}
.panel-title{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 20px 12px}
.panel-title p{color:var(--muted2);font-size:11.5px;margin-top:3px}
.panel-title .secondary{padding:8px 12px;font-size:12px;min-height:38px}
.section-head{display:flex;justify-content:space-between;align-items:baseline;margin:22px 0 10px}
.section-head span{font-size:11.5px;color:var(--muted2)}
.count{display:inline-block;font-size:10.5px;padding:2px 7px;border-radius:var(--r-pill);background:var(--tint);color:var(--accent);margin-left:6px;vertical-align:middle;font-weight:500;letter-spacing:.02em}
.empty{padding:28px 20px;text-align:center;font-size:12.5px;color:var(--muted2)}
.empty svg{width:22px;height:22px;color:var(--muted2);margin-bottom:8px}
.empty strong{display:block;color:var(--ink);font-weight:500;margin-bottom:4px;font-size:13.5px}
.empty .primary{margin-top:12px}
.error{background:var(--tint);color:var(--ink);border-radius:var(--r-input);padding:13px 15px;font-size:12.5px;line-height:1.5;margin:12px 0;border:1px solid var(--tint-line)}
.bottom-tip{margin:18px 0 0;color:var(--muted2);font-size:11.5px;line-height:1.55}
.badge{display:inline-flex;align-items:center;gap:5px;padding:3px 9px;border-radius:var(--r-pill);font-size:10.5px;border:1px solid var(--line);color:var(--muted);white-space:nowrap;background:transparent}
.badge.s0{color:var(--muted)}.badge.s1,.badge.s2,.badge.s3{color:var(--accent);border-color:var(--tint-line)}
.status-pill{font-size:10px;letter-spacing:.06em;text-transform:uppercase;padding:3px 9px;border-radius:var(--r-pill);border:1px solid var(--line);color:var(--muted);white-space:nowrap}
.status-pill.waiting{border-color:var(--accent);color:var(--accent)}
.status-pill.received{background:var(--tint);border-color:var(--tint);color:var(--accent)}
.status-pill.quiet{color:var(--muted2)}
[data-rise]{animation:ddRise .34s cubic-bezier(.2,.8,.3,1) both}
@keyframes ddRise{from{transform:translateY(10px);opacity:0}to{transform:none;opacity:1}}

/* Today */
.hero{position:relative;overflow:hidden;background:var(--grad);color:#fff;border-radius:var(--r-card);padding:22px 20px 20px;box-shadow:0 14px 34px var(--glow);margin-bottom:14px}
.hero::after{content:'';position:absolute;inset:-40% -20% auto auto;width:60%;height:140%;background:radial-gradient(closest-side,rgba(255,255,255,.18),transparent);pointer-events:none}
.hero .eyebrow{color:rgba(255,255,255,.82)}
.hero h2{font-size:22px;font-weight:600;margin:12px 0 8px;letter-spacing:-.01em;line-height:1.2}
.hero p{font-size:12.5px;color:rgba(255,255,255,.82)}
.hero-actions{display:flex;gap:8px;margin-top:16px;position:relative}
.hero-actions .primary{background:#fff;color:var(--deep);box-shadow:none;flex:1}
.hero-actions .icon-btn{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.35);color:#fff}
.hero.calm{background:var(--surface);color:var(--ink);box-shadow:var(--card-shadow)}
.hero.calm .eyebrow,.hero.calm p{color:var(--muted2)}
.hero.calm::after{display:none}
.hero.calm .hero-actions .primary{background:var(--grad);color:#fff;flex:0 1 auto}
.pipeline{padding:16px 20px 8px}
.pipeline-head{display:flex;justify-content:space-between;align-items:baseline;font-size:11.5px;color:var(--muted2);margin-bottom:12px}
.pipeline-bars{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin-bottom:8px}
.pipeline-bars i{display:block;height:5px;border-radius:3px;background:var(--line)}
.pipeline-bars i.on{background:var(--fill)}.pipeline-bars i.s1.on{opacity:.7}.pipeline-bars i.s0.on{opacity:.45}
.stage-strip{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}
.stage-strip button{display:flex;align-items:center;gap:8px;padding:12px 0;font-size:12.5px;color:var(--muted);text-align:left;border-radius:8px;min-height:44px}
.stage-strip button strong{margin-left:auto;color:var(--ink);font-weight:600}
.stage-dot{width:7px;height:7px;border-radius:50%;background:var(--line)}
.stage-dot.s1,.stage-dot.s2,.stage-dot.s3{background:var(--fill)}.stage-dot.s1{opacity:.55}.stage-dot.s2{opacity:.8}
.reminder,.request-row{display:flex;justify-content:space-between;gap:12px;background:var(--surface);border-radius:var(--r-card);box-shadow:var(--card-shadow);padding:16px 18px;margin-bottom:10px;font-size:13px}
.reminder{border-left:3px solid transparent}
.reminder.overdue-item{border-left-color:var(--ink)}
.reminder-content{min-width:0;flex:1}
.reminder-meta{display:flex;align-items:center;gap:8px;margin-bottom:6px;font-size:11.5px;color:var(--muted2)}
.method{display:inline-flex;align-items:center;gap:5px}.method svg{width:14px;height:14px}
.due-pill{font-size:10.5px;padding:2px 8px;border-radius:var(--r-pill);border:1px solid var(--line);color:var(--muted)}
.due-pill.overdue{border-color:var(--ink);color:var(--ink);font-weight:500}
.reminder-action{font-size:14.5px;font-weight:500;margin:0 0 4px}
.customer-link{padding:0;min-height:32px;font-size:12.5px}
.waiting{display:block;color:var(--muted2);font-size:11.5px;margin-top:4px}
.complete{width:40px;height:40px;border-radius:50%;border:1px solid var(--line);display:inline-flex;align-items:center;justify-content:center;color:var(--accent);flex-shrink:0;align-self:center}
.complete:hover{border-color:var(--fill);background:var(--tint)}
.complete svg{width:16px;height:16px}
.followup-item{display:flex;flex-direction:column}.followup-item>.text-link{align-self:flex-start;margin:-6px 0 8px 6px}
.request-row{flex-direction:column;border-left:3px solid var(--ink);gap:8px}
.request-row:not(.is-waiting){border-left-color:transparent}
.request-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.request-head strong{font-weight:600;font-size:14px}
.request-head .status-pill{margin-left:auto}
.request-main small{display:block;color:var(--muted2);font-size:11.5px;margin-top:5px;line-height:1.55}
.request-main small .overdue{color:var(--ink);font-weight:500}
.request-notes{margin:6px 0 0;padding-left:10px;border-left:2px solid var(--tint-line);font-size:12.5px;color:var(--muted)}
.wait-bar{height:4px;border-radius:2px;background:var(--line);margin:10px 0 4px;overflow:hidden}.wait-bar i{display:block;height:100%;background:var(--ink);border-radius:2px}
.request-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.request-actions .text-link,.request-actions a{justify-content:center;min-height:42px;border:1px solid var(--line);border-radius:var(--r-input);font-size:12.5px;background:var(--surface);color:var(--ink);padding:0 8px}
.request-actions .text-link:hover,.request-actions a:hover{border-color:var(--fill)}
.request-actions .told{color:var(--accent);border-color:var(--tint-line)}
.request-actions [data-action="request-received"]{color:var(--accent);border-color:var(--accent)}
.awaited-panel{background:none;box-shadow:none;overflow:visible;margin-bottom:6px}
.awaited-panel .panel-title{padding:0 0 10px}
.awaited-panel .request-row{margin-bottom:10px}
.recent{margin-top:8px}
.recent .customer-row{margin-bottom:8px}

/* Customers */
.filters{display:flex;flex-direction:column;gap:10px;margin-bottom:14px}
.filters input{width:100%;min-height:44px;padding:10px 14px;border-radius:var(--r-input);border:1px solid var(--line);background:var(--surface);font-size:13.5px}
.chips{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 4px;scrollbar-width:none}.chips::-webkit-scrollbar{display:none}
.chips button{flex-shrink:0;padding:0 14px;min-height:38px;border-radius:var(--r-pill);border:1px solid var(--line);background:var(--surface);font-size:12.5px;color:var(--muted)}
.chips button[aria-pressed="true"]{border-color:var(--accent);color:var(--accent);background:var(--tint)}
#filter{display:none}
.customer-row{display:block;width:100%;text-align:left;background:var(--surface);border-radius:var(--r-card);box-shadow:var(--card-shadow);padding:16px 18px;margin-bottom:10px;transition:transform .18s cubic-bezier(.2,.8,.3,1),box-shadow .2s ease}
.customer-row:hover{transform:translateY(-2px)}
.customer-top{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.customer-top strong{font-size:14px;font-weight:600}
.customer-top .badge{margin-left:auto}
.avatar{width:30px;height:30px;border-radius:50%;background:var(--grad);color:#fff;font-size:11px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;letter-spacing:.02em;flex-shrink:0}
.car-line{display:flex;align-items:center;gap:8px;font-size:13.5px;margin-bottom:10px}
.car-line svg{display:none}.car-line span{flex:1}
.stage-bar{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin-bottom:12px}
.stage-bar i{display:block;height:4px;border-radius:2px;background:var(--line)}.stage-bar i.on{background:var(--fill)}
.customer-bottom{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;font-size:12px}
.customer-bottom>span:first-child{font-size:15px;font-weight:600}
.customer-bottom small{display:block;font-weight:400;font-size:11px;color:var(--muted2);margin-top:2px}
.next-date{text-align:right;color:var(--muted);font-size:11.5px}
.next-date small{display:inline;margin-left:4px}
.next-date.awaits{color:var(--ink);font-weight:500}

/* Customer detail */
.customer-summary{background:var(--surface);border-radius:var(--r-card);box-shadow:var(--card-shadow);padding:18px 20px;margin-bottom:14px}
.summary-grid{display:grid;grid-template-columns:1fr 1.15fr;gap:16px;font-size:12.5px}
.summary-grid>div:nth-child(2){border-left:1px solid var(--line);padding-left:16px}
.summary-grid .eyebrow{display:block;margin-bottom:8px}
.summary-grid strong{display:block;font-size:24px;font-weight:600;letter-spacing:-.01em;margin-bottom:4px}
.summary-grid small{display:block;color:var(--muted2);font-size:11px;margin-top:3px}
.summary-grid span{display:block}
.stage-row{display:flex;align-items:center;gap:12px;margin-top:16px;padding-top:16px;border-top:1px solid var(--line);font-size:12.5px;color:var(--muted)}
.stage-row select{flex:1}
.preferences{margin-top:14px;padding-top:12px;border-top:1px solid var(--line);font-size:12.5px;color:var(--muted)}
.detail-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:0 0 14px}
.detail-tabs button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:52px;border-radius:var(--r-input);border:1px solid var(--line);background:var(--surface);font-size:12.5px;font-weight:500;color:var(--muted)}
.detail-tabs button small{font-size:10px;color:var(--muted2);font-weight:400}
.detail-tabs button.active{background:var(--tint);border-color:var(--tint-line);color:var(--accent)}
.detail-tabs button.active small{color:var(--accent)}
.tab-panel[hidden]{display:none}
.detail-jumps{display:none}
.requested-car .panel-title{align-items:baseline}
.broker-preferences{margin:0;padding:0 20px 8px;font-size:13px}
.broker-preferences>div{display:flex;justify-content:space-between;gap:14px;padding:10px 0;border-top:1px solid var(--line)}
.broker-preferences>div:first-child{border-top:0}
.broker-preferences dt{color:var(--muted)}.broker-preferences dd{margin:0;font-weight:500;text-align:right;overflow-wrap:anywhere;white-space:pre-wrap}
.desired-terms{padding:12px 20px 18px;margin:0;font-size:12.5px;border-top:1px solid var(--line)}
.desired-terms strong{font-weight:500;color:var(--muted)}
.program-suggestions{margin-bottom:14px}
.program-suggestions h3{display:flex;justify-content:space-between;align-items:baseline;font-size:15.5px;font-weight:600;margin:22px 0 10px}
.program-suggestions h3 small{font-size:11.5px;color:var(--muted2);font-weight:400}
.suggestion{background:var(--surface);border-radius:var(--r-card);box-shadow:var(--card-shadow);padding:16px 18px;margin-bottom:10px;font-size:13px}
.suggestion .request-head strong{font-size:14.5px}
.suggestion>.request-main small{display:block;color:var(--muted2);font-size:11.5px;margin-top:4px}
.suggestion .request-actions{display:flex;flex-direction:column;margin-top:12px}
.suggestion .request-actions .text-link{background:var(--grad);color:#fff;border:0;min-height:46px;font-size:13.5px;box-shadow:0 6px 18px var(--glow)}
.suggestion .request-actions a{background:transparent}
.match-why{list-style:none;padding:0;margin:10px 0 0;font-size:12.5px;line-height:1.55}
.match-why li{padding-left:22px;position:relative;color:var(--muted);margin-bottom:4px}
.match-why li::before{position:absolute;left:0;top:0;width:16px;height:16px;border-radius:50%;border:1px solid currentColor;font-size:10px;display:inline-flex;align-items:center;justify-content:center}
.match-why .fit{color:var(--ink)}.match-why .fit::before{content:'✓';color:var(--accent);border-color:var(--accent)}
.match-why .diff::before{content:'≠'}.match-why .check::before{content:'?'}
.quote-tracker .panel-title{padding-bottom:6px}
.call-dealers{padding:0 20px 10px}
.call-dealers h3{font-size:15px;font-weight:600;margin:6px 0 2px}
.call-dealers>h3+.dealer-call,.call-dealers>p.setting-help{margin-top:6px}
.dealer-call{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-top:1px solid var(--line)}
.dealer-call strong{font-weight:500;font-size:13.5px}
.dealer-call small{display:block;color:var(--muted2);font-size:11.5px;margin-top:2px}
.dealer-call-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}
.call-btn{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;padding:0;border-radius:var(--r-input);border:1px solid var(--line);color:var(--ink);text-decoration:none;font-size:0}
.call-btn svg{width:17px;height:17px}
.dealer-call-actions .text-link{border:1px solid var(--line);border-radius:var(--r-input);padding:0 14px;min-height:42px;color:var(--ink)}
.other-dealers{font-size:12.5px;padding:6px 0 8px}.other-dealers summary{color:var(--accent);cursor:pointer;min-height:36px;display:flex;align-items:center;list-style:none}
.request-list{padding:8px 20px 16px}
.request-list .request-row{box-shadow:none;border:1px solid var(--line);padding:14px 16px}
.request-list .request-row.is-waiting{border-left:3px solid var(--ink)}
.offers-section .compare-note{margin:0 20px 12px;padding-left:12px;border-left:2px solid var(--tint-line);font-size:12px;color:var(--muted2)}
.compare-toggle{margin:0 20px 12px}
.offer-grid{display:grid;gap:12px;padding:0 20px 20px}
.offer{border:1px solid var(--line);border-radius:14px;padding:16px;font-size:13px}
.offer-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.offer-type svg{width:14px;height:14px}
.offer h3{font-size:14.5px;font-weight:600}
.offer-source{color:var(--muted2);font-size:12px;margin:2px 0 10px}
.dealer-contact{display:flex;flex-direction:column;gap:2px;font-size:12px;color:var(--muted);margin-bottom:10px}
.dealer-contact small{color:var(--muted2)}
.offer-price{margin:8px 0 12px}.offer-price small{display:block;color:var(--muted2);font-size:11px}.offer-price strong{font-size:24px;font-weight:600;letter-spacing:-.01em}.offer-price strong span{font-size:13px;color:var(--muted2);margin-left:4px;font-weight:400}
.offer-key-terms{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:10px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:12px}
.offer-key-terms span{display:block;color:var(--muted2);font-size:10.5px}.offer-key-terms strong{font-weight:500}
.offer-details{margin-top:10px;font-size:12.5px}
.offer-details summary{display:flex;align-items:center;justify-content:space-between;color:var(--accent);cursor:pointer;min-height:36px;list-style:none;font-weight:500}
.offer-details summary svg{width:14px;height:14px;transition:transform .2s}
.offer-details[open] summary svg{transform:rotate(90deg)}
.offer-details dl{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px;margin:8px 0 0}
.offer-details dt{color:var(--muted2);font-size:10.5px}.offer-details dd{margin:0;font-weight:500}
.offer-terms{margin:10px 0 0;color:var(--muted);white-space:pre-wrap}
.offer-request{white-space:pre-wrap;font-size:12px;color:var(--muted);margin:12px 0 0;line-height:1.55}
.offer-request strong{display:block;color:var(--ink);font-weight:500;margin-bottom:4px}
.offer-foot{margin-top:10px;font-size:11px;color:var(--muted2);display:flex;justify-content:space-between}
.offer-foot .overdue{color:var(--ink);font-weight:500}
.note{padding:14px 20px;border-top:1px solid var(--line);font-size:13px}
.note>div{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}
.note small{color:var(--muted2);font-size:11.5px}
.history{padding:10px 20px;font-size:12.5px;color:var(--muted)}.history small{display:block;font-size:11px;color:var(--muted2)}
.panel details>summary{padding:10px 20px;color:var(--accent);cursor:pointer;font-size:12.5px;min-height:40px;display:flex;align-items:center;list-style:none}
.checklist{padding:0 20px 16px;display:grid;gap:4px}
.checklist label{display:flex;align-items:center;gap:12px;min-height:44px;font-size:13.5px}
.checklist input{width:20px;height:20px;accent-color:var(--fill)}
.handoff .panel-title p{max-width:none}
.commission-values{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:0 20px 8px;font-size:12px}
.commission-values span{display:block;color:var(--muted2);font-size:10.5px}.commission-values strong{font-size:17px;font-weight:600}
.panel-foot{padding:6px 20px 18px;font-size:11.5px;color:var(--muted2)}
.fee-note{padding:0 20px 18px;font-size:12.5px;color:var(--muted)}

/* Dealers */
.dealer-directory-item{background:var(--surface);border-radius:var(--r-card);box-shadow:var(--card-shadow);padding:18px 20px;margin-bottom:12px}
.dealer-directory-item h2{font-size:16px;font-weight:600}
.dealer-directory-item>div>p{margin:2px 0 6px;font-size:12.5px;color:var(--muted)}
.dealer-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.dealer-directory-item small{color:var(--muted2);font-size:11.5px}
.brand-badges{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 8px!important}
.brand-badges .badge{background:var(--tint);border-color:var(--tint);color:var(--accent)}
.dealer-links{display:flex;flex-wrap:wrap;gap:6px 16px;margin:4px 0 6px!important}
.dealer-links a{display:inline-flex;align-items:center;gap:6px;color:var(--accent);font-weight:500;min-height:32px;text-decoration:none;font-size:12.5px}
.dealer-links a svg{width:15px;height:15px}
.dealer-actions{display:flex;gap:4px;margin-top:6px}
.programs{margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}
.programs-head{display:flex;justify-content:space-between;align-items:center;gap:10px}
.programs-head h3{font-size:10.5px;letter-spacing:.09em;text-transform:uppercase;color:var(--muted2);font-weight:500}
.program-row{margin-top:10px;padding:14px 16px;border-radius:14px;background:var(--bg);font-size:13px}
.program-row .request-head strong{font-size:14px}
.program-row small{display:block;color:var(--muted2);font-size:11.5px;margin-top:4px;line-height:1.55}
.program-row.expired strong,.program-row.archived strong{color:var(--muted)}
.program-row .request-notes{border:0;padding:0;margin-top:6px}
.match-toggle{color:var(--accent);font-size:12.5px;font-weight:500;min-height:36px;margin-top:6px}
.program-matches{padding:6px 0 2px}
.program-match{display:flex;flex-direction:column;gap:8px;padding:10px 0;border-top:1px dashed var(--line)}
.program-match .text-link{align-self:flex-start;border:1px solid var(--tint-line);border-radius:var(--r-input);padding:0 14px;min-height:40px}
.program-actions{display:flex;flex-wrap:wrap;gap:0 10px;margin-top:4px}
.archived-programs{margin-top:10px;font-size:12.5px}.archived-programs summary{color:var(--muted2);cursor:pointer;min-height:36px;display:flex;align-items:center;list-style:none}

/* Fees */
.earnings-focus{background:var(--grad);color:#fff;border-radius:var(--r-card);padding:20px 20px 18px;box-shadow:0 14px 34px var(--glow);margin-bottom:12px}
.earnings-focus span{display:block;font-size:10.5px;letter-spacing:.09em;text-transform:uppercase;color:rgba(255,255,255,.82)}
.earnings-focus strong{display:block;font-size:34px;font-weight:600;letter-spacing:-.02em;margin:8px 0 14px}
.earnings-focus p{font-size:12px;color:rgba(255,255,255,.85);margin-top:8px}
.fee-bar{height:6px;border-radius:3px;background:rgba(255,255,255,.25)}.fee-bar i{display:block;height:100%;border-radius:3px;background:#fff}
.totals{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:22px}
.totals>div{background:var(--surface);border-radius:14px;box-shadow:var(--card-shadow);padding:14px 16px}
.totals span{display:block;font-size:11px;color:var(--muted2)}.totals strong{display:block;font-size:20px;font-weight:600;margin-top:4px}
.totals .total-received{display:none}
.commission-line{padding:0 18px 12px;margin-top:-4px;font-size:12px;color:var(--muted2)}
.panel>div>.customer-row{box-shadow:none;margin:0}

/* Settings */
.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:start}
.settings-section .panel-title{padding-bottom:10px}
.settings-body{padding:0 20px 20px;font-size:12.5px;line-height:1.55}
.settings-body>p{margin-bottom:8px}
.setting-help{font-size:11.5px;color:var(--muted2);margin-top:12px;line-height:1.55}
.settings-field{display:flex;flex-direction:column;gap:8px;font-size:12px;color:var(--muted)}
.settings-body label.settings-field{margin-top:6px}
.appearance-control{margin:0}
.appearance-control>span,.seg-label{display:block;font-size:12px;color:var(--muted);margin:10px 0 8px}
.appearance-control [role="group"],.seg{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:8px}
.appearance-control button,.seg button{min-height:44px;border:1px solid var(--line);border-radius:var(--r-input);background:var(--surface);font-size:13px;color:var(--muted)}
.appearance-control button[aria-pressed="true"],.seg button[aria-pressed="true"]{border-color:var(--accent);color:var(--accent);background:var(--tint)}
.sync-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.sync-actions button,.sync-actions .website-link{border:1px solid var(--line);border-radius:var(--r-input);padding:0 16px;font-size:13px;background:var(--surface);min-height:44px;display:inline-flex;align-items:center;text-decoration:none;color:var(--ink)}
.sync-actions .primary{background:var(--grad);color:#fff;border:0}
.sync-actions .text-link{border:0;background:none;color:var(--accent)}
.settings-body a{color:var(--accent);font-weight:500}
.settings-body>button[data-action="tour"]{border:1px solid var(--line);border-radius:var(--r-input);padding:0 16px;font-size:13px;background:var(--surface);margin-top:8px}
.website-link{display:inline-flex;align-items:center;text-decoration:none}
.detail-actions .website-link{padding:9px 13px;font-size:12.5px;border:1px solid var(--line);border-radius:var(--r-input);background:var(--surface);color:var(--ink);min-height:40px}

/* Forms and dialogs */
input,select,textarea{width:100%;min-width:0;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-input);color:var(--ink);padding:11px 13px;min-height:46px;font-size:16px;transition:border-color .18s ease,box-shadow .2s ease}
input:hover,select:hover,textarea:hover{border-color:color-mix(in srgb,var(--ink) 40%,transparent)}
input:focus-visible,select:focus-visible,textarea:focus-visible{border-color:var(--fill);box-shadow:0 0 0 3px var(--glow);outline:none}
textarea{resize:vertical;min-height:90px}
input[type="checkbox"]{width:20px;min-height:0;padding:0;accent-color:var(--fill)}
input[type="date"]{-webkit-appearance:none;appearance:none}
dialog{padding:0;border:0;border-radius:22px;width:min(620px,calc(100% - 32px));max-height:90dvh;color:var(--ink);background:var(--sheet);box-shadow:var(--sheet-shadow);animation:ddSheet .3s cubic-bezier(.2,.8,.3,1)}
dialog::backdrop{background:var(--backdrop);backdrop-filter:blur(6px);animation:ddFade .25s}
@keyframes ddSheet{from{transform:translateY(30px) scale(.985);opacity:.25}to{transform:none;opacity:1}}
@keyframes ddFade{from{opacity:0}to{opacity:1}}
#form{padding:0 24px}
.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;position:sticky;top:0;z-index:2;background:var(--sheet);padding:22px 0 14px}
.dialog-heading::before{content:'';position:absolute;top:8px;left:50%;width:36px;height:4px;margin-left:-18px;border-radius:2px;background:var(--line);display:none}
.dialog-eyebrow{display:block;font-size:10.5px;letter-spacing:.09em;text-transform:uppercase;color:var(--accent);font-weight:500;margin-bottom:6px}
.dialog-heading h2{font-size:20px;font-weight:600}
.close{width:40px;height:40px;border-radius:50%;background:var(--subtle);font-size:20px;line-height:1;display:inline-flex;align-items:center;justify-content:center;color:var(--ink);flex-shrink:0;min-height:0}
.form-help{font-size:12.5px;color:var(--muted);line-height:1.55;margin:0 0 18px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 14px}
.form-grid label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:var(--muted)}
.form-grid .full{grid-column:1/-1}
.form-section-title{grid-column:1/-1;font-size:12.5px;font-weight:600;color:var(--ink);padding-top:16px;border-top:1px solid var(--line);margin-top:2px}
.form-section-title:first-child{border:0;padding:0;margin:0}
.account-grid{grid-template-columns:1fr}
.account-links{display:flex;gap:18px;margin:14px 0 0}.account-links a{color:var(--accent);font-weight:500}
.form-grid .review-check{flex-direction:row;align-items:center;font-weight:400;color:var(--ink);font-size:13px;gap:10px}
.form-grid .review-check input{width:20px;min-height:0;padding:0}
.review-check[hidden]{display:none}
footer{position:sticky;bottom:0;background:var(--sheet);display:flex;justify-content:flex-end;gap:10px;margin-top:22px;padding:14px 0 22px;border-top:1px solid var(--line);z-index:2}
footer .secondary{background:transparent}
#form-error:not([hidden]){display:block}
.form-grid input[data-suggested="true"]{border-color:var(--fill);box-shadow:inset 0 0 0 1px var(--fill);background:var(--tint)}
.request-text{white-space:pre-wrap;font-size:14px;line-height:1.5}
.request-sms{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;padding:0 16px;font-size:13px;min-height:44px}
.is-hidden{display:none!important}
.portal-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);font-size:13px}
.portal-row small{display:block;color:var(--muted2);font-size:11px;margin-top:4px;line-height:1.5}
.portal-row button{white-space:nowrap}
.portal-new{background:var(--tint);border:1px solid var(--tint-line);border-radius:14px;padding:14px;margin:18px 0 4px;font-size:13px;line-height:1.5}
.portal-link{display:flex;gap:8px;margin-top:10px}.portal-link input{font-size:12px;min-height:44px}.portal-link button{border-radius:var(--r-input);padding:0 16px;background:var(--grad);color:#fff;flex-shrink:0}

/* Screenshot quote reader: idle → reading → suggestions → review */
.quote-reader{margin:0 0 18px;padding:16px;border-radius:14px;background:var(--bg);border:1px dashed var(--line);font-size:12.5px}
.quote-reader h3{font-size:13.5px;font-weight:600;margin:0 0 4px}
.quote-reader p{color:var(--muted);margin:0 0 10px}
.quote-reader input[type=file]{width:100%;max-width:100%;min-height:44px;padding:10px;font-size:13px;background:var(--surface)}
.quote-reader img{max-width:100%;max-height:260px;object-fit:contain;border-radius:10px;margin-top:10px;display:block}
.quote-reader img[hidden]{display:none}
.reader-status{margin:10px 0 0;font-weight:500;color:var(--ink);min-height:1.4em}
.reader-status:empty{display:none}
.quote-reader details{margin-top:10px;font-size:12px}.quote-reader details[hidden]{display:none}
.quote-reader summary{color:var(--accent);cursor:pointer;min-height:36px;display:flex;align-items:center;list-style:none}
.quote-reader pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:200px;overflow:auto;background:var(--surface);border-radius:10px;padding:10px;font-size:11.5px}
.quote-reader .review-check{display:flex;flex-direction:row;align-items:center;gap:10px;margin-top:12px;padding:12px;border-radius:12px;background:var(--tint);border:1px solid var(--tint-line);color:var(--ink);font-weight:500}
.quote-reader .review-check[hidden]{display:none}
.quote-reader .review-check input{width:20px;min-height:0;padding:0}

/* Notice, update banner, tour */
#notice{position:fixed;left:50%;bottom:max(96px,calc(env(safe-area-inset-bottom) + 90px));transform:translateX(-50%);max-width:min(560px,calc(100% - 32px));background:var(--ink);color:var(--bg);padding:12px 18px;border-radius:var(--r-input);font-size:13px;z-index:30;box-shadow:var(--sheet-shadow);animation:ddToast .25s cubic-bezier(.2,.8,.3,1)}
#notice:empty{display:none}
@keyframes ddToast{from{transform:translate(-50%,14px);opacity:0}to{transform:translate(-50%,0);opacity:1}}
#update-banner{position:fixed;top:0;left:0;right:0;z-index:20;display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;padding:max(12px,env(safe-area-inset-top)) 18px 12px;background:var(--surface);color:var(--ink);border-bottom:1px solid var(--line);box-shadow:var(--sheet-shadow);font-size:13px}
#update-banner[hidden]{display:none}
#update-banner .update-text{display:flex;flex-direction:column;gap:3px;min-width:0}#update-banner .update-text span{color:var(--muted2);line-height:1.5}
#update-banner .update-actions{display:flex;gap:8px;flex-shrink:0}#update-banner button{min-height:40px;padding:8px 14px;font-size:13px}
body.has-update-banner main,body.has-update-banner aside{padding-top:var(--update-banner-space,74px)}
.welcome-tour{padding:24px;max-width:440px;width:calc(100% - 32px)}
.welcome-tour>p:first-child{font-size:10.5px;letter-spacing:.09em;text-transform:uppercase;color:var(--accent);font-weight:500}
.welcome-tour h2{font-size:20px;margin:6px 0 10px}
.welcome-tour p{line-height:1.6;color:var(--muted)}
.tour-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}
.tour-actions button{padding:0 16px;border-radius:var(--r-input);border:1px solid var(--line)}
.tour-actions .primary{border:0}

/* Phone */
@media(max-width:700px){
 aside{position:static;width:auto;border:0;background:transparent;padding:12px 16px 0;display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:10px}
 aside .brand{font-size:20px}
 aside .sidebar-note{display:none}
 main{margin:0;padding:0 16px calc(110px + env(safe-area-inset-bottom))}
 .topbar{padding:10px 0 4px}.topbar>span{display:none}.topbar .workspace{margin-left:auto}
 .topbar .workspace>span{display:none}
 .heading{margin:6px 0 14px}.heading h1{font-size:27px}
 nav{position:fixed;left:14px;right:14px;bottom:max(12px,env(safe-area-inset-bottom));z-index:15;display:grid;grid-template-columns:repeat(5,1fr);gap:2px;padding:6px 8px;border-radius:var(--r-pill);background:var(--dock-bg);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:var(--dock-shadow)}
 nav button{flex-direction:column;justify-content:center;gap:4px;padding:6px 2px;min-height:56px;font-size:10px;font-weight:500;color:var(--muted2);border-radius:var(--r-pill);text-align:center}
 nav button svg{width:20px;height:20px}
 nav button.active{background:var(--grad);color:#fff;box-shadow:0 8px 20px var(--glow)}
 nav button:hover{background:var(--grad)}
 nav button:not(.active):hover{background:var(--hover)}
 .settings-grid{grid-template-columns:1fr}
 .summary-grid{grid-template-columns:1fr 1.15fr;gap:14px}
 .form-grid{grid-template-columns:1fr;gap:14px}
 dialog{width:100%;max-width:none;max-height:94dvh;margin:auto 0 0;border-radius:22px 22px 0 0}
 .dialog-heading::before{display:block}
 .dialog-heading{padding-top:26px}
 #form{padding:0 18px}
 footer{padding-bottom:max(22px,env(safe-area-inset-bottom))}
 footer .primary{flex:1}
 .totals{grid-template-columns:1fr 1fr}
 .commission-values{grid-template-columns:1fr 1fr 1fr}
 .offer-grid{grid-template-columns:1fr}
 .stage-strip{gap:0 14px}
 .request-actions{grid-template-columns:repeat(3,1fr)}
 .panel-title{padding:16px 18px 10px}
 .settings-body,.call-dealers,.request-list,.broker-preferences,.desired-terms,.commission-values,.checklist,.note{padding-left:18px;padding-right:18px}
 .offer-grid{padding:0 18px 18px}
 #notice{bottom:max(96px,calc(env(safe-area-inset-bottom) + 92px))}
 #update-banner{position:sticky;font-size:12px;padding:12px 16px}
 body.has-update-banner aside,body.has-update-banner main{padding-top:0}body.has-update-banner aside{padding-top:16px}
}
@media(min-width:701px){
 .offer-grid{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}
 .overview-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:18px;align-items:start}
 .request-actions{grid-template-columns:repeat(auto-fit,minmax(110px,1fr))}
}
@media(max-width:360px){.detail-tabs{grid-template-columns:repeat(2,1fr)}.summary-grid{grid-template-columns:1fr}.summary-grid>div:nth-child(2){border-left:0;padding-left:0;padding-top:12px;border-top:1px solid var(--line)}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}.customer-row:hover{transform:none}}

/* CSS owns native safe-area spacing; iOS contentInset is "never" so UIKit
   does not add another inset. Keep the dock/footer insets and keyboard rules. */
.native-app body{padding-top:env(safe-area-inset-top)}
.native-app.keyboard-open nav{display:none}
.native-app dialog{max-height:calc(100dvh - env(safe-area-inset-top))}

/* Atmosphere stays outside scrolling content and never captures taps. */
html{background:var(--bg)}
body::before{content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;background:radial-gradient(ellipse 420px 420px at -20px 35px,var(--aurora-a),transparent 70%),radial-gradient(ellipse 400px 400px at 105% 100%,var(--aurora-b),transparent 70%)}
body{isolation:isolate}
.panel,.customer-row,.customer-summary,.reminder,.request-row,.welcome-actions{backdrop-filter:var(--glass);-webkit-backdrop-filter:var(--glass)}
/* Avoid a second filter on nested surfaces and keep menu text opaque. */
.panel .panel,.panel .request-row{backdrop-filter:none;-webkit-backdrop-filter:none}
.awaited-panel{backdrop-filter:none;-webkit-backdrop-filter:none}
select option{background:var(--solid-surface);color:var(--ink)}
#update-banner{background:var(--sheet)}
.brand{letter-spacing:-.045em}
.brand-mark i{background:var(--grad)}
.hero{border-radius:20px}
.hero h2{font-size:21px;line-height:1.26;letter-spacing:-.02em}
/* First launch: the approved Aurora identity above a compact glass action tray.
   Intrinsic content can scroll on short screens, landscape and enlarged text. */
#app:has(.welcome-shell){min-height:0}
.welcome-shell{margin:0;max-width:none;min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:calc(32px + env(safe-area-inset-top,0px)) 20px calc(28px + env(safe-area-inset-bottom,0px))}
.native-app .welcome-shell{min-height:calc(100dvh - env(safe-area-inset-top,0px));padding-top:32px}
.welcome-shell__panel{width:100%;max-width:420px}
.welcome-identity{padding:0 8px 30px}
.welcome-identity .brand-mark{height:40px;gap:4px;margin-bottom:20px}
.welcome-identity .brand-mark i{width:8px;border-radius:3px;background:linear-gradient(180deg,#8CADF4,#2459D3)}
.welcome-identity .brand-mark i:nth-child(1){height:27px}.welcome-identity .brand-mark i:nth-child(2){height:40px}.welcome-identity .brand-mark i:nth-child(3){height:32px}
.welcome-identity h1{font-size:42px;font-weight:600;letter-spacing:-.05em;line-height:1.04;margin-bottom:16px}
.welcome-identity p{font-size:15.5px;line-height:1.55;color:var(--muted);max-width:25ch;text-wrap:pretty}
.welcome-actions{display:grid;gap:9px;border-radius:26px;padding:18px;background:var(--surface);box-shadow:var(--card-shadow)}
.welcome-actions .primary,.welcome-actions .secondary{width:100%;min-height:52px;border-radius:15px;font-size:15.5px}
.welcome-actions .secondary{background:var(--raise)}
.welcome-actions .text-link{justify-content:center;min-height:44px;font-size:14px;margin-top:5px}
.welcome-foot{margin:14px 6px 0;text-align:center;font-size:11.5px;line-height:1.55;color:var(--muted2)}
.welcome-recovery{display:flex;justify-content:center;margin:4px 0 0}
.welcome-recovery .text-link{font-size:12px;min-height:44px}
#welcome-account-help{font-size:12px;line-height:1.5;color:var(--muted);padding:0 8px;margin:0 0 16px}
/* Keep actual auth forms and modal focus/recovery handling; style their own sheet. */
dialog:has(.account-links) .dialog-heading h2{font-size:28px;letter-spacing:-.035em}
dialog:has(.account-links) .dialog-eyebrow{font-size:12px;text-transform:none;letter-spacing:0}
dialog:has(.account-links) .form-help{font-size:14px}
dialog:has(.account-links) input{min-height:50px;background:var(--raise)}
dialog:has(.account-links) .account-links{flex-wrap:wrap;gap:4px 18px}
.account-links a{display:inline-flex;align-items:center;min-height:44px}
@media(max-width:700px){
 .topbar{padding:6px 0 0}
 .workspace-banner{margin-bottom:12px}
 aside .brand{font-size:23px}
 .welcome-shell{align-items:flex-end}
 .welcome-shell__panel{padding-top:24px}
}
@media(prefers-reduced-transparency:reduce){
 :root{--surface:var(--solid-surface);--raise:var(--solid-surface);--dock-bg:var(--solid-surface);--glass:none}
 body::before{display:none}
}
@media(prefers-contrast:more){:root{--muted:var(--ink);--muted2:var(--ink);--line:var(--ink);--surface:var(--solid-surface);--raise:var(--solid-surface);--dock-bg:var(--solid-surface);--glass:none}}

/* Claude Aurora screen geometry — September 14 parity correction. */
.auth-screen #form{display:flex;flex-direction:column;min-height:100%;padding:0 28px 28px}
.auth-screen .auth-back{align-self:flex-start;color:var(--accent);font-size:14px;min-height:44px;margin-bottom:18px}
.auth-screen .dialog-heading{position:static;padding:0;margin:0 0 9px;background:transparent}
.auth-screen .dialog-heading::before{display:none}
.auth-screen .dialog-heading h2{font-size:30px;font-weight:600;letter-spacing:-.035em}
.auth-screen .form-help{font-size:14.5px;line-height:1.5;margin-bottom:26px}
.auth-screen .form-grid{gap:16px}
.auth-screen .form-grid label{font-size:11.5px;letter-spacing:.05em;text-transform:uppercase;color:var(--muted2)}
.auth-screen input{min-height:50px;background:var(--raise);text-transform:none;letter-spacing:normal}
.auth-screen footer{position:static;border:0;margin:22px 0 0;padding:0;background:transparent}
.auth-screen footer .primary{width:100%;min-height:52px;font-size:15.5px;border-radius:15px}
.auth-screen .account-links{justify-content:center;margin:14px 0 0}
.auth-screen .account-links a{font-size:14px;letter-spacing:normal;text-transform:none}
.auth-screen .auth-foot{margin-top:auto;padding-top:24px;font-size:11.5px;line-height:1.55;color:var(--muted2)}
.auth-screen{background-color:var(--bg);background-image:radial-gradient(ellipse 420px 420px at -90px -130px,var(--aurora-a),transparent 70%),radial-gradient(ellipse 380px 380px at 115% 110%,var(--aurora-b),transparent 70%)}
@media(max-width:700px){
 dialog.auth-screen,.native-app dialog.auth-screen{position:fixed;inset:0;width:100%;height:100dvh;max-height:100dvh;margin:0;border-radius:0;overflow-y:auto;overscroll-behavior:contain;animation:ddFade .2s ease}
 .auth-screen #form{padding-top:calc(env(safe-area-inset-top,0px) + 8px);padding-bottom:max(24px,env(safe-area-inset-bottom,0px))}
 .native-app.keyboard-open .auth-screen #form{padding-bottom:18px}
 .auth-screen .dialog-heading h2{font-size:30px}
 .auth-screen .close{display:none}
 /* Keep a single visible workspace badge in the brand row, as in the export. */
 .workspace-banner{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .topbar{padding:0}
 aside{padding:0 16px;margin:0 0 18px;min-height:38px}
 body:not(:has(.welcome-shell)){padding-top:16px}
 .native-app body:not(:has(.welcome-shell)){padding-top:env(safe-area-inset-top)}
 .brand-mark{height:29px;gap:3px}.brand-mark i{width:6px;transform:skewX(-17deg)}
 .brand-mark i:nth-child(1){height:20px}.brand-mark i:nth-child(2){height:29px}.brand-mark i:nth-child(3){height:15px}
 .heading{margin:0 0 16px}.heading h1{font-weight:500;letter-spacing:-.02em}
 .hero{padding:18px;margin-bottom:14px}.hero h2{font-weight:500;margin-top:11px}.hero-actions{margin-top:16px}.hero-actions .primary,.hero-actions .icon-btn{min-height:46px}
 .pipeline{padding:15px}.pipeline-head{margin:0}.pipeline-bars{display:flex;gap:3px;height:9px;margin:12px 0 10px}.pipeline-bars i{height:9px;flex:1;border-radius:999px;opacity:1}
 .stage-strip{gap:4px}.stage-strip button{font-size:11.5px;min-height:40px;padding:8px 8px 8px 0}.stage-strip button strong{font-size:12.5px;font-weight:500}
 .section-head{margin:24px 0 10px}.section-head h2{font-size:15px;font-weight:500}
 .customer-row{padding:15px}.customer-top{gap:9px;margin-bottom:11px}.customer-top strong{font-size:13.5px;font-weight:500}.car-line{font-size:13px;margin-bottom:11px}.stage-bar{margin-bottom:13px}
 .customer-bottom>span:first-child{font-size:13.5px;font-weight:500}.customer-bottom small{font-size:10.5px}.next-date{font-size:10.5px;max-width:46%}
 .customer-summary{padding:14px}.detail-heading h1{font-size:25px}.detail-tabs{gap:6px}.detail-tabs button{min-height:46px;font-size:12px}
 .request-row{padding:14px;border-left-width:2px}.request-head strong{font-size:13.5px;font-weight:500}.request-head>.muted{font-size:11.5px}
 .reminder{padding:13px 14px;border-left-width:2px}.reminder-action{font-size:13.5px}.reminder-meta{font-size:10.5px}.waiting{font-size:10.5px}.complete{width:44px;height:44px}
 .welcome-identity{padding:0 8px 8px}.welcome-identity p{max-width:20ch}.welcome-identity .brand-mark i:nth-child(3){height:20px}.welcome-identity .brand-mark i{transform:skewX(-17deg)}
 .welcome-recovery{display:none} /* Recovery lives on Log in, exactly as designed. */
}
@media(min-width:701px){.auth-screen{height:min(760px,90dvh);max-width:480px}.auth-screen #form{padding-top:24px}}
.pipeline-bars i.s0,.pipeline-bars i.s0.on{background:var(--line)}.pipeline-bars i.s1,.pipeline-bars i.s1.on{background:#9DB8F2}.pipeline-bars i.s2,.pipeline-bars i.s2.on{background:var(--fill)}.pipeline-bars i.s3,.pipeline-bars i.s3.on{background:var(--deep)}
:root[data-theme="night"] .pipeline-bars i.s1{background:#2E4C8F}
.today-request .wait-bar{height:5px;background:var(--bg);margin:12px 0 6px}.today-request .wait-bar i{background:var(--fill)}.today-request.is-overdue .wait-bar i{background:var(--ink)}
.today-request .wait-note{font-size:10.5px;color:var(--muted2)}.today-request .request-actions{margin-top:4px}
