/* core.css: Shared by every page. Loaded first. */

/* ---- beta ---- */
.getting-started-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-bottom:24px;}
.setup-step {padding:28px;min-width:0;}
.setup-step-number {display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#eeebfa;color:#6a589f;font-weight:700;}
.setup-step h2,.setup-extras h2 {font:700 24px/1.3 var(--display);letter-spacing:-.6px;}
.setup-step p,.setup-extras p,.setup-footnote {color:var(--muted);line-height:1.7;font-size:15px;}
.setup-step-actions {display:flex;gap:10px;flex-wrap:wrap;}
.setup-extras {padding:28px;}
.setup-extra-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 38px;}
.setup-extra-grid h3 {margin:8px 0;font-size:17px;}
.setup-extra-grid a {color:var(--green-dark);font-weight:600;}
.onboarding-prompt {display:flex;align-items:center;justify-content:space-between;gap:18px;padding:23px 26px;background:#f4f0fc;border:1px solid #e8e0f6;border-radius:20px;margin-bottom:25px;}
.onboarding-prompt h2 {font:700 22px/1.3 var(--display);margin:0 0 8px;}
.onboarding-prompt p {font-size:14px;max-width:650px;margin:0 0 15px;color:#776e88;}
.onboarding-prompt form {flex-shrink:0;}
.network-alert {padding:16px 20px;border:1px solid #e5d4b5;border-radius:14px;background:#fff8eb;margin-bottom:20px;color:#795a2e;}
.network-alert[hidden],[data-install-button][hidden],[data-installed-note][hidden] {display:none!important;}
.offline-outbox {margin-bottom:20px;padding:14px 18px;border:1px solid var(--line);border-radius:14px;background:var(--card);color:var(--ink);font-size:14px;line-height:1.5;}
.offline-outbox[hidden] {display:none!important;}
button.nav-share {width:100%;border:0;background:transparent;font-family:inherit;line-height:inherit;text-align:left;cursor:pointer;}
.share-sheet {width:min(92vw,360px);padding:22px;border:1px solid var(--line);border-radius:18px;background:var(--card);color:var(--ink);}
.share-sheet::backdrop {background:rgba(7,17,29,.55);}
.share-sheet h2 {margin:0 0 6px;font-size:18px;}
.share-sheet p {margin:0 0 16px;color:var(--muted);font-size:14px;line-height:1.5;}
.share-sheet-actions {display:grid;gap:10px;}
.share-sheet-actions :is(a,button) {display:flex;align-items:center;justify-content:center;min-height:48px;border:1px solid var(--line);border-radius:999px;background:transparent;color:inherit;font:inherit;font-weight:600;text-decoration:none;cursor:pointer;}
.share-sheet-actions .share-close {border:0;color:var(--muted);}
/* Signed-out pages inside the iPhone app sit under the status bar; this is 0 in browsers. */
:is(.auth-body,.marketing-body) {padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px);}
.app-reminders-prompt {margin-bottom:20px;padding:16px 18px;border:1px solid var(--line);border-radius:14px;background:var(--card);}
.app-reminders-prompt p {margin:0 0 12px;font-size:15px;line-height:1.5;}
.app-reminders-prompt div {display:flex;flex-wrap:wrap;gap:10px;}
.app-reminders-prompt .button {min-height:44px;}
.offline-outbox.needs-review {border-color:#e5d4b5;}
.offline-outbox p {margin:0;}
.offline-outbox summary {margin-top:8px;cursor:pointer;font-weight:600;min-height:32px;line-height:32px;}
.offline-outbox ul {margin:6px 0 0;padding:0;list-style:none;}
.offline-outbox li {display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;padding:10px 0;border-top:1px solid var(--line);}
.offline-outbox li small {flex-basis:100%;color:var(--muted);font-size:13px;}
.offline-outbox li button {min-height:36px;padding:0 14px;border:1px solid var(--line);border-radius:999px;background:transparent;color:inherit;font-weight:600;cursor:pointer;}
.plain-page {max-width:900px;margin:25px auto;padding:30px 26px;}
.plain-page h1 {font:800 clamp(29px,5vw,42px)/1.2 var(--display);letter-spacing:-1.2px;}
.plain-page h2 {font-size:22px;margin-top:30px;}
.plain-page p,.plain-page li {line-height:1.8;font-size:16px;color:#686478;}
.plain-page a:not(.button) {color:#6856a1;text-decoration:underline;text-underline-offset:3px;}
.plain-page li {margin-bottom:12px;}
.plain-page .setup-step-actions {margin:24px 0;}
.health-list {display:grid;gap:12px;padding:0;list-style:none;}
.health-list li {padding:16px;border-radius:12px;background:#f6f4fb;}
.health-list strong,.health-list span {display:block;}
.health-list span {font-size:14px;}
.safety-links {display:flex;gap:10px 20px;flex-wrap:wrap;margin:24px 0;}
.safety-links a {color:#77648f;font-size:14px;text-decoration:underline;text-underline-offset:3px;}
.danger-link {color:#9c4545!important;}
.button-danger {background:#fbe7e6;border-color:#e7bdbc;color:#842e35;}
.button-danger:hover {background:#f6d8d7;}
.equipment-dashboard-summary {margin-bottom:26px;}
.equipment-overview-list {list-style:none;padding:0;display:grid;gap:14px;margin:20px 0;}
.equipment-overview-list li {display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-bottom:12px;border-bottom:1px solid #eeeaf5;}
.equipment-overview-list a {font-weight:600;color:#6856a1;}
.equipment-overview-list span {font-size:14px;color:#6c6678;}
@media(max-width:640px){.getting-started-grid,.setup-extra-grid{grid-template-columns:minmax(0,1fr);}.setup-step,.setup-extras{padding:22px;}.setup-step-actions>.button{width:100%;}.onboarding-prompt{align-items:flex-start;flex-direction:column;padding:21px;}.plain-page{padding:24px 18px;margin:0;}.plain-page h1{font-size:30px;}}
.garage-tabs,.equipment-tabs {flex-wrap:wrap;max-width:100%;}

/* ---- app ---- */
:root{
    --ink:#122033;--muted:#6d7988;--subtle:#93a0ae;--line:#e6ebf0;--canvas:#f4f7f9;--card:#fff;
    --nav:#0a1422;--nav-soft:#111e2e;--green:#14ad7d;--green-dark:#078763;--green-soft:#e3f8f1;
    --purple:#7167e8;--purple-soft:#eeecff;--amber:#e99a30;--amber-soft:#fff3df;--coral:#e56f5f;--coral-soft:#ffebe8;
    --shadow:0 12px 35px rgba(35,54,75,.07);--radius:18px;--font:"DM Sans",sans-serif;--display:"Manrope",sans-serif
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:var(--font);font-size:15px;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a{ -webkit-tap-highlight-color:transparent}svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.app-body{background:var(--canvas);min-height:100vh}.app-shell{display:flex;min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;z-index:30;display:flex;width:244px;flex-direction:column;padding:28px 18px 20px;background:var(--nav);color:#d4dce5}.brand{display:flex;align-items:center;gap:10px;padding:0 10px;color:#f7fafc;font:800 23px var(--display);letter-spacing:-1px}.brand-mark{display:grid;width:34px;height:34px;place-items:center;border-radius:11px;background:var(--green);color:#fff}.brand-mark svg{width:27px;height:27px;stroke-width:1.5}.main-nav{margin-top:42px}.nav-label{margin:25px 12px 9px;color:#5e6b7a;font-size:10px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase}.nav-item{display:flex;align-items:center;gap:13px;margin:3px 0;padding:11px 12px;border-radius:10px;color:#8f9caa;font-weight:600;transition:.2s}.nav-item svg{width:20px;height:20px}.nav-item:hover{background:#ffffff08;color:#dfe7ef}.nav-item.active{background:#163329;color:#58d5ae}.sidebar-card{position:relative;overflow:hidden;margin:auto 2px 19px;padding:17px;border:1px solid #223344;border-radius:14px;background:linear-gradient(145deg,#142435,#101c2a);font-size:12px}.sidebar-card:after{position:absolute;right:-20px;bottom:-32px;width:80px;height:80px;border:18px solid #1a604b;border-radius:50%;content:"";opacity:.25}.sidebar-card-icon{display:grid;width:28px;height:28px;margin-bottom:12px;place-items:center;border-radius:8px;background:#1e493c;color:#65dab7}.sidebar-card-icon svg{width:16px}.sidebar-card strong,.sidebar-card span{display:block}.sidebar-card strong{color:#e4eaf0;font-size:13px}.sidebar-card>span:not(.sidebar-card-icon){margin:5px 0 12px;color:#758494;line-height:1.45}.sidebar-card a{position:relative;z-index:1;color:#58d5ae;font-weight:700}.sidebar-user{display:flex;align-items:center;gap:10px;padding:15px 5px 0;border-top:1px solid #1d2a39}.sidebar-user>span:nth-child(2){min-width:0;flex:1}.sidebar-user strong,.sidebar-user small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-user strong{color:#dbe3eb;font-size:12px}.sidebar-user small{margin-top:2px;color:#617080;font-size:10px}.avatar{display:grid;width:34px;height:34px;flex:0 0 auto;place-items:center;border-radius:10px;background:linear-gradient(145deg,#29624f,#173d31);color:#65d5b3;font-size:11px;font-weight:700}.icon-button{display:grid;width:36px;height:36px;padding:0;place-items:center;border:0;border-radius:9px;background:transparent;color:#748292;cursor:pointer}.icon-button:hover{background:#ffffff0a;color:#fff}.icon-button svg{width:18px;height:18px}.app-content{width:calc(100% - 244px);min-width:0;margin-left:244px}.topbar{position:sticky;top:0;z-index:20;display:flex;height:76px;align-items:center;justify-content:space-between;padding:0 clamp(22px,4vw,52px);border-bottom:1px solid #e9edf1;background:rgba(248,250,251,.9);backdrop-filter:blur(14px)}.topbar-title span,.topbar-title small{display:block}.topbar-title span{font:700 15px var(--display)}.topbar-title small{margin-top:3px;color:var(--subtle);font-size:11px}.topbar-actions,.intro-actions{display:flex;align-items:center;gap:12px}.vehicle-switcher{position:relative;display:flex;align-items:center}.vehicle-switcher svg{position:absolute;left:12px;width:18px;color:#718090;pointer-events:none}.vehicle-switcher select{height:38px;min-width:150px;padding:0 35px 0 38px;border:1px solid var(--line);border-radius:10px;outline:0;background:#fff;color:#344256;font-size:12px;font-weight:600;cursor:pointer}.mobile-menu{display:none}.main-content{min-height:calc(100vh - 126px);padding:38px clamp(22px,4vw,52px) 60px}.app-footer{display:flex;justify-content:space-between;padding:16px clamp(22px,4vw,52px);border-top:1px solid #e3e8ed;color:#97a2ad;font-size:11px}.page-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:30px}.eyebrow{display:flex;align-items:center;gap:7px;color:var(--green-dark);font-size:10px;font-weight:700;letter-spacing:1.35px;text-transform:uppercase}.eyebrow i{width:17px;height:1px;background:var(--green)}.page-intro h1{margin:8px 0 6px;font:800 clamp(25px,3vw,34px)/1.2 var(--display);letter-spacing:-1.2px}.page-intro p{margin:0;color:var(--muted);font-size:13px}.button{display:inline-flex;min-height:40px;align-items:center;justify-content:center;gap:8px;padding:9px 16px;border:1px solid transparent;border-radius:10px;font-size:12px;font-weight:700;cursor:pointer;transition:.2s}.button svg{width:17px;height:17px}.button-primary{background:var(--green);color:white;box-shadow:0 7px 18px rgba(20,173,125,.2)}.button-primary:hover{background:var(--green-dark);transform:translateY(-1px)}.button-secondary{border-color:#dfe5ea;background:#fff;color:#364456}.button-secondary:hover{border-color:#bdc8d2;background:#fafcfd}.button-ghost{background:#f3f5f7;color:#687584}.button-small{min-height:36px;padding:7px 13px}.button-wide{width:100%;min-height:48px}.card{border:1px solid var(--line);border-radius:var(--radius);background:var(--card);box-shadow:var(--shadow)}.card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:22px 24px 0}.card-header h2{margin:4px 0 0;font:700 17px var(--display);letter-spacing:-.35px}.card-header>a:not(.button){padding-top:8px;color:var(--green-dark);font-size:11px;font-weight:700}.card-kicker{color:var(--subtle);font-size:9px;font-weight:700;letter-spacing:1.25px;text-transform:uppercase}.card-subtitle{max-width:540px;margin:6px 0 0;color:var(--muted);font-size:12px;line-height:1.55}.metric-grid{display:grid;grid-template-columns:1.12fr repeat(3,1fr);gap:14px;margin-bottom:18px}.metric-card{display:flex;min-height:165px;flex-direction:column;padding:20px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 5px 20px rgba(39,57,76,.045)}.metric-featured{border-color:#bde9da;background:linear-gradient(145deg,#fff,#f2fcf8)}.metric-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.metric-icon{display:grid;width:36px;height:36px;place-items:center;border-radius:10px;background:var(--green-soft);color:var(--green-dark)}.metric-icon svg{width:20px;height:20px}.metric-icon.purple{background:var(--purple-soft);color:var(--purple)}.metric-icon.amber{background:var(--amber-soft);color:var(--amber)}.metric-icon.coral{background:var(--coral-soft);color:var(--coral)}.trend-pill{padding:4px 7px;border-radius:10px;background:#f1f4f6;color:#8994a0;font-size:9px;font-weight:700}.trend-pill.positive{background:var(--green-soft);color:var(--green-dark)}.metric-label{margin-bottom:5px;color:var(--muted);font-size:11px}.metric-card>strong{font:800 26px var(--display);letter-spacing:-1px}.metric-card>strong small{color:#75818e;font:600 11px var(--font);letter-spacing:0}.metric-foot{margin-top:auto;padding-top:12px;color:#9aa4ae;font-size:9px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(290px,.9fr);gap:18px;margin-bottom:18px}.chart-card{min-height:325px}.chart-wrap{position:relative;height:230px;padding:10px 18px 16px}.chart-wrap canvas{width:100%;height:100%}.chart-wrap-small{height:195px;padding-top:0}.legend,.cost-legend{display:flex;align-items:center;gap:5px;color:#778392;font-size:9px;font-weight:600}.legend i,.cost-legend i{display:inline-block;width:7px;height:7px;border-radius:50%}.legend-green{background:var(--green)}.legend-purple{background:var(--purple)}.cost-legend{justify-content:flex-end;gap:14px;padding:10px 24px 0}.cost-legend span{display:flex;align-items:center;gap:5px}.chart-empty{display:flex;height:245px;align-items:center;justify-content:center;flex-direction:column;color:var(--muted);text-align:center}.chart-empty.compact{height:200px}.chart-empty strong{margin-top:15px;color:#405064;font:700 14px var(--display)}.chart-empty small{margin-top:5px}.chart-empty a{margin-top:12px;color:var(--green-dark);font-size:11px;font-weight:700}.mini-chart-line{display:flex;height:50px;align-items:end;gap:12px;transform:skewX(-20deg)}.mini-chart-line i{width:25px;border-top:2px solid #b6e6d7}.mini-chart-line i:nth-child(1){height:11px}.mini-chart-line i:nth-child(2){height:27px}.mini-chart-line i:nth-child(3){height:20px}.mini-chart-line i:nth-child(4){height:42px}.lower-grid{grid-template-columns:1fr 1fr}.schedule-list{padding:10px 24px 18px}.schedule-row{display:flex;align-items:center;gap:11px;padding:12px 0;border-bottom:1px solid #edf0f3}.schedule-row:last-child{border:0}.service-icon{display:grid;width:34px;height:34px;flex:0 0 auto;place-items:center;border-radius:10px;background:#f0f4f6;color:#84919e}.service-icon svg{width:17px}.service-icon.overdue{background:var(--coral-soft);color:var(--coral)}.service-icon.soon{background:var(--amber-soft);color:var(--amber)}.service-icon.later{background:var(--green-soft);color:var(--green-dark)}.schedule-name{min-width:0;flex:1}.schedule-name strong,.schedule-name small{display:block}.schedule-name strong{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.schedule-name small{margin-top:3px;color:#929da7;font-size:9px}.status-badge{display:inline-block;padding:4px 7px;border-radius:12px;font-size:8px;font-weight:700;white-space:nowrap}.status-badge.overdue{background:var(--coral-soft);color:#c35243}.status-badge.soon{background:var(--amber-soft);color:#bc7416}.status-badge.later{background:var(--green-soft);color:var(--green-dark)}.privacy-chip,.guidance-chip{display:flex;align-items:center;gap:4px;margin-top:3px;padding:5px 7px;border-radius:12px;background:#f0f3f5;color:#7e8995;font-size:8px;font-weight:700}.privacy-chip svg{width:11px}.comparison-empty{display:flex;min-height:190px;align-items:center;justify-content:center;flex-direction:column;padding:25px;text-align:center}.comparison-empty strong{margin-top:15px;font:700 13px var(--display)}.comparison-empty small{max-width:260px;margin-top:5px;color:var(--muted);font-size:10px;line-height:1.5}.comparison-rings{position:relative;width:60px;height:50px}.comparison-rings i{position:absolute;bottom:0;width:33px;height:33px;border:5px solid}.comparison-rings i:nth-child(1){left:0;border-color:#bae9db;border-radius:50%}.comparison-rings i:nth-child(2){left:14px;bottom:13px;border-color:#d9d4ff;border-radius:50%}.comparison-rings i:nth-child(3){right:0;border-color:#f6dfbd;border-radius:50%}.benchmark-list{display:flex;flex-direction:column;gap:17px;padding:26px 24px 10px}.benchmark-list>div>span{display:flex;justify-content:space-between;margin-bottom:7px;font-size:9px}.benchmark-list b{color:#566475}.benchmark-list>div>i{display:block;height:6px;overflow:hidden;border-radius:4px;background:#edf1f3}.benchmark-list em{display:block;height:100%;border-radius:4px;background:var(--green)}.benchmark-list em.muted{background:#aeb9c3}.benchmark-list em.purple{background:var(--purple)}.comparison-note{margin:8px 24px 20px;color:#99a3ad;font-size:8px;line-height:1.45}.recent-card{margin-top:0}.table-wrap{width:100%;overflow:auto}.table-wrap table{width:100%;border-collapse:collapse;white-space:nowrap}.table-wrap th{padding:15px 24px 10px;color:#a0a9b2;font-size:8px;font-weight:700;letter-spacing:.8px;text-align:left;text-transform:uppercase}.table-wrap td{padding:14px 24px;border-top:1px solid #eef1f3;color:#687584;font-size:10px}.table-wrap td strong{color:#344255}.vehicle-cell{display:flex;align-items:center;gap:7px}.vehicle-cell i,.vehicle-dot{display:grid;width:25px;height:25px;place-items:center;border-radius:7px;background:#edf8f4;color:var(--green-dark);font-size:9px;font-style:normal;font-weight:700}.mpg-value{font-weight:700;color:var(--green-dark)}.mini-empty{display:flex;min-height:120px;align-items:center;justify-content:center;flex-direction:column;color:var(--muted);text-align:center}.mini-empty strong,.mini-empty span,.mini-empty small{display:block}.mini-empty strong{color:#435166}.mini-empty span,.mini-empty small{margin-top:4px;font-size:10px}.mini-empty.padded{padding:35px}.field-help.padded{margin:0;padding:0 24px 14px;color:#66707c;font-size:13px;line-height:1.6}@media(max-width:640px){.field-help.padded{padding:0 17px 12px}}.mini-empty .button{margin-top:15px}.mini-empty.horizontal{min-height:110px;justify-content:space-between;flex-direction:row;padding:20px 25px;text-align:left}.empty-garage{display:grid;min-height:450px;grid-template-columns:1.1fr 1fr;align-items:center;gap:50px;overflow:hidden;padding:50px;border:1px solid var(--line);border-radius:24px;background:#fff;box-shadow:var(--shadow)}.empty-garage-art{position:relative;display:grid;height:260px;place-items:center;border-radius:20px;background:linear-gradient(145deg,#e8f8f2,#f5faf8)}.empty-garage-art svg{position:relative;z-index:2;width:80%;max-width:300px;fill:#fff;stroke:#16a97c;stroke-width:2}.car-glow{position:absolute;width:65%;height:50%;border-radius:50%;background:#53d4aa;filter:blur(55px);opacity:.23}.empty-garage h2{margin:11px 0 10px;font:800 29px var(--display);letter-spacing:-1px}.empty-garage p{margin:0 0 22px;color:var(--muted);line-height:1.65}.garage-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.vehicle-card{overflow:hidden;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:var(--shadow);transition:.25s}.vehicle-card:hover{transform:translateY(-3px);box-shadow:0 18px 45px rgba(35,54,75,.11)}.vehicle-art{position:relative;display:grid;height:150px;place-items:center;overflow:hidden;background:linear-gradient(145deg,#dff5ed,#edf9f5)}.vehicle-art:after{position:absolute;width:160px;height:160px;border:35px solid #ffffff55;border-radius:50%;content:""}.vehicle-art-2{background:linear-gradient(145deg,#e9e7ff,#f6f4ff)}.vehicle-art-3{background:linear-gradient(145deg,#ffeadb,#fff7ee)}.vehicle-art-4{background:linear-gradient(145deg,#e2eef7,#f3f8fb)}.vehicle-art svg{position:relative;z-index:2;width:80%;fill:#fff;stroke:#218c6d}.vehicle-art-2 svg{stroke:#7167e8}.vehicle-art-3 svg{stroke:#d97939}.vehicle-year{position:absolute;top:13px;left:14px;z-index:3;padding:4px 8px;border-radius:10px;background:#ffffffbb;color:#536170;font-size:9px;font-weight:700}.vehicle-card-body{padding:20px}.vehicle-type-tag{padding:4px 7px;border-radius:10px;background:#eef4f2;color:#4c7b6c;font-size:8px;font-weight:700;text-transform:uppercase}.vehicle-card h2{margin:11px 0 4px;font:800 20px var(--display)}.vehicle-card p{height:34px;margin:0;color:var(--muted);font-size:10px;line-height:1.5}.vehicle-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:17px 0;padding:14px 0;border-block:1px solid #edf0f2}.vehicle-facts span{min-width:0}.vehicle-facts small,.vehicle-facts strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vehicle-facts small{color:#a0a9b3;font-size:8px}.vehicle-facts strong{margin-top:4px;font-size:9px}.vehicle-card-link{display:flex;align-items:center;justify-content:space-between;color:var(--green-dark);font-size:10px;font-weight:700}.vehicle-card-link svg{width:16px}.add-vehicle-card{display:flex;min-height:383px;align-items:center;justify-content:center;flex-direction:column;border:1.5px dashed #cbd4dc;border-radius:18px;color:#7e8b98;transition:.2s}.add-vehicle-card:hover{border-color:var(--green);background:#f5fcf9;color:var(--green-dark)}.add-vehicle-card>span{display:grid;width:45px;height:45px;margin-bottom:14px;place-items:center;border-radius:14px;background:#e9eef1}.add-vehicle-card svg{width:20px}.add-vehicle-card small{margin-top:4px}.empty-list-card,.empty-page{display:flex;min-height:420px;align-items:center;justify-content:center;flex-direction:column;border:1px solid var(--line);border-radius:20px;background:#fff;text-align:center}.large-icon{display:grid;width:66px;height:66px;place-items:center;border-radius:20px;background:var(--green-soft);color:var(--green-dark)}.large-icon svg{width:34px}.empty-list-card h2,.empty-page h1{margin:18px 0 7px;font:800 24px var(--display)}.empty-list-card p,.empty-page p{margin:0 0 20px;color:var(--muted)}.empty-icon{font:800 60px var(--display);color:#d9e2e7}.fuel-summary-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:18px;margin-bottom:18px}.fuel-trend-card{min-height:330px}.big-inline-metric{font:800 22px var(--display)}.big-inline-metric small{color:var(--muted);font:600 9px var(--font)}.logging-guide{position:relative;overflow:hidden;padding:25px;background:linear-gradient(145deg,#0e1b29,#142b30);color:white}.logging-guide:after{position:absolute;right:-55px;bottom:-60px;width:170px;height:170px;border:25px solid #1b765b;border-radius:50%;content:"";opacity:.25}.guide-icon{display:grid;width:37px;height:37px;margin-bottom:35px;place-items:center;border-radius:10px;background:#1d4a3c;color:#68dab7}.guide-icon svg{width:18px}.logging-guide .card-kicker{color:#68c8ab}.logging-guide h2{max-width:250px;margin:8px 0 8px;font:700 20px/1.3 var(--display)}.logging-guide p{max-width:280px;color:#8fa0ac;font-size:10px;line-height:1.6}.guide-steps{position:relative;z-index:2;display:flex;gap:13px;margin-top:23px}.guide-steps span{color:#8da098;font-size:8px;font-weight:600}.guide-steps i{display:grid;width:22px;height:22px;margin-bottom:6px;place-items:center;border:1px solid #326554;border-radius:7px;color:#63d2af;font-style:normal}.log-card{overflow:hidden}.log-card .card-header{padding-bottom:15px}.action-table td{padding-block:13px}.primary-cell{display:flex;align-items:center;gap:10px}.primary-cell span:last-child strong,.primary-cell span:last-child small{display:block}.primary-cell span:last-child small{margin-top:3px;color:#9aa4ae;font-size:8px}.unit{color:#a2abb4}.block-muted{display:block;margin-top:2px;color:#a1aab3;font-size:8px}.mpg-badge{display:inline-block;min-width:38px;padding:5px 7px;border-radius:8px;background:var(--green-soft);color:var(--green-dark);font-weight:700;text-align:center}.detail-chips{display:flex;gap:4px}.detail-chips span,.detail-chips a{padding:3px 6px;border-radius:7px;background:#f0f3f5;color:#6d7a88;font-size:8px}.detail-chips a{color:var(--green-dark)}.table-action{width:26px;height:26px;border:0;border-radius:7px;background:transparent;color:#a4adb6;cursor:pointer}.table-action:hover{background:var(--coral-soft);color:var(--coral)}.care-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:18px}.care-metrics article{display:flex;align-items:center;gap:13px;padding:18px 20px;border:1px solid var(--line);border-radius:15px;background:#fff}.care-metrics small,.care-metrics strong{display:block}.care-metrics small{color:var(--subtle);font-size:9px}.care-metrics strong{margin-top:3px;font:700 14px var(--display)}.recommendations-card{margin-bottom:18px;overflow:hidden}.recommendations-card>.card-header{padding-bottom:20px}.recommendation-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;border-top:1px solid var(--line);background:var(--line)}.recommendation-item{position:relative;min-height:240px;padding:20px;background:white}.recommendation-line{position:absolute;top:0;left:0;width:100%;height:2px;background:#c6d0d8}.recommendation-item.overdue .recommendation-line{background:var(--coral)}.recommendation-item.soon .recommendation-line{background:var(--amber)}.recommendation-item.later .recommendation-line{background:var(--green)}.recommendation-top{display:flex;align-items:center;justify-content:space-between}.recommendation-item h3{margin:15px 0 6px;font:700 13px var(--display)}.recommendation-item p{height:43px;margin:0;color:var(--muted);font-size:9px;line-height:1.55}.due-facts{display:flex;gap:25px;margin:17px 0}.due-facts small,.due-facts strong{display:block}.due-facts small{color:#66707c;font-size:8px}.due-facts strong{margin-top:4px;font-size:10px}.recommendation-item>a{color:var(--green-dark);font-size:9px;font-weight:700}.guidance-note{display:flex;gap:11px;padding:17px 22px;border-top:1px solid #e7e3c9;background:#fffdf3;color:#716d55;font-size:9px;line-height:1.6}.guidance-note svg{width:18px;flex:0 0 auto;color:#ae9a3d}.timeline{padding:5px 24px 20px}.timeline-row{display:grid;grid-template-columns:22px 50px minmax(0,1fr) auto 28px;align-items:center;gap:13px;padding:19px 0;border-bottom:1px solid #edf0f2}.timeline-row:last-child{border:0}.timeline-marker{position:relative;display:grid;width:13px;height:13px;place-items:center;border:2px solid #cbd3da;border-radius:50%}.timeline-marker:before{position:absolute;top:12px;width:1px;height:65px;background:#e4e8eb;content:""}.timeline-row:last-child .timeline-marker:before{display:none}.timeline-marker.completed{border-color:var(--green)}.timeline-marker.completed i{width:5px;height:5px;border-radius:50%;background:var(--green)}.timeline-marker.planned{border-color:var(--amber)}.timeline-date strong,.timeline-date small{display:block}.timeline-date strong{font-size:10px}.timeline-date small{margin-top:2px;color:#9ba5af;font-size:8px}.timeline-main>div{display:flex;align-items:center;gap:7px}.type-label{color:#a0a8b1;font-size:8px}.timeline-main h3{margin:6px 0 3px;font:700 12px var(--display)}.timeline-main p{margin:0;color:#87929e;font-size:9px}.timeline-note{display:block;max-width:600px;margin-top:6px;color:#687584;font-size:8px}.timeline-meta{text-align:right}.timeline-meta strong,.timeline-meta small{display:block}.timeline-meta strong{font-size:11px}.timeline-meta small{margin-top:4px;color:#9ba4ae;font-size:8px}.modal{position:fixed;z-index:100;visibility:hidden;opacity:0;transition:.2s}.modal,.modal-backdrop{inset:0}.modal.open{visibility:visible;opacity:1}.modal-backdrop{position:absolute;background:#07111dbd;backdrop-filter:blur(5px)}.modal-panel{position:relative;max-width:590px;max-height:calc(100vh - 40px);margin:20px auto;overflow:auto;border-radius:20px;background:#fff;box-shadow:0 25px 80px #0005;transform:translateY(15px);transition:.25s}.modal.open .modal-panel{transform:translateY(0)}.modal-panel-wide{max-width:720px}.modal-header{position:sticky;top:0;z-index:3;display:flex;align-items:flex-start;justify-content:space-between;padding:25px 28px 19px;border-bottom:1px solid var(--line);background:#fff}.modal-header h2{margin:4px 0;font:800 23px var(--display);letter-spacing:-.6px}.modal-header p{margin:0;color:var(--muted);font-size:10px}.modal-close{display:grid;width:32px;height:32px;place-items:center;border-radius:9px;background:#f1f3f5;color:#778391;font-size:20px}.modal-form{padding:24px 28px 0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{display:flex;min-width:0;flex-direction:column;gap:7px;color:#4e5c6c;font-size:10px;font-weight:700}.field>span:first-child{display:flex;justify-content:space-between}.field small{color:#a3acb4;font-size:8px;font-weight:500}.field-span-2{grid-column:span 2}.field input,.field select,.field textarea{width:100%;border:1px solid #dfe5ea;border-radius:9px;outline:none;background:#fbfcfd;color:#253447;font-size:11px;font-weight:500;transition:.18s}.field input,.field select{height:41px;padding:0 12px}.field textarea{padding:11px 12px;resize:vertical;line-height:1.5}.field input:focus,.field select:focus,.field textarea:focus{border-color:#52c8a3;background:#fff;box-shadow:0 0 0 3px #14ad7d16}.field input::placeholder,.field textarea::placeholder{color:#b0bac3}.field-hint{min-height:11px;color:var(--green-dark)!important}.input-prefix{position:relative}.input-prefix i{position:absolute;top:50%;left:12px;z-index:1;transform:translateY(-50%);color:#81909e;font-style:normal}.input-prefix input{padding-left:25px}.form-section{padding:3px 0 22px;margin-bottom:20px;border-bottom:1px solid #edf0f2}.form-section h3{margin:0 0 16px;font:700 12px var(--display)}.check-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.check-card input{position:absolute;opacity:0}.check-card>span{display:flex;position:relative;flex-direction:column;padding:13px 13px 13px 43px;border:1px solid #dfe5ea;border-radius:10px;cursor:pointer}.check-card>span>i{position:absolute;top:16px;left:14px;width:17px;height:17px;border:1px solid #c9d2d9;border-radius:5px}.check-card input:checked+span{border-color:#8ed9c1;background:#f4fbf8}.check-card input:checked+span>i{border-color:var(--green);background:var(--green)}.check-card input:checked+span>i:after{position:absolute;top:2px;left:5px;width:4px;height:8px;border:solid white;border-width:0 2px 2px 0;content:"";transform:rotate(45deg)}.check-card strong{font-size:10px}.check-card small{margin-top:3px;color:#929da8;font-size:8px}.upload-field{display:flex;align-items:center;gap:12px;margin-top:14px;padding:14px;border:1px dashed #c8d2d9;border-radius:11px;cursor:pointer}.upload-field:hover{border-color:var(--green);background:#f8fcfa}.upload-field input{display:none}.upload-icon{display:grid;width:33px;height:33px;place-items:center;border-radius:9px;background:var(--green-soft);color:var(--green-dark)}.upload-icon svg{width:17px}.upload-field strong,.upload-field small{display:block}.upload-field strong{font-size:10px}.upload-field small{margin-top:3px;color:#95a0ab;font-size:8px}.modal-actions{position:sticky;bottom:0;z-index:3;display:flex;justify-content:flex-end;gap:9px;margin:24px -28px 0;padding:17px 28px;border-top:1px solid var(--line);background:#fff}.alert{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px;padding:12px 15px;border:1px solid #bde9da;border-radius:10px;background:#edfaf5;color:#287a61;font-size:11px}.alert-error{border-color:#f1c9c3;background:#fff1ef;color:#a94d40}.alert-info{border-color:#cbdcf0;background:#f0f6fc;color:#4f7297}.alert button{border:0;background:transparent;color:inherit;cursor:pointer}.mobile-backdrop{display:none}.auth-body{min-height:100vh;background:#fff}.auth-shell{display:grid;min-height:100vh;grid-template-columns:minmax(420px,1.08fr) minmax(430px,.92fr)}.auth-showcase{position:relative;display:flex;overflow:hidden;flex-direction:column;padding:42px clamp(38px,6vw,80px);background:radial-gradient(circle at 80% 30%,#153f37 0,transparent 30%),linear-gradient(145deg,#08131f,#0b2028 70%,#0c3029);color:white}.brand-light{position:relative;z-index:2;padding:0}.showcase-copy{position:relative;z-index:2;max-width:620px;margin:auto 0}.eyebrow-light{color:#72d9b9}.showcase-copy :is(h1,h2){margin:21px 0 22px;font:800 clamp(40px,5vw,68px)/1.08 var(--display);letter-spacing:-3.5px}.showcase-copy :is(h1,h2) em{color:#54d1a8;font-style:normal}.showcase-copy>p{max-width:560px;color:#91a5ad;font-size:16px;line-height:1.65}.showcase-stats{display:flex;gap:45px;margin-top:50px;padding-top:28px;border-top:1px solid #ffffff17}.showcase-stats span,.showcase-stats strong,.showcase-stats small{display:block}.showcase-stats strong{color:#e5f0ed;font:700 14px var(--display)}.showcase-stats small{margin-top:5px;color:#69818a;font-size:9px}.showcase-orbit{position:absolute;border:1px solid #52ca9f18;border-radius:50%}.orbit-one{right:-220px;bottom:-270px;width:650px;height:650px}.orbit-two{right:-100px;bottom:-150px;width:410px;height:410px}.road-lines{position:absolute;right:40px;bottom:0;display:flex;gap:55px;transform:rotate(-23deg);transform-origin:bottom}.road-lines i{width:2px;height:300px;background:linear-gradient(transparent,#2f8268);opacity:.2}.auth-panel{display:grid;place-items:center;padding:40px;background:#fff}.auth-panel-inner{width:100%;max-width:390px}.auth-heading{margin-bottom:28px}.auth-heading :is(h1,h2){margin:10px 0 6px;font:800 30px var(--display);letter-spacing:-1px}.auth-heading p{margin:0;color:var(--muted);font-size:12px}.stack-form{display:flex;flex-direction:column;gap:16px}.password-wrap{position:relative}.password-wrap input{padding-right:44px}.password-wrap button{position:absolute;top:3px;right:4px;display:grid;width:35px;height:35px;place-items:center;border:0;background:transparent;color:#94a0ab;cursor:pointer}.password-wrap svg{width:17px}.auth-switch{margin:24px 0 0;color:#7d8996;font-size:11px;text-align:center}.auth-switch a{color:var(--green-dark);font-weight:700}.auth-fineprint{margin:28px 0 0;padding-top:18px;border-top:1px solid var(--line);color:#a3acb5;font-size:8px;line-height:1.6;text-align:center}
@media(max-width:1180px){.metric-grid{grid-template-columns:repeat(2,1fr)}.garage-grid{grid-template-columns:repeat(2,1fr)}.recommendation-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.chart-card-wide{min-height:340px}.lower-grid{grid-template-columns:1fr 1fr}.auth-shell{grid-template-columns:1fr 1fr}.showcase-copy :is(h1,h2){font-size:44px}}
@media(max-width:900px){.sidebar{transform:translateX(-100%);transition:.25s}.sidebar.open{transform:translateX(0)}.app-content{width:100%;margin-left:0}.mobile-menu{display:grid}.mobile-backdrop.active{position:fixed;inset:0;z-index:25;display:block;background:#07111d99}.topbar-title{display:none}.lower-grid,.fuel-summary-grid{grid-template-columns:1fr}.metric-grid{grid-template-columns:repeat(2,1fr)}.auth-showcase{display:none}.auth-shell{grid-template-columns:1fr}.auth-panel{padding:30px}.auth-panel-inner{max-width:430px}}
@media(max-width:640px){.topbar{height:66px;padding:0 15px}.topbar-actions{gap:7px}.vehicle-switcher select{min-width:120px;max-width:135px}.topbar-actions .button{font-size:0;padding:8px 10px}.topbar-actions .button svg{margin:0}.main-content{padding:26px 15px 45px}.app-footer{padding:15px;flex-direction:column;gap:4px}.page-intro{align-items:flex-start;flex-direction:column}.page-intro .button{align-self:stretch}.page-intro h1{font-size:27px}.metric-grid{grid-template-columns:1fr 1fr;gap:9px}.metric-card{min-height:150px;padding:15px}.metric-card>strong{font-size:21px}.dashboard-grid{gap:12px}.lower-grid{grid-template-columns:1fr}.card-header{padding:19px 17px 0}.schedule-list,.benchmark-list{padding-inline:17px}.garage-grid{grid-template-columns:1fr}.add-vehicle-card{min-height:180px}.empty-garage{grid-template-columns:1fr;padding:24px}.empty-garage-art{height:190px}.care-metrics{grid-template-columns:1fr}.recommendation-grid{grid-template-columns:1fr}.recommendation-item{min-height:215px}.timeline{padding-inline:15px}.timeline-row{grid-template-columns:16px 43px 1fr 25px}.timeline-meta{display:none}.table-wrap th,.table-wrap td{padding-inline:15px}.modal-panel,.modal-panel-wide{max-height:100vh;margin:0;border-radius:0}.modal-header{padding:20px}.modal-form{padding:20px 20px 0}.form-grid,.check-grid{grid-template-columns:1fr}.field-span-2{grid-column:span 1}.modal-actions{margin-inline:-20px;padding-inline:20px}.auth-panel{padding:24px}.showcase-stats{gap:20px}.mini-empty.horizontal{align-items:flex-start;flex-direction:column;gap:15px}.intro-actions{width:100%}.intro-actions .button{width:100%}}
@media(max-width:420px){.metric-grid{grid-template-columns:1fr}.vehicle-switcher{display:none}.metric-card{min-height:140px}.chart-wrap{padding-inline:8px}.sidebar{width:86vw}.recommendation-item{padding:17px}.auth-heading :is(h1,h2){font-size:27px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.inline-chart-legend{padding:7px 0 0}.fuel-chart-legend{padding-top:9px}.mpg-estimate{color:var(--purple);font-size:9px;font-weight:700}

/* Pastel interface refresh */
:root{--ink:#2f3448;--muted:#73788c;--subtle:#999db0;--line:#e7e3ed;--canvas:#faf8f4;--card:#fffefd;--nav:#e7e3f6;--nav-soft:#f0edf9;--green:#788bd1;--green-dark:#566bb7;--green-soft:#eef0fb;--purple:#ca8fa8;--purple-soft:#faedf3;--amber:#d7a35e;--amber-soft:#fff1db;--coral:#d98279;--coral-soft:#fcebe9;--shadow:0 12px 34px rgba(76,71,96,.08)}
body{font-size:16px}.app-body{background:var(--canvas)}.sidebar{overflow-y:auto;border-right:1px solid #d8d2e8;background:linear-gradient(165deg,#ebe7f8,#dfe8f3);color:#4e556d}.brand{color:#34394e;font-size:25px}.brand-mark{background:#8293d2}.main-nav{margin-top:34px}.nav-label{color:#9797ac;font-size:11px}.nav-item{color:#676d83;font-size:14px}.nav-item:hover{background:#ffffff80;color:#3b425b}.nav-item.active{background:#fff;color:#586bb2;box-shadow:0 7px 20px #5f669116}.sidebar-card{border-color:#d4cee5;background:linear-gradient(145deg,#f8f5ff,#f2eff9);color:#535a70}.sidebar-card:after{border-color:#c7bde7}.sidebar-card-icon{background:#e1dbf5;color:#6f7fc3}.sidebar-card strong{color:#3c4258}.sidebar-card>span:not(.sidebar-card-icon){color:#85899a}.sidebar-card a{color:#5d70b8}.sidebar-user{border-top-color:#d3cee2}.sidebar-user strong{color:#41475c}.sidebar-user small{color:#8e92a3}.sidebar-user .icon-button:hover{background:#ffffff80;color:#3d4359}.avatar{overflow:hidden;background:#cbc3ea;color:#454e75;font-size:12px}.avatar img,.settings-avatar img,.leader-avatar img,.public-avatar img{width:100%;height:100%;object-fit:cover}.topbar{border-color:#e8e3ea;background:rgba(250,248,244,.92)}.topbar-title span{font-size:17px}.topbar-title small{font-size:12px}.main-content{padding-top:42px}.page-intro p{font-size:15px;line-height:1.55}.page-intro h1{font-size:clamp(30px,3vw,39px)}.eyebrow{font-size:11px}.button{font-size:13px}.card-header h2{font-size:20px}.card-kicker{font-size:10px}.card-subtitle{font-size:13px}.metric-label{font-size:13px}.metric-foot{font-size:11px}.metric-card>strong{font-size:29px}.table-wrap th{font-size:10px}.table-wrap td{font-size:13px}.schedule-name strong{font-size:13px}.schedule-name small,.comparison-empty small{font-size:11px}.status-badge{font-size:10px}.field{font-size:12px}.field input,.field select,.field textarea{font-size:13px}.field small{font-size:10px}.modal-header p{font-size:12px}.form-section h3{font-size:14px}.check-card strong{font-size:12px}.check-card small{font-size:10px}.timeline-main h3{font-size:14px}.timeline-main p{font-size:11px}.timeline-note{font-size:10px}.timeline-date strong{font-size:12px}.timeline-meta strong{font-size:13px}.logging-guide{background:linear-gradient(145deg,#eee5f4,#e1eafa);color:#343a51}.logging-guide .card-kicker{color:#796894}.logging-guide p{color:#777d92;font-size:12px}.guide-icon{background:#d8cef0;color:#6c68a9}.guide-steps span{color:#6f7488;font-size:10px}.guide-steps i{border-color:#bab3d6;color:#686caf}.vehicle-card-actions{display:flex;align-items:center;justify-content:space-between}.vehicle-edit-link{padding:5px 9px;border-radius:8px;background:#f2eff8;color:#6d6e88;font-size:11px;font-weight:700}.vehicle-art.has-photo:after{display:none}.vehicle-art.has-photo img{width:100%;height:100%;object-fit:cover}.vehicle-art.has-photo .vehicle-year{background:#fff;color:#3d4358}.row-actions{display:flex;align-items:center;justify-content:flex-end;gap:4px}.table-action{display:grid;place-items:center;font-size:13px}.existing-file{display:block;margin-top:8px;color:#777d91;font-size:11px}.receipt-link{color:var(--green-dark);font-size:10px;font-weight:700}.rule-actions{display:flex;align-items:center;gap:8px;margin-top:14px}.rule-actions form{margin:0}.rule-actions button,.rule-actions a{padding:5px 8px;border:0;border-radius:7px;background:var(--green-soft);color:var(--green-dark);font-size:10px;font-weight:700;cursor:pointer}.rule-actions .remove-rule{background:#f8eeee;color:#b36c67}.recommendation-item{min-height:265px}.recommendation-item p{font-size:10px}.recommendation-item h3{font-size:15px}

/* Settings and imports */
.settings-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(290px,.75fr);gap:20px}.settings-card{overflow:hidden}.settings-form{padding:24px}.profile-photo-row{display:flex;align-items:center;gap:13px;margin-bottom:25px}.profile-photo-row>small{color:var(--subtle);font-size:10px}.settings-avatar{display:grid;width:68px;height:68px;overflow:hidden;place-items:center;border-radius:20px;background:#dcd6ef;color:#515979;font:800 19px var(--display)}.privacy-toggle{display:block;margin-top:22px}.privacy-toggle input{position:absolute;opacity:0}.privacy-toggle>span{position:relative;display:block;padding:17px 18px 17px 60px;border:1px solid var(--line);border-radius:13px;background:#faf9fc;cursor:pointer}.privacy-toggle i{position:absolute;top:20px;left:18px;width:31px;height:18px;border-radius:20px;background:#c9c9d2;transition:.2s}.privacy-toggle i:after{position:absolute;top:3px;left:3px;width:12px;height:12px;border-radius:50%;background:#fff;content:"";transition:.2s}.privacy-toggle input:checked+span{border-color:#bdc6e9;background:#f4f5fc}.privacy-toggle input:checked+span i{background:var(--green)}.privacy-toggle input:checked+span i:after{transform:translateX(13px)}.privacy-toggle strong,.privacy-toggle small{display:block}.privacy-toggle strong{font-size:13px}.privacy-toggle small{margin-top:5px;color:var(--muted);font-size:11px;line-height:1.5}.settings-actions{display:flex;justify-content:flex-end;margin-top:20px}.settings-side{display:flex;flex-direction:column;gap:18px}.compact-form{display:flex;flex-direction:column;gap:15px}.privacy-explainer{padding:24px;border-radius:18px;background:#f4edf1}.privacy-explainer h3{margin:15px 0 7px;font:700 17px var(--display)}.privacy-explainer p{margin:0;color:var(--muted);font-size:12px;line-height:1.6}.import-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.7fr);gap:20px}.import-card{overflow:hidden}.import-form{padding:25px}.csv-drop{display:flex;min-height:190px;align-items:center;justify-content:center;flex-direction:column;margin:22px 0;padding:25px;border:1.5px dashed #c9c7d4;border-radius:15px;background:#faf9fc;text-align:center;cursor:pointer}.csv-drop:hover{border-color:var(--green);background:#f6f6fc}.csv-drop input{display:none}.csv-drop strong{margin-top:12px;font-size:14px}.csv-drop small{max-width:380px;margin-top:5px;color:var(--muted);font-size:11px;line-height:1.5}.import-help{display:flex;flex-direction:column;gap:17px}.import-help>.card{padding:24px}.import-help h2{margin:8px 0;font:700 19px var(--display)}.import-help p{color:var(--muted);font-size:12px;line-height:1.55}.import-help a{display:flex;justify-content:space-between;padding:12px 0;border-top:1px solid var(--line);color:var(--green-dark);font-size:12px;font-weight:700}.import-tip{padding:20px;border-radius:16px;background:#fff0e0}.import-tip strong{font:700 14px var(--display)}.import-tip p{margin:7px 0 0;color:#7e6e5c;font-size:11px;line-height:1.6}

/* Community */
.community-hero{max-width:780px;margin:15px auto 38px;text-align:center}.community-hero .eyebrow{justify-content:center}.community-hero h1{margin:13px 0;font:800 clamp(34px,4vw,51px)/1.08 var(--display);letter-spacing:-2px}.community-hero p{margin:0;color:var(--muted);font-size:15px}.community-filters{display:grid;max-width:920px;grid-template-columns:1.15fr 1fr 1fr auto auto;align-items:end;gap:10px;margin:0 auto 36px;padding:15px;border:1px solid var(--line);border-radius:16px;background:#fff}.community-filters label{display:flex;flex-direction:column;gap:5px}.community-filters label span{color:var(--subtle);font-size:9px;font-weight:700;text-transform:uppercase}.community-filters input,.community-filters select{height:39px;padding:0 10px;border:0;border-radius:8px;outline:0;background:#f5f4f7;font-size:12px}.community-filters>a{padding:11px;color:var(--muted);font-size:11px}.community-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:20px}.section-row{display:flex;align-items:end;justify-content:space-between;margin-bottom:15px}.section-row h2{margin:5px 0 0;font:700 22px var(--display)}.section-row>span{color:var(--muted);font-size:11px}.community-vehicle-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.community-vehicle-grid>article{overflow:hidden;border:1px solid var(--line);border-radius:17px;background:#fff;box-shadow:var(--shadow)}.community-photo{position:relative;display:grid;height:145px;place-items:center;background:linear-gradient(145deg,#eeeafa,#e9f2f2)}.community-photo img{width:100%;height:100%;object-fit:cover}.community-photo svg{width:70%;fill:#fff;stroke:#8997c8}.community-photo>span{position:absolute;top:11px;left:11px;padding:4px 7px;border-radius:8px;background:#ffffffd9;color:#60667c;font-size:9px;font-weight:700}.community-vehicle-body{padding:17px}.community-vehicle-body>small{color:var(--subtle);font-size:10px}.community-vehicle-body h3{margin:3px 0 14px;font:800 20px var(--display)}.community-vehicle-body>div{display:flex;align-items:end;justify-content:space-between}.community-vehicle-body>div strong{font:800 25px var(--display)}.community-vehicle-body>div strong em{font:600 10px var(--font)}.community-vehicle-body>div span{color:var(--muted);font-size:10px}.community-vehicle-body p{margin:8px 0;color:var(--muted);font-size:10px}.community-vehicle-body>a{color:var(--green-dark);font-size:11px;font-weight:700}.leaderboard-card{align-self:start;overflow:hidden}.leaderboard-card header{padding:22px}.leaderboard-card header h2{margin:5px 0 0;font:700 19px var(--display)}.leaderboard-card ol{margin:0;padding:0 18px 18px;list-style:none}.leaderboard-card li{display:grid;grid-template-columns:23px 1fr auto;align-items:center;gap:7px;padding:12px 0;border-top:1px solid var(--line)}.leaderboard-card li>b{color:#a1a3b2;font:700 11px var(--display)}.leaderboard-card li>a{display:flex;min-width:0;align-items:center;gap:9px}.leader-avatar{display:grid;width:34px;height:34px;overflow:hidden;flex:0 0 auto;place-items:center;border-radius:10px;background:#e8e4f5;color:#636884;font-size:10px;font-weight:700}.leaderboard-card li>a span:last-child{min-width:0}.leaderboard-card li>a strong,.leaderboard-card li>a small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.leaderboard-card li>a strong{font-size:11px}.leaderboard-card li>a small{margin-top:2px;color:var(--subtle);font-size:9px}.leaderboard-card li>em{font:700 11px var(--display);font-style:normal}.leaderboard-card li>em small{font:500 8px var(--font)}.leader-empty,.empty-community{padding:28px;color:var(--muted);font-size:12px}.empty-community{border:1px dashed var(--line);border-radius:15px;background:#fff;text-align:center}.empty-community h3{color:var(--ink)}

/* Public marketing */
.marketing-body{background:#faf8f4;color:var(--ink)}.marketing-nav{position:relative;z-index:10;display:flex;max-width:1320px;height:86px;align-items:center;justify-content:space-between;margin:auto;padding:0 34px}.marketing-brand{padding:0;color:#353a50}.marketing-brand .brand-mark{font:800 15px var(--display)}.marketing-nav nav{display:flex;gap:30px}.marketing-nav nav a,.marketing-signin{color:#676c80;font-size:13px;font-weight:600}.marketing-nav>div{display:flex;align-items:center;gap:17px}.marketing-main{overflow:hidden}.marketing-hero{display:grid;max-width:1320px;min-height:690px;grid-template-columns:.9fr 1.1fr;align-items:center;gap:70px;margin:auto;padding:55px 34px 80px}.marketing-eyebrow{color:#687bc0;font-size:11px;font-weight:800;letter-spacing:1.5px;text-transform:uppercase}.hero-copy h1{margin:19px 0 24px;font:800 clamp(51px,6vw,78px)/1.02 var(--display);letter-spacing:-4px}.hero-copy h1 em{color:#c386a1;font-style:normal}.hero-copy>p{max-width:570px;color:var(--muted);font-size:18px;line-height:1.7}.hero-actions{display:flex;align-items:center;gap:25px;margin-top:30px}.hero-button{min-height:53px;padding:13px 21px;font-size:14px}.hero-link{color:#5f6fb0;font-size:13px;font-weight:700}.hero-trust{display:flex;gap:20px;margin-top:30px;color:#85899a;font-size:11px}.hero-trust i{color:#788bd1;font-style:normal}.hero-dashboard{position:relative;overflow:visible;border:1px solid #dfdae8;border-radius:24px;background:#fff;box-shadow:0 30px 80px rgba(72,66,96,.15);transform:rotate(1.5deg)}.hero-window-bar{display:flex;height:47px;align-items:center;gap:6px;padding:0 17px;border-bottom:1px solid #ece8f0;background:#f9f7fb}.hero-window-bar>span{width:8px;height:8px;border-radius:50%;background:#dbc9d1}.hero-window-bar>span:nth-child(2){background:#ecd8b9}.hero-window-bar>span:nth-child(3){background:#c7dfd5}.hero-window-bar b{margin-left:auto;color:#85899a;font-size:10px}.hero-dashboard-inner{padding:25px}.hero-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.hero-metrics article{padding:15px;border-radius:13px;background:#f7f6fa}.hero-metrics article:nth-child(1){background:#eef0fa}.hero-metrics article:nth-child(3){background:#faedf2}.hero-metrics small,.hero-metrics strong,.hero-metrics i{display:block}.hero-metrics small{color:#8d91a3;font-size:8px}.hero-metrics strong{margin-top:7px;font:800 19px var(--display)}.hero-metrics strong em{font:600 8px var(--font)}.hero-metrics i{margin-top:10px;color:#8a8e9d;font-size:7px;font-style:normal}.hero-chart{margin-top:13px;padding:18px;border:1px solid #ece9f0;border-radius:14px}.hero-chart>div:first-child{display:flex;align-items:center;justify-content:space-between}.hero-chart small{color:#989baa;font-size:7px}.hero-chart strong{font-size:9px}.hero-chart svg{width:100%;height:190px}.hero-grid{fill:none;stroke:#ebe9ef;stroke-width:1}.hero-fill{fill:url(#heroFill);stroke:none}.hero-line{fill:none;stroke-width:3}.hero-line.real{stroke:#8293d2}.hero-line.computer{stroke:#ce91aa;stroke-width:2}.hero-chart-labels{display:flex;justify-content:space-between;color:#aaa9b5;font-size:7px}.hero-float-card{position:absolute;right:-25px;bottom:32px;display:flex;align-items:center;gap:10px;padding:14px 18px;border:1px solid #e5e0e9;border-radius:13px;background:#fff;box-shadow:0 15px 35px #4d466328;transform:rotate(-1.5deg)}.hero-float-card>i{display:grid;width:27px;height:27px;place-items:center;border-radius:8px;background:#e7f3ed;color:#6e9c87;font-style:normal}.hero-float-card strong,.hero-float-card small{display:block}.hero-float-card strong{font-size:10px}.hero-float-card small{margin-top:3px;color:#9497a5;font-size:8px}.marketing-proof{display:flex;align-items:center;justify-content:center;gap:25px;padding:25px;border-block:1px solid #e5e0e5;background:#f5f2ee;color:#6f7385;font-size:12px}.marketing-proof>span{color:#a0a1aa}.marketing-proof i{width:4px;height:4px;border-radius:50%;background:#c2adba}.feature-section,.home-community{max-width:1250px;margin:auto;padding:115px 34px}.section-heading{max-width:700px;margin:0 auto 48px;text-align:center}.section-heading.left{margin-left:0;text-align:left}.section-heading h2{margin:12px 0;font:800 clamp(34px,4vw,49px)/1.12 var(--display);letter-spacing:-2px}.section-heading p{margin:0;color:var(--muted);font-size:16px}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.feature-card{position:relative;min-height:420px;overflow:hidden;padding:30px;border:1px solid #e3dfea;border-radius:23px}.feature-card.lavender{background:#eeebfa}.feature-card.peach{background:#faeadf}.feature-card.mint{background:#e6f1ed}.feature-number{position:absolute;top:25px;right:25px;color:#a3a0af;font:700 11px var(--display)}.feature-icon{display:grid;width:50px;height:50px;margin-top:50px;place-items:center;border-radius:14px;background:#ffffffa6;color:#646fa6}.feature-icon svg{width:24px}.feature-card h3{margin:25px 0 10px;font:800 24px var(--display)}.feature-card p{max-width:330px;color:#707487;font-size:14px;line-height:1.65}.feature-mini-chart{display:flex;position:absolute;right:30px;bottom:30px;left:30px;height:90px;align-items:end;gap:6px;border-bottom:1px solid #c9c5db}.feature-mini-chart i{display:block;width:100%;height:60%;border-top:3px solid #7b89c3;transform:skewY(-10deg)}.feature-mini-chart i:last-child{height:82%;border-color:#ca8fa8}.feature-checks{position:absolute;right:30px;bottom:35px;left:30px;display:flex;flex-direction:column;gap:9px}.feature-checks i{padding:11px;border-radius:10px;background:#ffffff9e;color:#806c64;font-size:11px;font-style:normal}.feature-avatars{position:absolute;bottom:45px;left:30px;display:flex}.feature-avatars b,.feature-avatars em{display:grid;width:45px;height:45px;margin-right:-9px;place-items:center;border:3px solid #e6f1ed;border-radius:50%;background:#fff;color:#6e7588;font-size:10px;font-style:normal}.feature-avatars em{background:#8fa8a0;color:#fff}.home-community{max-width:none;background:#f2eff6}.home-community>.section-heading,.home-community>.home-community-grid,.home-community>.button{max-width:1182px;margin-left:auto;margin-right:auto}.home-community-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:25px}.home-community-grid>a{display:grid;grid-template-columns:95px 1fr auto;grid-template-rows:auto auto auto;gap:2px 15px;align-items:center;padding:18px;border:1px solid #ded9e7;border-radius:17px;background:#fff}.community-car-thumb{grid-row:1/4;display:grid;width:95px;height:76px;overflow:hidden;place-items:center;border-radius:12px;background:#eeeaf6}.community-car-thumb img{width:100%;height:100%;object-fit:cover}.community-car-thumb svg{width:75%;fill:#fff;stroke:#8792be}.home-community-grid small{color:#9999a8;font-size:9px}.home-community-grid h3{margin:0;font:700 16px var(--display)}.home-community-grid strong{grid-column:3;grid-row:1/3;font:800 21px var(--display)}.home-community-grid strong em{font:600 8px var(--font)}.home-community-grid>a>span:last-child{grid-column:2/4;color:#8b8d9c;font-size:9px}.marketing-cta{padding:125px 30px;background:linear-gradient(145deg,#e9e5f7,#f6e7eb);text-align:center}.marketing-cta h2{margin:16px 0;font:800 clamp(39px,5vw,63px)/1.08 var(--display);letter-spacing:-2.5px}.marketing-cta p{max-width:620px;margin:0 auto 28px;color:var(--muted);font-size:16px}.marketing-footer{display:flex;align-items:center;justify-content:space-between;padding:34px max(34px,calc((100vw - 1250px)/2));border-top:1px solid #e2dde7;background:#f6f3ef;color:#8d8f9d;font-size:11px}.marketing-footer p{margin:0}.public-profile-missing{min-height:600px;padding:130px 30px;text-align:center}.public-profile-missing>span{color:#808dc3;font-size:11px;font-weight:700;text-transform:uppercase}.public-profile-missing h1{font:800 45px var(--display)}.public-profile-missing p{color:var(--muted)}.public-profile-hero{display:flex;max-width:1100px;align-items:center;gap:28px;margin:80px auto 45px;padding:0 30px}.public-avatar{display:grid;width:125px;height:125px;overflow:hidden;flex:0 0 auto;place-items:center;border-radius:34px;background:#ded8ef;color:#596281;font:800 32px var(--display)}.public-profile-hero h1{margin:8px 0;font:800 47px var(--display);letter-spacing:-2px}.public-profile-hero p{max-width:650px;margin:0;color:var(--muted);font-size:15px}.public-profile-hero small{display:block;margin-top:12px;color:#9a9daa;font-size:10px}.public-profile-stats{display:grid;max-width:1040px;grid-template-columns:repeat(4,1fr);gap:12px;margin:0 auto 70px}.public-profile-stats article{padding:21px;border:1px solid #e2dee7;border-radius:15px;background:#fff}.public-profile-stats small,.public-profile-stats strong{display:block}.public-profile-stats small{color:#9698a7;font-size:10px}.public-profile-stats strong{margin-top:7px;font:800 24px var(--display)}.public-garage{padding:85px max(30px,calc((100vw - 1100px)/2));background:#f2eff6}.public-vehicle-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.public-vehicle-grid>article{display:grid;grid-template-columns:45% 55%;overflow:hidden;border:1px solid #ded9e6;border-radius:20px;background:#fff}.public-vehicle-photo{display:grid;min-height:260px;overflow:hidden;place-items:center;background:#e8e7f2}.public-vehicle-photo img{width:100%;height:100%;object-fit:cover}.public-vehicle-photo svg{width:75%;fill:#fff;stroke:#8794c4}.public-vehicle-grid>article>div{padding:25px}.public-vehicle-grid small{color:#8c90a1;font-size:9px}.public-vehicle-grid h3{margin:7px 0 4px;font:800 24px var(--display)}.public-vehicle-grid p{margin:0;color:var(--muted);font-size:11px}.public-vehicle-grid dl{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:30px 0 0}.public-vehicle-grid dt{color:#a0a2ad;font-size:8px}.public-vehicle-grid dd{margin:4px 0 0;font:700 13px var(--display)}

@media(max-width:1050px){.marketing-hero{grid-template-columns:1fr;gap:45px}.hero-copy{max-width:750px}.hero-dashboard{max-width:760px}.feature-grid{grid-template-columns:1fr 1fr}.feature-card:last-child{grid-column:span 2}.community-layout{grid-template-columns:1fr}.leaderboard-card{width:100%}.settings-grid,.import-layout{grid-template-columns:1fr}.public-vehicle-grid{grid-template-columns:1fr}}
@media(max-width:760px){.marketing-nav nav{display:none}.marketing-nav{padding:0 18px}.marketing-signin{display:none}.marketing-hero{padding:35px 20px 65px}.hero-copy h1{font-size:49px;letter-spacing:-2.5px}.hero-copy>p{font-size:16px}.hero-dashboard{transform:none}.hero-metrics{grid-template-columns:1fr 1fr}.hero-metrics article:last-child{display:none}.hero-float-card{right:5px}.marketing-proof{overflow:auto;justify-content:flex-start}.feature-section,.home-community{padding:80px 20px}.feature-grid,.home-community-grid{grid-template-columns:1fr}.feature-card:last-child{grid-column:span 1}.community-filters{grid-template-columns:1fr 1fr;margin-inline:0}.community-vehicle-grid{grid-template-columns:1fr}.public-profile-stats{grid-template-columns:1fr 1fr;margin-inline:20px}.public-profile-hero{align-items:flex-start;flex-direction:column;margin-top:45px}.marketing-footer{align-items:flex-start;flex-direction:column;gap:12px}.settings-form{padding:18px}}
@media(max-width:520px){.marketing-nav .button{padding:8px 11px}.marketing-hero{min-height:auto}.hero-copy h1{font-size:42px}.hero-actions{align-items:flex-start;flex-direction:column}.hero-trust{flex-wrap:wrap}.hero-dashboard-inner{padding:12px}.hero-chart{padding:10px}.hero-chart svg{height:130px}.hero-float-card{display:none}.community-filters{grid-template-columns:1fr}.public-vehicle-grid>article{grid-template-columns:1fr}.public-vehicle-photo{min-height:200px}.profile-photo-row{align-items:flex-start;flex-wrap:wrap}}
.auth-showcase{background:radial-gradient(circle at 80% 30%,#f6e1e9 0,transparent 34%),linear-gradient(145deg,#e7e4f6,#e4eef1 70%,#f5e9ec);color:var(--ink)}.brand-light{color:#34394e}.eyebrow-light{color:#6476bb}.showcase-copy :is(h1,h2) em{color:#b87998}.showcase-copy>p{color:#71778a}.showcase-stats{border-top-color:#cdc8db}.showcase-stats strong{color:#454b61}.showcase-stats small{color:#8b8fa0}.showcase-orbit{border-color:#ad9fd133}.road-lines i{background:linear-gradient(transparent,#a795c7)}.timeline-row{grid-template-columns:22px 50px minmax(0,1fr) auto 58px}@media(max-width:640px){.timeline-row{grid-template-columns:16px 43px 1fr 58px}}
.marketing-body .community-layout{max-width:1200px;margin:0 auto 100px;padding:0 24px}.public-vehicle-grid dl{grid-template-columns:repeat(4,1fr)}

/* Driving mix and ownership intelligence */
.input-suffix{position:relative;display:block}.input-suffix input{padding-right:35px}.input-suffix i{position:absolute;top:50%;right:13px;transform:translateY(-50%);color:#85909e;font-style:normal;font-weight:700}.driving-mix-card{display:grid;grid-template-columns:minmax(270px,.75fr) minmax(380px,1.25fr);align-items:center;gap:35px;margin-bottom:18px;padding:22px 25px}.driving-mix-header{display:flex;align-items:center;justify-content:space-between;gap:20px}.driving-mix-header h2{margin:5px 0 4px;font:700 18px var(--display)}.driving-mix-header p{margin:0;color:var(--muted);font-size:10px}.driving-mix-header>strong{flex:0 0 auto;font:800 23px var(--display);text-align:right}.driving-mix-header>strong small{display:block;color:var(--muted);font:600 8px var(--font)}.driving-mix-body{min-width:0}.driving-mix-bar{height:15px;overflow:hidden;border-radius:10px;background:#e9ddec}.driving-mix-bar i{display:block;height:100%;border-radius:10px;background:linear-gradient(90deg,#7388d0,#91a4e2)}.driving-mix-labels{display:flex;justify-content:space-between;gap:20px;margin-top:11px}.driving-mix-labels span{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:10px}.driving-mix-labels span>i{width:8px;height:8px;border-radius:50%}.highway-dot{background:#7f92d4}.city-dot{background:#d6b8d0}.driving-mix-labels strong{color:var(--ink);font-size:12px}.driving-mix-labels small{color:var(--subtle)}.live-value-note{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:13px 15px;border:1px solid #dcd8ec;border-radius:11px;background:#f5f2fb}.live-value-note strong{color:#5f6790;font-size:11px}.live-value-note span{color:#898b9c;font-size:9px;text-align:right}.ownership-section{margin:25px 0}.ownership-section-title{margin-bottom:14px}.ownership-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(360px,.85fr);gap:18px}.ownership-ledger-card,.ownership-stats-card{overflow:hidden}.value-badge{min-width:125px;padding:9px 12px;border-radius:11px;background:#eeebf8;text-align:right}.value-badge small,.value-badge strong{display:block}.value-badge small{color:#8488a0;font-size:8px;text-transform:uppercase}.value-badge strong{margin-top:3px;color:#525c8b;font:800 17px var(--display)}.ownership-ledger-top{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:20px 24px 16px}.ownership-ledger-top>div{padding:15px;border-radius:13px;background:#f6f5f8}.ownership-ledger-top>div.featured{background:#e9f2ef}.ownership-ledger-top small,.ownership-ledger-top strong,.ownership-ledger-top span{display:block}.ownership-ledger-top small{color:#9698a6;font-size:8px;text-transform:uppercase}.ownership-ledger-top strong{margin:6px 0 4px;font:800 20px var(--display)}.ownership-ledger-top span{color:#999ba8;font-size:8px}.ownership-cost-table{margin:0 24px;border:1px solid var(--line);border-radius:12px}.ownership-cost-table>div{display:grid;grid-template-columns:1.15fr .85fr .85fr;align-items:center;min-height:36px;padding:0 12px;border-top:1px solid var(--line);font-size:9px}.ownership-cost-table>div:first-child{border-top:0;background:#f7f6f9;color:#9294a3;font-size:8px;text-transform:uppercase}.ownership-cost-table span{color:#73798a}.ownership-cost-table b,.ownership-cost-table strong{text-align:right}.ownership-cost-table b{color:#4f5669;font-weight:700}.valuation-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 24px}.valuation-footer>div strong,.valuation-footer>div span{display:block}.valuation-footer>div strong{font-size:10px}.valuation-footer>div span{margin-top:3px;color:#999ba7;font-size:8px}.ownership-stats-card .card-header{padding-bottom:15px}.ownership-stat-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1px;margin:0 20px;overflow:hidden;border:1px solid var(--line);border-radius:12px;background:var(--line)}.ownership-stat-grid>div{min-height:63px;padding:12px;background:#fff}.ownership-stat-grid small,.ownership-stat-grid strong{display:block}.ownership-stat-grid small{color:#9699a7;font-size:8px}.ownership-stat-grid strong{margin-top:6px;font:800 16px var(--display)}.ownership-stat-grid em{color:#8e91a0;font:600 8px var(--font);font-style:normal}.high-low-list{margin:16px 20px 20px;border-top:1px solid var(--line)}.high-low-list>div{display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:8px;padding:11px 2px;border-bottom:1px solid var(--line);font-size:8px}.high-low-list span{color:#9295a3}.high-low-list strong{text-align:right}
@media(max-width:1180px){.ownership-grid{grid-template-columns:1fr}.ownership-stat-grid{grid-template-columns:repeat(5,1fr)}.driving-mix-card{grid-template-columns:1fr}}
@media(max-width:820px){.ownership-stat-grid{grid-template-columns:repeat(2,1fr)}.ownership-ledger-top{grid-template-columns:1fr}.driving-mix-header,.valuation-footer{align-items:flex-start;flex-direction:column}.driving-mix-header>strong{text-align:left}.live-value-note{align-items:flex-start;flex-direction:column}.live-value-note span{text-align:left}}
@media(max-width:520px){.driving-mix-card{padding:18px}.driving-mix-labels{align-items:flex-start;flex-direction:column;gap:7px}.ownership-cost-table>div{grid-template-columns:1fr .8fr .8fr;padding-inline:8px}.ownership-ledger-top,.card-header,.valuation-footer{padding-inline:16px}.ownership-cost-table{margin-inline:16px}.high-low-list>div{grid-template-columns:1fr 1fr}.high-low-list>div span{grid-column:span 2}.ownership-stat-grid{margin-inline:16px}.high-low-list{margin-inline:16px}}
.valuation-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:7px}.valuation-actions form{margin:0}.valuation-actions>small{width:100%;color:#999ba7;font-size:8px;text-align:right}.refresh-limit{padding:8px 10px;border-radius:9px;background:#f4edf0;color:#a16f83!important;font-size:9px!important;font-weight:700}@media(max-width:820px){.valuation-actions{justify-content:flex-start}.valuation-actions>small{text-align:left}}@media(max-width:520px){.public-vehicle-grid dl{grid-template-columns:repeat(2,1fr)}}

/* Keep add/edit actions reachable above mobile browser chrome and keyboards. */
@media(max-width:640px), (max-width:900px) and (max-height:500px){
    body:has(.modal.open){overflow:hidden}
    .modal{
        top:var(--modal-visible-top, 0px);
        bottom:auto;
        height:var(--modal-visible-height, 100%);
        overflow:hidden;
        transition:opacity .2s, visibility .2s
    }
    .modal-panel,
    .modal-panel-wide{
        display:flex;
        width:100%;
        max-width:none;
        height:100%;
        max-height:100%;
        margin:0;
        border-radius:0;
        padding-inline:env(safe-area-inset-left, 0px) env(safe-area-inset-right, 0px);
        flex-direction:column;
        overflow:hidden;
        transform:none
    }
    .modal.open .modal-panel{transform:none}
    .modal-header{
        position:relative;
        flex:0 0 auto;
        padding-top:calc(20px + env(safe-area-inset-top, 0px))
    }
    .modal-form{
        display:flex;
        min-height:0;
        flex:1;
        flex-direction:column;
        overflow-x:hidden;
        overflow-y:auto;
        overscroll-behavior-y:contain;
        -webkit-overflow-scrolling:touch;
        scroll-padding-top:24px;
        scroll-padding-bottom:96px
    }
    .modal-actions{
        bottom:0;
        z-index:5;
        flex:0 0 auto;
        flex-wrap:wrap;
        margin-top:auto;
        padding-bottom:calc(17px + env(safe-area-inset-bottom, 0px));
        box-shadow:0 -12px 28px rgba(61,57,79,.09)
    }
    .modal-actions .button{
        min-height:46px;
        touch-action:manipulation
    }
}

@media(max-width:380px){
    .modal-actions .button{flex:1 1 0}
}

/* Short, wide dialogs need one unobscured scroll area. Native validation can
   otherwise focus a field beneath the sticky header or action bar. Narrow
   portrait dialogs retain their existing internal scroll area and Save bar. */
@media(min-width:641px) and (max-height:600px){
    .modal-panel{scroll-padding-block:16px}
    .modal-header,.modal-actions{position:relative}
}

/* Recovery instructions may be taller than a short phone viewport. Let the
   whole dialog scroll so neither the recovery actions nor Cancel is trapped
   in the small space left over beneath the status message. */
.modal-panel:has(> [data-record-save-recovery]:not([hidden])){
    display:block;
    overflow-y:auto;
    scroll-padding-block:16px;
}
.modal-panel:has(> [data-record-save-recovery]:not([hidden])) .modal-form{
    display:block;
    overflow:visible;
}
.modal-panel:has(> [data-record-save-recovery]:not([hidden])) .modal-header,
.modal-panel:has(> [data-record-save-recovery]:not([hidden])) .modal-actions{
    position:relative;
}

/* A very short keyboard viewport needs one scroll area, including its actions. */
@media(max-width:640px), (max-width:900px) and (max-height:500px){
    .modal[data-viewport-short] .modal-panel{display:block;overflow-y:auto;scroll-padding-block:16px}
    .modal[data-viewport-short] .modal-form{display:block;overflow:visible}
    .modal[data-viewport-short] .modal-header,
    .modal[data-viewport-short] .modal-actions{position:relative}
}

@media screen{
    body.has-active-overlay{overflow:hidden}
}

/* Preserve the styled receipt dropzone while keeping its native file input
   in the keyboard order and across the full visible hit area. */
.upload-field{position:relative;min-height:44px}
.upload-field input[type="file"]{
    position:absolute;
    inset:0;
    display:block;
    width:100%;
    height:100%;
    margin:0;
    padding:0;
    opacity:0;
    cursor:pointer;
}
.upload-field:focus-within{outline:3px solid #655093;outline-offset:3px}
/* Recovery's disabled-field text styling must not reveal this overlaid input. */
.upload-field input[type="file"]:disabled{opacity:0;cursor:not-allowed}
@media(min-width:641px) and (min-height:601px){
    /* Tab scrolling must account for the normal dialog's sticky actions. */
    .upload-field input[type="file"]{scroll-margin-block:120px}
}

.sidebar-close{display:none}
@media(max-width:900px){
    /* Standalone record actions need a full phone tap area, including the
       receipt link outside row-actions. Keep desktop table density unchanged. */
    .table-action{min-width:44px;min-height:44px}
    .timeline-main .receipt-link{display:inline-flex;align-items:center;min-width:44px;min-height:44px;font-size:14px}
    .sidebar-close{
        display:grid;
        align-self:flex-end;
        flex:0 0 44px;
        width:44px;
        height:44px;
        margin-bottom:8px;
        place-items:center;
    }
}
.table-action:focus-visible,.timeline-main .receipt-link:focus-visible{outline:3px solid #655093;outline-offset:3px}
/* The table is intentionally horizontally scrollable. Keep its action focus
   ring inside the hit area so the scrollport cannot clip the outer edge. */
.table-wrap .table-action:focus-visible{outline-offset:-3px}
@media(min-width:641px) and (max-width:900px){
    .timeline .timeline-row{grid-template-columns:22px 50px minmax(0,1fr) auto 92px}
}
@media(max-width:640px){
    /* Two full-sized actions should not crowd the record's text column. */
    .timeline .timeline-row{grid-template-columns:14px 46px minmax(0,1fr)}
    .timeline .timeline-row>.row-actions{grid-column:3;grid-row:3;justify-content:flex-start}
    .timeline .timeline-row>.timeline-marker{grid-row:1 / span 3}
}

/* ---- companion ---- */
/* Owner companion: a quiet white canvas with a little personality. */
.auth-policy-links {display:flex;flex-wrap:wrap;justify-content:center;gap:8px 22px;margin-top:24px;}
.auth-policy-links:empty {display:none;}
.auth-policy-links a {display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;text-underline-offset:3px;}
.policy-nav {display:flex;flex-wrap:wrap;gap:6px 20px;margin-block:20px 28px;}
.policy-nav a {min-height:44px;display:inline-flex;align-items:center;text-decoration:underline;text-underline-offset:3px;}
.plain-page [id] {scroll-margin-top:110px;}
.plain-page details>summary {min-height:44px;padding-block:10px;cursor:pointer;font-weight:600;}
:root {
    --ink: #303348;
    --muted: #62677a;
    --subtle: #62677a;
    --line: #e9e7ef;
    --canvas: #fbfbfd;
    --card: #fff;
    --nav: #fff;
    --nav-soft: #f5f2fb;
    --green: #7468bd;
    --green-dark: #5e519f;
    --green-soft: #f0ecfb;
    --purple: #b27899;
    --purple-soft: #faedf4;
    --amber: #b58a50;
    --amber-soft: #fcf1e0;
    --coral: #c17570;
    --coral-soft: #fbece8;
    --mint: #e7f3ee;
    --mint-ink: #477563;
    --lavender: #eeebfa;
    --peach: #fcf0e6;
    --shadow: 0 8px 30px rgba(52, 45, 79, .035);
    --radius: 22px;
}

body {font-size: 16px; line-height: 1.5;}
button, input, select, textarea {font-family: var(--font);}
a, button, input, select, textarea, summary {outline-offset: 4px;}
a:focus-visible, button:focus-visible, summary:focus-visible {outline: 3px solid #7663a6;}
button svg, a svg {flex-shrink: 0;}
button:disabled {opacity: .55; cursor: not-allowed;}
.sidebar {background: #fff; border-right: 1px solid var(--line); padding: 28px 16px 18px; overflow-y: auto;}
.brand {color: #37334c; letter-spacing: -1.2px; white-space: nowrap; flex-shrink: 0;}
.brand-mark {background: #a598d6; border-radius: 12px; flex-shrink: 0;}
.main-nav {margin-top: 25px;}
.nav-label {color: #656174; font-size: 10px; margin-top: 21px; letter-spacing: 1.7px;}
.nav-item {min-height: 45px; color: #777386; border-radius: 12px; padding: 10px 13px; font-size: 14px;}
.nav-item svg {width: 19px; height: 19px;}
.nav-item:hover {background: #f7f5fc; color: #66559e;}
.nav-item.active {color: #66569f; background: #f0ebfb; box-shadow: none;}
.sidebar-card {margin-top: 28px; background: #f6f2fd; border-color: #ebe4f6; padding: 18px; flex-shrink: 0;}
.sidebar-card-icon {background: #e7def6; color: #7866ad;}
.sidebar-card strong {font-size: 14px; color: #514568;}
.sidebar-card > span:not(.sidebar-card-icon) {color: #877b98; font-size: 12px;}
.sidebar-card a {color: #7662a7; font-size: 12px;}
.sidebar-card:after {border-color: #d4c6eb;}
.sidebar-user {border-color: var(--line); margin-top: auto; flex-shrink: 0;}
.sidebar-user strong {font-size: 13px;}
.sidebar-user small {font-size: 11px; color: var(--muted);}
.avatar {background: #e4ddf3; color: #65567f;}
.topbar {height: 80px; background: rgba(255,255,255,.94); border-color: var(--line);}
.topbar-title span {font-size: 16px;}
.topbar-title small {color: var(--muted); font-size: 12px;}
.topbar .icon-button:hover {background: #f1edfa; color: #66599e;}
.vehicle-switcher select {max-width: 260px; height: 42px; font-size: 13px; border-color: var(--line); border-radius: 12px; background: #fff;}
.main-content {max-width: 1700px; margin-inline: auto; padding-top: 34px;}
.app-footer {background: #fff; border-color: var(--line); font-size: 12px; color: var(--muted);}
.page-intro {margin-bottom: 28px; align-items: center;}
.page-intro h1 {font-size: clamp(28px, 3vw, 39px); letter-spacing: -1.5px; line-height: 1.2; margin: 10px 0;}
.page-intro p {font-size: 15px; max-width: 680px; line-height: 1.65;}
.eyebrow, .card-kicker {font-size: 10px; letter-spacing: 1.6px; font-weight: 700;}
.eyebrow {color: #8670b5;}
.eyebrow i {background: #b9aadf;}
.button {min-height: 44px; border-radius: 12px; padding: 11px 17px; font-size: 13px; line-height: 1.3;}
.button-primary {background: #7566b6; box-shadow: 0 5px 13px #7566b61a;}
.button-primary:hover {background: #6454a1; box-shadow: 0 7px 18px #7566b625;}
.button-secondary {border-color: #e4dfed; color: #666076; background: #fff;}
.button-secondary:hover {border-color: #c6badd; background: #faf8ff;}
.button-ghost {background: #f4f2f8; color: #625a72;}
.button-small {min-height: 36px; padding: 8px 12px; font-size: 12px;}
.button-saved {background: #edf5f0; color: #416d55; border-color: #dae9df;}
.card {border-color: var(--line); border-radius: 22px; box-shadow: var(--shadow);}
.card-header {padding: 24px 25px 0;}
.card-header h2 {font-size: 19px; line-height: 1.4;}
.card-header > a:not(.button) {font-size: 12px;}
.card-subtitle {font-size: 13px; line-height: 1.6;}
.card-kicker {color: #93859f;}
.section-row {gap: 15px;}
.section-row h2 {font-size: 24px; letter-spacing: -.8px;}
.section-row > span {font-size: 12px; text-align: right;}
.alert {font-size: 14px; padding: 15px 18px; border-radius: 14px;}
.empty-list-card, .empty-page, .empty-garage {padding: 36px; border-color: var(--line); box-shadow: var(--shadow);}
.empty-list-card p {max-width: 480px; line-height: 1.7;}
.large-icon {background: #ede7f7; color: #917cc0;}
.mini-empty strong {font-size: 15px;}
.mini-empty span, .mini-empty small {font-size: 13px;}

/* At-a-glance ownership, followed by the deeper details. */
.companion-hero {display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 32px; margin-bottom: 24px; overflow: hidden; border: 1px solid #ebe5f5; border-radius: 26px; background: linear-gradient(110deg, #f4effc, #fcfaff 58%, #f1f7f4);}
.companion-hero h1, .companion-hero h2 {margin: 10px 0; font: 800 clamp(29px, 3.2vw, 43px)/1.17 var(--display); letter-spacing: -1.6px;}
.companion-hero p {max-width: 620px; margin: 0; color: #81778e; font-size: 15px; line-height: 1.7;}
.companion-hero > div {min-width: 0;}
.companion-hero .eyebrow {color: #8f79b4;}
.companion-hero-photo {width: 175px; height: 145px; object-fit: cover; border-radius: 20px;}
.companion-actions {display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin-bottom: 28px;}
.companion-actions > a, .quick-action {display: flex; align-items: center; gap: 12px; min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; font-size: 13px; font-weight: 700; color: #5b546c; transition: .2s;}
.companion-actions > a:hover, .quick-action:hover {background: #faf8ff; border-color: #d4c6ea; transform: translateY(-2px);}
.dashboard-actions > .button-primary {background: #7566b6; color: #fff; border-color: #7566b6;}
.dashboard-actions > .button-primary:hover {background: #6454a1; border-color: #6454a1;}
.companion-actions svg, .quick-action svg {width: 21px; height: 21px; color: #8976b9; flex: 0 0 auto;}
.companion-actions strong, .companion-actions small {display: block;}
.companion-actions small {margin-top: 2px; color: #94899f; font-size: 11px; font-weight: 500;}
.companion-hero > div:first-child {flex: 1;}
.companion-hero h2 {font-size: clamp(25px,2.4vw,33px); letter-spacing: -1px;}
.companion-hero .companion-actions {width: 335px; flex: 0 0 335px; grid-template-columns: repeat(2,minmax(0,1fr)); margin: 0; gap: 10px;}
.companion-hero .companion-actions > a {min-height: 52px; padding: 14px; font-size: 12px; justify-content: center; text-align: center;}
.companion-hero .companion-actions > .button-primary {background: #7566b6; color: #fff; border-color: #7566b6;}
.companion-hero .companion-actions > .button-primary:hover {background: #6454a1; border-color: #6454a1;}
.companion-section {margin: 30px 0;}
.companion-section > h2 {font: 800 23px var(--display); letter-spacing: -.6px;}
.insight-grid {display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin-bottom: 24px;}
.insight-card {min-width: 0; padding: 22px; border: 1px solid #e9e4f2; border-radius: 20px; background: #f7f4fc;}
.insight-card:nth-child(2) {background: #f0f7f3; border-color: #e3eee7;}
.insight-card:nth-child(3) {background: #fff5ed; border-color: #f2e7dc;}
.insight-card h3 {font: 700 16px var(--display); margin: 10px 0 7px;}
.insight-card p {color: var(--muted); font-size: 13px; line-height: 1.6; margin: 0;}
.insight-card a {display: inline-block; margin-top: 13px; color: #75629f; font-size: 12px; font-weight: 700;}
.insight-card > strong {display: block; font: 800 26px var(--display);}
.ownership-progress {display: flex; align-items: center; gap: 12px; padding-top: 20px; color: #8b7f9b; font-size: 12px;}
.ownership-progress span {display: flex; align-items: center; gap: 7px;}
.ownership-progress span + span {padding-left: 12px; border-left: 1px solid #ded5e9;}
.ownership-progress i {height: 1px; min-width: 24px; flex: 1; background: #dcd2ea;}
.metric-grid {grid-template-columns: repeat(4, minmax(0,1fr)); gap: 15px; margin-bottom: 24px;}
.metric-card {border-radius: 20px; padding: 22px; min-height: 182px; box-shadow: none;}
.metric-featured {background: #f0f7f3; border-color: #deebe3;}
.metric-icon {background: #e6f1ea; color: #698b76; border-radius: 12px;}
.metric-icon.purple {background: #f0eafa; color: #9480b7;}
.metric-icon.amber {background: #fff1de; color: #b38e5d;}
.metric-icon.coral {background: #f9e9ec; color: #c08a99;}
.metric-card > strong {font-size: clamp(24px, 2.4vw, 32px);}
.metric-card > strong small {font-size: 12px;}
.metric-label {font-size: 13px;}
.metric-foot {font-size: 11px; color: var(--muted); line-height: 1.6;}
.trend-pill {font-size: 10px;}
.dashboard-grid {gap: 20px; margin-bottom: 24px;}
.legend, .cost-legend {font-size: 11px; color: var(--muted);}
.legend-peach {background: #dba57e;}
.history-pagination {display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 20px 24px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted);}
.comparison-note {font-size: 11px; line-height: 1.65;}
.benchmark-list > div > span {font-size: 12px;}
.schedule-row {padding-block: 16px;}
.schedule-name strong {font-size: 14px;}
.schedule-name small {font-size: 12px; white-space: normal;}
.status-badge {font-size: 10px; padding: 5px 8px;}
.status-badge.soon {color: #94621c;}
.table-wrap th {font-size: 10px; padding-top: 20px; color: var(--muted);}
.table-wrap td {font-size: 13px; padding-block: 16px;}
.table-wrap tbody tr:hover {background: #fdfcff;}
.primary-cell span:last-child small, .block-muted {font-size: 11px; color: var(--muted);}
.mpg-estimate {color: var(--muted);}
.unit {color: var(--muted);}
.detail-chips {flex-wrap: wrap;}
.detail-chips span, .detail-chips a {font-size: 10px; color: var(--muted);}
.table-action {width: 32px; height: 32px; color: var(--muted);}
.timeline-main p, .timeline-note {font-size: 12px; color: var(--muted);}
.timeline-main h3 {font-size: 15px;}
.timeline-date small, .timeline-meta small, .type-label {font-size: 11px; color: var(--muted);}
.recommendations-card .recommendation-grid {grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));}
.recommendation-item {padding: 23px;}
.recommendation-item p {height: auto; min-height: 0; font-size: 12px; line-height: 1.6;}
.due-facts small {font-size: 11px;}
.due-facts strong {font-size: 13px;}
.rule-actions {flex-wrap: wrap;}
.rule-actions button, .rule-actions a {font-size: 12px; padding: 7px 10px;}
.guidance-note {font-size: 12px;}
.care-metrics small {font-size: 12px;}
.care-metrics strong {font-size: 16px;}
.logging-guide {background: #f1ecfa;}
.logging-guide .card-kicker {color: #65567f;}
.logging-guide p {font-size: 13px; color: var(--muted);}
.guide-steps span {font-size: 11px; color: var(--muted);}
.guide-steps i {color: #65567f;}
.logging-guide:after {border-color: #d8cbea;}

/* A garage of cars, not a list of assets. */
.garage-grid {gap: 22px;}
.vehicle-card {border-radius: 23px; box-shadow: var(--shadow);}
.vehicle-card:hover {transform: translateY(-4px); box-shadow: 0 18px 35px rgba(65,53,90,.07);}
.vehicle-art {height: 210px; background: #edf3ef;}
.vehicle-art-2 {background: #f0ebf9;}
.vehicle-art-3 {background: #fbefe3;}
.vehicle-art-4 {background: #eaf1f7;}
.vehicle-art svg {width: 77%; max-width: 330px; stroke: #85a28e; stroke-width: 1.3;}
.vehicle-art-2 svg {stroke: #a091c2;}
.vehicle-art-3 svg {stroke: #c5a384;}
.vehicle-art-4 svg {stroke: #8ca6c1;}
.vehicle-year {top: 16px; left: 16px; font-size: 11px; background: rgba(255,255,255,.9);}
.vehicle-ownership-status {position: absolute; right: 14px; top: 16px; z-index: 3; padding: 5px 9px; border-radius: 20px; color: #55715f; background: #fafffbea; font-size: 10px; font-weight: 700;}
.vehicle-ownership-status.is-sold {color: #735388; background: #fbf5ffed;}
.vehicle-card-body {padding: 23px;}
.vehicle-type-tag {font-size: 10px; font-weight: 700; padding: 5px 8px; color: #65567f; background: #f4eff8; letter-spacing: .7px;}
.vehicle-card h2 {font-size: 25px; line-height: 1.3; margin: 14px 0 5px; letter-spacing: -.8px; overflow-wrap: anywhere;}
.vehicle-card p {height: auto; min-height: 39px; font-size: 13px; line-height: 1.55;}
.vehicle-chapter-dates {font-size: 11px; color: var(--muted); margin-top: 8px;}
.vehicle-facts {gap: 10px; margin-block: 19px; padding-block: 16px;}
.vehicle-facts small {font-size: 10px; color: var(--muted);}
.vehicle-facts strong {font-size: 12px;}
.vehicle-card-actions {gap: 10px;}
.vehicle-card-link {font-size: 13px; justify-content: flex-start; gap: 9px;}
.vehicle-edit-link {font-size: 11px; padding: 7px 10px; color: #65567f;}
.vehicle-quick-links {display: flex; flex-wrap: wrap; gap: 8px 15px; margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--line);}
.vehicle-quick-links a {color: #65567f; font-size: 11px;}
.vehicle-quick-links a:hover {color: #68549c; text-decoration: underline;}
.add-vehicle-card {min-height: 430px; border-color: #e0d8ec; background: #fcfafe; color: #65567f;}
.add-vehicle-card > span {background: #f0e9f8; color: #a28bbb; width: 56px; height: 56px; border-radius: 18px;}
.add-vehicle-card strong {font: 700 17px var(--display);}
.add-vehicle-card small {font-size: 13px;}
.add-vehicle-card:hover {border-color: #bcaad7; color: #796197; background: #faf6ff;}
.garage-empty {min-height: 430px; background: radial-gradient(ellipse at 50% 20%, #f4effb, transparent 60%), #fff;}
.vehicle-form-chapter {display: flex; align-items: flex-start; gap: 12px; margin-top: 12px; padding-top: 22px; border-top: 1px solid var(--line);}
.vehicle-form-chapter > span {display: grid; width: 31px; height: 31px; flex-shrink: 0; place-items: center; border-radius: 10px; background: #f0eafb; color: #9a85bc; font-size: 11px;}
.vehicle-form-chapter h3 {margin: 0 0 3px; font: 700 15px var(--display);}
.vehicle-form-chapter p {margin: 0; color: var(--muted); font-size: 12px;}

/* Forms stay familiar, generously sized, and friendly to a phone keyboard. */
.field {font-size: 13px; gap: 8px;}
.field small {font-size: 11px; color: var(--muted);}
.input-prefix i, .input-suffix i {color: var(--muted);}
.field input, .field select, .field textarea {font-size: 16px; background: #fdfcfe; border-color: #e4dfeb; border-radius: 11px;}
.field input, .field select {height: 46px;}
.field input:focus, .field select:focus, .field textarea:focus {border-color: #7663a6; box-shadow: 0 0 0 3px #eee8f8;}
.field input::placeholder, .field textarea::placeholder {color: var(--muted); opacity: 1;}
.field input[type=file] {height: auto; min-height: 46px; padding: 10px; font-size: 13px;}
.form-grid {gap: 20px 18px;}
.modal-header h2 {font-size: 25px;}
.modal-header p {font-size: 13px;}
.modal-close {width: 36px; height: 36px; background: #f4eff9; color: #8e7da6;}
.modal-panel {box-shadow: 0 25px 90px #21152c30;}
.draft-notice {display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:12px 14px;margin-bottom:20px;border-radius:12px;background:#f1eefb;color:#5b5575;font-size:13px;line-height:1.5;flex-shrink:0;}
.draft-notice > span {flex:1 1 200px;}
.log-details {flex-shrink:0;}
.log-details > summary {cursor:pointer;min-height:44px;font-weight:700;color:#45435d;}
.log-details > summary small {font-weight:400;margin-left:8px;color:#757387;}
.log-details[open] > summary {margin-bottom:20px;}
.quick-full-tank {display:flex;align-items:center;gap:10px;min-height:44px;margin-top:12px;font-size:15px;}
.quick-full-tank input {width:20px;height:20px;accent-color:#877ab8;}
.reminder-preview {padding:20px 28px;display:grid;gap:16px;}
.reminder-preview-item {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;padding:16px;border:1px solid #e9e3f1;border-radius:14px;}
.reminder-preview-item > div {min-width:0;flex:1 1 220px;overflow-wrap:anywhere;}
.reminder-preview-item form {display:flex;flex-wrap:wrap;gap:8px;align-items:end;}
.reminder-preview-item small {display:block;color:#706c80;line-height:1.6;}
.modal-backdrop {background: #2a203952; backdrop-filter: blur(7px);}
.modal-actions {border-top-color: #e9e3f1;}
.check-card strong {font-size: 13px;}
.check-card small {font-size: 12px;}
.check-card input:focus-visible + span, .privacy-toggle input:focus-visible + span {outline: 3px solid #7663a6; outline-offset: 3px;}
.upload-field strong {font-size: 13px;}
.upload-field small {font-size: 11px; color: var(--muted);}
.live-value-note {align-items: flex-start;}
.live-value-note strong {font-size: 12px;}
.live-value-note span {font-size: 12px; line-height: 1.6; color: var(--muted);}
.settings-form, .import-form {padding: 26px;}
.storage-summary p {margin-top: 0;}
.storage-meter {display: block; width: 100%; height: 14px; margin: 12px 0 16px; accent-color: #879acf;}
.storage-meter::-webkit-meter-bar {background: #eeedf4; border: 0; border-radius: 10px;}
.storage-meter::-webkit-meter-optimum-value {background: #a2b6df; border-radius: 10px;}
.profile-photo-row > small {font-size: 12px; color: var(--muted);}
.privacy-toggle strong {font-size: 14px;}
.privacy-toggle small, .privacy-explainer p, .import-help p, .import-tip p {font-size: 13px;}
.driving-mix-header p, .driving-mix-labels span {font-size: 12px;}
.driving-mix-header > strong small {font-size: 11px;}
.ownership-ledger-top small, .ownership-ledger-top span {font-size: 11px;}
.ownership-cost-table > div {font-size: 12px; min-height: 42px;}
.ownership-cost-table > div:first-child {font-size: 10px;}
.ownership-stat-grid small, .high-low-list > div {font-size: 11px;}
.ownership-stat-grid strong {font-size: 20px;}
.ownership-stat-grid em {font-size: 11px;}
.valuation-footer > div strong, .valuation-footer > div span, .valuation-actions > small {font-size: 11px;}

/* The enthusiast community: discovery, context, and saved garages. */
.community-hero {max-width: 850px; margin: 12px auto 30px; padding: 17px 10px 5px;}
.community-hero h1 {font-size: clamp(31px, 4vw, 49px); line-height: 1.16; letter-spacing: -1.7px; margin: 18px 0;}
.community-hero h1 em {font-style: normal; color: #a38abd;}
.community-hero p {max-width: 640px; margin-inline: auto; font-size: 15px; line-height: 1.7;}
.community-hero-tags {display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 23px;}
.community-hero-tags span {padding: 6px 11px; background: #f2edf9; color: #9c85b0; border-radius: 20px; font-size: 11px;}
.community-hero-tags span:nth-child(2) {background: #edf5ef; color: #80a18b;}
.community-hero-tags span:nth-child(3) {background: #fdf0e6; color: #b89b80;}
.community-filters {display: block; max-width: none; margin: 0 0 32px; padding: 22px; border-radius: 20px; box-shadow: var(--shadow);}
.community-filter-primary {display: grid; grid-template-columns: 1fr 1fr 1fr auto; align-items: end; gap: 12px;}
.community-filters label {min-width: 0; gap: 7px;}
.community-filters label > span {font-size: 11px; text-transform: none; color: #656174;}
.community-filters input, .community-filters select {width: 100%; min-width: 0; height: 44px; font-size: 14px; padding-inline: 12px; border: 1px solid #ebe5f1; border-radius: 10px; background: #faf8fd; color: #655c75;}
.community-filters input:focus, .community-filters select:focus {outline: 2px solid #7663a6; outline-offset: 1px;}
.community-filter-secondary {display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 15px; margin-top: 18px; padding-top: 15px; border-top: 1px solid #f0ecf5;}
.community-more-filters {flex: 1; min-width: 0;}
.community-more-filters summary {display: flex; justify-content: space-between; align-items: center; max-width: 245px; cursor: pointer; list-style: none; padding: 7px 0; font-size: 12px; color: #65567f; font-weight: 600;}
.community-more-filters summary::-webkit-details-marker {display: none;}
.community-more-filters summary span {font-size: 18px; line-height: 1; transition: .2s;}
.community-more-filters[open] summary span {transform: rotate(45deg);}
.community-filter-details {display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; padding-top: 18px;}
.community-filter-details p {grid-column: 1 / -1; margin: 0; color: #968b9e; font-size: 11px; line-height: 1.7;}
.community-filters .community-sort {display: flex; flex-direction: row; align-items: center; gap: 8px;}
.community-sort select {width: 190px; height: 34px; border: 0; font-size: 12px; background: #fff;}
.filter-clear {padding: 7px 0; color: #65567f; font-size: 12px;}
.community-layout {grid-template-columns: minmax(0,1fr) 300px; gap: 25px;}
.community-layout > div, .community-aside {min-width: 0;}
.community-tabs {display: flex; gap: 5px; margin: 18px 0 12px;}
.community-tabs a {font-size: 12px; padding: 8px 14px; color: #65567f; border: 1px solid transparent; border-radius: 20px;}
.community-tabs a.active {color: #65567f; background: #f0eafb; border-color: #e8dff6;}
.community-method-note {color: #8e8598; font-size: 11px; line-height: 1.7; max-width: 650px; margin: 0 0 20px;}
.community-vehicle-grid {gap: 18px;}
.community-vehicle-grid > article {border-radius: 20px; box-shadow: none; transition: .2s;}
.community-vehicle-grid > article:hover {box-shadow: 0 13px 28px #4934600a; transform: translateY(-3px);}
.community-photo {height: 200px; overflow: hidden; background: #efebf7;}
.discovery-color-2 .community-photo {background: #edf4ef;}
.discovery-color-3 .community-photo {background: #fbf0e6;}
.community-photo svg {width: 77%; max-width: 310px; stroke: #a597be; stroke-width: 1.4;}
.discovery-color-2 .community-photo svg {stroke: #91ac9a;}
.discovery-color-3 .community-photo svg {stroke: #c1a88f;}
.community-photo > span {font-size: 10px; top: 14px; left: 14px; border-radius: 20px; padding: 5px 9px;}
.community-vehicle-body {min-width: 0; padding: 21px; overflow-wrap: anywhere;}
.community-vehicle-body > small {color: #a297ad; font-size: 11px;}
.community-vehicle-body h3 {font-size: 25px; line-height: 1.35; letter-spacing: -.7px; margin-top: 4px; margin-bottom: 19px;}
.community-vehicle-body h3 > span {display: block; margin-top: 4px; color: #a89cac; font: 500 11px var(--font); letter-spacing: 0;}
.community-vehicle-body > .community-card-metrics {align-items: center; gap: 12px;}
.community-card-metrics > strong {font-size: 27px !important; color: #5d526e;}
.community-card-metrics strong em {font-size: 10px !important; color: var(--muted);}
.community-card-metrics > span {text-align: right; font-size: 10px !important;}
.community-card-metrics > span b {display: block; font-size: 15px; color: #82708d;}
.community-vehicle-body p {font-size: 11px; line-height: 1.7; color: #a093ab;}
.community-sample {padding-bottom: 12px; border-bottom: 1px solid #f0ebf4;}
.community-computer {color: #9a88a5 !important; margin-bottom: 12px !important;}
.community-owner-link {display: flex; align-items: center; gap: 9px; padding-top: 9px; font-size: 12px !important; color: #8c7b9c !important;}
.community-owner-link > span:nth-child(2) {flex: 1; min-width: 0; overflow-wrap: anywhere;}
.community-owner-link svg {width: 16px; height: 16px;}
.owner-monogram {display: grid; width: 29px; height: 29px; flex: 0 0 auto; place-items: center; border-radius: 9px; background: #f1eafa; color: #65567f; font-size: 9px;}
.garage-save-form {margin-top: 15px;}
.garage-save-form .button {width: 100%;}
.profile-save {margin-top: 18px;}
.community-aside {display: flex; flex-direction: column; gap: 18px;}
.leaderboard-card {border-radius: 20px; box-shadow: none;}
.leaderboard-card header {padding: 23px; background: #faf7fd; border-bottom: 1px solid #f0ebf5;}
.leaderboard-card header h2 {font-size: 20px; letter-spacing: -.5px; line-height: 1.35; margin: 7px 0 10px;}
.leaderboard-card header p {font-size: 12px; color: #a090ab; line-height: 1.6; margin: 0;}
.leaderboard-card ol {padding-inline: 18px; padding-bottom: 9px;}
.leaderboard-card li {grid-template-columns: 19px minmax(0,1fr) auto; gap: 8px; padding: 16px 0;}
.leaderboard-card li:first-child {border-top: 0;}
.leaderboard-card li > b {font-size: 10px; color: var(--muted);}
.leaderboard-card li > a strong {font-size: 11px;}
.leaderboard-card li > a small {font-size: 10px;}
.leaderboard-card li > em {font-size: 12px;}
.leader-avatar {background: #ede6f8; color: #65567f;}
.community-invite {padding: 25px; background: #eff6f1; border: 1px solid #e4ede7; border-radius: 20px;}
.community-invite .card-kicker {color: #86a58f;}
.community-invite h3 {font: 700 22px/1.35 var(--display); color: #66846e; margin: 12px 0; letter-spacing: -.6px;}
.community-invite p {font-size: 13px; color: #8da193; line-height: 1.7;}
.community-invite a {color: #416d55; font-size: 12px; font-weight: 700;}
.community-invite small {display: block; font-size: 10px; margin-top: 16px; color: #92a699; line-height: 1.65;}
.empty-community {padding: 50px 28px; border-style: solid; background: #fff;}
.empty-community-icon {display: grid; width: 62px; height: 62px; margin: 0 auto 18px; place-items: center; border-radius: 20px; background: #f0ebf9; color: #b6a2d1;}
.empty-community-icon svg {width: 28px; height: 28px;}
.empty-community h3 {font: 700 25px var(--display); margin: 0 0 12px;}
.empty-community p {max-width: 360px; margin: 0 auto 20px; font-size: 14px; line-height: 1.7;}

/* A welcoming front door. Product concepts below contain no invented owner data. */
.marketing-body {background: #fff;}
.marketing-nav {height: 94px; max-width: 1380px;}
.marketing-nav nav a, .marketing-signin {font-size: 14px;}
.marketing-brand .brand-mark {border-radius: 12px; font-size: 20px;}
.marketing-hero {max-width: 1380px; min-height: 700px; grid-template-columns: 1fr 1.02fr; gap: 70px; padding-top: 60px; padding-bottom: 95px;}
.marketing-eyebrow {font-size: 10px; letter-spacing: 2px; color: #a18bb5;}
.hero-copy h1 {font-size: clamp(55px, 6vw, 80px); letter-spacing: -4.3px; line-height: 1.04; margin: 22px 0 26px;}
.hero-copy h1 em {color: #b69bc8;}
.hero-copy > p {font-size: 17px; line-height: 1.85; max-width: 510px; color: #91839e;}
.hero-actions {gap: 20px; flex-wrap: wrap;}
.hero-button {font-size: 13px; padding: 15px 19px; min-height: 51px;}
.hero-link {font-size: 12px; color: #9c83b2;}
.hero-trust {gap: 17px; font-size: 10px; color: #a69bac; flex-wrap: wrap;}
.hero-trust i {color: #a7bea9; margin-right: 4px;}
.ownership-preview {position: relative; min-width: 0; overflow: hidden; padding: 20px; border: 1px solid #ece5f2; border-radius: 28px; background: #fff; box-shadow: 0 22px 75px #6f518514; transform: rotate(1.5deg);}
.preview-top {display: flex; align-items: center; gap: 10px; color: #9a87ab; font-size: 11px; padding-bottom: 20px;}
.preview-mark {display: grid; width: 29px; height: 29px; place-items: center; border-radius: 10px; background: #c0a6d4; color: #fff; font: 800 19px var(--display);}
.preview-private {display: flex; align-items: center; gap: 5px; margin-left: auto; font-size: 9px; color: #b1a4bb;}
.preview-private svg {width: 12px; height: 12px;}
.preview-car {position: relative; overflow: hidden; padding: 29px 15px 22px; border-radius: 20px; background: #f3edf9; text-align: center;}
.preview-car > svg {position: relative; z-index: 2; width: 96%; height: auto; stroke: #b09ac4; stroke-width: 2;}
.car-body {fill: #fff;}
.car-window {fill: #e2d8ed;}
.car-wheel {fill: #c7b4d7; stroke: #fff; stroke-width: 4;}
.car-hub {fill: #fff; stroke: none;}
.car-shadow {fill: #e3d8ed; stroke: none;}
.preview-orbit {position: absolute; border: 1px solid #e5d9ed; border-radius: 50%;}
.orbit-a {width: 290px; height: 290px; top: -75px; right: -60px;}
.orbit-b {width: 390px; height: 390px; top: -125px; right: -110px;}
.preview-car-caption {position: relative; z-index: 2; margin-top: 14px;}
.preview-car-caption span {display: block; font-size: 10px; color: #ad96bf;}
.preview-car-caption strong {display: block; margin-top: 5px; font: 700 23px var(--display); color: #8c719f; letter-spacing: -.7px;}
.preview-chapters {display: flex; align-items: center; gap: 9px; padding: 23px 6px;}
.preview-chapters span {display: flex; align-items: center; gap: 7px; color: #9f8eac; font-size: 9px; white-space: nowrap;}
.preview-chapters b {display: grid; width: 23px; height: 23px; border-radius: 50%; place-items: center; background: #f3eef9; color: #b098c3; font-size: 8px;}
.preview-chapters i {flex: 1; height: 1px; background: #ece6f1;}
.preview-tools {display: grid; grid-template-columns: 1fr 1fr; gap: 10px; border-top: 1px solid #f1ebf5; padding-top: 20px;}
.preview-tools > div {display: flex; align-items: center; gap: 10px;}
.preview-tool-icon {display: grid; width: 39px; height: 39px; place-items: center; border-radius: 13px; flex-shrink: 0;}
.preview-tool-icon svg {width: 19px; height: 19px;}
.preview-tool-icon.mint {background: #edf5ef; color: #9ab59f;}
.preview-tool-icon.peach {background: #fdf1e7; color: #cfb096;}
.preview-tools strong {display: block; font-size: 11px; color: #9986a9;}
.preview-tools small {display: block; margin-top: 3px; font-size: 9px; color: #b6a8bf;}
.marketing-proof {background: #fcfafe; border-color: #f2edf7; color: #a191ad; font-size: 13px; gap: 30px; padding-block: 27px;}
.marketing-proof > span {color: #b9adbf;}
.marketing-proof i {background: #d9c7e4;}
.feature-section {padding-block: 110px;}
.section-heading {max-width: 760px;}
.section-heading h2 {font-size: clamp(32px,4vw,46px); letter-spacing: -1.8px; line-height: 1.18; color: #594768; margin-block: 15px;}
.section-heading p {color: #a492af; font-size: 16px;}
.feature-grid {gap: 23px;}
.feature-card {min-height: 355px; border: 0; padding: 29px; border-radius: 23px;}
.feature-card.lavender {background: #f1ebfa;}
.feature-card.peach {background: #fff2e8;}
.feature-card.mint {background: #edf5ef;}
.feature-number {font-size: 9px; color: #aa92bd; letter-spacing: 1px; top: 26px;}
.feature-icon {margin-top: 44px; width: 43px; height: 43px; border-radius: 14px; color: #ad96c4; background: #ffffffaa;}
.peach .feature-icon {color: #c7a585;}
.mint .feature-icon {color: #95b09a;}
.feature-card h3 {font-size: 24px; letter-spacing: -.7px; color: #866d97; margin-top: 23px;}
.feature-card p {font-size: 13px; color: #9f89ad; line-height: 1.8;}
.feature-card.peach h3 {color: #b18e6f;}
.feature-card.peach p {color: #bea38b;}
.feature-card.mint h3 {color: #7f9c85;}
.feature-card.mint p {color: #96af9c;}
.feature-tags {display: flex; flex-wrap: wrap; gap: 6px; margin-top: 23px;}
.feature-tags span {padding: 5px 8px; border: 1px solid #ffffff99; border-radius: 6px; background: #ffffff70; color: #a58eb6; font-size: 9px;}
.peach .feature-tags span {color: #ba9c83;}
.mint .feature-tags span {color: #92a899;}
.ownership-promise {display: grid; grid-template-columns: 1fr 1fr; gap: 100px; max-width: 1182px; margin: 0 auto 110px; padding: 55px; background: #fbf9fd; border-radius: 27px; border: 1px solid #f2edf7;}
.ownership-promise h2 {font: 800 31px/1.2 var(--display); color: #816a94; letter-spacing: -1.1px; margin: 16px 0;}
.ownership-promise p {font-size: 13px; line-height: 1.8; color: #a18fac;}
.ownership-promise ol {list-style: none; padding: 0; margin: 0;}
.ownership-promise li {display: flex; align-items: flex-start; gap: 16px; padding-block: 15px;}
.ownership-promise li > span {display: grid; width: 32px; height: 32px; flex-shrink: 0; place-items: center; border: 1px solid #e8dcf0; border-radius: 11px; background: #f4eef9; color: #b39bc4; font-size: 10px;}
.ownership-promise li strong {font: 700 16px var(--display); color: #947ca7;}
.ownership-promise li p {margin: 4px 0 0; font-size: 12px;}
.home-community {background: #f8f5fc;}
.home-community-grid > a {border-color: #eee6f4; border-radius: 18px; padding: 21px;}
.home-community-grid small {font-size: 10px;}
.home-community-grid h3 {font-size: 18px;}
.home-community-grid > a > span:last-child {font-size: 10px;}
.marketing-cta {background: #f3edf9; padding-block: 100px;}
.marketing-cta h2 {color: #8e73a4; font-size: clamp(38px,5vw,61px); letter-spacing: -2.2px;}
.marketing-cta p {font-size: 15px; color: #a18aaf; line-height: 1.8;}
.marketing-footer {background: #fff; border-color: #f0eaf5; color: #ac9eb8;}
.marketing-body .community-hero {margin-top: 45px; padding-inline: 24px;}
.marketing-body .community-filters {max-width: 1152px; margin-inline: auto;}
.marketing-body .community-layout {max-width: 1200px; margin-bottom: 80px;}
.public-profile-hero > div {min-width: 0; flex: 1;}
.public-profile-hero h1 {font-size: clamp(31px,4vw,45px); overflow-wrap: anywhere;}
.public-profile-hero p {line-height: 1.7; overflow-wrap: anywhere;}
.public-profile-hero small {color: var(--muted);}
.public-profile-hero form {flex: 0 0 auto; max-width: 100%;}
.public-avatar img {width: 100%; height: 100%; object-fit: cover;}
.public-profile-stats small {font-size: 12px; color: var(--muted);}
.public-garage {background: #faf7fd;}
.public-vehicle-grid {grid-template-columns: repeat(2,minmax(0,1fr));}
.public-vehicle-grid > article {min-width: 0; grid-template-columns: minmax(0,.45fr) minmax(0,.55fr); border-color: #e9e0f1;}
.public-vehicle-grid > article > div {min-width: 0; overflow-wrap: anywhere;}
.public-vehicle-photo {min-width: 0; min-height: 0; height: 260px;}
.public-vehicle-photo svg {max-width: 260px; max-height: 150px;}
.public-vehicle-grid dl {grid-template-columns: repeat(2,minmax(0,1fr));}
.public-vehicle-grid dl > div {min-width: 0;}
.public-vehicle-grid small {font-size: 11px; color: var(--muted);}
.public-vehicle-grid p {font-size: 13px;}
.public-vehicle-grid dt {font-size: 10px; color: var(--muted);}
.public-vehicle-grid dd {font-size: 15px;}

/* Ownership ledger, journey, and the record an owner can take with them. */
.ownership-stats {display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 15px; margin-bottom: 24px;}
.ownership-stat {padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: #fff;}
.ownership-stat:nth-child(1) {background: #f1edf9; border-color: #e9e1f4;}
.ownership-stat:nth-child(2) {background: #edf5ef; border-color: #e1ece5;}
.ownership-stat span, .ownership-stat small, .ownership-stat strong {display: block;}
.ownership-stat > span {color: #93849f; font-size: 12px;}
.ownership-stat strong {font: 800 28px var(--display); margin-top: 11px; letter-spacing: -.8px;}
.ownership-stat small {font-size: 11px; color: #a296ab; margin-top: 8px; line-height: 1.6;}
.journal-toolbar {display: flex; flex-wrap: wrap; align-items: end; gap: 14px; margin-bottom: 24px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff;}
.journal-toolbar .field {flex: 1; min-width: 130px;}
.journal-toolbar .button {flex-shrink: 0;}
.journal-timeline {position: relative; padding: 6px 25px; background: #fff;}
.journal-note {margin: -5px 0 24px; padding: 16px 20px; border-radius: 14px; background: #f7f3fc; font-size: 12px; color: #786788; line-height: 1.8;}
.journal-note a {color: #765b93; text-decoration: underline; text-underline-offset: 3px;}
.journal-actions {display: flex; flex-wrap: wrap; align-items: center; gap: 9px;}
.journal-card {overflow: hidden;}
.journal-event-date strong, .journal-event-date small {display: block;}
.journal-event-date strong {font-size: 12px; font-weight: 700;}
.journal-event-date small {font-size: 10px; margin-top: 3px;}
.journal-event {display: grid; grid-template-columns: 95px 40px minmax(0,1fr) auto; gap: 18px; align-items: start; padding: 24px 0; border-bottom: 1px solid #f0eaf5;}
.journal-event:last-child {border-bottom: 0;}
.journal-event > time, .journal-event-date {color: var(--muted); font-size: 12px; padding-top: 9px;}
.journal-event-icon {display: grid; width: 38px; height: 38px; place-items: center; border-radius: 13px; background: #f0e9fa; color: #9574ac; font-size: 17px;}
.journal-event-kind {color: #65567f; font-size: 10px; text-transform: uppercase; letter-spacing: .9px;}
.journal-event-fuel .journal-event-icon {background: #edf5ef; color: #6e9177;}
.journal-event-maintenance .journal-event-icon {background: #fff1e7; color: #b28f70;}
.journal-event-expense .journal-event-icon {background: #f3eafa; color: #9c77af;}
.journal-event-body {min-width: 0; padding-top: 2px;}
.journal-event-body h3 {font: 700 16px var(--display); margin: 0 0 6px; overflow-wrap: anywhere;}
.journal-event-body p {color: #a391ae; font-size: 12px; margin: 4px 0; line-height: 1.65;}
.journal-event-body small {font-size: 11px; color: #af9fba;}
.journal-event-body a {font-size: 12px; color: #735388; font-weight: 600;}
.journal-event-body h3 a {font: inherit; color: inherit;}
.journal-event-body h3 {margin-top: 5px;}
.journal-event-notes {margin-top: 9px;}
.journal-event-notes summary {font-size: 11px; color: #9580a4; cursor: pointer;}
.journal-event-notes p {white-space: normal; overflow-wrap: anywhere; max-width: 650px;}
.journal-event-value > a {display: block; margin-top: 7px; font: 600 11px var(--font); color: #735388;}
.journal-event-value {font: 700 15px var(--display); padding-top: 8px; text-align: right; white-space: nowrap;}
.journal-event-value small {display: block; color: #b1a3ba; font: 500 10px var(--font); margin-top: 5px;}
.journal-pagination {display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-top: 23px; font-size: 12px; color: #a18dac;}
.journal-card > .journal-pagination, .log-card > .journal-pagination {padding: 0 24px 22px;}
.journal-export {display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 25px; padding: 25px; background: #faf7fd;}
.journal-export > div {min-width: 0;}
.journal-export h2 {font: 700 20px var(--display); margin: 7px 0;}
.journal-export p {max-width: 580px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8;}
.expense-category-grid {display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin-bottom: 25px;}
.expense-category {padding: 17px; border: 1px solid #ede5f4; border-radius: 15px; background: #fff;}
.expense-category > span, .expense-category > small {display: block; color: #7f6a8e; font-size: 12px;}
.expense-category > strong {display: block; margin-top: 8px; font: 700 18px var(--display); color: #826a95;}
.report-sheet {max-width: 1100px; margin-inline: auto; padding: 42px; border: 1px solid var(--line); border-radius: 23px; background: #fff; box-shadow: var(--shadow);}
.report-header {display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 25px; padding-bottom: 28px; border-bottom: 1px solid var(--line);}
.report-header h1, .report-header h2 {font: 800 30px/1.2 var(--display); letter-spacing: -1px; margin: 9px 0;}
.report-header p {font-size: 14px; color: var(--muted); margin: 6px 0;}
.report-header img {width: 180px; height: 135px; object-fit: cover; border-radius: 15px;}
.report-summary {display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; margin: 27px 0;}
.report-summary > div, .report-summary > article {padding: 20px; background: #f8f5fb; border-radius: 14px;}
.report-summary small, .report-summary span {display: block; color: #a591b2; font-size: 11px;}
.report-summary strong {display: block; margin-top: 7px; font: 800 18px var(--display);}
.report-section {margin-top: 32px;}
.report-section h2 {font: 700 20px var(--display); margin-bottom: 16px;}
.report-section p {font-size: 13px; color: #9e8ca8; line-height: 1.75;}
.report-table {width: 100%; border-collapse: collapse; font-size: 12px;}
.report-table th {padding: 12px 10px; text-align: left; font-size: 10px; text-transform: uppercase; letter-spacing: .6px; color: #65567f; border-bottom: 1px solid #e8deef;}
.report-table td {padding: 14px 10px; border-bottom: 1px solid #f0eaf5; vertical-align: top; overflow-wrap: anywhere;}
.report-table small {display: block; margin-top: 4px; color: #aa96b5; font-size: 11px;}
.report-actions {display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 auto 25px; max-width: 1100px;}
.report-header > div > small {display: block; margin-top: 5px; font-size: 11px; color: var(--muted);}
.report-picker {padding: 27px; max-width: 650px;}
.report-picker form {display: flex; align-items: end; gap: 15px;}
.report-picker .field {flex: 1;}
.check-line {display: flex; align-items: center; gap: 9px; font-size: 13px; color: #807089; cursor: pointer;}
.check-line input {width: 17px; height: 17px; accent-color: #9f87b6;}
.report-options {justify-content: flex-start;}
.report-footer {margin-top: 35px; padding-top: 23px; border-top: 1px solid var(--line);}
.report-footer strong {font: 700 14px var(--display); color: #9178a2;}
.report-footer p {max-width: 730px; font-size: 11px; color: #a08cad; line-height: 1.8;}
.report-disclaimer {font-size: 11px !important;}
.report-history {table-layout: fixed;}
.report-history th:first-child {width: 18%;}
.report-history th:nth-child(2) {width: 47%;}
.report-history th:nth-child(3) {width: 19%;}
.report-history th:nth-child(4) {width: 16%;}
.report-section > .report-table:not(.report-history) th {width: 70%;}

/* Keep pastel surfaces soft while text remains comfortably readable. */
.eyebrow, .card-kicker, .marketing-eyebrow, .feature-number {color: #725d82;}
.hero-copy h1 em {color: #aa86bf;}
.hero-copy > p, .hero-trust, .section-heading p, .marketing-cta p, .ownership-promise p,
.feature-card p, .feature-card.peach p, .feature-card.mint p,
.community-hero p, .community-method-note, .community-filter-details p,
.community-vehicle-body > small, .community-vehicle-body p,
.community-vehicle-body h3 > span, .leaderboard-card header p,
.community-invite p, .community-invite small, .community-invite .card-kicker,
.journal-event-body p, .journal-event-body small, .journal-event-value small,
.ownership-stat small, .report-section p, .report-footer p, .report-table small {color: #655d73;}
.feature-card h3 {color: #785b8c;}
.feature-card.peach h3 {color: #97734f;}
.feature-card.mint h3 {color: #5d8167;}
.feature-tags span {color: #84689a;}
.peach .feature-tags span {color: #9b785b;}
.mint .feature-tags span {color: #64806c;}
.hero-link, .community-owner-link, .community-computer {color: #735388 !important;}
.preview-top, .preview-tools strong {color: #826795;}
.preview-private, .preview-tools small, .preview-car-caption span, .preview-chapters span {color: #90789e;}
.community-hero-tags span {color: #8a709f;}
.community-hero-tags span:nth-child(2) {color: #61856c;}
.community-hero-tags span:nth-child(3) {color: #9c795d;}
.community-invite h3 {color: #47705a;}
.report-summary span, .report-summary small, .ownership-stat > span {color: #65567f;}
.card-header > div > p:not(.card-subtitle) {margin: 5px 0 0; font-size: 12px; color: var(--muted);}
.public-profile-hero form {margin-top: 18px;}

@media (max-width: 1350px) {
    .garage-grid {grid-template-columns: repeat(2,minmax(0,1fr));}
    .community-layout {grid-template-columns: minmax(0,1fr) 270px; gap: 18px;}
    .community-vehicle-grid {grid-template-columns: 1fr;}
    .companion-actions {grid-template-columns: repeat(2,minmax(0,1fr));}
    .metric-grid {grid-template-columns: repeat(2,minmax(0,1fr));}
    .marketing-hero {gap: 40px;}
    .marketing-body .community-vehicle-grid {grid-template-columns: repeat(2,minmax(0,1fr));}
    .home-community-grid {grid-template-columns: 1fr;}
    .ownership-promise {margin-inline: 34px; gap: 45px;}
}
@media (max-width: 1050px) {
    .community-layout {grid-template-columns: 1fr;}
    .community-vehicle-grid {grid-template-columns: repeat(2,minmax(0,1fr));}
    .community-aside {display: grid; grid-template-columns: 1fr 1fr; align-items: start;}
    .community-filter-primary {grid-template-columns: 1fr 1fr;}
    .insight-grid {grid-template-columns: 1fr;}
    .companion-hero {align-items: flex-start; flex-direction: column;}
    .companion-hero .companion-actions {width: 100%; flex-basis: auto; grid-template-columns: repeat(4,minmax(0,1fr));}
    .ownership-stats {grid-template-columns: repeat(2,minmax(0,1fr));}
    .marketing-hero {grid-template-columns: 1fr 1fr; min-height: 620px;}
    .hero-copy h1 {font-size: 61px;}
    .hero-copy > p {font-size: 15px;}
    .preview-private {display: none;}
    .preview-chapters {gap: 5px;}
    .preview-chapters span {font-size: 8px; gap: 5px;}
    .preview-tools {gap: 8px;}
    .preview-tools > div {gap: 7px;}
    .preview-tools small {font-size: 8px;}
    .feature-grid {grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px;}
    .feature-card {padding: 22px;}
    .feature-card:last-child {grid-column: auto;}
    .feature-card h3 {font-size: 21px;}
    .feature-number {right: 22px; font-size: 8px;}
    .feature-tags {gap: 4px;}
    .public-vehicle-grid {grid-template-columns: 1fr;}
}
@media (max-width: 900px) {
    .sidebar {width: 265px;}
    .topbar-title {display: block; margin-right: auto; margin-left: 10px;}
    .topbar-title small {display: none;}
    .topbar {padding-inline: 20px; height: 70px;}
    .main-content {padding: 27px 25px 45px;}
    .companion-hero {padding: 28px;}
    .community-hero {margin-top: 0;}
    .marketing-hero {grid-template-columns: 1fr; gap: 50px; max-width: 760px; padding-top: 40px; padding-bottom: 75px;}
    .hero-copy {max-width: 610px;}
    .hero-copy h1 {font-size: 68px;}
    .hero-copy > p {font-size: 17px;}
    .ownership-preview {max-width: 590px; width: 100%; justify-self: center;}
    .preview-private {display: flex;}
    .preview-chapters span {font-size: 10px;}
    .preview-tools small {font-size: 10px;}
    .preview-tools strong {font-size: 12px;}
    .feature-grid {grid-template-columns: 1fr;}
    .feature-card {min-height: 285px; padding: 30px;}
    .feature-card h3 {font-size: 25px;}
    .feature-card p {max-width: 100%;}
    .feature-icon {margin-top: 32px;}
    .feature-number {font-size: 9px;}
    .feature-tags span {font-size: 10px;}
    .ownership-promise {padding: 34px; gap: 30px;}
    .ownership-promise h2 {font-size: 28px;}
    .marketing-body .community-filters {margin-inline: 24px;}
    .expense-category-grid {grid-template-columns: repeat(2,minmax(0,1fr));}
}
@media (max-width: 640px) {
    .topbar {height: 65px; padding-inline: 12px; gap: 5px;}
    .lower-grid {grid-template-columns: minmax(0, 1fr);}
    .lower-grid > .card {min-width: 0;}
    .topbar-title {max-width: 115px; margin-left: 4px;}
    .topbar-title span {font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
    .topbar-actions {gap: 6px;}
    .vehicle-switcher select {height: 37px; min-width: 0; max-width: 123px; padding-left: 30px; font-size: 11px;}
    .vehicle-switcher svg {left: 9px; width: 14px;}
    .topbar-actions .button {min-height: 37px; padding: 8px;}
    .main-content {padding: 24px 17px 40px;}
    .page-intro {gap: 18px;}
    .page-intro h1 {font-size: 29px;}
    .page-intro p {font-size: 14px;}
    .page-intro .button {align-self: flex-start;}
    .page-intro .intro-actions .button {align-self: stretch;}
    .card-header {padding: 20px 18px 0; gap: 10px; flex-wrap: wrap;}
    .card-header h2 {font-size: 18px;}
    .card-subtitle {font-size: 12px;}
    .card {border-radius: 19px;}
    .companion-hero {padding: 25px 21px; border-radius: 22px; margin-bottom: 18px; align-items: flex-start; flex-direction: column; gap: 18px;}
    .companion-hero h1, .companion-hero h2 {font-size: 30px; letter-spacing: -1.1px;}
    .companion-hero p {font-size: 13px;}
    .companion-actions {gap: 9px; margin-bottom: 22px;}
    .companion-actions > a, .quick-action {padding: 13px; gap: 9px; border-radius: 14px; font-size: 12px;}
    .companion-actions small {font-size: 10px;}
    .companion-hero .companion-actions {grid-template-columns: repeat(2,minmax(0,1fr));}
    .companion-hero .companion-actions > a {min-height: 48px; font-size: 12px;}
    .companion-actions svg {width: 18px; height: 18px;}
    .companion-section {margin-top: 25px;}
    .insight-card {padding: 19px;}
    .ownership-progress {gap: 7px; font-size: 10px; flex-wrap: wrap;}
    .ownership-progress span + span {padding-left: 7px;}
    .ownership-progress i {min-width: 10px;}
    .metric-grid {gap: 10px; grid-template-columns: repeat(2,minmax(0,1fr));}
    .metric-card {padding: 16px; min-height: 173px; border-radius: 17px;}
    .metric-head {margin-bottom: 14px; gap: 5px;}
    .metric-icon {width: 31px; height: 31px; border-radius: 10px;}
    .metric-icon svg {width: 17px; height: 17px;}
    .metric-card > strong {font-size: 25px; letter-spacing: -.8px;}
    .metric-card > strong small {font-size: 10px;}
    .metric-label {font-size: 11px;}
    .metric-foot {font-size: 10px;}
    .trend-pill {font-size: 8px;}
    .garage-grid {grid-template-columns: 1fr; gap: 18px;}
    .vehicle-art {height: 205px;}
    .vehicle-card-body {padding: 21px;}
    .vehicle-card h2 {font-size: 26px;}
    .vehicle-facts strong {font-size: 13px;}
    .add-vehicle-card {min-height: 215px;}
    .garage-empty {padding: 30px 22px;}
    .empty-list-card p {font-size: 14px;}
    .community-hero {padding: 8px 0 0; margin-bottom: 26px; text-align: left;}
    .community-hero .eyebrow {justify-content: flex-start;}
    .community-hero h1 {font-size: 32px; letter-spacing: -1px;}
    .community-hero p {font-size: 13px;}
    .community-hero-tags {justify-content: flex-start; gap: 5px; margin-top: 18px;}
    .community-hero-tags span {font-size: 9px; padding: 5px 8px;}
    .community-filters {padding: 17px; margin-bottom: 26px; border-radius: 17px;}
    .community-filter-primary {gap: 12px;}
    .community-filter-primary > label:first-child {grid-column: 1 / -1;}
    .community-filter-primary > button {grid-column: 1 / -1;}
    .community-filters input, .community-filters select {font-size: 16px;}
    .community-filter-secondary {gap: 12px; flex-direction: column;}
    .community-more-filters {width: 100%;}
    .community-more-filters summary {max-width: none; font-size: 12px;}
    .community-filter-details {grid-template-columns: 1fr 1fr;}
    .community-filter-details > label:nth-child(5) {grid-column: 1 / -1;}
    .community-filters .community-sort {width: 100%; justify-content: space-between;}
    .community-sort select {width: 200px; font-size: 12px;}
    .community-layout, .community-vehicle-grid, .marketing-body .community-vehicle-grid {grid-template-columns: 1fr;}
    .community-layout {gap: 24px;}
    .section-row {align-items: center;}
    .section-row h2 {font-size: 22px;}
    .section-row > span {font-size: 10px;}
    .community-method-note {font-size: 11px;}
    .community-method-note {font-size: 12px;}
    .community-vehicle-body p, .community-vehicle-body > small {font-size: 12px;}
    .community-owner-link {font-size: 13px !important;}
    .community-invite p, .leaderboard-card header p {font-size: 13px;}
    .community-card-metrics > span {font-size: 11px !important;}
    .community-photo {height: 210px;}
    .community-aside {display: flex;}
    .community-vehicle-body {padding: 22px;}
    .leaderboard-card li > a strong {font-size: 13px;}
    .leaderboard-card li > em {font-size: 13px;}
    .leaderboard-card header h2 {font-size: 23px;}
    .community-invite h3 {font-size: 23px;}
    .modal-header h2 {font-size: 23px;}
    .modal-header p {font-size: 12px;}
    .modal-form {padding-top: 22px;}
    .modal-form > .form-grid, .modal-form > .form-section {flex-shrink: 0;}
    .modal-actions {padding-top: 16px;}
    .modal-actions .button {font-size: 13px;}
    .form-grid {gap: 19px;}
    .live-value-note strong, .live-value-note span {font-size: 12px;}
    .settings-form, .import-form {padding: 20px;}
    .marketing-nav {height: 76px; padding-inline: 20px;}
    .marketing-nav .brand {font-size: 25px;}
    .marketing-nav .button {min-height: 40px; padding: 10px 12px; font-size: 11px;}
    .marketing-hero {padding: 32px 23px 55px; gap: 35px;}
    .hero-copy h1 {font-size: 53px; letter-spacing: -2.8px; margin-block: 19px 22px;}
    .hero-copy > p {font-size: 15px; line-height: 1.8;}
    .marketing-eyebrow {font-size: 9px; letter-spacing: 1.5px;}
    .hero-actions {gap: 18px; flex-direction: column; align-items: flex-start; margin-top: 25px;}
    .hero-button {font-size: 13px;}
    .hero-trust {gap: 9px 12px; font-size: 9px; margin-top: 23px;}
    .ownership-preview {transform: none; border-radius: 22px; padding: 15px;}
    .preview-top {font-size: 10px; padding-bottom: 15px;}
    .preview-private {font-size: 8px;}
    .preview-car {padding: 21px 7px 20px;}
    .preview-car-caption strong {font-size: 21px;}
    .preview-chapters {padding: 18px 1px; gap: 5px;}
    .preview-chapters span {font-size: 8px; gap: 4px;}
    .preview-chapters b {width: 18px; height: 18px; font-size: 7px;}
    .preview-tools {padding-top: 15px; gap: 5px;}
    .preview-tool-icon {width: 31px; height: 31px; border-radius: 10px;}
    .preview-tool-icon svg {width: 16px; height: 16px;}
    .preview-tools strong {font-size: 9px;}
    .preview-tools small {font-size: 8px;}
    .marketing-proof {gap: 19px; padding: 22px; font-size: 11px; white-space: nowrap;}
    .feature-section, .home-community {padding: 70px 23px;}
    .section-heading {margin-bottom: 30px;}
    .section-heading h2 {font-size: 32px; letter-spacing: -1.3px;}
    .section-heading p {font-size: 14px;}
    .feature-grid {gap: 17px;}
    .feature-card {padding: 28px;}
    .feature-card h3 {font-size: 24px;}
    .feature-card p {font-size: 13px;}
    .ownership-promise {grid-template-columns: 1fr; padding: 28px; margin: 0 23px 70px; gap: 18px;}
    .ownership-promise h2 {font-size: 28px;}
    .ownership-promise p {font-size: 13px;}
    .ownership-promise li {padding-block: 12px;}
    .home-community-grid > a {grid-template-columns: 70px 1fr auto; gap: 5px 11px; padding: 15px;}
    .community-car-thumb {width: 70px; height: 70px;}
    .home-community-grid h3 {font-size: 16px;}
    .home-community-grid strong {font-size: 20px;}
    .home-community-grid small, .home-community-grid > a > span:last-child {font-size: 9px;}
    .marketing-cta {padding: 75px 24px;}
    .marketing-cta h2 {font-size: 42px; letter-spacing: -1.5px;}
    .marketing-cta p {font-size: 14px;}
    .marketing-footer {padding: 28px 24px;}
    .marketing-body .community-hero {margin-top: 23px; padding-inline: 22px;}
    .marketing-body .community-filters {margin-inline: 22px;}
    .marketing-body .community-layout {padding-inline: 22px;}
    .ownership-stats {gap: 10px;}
    .ownership-stat {padding: 17px; border-radius: 17px;}
    .ownership-stat > span {font-size: 11px;}
    .ownership-stat strong {font-size: 23px;}
    .ownership-stat small {font-size: 10px;}
    .journal-toolbar {padding: 17px; gap: 12px;}
    .journal-toolbar .field {flex-basis: 100%;}
    .journal-toolbar .button {flex: 1;}
    .journal-timeline {padding: 0 18px;}
    .journal-event {grid-template-columns: 32px minmax(0,1fr) auto; gap: 11px; padding-block: 22px;}
    .journal-event > time, .journal-event-date {grid-column: 2 / -1; font-size: 11px; padding-top: 0;}
    .journal-event-icon {grid-column: 1; grid-row: span 2; width: 31px; height: 31px; font-size: 14px; border-radius: 10px;}
    .journal-event-body {grid-column: 2;}
    .journal-event-body h3 {font-size: 14px;}
    .journal-event-body p {font-size: 12px;}
    .journal-event-value {grid-column: 3; font-size: 12px; padding-top: 2px;}
    .journal-pagination {font-size: 11px; flex-wrap: wrap;}
    .journal-event-date strong, .journal-event-date small {display: inline; margin-right: 5px;}
    .journal-actions {width: 100%;}
    .journal-actions .button {flex: 1;}
    .journal-export {align-items: flex-start; flex-direction: column; gap: 20px; padding: 22px;}
    .history-pagination {padding: 18px; flex-wrap: wrap;}
    .expense-category {padding: 15px;}
    .report-sheet {padding: 24px 18px; border-radius: 19px;}
    .report-header {align-items: flex-start; flex-direction: column;}
    .report-header h1, .report-header h2 {font-size: 25px;}
    .report-header p {font-size: 12px;}
    .report-header img {width: 100%; height: 185px;}
    .report-summary {grid-template-columns: 1fr; gap: 10px;}
    .report-summary > div, .report-summary > article {padding: 17px;}
    .report-table {font-size: 11px;}
    .report-table td, .report-table th {padding: 10px 6px;}
    .report-table th {font-size: 9px;}
    .report-actions .button {flex: 1;}
    .report-picker {padding: 22px;}
    .report-picker form {align-items: stretch; flex-direction: column;}
    .report-options {align-items: flex-start;}
    .report-options .check-line {width: 100%;}
}
@media (max-width: 380px) {
    .main-content {padding-inline: 14px;}
    .topbar-title {max-width: 93px;}
    .preview-private {display: none;}
    .community-hero h1 {font-size: 30px;}
    .hero-copy h1 {font-size: 47px;}
    .metric-card {padding: 14px;}
    .metric-card > strong {font-size: 22px;}
    .companion-actions > a {gap: 6px; font-size: 11px;}
    .companion-actions small {font-size: 9px;}
}
@media (max-width: 640px) {
    .timeline-row {grid-template-columns: 14px 46px minmax(0,1fr) 46px; gap: 10px;}
    .timeline-marker {grid-column: 1; grid-row: 1 / span 2;}
    .timeline-date {grid-column: 2; grid-row: 1 / span 2;}
    .timeline-main {grid-column: 3; grid-row: 1;}
    .timeline-meta {display: block; grid-column: 3; grid-row: 2; text-align: left;}
    .timeline-row > .row-actions {grid-column: 4; grid-row: 1 / span 2;}
}
/* A direct, configured contact remains available without an account. */
/* Authentication guidance is content, not decorative fine print. */
.auth-panel .auth-fineprint {color: #645d73; font-size: 14px; line-height: 1.6;}
.auth-panel .field small, .auth-panel .auth-heading p {color: #645d73; font-size: 14px; line-height: 1.6;}
.auth-panel .alert {font-size: 14px; line-height: 1.6;}
.auth-panel .auth-switch {color: #645d73; font-size: 14px; line-height: 1.5;}
.auth-panel .auth-switch a {display: inline-flex; align-items: center; min-height: 44px; padding-block: 10px;}
.auth-panel .password-wrap input {padding-right: 52px;}
.auth-panel .password-wrap button {top: 1px; right: 1px; width: 44px; height: 44px; border-radius: 9px; color: #645d73;}
.auth-panel .password-wrap button:focus-visible {outline: 3px solid #655093; outline-offset: -3px;}
/* A real native file input keeps photo selection available to keyboard users. */
.profile-photo-control {position: relative; min-height: 46px; overflow: hidden;}
.profile-photo-control input[type="file"] {position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; cursor: pointer;}
.profile-photo-control:focus-within {outline: 3px solid #655093; outline-offset: 3px;}
/* Keep monetary values together; one wide card is clearer than clipped totals. */
.report-scroll-hint {display: none;}
/* A focusable scroll region exposes the full log without changing its columns. */
.fuel-scroll-hint {margin: 0; padding: 0 24px 16px; font-size: 13px; color: var(--muted);}
.fuel-history-scroll {overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;}
.fuel-history-scroll:focus-visible {outline: 3px solid var(--green-dark); outline-offset: -3px;}
/* These existing totals form one quiet summary, rather than four tinted cards. */
.ownership-stats.ownership-summary {gap: 0; border-block: 1px solid var(--line); background: var(--card);}
.ownership-stats.ownership-summary > .ownership-stat {min-width: 0; padding: 20px; border: 0; border-radius: 0; background: var(--card); box-shadow: none;}
.ownership-summary > .ownership-stat + .ownership-stat {border-left: 1px solid var(--line);}
.ownership-summary .ownership-stat > span {font-size: 13px; color: var(--muted);}
.ownership-summary .ownership-stat small {font-size: 12px; color: var(--muted);}
.ownership-summary .ownership-stat strong {overflow-wrap: anywhere;}
html[data-theme="dark"] .ownership-stats.ownership-summary > .ownership-stat {background: var(--card) !important; border-color: var(--line) !important; box-shadow: none;}
@media screen and (max-width: 1050px) and (min-width: 641px) {
    .ownership-summary > .ownership-stat:nth-child(3) {border-left: 0;}
    .ownership-summary > .ownership-stat:nth-child(n+3) {border-top: 1px solid var(--line);}
}
@media screen and (max-width: 640px) {
    .ownership-stats {grid-template-columns: repeat(auto-fit,minmax(min(100%,200px),1fr));}
    .ownership-stat {min-width: 0;}
    .ownership-stat strong {overflow-wrap: anywhere;}
    .ownership-stats.ownership-summary {grid-template-columns: minmax(0, 1fr);}
    .ownership-stats.ownership-summary > .ownership-stat {display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 15px 16px; border-left: 0;}
    .ownership-summary > .ownership-stat + .ownership-stat {border-top: 1px solid var(--line);}
    .ownership-summary .ownership-stat > span {flex: 1 1 120px; min-width: 0; overflow-wrap: anywhere;}
    .ownership-summary .ownership-stat strong {flex: 0 1 auto; min-width: 0; max-width: 100%; margin: 0; font-size: 23px;}
    .ownership-summary .ownership-stat small {flex: 1 1 100%; margin: 0;}
    .ownership-summary .ownership-stat .metric-inline-link {flex: 1 1 100%;}
    .journal-export .journal-actions > .button {flex: 1 1 10em; min-width: min(100%, 10em); max-width: 100%; white-space: normal; overflow-wrap: anywhere;}
    .report-history-scroll {max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;}
    .report-section .report-scroll-hint {display: block; margin: 12px 0; color: #645d73; font-size: 13px;}
    .report-history-scroll:focus-visible {outline: 3px solid #655093; outline-offset: 3px;}
    .report-history-scroll .report-history {min-width: 560px; font-size: 13px;}
    .report-history-scroll .report-history th {font-size: 11px; color: #645d73;}
    .report-history-scroll .report-history td, .report-history-scroll .report-history th {padding: 12px 10px;}
    .report-history-scroll .report-history td:first-child,
    .report-history-scroll .report-history td:nth-child(3),
    .report-history-scroll .report-history td:nth-child(4) {overflow-wrap: normal;}
}
@media (max-width: 520px) {
    .public-vehicle-grid > article {grid-template-columns: minmax(0,1fr);}
    .public-vehicle-photo {height: 200px;}
}
.auth-panel .support-contact, .support-intro .support-contact {
    display: flex; flex-wrap: wrap; align-items: center; gap: 0 6px;
    margin: 12px 0 0; color: #645d73; font-size: 14px; line-height: 1.5;
}
.auth-panel .support-contact {justify-content: center; text-align: center;}
.support-contact a {
    display: inline-block; max-width: 100%; min-width: 0; min-height: 44px;
    padding: 11px 0; color: #655093; font-weight: 600; overflow-wrap: anywhere;
    text-decoration: underline; text-underline-offset: 3px;
}
.auth-panel .support-contact a:focus-visible, .support-intro .support-contact a:focus-visible {
    outline: none; border: 0; box-shadow: none;
    color: #49366d; text-decoration-thickness: 3px; text-underline-offset: 5px;
}

/* Standalone secondary actions keep a comfortable phone hit area. Inline
   links inside explanatory text retain their normal reading flow. */
.public-profile-missing > span {color: #65567f;}
@media screen {
    .community-more-filters summary, .community-sort select {scroll-margin-top: 100px;}
}
@media screen and (max-width: 900px) {
    .button-small {min-width: 44px; min-height: 44px; font-size: 14px;}
    .profile-photo-control {min-height: 46px;}
    .community-filters .community-sort select {height: 44px; min-height: 44px; font-size: 16px;}
    .community-more-filters summary {min-height: 44px;}
    .filter-clear, .community-tabs a, .app-footer a {
        display: inline-flex; align-items: center; gap: 4px; min-width: 44px; min-height: 44px;
    }
}

/* Valuation availability and account-wide allowances stay readable on phones. */
.valuation-footer > div {min-width: 0;}
.valuation-actions {max-width: 420px;}
.valuation-actions > small {color: #62677a; font-size: 13px; line-height: 1.5;}
.valuation-actions > .refresh-limit {max-width: 100%; color: #70475e !important; font-size: 13px !important; line-height: 1.5; text-align: left; overflow-wrap: anywhere;}

.auth-remember {display:flex;align-items:center;gap:12px;min-height:44px;cursor:pointer;color:var(--ink);font-size:15px;line-height:1.5;}
.auth-remember input {width:20px;height:20px;flex:0 0 20px;margin:0;accent-color:var(--green);}
.auth-remember input:focus-visible {outline:2px solid var(--green);outline-offset:3px;}
.auth-remember-choice > small {display:block;margin:2px 0 0 32px;color:var(--muted);font-size:13px;line-height:1.5;}

@media print {
    .sidebar, .topbar, .app-footer, .report-actions, .mobile-backdrop, .modal {display: none !important;}
    .app-body, .app-shell, .app-content, .main-content {display: block; width: 100%; min-height: 0; max-width: none; margin: 0; padding: 0; background: #fff;}
    .report-sheet {max-width: none; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; color: #111;}
    .report-header {break-inside: avoid;}
    .report-summary {grid-template-columns: repeat(4,1fr);}
    .report-section h2 {break-after: avoid;}
    .report-table tr {break-inside: avoid;}
    .report-table thead {display: table-header-group;}
    .report-sheet a {color: inherit; text-decoration: none;}
    .report-sheet p, .report-sheet small, .report-table th, .report-summary small, .report-summary span {color: #555;}
    @page {size: auto; margin: 16mm;}
}

/* ---- membership ---- */
/* A first-party beta note, not a paid placement. */
.beta-thank-you {
    min-width: 0;
    padding: 24px;
    border: 1px solid #e6e0ef;
    border-radius: 20px;
    background: linear-gradient(135deg, #f8f5fd, #fff 90%);
    color: var(--ink);
}

.beta-thank-you-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 15px;
}

.beta-thank-you-label {
    color: #6c5d8c;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.beta-thank-you-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: #ede7f8;
    color: #8874ad;
}

.beta-thank-you-icon svg {
    width: 17px;
    height: 17px;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.beta-thank-you h3 {
    margin: 0 0 10px;
    color: #514566;
    font: 700 21px/1.35 var(--display);
    letter-spacing: -.5px;
}

.beta-thank-you p {
    margin: 0;
    color: #72657e;
    font-size: 14px;
    line-height: 1.75;
}

.beta-thank-you-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    margin-top: 8px;
    color: #665197;
    font-size: 14px;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.beta-thank-you-link:hover {color: #48366f;}
.beta-thank-you-link:focus-visible {outline: 3px solid #7566b6; outline-offset: 4px; border-radius: 3px;}

/* Free-service information, scoped away from shared footer and thank-you styles. */
.membership-page {max-width: 980px; min-width: 0; margin: 0 auto; padding: 20px 0 30px; color: var(--ink); overflow-wrap: anywhere;}
.marketing-body .membership-page {padding: 54px 28px 80px;}
.membership-page .membership-intro {max-width: 710px; margin: 0 0 38px;}
.membership-page .membership-intro h1 {margin: 0 0 16px; font: 800 clamp(34px, 4vw, 48px)/1.15 var(--display); letter-spacing: -1.5px;}
.membership-page .membership-intro p {margin: 0; color: var(--muted); font-size: 17px; line-height: 1.7;}
.membership-page .membership-options {display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 46px; padding-top: 32px; border-top: 1px solid var(--line);}
.membership-page .membership-service,
.membership-page .membership-support {min-width: 0; background: transparent; border-radius: 0; box-shadow: none;}
.membership-page .membership-service h2 {margin: 0 0 8px; font: 800 25px/1.3 var(--display); letter-spacing: -.5px;}
.membership-page .membership-support {padding-left: 32px; border-left: 1px solid var(--line);}
.membership-page .membership-support h2 {margin: 0 0 12px; font: 700 21px/1.35 var(--display); letter-spacing: -.3px;}
.membership-page .membership-service > p,
.membership-page .membership-support > p {margin: 0 0 20px; color: var(--muted); font-size: 15px; line-height: 1.7;}
.membership-page .membership-features {display: grid; gap: 13px; list-style: none; padding: 0; margin: 24px 0 28px; font-size: 16px; line-height: 1.65;}
.membership-page .membership-features li {position: relative; padding-left: 25px;}
.membership-page .membership-features li::before {content: '\2713'; position: absolute; left: 0; color: var(--mint-ink, #477563); font-weight: 700;}
.membership-page .membership-support .membership-features {margin-top: 20px; color: var(--muted); font-size: 15px;}
.membership-page .membership-support .membership-features li {padding-left: 17px;}
.membership-page .membership-support .membership-features li::before {content: '\2022'; color: var(--muted);}
.membership-page .membership-service .membership-plan-note,
.membership-page .membership-support .membership-plan-note {font-size: 14px;}
.membership-page a {scroll-margin-block: 110px;}
.membership-page .button {max-width: 100%; min-height: 44px; padding: 12px 20px; font-size: 15px; line-height: 1.45; white-space: normal; text-align: center; box-shadow: none;}
.membership-page .membership-beta-note {margin: 36px 0 0; padding: 27px 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none;}
.membership-page .membership-beta-note h2 {margin: 0 0 12px; font: 700 20px/1.3 var(--display);}
.membership-page .membership-beta-note p {max-width: 790px; color: var(--muted); font-size: 14px; line-height: 1.75; margin: 0 0 12px;}
.membership-page .membership-text-link {max-width: 100%; flex-wrap: wrap;}
.membership-unavailable {display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 14px; border: 1px solid #e7dfef; border-radius: 12px; color: #75628e; font-size: 14px; text-align: center;}
.membership-text-link, .membership-footer-link {display: inline-flex; gap: 8px; align-items: center; min-height: 44px; color: #665197; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px;}
.membership-footer-link {font-weight: 500;}
.milesby-footer-links {display: flex; flex-wrap: wrap; gap: 4px 22px; align-items: center;}
.membership-text-link:hover, .membership-footer-link:hover {color: #48366f;}
.membership-text-link:focus-visible, .membership-footer-link:focus-visible {outline: 3px solid #7566b6; outline-offset: 4px; border-radius: 3px;}
.membership-status .settings-form > p {margin: 0 0 8px; color: #6f687d; font-size: 14px; line-height: 1.7;}
.membership-status .settings-form {display: flex; flex-wrap: wrap; gap: 8px 20px;}
.membership-status .settings-form > p {flex-basis: 100%;}
.marketing-nav nav a[aria-current=page] {color: #665197; text-decoration: underline; text-underline-offset: 6px;}

@media (min-width: 901px) and (max-width: 1150px) {
    .marketing-nav nav {gap: 14px;}
    .marketing-nav nav a {font-size: 12px;}
}

@media (max-width: 760px) {
    .membership-page .membership-options {grid-template-columns: minmax(0, 1fr); gap: 30px;}
    .membership-page .membership-support {padding: 28px 0 0; border-left: 0; border-top: 1px solid var(--line);}
}

@media (max-width: 640px) {
    .app-footer {flex-wrap: wrap; gap: 12px;}
    .beta-thank-you {padding: 22px;}
    .membership-page {padding-top: 8px;}
    .marketing-body .membership-page {padding: 32px 20px 48px;}
    .membership-page .membership-intro {margin-bottom: 28px;}
    .membership-page .membership-intro p {font-size: 16px;}
    .membership-page .membership-options {padding-top: 26px;}
    .membership-page .membership-beta-note {margin-top: 30px;}
}

/* ---- support ---- */
/* First-party support and private feedback; no payment widget or tracking. */
.support-page {max-width: 1100px; margin: 0 auto; padding: 8px 0 28px;}
.marketing-body .support-page {padding: 48px 28px 72px;}
.support-intro {display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 30px;}
.support-intro > div {max-width: 650px;}
.support-eyebrow {font-size: 11px; color: #74628f; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;}
.support-intro h1 {margin: 11px 0 12px; font: 800 clamp(31px, 3.4vw, 43px)/1.2 var(--display); letter-spacing: -1.5px;}
.support-intro p {margin: 0; color: #726a80; font-size: 16px; line-height: 1.7;}
.support-intro > .button {flex-shrink: 0;}
.support-layout {display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(270px, .9fr); align-items: start; gap: 24px;}
.support-layout > *, .support-sidebar {min-width: 0;}
.support-panel {padding: 28px; border: 1px solid #e8e3ed; border-radius: 22px; background: #fff;}
.support-panel h2, .support-history h2 {margin: 0 0 12px; font: 700 23px/1.3 var(--display); letter-spacing: -.6px;}
.support-panel > p {margin: 0 0 20px; color: #726a80; font-size: 15px; line-height: 1.7;}
.support-panel .support-form-intro {margin-bottom: 24px;}
.support-form {display: grid; gap: 20px; margin: 0;}
.support-form .field {font-size: 14px;}
.support-form .field small {font-size: 12px;}
.support-form .field input, .support-form .field select, .support-form .field textarea {font-size: 16px;}
.support-form .field textarea {min-height: 168px;}
.support-form-context {display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;}
.support-form p {margin: 0;}
.support-field-help {color: #71697b; font-size: 13px; line-height: 1.65;}
.support-form #support-message-help {margin-top: -11px;}
.support-privacy {padding: 14px 16px; border-radius: 12px; background: #f6f4fa; color: #6d647b; font-size: 13px; line-height: 1.7;}
.support-panel > .support-privacy {margin: 24px 0 0; font-size: 13px;}
.support-submit-row {display: flex; align-items: center; gap: 16px; flex-wrap: wrap;}
.support-submit-row span {flex: 1; min-width: 150px; color: #726a80; font-size: 12px; line-height: 1.6;}
.support-submit-row .button {flex-shrink: 0; min-height: 46px;}
.support-actions {display: flex; flex-wrap: wrap; gap: 10px;}
.support-sidebar {display: grid; gap: 22px;}
.support-donate {background: linear-gradient(145deg, #edf7f2, #fff 90%); border-color: #dfebe3;}
.support-coffee-icon {display: grid; width: 46px; height: 46px; place-items: center; margin-bottom: 22px; border-radius: 14px; background: #dfeee5; color: #537a62;}
.support-coffee-icon svg {width: 25px; height: 25px; stroke-width: 1.6;}
.support-donate .support-donate-button {width: 100%; background: #537a62; box-shadow: none; margin-bottom: 12px;}
.support-donate .support-donate-button:hover {background: #42634f;}
.support-donate > .support-field-help {font-size: 12px; color: #667a6e; margin-bottom: 22px;}
.support-donate > .support-donate-pending {padding: 13px 15px; background: #e8f2ec; border-radius: 12px; color: #4c6c59; font-size: 14px; font-weight: 600;}
.support-donate > .support-donate-fineprint {margin: 0; padding-top: 18px; border-top: 1px solid #dfe9e3; color: #67776d; font-size: 12px; line-height: 1.75;}
.support-side-note {padding: 2px 10px;}
.support-side-note h2 {margin: 0 0 10px; font: 700 17px/1.4 var(--display);}
.support-side-note p {margin: 0; color: #726a80; font-size: 13px; line-height: 1.8;}
.support-text-link {display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 5px; color: #665197; font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px;}
.support-errors {padding: 17px 18px; margin-bottom: 23px; border: 1px solid #efcfca; border-radius: 12px; background: #fff5f3; color: #8f4c43; font-size: 14px; line-height: 1.65;}
.support-errors ul {padding-left: 20px; margin: 7px 0 0;}
.support-notice {padding: 16px 18px; border: 1px solid #e7dfed; border-radius: 12px; background: #f8f5fc; color: #716580; font-size: 14px; line-height: 1.7;}
.support-notice p {margin: 0;}
.support-history {margin-top: 40px;}
.support-history-header {display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 16px; margin-bottom: 20px;}
.support-history-header h2 {margin-bottom: 6px;}
.support-history-header p, .support-history-header > span {margin: 0; color: #726a80; font-size: 13px;}
.support-history-list {display: grid; gap: 12px;}
.support-history-item {min-width: 0; border: 1px solid #e8e3ed; border-radius: 16px; background: #fff;}
.support-history-item summary {display: flex; align-items: center; gap: 16px; padding: 20px 23px; list-style: none; cursor: pointer; border-radius: 16px;}
.support-history-item summary::-webkit-details-marker {display: none;}
.support-history-item summary:hover {background: #fcfaff;}
.support-history-summary {display: grid; gap: 6px; min-width: 0; flex: 1;}
.support-history-meta {color: #726a80; font-size: 12px; line-height: 1.6;}
.support-history-meta > span {padding-inline: 3px;}
.support-history-summary strong {font-size: 15px; font-weight: 600; line-height: 1.6; overflow-wrap: anywhere;}
.support-status {display: inline-flex; flex-shrink: 0; align-items: center; min-height: 29px; padding: 5px 10px; border-radius: 100px; background: #f0edf7; color: #6a5c87; font-size: 11px; font-weight: 700; line-height: 1.4;}
.support-status-planned {background: #f9eddd; color: #87643c;}
.support-status-resolved {background: #e8f3ec; color: #4d7259;}
.support-status-closed {background: #f0f0f3; color: #666574;}
.support-history-chevron {width: 18px; flex-shrink: 0; font-size: 22px; color: #887c9b; text-align: center;}
.support-history-item[open] .support-history-chevron {transform: rotate(180deg);}
.support-history-body {padding: 0 23px 22px; border-top: 1px solid #f0ecf5;}
.support-history-message {white-space: pre-wrap; overflow-wrap: anywhere; color: #655e72; font-size: 14px; line-height: 1.8; margin: 18px 0;}
.support-history-context {display: flex; flex-wrap: wrap; gap: 18px 32px; margin: 18px 0; font-size: 12px; line-height: 1.6;}
.support-history-context > div {min-width: 0; max-width: 100%;}
.support-history-context dt {color: #82768f; margin-bottom: 4px;}
.support-history-context dd {color: #655e72; margin: 0; overflow-wrap: anywhere;}
.support-reference {color: #82768f; font-size: 11px;}
.support-history-empty {padding: 28px; border: 1px dashed #ddd5e8; border-radius: 18px; color: #726a80; background: #fff; font-size: 14px; line-height: 1.7;}
.support-history-empty p {margin: 0;}
.support-pagination {display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 20px; color: #726a80; font-size: 13px;}
.support-pagination > .button {font-size: 12px;}

@media (max-width: 1000px) {
    .support-layout {grid-template-columns: minmax(0, 1.4fr) minmax(250px, .9fr); gap: 18px;}
    .support-panel {padding: 24px;}
    .support-form-context {grid-template-columns: 1fr; gap: 20px;}
}
@media (max-width: 780px) {
    .support-layout {grid-template-columns: 1fr; gap: 24px;}
    .support-intro {align-items: start; flex-direction: column; gap: 18px;}
    .support-sidebar {grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start;}
    .support-side-note {padding-top: 16px;}
}
@media (max-width: 560px) {
    .marketing-body .support-page {padding: 32px 20px 50px;}
    .support-intro {margin-bottom: 24px;}
    .support-intro h1 {letter-spacing: -1px;}
    .support-intro p {font-size: 15px;}
    .support-panel {padding: 22px;}
    .support-sidebar {grid-template-columns: 1fr; gap: 18px;}
    .support-side-note {padding: 4px 8px;}
    .support-submit-row {align-items: stretch; flex-direction: column; gap: 10px;}
    .support-submit-row span {text-align: center;}
    .support-history {margin-top: 32px;}
    .support-history-item summary {position: relative; flex-wrap: wrap; gap: 10px; padding: 18px; padding-right: 43px;}
    .support-history-summary {flex-basis: 100%;}
    .support-history-chevron {position: absolute; right: 17px; top: 24px;}
    .support-history-body {padding: 0 18px 19px;}
    .support-pagination {gap: 8px; font-size: 12px;}
    .support-pagination > .button {padding: 10px 11px;}
    .support-history-empty {padding: 22px;}
}

/* Privacy notice and Terms: summary box, provider table, feature details. */
.policy-summary {margin:24px 0 8px;padding:18px 22px 6px;border:1px solid var(--line, #e7e3ed);border-radius:14px;background:var(--card, #fff);}
.policy-summary h2 {margin-top:0;font-size:19px;}
.policy-summary ul {padding-left:20px;}
.policy-summary li {margin-bottom:8px;}
.policy-table {width:100%;border-collapse:collapse;margin:8px 0 14px;font-size:15px;}
.policy-table th,.policy-table td {padding:10px 12px;border-bottom:1px solid var(--line, #e7e3ed);text-align:left;vertical-align:top;line-height:1.55;color:var(--muted, #686478);}
.policy-table th {color:var(--ink, #302d43);font-weight:700;}
.policy-table td:first-child {color:var(--ink, #302d43);font-weight:600;}
.plain-page details {border-bottom:1px solid var(--line, #e7e3ed);}
.plain-page details > summary {min-height:48px;display:flex;align-items:center;font-weight:700;cursor:pointer;color:var(--ink, #302d43);}
.plain-page details[open] > summary {margin-bottom:4px;}
@media(max-width:640px){.policy-table thead{display:none}.policy-table tr{display:block;padding:10px 0;border-bottom:1px solid var(--line, #e7e3ed)}.policy-table td{display:block;padding:2px 0;border:0}}
.policy-table-wrap {overflow-x:auto;}

/* Donation shortcut: menu, footer and Support page. */
.support-coffee-quick{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:14px 0 0}
.support-coffee-quick span{font-size:13px;color:var(--muted)}
@media (min-width: 781px) {.support-coffee-quick {display: none;}}

/* Vehicle photos: a 3:2 frame with the photo filling it, centred. A fixed 210px strip
   let the image lay out at its natural height and cut the roof and wheels off. */
.vehicle-art{height:auto;aspect-ratio:3/2}
.community-photo:has(img){height:auto;aspect-ratio:3/2}
.public-vehicle-photo{position:relative}
.vehicle-art.has-photo img,.community-photo img,.public-vehicle-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.snooze-rule{background:#eeedf3;color:#4f5368}
.service-icon.snoozed{background:#eeedf3;color:#6c7086}
