/* My Garage. One collection, three layouts (Lineup, Showroom, Logbook), sharing the public site's palette and display type. */
@font-face{font-family:"Barlow Semi Condensed";src:url('/fonts/BarlowSemiCondensed-700.woff2') format('woff2');font-style:normal;font-weight:700;font-display:swap}
@font-face{font-family:"Barlow Semi Condensed";src:url('/fonts/BarlowSemiCondensed-800.woff2') format('woff2');font-style:normal;font-weight:800;font-display:swap}
@font-face{font-family:"Barlow Semi Condensed";src:url('/fonts/BarlowSemiCondensed-900.woff2') format('woff2');font-style:normal;font-weight:900;font-display:swap}
:root{color-scheme:dark;--bg:#080909;--bg2:#0d0e0f;--surface:#121316;--surface2:#18191d;--surface3:#202126;--line:#2a2c32;--line2:#3d4048;--control:#70747f;--text:#f4f0e8;--secondary:#cfccc5;--muted:#a5a6ad;--muted2:#9698a0;--red:#ff3b30;--red2:#ff655d;--red-btn:#d62428;--wtw-red:#ff655d;--green:#36cf87;--amber:#ffb545;--focus:#a9d6ff;--font-display:"Barlow Semi Condensed","Arial Narrow",Impact,sans-serif;--font-body:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;--primary:#f4f0e8}
*{box-sizing:border-box}
html{background:var(--bg);scroll-padding:16px 0 120px}
body{margin:0;color:var(--text);background:var(--bg);font:15px/1.5 var(--font-body);-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none;text-underline-offset:3px}a:hover{text-decoration:underline}
button,input,select{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}
[aria-disabled=true]{opacity:.6;cursor:progress}
button,a,input,select,summary{-webkit-tap-highlight-color:transparent}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,[tabindex="-1"]:focus-visible{outline:3px solid var(--focus);outline-offset:2px;border-radius:4px}
[hidden],.hidden{display:none!important}
h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:var(--font-display);font-weight:800;line-height:1.12}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.lbl-short{display:none}
.skip-link{position:absolute;top:8px;left:16px;padding:12px 14px;background:var(--text);color:#111;font-weight:700;border-radius:6px;z-index:60;transform:translateY(-200%)}.skip-link:focus{transform:none}

/* Header: the public site's wordmark and navigation language. */
.header{position:relative;border-bottom:1px solid var(--line);background:var(--bg2)}
.header-inner{max-width:1384px;margin:auto;min-height:68px;padding:10px 32px;display:flex;align-items:center;gap:30px}
.wordmark{display:flex;align-items:center;min-height:44px;flex:none}.wordmark img{display:block;height:20px;width:auto}
.site-nav,.account-nav{display:flex;align-items:center;gap:24px}.account-nav{margin-left:auto}
.site-nav a,.account-nav a{display:flex;align-items:center;min-height:44px;font:800 14px/1 var(--font-display);letter-spacing:.09em;text-transform:uppercase;color:#d9d6cf}
.site-nav a:hover,.account-nav a:hover{color:#fff;text-decoration:none}
.account-nav [aria-current]{color:#fff;box-shadow:inset 0 -2px var(--red)}
.account-nav .nav-search{justify-content:center;min-width:44px;border:1px solid var(--control);border-radius:8px;background:var(--surface2)}
.account-nav .nav-giveaways{display:none}
.nav-search svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.nav-toggle{display:none;min-height:44px;padding:0 14px;border:1px solid var(--control);border-radius:8px;background:var(--surface2);font:800 13px/1 var(--font-display);letter-spacing:.09em;text-transform:uppercase}
.nav-panel{display:grid;grid-template-columns:1fr 1fr;gap:0 20px;padding:6px 22px 14px;border-top:1px solid var(--line);background:var(--bg2)}
.nav-panel a{display:flex;align-items:center;min-height:46px;font-weight:600;border-bottom:1px solid var(--line)}

.garage-shell{max-width:1384px;margin:auto;padding:28px 32px 24px}
.garage-page-header{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:22px}
h1{font-weight:900;font-size:52px;line-height:.95;text-transform:uppercase;letter-spacing:-.005em;margin:0}
.garage-jump{display:flex;align-items:center;gap:20px;margin-left:auto}
.garage-jump a,.garage-jump button{display:inline-flex;align-items:center;min-height:44px;padding:0;border:0;background:none;font-size:14px;font-weight:600;color:var(--secondary);text-decoration:underline;text-decoration-color:var(--control)}
.garage-jump a:hover,.garage-jump button:hover{color:#fff}
.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:9px 16px;border:1px solid #ef5a52;border-radius:8px;color:#fff;background:var(--red-btn);font-size:14px;font-weight:700;line-height:1.25;text-align:center;text-decoration:none}
.button:hover{background:#e22d30;text-decoration:none}
.button.secondary{background:var(--surface2);color:var(--text);border-color:var(--control)}.button.secondary:hover{background:var(--surface3);border-color:#9a9eaa}
/* One red action per view: the featured campaign. Saved rows use a quieter outline. */
.button.is-quiet{background:transparent;border-color:#d9d6cf;color:#fff}.button.is-quiet:hover{background:#24262c}
.button.danger{background:#8f1d1f;border-color:#d8504d}.button.danger:hover{background:#a82326}
.text-link{display:inline-flex;align-items:center;min-height:44px;font-size:14px;color:var(--red2);text-decoration:underline;white-space:nowrap}
.next-action-link{min-height:44px;border:0;background:transparent;color:var(--red2);text-decoration:underline;padding:8px 2px;font-size:14px}
.message{padding:12px 16px;color:#f3e2c2;border:1px solid #6c5632;border-radius:8px;background:#261e12;font-size:14px;margin-bottom:18px}
.support-note{font-size:13px;color:var(--muted);margin:0 0 14px}
.support-note a,.reminder-note a,.assistant-helper a{display:inline-block;padding:5px 0;color:var(--red2);text-decoration:underline}

/* Shared pieces: media, chips, facts. A frame takes its picture's own proportions within the range its layout allows. */
.g-media{position:relative;display:block;overflow:hidden;background:#15171b;border-radius:10px;aspect-ratio:clamp(var(--rmin,1.6),var(--r,1.6),var(--rmax,1.6));isolation:isolate}
.g-media>a{position:absolute;inset:0;display:block}
.g-media-backdrop{position:absolute;inset:-28px;background-size:cover;background-position:center;filter:blur(20px) brightness(.62) saturate(1.1);z-index:0}
.g-media img{position:absolute;inset:0;z-index:1;width:100%;height:100%;object-fit:contain}
.g-media[data-fit=cover] img{object-fit:cover}
.g-photo-note{position:absolute;z-index:2;left:8px;bottom:8px;max-width:calc(100% - 16px);padding:3px 8px;border-radius:5px;background:rgba(8,9,9,.86);border:1px solid #4a4d56;color:#e8e5de;font-size:12px;font-weight:600}
.garage-image-fallback{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:8px;text-align:center;color:#b3b5bc;font-size:12px;background:repeating-linear-gradient(135deg,#17191d 0 12px,#141619 12px 24px)}
.garage-image-fallback svg{width:54px;height:30px;fill:none;stroke:#7d8089;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.g-brand{margin:0;font-size:13px;color:var(--muted);overflow-wrap:break-word}
.g-chips{display:flex;flex-wrap:wrap;gap:6px;margin:0}
.g-chip{display:inline-block;max-width:100%;vertical-align:top;border:1px solid var(--line2);border-radius:12px;padding:2px 10px;font-size:12px;font-weight:600;line-height:1.5;color:#d6d3cc;background:var(--surface2);overflow-wrap:anywhere}
.g-main,.g-chips{min-width:0}
.g-chip.is-open{border-color:#2f5f4d;background:#11241d;color:#a9e8c8}
.g-chip.is-soon{border-color:#a86a22;background:#2c1d0b;color:#ffd28c}
.g-chip.is-next{border-color:#b9453f;background:#2a1513;color:#ffc2bd}
.g-chip.is-closed{color:#bcbdc4}.g-chip.is-muted{color:#c7c8ce}
.g-chip.is-entered{border-color:#2e4f70;background:#111f2d;color:#bcdcf8}
.g-chip.is-photo{display:none;color:#e8e5de}
.g-col{display:contents}
.g-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 18px;margin:0}
.g-fact dt{font-size:12px;color:var(--muted);margin-bottom:2px}
.g-fact dd{margin:0;font-size:14px;font-weight:600;overflow-wrap:break-word}
.g-fact dd small{display:block;font-size:12px;font-weight:400;color:var(--muted)}
.g-fact dd small.g-flag{color:#f3d58d}
.g-summary{display:none;margin:0;color:var(--secondary)}.g-summary strong{color:var(--text);font-weight:600}
.g-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.g-item .g-actions .button,.g-next-body .g-actions .button{white-space:nowrap}
.g-notes{display:flex;flex-direction:column;gap:6px}
.card-note{font-size:13px;color:var(--secondary);border-left:2px solid #8a6a2c;background:#1d1a12;border-radius:0 6px 6px 0;padding:0 12px}
.card-note summary{min-height:36px;display:flex;align-items:center;font-weight:600;color:#f3d58d;cursor:pointer}
.card-note.is-quiet{border-left:0;background:transparent;padding:0}
.card-note.is-quiet summary{display:inline-flex;min-height:28px;font-weight:600;color:var(--secondary);text-decoration:underline;text-decoration-color:var(--control)}
.card-note p{margin:0 0 10px}.card-note a{display:inline-flex;align-items:center;min-height:32px;color:var(--red2);text-decoration:underline}
.card-feedback{font-size:13px;color:#b8ecd2;margin:0;padding:9px 12px;border:1px solid #2f6149;background:#10231b;border-radius:6px}
.card-feedback.is-error{color:#ffe1c3;background:#2a1c10;border-color:#8a5f2c}
.card-feedback.is-notice{color:#e9e6df;background:var(--surface2);border-color:var(--control)}
.card-feedback a{color:var(--red2);text-decoration:underline}
.member-added-label{margin:8px 0 0;font-size:13px;color:var(--muted)}
.g-compare-toggle{display:inline-flex;align-items:center;gap:7px;min-height:32px;padding:4px 10px 4px 7px;border:1px solid var(--control);border-radius:7px;background:var(--surface2);font-size:12px;font-weight:600;color:#e9e6df;justify-self:start;align-self:center}
.g-compare-toggle:hover{border-color:#9a9eaa}
.g-compare-box{width:16px;height:16px;border:1.5px solid #a9acb5;border-radius:4px;flex:none;position:relative}
.g-compare-toggle[aria-pressed=true]{border-color:var(--red2);color:#fff}.g-compare-toggle[aria-pressed=true] .g-compare-box{background:var(--red-btn);border-color:var(--red2)}
.g-compare-toggle[aria-pressed=true] .g-compare-box:after{content:"";position:absolute;left:4px;top:1px;width:4px;height:8px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.g-links{display:flex;align-items:center;justify-content:flex-end;gap:16px;margin:0;font-size:13px}
.g-links a,.g-links button{display:inline-flex;align-items:center;gap:4px;min-height:28px;padding:0;border:0;background:none;color:var(--secondary);text-decoration:underline;text-decoration-color:var(--control);white-space:nowrap}
.g-links a:hover,.g-links button:hover{color:#fff}
.g-more{position:relative;display:none}
.g-more summary{list-style:none;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid var(--control);border-radius:8px;background:var(--surface2);font-size:13px;letter-spacing:1px;cursor:pointer}
.g-more summary::-webkit-details-marker{display:none}.g-more summary:hover,.g-more[open] summary{background:var(--surface3);border-color:#9a9eaa}
.g-more-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:30;min-width:220px;padding:6px;border:1px solid var(--control);border-radius:10px;background:#1b1c21;box-shadow:0 18px 50px rgba(0,0,0,.6)}
.g-more-menu a,.g-more-menu button{display:flex;align-items:center;gap:6px;width:100%;min-height:44px;padding:8px 12px;border:0;border-radius:6px;background:transparent;font-size:14px;text-align:left}
.g-more-menu a:hover,.g-more-menu button:hover{background:#2a2c33;text-decoration:none}.g-more-menu .garage-remove{color:#ffb4ae}

/* Up next. */
.g-next{margin-bottom:28px}
.g-next-card{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(0,1fr);border:1px solid var(--line2);border-radius:16px;background:linear-gradient(125deg,#17181c,#0f1012)}
.g-next-media{border-radius:15px 0 0 15px;aspect-ratio:auto;min-height:320px;height:100%}
.g-next-body{display:flex;flex-direction:column;gap:11px;padding:24px 30px;min-width:0}
.g-next-lead,.g-next-detail{display:contents}
.g-next-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:32px}
.g-eyebrow{margin:0;font:800 13px/1.2 var(--font-display);letter-spacing:.14em;text-transform:uppercase;color:var(--red2)}
.g-next-when{margin:0;font:800 42px/1 var(--font-display);letter-spacing:-.005em}
.g-next-card.is-unknown .g-next-when{font-size:32px}
.g-next-date{margin:-4px 0 0;font-size:14px;color:var(--secondary)}
.g-next-title h2{font-size:26px;margin:4px 0 4px;overflow-wrap:break-word}.g-next-title h2 a:hover{text-decoration:underline}
.g-next-body .g-facts{grid-template-columns:repeat(3,minmax(0,1fr));padding:14px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.g-next-record{margin:0}
.g-next-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;margin-top:auto}.g-next-foot .g-links{gap:20px}
.g-next-quiet{border:1px solid var(--line2);border-radius:16px;background:linear-gradient(125deg,#17181c,#0f1012);padding:28px 30px}
.g-next-quiet h2{font-size:28px;margin:8px 0 8px;max-width:760px}.g-next-quiet p{color:var(--secondary);margin-bottom:16px}

/* Collection controls. */
.collection-controls{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;border-bottom:1px solid var(--line)}
.garage-filter-bar{display:flex;gap:2px;flex-wrap:wrap}
.garage-filter{min-height:46px;padding:10px 14px;border:0;border-bottom:2px solid transparent;margin-bottom:-1px;background:transparent;font-size:14px;font-weight:700;color:var(--muted);white-space:nowrap}
.garage-filter:hover{color:#fff}.garage-filter[aria-pressed=true]{color:#fff;border-bottom-color:var(--red)}
.garage-filter-count{margin-left:6px;font-weight:600;color:#9a9ca5}.garage-filter[aria-pressed=true] .garage-filter-count{color:#c7c8ce}
.collection-tools{display:flex;align-items:center;gap:8px;padding-bottom:8px;flex-wrap:wrap}
input,select{min-height:44px;border:1px solid var(--control);border-radius:8px;color:var(--text);background:var(--surface);padding:9px 12px;max-width:100%}
input::placeholder{color:#a5a6ad}input[type=search]{width:170px}
.view-switch{display:inline-flex;border:1px solid var(--control);border-radius:8px;overflow:hidden;background:var(--surface)}
.view-switch button{display:inline-flex;align-items:center;gap:7px;min-height:42px;padding:0 12px;border:0;border-right:1px solid var(--control);background:transparent;font-size:13px;font-weight:600;color:var(--secondary)}
.view-switch button:last-child{border-right:0}.view-switch button:hover{color:#fff}
.view-switch button[aria-pressed=true]{background:var(--text);color:#111}
.view-switch svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;flex:none}
.results-note{font-size:13px;color:var(--secondary);margin:10px 0 0}.results-note:empty{display:none}
/* The allowance and the bookmark note close the collection they describe. */
.garage-limit{display:flex;align-items:center;flex-wrap:wrap;gap:4px 10px;margin:18px 0 0;font-size:13px;color:var(--muted)}
.garage-limit:empty{display:none}
.garage-limit a{display:inline-block;padding:4px 0;color:var(--secondary);text-decoration:underline}
.g-meter{display:inline-flex;gap:3px}.g-meter i{width:12px;height:6px;border-radius:2px;background:var(--surface3)}.g-meter i.on{background:#b8bac2}
.g-plan{font:800 12px/1 var(--font-display);letter-spacing:.08em;border:1px solid #7d3a36;background:#2a1513;color:#ffc2bd;border-radius:5px;padding:4px 7px}
.collection-note{font-size:13px;color:var(--muted);margin:6px 0 0}

/* Collection: shared. */
.garage-grid{display:grid;gap:10px;margin-top:16px}
.garage-group-heading{grid-column:1/-1;display:flex;align-items:baseline;gap:12px;margin:14px 0 2px;font-size:16px;letter-spacing:.09em;text-transform:uppercase;color:#d7d4cd}
.garage-group-heading span{font:400 13px/1.4 var(--font-body);letter-spacing:0;text-transform:none;color:var(--muted)}
.garage-group-heading:first-child,.g-logbook-hint+.garage-group-heading{margin-top:4px}
.g-only-next{grid-column:1/-1;margin:6px 0 0;font-size:14px;color:var(--muted)}
.g-removed-note{grid-column:1/-1;margin:0;padding:12px 14px;border:1px solid #3b7a5c;border-radius:10px;background:#10231b;color:#d2f5e3;font-size:14px;font-weight:600}
.g-item{position:relative;min-width:0;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
.g-item:hover{border-color:#4a4d57}
.g-item.is-ended .g-media img,.g-item.is-sold-out .g-media img,.g-item.is-review .g-media img{filter:grayscale(.5) brightness(.82)}
.g-item .g-media{grid-area:media}.g-item .g-compare-toggle{grid-area:compare}.g-item .g-main{grid-area:main}.g-item .g-facts{grid-area:facts}.g-item .g-summary{grid-area:summary}.g-item .g-notes{grid-area:notes}.g-item .card-feedback{grid-area:feedback}.g-item .g-actions{grid-area:actions}.g-item .g-links{grid-area:links}
.g-title{font-size:21px;font-weight:700;line-height:1.16;margin:2px 0 8px;overflow-wrap:break-word}
.g-title a:hover{text-decoration:underline}

/* Lineup: wide rows, soonest confirmed deadline first. Each column stacks its own content from the top. */
.garage-grid[data-view=lineup] .g-item{display:grid;grid-template-columns:190px minmax(0,1fr) minmax(0,1.7fr) 292px;grid-template-areas:"media main colfacts colactions" "media feedback feedback feedback";column-gap:22px;row-gap:10px;align-items:start;padding:12px 16px 12px 12px}
.garage-grid[data-view=lineup] .g-item .g-media{--rmin:1.3;--rmax:1.9}
.garage-grid[data-view=lineup] .g-item .g-main{padding-top:2px}
.garage-grid[data-view=lineup] .g-col-facts{grid-area:colfacts;display:flex;flex-direction:column;gap:8px;padding-top:6px;min-width:0}
.garage-grid[data-view=lineup] .g-col-actions{grid-area:colactions;display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"actions actions" "compare links";gap:8px 12px;align-content:start}
.garage-grid[data-view=lineup] .g-item .g-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.garage-grid[data-view=lineup] .g-item .g-actions .button{padding-left:10px;padding-right:10px}
.garage-grid[data-view=lineup] .g-item .g-actions:not(:has(>.g-entry)),.garage-grid[data-view=lineup] .g-item .g-actions:not(:has(>.g-view)){grid-template-columns:1fr}

/* Showroom: the vehicles lead, each at its own proportions, in balanced columns. */
.garage-grid[data-view=showroom]{display:flex;flex-wrap:wrap;gap:18px;align-items:stretch}
.garage-grid[data-view=showroom]>:not(.g-item){flex:0 0 100%}
.garage-grid[data-view=showroom] .garage-group-heading{margin:10px 0 -6px}.garage-grid[data-view=showroom] .garage-group-heading:first-child{margin-top:0}
.garage-grid[data-view=showroom] .g-item{flex:0 0 calc((100% - (var(--k,3) - 1)*18px)*var(--w,.33333) - .34px);display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"media media" "main compare" "facts facts" "notes notes" "feedback feedback" "actions actions" "links links";grid-template-rows:auto auto auto 1fr auto auto auto;gap:12px 10px;padding:0 16px 14px}
.garage-grid[data-view=showroom] .g-item .g-media{margin:0 -16px;border-radius:13px 13px 0 0;--rmin:1.2;--rmax:1.9}
/* A lane's single card is a wide tile: its picture at its own proportions beside the details. */
.garage-grid[data-view=showroom] .g-item.is-wide{flex-basis:100%;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr) auto;grid-template-areas:"media main compare" "media facts facts" "media notes notes" "media feedback feedback" "media actions actions" "media links links";grid-template-rows:auto auto 1fr auto auto auto;column-gap:22px;padding:14px 20px 14px 14px}
.garage-grid[data-view=showroom] .g-item.is-wide .g-media{margin:0;border-radius:10px;align-self:start;--rmin:1.3;--rmax:1.9}
.garage-grid[data-view=showroom] .g-item.is-wide .g-facts{grid-template-columns:repeat(auto-fit,minmax(112px,1fr))}
.garage-grid[data-view=showroom] .g-item .g-compare-toggle{align-self:start}
.garage-grid[data-view=showroom] .g-title{font-size:23px}
.garage-grid[data-view=showroom] .g-item .g-facts{grid-template-columns:repeat(2,minmax(0,1fr));padding-top:12px;border-top:1px solid var(--line)}
.garage-grid[data-view=showroom] .g-item .g-actions{flex-wrap:nowrap}
.garage-grid[data-view=showroom] .g-item .g-actions .button{flex:1 1 0;min-width:0;padding-left:8px;padding-right:8px}

/* Logbook: a compact, complete record. */
.garage-grid[data-view=logbook]{gap:0}
.garage-grid[data-view=logbook] .garage-group-heading{margin:18px 0 6px}
.garage-grid[data-view=lineup] .g-logbook-hint{display:none}
/* The compare hint shares the first lane heading's line. */
.g-logbook-hint{grid-row:1;grid-column:1/-1;justify-self:end;align-self:end;display:flex;align-items:center;gap:8px;margin:0;font-size:14px;color:var(--muted)}
.g-logbook-hint+.garage-group-heading{grid-row:1;grid-column:1/-1}
.garage-grid[data-view=logbook] .g-item{display:grid;grid-template-columns:44px 76px minmax(0,1.1fr) minmax(0,2fr) 312px;grid-template-areas:"compare media main facts actions" ". . notes notes notes" ". . feedback feedback feedback";column-gap:14px;row-gap:6px;align-items:center;padding:10px 4px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent}
.garage-grid[data-view=logbook] .g-item:hover{background:#101114}
.garage-grid[data-view=logbook] .g-compare-toggle{min-height:44px;width:44px;padding:0;justify-content:center;gap:0;background:transparent;border-color:transparent;align-self:center}
.garage-grid[data-view=logbook] .g-compare-toggle .g-compare-box{width:18px;height:18px}
.garage-grid[data-view=logbook] .g-compare-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.garage-grid[data-view=logbook] .g-item .g-media{border-radius:6px}
.garage-grid[data-view=logbook] .garage-image-fallback span{display:none}
.garage-grid[data-view=logbook] .g-title{font-size:17px;margin:0 0 5px}
.garage-grid[data-view=logbook] .g-item .g-facts{gap:6px 14px}
.garage-grid[data-view=logbook] .g-fact dd{font-size:13px}
.garage-grid[data-view=logbook] .g-item .g-actions{flex-wrap:nowrap;justify-content:flex-end}
.garage-grid[data-view=logbook] .g-item .g-actions .button{padding:6px 12px;font-size:13px}
.garage-grid[data-view=logbook] .g-photo-note,.garage-grid[data-view=logbook] .g-links{display:none}
.garage-grid[data-view=logbook] .g-chip.is-photo{display:inline-flex}
.garage-grid[data-view=logbook] .g-more{display:block}

/* Empty, loading and error states. */
.empty,.load-error,.loading-state{grid-column:1/-1}
.empty,.load-error{border:1px solid var(--line2);border-radius:16px;background:linear-gradient(125deg,#17181c,#0f1012);padding:44px 28px;text-align:center}
.empty h2,.load-error h2{font-size:32px;margin-bottom:10px}
.empty p,.load-error p{color:var(--secondary);max-width:560px;margin:0 auto 20px}
.empty .g-actions,.load-error .g-actions{justify-content:center}
.empty .empty-secondary{font-size:13px;color:var(--muted);margin:18px auto 0}
.empty.filtered-empty{padding:30px 22px}
/* The first-time Garage: what it does on the left, real open listings to start with on the right. */
.empty.is-first{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;padding:36px;text-align:left}
.empty.is-first:has(.g-starters){grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:start}
.empty.is-first h2{font-size:40px}.empty.is-first p{margin-left:0;margin-right:0}.empty.is-first .g-actions{justify-content:flex-start}.empty.is-first .empty-secondary{margin:18px 0 0}
.g-starters h3{font:700 15px/1.4 var(--font-body);margin:0 0 2px}.g-starters>p{font-size:13px;color:var(--muted);margin:0 0 12px}.g-starters .g-brand-open{margin:0}
.loading-state{color:var(--secondary);font-size:14px}
.loading-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--red);margin-right:8px;animation:loadpulse 1s ease-in-out infinite alternate}
.skeleton-hero,.skeleton-row{border-radius:14px;border:1px solid var(--line);background:linear-gradient(100deg,#15161a 30%,#1d1e23 50%,#15161a 70%);background-size:200% 100%;animation:shimmer 1.5s linear infinite}
.skeleton-hero{height:320px;margin-top:16px}.skeleton-row{height:128px;margin-top:10px}
@keyframes loadpulse{to{opacity:.35}}@keyframes shimmer{to{background-position:-200% 0}}

/* Brands, records and tools. */
.garage-support{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:40px;margin-top:44px;padding-top:30px;border-top:1px solid var(--line)}
.support-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:8px}
.support-heading h2{font-size:26px;margin:0}
.g-subhead{font:700 14px/1.4 var(--font-body);color:var(--secondary);margin:6px 0 10px}
.g-brand-full{margin:0 0 12px;padding:10px 14px;border:1px solid var(--control);border-radius:10px;background:var(--surface2);font-size:14px;color:var(--secondary)}
.g-brand-full a{color:var(--text);text-decoration:underline}
.g-brand-open{list-style:none;margin:0 0 6px;padding:0;display:grid;gap:8px}
.g-brand-open li{display:grid;grid-template-columns:104px minmax(0,1fr) auto;gap:10px 14px;align-items:center;padding:8px 12px 8px 8px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.g-brand-open li>.card-feedback{grid-column:1/-1}
.g-brand-open-media{border-radius:7px}
.g-brand-open-media .garage-image-fallback span{display:none}.g-brand-open-media .garage-image-fallback svg{width:44px;height:24px}
.g-brand-open-link{display:grid;gap:1px;min-height:44px;align-content:center}.g-brand-open-link:hover{text-decoration:none}.g-brand-open-link:hover .g-brand-open-title{text-decoration:underline}
.g-brand-open-title{font:700 18px/1.2 var(--font-display);overflow-wrap:break-word}
.g-brand-open-close{font-size:13px;color:var(--secondary)}
.g-saved-flag{font-size:13px;color:#a9e8c8;white-space:nowrap}.g-saved-flag.is-full{color:var(--muted)}
.g-brand-list{list-style:none;margin:12px 0 12px;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.garage-saved-brand{display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:6px 12px 6px 8px;border:1px solid var(--control);border-radius:999px;background:var(--surface);font-size:14px;font-weight:600}
.garage-saved-brand:hover{background:var(--surface3);text-decoration:none}
.brand-initials{display:inline-grid;place-items:center;width:28px;height:28px;flex:none;border-radius:50%;border:1px solid #6b5551;color:#f1cbc4;font-size:12px;font-weight:700}
.g-brand-count{font-size:12px;font-weight:600;color:var(--muted);white-space:nowrap}.g-brand-count.has-open{color:#a9e8c8}
.brands-note{margin:0}
.tool-list{display:grid;gap:8px;margin-bottom:18px}
.tool-link{display:grid;gap:1px;width:100%;min-height:56px;padding:10px 14px;border:1px solid var(--control);border-radius:10px;background:var(--surface);text-align:left}
.tool-link:hover{background:var(--surface3);text-decoration:none}.tool-link strong{font-size:15px}.tool-link span{font-size:13px;color:var(--muted)}
.tool-group-label{margin:0 0 8px;font-size:13px;font-weight:700;color:var(--secondary)}
.assistant-beta{display:inline-block;font:700 12px/1.5 var(--font-body);letter-spacing:.06em;color:#ffc2bd;background:#2a1513;border:1px solid #7d3a36;border-radius:4px;padding:1px 6px;margin-left:6px;vertical-align:middle}
.assistant-nav{display:flex;flex-wrap:wrap;gap:8px}
.assistant-nav>a,.assistant-nav>button{display:inline-flex;align-items:center;min-height:44px;padding:8px 13px;border:1px solid var(--control);border-radius:8px;background:var(--surface);font-size:13px;font-weight:600;color:#e3e0d9}
.assistant-nav>a:hover,.assistant-nav>button:hover{background:var(--surface3);text-decoration:none}
.entry-history-row{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,.8fr) minmax(0,1fr) auto;gap:8px 16px;align-items:center;padding:10px 0;border-top:1px solid var(--line);font-size:14px}
.entry-history-row time,.entry-history-row>span{color:var(--secondary)}

/* Compare and dialogs. */
.compare-bar{position:fixed;left:50%;bottom:16px;transform:translateX(-50%);z-index:40;display:flex;align-items:center;justify-content:space-between;gap:16px;width:min(600px,calc(100% - 24px));padding:10px 12px 10px 18px;border-radius:12px;background:#f4f0e8;color:#111;box-shadow:0 18px 60px rgba(0,0,0,.65)}
.compare-bar p{margin:0;font-size:14px;font-weight:700}.compare-bar>div{display:flex;gap:8px;flex:none}
.compare-bar .button.secondary{background:#fff;color:#111;border-color:#6b6862}.compare-bar .button.secondary:hover{background:#ece8df}
.compare-bar .button:disabled{background:#77746f;border-color:#77746f;color:#fff;opacity:1}
.compare-bar :focus-visible{outline-color:#0b57d0}
/* Room below the page so the fixed bar never rests on the last line of content. */
body.has-compare-bar{padding-bottom:104px}
.remove-dialog,.assistant-dialog,.compare-dialog,.history-dialog{width:min(940px,calc(100% - 32px));max-height:90vh;max-height:90dvh;overflow:auto;padding:26px;color:var(--text);border:1px solid #5a5e69;border-top:3px solid var(--red);border-radius:14px;background:#15161a;box-shadow:0 30px 90px rgba(0,0,0,.7)}
.remove-dialog{width:min(480px,calc(100% - 32px))}.compare-dialog{width:min(1080px,calc(100% - 32px))}.history-dialog{width:min(860px,calc(100% - 32px))}
.remove-dialog::backdrop,.assistant-dialog::backdrop,.compare-dialog::backdrop,.history-dialog::backdrop{background:rgba(0,0,0,.72)}
.remove-dialog h2{font-size:28px;margin-bottom:12px}.remove-dialog>p{overflow-wrap:break-word}
.remove-dialog .message:empty{display:none}
.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}
.assistant-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px}
.assistant-dialog h2,.compare-dialog h2,.history-dialog h2{font-size:28px;margin:0}
.compare-content{margin:14px 0 16px}
.g-compare{width:100%;border-collapse:collapse;table-layout:fixed;font-size:14px}
.g-compare th,.g-compare td{padding:12px 14px;border-bottom:1px solid var(--line);vertical-align:top;text-align:left;overflow-wrap:break-word}
.g-compare thead th{font:700 19px/1.2 var(--font-display);padding-bottom:14px}.g-compare thead th:first-child,.g-compare tbody th{width:150px}
.g-compare thead th a,.g-compare-title{display:block;margin:10px 0 3px}.g-compare thead th a:hover{text-decoration:underline}
.g-compare thead .g-brand{display:block;font:400 13px/1.4 var(--font-body)}
.g-compare .g-compare-media{--rmin:1.3;--rmax:1.9}
.g-compare tbody th{font-size:13px;font-weight:600;color:var(--muted)}
.g-compare td{font-weight:600}.g-compare td small{display:block;margin-top:4px;font-size:13px;font-weight:400;color:var(--secondary)}
.g-compare td small.g-flag{color:#f3d58d}
.assistant-dialog h3{font-size:22px;margin:0 0 12px}
.assistant-dialog-layout{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:24px}
.assistant-dialog-layout:has(.assistant-offer[hidden]){grid-template-columns:1fr}
/* The access panel belongs only to the two tools that need Assistant access. */
.assistant-dialog:not([data-pane=outside]):not([data-pane=extension]) .assistant-dialog-layout{grid-template-columns:1fr}
.assistant-dialog:not([data-pane=outside]):not([data-pane=extension]) .assistant-offer{display:none}
.assistant-helper{font-size:14px;line-height:1.65;color:var(--secondary)}
.assistant-offer{border:1px solid var(--line2);border-radius:10px;padding:16px;align-self:start}.assistant-offer strong{display:block;margin-bottom:12px}.assistant-offer .assistant-helper{margin:0}
.assistant-form label{display:block;font-size:14px;color:var(--secondary);margin-bottom:14px}
.assistant-form input:not([type=checkbox]),.assistant-form select{display:block;width:100%;margin-top:5px}
.assistant-profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.assistant-full{grid-column:1/-1}
.assistant-consent{display:flex!important;align-items:center;gap:12px;min-height:44px}.assistant-consent input{accent-color:#d8382f;width:24px;height:24px;min-height:0;flex:0 0 24px;padding:0}
.assistant-profile-actions{display:flex;gap:10px;flex-wrap:wrap}
.assistant-free-list{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}
.assistant-free-card{display:grid;grid-template-columns:96px minmax(0,1fr);gap:2px 14px;align-content:start;padding:12px;border:1px solid var(--line2);border-radius:10px;min-width:0;background:var(--surface)}
.assistant-free-card>*{grid-column:1/-1;margin:0}
.assistant-free-card>img{grid-column:1;grid-row:1/span 3;width:96px;height:64px;object-fit:contain;background:#0d0e10;border-radius:6px}
.assistant-free-card>img~.assistant-free-brand,.assistant-free-card>img~h4,.assistant-free-card>img~h4+.assistant-helper{grid-column:2}
.assistant-free-card h4{font:700 19px/1.2 var(--font-display)}
.assistant-free-card .assistant-helper{font-size:13px}
.assistant-free-brand{font-size:13px;color:var(--muted)}
.assistant-free-method{margin-top:6px!important;font-size:13px;line-height:1.55;color:var(--secondary);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.assistant-free-actions{display:flex;gap:4px 14px;flex-wrap:wrap;align-items:center;margin-top:4px!important}
.assistant-free-actions a{min-height:44px;display:inline-flex;align-items:center;font-size:13px;color:var(--secondary);text-decoration:underline;text-decoration-color:var(--control);overflow-wrap:break-word}
.assistant-free-actions a.button{min-height:44px;padding:6px 12px;color:#fff;text-decoration:none;background:var(--surface2);border-color:var(--control)}
#assistant-discovery>.button{margin-right:18px}
.assistant-browse-free,.assistant-discover{display:inline-flex;align-items:center;min-height:44px;font-size:14px;color:var(--red2);text-decoration:underline}
.garage-sidebar-section h3{font-size:22px;margin:0}
.panel-header{display:flex;justify-content:space-between;align-items:center;gap:14px}
.panel-action{min-height:44px;display:inline-flex;align-items:center;color:var(--red2);font-size:14px;text-decoration:underline}
.alert-row{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid var(--line)}
.alert-row .alert-detail{display:block;font-size:12px;color:var(--muted)}.alert-bell{display:none}
.alert-toggle{margin-left:auto;font-size:13px;color:var(--secondary)}.alert-toggle:after{content:'Off'}.alert-toggle[aria-checked=true]:after{content:'On'}
.reminder-note{font-size:13px;color:var(--secondary)}
.garage-reminder-form{display:grid;gap:14px;margin-top:18px}
.reminder-choice{display:flex;align-items:center;gap:12px;min-height:44px;font-size:14px}.reminder-choice input{width:24px;height:24px;min-height:0;padding:0}
.reminder-threshold-label,.garage-alert-message{font-size:14px}

/* The shared site footer, tuned for this standalone page. */
.operator-site-footer .dh-footer-main{grid-template-columns:1.2fr repeat(4,1fr);gap:24px;max-width:1320px;margin:auto;padding:28px 0}
.operator-site-footer .dh-footer-main a{min-height:32px;display:inline-flex;align-items:center}.operator-site-footer .dh-footer-col a{display:flex}
.operator-site-footer .dh-footer-label{color:var(--muted)}.operator-site-footer .dh-footer-legal{max-width:1320px;margin:auto}
.operator-site-footer .dh-footer-legal a{display:inline-flex;align-items:center;min-height:44px}

@media(min-width:701px){
  /* Where there is room the two secondary actions are visible links; the menu is for tight layouts. */
  .g-next-body .g-more{display:none}
}
@media(max-width:1180px){
  .garage-grid[data-view=lineup] .g-item{grid-template-columns:176px minmax(0,1fr) 190px;grid-template-areas:"media main colactions" "media colfacts colactions" "media feedback feedback";grid-template-rows:auto 1fr auto}
  .garage-grid[data-view=lineup] .g-col-facts{padding-top:0}
  .garage-grid[data-view=lineup] .g-item .g-facts{grid-template-columns:repeat(auto-fit,minmax(104px,1fr))}
  .garage-grid[data-view=lineup] .g-col-actions{grid-template-columns:1fr;grid-template-areas:"actions" "compare" "links"}
  .garage-grid[data-view=lineup] .g-item .g-actions{grid-template-columns:1fr}
  .garage-grid[data-view=lineup] .g-item .g-links{justify-content:space-between}
  .garage-grid[data-view=showroom] .g-item{flex-basis:calc((100% - (var(--k,2) - 1)*18px)*var(--w,.5) - .34px)}
  .garage-grid[data-view=showroom] .g-item.is-wide{flex-basis:100%}
  .g-item .g-chip .lbl-long{display:none}.g-item .g-chip .lbl-short{display:inline}
  .garage-grid[data-view=logbook] .g-item{grid-template-columns:44px 68px minmax(0,1fr) auto;grid-template-areas:"compare media main actions" "compare media facts facts" ". . notes notes" ". . feedback feedback";align-items:start}
  .operator-site-footer .dh-footer-main{padding-inline:24px;grid-template-columns:repeat(3,1fr)}
}
@media(max-width:1000px){
  .site-nav{display:none}.nav-toggle{display:inline-flex;align-items:center}.header-inner{gap:14px}
  /* Tablet: the picture sits beside the deadline and title at its own proportions; the facts and actions run beneath. */
  .g-next-card{grid-template-columns:300px minmax(0,1fr);grid-template-areas:"media lead" "detail detail";gap:0 22px;padding:20px 22px}
  .g-next-body{display:contents}
  .g-next-media{grid-area:media;min-height:0;height:auto;align-self:start;border-radius:10px;aspect-ratio:clamp(1.3,var(--r,1.6),1.9)}
  .g-next-lead{grid-area:lead;display:flex;flex-direction:column;gap:8px;min-width:0}
  .g-next-detail{grid-area:detail;display:flex;flex-direction:column;gap:10px;margin-top:16px;min-width:0}
  .g-next-when{font-size:36px}.g-next-title h2{font-size:24px}
  .g-next-foot{margin-top:0}
  .garage-support{grid-template-columns:1fr;gap:30px}
  .empty.is-first:has(.g-starters){grid-template-columns:1fr}
}
@media(max-width:700px){
  .header-inner{min-height:60px;padding:8px 16px;gap:10px}.wordmark img{height:16px}
  .account-nav{gap:12px}.account-nav a{font-size:13px}.account-nav [aria-current],.account-nav .nav-search,.account-nav .nav-account{display:none}.account-nav .nav-giveaways{display:flex}
  .garage-shell{padding:16px 16px 16px}
  .garage-page-header{align-items:center;margin-bottom:10px;gap:12px}h1{font-size:36px}
  .garage-jump{gap:18px}.garage-jump .lbl-long{display:none}.garage-jump .lbl-short{display:inline}
  .browse-primary{display:none}
  /* Body-level text is 14px on phones. */
  .g-brand,.g-fact dt,.g-fact dd,.g-summary,.support-note,.collection-note,.card-note,.card-feedback,.member-added-label,.results-note,.g-brand-open-close,.garage-limit,.g-saved-flag,.g-links,.g-compare td small,.reminder-note,.garage-group-heading span,.g-starters>p{font-size:14px}
  .g-fact dd small{font-size:13px}
  .garage-grid[data-view=logbook] .g-fact dd{font-size:14px}
  /* Facts read as label and value on one line, so nothing wraps into narrow columns. */
  .g-item .g-facts,.g-next-body .g-facts{display:block}
  .g-fact{display:grid;grid-template-columns:128px minmax(0,1fr);gap:10px;padding:2px 0}
  .g-fact dt{margin:0}.g-fact dd small{display:inline;margin-left:6px}.g-fact dd small.g-flag{display:block;margin-left:0}
  .g-more{display:block}.g-links{display:none}
  .g-next{margin-bottom:18px}
  .g-next-card{display:grid;grid-template-columns:1fr;grid-template-areas:none;gap:0;padding:0}
  .g-next-body{display:flex;padding:10px 16px 16px;gap:8px}
  .g-next-foot{display:block}
  .g-next-lead,.g-next-detail{display:contents;margin:0}
  .g-next-media{grid-area:auto;border-radius:15px 15px 0 0;aspect-ratio:clamp(1.5,var(--r,1.78),2.2)}
  .g-next-when{font-size:31px}.g-next-card.is-unknown .g-next-when{font-size:26px}
  .g-next-title h2{font-size:22px;margin:2px 0}
  .g-next-body .g-facts{display:none}
  .g-next-body .g-summary{display:block;line-height:1.45;padding:8px 0;border-top:1px solid var(--line)}
  .g-next-body .g-actions{display:grid;grid-template-columns:1fr 1fr 44px;gap:8px}
  .g-next-body .g-actions .button{padding-left:8px;padding-right:8px}
  .g-next-head .g-compare-toggle{min-height:40px}
  .g-next-quiet{padding:20px 16px}.g-next-quiet h2{font-size:24px}.g-next-quiet .g-actions .button{flex:1 1 100%}
  .collection-controls{display:block;border-bottom:0}
  .garage-filter-bar{border-bottom:1px solid var(--line);justify-content:space-between}
  .garage-filter{padding:10px 8px;flex:none}
  .garage-filter-bar{flex-wrap:nowrap}
  .garage-filter-bar.has-five .garage-filter{padding:10px 4px;font-size:13px}.garage-filter-bar.has-five .garage-filter-count{margin-left:4px}
  .garage-filter .lbl-long{display:none}.garage-filter .lbl-short{display:inline}
  /* One row of tools: sort beside the layout control, which names the current layout and shows the others as icons. */
  .collection-tools{display:grid;grid-template-columns:minmax(0,1fr) auto;padding:10px 0 0;gap:8px}
  .search-control{grid-column:1/-1}.collection-controls.is-small .search-control{display:none}
  input,select{font-size:16px}input[type=search],select{width:100%;min-width:0}
  .view-switch button{min-height:44px;min-width:44px;justify-content:center;padding:0 10px}
  .view-switch button[aria-pressed=false] span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .garage-grid{margin-top:12px}
  .garage-group-heading{font-size:15px;margin-top:12px}
  .g-title{font-size:19px;margin-bottom:6px}
  /* Lineup on a phone: picture, title and status, then one running line of facts. */
  .garage-grid[data-view=lineup] .g-item{grid-template-columns:104px minmax(0,1fr);grid-template-areas:"media brand" "media title" "chips chips" "label label" "summary summary" "notes notes" "feedback feedback" "colactions colactions";grid-template-rows:auto 1fr;column-gap:12px;row-gap:0;padding:10px}
  /* The picture sits beside the brand and title only; status and facts then use the card's full width. */
  .garage-grid[data-view=lineup] .g-col-facts,.garage-grid[data-view=lineup] .g-main{display:contents}
  .garage-grid[data-view=lineup] .g-item .g-brand{grid-area:brand}
  .garage-grid[data-view=lineup] .g-item .g-title{grid-area:title;margin:2px 0 0}
  .garage-grid[data-view=lineup] .g-item .g-chips{grid-area:chips;margin-top:8px}
  .garage-grid[data-view=lineup] .g-item .member-added-label{grid-area:label;margin:6px 0 0}
  .garage-grid[data-view=lineup] .g-item .g-summary,.garage-grid[data-view=lineup] .g-item .g-notes,.garage-grid[data-view=lineup] .g-item .card-feedback,.garage-grid[data-view=lineup] .g-col-actions{margin-top:6px}
  .garage-grid[data-view=lineup] .g-col-actions{margin-top:8px}
  /* Actions on one row, in the order focus visits them: view, mark, more, compare. */
  .garage-grid[data-view=lineup] .g-col-actions{grid-template-columns:minmax(0,1fr) 44px;grid-template-areas:"actions compare";gap:8px;align-items:center}
  .garage-grid[data-view=lineup] .g-item .g-media{border-radius:8px;--rmin:1.3;--rmax:1.7}
  .garage-grid[data-view=lineup] .g-compare-toggle{width:44px;min-height:44px;padding:0;gap:0;justify-content:center;align-self:center}
  .garage-grid[data-view=lineup] .g-compare-toggle .g-compare-box{width:18px;height:18px}
  .garage-grid[data-view=lineup] .g-compare-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .garage-grid[data-view=lineup] .g-logbook-hint{display:flex}
  .g-logbook-hint .lbl-long{display:none}.g-logbook-hint .lbl-short{display:inline}
  .g-item .member-added-label .lbl-long{display:none}.g-item .member-added-label .lbl-short{display:inline}
  .garage-grid[data-view=lineup] .g-actions .lbl-long{display:none}.garage-grid[data-view=lineup] .g-actions .lbl-short{display:inline}
  .garage-grid[data-view=lineup] .g-photo-note{display:none}.garage-grid[data-view=lineup] .g-chip.is-photo{display:inline-flex}
  .garage-grid[data-view=lineup] .g-item .g-facts{display:none}
  .garage-grid[data-view=lineup] .g-summary,.garage-grid[data-view=logbook] .g-summary{display:block;line-height:1.45}
  .garage-grid[data-view=lineup] .g-item .g-actions{display:grid;grid-template-columns:auto minmax(0,1fr) 44px}
  .garage-grid[data-view=showroom] .g-item .g-actions{display:grid;grid-template-columns:1fr 1fr 44px;margin-top:2px}
  .garage-grid[data-view=lineup] .g-item .g-actions .button,.garage-grid[data-view=showroom] .g-item .g-actions .button{padding-left:8px;padding-right:8px}
  .garage-grid[data-view=lineup] .g-item .g-actions:not(:has(>.g-entry)),.garage-grid[data-view=lineup] .g-item .g-actions:not(:has(>.g-view)),.garage-grid[data-view=showroom] .g-item .g-actions:not(:has(>.g-entry)),.garage-grid[data-view=showroom] .g-item .g-actions:not(:has(>.g-view)){grid-template-columns:minmax(0,1fr) 44px}
  .garage-grid[data-view=showroom]{gap:14px}
  .garage-grid[data-view=showroom] .g-item,.garage-grid[data-view=showroom] .g-item.is-wide{flex:0 0 100%;grid-template-rows:none}
  .garage-grid[data-view=showroom] .g-item{grid-template-areas:"media media" "main compare" "facts facts" "notes notes" "feedback feedback" "actions actions";gap:8px 10px;padding:0 14px 12px}
  .garage-grid[data-view=showroom] .g-item .g-media{margin:0 -14px;--rmin:1.2;--rmax:2}
  .garage-grid[data-view=showroom] .g-item .g-facts{padding-top:8px}
  .garage-grid[data-view=showroom] .g-compare-toggle{min-height:40px}
  /* Logbook on a phone: no card, a small picture, the same running line of facts. */
  .garage-grid[data-view=logbook] .g-item{grid-template-columns:40px minmax(0,1fr) 64px;grid-template-areas:"compare brand media" "compare title media" "chips chips chips" "label label label" "summary summary summary" "notes notes notes" "feedback feedback feedback" "actions actions actions";grid-template-rows:auto 1fr;column-gap:6px;row-gap:0;padding:10px 0;align-items:start}
  .garage-grid[data-view=logbook] .g-item:not(:has([data-compare])){grid-template-areas:"brand brand media" "title title media" "chips chips chips" "label label label" "summary summary summary" "notes notes notes" "feedback feedback feedback" "actions actions actions"}
  /* Brand and title sit between the tick box and the picture; status and facts then use the full width. */
  .garage-grid[data-view=logbook] .g-main{display:contents}
  .garage-grid[data-view=logbook] .g-item .g-brand{grid-area:brand}
  .garage-grid[data-view=logbook] .g-item .g-title{grid-area:title;margin:1px 0 0}
  .garage-grid[data-view=logbook] .g-item .g-chips{grid-area:chips;margin-top:6px}
  .garage-grid[data-view=logbook] .g-item .member-added-label{grid-area:label;margin:4px 0 0}
  .garage-grid[data-view=logbook] .g-item .g-summary,.garage-grid[data-view=logbook] .g-item .g-notes,.garage-grid[data-view=logbook] .g-item .card-feedback{margin-top:4px}
  .garage-grid[data-view=logbook] .g-compare-toggle{width:40px;justify-content:flex-start;align-self:start;margin-top:-6px}
  .garage-grid[data-view=logbook] .g-item .g-media{width:64px;border-radius:5px;margin-top:4px}
  .garage-grid[data-view=logbook] .g-item .g-facts{display:none}
  .garage-grid[data-view=logbook] .g-item .g-actions{display:grid;grid-template-columns:auto 1fr 44px;margin-top:8px}
  .garage-grid[data-view=logbook] .g-item .g-actions .button{min-height:44px}
  .garage-grid[data-view=logbook] .lbl-long{display:none}.garage-grid[data-view=logbook] .lbl-short{display:inline}
  .g-more-menu{min-width:210px}
  .empty,.load-error{padding:28px 18px}.empty h2,.load-error h2{font-size:27px}.empty .g-actions .button{flex:1 1 100%}
  .empty.is-first{padding:24px 16px;gap:22px}.empty.is-first h2{font-size:30px}
  .skeleton-hero{height:420px}.skeleton-row{height:200px}
  .garage-support{margin-top:32px;padding-top:24px}.support-heading h2{font-size:24px}
  .g-brand-open li{grid-template-columns:72px minmax(0,1fr) auto;gap:6px 10px;padding:8px}
  .g-brand-open li>.g-saved-flag{grid-column:2/-1;margin-top:-4px}
  .g-brand-open li>.g-brand-open-text{grid-column:2/-1}
  .g-brand-open li>[data-save]{grid-column:2/-1;justify-self:start;min-width:112px}
  .entry-history-row{grid-template-columns:1fr 1fr}.entry-history-row strong{grid-column:1/-1}
  .compare-bar{bottom:calc(10px + env(safe-area-inset-bottom,0px));padding:8px 8px 8px 14px;gap:10px}.compare-bar p{font-size:13px}
  .assistant-dialog,.remove-dialog,.compare-dialog,.history-dialog{padding:18px}.assistant-dialog h2,.compare-dialog h2,.history-dialog h2{font-size:23px}
  .assistant-dialog-layout,.assistant-profile-grid,.assistant-free-list{grid-template-columns:1fr}
  .dialog-actions{flex-direction:column-reverse}.dialog-actions .button{width:100%}
  .g-compare,.g-compare thead,.g-compare tbody,.g-compare tr,.g-compare th,.g-compare td{display:block;width:auto}
  .g-compare thead{position:sticky;top:-18px;z-index:2;padding-top:10px;background:#15161a}
  .g-compare thead tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding-bottom:10px;border-bottom:1px solid var(--line)}
  .g-compare[data-count="2"] thead tr{grid-template-columns:repeat(2,minmax(0,1fr))}
  .g-compare thead th{padding:0;border:0;font-size:15px}.g-compare thead th:first-child{display:none}.g-compare thead th a,.g-compare-title{margin-top:6px}.g-compare thead .g-brand{font-size:12px}
  .g-compare .g-compare-media{--rmin:1.78;--rmax:1.78}
  .g-compare tbody tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px 10px;padding:12px 0;border-bottom:1px solid var(--line)}
  .g-compare[data-count="2"] tbody tr{grid-template-columns:repeat(2,minmax(0,1fr))}
  .g-compare tbody th{grid-column:1/-1;width:auto;padding:0 0 6px;border:0;font:800 13px/1.2 var(--font-display);letter-spacing:.1em;text-transform:uppercase;color:#d7d4cd}
  .g-compare td{padding:0;border:0;font-size:14px}
  .g-compare tbody tr.is-stacked{display:block}
  .g-compare tr.is-stacked td{padding:6px 0}
  .g-compare tr.is-stacked td:before{content:attr(data-vehicle);display:block;font-size:12px;font-weight:400;color:var(--muted);margin-bottom:1px}
  .operator-site-footer .dh-footer-main{grid-template-columns:repeat(2,1fr)}.operator-site-footer .dh-footer-main a{min-height:44px}
}
@media(max-width:380px){
  h1{font-size:33px}
  .garage-grid[data-view=lineup] .g-item{grid-template-columns:96px minmax(0,1fr)}
  .garage-filter{padding:10px 6px;font-size:13px}
  .garage-filter-bar.has-five .garage-filter{padding:10px 2px}
  .g-item .g-actions .button{font-size:13px;padding-left:6px;padding-right:6px}
  .nav-toggle{padding:0 11px}
  /* Short labels keep every action on one line at the narrowest widths. */
  .g-item .g-actions .lbl-long,.g-next-body .g-actions .lbl-long{display:none}.g-item .g-actions .lbl-short,.g-next-body .g-actions .lbl-short{display:inline}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
