
html { color-scheme: dark; background: #151619; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.viz-dotted-background { background-image: radial-gradient(rgba(160,164,171,.20) .8px, transparent .8px); background-size: 18px 18px; min-height: 100vh; }
.cursor-interaction { cursor: pointer; }

#garage-refined{display:flex;justify-content:center;padding:24px 12px 28px;box-sizing:border-box;color-scheme:light dark}
#garage-refined *{box-sizing:border-box}
#garage-refined .gr-phone{--ink:#fafafa;--sub:#d4d4d5;--faint:#aaaeb3;--surface:rgba(255,255,255,.10);--stroke:rgba(255,255,255,.18);--sheet:#18191c;--sheet-soft:#25262a;--sheet-ink:#fafafa;--sheet-sub:#adafb6;--field:#24252a;--accent:#e7b57f;--primary:#f5f3ee;--primary-ink:#191919;--danger:#ffaba5;--shade-rgb:10,11,13;--top-opacity:.58;--footer-rgb:10,11,13;position:relative;isolation:isolate;width:390px;max-width:100%;height:820px;overflow:hidden;border-radius:36px;background:#111214;color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.4;box-shadow:0 24px 80px rgba(0,0,0,.20),0 0 0 1px rgba(128,128,128,.2);-webkit-tap-highlight-color:transparent;container-type:size;user-select:none;-webkit-user-select:none}
#garage-refined .gr-phone[data-tone="light"]{--ink:#17191c;--sub:#30343a;--faint:#62666d;--surface:rgba(255,255,255,.58);--stroke:rgba(0,0,0,.12);--sheet:#f7f7f9;--sheet-soft:#ededf0;--sheet-ink:#1b1c1f;--sheet-sub:#64666e;--field:#eaeaec;--accent:#835223;--primary:#242529;--primary-ink:#fff;--danger:#b42420}
/* The photograph is a separate visual surface. App panels can be light;
   the photo keeps the approved white HUD and neutral dark protection. */
#garage-refined .gr-home,#garage-refined .gr-status{--ink:#fafafa;--sub:#d4d4d5;--faint:#aaaeb3;--surface:rgba(255,255,255,.10);--stroke:rgba(255,255,255,.18);--primary:#f5f3ee;--primary-ink:#191919;--sheet-ink:#fafafa;color:var(--ink)}
#garage-refined button,#garage-refined input,#garage-refined select,#garage-refined textarea{font:inherit;color:inherit;letter-spacing:inherit}
#garage-refined button{border:0;background:none;padding:0;text-align:inherit;touch-action:manipulation;-webkit-appearance:none}
#garage-refined button:active{filter:brightness(.88);transform:translateY(1px)}
#garage-refined button:disabled{opacity:.45;transform:none;filter:none}
/* Fallback for keyboard controls. Composite and filled fields below own their
   focus indicator so it follows the visible surface, never a nested input box. */
#garage-refined button:focus-visible,#garage-refined a:focus-visible,#garage-refined input:focus-visible,#garage-refined select:focus-visible,#garage-refined textarea:focus-visible{outline:2px solid var(--sheet-ink);outline-offset:2px}
/* Story headings receive programmatic focus for announcement, not as interactive controls. */
#garage-refined .go-intro .go-focus-anchor:focus{outline:none}
#garage-refined svg{display:block;width:20px;height:20px;stroke-width:1.7;flex-shrink:0}
#garage-refined p{margin:0}
#garage-refined [hidden]{display:none!important}
#garage-refined .gr-scene,#garage-refined .gr-photo,#garage-refined .gr-photo-back{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
#garage-refined .gr-scene{z-index:-3;background:#373a3d;overflow:hidden}
#garage-refined .gr-photo{object-fit:cover;object-position:50% 50%;transition:opacity .2s ease}
#garage-refined .gr-photo-back{object-fit:cover;filter:blur(22px) brightness(.72);transform:scale(1.1);opacity:0}
#garage-refined .gr-phone[data-fit="contain"] .gr-photo-back{opacity:1}
#garage-refined .gr-phone[data-fit="contain"] .gr-photo{object-fit:contain}
#garage-refined .gr-top-shade{position:absolute;z-index:-1;inset:0 0 auto;height:var(--protected-height,470px);background:linear-gradient(to bottom,rgba(10,11,13,var(--top-opacity)) 0%,rgba(10,11,13,var(--top-opacity)) calc(100% - 90px),transparent 100%);pointer-events:none;transition:background .18s}
#garage-refined .gr-bottom-shade{position:absolute;z-index:-1;inset:auto 0 0;height:190px;background:linear-gradient(to top,rgba(10,11,13,.92),rgba(10,11,13,.52) 48%,transparent);pointer-events:none}
#garage-refined .gr-status{height:42px;display:flex;align-items:center;justify-content:space-between;padding:7px 28px 0;font-size:14px;font-weight:600;letter-spacing:-.3px}
#garage-refined .gr-signals{display:flex;align-items:center;gap:5px}
#garage-refined .gr-signals svg{width:15px;height:15px;stroke-width:2.2}
#garage-refined .gr-signals svg:last-child{width:22px;height:20px}
#garage-refined .gr-home{--gr-gutter:24px;height:calc(100% - 42px);display:flex;flex-direction:column;overflow:auto;overscroll-behavior:contain;scrollbar-width:none;padding:8px var(--gr-gutter) 31px}
#garage-refined .gr-home::-webkit-scrollbar{display:none}
#garage-refined .gr-top-content{flex:none}
#garage-refined .gr-header{display:flex;align-items:center;justify-content:space-between;gap:12px}
#garage-refined .gr-car-picker{min-height:62px;min-width:0;display:flex;flex-direction:column;justify-content:center;flex:1;padding:4px 0}
#garage-refined .gr-eyebrow{font-size:13px;font-weight:500;letter-spacing:.1px;color:var(--sub);margin-bottom:2px}
#garage-refined .gr-car-title{display:flex;align-items:center;gap:10px;font-size:25px;line-height:1.25;font-weight:650;letter-spacing:-.8px;min-width:0}
#garage-refined #gr-car-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#garage-refined .gr-car-title svg{width:16px;height:16px;color:var(--sub)}
#garage-refined .gr-round{width:44px;height:44px;border-radius:50%;background:var(--surface);display:flex;justify-content:center;align-items:center;flex-shrink:0;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
#garage-refined .gr-overview{padding-top:17px}
#garage-refined .gr-period{display:flex;align-items:center;gap:5px;min-height:44px;font-size:15px;font-weight:500;width:max-content;max-width:100%}
#garage-refined .gr-period svg{width:14px;height:14px}
#garage-refined .gr-year{margin-left:5px;font-size:13px;color:var(--sub);font-weight:400}
#garage-refined .gr-total{font-size:44px;font-weight:580;line-height:1.08;letter-spacing:-1.9px;font-variant-numeric:tabular-nums;white-space:nowrap;margin:2px 0 9px}
#garage-refined .gr-total span{font-size:.76em;letter-spacing:-.5px;font-weight:450;margin-left:2px}
#garage-refined .gr-lifetime{font-size:14px;color:var(--sub);display:flex;flex-wrap:wrap;gap:4px 9px;align-items:baseline}
#garage-refined .gr-lifetime span{color:var(--ink);font-variant-numeric:tabular-nums;font-weight:500}
#garage-refined .gr-actions-area{padding-top:24px}
#garage-refined .gr-section-heading{font-size:13px;color:var(--sub);font-weight:500}
#garage-refined .gr-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:10px}
#garage-refined .gr-action{display:flex;flex-direction:column;align-items:flex-start;min-width:0;min-height:96px;border-radius:12px;padding:0 0 7px}
#garage-refined .gr-action-icon{width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--surface);position:relative;margin-bottom:7px;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
#garage-refined .gr-action-icon svg{width:21px;height:21px}
#garage-refined .gr-action-icon .gr-add-mark{position:absolute;right:-3px;bottom:-2px;width:16px;height:16px;display:flex;align-items:center;justify-content:center;background:var(--ink);color:rgb(var(--shade-rgb));border-radius:50%}
#garage-refined .gr-add-mark svg{width:12px;height:12px;stroke-width:2.2}
#garage-refined .gr-action-label{font-size:14px;font-weight:500;line-height:1.25}
#garage-refined .gr-action-value{font-size:13px;color:var(--sub);font-variant-numeric:tabular-nums;margin-top:3px;white-space:normal;overflow-wrap:anywhere;line-height:1.3;max-width:100%}
#garage-refined .gr-open-photo{flex:1;min-height:180px;touch-action:pan-y}
#garage-refined .gr-footer{flex:none;padding-top:10px}
#garage-refined .gr-car-pages{height:28px;display:flex;align-items:center;justify-content:center;gap:5px;margin-bottom:11px}
#garage-refined .gr-page-dot{height:4px;width:4px;background:var(--ink);opacity:.35;border-radius:4px}
#garage-refined .gr-page-dot.is-current{width:16px;opacity:.9}
#garage-refined .gr-history-entry{width:100%;padding:14px 16px 13px;border-radius:20px;background:rgba(var(--footer-rgb),.38);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);min-height:78px;box-shadow:inset 0 1px 0 var(--stroke)}
#garage-refined .gr-history-top,#garage-refined .gr-history-last{display:flex;align-items:center;justify-content:space-between;gap:8px}
#garage-refined .gr-history-top{font-size:16px;font-weight:550;letter-spacing:-.2px}
#garage-refined .gr-history-top svg{width:17px;height:17px;color:var(--sub)}
#garage-refined .gr-history-last{margin-top:5px;font-size:13px;color:var(--sub)}
#garage-refined #gr-latest-amount{font-weight:500;color:var(--ink);font-variant-numeric:tabular-nums}
#garage-refined .gr-home-indicator{position:absolute;z-index:25;bottom:9px;left:50%;transform:translateX(-50%);height:4px;width:118px;border-radius:8px;background:var(--ink);opacity:.8;pointer-events:none}
#garage-refined .gr-overlay[hidden]~.gr-home-indicator{background:#fafafa}
#garage-refined .gr-overlay{position:absolute;z-index:10;inset:0;display:flex;flex-direction:column;justify-content:flex-end;padding-top:40px}
#garage-refined .gr-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.42);animation:gr-fade .18s ease}
#garage-refined .gr-overlay.gr-no-shade .gr-backdrop{background:transparent}
#garage-refined .gr-sheet{position:relative;display:flex;flex-direction:column;max-height:100%;border-radius:28px 28px 0 0;background:var(--sheet);color:var(--sheet-ink);overflow:hidden;box-shadow:0 -12px 70px rgba(0,0,0,.24);animation:gr-up .25s cubic-bezier(.2,.75,.25,1);min-height:220px}
#garage-refined .gr-sheet.gr-tall{height:100%}
#garage-refined .gr-sheet:before{content:"";width:32px;height:4px;flex:none;background:var(--sheet-sub);opacity:.35;border-radius:5px;align-self:center;margin:9px 0 3px}
#garage-refined .gr-sheet{--gr-gutter:24px}
#garage-refined .gr-sheet-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 var(--gr-gutter) 8px;min-height:56px;flex:none}
#garage-refined .gr-sheet-head h2{font-size:20px;letter-spacing:-.5px;line-height:1.2;font-weight:600;margin:0;min-width:0}
#garage-refined .gr-close{width:44px;height:44px;display:flex;align-items:center;justify-content:center;color:var(--sheet-sub);flex:none;border-radius:50%}
#garage-refined .gr-close svg{width:20px;height:20px}
#garage-refined .gr-sheet-body{padding:8px var(--gr-gutter) 24px;overflow:auto;overscroll-behavior:contain;min-height:0;scrollbar-width:thin;scroll-padding-block:8px}
#garage-refined .gr-sheet-foot{padding:16px var(--gr-gutter) max(30px,var(--safe-bottom,0px));flex:none;background:var(--sheet);border-top:1px solid var(--stroke)}
#garage-refined .gr-primary{width:100%;min-height:52px;display:flex;align-items:center;justify-content:center;border-radius:15px;background:var(--primary);color:var(--primary-ink);font-weight:600;font-size:16px;gap:8px}
#garage-refined .gr-primary svg{width:18px;height:18px}
#garage-refined .gr-secondary{min-height:48px;display:flex;align-items:center;justify-content:center;gap:8px;border-radius:12px;background:var(--sheet-soft);padding:8px 12px;width:100%;font-size:15px;font-weight:500}
#garage-refined .gr-form-context{font-size:14px;color:var(--sheet-sub);margin:0 0 18px;line-height:1.5}
#garage-refined .gr-amount-label{display:block;font-size:13px;color:var(--sheet-sub);margin:2px 0 8px}
#garage-refined .gr-amount-wrap{display:flex;align-items:center;gap:12px;border:1px solid transparent;border-radius:14px;background:var(--field);padding:12px 16px}
#garage-refined .gr-amount-wrap:focus-within{outline:none;box-shadow:inset 0 0 0 2px var(--sheet-ink)}
#garage-refined .gr-amount-wrap #gr-amount:focus{outline:none}
#garage-refined #gr-amount{font-size:44px;letter-spacing:-1px;line-height:1.2;width:100%;min-width:0;background:none;border:0;border-radius:0;padding:0;outline-offset:2px;user-select:text;-webkit-user-select:text;font-variant-numeric:tabular-nums;caret-color:var(--accent)}
#garage-refined #gr-amount::placeholder{color:var(--sheet-sub);opacity:.55}
#garage-refined .gr-currency{font-size:30px;color:var(--sheet-sub)}
#garage-refined .gr-current-mileage{display:block;font-size:13px;color:var(--sub);margin-top:5px;line-height:1.4;overflow-wrap:anywhere}
#garage-refined .gr-phone{color-scheme:dark}
#garage-refined .gr-phone[data-tone="light"]{color-scheme:light}
#garage-refined .gr-initial-mileage-link{display:flex;gap:8px;align-items:center;min-height:44px;font-size:13px;color:var(--sheet-sub);max-width:100%;overflow-wrap:anywhere}
#garage-refined .gr-initial-mileage-link svg{width:15px;height:15px}
#garage-refined .gr-expense-extras{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:4px}
#garage-refined .gr-extra-toggle{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 10px;border-radius:12px;background:var(--sheet-soft);font-size:14px;color:var(--sheet-sub);min-width:0}
#garage-refined .gr-extra-toggle span{min-width:0;overflow-wrap:anywhere}
#garage-refined .gr-extra-toggle svg{width:18px;height:18px}
#garage-refined .gr-extra-toggle[aria-expanded="true"]{color:var(--sheet-ink);box-shadow:inset 0 0 0 1px var(--stroke)}
#garage-refined .gr-mileage-section{display:grid;gap:8px;padding-top:20px}
#garage-refined .gr-mileage-input-row{display:flex;gap:8px;align-items:center}
#garage-refined .gr-mileage-input-row .gr-field{flex:1}
#garage-refined .gr-mileage-clear{width:44px;height:46px;flex:none;display:flex;align-items:center;justify-content:center;border-radius:10px;color:var(--sheet-sub);background:var(--sheet-soft)}
#garage-refined .gr-mileage-hint{font-size:13px;line-height:1.45;color:var(--sheet-sub);overflow-wrap:anywhere}
#garage-refined .gr-mileage-section .gr-error{min-height:0;padding-top:0}
#garage-refined .gr-new-mileage-block{display:grid;gap:8px}
#garage-refined .gr-error{font-size:13px;color:var(--danger);min-height:25px;padding-top:5px;line-height:1.45}
#garage-refined .gr-details-toggle{min-height:44px;display:flex;align-items:center;gap:7px;font-size:14px;color:var(--sheet-sub);width:100%}
#garage-refined .gr-details-toggle svg{width:16px;height:16px}
#garage-refined .gr-details{display:grid;gap:16px;padding-top:16px}
#garage-refined .gr-form-grid{display:grid;gap:20px}
#garage-refined .gr-form-grid .gr-form-context{margin:0}
#garage-refined .gr-field-label{display:grid;gap:6px;font-size:13px;color:var(--sheet-sub)}
#garage-refined .gr-field{height:46px;border:0;border-radius:10px;background:var(--field);padding:10px 12px;font-size:16px;color:var(--sheet-ink);width:100%;min-width:0;user-select:text;-webkit-user-select:text}
#garage-refined .gr-field:focus{outline:none;box-shadow:inset 0 0 0 2px var(--sheet-ink)}
#garage-refined .gr-history-summary{padding:0 var(--gr-gutter) 12px;flex:none}
#garage-refined .gr-history-summary p{font-size:13px;color:var(--sheet-sub)}
#garage-refined .gr-history-summary strong{font-size:32px;letter-spacing:-1px;font-weight:580;display:block;line-height:1.2;margin-top:3px;font-variant-numeric:tabular-nums}
#garage-refined .gr-filters{display:flex;flex-wrap:wrap;gap:8px;padding:8px var(--gr-gutter) 16px;flex:none}
#garage-refined .gr-history-period{display:flex;align-items:center;gap:8px;min-height:44px;max-width:100%;margin:4px 0 8px;font-size:15px;font-weight:500}
#garage-refined .gr-history-period span{min-width:0;overflow-wrap:anywhere}
#garage-refined .gr-history-period svg{width:18px;height:18px}
#garage-refined .gr-history-period svg:last-child{width:15px;height:15px;color:var(--sheet-sub)}
#garage-refined .gr-history-summary strong{overflow-wrap:anywhere}
#garage-refined .gr-period-options{display:grid;gap:16px}
#garage-refined .gr-period-options .gr-segmented{margin-top:0}
#garage-refined .gr-period-fields{display:grid;gap:16px}
#garage-refined .gr-period-note{font-size:14px;line-height:1.5;color:var(--sheet-sub)}
#garage-refined .gr-chip{display:flex;align-items:center;justify-content:center;white-space:nowrap;min-height:44px;border-radius:12px;padding:8px 12px;background:var(--sheet-soft);font-size:14px}
#garage-refined .gr-chip[aria-pressed="true"]{background:var(--primary);color:var(--primary-ink);font-weight:500}
#garage-refined .gr-list{overflow:auto;min-height:0;flex:1;padding:8px var(--gr-gutter);margin-bottom:max(24px,var(--safe-bottom,0px));overscroll-behavior:contain;scroll-padding-block:8px}
#garage-refined .gr-history-summary p,#garage-refined .gr-form-context,#garage-refined .gr-period-note{overflow-wrap:anywhere;min-width:0}
#garage-refined .gr-date-group{font-size:13px;color:var(--sheet-sub);margin:15px 0 3px;font-weight:500}
#garage-refined .gr-date-group:first-child{margin-top:0}
#garage-refined .gr-transaction{display:grid;grid-template-columns:40px minmax(0,1fr) max-content;align-items:center;width:100%;gap:4px 12px;min-height:66px;border-bottom:1px solid var(--stroke);padding:12px 0;scroll-margin-block:8px}
#garage-refined .gr-list-icon{width:40px;height:40px;display:flex;align-items:center;justify-content:center;background:var(--sheet-soft);border-radius:13px;flex:none}
#garage-refined .gr-row-text{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
#garage-refined .gr-row-title{font-size:16px;font-weight:500;overflow-wrap:anywhere}
#garage-refined .gr-row-sub{font-size:13px;color:var(--sheet-sub);overflow-wrap:anywhere}
#garage-refined .gr-row-value{font-size:16px;font-weight:500;font-variant-numeric:tabular-nums;white-space:nowrap;flex-shrink:0}
#garage-refined .gr-empty{padding:32px 12px;text-align:center;color:var(--sheet-sub);font-size:15px;line-height:1.5}
#garage-refined .gr-empty strong{display:block;color:var(--sheet-ink);font-size:18px;font-weight:550;margin-bottom:8px}
#garage-refined .gr-search-wrap{padding:8px var(--gr-gutter) 16px;flex:none}
#garage-refined .gr-search{display:flex;align-items:center;gap:9px;border-radius:13px;padding:0 13px;background:var(--field);height:48px;min-width:0;max-width:100%}
#garage-refined .gr-search:focus-within{box-shadow:inset 0 0 0 2px var(--sheet-ink)}
#garage-refined .gr-search svg{width:19px;height:19px;color:var(--sheet-sub)}
#garage-refined .gr-search input{flex:1;border:0;border-radius:0;background:transparent;min-width:0;width:100%;height:100%;font-size:16px;padding:0;appearance:none;-webkit-appearance:none;user-select:text;-webkit-user-select:text;color:var(--sheet-ink)}
#garage-refined .gr-search input:focus{outline:none;box-shadow:none}
#garage-refined .gr-search input::placeholder{color:var(--sheet-sub)}
#garage-refined .gr-count-label{padding:0 var(--gr-gutter) 8px;font-size:13px;color:var(--sheet-sub);flex:none}
#garage-refined .gr-cars-viewport{overflow:auto;position:relative;flex:1;min-height:0;overscroll-behavior:contain;scroll-padding-block:8px}
#garage-refined .gr-cars-spacer{position:relative;width:100%}
#garage-refined .gr-car-row{position:absolute;left:var(--gr-gutter);right:var(--gr-gutter);height:84px;display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--stroke);width:calc(100% - 2 * var(--gr-gutter));scroll-margin-block:8px}
#garage-refined .gr-car-thumb{height:58px;width:64px;object-fit:cover;object-position:50% 67%;border-radius:12px;background:var(--sheet-soft);flex:none}
#garage-refined .gr-car-row .gr-row-title{font-size:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#garage-refined .gr-car-row .gr-row-sub{font-size:13px}
#garage-refined .gr-car-row>svg{width:19px;height:19px;color:var(--accent)}
#garage-refined .gr-period-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 12px;min-height:58px;width:100%;border-bottom:1px solid var(--stroke);font-size:16px;padding-block:12px;scroll-margin-block:8px}
#garage-refined .gr-period-row span{min-width:0;overflow-wrap:anywhere}
#garage-refined .gr-period-row span:last-child{font-size:14px;color:var(--sheet-sub);font-variant-numeric:tabular-nums}
#garage-refined .gr-editor-body{display:grid;gap:16px;padding-bottom:24px}
#garage-refined .gr-theme-setting{display:grid;gap:8px}
#garage-refined .gr-theme-setting>p:first-child{font-size:13px;font-weight:500;color:var(--sheet-ink)}
#garage-refined .gr-segmented{display:flex;background:var(--field);padding:3px;border-radius:12px;gap:2px}
#garage-refined .gr-segmented button{flex:1;min-height:44px;border-radius:9px;font-size:13px;text-align:center;padding:5px}
#garage-refined .gr-segmented button[aria-pressed="true"]{background:var(--primary);color:var(--primary-ink);font-weight:550}
#garage-refined .gr-range-label{font-size:13px;color:var(--sheet-sub);display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:30px}
#garage-refined .gr-range-label input{width:50%;min-width:90px;min-height:44px;margin:0;border-radius:10px;accent-color:var(--accent)}
#garage-refined .gr-editor-meta{font-size:12px;color:var(--sheet-sub);line-height:1.4}
#garage-refined .gr-danger{color:var(--danger);font-size:15px;min-height:44px;width:100%;display:flex;align-items:center;justify-content:center;margin-top:6px}
#garage-refined .gr-toast{position:absolute;z-index:30;bottom:130px;left:18px;right:18px;background:var(--primary);color:var(--primary-ink);box-shadow:0 10px 34px rgba(0,0,0,.25);border-radius:16px;min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 8px 7px 16px;animation:gr-up .2s ease;font-size:14px}
#garage-refined .gr-toast button{min-height:44px;padding:0 10px;font-weight:600;border-radius:10px;white-space:nowrap}
#garage-refined .gr-photo-empty{position:absolute;z-index:-2;inset:47% 20px 20%;display:flex;align-items:center;justify-content:center;color:#d4d4d5;font-size:15px;text-align:center;pointer-events:none}
@keyframes gr-up{from{transform:translateY(24px);opacity:0}to{transform:translateY(0);opacity:1}}
@keyframes gr-fade{from{opacity:0}to{opacity:1}}
@container (max-height: 700px){#garage-refined .gr-overview{padding-top:8px}#garage-refined .gr-actions-area{padding-top:17px}#garage-refined .gr-open-photo{min-height:100px}#garage-refined .gr-car-pages{margin-bottom:4px;height:19px}}
@container (max-height: 610px){#garage-refined .gr-home{padding-bottom:23px}#garage-refined .gr-status{height:33px;padding-top:3px}#garage-refined .gr-home{height:calc(100% - 33px)}#garage-refined .gr-open-photo{min-height:55px}#garage-refined .gr-history-last{display:none}#garage-refined .gr-history-entry{min-height:54px;padding:14px}#garage-refined .gr-actions-area{padding-top:15px}#garage-refined .gr-footer{padding-top:0}}
@container (max-width: 350px){#garage-refined .gr-home,#garage-refined .gr-sheet{--gr-gutter:20px}#garage-refined .gr-car-title{font-size:23px}#garage-refined .gr-total{font-size:40px}#garage-refined .gr-actions{gap:4px}#garage-refined .gr-transaction{grid-template-columns:40px minmax(0,1fr)}#garage-refined .gr-transaction .gr-list-icon{grid-row:1 / 3}#garage-refined .gr-transaction .gr-row-value{grid-column:2}}
@media(max-width:420px){#garage-refined{padding:12px 0 18px}#garage-refined .gr-phone{border-radius:28px;height:780px}}
@media(prefers-reduced-motion:reduce){#garage-refined *,#garage-refined *:before{animation:none!important;transition:none!important}}
@media(prefers-reduced-transparency:reduce){#garage-refined .gr-history-entry{background:rgb(var(--footer-rgb))}#garage-refined .gr-action-icon,#garage-refined .gr-round{background:rgba(var(--shade-rgb),.96)}}
/* Isolated 1.1 experiment: the original quick-entry flow is unchanged. */
#garage-refined .gr-receipt-launch{margin-top:12px;min-height:44px;display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:500;color:var(--sheet-ink);padding:8px 12px;background:var(--sheet-soft);border-radius:12px}
#garage-refined .gr-overlay.gr-receipt-overlay{padding-top:0}
#garage-refined .gr-receipt{--receipt-ink:#faf9f5;--receipt-sub:#dad9d5;--receipt-background:#151617;--receipt-action:#eeeae1;--receipt-action-ink:#191a1c;--receipt-stroke:rgba(255,255,255,.22);--receipt-layer:rgba(14,15,17,.6);height:100%;border-radius:0;background:var(--receipt-background);color:var(--receipt-ink);isolation:isolate;animation:none}
#garage-refined .gr-receipt:before{display:none}
#garage-refined .gr-receipt-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-3}
#garage-refined .gr-receipt-shade{position:absolute;inset:0;z-index:-2;background:linear-gradient(180deg,rgba(9,10,12,.90) 0%,rgba(9,10,12,.64) 28%,rgba(9,10,12,.14) 52%,rgba(9,10,12,.78) 75%,rgba(9,10,12,.98) 100%)}
#garage-refined .gr-receipt[data-step="1"] .gr-receipt-shade{background:linear-gradient(180deg,rgba(9,10,12,.92),rgba(9,10,12,.72) 65%,rgba(9,10,12,.97))}
#garage-refined .gr-receipt-top{padding:22px var(--gr-gutter) 0;flex:none}
#garage-refined .gr-receipt-progress{display:flex;gap:5px;align-items:center;margin-bottom:10px}
#garage-refined .gr-receipt-progress span{height:3px;flex:1;background:var(--receipt-ink);opacity:.24;border-radius:3px}
#garage-refined .gr-receipt-progress span.is-reached{opacity:.94}
#garage-refined .gr-receipt-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px}
#garage-refined .gr-receipt-brand{font-size:12px;letter-spacing:1.4px;font-weight:600}
#garage-refined .gr-receipt-close{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;border-radius:50%;background:var(--receipt-layer)}
#garage-refined .gr-receipt-stage{display:flex;flex:1;flex-direction:column;min-height:0;overflow:auto;scrollbar-width:thin;padding:12px var(--gr-gutter) 8px;gap:16px;scroll-padding-block:8px}
#garage-refined .gr-receipt-stage h2{font-size:40px;line-height:1.07;letter-spacing:-1.6px;font-weight:600;margin:0;overflow-wrap:anywhere;text-wrap:balance}
#garage-refined .gr-receipt-period{font-size:14px;font-weight:500;line-height:1.45;color:var(--receipt-sub);overflow-wrap:anywhere}
#garage-refined .gr-receipt-spacer{flex:1;min-height:32px}
#garage-refined .gr-receipt-car{font-size:22px;font-weight:600;letter-spacing:-.5px;overflow-wrap:anywhere;line-height:1.2}
#garage-refined .gr-receipt-detail{font-size:13px;color:var(--receipt-sub);margin-top:5px}
#garage-refined .gr-receipt-note{font-size:12px;line-height:1.4;color:var(--receipt-sub)}
#garage-refined .gr-receipt-rows{display:grid;gap:0;list-style:none;padding:0;margin:0;border-top:1px solid var(--receipt-stroke)}
#garage-refined .gr-receipt-row{display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:54px;padding:12px 0;border-bottom:1px solid var(--receipt-stroke);font-size:16px}
#garage-refined .gr-receipt-row strong{font-weight:500;white-space:nowrap;font-variant-numeric:tabular-nums}
#garage-refined .gr-receipt-total{font-size:48px;font-weight:600;line-height:1.1;letter-spacing:-1.8px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
#garage-refined .gr-receipt-foot{flex:none;padding:16px var(--gr-gutter) max(30px,var(--safe-bottom,0px));background:linear-gradient(transparent,rgba(9,10,12,.35));display:grid;gap:12px}
#garage-refined .gr-receipt-controls{display:flex;align-items:center;gap:10px}
#garage-refined .gr-receipt-back{min-width:48px;height:48px;display:flex;align-items:center;justify-content:center;border-radius:14px;background:var(--receipt-layer)}
#garage-refined .gr-receipt-next{flex:1;min-width:0;min-height:48px;display:flex;align-items:center;justify-content:center;gap:8px;border-radius:14px;padding:10px 14px;background:var(--receipt-action);color:var(--receipt-action-ink);font-size:16px;font-weight:600}
#garage-refined .gr-receipt-meta{display:flex;justify-content:space-between;gap:12px;color:var(--receipt-sub);font-size:12px;line-height:1.4}
#garage-refined .gr-receipt-stage>*{flex-shrink:0}
#garage-refined .gr-receipt-stage .gr-receipt-spacer{flex-shrink:1}
@container (max-height:610px){#garage-refined .gr-receipt-top{padding-top:14px}#garage-refined .gr-receipt-stage{padding-top:6px;gap:10px}#garage-refined .gr-receipt-stage h2{font-size:31px;letter-spacing:-1px}#garage-refined .gr-receipt-spacer{min-height:12px}#garage-refined .gr-receipt-row{min-height:44px;padding:8px 0}#garage-refined .gr-receipt-foot{padding-top:10px;gap:8px}#garage-refined .gr-receipt-total{font-size:43px}}
@container (max-width:350px){#garage-refined .gr-receipt-row{font-size:14px;gap:8px}#garage-refined .gr-receipt-stage h2{font-size:34px}#garage-refined .gr-receipt-total{font-size:42px}}

/* First launch, country and a single-screen vehicle form. */
#garage-refined .go-overlay{padding-top:0}
#garage-refined .go-intro,#garage-refined .go-setup{height:100%;border-radius:0;animation:none;min-height:0}
#garage-refined .go-intro:before,#garage-refined .go-setup:before{display:none}
#garage-refined .go-intro{background:#111417;color:#faf9f5;isolation:isolate}
#garage-refined .go-story-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:52% 55%;z-index:-3}
#garage-refined .go-story-shade{position:absolute;inset:0;z-index:-2;background:linear-gradient(180deg,rgba(6,9,12,.94),rgba(6,9,12,.81) 34%,rgba(6,9,12,.10) 56%,rgba(6,9,12,.88) 76%,#090c10 100%)}
#garage-refined .go-story-header{padding:max(22px,var(--safe-top,0px)) 24px 0;flex:none}
#garage-refined .go-story-progress{display:flex;gap:5px;height:4px}
#garage-refined .go-story-progress span{flex:1;min-width:0;border-radius:3px;background:rgba(255,255,255,.28)}
#garage-refined .go-story-progress .is-done{background:#f0efeb}
#garage-refined .go-story-topline{display:flex;justify-content:space-between;align-items:center;margin-top:8px;min-height:48px;font-size:12px;letter-spacing:2px;font-weight:600}
#garage-refined .go-story-topline button{display:flex;align-items:center;gap:6px;min-height:44px;font-size:13px;letter-spacing:0;color:#d0d2d6}
#garage-refined .go-story-topline svg{width:16px;height:16px}
#garage-refined .go-story-body{display:flex;flex-direction:column;flex:1;min-height:0;overflow:auto;padding:20px 24px 8px;scroll-padding-block:12px}
#garage-refined .go-story-label{font-size:11px;letter-spacing:1.5px;color:#dec3a1;font-weight:600;margin-bottom:14px}
#garage-refined .go-story-body h2{font-size:35px;line-height:1.09;letter-spacing:-1.1px;font-weight:650;margin:0 0 14px;text-wrap:balance}
#garage-refined .go-story-description{font-size:15px;line-height:1.55;color:#d6d8db;max-width:330px}
#garage-refined .go-story-space{flex:1;min-height:92px}
#garage-refined .go-story-body>*{flex-shrink:0}
#garage-refined .go-story-body .go-story-space{flex-shrink:1}
#garage-refined .go-demo{padding:18px 0 4px;border-top:1px solid rgba(255,255,255,.22);font-size:14px}
#garage-refined .go-demo-label{font-size:12px;line-height:1.5;color:#bfc3c9;margin-bottom:12px}
#garage-refined .go-photo-tags{display:grid;gap:12px}
#garage-refined .go-photo-tags span,#garage-refined .go-demo-line{display:flex;align-items:center;gap:10px;font-size:14px;color:#e5e6e8}
#garage-refined .go-demo-amount{font-size:40px;font-weight:600;letter-spacing:-1.3px;line-height:1.1;margin-bottom:14px;font-variant-numeric:tabular-nums}
#garage-refined .go-demo-amount small{font-size:24px;color:#bec2c7}
#garage-refined .go-demo-categories{display:flex;justify-content:space-between;gap:8px;margin-bottom:14px}
#garage-refined .go-demo-categories>span{display:grid;justify-items:center;gap:7px;font-size:11px;color:#bec2c7;padding:9px;min-width:0;border-radius:12px}
#garage-refined .go-demo-categories .is-active{background:rgba(235,221,200,.18);color:#f2dfc5}
#garage-refined .go-demo-save{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border-radius:12px;background:rgba(242,239,231,.14);color:#f3ede3;font-size:14px;font-weight:550}
#garage-refined .go-demo-odometer{font:550 38px/1.2 ui-monospace,SFMono-Regular,monospace;letter-spacing:-1.5px;margin-bottom:14px}
#garage-refined .go-demo-odometer small{font:400 17px/1.4 -apple-system,BlinkMacSystemFont,sans-serif;letter-spacing:0;color:#c7cbd0}
#garage-refined .go-demo-periods{display:flex;gap:6px;margin-bottom:8px}
#garage-refined .go-demo-periods span{padding:8px 10px;border-radius:8px;color:#bec2c7;font-size:12px}
#garage-refined .go-demo-periods .is-active{color:#14171a;background:#e5e2da}
#garage-refined .go-demo-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;border-bottom:1px solid rgba(255,255,255,.13)}
#garage-refined .go-demo-row>span{display:flex;align-items:center;gap:10px}
#garage-refined .go-demo-row strong{font-size:14px;font-weight:550;white-space:nowrap}
#garage-refined .go-demo-vin{font:500 19px/1.5 ui-monospace,SFMono-Regular,monospace;letter-spacing:1px;margin-bottom:12px}
#garage-refined .go-story-footer{padding:14px 24px max(30px,var(--safe-bottom,0px));flex:none}
#garage-refined .go-step-caption{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:#a6abb2;margin-bottom:12px}
#garage-refined .go-story-controls{display:flex;gap:10px}
#garage-refined .go-back{width:52px;min-height:52px;display:flex;align-items:center;justify-content:center;border-radius:15px;background:#25292d;flex:none}
#garage-refined .go-next{min-height:52px;display:flex;align-items:center;justify-content:center;gap:10px;padding:12px;flex:1;min-width:0;border-radius:15px;background:#f0ece4;color:#151719;font-size:16px;font-weight:600}
#garage-refined .go-setup{background:#17191c;color:#f4f5f6;--sheet:#17191c;--sheet-ink:#f4f5f6;--sheet-sub:#aeb3bd;--field:#25282d;--sheet-soft:#25282d;--primary:#f0ece4;--primary-ink:#17191c;--danger:#ffb0a9;color-scheme:dark}
#garage-refined .gr-phone[data-tone="light"] .go-setup{--sheet:inherit;--sheet-ink:inherit;--sheet-sub:inherit;--field:inherit;--sheet-soft:inherit;--primary:inherit;--primary-ink:inherit;--danger:inherit;background:var(--sheet);color:var(--sheet-ink);color-scheme:light}
#garage-refined .go-setup-head{display:flex;align-items:center;gap:10px;flex:none;padding:max(16px,var(--safe-top,0px)) 20px 10px;min-height:68px}
#garage-refined .go-setup-head>span{font-size:11px;font-weight:600;letter-spacing:1.5px;color:#b4bac3}
#garage-refined .go-country-heading{padding:8px 24px 16px;flex:none}
#garage-refined .go-setup h2{margin:0 0 10px;font-size:32px;font-weight:650;letter-spacing:-1px;line-height:1.15}
#garage-refined .go-country-heading p,#garage-refined .go-car-subtitle{font-size:14px;line-height:1.5;color:#afb5bf}
#garage-refined .go-country-list{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 24px 16px;scroll-padding-block:10px}
#garage-refined .go-country{display:flex;align-items:center;gap:14px;width:100%;min-height:60px;padding:10px 4px;border-bottom:1px solid #2b2f35;font-size:16px}
#garage-refined .go-flag{font-size:26px;line-height:1;flex:none;width:36px}
#garage-refined .go-country>span:nth-child(2){flex:1;min-width:0;overflow-wrap:anywhere}
#garage-refined .go-country>svg{color:#656e7b;width:21px;height:21px}
#garage-refined .go-country[aria-pressed="true"]>svg{color:#f0d1a9}
#garage-refined .gr-phone[data-tone="light"] .go-setup-head>span,#garage-refined .gr-phone[data-tone="light"] .go-country-heading p,#garage-refined .gr-phone[data-tone="light"] .go-car-subtitle,#garage-refined .gr-phone[data-tone="light"] .go-country>svg{color:var(--sheet-sub)}
#garage-refined .gr-phone[data-tone="light"] .go-country{border-bottom-color:var(--stroke)}
#garage-refined .gr-phone[data-tone="light"] .go-country[aria-pressed="true"]>svg{color:var(--sheet-ink)}
#garage-refined .go-car-body{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:8px 24px 24px;scroll-padding-block:12px}
#garage-refined .go-car-body h2{font-size:30px}
#garage-refined .go-car-subtitle{margin-bottom:18px}
#garage-refined .go-photo-upload{position:relative;isolation:isolate;overflow:hidden;width:100%;min-height:92px;border-radius:16px;background:linear-gradient(120deg,#282f36,#1c232a);text-align:left;color:#f5f6f7;margin-bottom:8px}
#garage-refined .go-photo-upload>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
#garage-refined .go-photo-upload:after{position:absolute;inset:0;z-index:-1;content:"";background:linear-gradient(90deg,rgba(6,10,15,.85),rgba(6,10,15,.35))}
#garage-refined .go-photo-upload>span{display:flex;align-items:center;gap:12px;padding:18px}
#garage-refined .go-photo-upload>span>span{flex:1;font-size:15px;font-weight:550}
#garage-refined .go-photo-upload small{display:block;font-size:12px;font-weight:400;color:#c8ccd3;margin-top:4px}
#garage-refined .go-car-body form{display:grid;gap:15px;padding-top:8px}
#garage-refined .go-car-body .gr-field{height:48px;border-radius:11px}
#garage-refined .go-field-hint{font-size:12px;line-height:1.5;color:var(--sheet-sub);overflow-wrap:anywhere}
#garage-refined .go-car-body .gr-error{min-height:0;padding:0;margin-top:-9px}
#garage-refined .go-vin-input{font-family:ui-monospace,SFMono-Regular,monospace;letter-spacing:.4px;font-size:16px}
#garage-refined .go-car-body #go-vin-hint{margin-top:-8px}
#garage-refined .go-menu{display:grid;gap:6px}
#garage-refined .go-menu>button{display:flex;align-items:center;gap:14px;width:100%;min-height:72px;padding:10px 0;border-bottom:1px solid var(--stroke)}
#garage-refined .go-menu>button span{flex:1;font-size:15px;line-height:1.45}
#garage-refined .go-menu small{display:block;color:var(--sheet-sub);font-size:12px;margin-top:3px}
#garage-refined .go-menu>p{margin-top:18px}
#garage-refined .gr-tools-row{display:flex;align-items:center;gap:12px;margin-bottom:8px}
#garage-refined #gr-vehicle-entry{min-height:44px;display:flex;align-items:center;gap:8px;flex:1;font-size:13px;color:var(--ink)}
#garage-refined #gr-vehicle-entry svg{width:17px;height:17px}
#garage-refined #gr-app-menu{width:44px;height:44px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--surface)}
#garage-refined .gr-phone:has(.go-overlay:not([hidden])) .gr-home-indicator{background:#f5f4ef}
#garage-refined .gr-phone[data-tone="light"]:has(.go-overlay:not([hidden]) .go-setup) .gr-home-indicator{background:var(--ink)}
@container(max-height:700px){#garage-refined .go-story-body{padding-top:12px}#garage-refined .go-story-space{min-height:32px}#garage-refined .go-story-body h2{font-size:30px}#garage-refined .go-story-description{font-size:14px}#garage-refined .go-story-label{margin-bottom:9px}#garage-refined .go-story-footer{padding-top:10px}#garage-refined .go-demo{padding-top:12px}#garage-refined .go-car-body h2{font-size:26px}}
@container(max-width:350px){#garage-refined .go-story-header,#garage-refined .go-story-body,#garage-refined .go-story-footer,#garage-refined .go-country-heading,#garage-refined .go-country-list,#garage-refined .go-car-body{padding-left:20px;padding-right:20px}#garage-refined .go-story-body h2{font-size:29px}#garage-refined .go-next{font-size:14px}#garage-refined .go-demo-odometer{font-size:32px}}

/* Vehicle details: consistent 24px inset, readable VIN, full-size controls. */
#garage-refined .gr-vehicle-sheet{--gr-gutter:24px}
#garage-refined .gr-vehicle-body{display:flex;flex-direction:column;gap:24px;padding-bottom:32px;min-width:0}
#garage-refined .gr-vehicle-heading{display:flex;gap:14px;align-items:center;min-width:0}
#garage-refined .gr-vehicle-thumb{width:62px;height:72px;flex:none;overflow:hidden;border-radius:13px;background:var(--sheet-soft);display:grid;place-items:center}
#garage-refined .gr-vehicle-thumb img{width:100%;height:100%;object-fit:cover}
#garage-refined .gr-vehicle-thumb>svg{width:28px;height:28px;color:var(--sheet-sub)}
#garage-refined .gr-vehicle-heading-copy{min-width:0;flex:1}
#garage-refined .gr-vehicle-heading h3{font-size:22px;line-height:1.15;letter-spacing:-.65px;margin:0;font-weight:600;overflow-wrap:anywhere}
#garage-refined .gr-vehicle-heading p{font-size:14px;line-height:1.45;margin:6px 0 0;color:var(--sheet-sub);overflow-wrap:anywhere}
#garage-refined .gr-vehicle-reading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;font-size:14px}
#garage-refined .gr-vehicle-reading>span{display:flex;align-items:center;gap:8px;color:var(--sheet-sub);min-width:0}
#garage-refined .gr-vehicle-reading svg{width:18px;height:18px;flex:none}
#garage-refined .gr-vehicle-reading strong{font-size:16px;font-weight:500;text-align:right;min-width:0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
#garage-refined .gr-vehicle-vin{border-block:1px solid var(--stroke);padding:14px 0 20px;min-width:0}
#garage-refined .gr-vehicle-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}
#garage-refined .gr-vehicle-section-title h3{font-size:16px;font-weight:600;line-height:1.3;margin:0;min-width:0}
#garage-refined .gr-vehicle-text-button{min-height:44px;padding:8px 0 8px 14px;font-size:14px;font-weight:500;min-width:64px;color:var(--sheet-ink);text-decoration:underline;text-underline-offset:4px;background:transparent}
#garage-refined .gr-vehicle-vin-label{display:block;font-size:12px;line-height:1.4;color:var(--sheet-sub);margin:5px 0 7px}
#garage-refined .gr-vehicle-vin-value,#garage-refined .gr-vehicle-vin-input{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:16px;letter-spacing:.2px;min-width:0;width:100%;height:48px;user-select:text;-webkit-user-select:text}
#garage-refined .gr-vehicle-copy{margin-top:12px;min-height:48px}
#garage-refined .gr-vehicle-copy svg{width:18px;height:18px}
#garage-refined .gr-vehicle-vin-empty{font-size:14px;line-height:1.5;color:var(--sheet-sub);margin:4px 0 0}
#garage-refined #gr-vehicle-vin-editor{padding-top:8px}
#garage-refined .gr-vehicle-vin-input{margin-top:7px}
#garage-refined .gr-vehicle-vin-meta{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;font-size:12px;line-height:1.4;color:var(--sheet-sub);margin-top:8px}
#garage-refined .gr-vehicle-vin-meta p{margin:0;min-width:0}
#garage-refined .gr-vehicle-vin-meta span{white-space:nowrap;font-variant-numeric:tabular-nums}
#garage-refined #gr-vehicle-vin-error{margin:8px 0 0;min-height:0;padding:0}
#garage-refined .gr-vehicle-edit-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin-top:18px}
#garage-refined .gr-vehicle-edit-controls button{min-width:0;min-height:48px;font-size:14px}
#garage-refined .gr-vehicle-clear{display:block;width:100%;min-height:44px;padding:10px 12px;margin-top:6px;color:var(--danger);background:transparent;font-size:14px}
#garage-refined .gr-vehicle-copy-status{font-size:13px;line-height:1.5;margin:12px 0 0;min-width:0;overflow-wrap:anywhere;color:var(--sheet-sub)}
#garage-refined .gr-vehicle-actions{display:flex;flex-direction:column;gap:6px;min-width:0}
#garage-refined .gr-vehicle-action{display:flex;align-items:center;gap:12px;width:100%;min-height:52px;padding:10px 0;text-align:left;background:transparent;color:var(--sheet-ink);font-size:15px;line-height:1.4;min-width:0}
#garage-refined .gr-vehicle-action>span{flex:1;min-width:0;overflow-wrap:anywhere}
#garage-refined .gr-vehicle-action>svg{width:20px;height:20px;flex:none;color:var(--sheet-sub)}

#garage-refined .go-flag-image{display:inline-block;width:28px;height:21px;object-fit:contain;vertical-align:middle;flex:none;border-radius:2px;box-shadow:0 0 0 1px rgba(255,255,255,.12)}
#garage-refined .go-flag{display:flex;align-items:center;justify-content:center}
#garage-refined .go-demo:not([data-demo-kind="photo"]){padding:16px;border:1px solid rgba(255,255,255,.13);border-radius:18px;background:rgba(8,12,16,.78);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
#garage-refined .gr-toast{bottom:var(--toast-bottom,220px);pointer-events:none}
#garage-refined .gr-toast button{pointer-events:auto}

/* Expense experiment: one floating card matching the story reference. */
#garage-refined .gr-is-entering-expense .gr-home{visibility:hidden}
#garage-refined .gr-is-entering-expense .gr-top-shade{height:180px;background:linear-gradient(rgba(10,11,13,.64),transparent)}
#garage-refined .gr-is-entering-expense .gr-bottom-shade{height:150px;background:linear-gradient(transparent,rgba(10,11,13,.5))}
#garage-refined .gr-is-entering-expense .gr-status{color:#fafafa;text-shadow:0 1px 5px #000}
#garage-refined .gr-is-entering-expense .gr-home-indicator{background:#fafafa}
#garage-refined .gr-expense-overlay{padding:104px 18px max(28px,var(--safe-bottom,0px));gap:0}
#garage-refined .gr-expense-overlay .gr-backdrop{background:rgba(0,0,0,.10)}
#garage-refined .ge-scene-context{position:absolute;top:max(57px,calc(var(--safe-top,0px) + 34px));left:24px;right:24px;display:grid;gap:2px;pointer-events:none;color:#fafafa;text-shadow:0 1px 8px rgba(0,0,0,.6)}
#garage-refined .ge-scene-context>span{font-size:17px;font-weight:600;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#garage-refined .ge-scene-context>small{font-size:12px;color:#d4d4d5;line-height:1.5}
#garage-refined .gr-expense-card{--sheet:#18191c;--sheet-ink:#fafafa;--sheet-sub:#adafb6;--field:#24252a;--sheet-soft:#25262a;--primary:#f5f3ee;--primary-ink:#191919;--stroke:rgba(255,255,255,.18);--danger:#ffaba5;--accent:#fafafa;--gr-gutter:18px;min-height:0;max-height:100%;border:1px solid var(--stroke);border-radius:24px;background:var(--sheet);box-shadow:0 18px 60px rgba(0,0,0,.22);color:var(--sheet-ink);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);color-scheme:dark}
#garage-refined .gr-expense-card:before{display:none}
#garage-refined .gr-expense-card .gr-sheet-head{padding:8px 14px 0 20px;min-height:52px;gap:8px}
#garage-refined .gr-expense-card .gr-sheet-head h2{font-size:14px;letter-spacing:0;font-weight:400;line-height:1.4;color:var(--sheet-sub)}
#garage-refined .gr-expense-card .gr-close{width:44px;height:44px;color:var(--sheet-sub)}
#garage-refined .gr-expense-card .gr-close svg{width:18px;height:18px}
#garage-refined .ge-card-body{padding:0 18px 0;flex:0 1 auto;min-height:0;overflow:auto;scroll-padding:8px 6px 16px;scrollbar-width:thin}
#garage-refined .ge-amount-label{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#garage-refined .gr-expense-card .gr-amount-wrap{gap:8px;padding:0 2px;min-height:78px;align-items:baseline;justify-content:flex-start;border:0;border-radius:0;background:transparent;outline:none;box-shadow:none}
#garage-refined .gr-expense-card #gr-amount{flex:none;max-width:calc(100% - 40px);font-size:52px;line-height:1.3;font-weight:600;letter-spacing:-1.3px;border:0;border-bottom:2px solid transparent;border-radius:0;padding:0;outline:none;box-shadow:none;color:var(--sheet-ink)}
#garage-refined .gr-expense-card #gr-amount:focus{border-bottom-color:var(--sheet-ink)}
#garage-refined .gr-expense-card #gr-amount::placeholder{color:var(--sheet-ink);opacity:.44}
#garage-refined .gr-expense-card .gr-currency{font-size:31px;line-height:1.4;font-weight:500;color:var(--sheet-sub)}
#garage-refined .gr-expense-card #gr-amount-error{min-height:0;padding:0 2px 10px;font-size:12px}
#garage-refined .ge-categories{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:2px 0 6px}
#garage-refined .ge-category{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;min-width:0;min-height:78px;padding:12px 4px;border-radius:16px;color:var(--sheet-sub);font-size:13px;font-weight:400;line-height:1.25;text-align:center}
#garage-refined .ge-category>svg{width:25px;height:25px;stroke-width:1.7}
#garage-refined .ge-category[aria-pressed="true"]{background:var(--primary);color:var(--primary-ink)}
#garage-refined .ge-category[aria-pressed="true"] span{font-weight:500}
#garage-refined .gr-expense-card .gr-expense-extras{gap:12px;margin-top:5px}
#garage-refined .gr-expense-card .gr-extra-toggle{background:transparent;min-height:44px;padding:8px 6px;gap:7px;color:var(--sheet-sub);font-size:12px;border-radius:10px}
#garage-refined .gr-expense-card .gr-extra-toggle svg{width:16px;height:16px}
#garage-refined .gr-expense-card .gr-extra-toggle[aria-expanded="true"]{box-shadow:none;background:var(--sheet-soft);color:var(--sheet-ink)}
#garage-refined .gr-expense-card .gr-mileage-section{padding-top:14px;padding-bottom:12px}
#garage-refined .gr-expense-card .gr-details{padding-top:14px;padding-bottom:12px;gap:14px}
#garage-refined .gr-expense-card .gr-field{min-height:46px;caret-color:var(--accent)}
#garage-refined .gr-expense-card .gr-mileage-hint,#garage-refined .gr-expense-card .gr-field-label{font-size:12px}
#garage-refined .gr-expense-card .ge-card-foot{flex:none;padding:10px 18px 18px;border:0;background:transparent}
#garage-refined .gr-expense-card #gr-save{border-radius:14px;min-height:52px;padding:10px 12px;gap:10px;background:var(--primary);color:var(--primary-ink);font-size:16px;font-weight:600;line-height:1.3;overflow-wrap:anywhere}
#garage-refined .gr-expense-card #gr-save>span{min-width:0}
#garage-refined .gr-expense-card #gr-save>svg{width:21px;height:21px}
#garage-refined .gr-expense-card #gr-save:disabled{background:var(--sheet-soft);color:var(--sheet-sub);opacity:1}
#garage-refined .gr-expense-card .gr-danger{min-height:44px;font-size:13px;margin-top:8px}
#garage-refined .gr-expense-card #ge-date-error{min-height:0;padding:0;margin-top:-6px;font-size:12px}
@container(max-width:350px){#garage-refined .gr-expense-overlay{padding-left:12px;padding-right:12px}#garage-refined .gr-expense-card .gr-sheet-head{padding-left:16px;padding-right:10px}#garage-refined .gr-expense-card .ge-card-body{padding-left:14px;padding-right:14px}#garage-refined .gr-expense-card .ge-card-foot{padding-left:14px;padding-right:14px}#garage-refined .ge-categories{gap:3px}#garage-refined .ge-category{font-size:12px;padding-inline:2px}#garage-refined .gr-expense-card #gr-save{font-size:15px}}
@container(max-height:620px){#garage-refined .gr-expense-overlay{padding-top:96px;padding-bottom:max(24px,var(--safe-bottom,0px))}#garage-refined .gr-expense-card .gr-amount-wrap{min-height:66px}#garage-refined .ge-category{min-height:64px;gap:6px;padding-block:8px}#garage-refined .ge-category>svg{width:23px;height:23px}#garage-refined .gr-expense-card .gr-sheet-head{min-height:46px;padding-top:4px}#garage-refined .gr-expense-card .ge-card-foot{padding-top:8px;padding-bottom:14px}}
@container(max-height:440px){#garage-refined .gr-expense-overlay{padding-top:40px;padding-bottom:12px}#garage-refined .ge-scene-context{display:none}#garage-refined .gr-expense-card .gr-sheet-head{min-height:44px;padding-top:0}#garage-refined .gr-expense-card .gr-amount-wrap{min-height:60px}#garage-refined .gr-expense-card .ge-card-foot{padding-top:8px;padding-bottom:12px}#garage-refined .gr-expense-card #gr-save{min-height:48px}#garage-refined .ge-category{min-height:60px;padding-block:6px}}
@media(prefers-reduced-transparency:reduce){#garage-refined .gr-expense-card{background:var(--sheet);backdrop-filter:none;-webkit-backdrop-filter:none}}

#garage-refined .gr-expense-card #ge-save-label{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;column-gap:5px;row-gap:0}
#garage-refined .gr-expense-card .ge-save-amount{white-space:nowrap}

/* Home experiment: one expense action, a passive monthly summary. */
#garage-refined .gs-overview{padding-top:12px}
#garage-refined .gs-overview-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px}
#garage-refined .gs-overview-heading>span{font-size:13px;color:var(--sub)}
#garage-refined .gs-overview-heading .gr-period{font-size:14px;gap:5px;min-width:0;justify-content:flex-end;text-align:right;flex-wrap:wrap}
#garage-refined .gs-overview-heading .gr-year{font-size:12px;margin-left:0}
#garage-refined .gs-overview .gr-total{margin:0 0 8px}
#garage-refined .gs-overview .gr-lifetime{font-size:12px;gap:4px 7px}
#garage-refined [data-category-color="fuel"]{--category-color:#dbc2a0}
#garage-refined [data-category-color="wash"]{--category-color:#93bdcb}
#garage-refined [data-category-color="service"]{--category-color:#b0a6cd}
#garage-refined [data-category-color="other"]{--category-color:#b0b6bd}
#garage-refined .gr-phone[data-tone="light"] [data-category-color="fuel"]{--category-color:#87633a}
#garage-refined .gr-phone[data-tone="light"] [data-category-color="wash"]{--category-color:#3e7486}
#garage-refined .gr-phone[data-tone="light"] [data-category-color="service"]{--category-color:#72608e}
#garage-refined .gr-phone[data-tone="light"] [data-category-color="other"]{--category-color:#646d78}
#garage-refined .gs-spend-bar{height:3px;display:flex;gap:3px;margin-top:17px;overflow:hidden;border-radius:4px;background:var(--stroke)}
#garage-refined .gs-spend-bar[data-empty="false"]{background:transparent}
#garage-refined .gs-spend-bar>span{display:block;min-width:0;height:100%;background:var(--category-color);border-radius:4px}
#garage-refined .gs-breakdown{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 20px;margin:15px 0 0;padding:0}
#garage-refined .gs-breakdown-item{min-width:0}
#garage-refined .gs-breakdown dt{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--sub);line-height:1.3;margin:0 0 4px}
#garage-refined .gs-category-dot{height:5px;width:5px;flex:none;border-radius:50%;background:var(--category-color)}
#garage-refined .gs-breakdown dd{font-size:18px;line-height:1.2;font-weight:550;font-variant-numeric:tabular-nums;letter-spacing:-.35px;overflow-wrap:anywhere;color:var(--ink);margin:0}
#garage-refined .gs-add-expense{display:flex;justify-content:center;align-items:center;gap:9px;width:100%;min-height:54px;padding:12px 16px;border-radius:16px;background:var(--primary);color:var(--primary-ink);font-size:16px;font-weight:600;box-shadow:0 8px 28px rgba(0,0,0,.12)}
#garage-refined .gs-add-expense>svg{width:21px;height:21px}
#garage-refined .gs-footer .gr-history-entry{background:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;border-radius:0;min-height:62px;padding:12px 0 8px;margin-top:6px}
#garage-refined .gs-footer .gr-history-top{font-size:14px}
#garage-refined .gs-footer .gr-history-top>svg{width:15px;height:15px}
#garage-refined .gs-footer .gr-history-last{font-size:12px;margin-top:4px}
#garage-refined .gs-footer .gr-tools-row{margin:0;border-top:1px solid var(--stroke);gap:10px;padding-top:4px}
#garage-refined .gs-footer #gr-vehicle-entry{font-size:12px;color:var(--sub)}
#garage-refined .gs-footer #gr-app-menu{background:transparent;color:var(--sub)}
#garage-refined .gs-footer .gr-car-pages{margin-bottom:8px;height:16px}
@container(max-width:350px){#garage-refined .gs-breakdown{column-gap:14px}#garage-refined .gs-breakdown dd{font-size:17px}}
@container(max-height:700px){#garage-refined .gs-overview{padding-top:4px}#garage-refined .gs-spend-bar{margin-top:12px}#garage-refined .gs-breakdown{gap:10px 18px;margin-top:12px}#garage-refined .gs-breakdown dd{font-size:17px}#garage-refined .gs-add-expense{min-height:50px}#garage-refined .gs-footer .gr-history-entry{min-height:48px;padding-top:10px;padding-bottom:6px}}
@container(max-height:610px){#garage-refined .gs-breakdown{gap:9px 16px}#garage-refined .gs-breakdown dd{font-size:16px}#garage-refined .gs-breakdown dt{font-size:11px;margin-bottom:3px}#garage-refined .gs-footer .gr-history-entry{min-height:44px;padding-block:8px;margin-top:2px}#garage-refined .gs-footer .gr-tools-row{padding-top:0}#garage-refined .gs-footer .gr-car-pages{height:12px;margin-bottom:4px}}

#garage-refined .gs-home .gr-open-photo{min-height:0}

/* Lifetime first, selected month second; quiet shared scale and baseline. */
#garage-refined .gl-totals{--gl-value-max:30;position:relative;padding-top:18px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:32px;text-align:left}
#garage-refined .gl-totals:before{content:"";position:absolute;left:50%;top:31px;bottom:4px;width:1px;background:var(--stroke)}
#garage-refined .gl-metric{min-width:0;display:grid;grid-template-rows:44px auto;align-content:start}
#garage-refined .gl-totals .gr-period{display:flex;justify-content:flex-start;align-items:center;flex-wrap:nowrap;gap:4px;min-height:44px;min-width:0;max-width:100%;font-size:13px;font-weight:450;line-height:1.3;text-align:left;color:var(--sub);padding:0;border-radius:8px;white-space:nowrap}
#garage-refined .gl-totals .gr-year{margin-left:0;font-size:12px;color:var(--sub)}
#garage-refined .gl-totals .gr-period svg{width:12px;height:12px;margin-left:0}
#garage-refined .gl-metric-label{display:flex;align-items:center;min-height:44px;font-size:13px;font-weight:450;line-height:1.3;color:var(--sub)}
#garage-refined .gl-totals .gl-value{min-width:0;max-width:100%;margin:0;text-align:left;font-size:30px;font-weight:450;line-height:1.18;letter-spacing:-.65px;white-space:nowrap;font-variant-numeric:tabular-nums}
#garage-refined .gl-totals .gl-value-primary{font-weight:600}
#garage-refined .gl-totals .gl-value span{font-size:.67em;font-weight:450;letter-spacing:0;margin-left:0}
#garage-refined .gl-totals .gl-value.is-wrapped{white-space:normal;overflow-wrap:anywhere}
@container(max-width:350px){#garage-refined .gl-totals{--gl-value-max:28;column-gap:24px}#garage-refined .gl-totals .gl-value{font-size:28px}#garage-refined .gl-totals .gr-period{gap:3px;font-size:12px}#garage-refined .gl-metric-label{font-size:12px}}
@container(max-height:610px){#garage-refined .gl-totals{padding-top:10px}#garage-refined .gl-totals:before{top:23px}}

/* Expense history: one scroll area for the receipt and transaction list. */
#garage-refined .gh-history-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scroll-padding-block:12px 30px;padding-bottom:max(30px,var(--safe-bottom,0px));scrollbar-width:thin}
#garage-refined .gh-history-sheet .gr-history-summary{padding-top:6px;padding-bottom:8px}
#garage-refined .gh-history-sheet .gr-history-summary>p{font-size:13px;line-height:1.4;margin-bottom:2px}
#garage-refined .gh-history-sheet .gr-history-period{margin:0 0 12px;min-height:44px}
#garage-refined .gh-receipt-summary{background:var(--sheet-soft);border:1px solid var(--stroke);border-radius:20px;padding:18px;min-width:0}
#garage-refined .gh-receipt-summary h3{font-size:13px;font-weight:450;color:var(--sheet-sub);margin:0 0 7px;line-height:1.35}
#garage-refined .gh-receipt-summary #gr-history-sum{font-size:32px;font-weight:600;line-height:1.2;letter-spacing:-1px;margin:0;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
#garage-refined .gh-breakdown{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px;border-top:1px solid var(--stroke);margin:16px 0 0;padding:16px 0 0}
#garage-refined .gh-category-total{min-width:0}
#garage-refined .gh-category-total dt{display:flex;gap:6px;align-items:center;font-size:12px;line-height:1.4;color:var(--sheet-sub);margin:0 0 5px}
#garage-refined .gh-category-total dt>svg{width:15px;height:15px}
#garage-refined .gh-category-total dd{margin:0;font-size:17px;font-weight:550;line-height:1.3;letter-spacing:-.3px;color:var(--sheet-ink);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
#garage-refined .gh-history-sheet .gr-receipt-launch{margin-top:10px;background:transparent;padding:8px 0;min-height:44px;border-radius:10px;font-size:13px;color:var(--sheet-sub)}
#garage-refined .gh-history-sheet .gr-receipt-launch>svg{width:17px;height:17px}
#garage-refined .gh-history-sheet .gr-initial-mileage-link{margin-top:2px;min-height:44px;font-size:12px}
#garage-refined .gh-history-sheet .gr-filters{padding-top:12px;padding-bottom:16px}
#garage-refined .gh-records-heading{padding:0 var(--gr-gutter) 14px;display:flex;align-items:baseline;justify-content:space-between;gap:8px 12px;flex-wrap:wrap}
#garage-refined .gh-records-heading h3{font-size:14px;font-weight:550;line-height:1.4;margin:0;min-width:0;color:var(--sheet-ink)}
#garage-refined #gh-filter-total{font-size:13px;line-height:1.4;color:var(--sheet-sub);font-variant-numeric:tabular-nums;min-width:0;overflow-wrap:anywhere}
#garage-refined .gh-history-sheet #gr-history-list{overflow:visible;flex:none;padding-top:0;padding-bottom:6px;margin-bottom:0;min-height:0}
#garage-refined .gh-history-sheet .gr-empty{padding-top:20px;padding-bottom:24px}
@container(max-width:350px){#garage-refined .gh-receipt-summary{padding:16px;border-radius:18px}#garage-refined .gh-breakdown{gap:16px 14px}#garage-refined .gh-category-total dd{font-size:16px}#garage-refined .gh-receipt-summary #gr-history-sum{font-size:30px}}

/* Photos crossfade over the old scene; controls stay in their established positions. */
#garage-refined .gm-outgoing{position:absolute;inset:0;z-index:-1;overflow:hidden;pointer-events:none}
#garage-refined .gr-open-photo{cursor:grab}
#garage-refined .gr-open-photo.gm-grabbing{cursor:grabbing}
#garage-refined .gr-status,#garage-refined .gr-home-indicator,#garage-refined .gs-add-expense,#garage-refined .gr-tools-row button,#garage-refined .gr-history-top,#garage-refined .gr-history-top>svg,#garage-refined .gr-page-dot{transition:color .35s ease,background-color .35s ease}
@media(prefers-reduced-motion:reduce){#garage-refined .gm-outgoing{display:none}}

/* Keep the existing 16px handle spacer and header geometry, replace its visual bar. */
#garage-refined .gr-sheet:has(> .gd-sheet-handle):before{visibility:hidden}
#garage-refined .gd-sheet-handle{position:absolute;z-index:3;top:0;left:50%;width:88px;height:44px;min-height:44px;padding:0;transform:translateX(-50%);border-radius:12px;touch-action:none;cursor:grab;user-select:none;-webkit-user-select:none}
#garage-refined .gd-sheet-handle:before{content:"";position:absolute;top:9px;left:50%;width:32px;height:4px;transform:translateX(-50%);border-radius:5px;background:var(--sheet-sub);opacity:.35;transition:opacity .15s}
#garage-refined .gd-sheet-handle:hover:before,#garage-refined .gd-sheet-handle:focus-visible:before{opacity:.65}
#garage-refined .gd-sheet-handle:active{transform:translateX(-50%);filter:none}
#garage-refined .gr-sheet.gd-motion-used{animation:none}
#garage-refined .gd-is-dragging{will-change:transform}
#garage-refined .gd-is-dragging .gd-sheet-handle{cursor:grabbing}
#garage-refined .gd-is-dragging .gd-sheet-handle:before{opacity:.75}
#garage-refined .gr-expense-card .ge-card-head.gd-drag-surface{position:relative;min-height:60px;padding-top:16px;touch-action:none;cursor:grab;user-select:none;-webkit-user-select:none}
#garage-refined .ge-card-head.gd-drag-surface:before{content:"";position:absolute;top:9px;left:50%;width:32px;height:4px;transform:translateX(-50%);border-radius:5px;background:var(--sheet-sub);opacity:.45;pointer-events:none}
#garage-refined .ge-card-head.gd-drag-surface .gr-close{cursor:pointer}
#garage-refined .gd-is-dragging .gd-drag-surface{cursor:grabbing}
#garage-refined .gd-is-dragging .gd-drag-surface:before{opacity:.75}
@container(max-height:620px){#garage-refined .gr-expense-card .ge-card-head.gd-drag-surface{min-height:56px;padding-top:12px}}
@container(max-height:440px){#garage-refined .gr-expense-card .ge-card-head.gd-drag-surface{min-height:52px;padding-top:8px}#garage-refined .ge-card-head.gd-drag-surface:before{top:6px}}
#garage-refined .gd-is-settling{pointer-events:none;will-change:transform}
@media(prefers-reduced-motion:reduce){#garage-refined .gd-sheet-handle:before{transition:none}}

/* Optional vehicle identity uses the same neutral form surfaces and 44px targets. */
#garage-refined .gc-form-section{display:grid;gap:10px;padding:4px 0 2px;min-width:0}
#garage-refined .gc-section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px;color:var(--sheet-sub)}
#garage-refined .gc-section-heading .gc-optional{font-size:11px}
#garage-refined #gc-reset{min-height:44px;padding:8px 0 8px 12px;font-size:12px;color:var(--sheet-ink);margin-block:-10px}
#garage-refined .gc-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#garage-refined .gc-field-button{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;min-height:66px;padding:11px 12px;background:var(--field);border-radius:12px;text-align:left}
#garage-refined .gc-field-button>span{display:grid;gap:4px;min-width:0}
#garage-refined .gc-field-button small{font-size:11px;line-height:1.3;color:var(--sheet-sub)}
#garage-refined .gc-field-button strong{font-size:14px;font-weight:500;line-height:1.4;overflow-wrap:anywhere}
#garage-refined .gc-field-button>svg{width:15px;height:15px;color:var(--sheet-sub)}
#garage-refined .gc-picker-head{display:flex;align-items:flex-start;gap:8px;padding:max(16px,var(--safe-top,0px)) 16px 14px;flex:none}
#garage-refined .gc-picker-head>div{flex:1;min-width:0;padding-top:8px}
#garage-refined .gc-picker-head h2{font-size:22px;line-height:1.2;letter-spacing:-.5px;margin:0 0 5px}
#garage-refined .gc-picker-head p{font-size:12px;line-height:1.45;color:var(--sheet-sub);overflow-wrap:anywhere}
#garage-refined .gc-picker .gr-search-wrap{padding-bottom:14px}
#garage-refined .gc-results{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 24px 24px;scroll-padding-block:10px}
#garage-refined .gc-list-label{color:var(--sheet-sub);font-size:12px;line-height:1.4;padding:16px 0 8px}
#garage-refined .gc-list-label:first-child{padding-top:0}
#garage-refined .gc-option{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:54px;width:100%;padding:12px 4px;border-bottom:1px solid var(--stroke);border-radius:0;text-align:left}
#garage-refined .gc-option>span{min-width:0;display:grid;gap:6px}
#garage-refined .gc-option strong{font-size:16px;font-weight:450;line-height:1.4;overflow-wrap:anywhere}
#garage-refined .gc-option small{font-size:13px;color:var(--sheet-sub);line-height:1.4}
#garage-refined .gc-option>svg{width:17px;height:17px;color:var(--sheet-sub)}
#garage-refined .gc-option[aria-pressed="true"]{color:var(--primary);font-weight:550}
#garage-refined .gc-option[aria-pressed="true"]>svg{color:var(--primary)}
#garage-refined .gc-generation-grid{display:grid;gap:12px}
#garage-refined .gc-generation{min-height:86px;padding:16px;border:1px solid transparent;border-radius:16px;background:var(--field)}
#garage-refined .gc-generation[aria-pressed="true"]{border-color:var(--sheet-sub);background:var(--sheet-soft)}
#garage-refined .gc-year-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
#garage-refined .gc-year-grid .gc-option{min-height:48px;border:0;border-radius:11px;justify-content:center;padding:10px 4px;background:var(--field)}
#garage-refined .gc-year-grid .gc-option strong{font-size:15px;font-variant-numeric:tabular-nums}
#garage-refined .gc-year-grid .gc-option[aria-pressed="true"]{background:var(--primary);color:var(--primary-ink)}
#garage-refined .gc-year-grid .gc-option>svg{display:none}
#garage-refined .gc-picker-foot{padding-top:12px;display:grid;gap:4px}
#garage-refined .gc-skip{min-height:44px;text-align:center;font-size:14px;color:var(--sheet-sub)}
#garage-refined .gc-manual-body{display:grid;gap:14px;align-content:start;flex:1}
#garage-refined .gc-catalog-source{font-size:10px;line-height:1.5;color:var(--sheet-sub);padding:24px 0 2px}
#garage-refined .gc-catalog-source a{color:inherit;text-underline-offset:2px}
#garage-refined .gc-vehicle-spec{font-size:13px;line-height:1.5;color:var(--sheet-sub);overflow-wrap:anywhere}
@container(max-width:350px){#garage-refined .gc-results{padding-inline:20px}#garage-refined .gc-form-grid{gap:8px}#garage-refined .gc-field-button{padding:10px;min-height:64px}#garage-refined .gc-picker-head{padding-inline:12px}#garage-refined .gc-year-grid{gap:8px}}
@container(max-height:560px){#garage-refined .gc-picker-head{padding-top:8px;padding-bottom:8px}#garage-refined .gc-picker-head h2{font-size:20px}#garage-refined .gc-picker .gr-search-wrap{padding-bottom:10px}#garage-refined .gc-picker-foot{padding-top:8px;padding-bottom:max(24px,var(--safe-bottom,0px))}}

/* Runtime viewport. System chrome belongs to the OS, not to the app.
   Safe areas are owned once: overlay top/sides, footer bottom. */
html,body{width:100%;height:100%;overflow:hidden;overscroll-behavior:none;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{position:fixed;inset:0}
#garage-refined{position:fixed;top:var(--viewport-top,0px);left:0;width:100%;height:var(--app-height,100dvh);min-height:0;padding:0;overflow:hidden;background:#151619}
#garage-refined .gr-phone{--safe-top:env(safe-area-inset-top,0px);--safe-right:env(safe-area-inset-right,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px);width:100%;max-width:100%;height:100%;border-radius:0;box-shadow:none}
#garage-refined .gr-home{height:100%;padding:calc(16px + var(--safe-top)) max(24px,var(--safe-right)) calc(12px + var(--safe-bottom)) max(24px,var(--safe-left))}
#garage-refined .gr-overlay{padding:calc(12px + var(--safe-top)) var(--safe-right) 0 var(--safe-left);min-height:0}
#garage-refined .gr-sheet{min-height:0}
#garage-refined .go-overlay,#garage-refined .gr-overlay.gr-receipt-overlay{padding-top:var(--safe-top)}
#garage-refined .go-setup-head{padding-top:12px;min-height:60px}
#garage-refined .go-story-header{padding-top:18px}
#garage-refined .gc-picker-head{padding-top:12px}
#garage-refined .gr-sheet-foot,#garage-refined .go-story-footer,#garage-refined .gr-receipt-foot{padding-bottom:calc(16px + var(--safe-bottom))}
#garage-refined .gr-expense-overlay{padding:calc(76px + var(--safe-top)) max(16px,var(--safe-right)) calc(12px + var(--safe-bottom)) max(16px,var(--safe-left))}
#garage-refined .ge-scene-context{top:calc(16px + var(--safe-top));left:max(24px,var(--safe-left));right:max(24px,var(--safe-right))}
#garage-refined .gr-expense-card .ge-card-foot{padding-bottom:14px}
#garage-refined input,#garage-refined textarea,#garage-refined select{font-size:16px;scroll-margin-block:12px}
#garage-refined input:not([type=range]),#garage-refined textarea{-webkit-user-select:text;user-select:text}
#garage-refined[data-keyboard="open"] .gr-phone{--safe-bottom:0px}
#garage-refined[data-keyboard="open"] .gr-expense-overlay{padding-top:calc(8px + var(--safe-top));padding-bottom:8px}
#garage-refined[data-keyboard="open"] .ge-scene-context{display:none}
#garage-refined[data-keyboard="open"] .gr-sheet-foot{padding-top:10px;padding-bottom:10px}
#garage-refined[data-keyboard="open"] .go-country-heading{display:none}
#garage-refined[data-keyboard="open"] .gc-picker-head p{display:none}
@container(max-height:440px){
 #garage-refined .gr-expense-overlay{padding-top:calc(8px + var(--safe-top));padding-bottom:8px}
 #garage-refined .ge-scene-context{display:none}
 #garage-refined .go-setup-head{padding-block:4px;min-height:52px}
 #garage-refined .gr-sheet-foot{padding-top:8px;padding-bottom:calc(8px + var(--safe-bottom))}
 #garage-refined .gc-picker-head{padding-block:4px}
 #garage-refined .gc-picker-head p{display:none}
}
@media(min-width:1024px) and (min-height:600px) and (pointer:fine){
 #garage-refined{padding:16px}
 #garage-refined .gr-phone{max-width:460px;border-radius:24px;box-shadow:0 12px 60px #0005}
}

/* Telegram WebView owns the window. Browser desktop framing stays separate. */
#garage-refined[data-host="telegram"]{padding:0}
#garage-refined[data-host="telegram"] .gr-phone{max-width:100%;border-radius:0;box-shadow:none;--safe-top:var(--telegram-safe-top,env(safe-area-inset-top,0px));--safe-right:var(--telegram-safe-right,env(safe-area-inset-right,0px));--safe-bottom:var(--telegram-safe-bottom,env(safe-area-inset-bottom,0px));--safe-left:var(--telegram-safe-left,env(safe-area-inset-left,0px))}
#garage-refined[data-host="telegram"][data-keyboard="open"] .gr-phone{--safe-bottom:0px}
#garage-refined[data-host="telegram"] .go-story-header{padding-top:22px}
#garage-refined[data-host="telegram"] .go-setup-head,#garage-refined[data-host="telegram"] .gc-picker-head{padding-top:16px}

#garage-refined .gr-phone[data-tone="light"] .gr-expense-card{--sheet:inherit;--sheet-ink:inherit;--sheet-sub:inherit;--field:inherit;--sheet-soft:inherit;--primary:inherit;--primary-ink:inherit;--stroke:inherit;--danger:inherit;--accent:var(--sheet-ink);color-scheme:light;backdrop-filter:none;-webkit-backdrop-filter:none}
