:root{color:#1c2a27;font-synthesis:none;text-rendering:optimizelegibility;--ink:#1c2a27;--forest:#173f35;--forest-2:#245b4b;--mint:#cce5d8;--cream:#f3f0e8;--paper:#fffdf8;--line:#d9d8ce;--orange:#ee9a43;--muted:#66736f;--danger:#9d2f27;--shadow:0 18px 50px #1e312b17;background:#f3f0e8;font-family:DM Sans,system-ui,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{min-width:320px;min-height:100vh;margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin-top:0}h1,h2,h3{letter-spacing:-.035em;font-family:Manrope,system-ui,sans-serif}.app-shell{background:var(--cream);min-height:100vh}.topbar{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);z-index:10;background:#f3f0e8e6;border-bottom:1px solid #173f351f;justify-content:space-between;align-items:center;height:76px;padding:0 max(24px,50vw - 590px);display:flex;position:sticky;top:0}.brand{letter-spacing:-.04em;align-items:center;gap:10px;font:800 21px/1 Manrope,sans-serif;display:inline-flex}.brand-mark{width:34px;height:34px;color:var(--paper);background:var(--forest);border-radius:10px 10px 10px 3px;place-items:center;font-size:19px;display:grid;box-shadow:inset 0 -3px #0000001f}.brand-mark.large{width:52px;height:52px;font-size:28px}.brand.light{color:#fff}.brand.light .brand-mark{color:var(--forest);background:var(--mint)}.topbar-actions{align-items:center;gap:16px;display:flex}.household-pill{border:1px solid var(--line);color:var(--muted);border-radius:999px;padding:7px 12px;font-size:13px}.workspace{width:min(1180px,100% - 40px);margin:0 auto}.hero-row{justify-content:space-between;align-items:end;gap:32px;padding:68px 0 36px;display:flex}.hero-row h1{max-width:700px;margin-bottom:16px;font-size:clamp(34px,5vw,58px);line-height:1.02}.lede{max-width:680px;color:var(--muted);font-size:18px;line-height:1.6}.eyebrow{color:var(--forest-2);letter-spacing:.13em;text-transform:uppercase;margin-bottom:10px;font-size:12px;font-weight:800}.light-text{color:var(--mint)}.primary-button,.secondary-button{border:1px solid #0000;border-radius:12px;min-height:46px;padding:0 18px;font-weight:700;transition:transform .15s,background .15s}.primary-button{color:#fff;background:var(--forest);box-shadow:0 8px 20px #173f3526}.primary-button:hover{background:var(--forest-2);transform:translateY(-1px)}.primary-button:disabled{opacity:.48;cursor:not-allowed;transform:none}.secondary-button{color:var(--forest);background:0 0;border-color:#aeb8b2}.secondary-button:hover{background:#ffffff8c}.text-button{color:var(--forest);background:0 0;border:0;padding:6px;font-weight:700}.full{width:100%}.centered{align-self:center}.button-row{flex-wrap:wrap;gap:10px;display:flex}.notice{border-radius:10px;justify-content:space-between;align-items:center;gap:16px;margin:16px 0;padding:13px 15px;font-size:14px;display:flex}.notice.success{color:#174a39;background:#dceee5}.notice.error{color:#7c251f;background:#f6dedb}.notice button{color:inherit;background:0 0;border:0;font-size:20px;line-height:1}.garage-grid{grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:64px;display:grid}.vehicle-card,.empty-card{text-align:left;min-height:170px;color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:18px;flex-direction:column;align-items:flex-start;gap:8px;padding:22px;display:flex;box-shadow:0 3px #1b302908}.vehicle-card:hover{border-color:#9eb2aa;transform:translateY(-2px)}.vehicle-card.selected{color:#fff;background:var(--forest);border-color:var(--forest);box-shadow:var(--shadow)}.vehicle-card strong{margin-top:8px;font:700 22px/1.2 Manrope,sans-serif}.vehicle-card>span:not(.vehicle-status):not(.mileage),.empty-card>span{color:var(--muted)}.vehicle-card.selected>span:not(.vehicle-status):not(.mileage){color:#c7d8d2}.vehicle-status{color:#2e564b;background:var(--mint);letter-spacing:.1em;text-transform:uppercase;border-radius:999px;padding:4px 8px;font-size:10px;font-weight:800}.mileage{color:inherit;margin-top:auto;font-size:13px;font-weight:700}.empty-card{border-style:dashed;justify-content:center}.empty-card strong{font-size:17px}.empty-icon{background:var(--forest);border-radius:50%;place-items:center;width:30px;height:30px;font-size:20px;display:grid;color:#fff!important}.archived-section{border:1px solid var(--line);background:#ffffff7a;border-radius:18px;margin:-36px 0 64px;padding:24px}.archived-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:end;gap:24px;padding-bottom:18px;display:flex}.archived-heading h2{margin-bottom:0}.archived-heading>p{max-width:460px;color:var(--muted);margin:0;font-size:14px}.archived-list{gap:10px;padding-top:16px;display:grid}.archived-vehicle{background:var(--paper);border:1px solid var(--line);border-radius:14px;justify-content:space-between;align-items:center;gap:20px;padding:16px 18px;display:flex}.archived-vehicle>div{flex-direction:column;gap:4px;display:flex}.archived-vehicle strong{font:700 17px/1.25 Manrope,sans-serif}.archived-vehicle span,.archived-empty{color:var(--muted);font-size:13px}.archived-empty{text-align:center;margin:8px 0}.editor-card{background:var(--paper);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:18px;margin:0 0 24px;padding:24px}.editor-heading,.section-heading,.record-title{justify-content:space-between;align-items:flex-start;gap:24px;display:flex}.editor-heading h2,.editor-heading h3{margin-bottom:18px}.editor-heading>span{color:var(--muted);font-size:13px}.form-grid{grid-template-columns:repeat(2,1fr);gap:16px;margin-bottom:20px;display:grid}.form-grid.three{grid-template-columns:repeat(3,1fr)}.form-grid.four{grid-template-columns:repeat(4,1fr)}label{color:#34433f;flex-direction:column;gap:7px;font-size:13px;font-weight:700;display:flex}input,select,textarea{width:100%;color:var(--ink);background:#fff;border:1px solid #c9cec8;border-radius:10px;outline:none;padding:11px 12px}input:focus,select:focus,textarea:focus{border-color:var(--forest-2);box-shadow:0 0 0 3px #245b4b1f}textarea{resize:vertical}.span-two{grid-column:span 2}.span-full{grid-column:1/-1}.secondary-button.compact{min-height:38px;padding:0 13px}.danger-text{color:var(--danger)}.maintenance-items-editor{border:1px solid var(--line);background:#f7f6f0;border-radius:14px;margin:2px 0 22px;padding:18px}.maintenance-items-heading,.maintenance-item-number{justify-content:space-between;align-items:center;gap:16px;display:flex}.maintenance-items-heading>div{flex-direction:column;gap:3px;display:flex}.maintenance-items-heading span{color:var(--muted);font-size:12px}.maintenance-item-list{gap:12px;margin-top:14px;display:grid}.maintenance-item-editor{background:var(--paper);border:1px solid #dfded6;border-radius:12px;padding:14px}.maintenance-item-number{margin-bottom:10px}.maintenance-item-number strong{font-size:13px}.maintenance-item-fields{grid-template-columns:1fr 2fr 1fr 1fr;gap:12px;display:grid}.history-section{padding:8px 0 56px}.section-heading{border-bottom:1px solid var(--line);align-items:end;padding-bottom:22px}.section-heading h2{margin-bottom:0;font-size:32px}.timeline{padding:28px 0}.record-card{grid-template-columns:62px 1fr;gap:20px;padding:0 0 26px;display:grid;position:relative}.record-card:not(:last-child):before{content:"";background:var(--line);width:1px;position:absolute;top:60px;bottom:0;left:30px}.date-badge{border:1px solid var(--line);background:var(--paper);z-index:1;border-radius:14px;align-content:center;place-items:center;width:62px;height:62px;display:grid}.date-badge span{color:var(--forest-2);text-transform:uppercase;font-size:9px;font-weight:800}.date-badge strong{font:800 21px/1 Manrope,sans-serif}.date-badge small{color:var(--muted);font-size:9px}.record-body{background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:20px 22px}.record-title h3{margin-bottom:5px;font-size:18px}.record-title p{color:var(--muted);margin:0;font-size:13px}.record-title>strong{color:var(--forest);white-space:nowrap}.item-row{border-top:1px solid #ebeae3;grid-template-columns:150px 1fr auto;gap:12px;margin-top:15px;padding:15px 0 0;display:grid}.item-row span{color:var(--forest-2);text-transform:capitalize;font-size:11px;font-weight:800}.item-row p,.record-notes{margin:0;font-size:14px}.item-row strong{color:var(--forest);white-space:nowrap;font-size:13px}.record-notes{color:var(--muted);margin-top:12px}.attachment-area{border-top:1px solid #ebeae3;margin-top:18px;padding-top:18px}.attachment-heading{justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:10px;display:flex}.attachment-heading>span,.attachment-empty{color:var(--muted);font-size:12px}.attachment-dropzone{min-height:74px;color:var(--forest-2);text-align:center;cursor:pointer;background:#f5f8f5;border:1px dashed #9eb2aa;border-radius:12px;justify-content:center;align-items:center;gap:10px;padding:14px;font-size:13px;font-weight:700;display:flex}.attachment-dropzone:hover{border-color:var(--forest-2);background:#eef5f1}.attachment-dropzone.uploading{cursor:wait;flex-wrap:wrap}.attachment-dropzone input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.attachment-dropzone progress{width:min(220px,100%);height:7px;accent-color:var(--forest)}.attachment-drop-icon{color:#fff;background:var(--forest);border-radius:50%;place-items:center;width:28px;height:28px;font-size:18px;display:grid}.attachment-grid{gap:8px;margin-top:12px;display:grid}.attachment-card{border:1px solid var(--line);background:#fff;border-radius:12px;align-items:center;gap:8px;padding:9px;display:flex}.attachment-open{text-align:left;background:0 0;border:0;flex:1;align-items:center;gap:10px;min-width:0;padding:0;display:flex}.attachment-open>span:last-child{flex-direction:column;gap:2px;min-width:0;display:flex}.attachment-open strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.attachment-open small{color:var(--muted);font-size:11px}.file-icon{width:38px;height:38px;color:var(--forest);background:var(--mint);letter-spacing:.06em;border-radius:9px;flex:none;place-items:center;font-size:9px;font-weight:900;display:grid}.file-icon.pdf{color:#8b2c25;background:#f7dfdc}.icon-button{width:36px;height:36px;color:var(--forest);border:1px solid var(--line);background:0 0;border-radius:10px;flex:none;place-items:center;font-size:20px;display:grid}.icon-button.danger{color:var(--danger)}.icon-button:disabled{opacity:.45;cursor:wait}.attachment-empty{margin-top:12px;display:block}.preview-backdrop{z-index:30;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#101f1bb8;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.preview-modal{background:var(--paper);border-radius:20px;grid-template-rows:auto 1fr auto;gap:14px;width:min(980px,100%);height:min(820px,100vh - 48px);padding:20px;display:grid;box-shadow:0 28px 90px #00000059}.preview-heading{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.preview-heading h2{word-break:break-word;margin:0;font-size:20px}.preview-canvas{background:#e8e8e2;border-radius:12px;place-items:center;min-height:0;display:grid;overflow:hidden}.preview-canvas iframe{border:0;width:100%;height:100%}.preview-canvas img{object-fit:contain;max-width:100%;max-height:100%}.preview-open-new{justify-self:end;align-items:center;display:inline-flex}.empty-history{text-align:center;background:#ffffff73;border:1px dashed #b9c0ba;border-radius:18px;padding:54px 24px}.empty-history>span{color:#fff;background:var(--forest);border-radius:50%;place-items:center;width:42px;height:42px;margin:0 auto 14px;display:grid}.empty-history h3{margin-bottom:8px}.empty-history p{color:var(--muted)}footer{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;padding:24px 0 40px;font-size:12px;display:flex}.auth-layout{grid-template-columns:1.05fr .95fr;min-height:100vh;display:grid}.auth-story{color:#fff;background:var(--forest);flex-direction:column;justify-content:space-between;padding:clamp(34px,6vw,88px);display:flex;position:relative;overflow:hidden}.auth-story:after{content:"";border:70px solid #cce5d814;border-radius:50%;width:520px;height:520px;position:absolute;bottom:-240px;right:-210px}.auth-story h1{max-width:720px;font-size:clamp(40px,6vw,76px);line-height:1.02}.auth-story>div p:last-child{color:#c7d8d2;max-width:600px;font-size:18px;line-height:1.65}.privacy-note{color:#a9c3ba;margin:0;font-size:13px}.auth-panel,.setup-layout{background:var(--cream);place-items:center;padding:32px;display:grid}.auth-card,.setup-card{background:var(--paper);border:1px solid var(--line);width:min(440px,100%);box-shadow:var(--shadow);border-radius:22px;padding:clamp(26px,4vw,42px)}.auth-card h2{margin-bottom:10px;font-size:30px}.auth-card>p:not(.eyebrow),.setup-card>p{color:var(--muted);line-height:1.55}.auth-card label{margin:28px 0 16px}.auth-card small{color:var(--muted);text-align:center;margin-top:16px;display:block}.setup-layout{min-height:100vh}.setup-card{flex-direction:column;width:min(620px,100%);display:flex}.setup-card .brand{margin-bottom:54px}.setup-card h1{margin-bottom:12px;font-size:38px}.setup-card .form-grid{margin-top:18px}.loading-screen{min-height:100vh;color:var(--muted);background:var(--cream);align-content:center;place-items:center;gap:14px;display:grid}.consent-layout{background:var(--cream);place-items:center;min-height:100vh;padding:24px;display:grid}.consent-card{background:var(--paper);border:1px solid var(--line);width:min(560px,100%);box-shadow:var(--shadow);border-radius:22px;padding:clamp(28px,5vw,48px)}.consent-card .brand{margin-bottom:48px}.consent-card h1{margin-bottom:10px;font-size:34px}.consent-card>p:not(.eyebrow){color:var(--muted);line-height:1.55}.consent-permissions{color:var(--ink);background:#eef5f1;border:1px solid #d3e2da;border-radius:14px;margin:24px 0 18px;padding:20px}.consent-permissions ul{margin:12px 0;padding-left:22px;line-height:1.7}.consent-permissions small,.consent-footnote,.consent-loading{color:var(--muted)}.consent-client{font-size:13px}.consent-client a{color:var(--forest-2);text-decoration:underline}.consent-actions{margin:24px 0 18px}.consent-actions button{flex:1}.consent-footnote{font-size:11px;line-height:1.5;display:block}@media (width<=850px){.garage-grid,.form-grid.four,.form-grid.three{grid-template-columns:repeat(2,1fr)}.auth-layout{grid-template-columns:1fr}.auth-story{gap:60px;min-height:44vh}.auth-story h1{font-size:clamp(38px,9vw,62px)}}@media (width<=600px){.topbar{height:66px;padding:0 16px}.household-pill{display:none}.workspace{width:min(100% - 28px,1180px)}.hero-row{flex-direction:column;align-items:flex-start;padding:42px 0 26px}.hero-row>.button-row,.hero-row .primary-button{width:100%}.garage-grid{grid-template-columns:1fr;margin-bottom:46px}.vehicle-card,.empty-card{min-height:145px}.section-heading,.editor-heading,.record-title{flex-direction:column;align-items:stretch}.button-row{grid-template-columns:1fr 1fr;display:grid}.form-grid,.form-grid.four,.form-grid.three{grid-template-columns:1fr}.span-two,.span-full{grid-column:auto}.record-card{grid-template-columns:48px 1fr;gap:12px}.date-badge{width:48px;height:58px}.record-card:not(:last-child):before{left:23px}.record-body{padding:17px}.item-row{grid-template-columns:1fr;gap:5px}.maintenance-items-heading{flex-direction:column;align-items:stretch}.maintenance-item-fields{grid-template-columns:1fr}.attachment-heading{flex-direction:column;align-items:flex-start;gap:3px}.attachment-dropzone{flex-direction:column;align-items:center}.attachment-open small{white-space:normal}.preview-backdrop{padding:10px}.preview-modal{height:calc(100vh - 20px);padding:14px}.archived-section{margin-top:-24px;padding:18px}.archived-heading,.archived-vehicle{flex-direction:column;align-items:stretch}footer{flex-direction:column;gap:7px}.auth-story{min-height:auto;padding:30px 24px 50px}.auth-story>div{margin-top:70px}.auth-panel,.setup-layout{padding:20px}.auth-card,.setup-card{padding:26px 22px}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
