.vehicle-picker{box-sizing:border-box;width:100%;max-width:none;height:100svh;max-height:100svh;margin:0;padding:0;border:0;border-radius:0;background:var(--bg);color:var(--fg);font-family:var(--sans);box-shadow:none;overflow:hidden}
.vehicle-picker::backdrop{background:transparent;backdrop-filter:none}
.vehicle-picker[open]{display:flex;flex-direction:column}
.vehicle-picker header{display:flex;align-items:center;flex-shrink:0;gap:12px;padding:4px 14px;border-bottom:0}
.vehicle-picker input{box-sizing:border-box;min-width:0;flex:1;width:100%;margin:0;padding:0;appearance:none;border:0;background:transparent;color:inherit;font:400 17px/24px var(--sans);outline:none;box-shadow:none}
.vehicle-picker header button{flex:0 0 36px;width:36px;height:36px;padding:0;display:grid;place-items:center;border:0;background:transparent;color:var(--muted);font:300 28px var(--sans);cursor:pointer}
.vehicle-results{overflow:auto;overscroll-behavior:contain;flex:1;min-height:0;padding:0 14px;scrollbar-width:thin}
.vehicle-choice{display:flex;align-items:center;gap:16px;width:100%;padding:14px 0;border:0;border-bottom:0;background:transparent;color:inherit;text-align:left;cursor:pointer;font:400 14px/20px var(--sans)}
.vehicle-choice:hover,.vehicle-choice:focus-visible{background:rgb(var(--fg-rgb)/.04)}
.vehicle-picture{flex:0 0 120px;width:120px;aspect-ratio:4/3;background:rgb(var(--fg-rgb)/.045);border-radius:0;overflow:hidden}
.vehicle-picture img{display:block;width:100%;height:100%;object-fit:cover}
.vehicle-copy{display:flex;flex-direction:column;gap:4px;min-width:0}.vehicle-copy strong{font-size:16px;line-height:21px;font-weight:500}.vehicle-copy span{font-size:12px;color:var(--muted)}.vehicle-copy small{font-size:10px;letter-spacing:.035em;color:var(--muted);overflow-wrap:anywhere}
.vehicle-empty{margin:30px 0;color:var(--muted);font-size:14px;text-align:center}
@media(max-width:500px){.vehicle-picture{flex-basis:96px;width:96px}.vehicle-choice{gap:12px}.vehicle-copy strong{font-size:15px}.vehicle-results{padding:0 14px}}

@media(max-width:500px){.vehicle-picker header{padding-inline:14px}}
.vehicle-picker header button:focus{outline:none;box-shadow:none}
.vehicle-picker header button:focus-visible{color:var(--fg);text-decoration:none}
.vehicle-picture{border:0;padding:0;cursor:pointer}.vehicle-copy{flex:1;border:0;padding:0;background:none;color:inherit;text-align:left;font:inherit;cursor:pointer}.vehicle-picker [hidden]{display:none!important}.vehicle-picker header button:last-child{margin-left:auto}
.vehicle-gallery{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;gap:0}.vehicle-gallery img{flex:0 0 100%;width:100%;height:min(65svh,600px);object-fit:contain;scroll-snap-align:center}.gallery-actions{display:flex;justify-content:center;gap:24px;padding:14px}.gallery-actions button,.gallery-actions a{border:0;background:none;color:inherit;font:inherit;text-decoration:none;padding:8px;cursor:pointer}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.vehicle-picker header{background:rgb(var(--bg-rgb)/.88);-webkit-backdrop-filter:saturate(180%) blur(12px);backdrop-filter:saturate(180%) blur(12px)}}
.vehicle-picker{height:100dvh;max-height:100dvh;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}
@media(prefers-reduced-transparency:reduce){.vehicle-picker header{background:var(--bg);backdrop-filter:none;-webkit-backdrop-filter:none}}
.vehicle-unlisted{opacity:.6}.vehicle-unlisted:hover,.vehicle-unlisted:focus-within{opacity:1}
.vehicle-close{position:absolute;left:50%;bottom:env(safe-area-inset-bottom);transform:translateX(-50%);width:44px;height:44px;background:var(--bg);border:0;outline:none!important;text-decoration:none!important;box-shadow:none}
.vehicle-results{padding-bottom:calc(44px + env(safe-area-inset-bottom))}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.vehicle-close{background:rgb(var(--bg-rgb)/.88);-webkit-backdrop-filter:saturate(180%) blur(12px);backdrop-filter:saturate(180%) blur(12px)}}
@media(prefers-reduced-transparency:reduce){.vehicle-close{background:var(--bg);backdrop-filter:none;-webkit-backdrop-filter:none}}

/* Full-bleed scroller; only explicit controls float over the content. */
.vehicle-picker{height:100dvh;max-height:100dvh;padding:0}
.vehicle-results{box-sizing:border-box;width:100%;height:100%;padding:0 12px calc(48px + env(safe-area-inset-bottom));scroll-padding-bottom:calc(48px + env(safe-area-inset-bottom))}
.vehicle-picker header{position:absolute;left:0;right:0;bottom:calc(44px + env(safe-area-inset-bottom));padding:10px 16px;border:0}
.vehicle-controls{position:absolute;left:50%;bottom:env(safe-area-inset-bottom);width:88px;height:44px;transform:translateX(-50%);pointer-events:none}
.vehicle-controls .rb{position:absolute;top:0;bottom:auto;width:44px;height:44px;padding:0;border:0;outline:none;box-shadow:none;transform:none;background:var(--bg);pointer-events:auto}
.vehicle-controls .vehicle-close{left:44px}.vehicle-controls .vehicle-search-toggle,.vehicle-controls .vehicle-back{left:0}
.vehicle-controls svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5}
.gallery-facts{display:flex;flex-direction:column;gap:8px;padding:16px 0;text-align:center}.gallery-facts strong{font-size:20px;font-weight:500}.gallery-facts span{color:var(--muted);font-size:14px}.gallery-count{font-variant-numeric:tabular-nums}
.vehicle-choice:last-child{border-bottom:0}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.vehicle-controls .rb{background:rgb(var(--bg-rgb)/.88);-webkit-backdrop-filter:saturate(180%) blur(12px);backdrop-filter:saturate(180%) blur(12px)}}
@media(prefers-reduced-transparency:reduce){.vehicle-controls .rb{background:var(--bg);backdrop-filter:none;-webkit-backdrop-filter:none}}

/* Safari composites document content under its native chrome, unlike a
   fixed top-layer dialog. Keep this surface in normal document flow. */
html.inventory-open{overflow-x:clip;overflow-y:auto}
html.inventory-open body{min-height:calc(100lvh + 120px);padding:0;margin:0}

.vehicle-picker[open]{position:relative;inset:auto;display:block;height:auto;max-height:none;min-height:calc(100lvh + 120px);overflow:visible}
.vehicle-picker .vehicle-results{height:auto;min-height:100lvh;overflow:visible;overscroll-behavior:auto;padding-bottom:calc(164px + env(safe-area-inset-bottom))}
.vehicle-picker .vehicle-controls{position:fixed;z-index:2}
.vehicle-picker header{position:fixed;z-index:2}

.gallery-thumbnails{display:flex;gap:8px;overflow-x:auto;padding:8px 0;scrollbar-width:none}.gallery-thumbnails button{flex:0 0 80px;width:80px;padding:0;border:0;background:none;cursor:pointer;opacity:.55}.gallery-thumbnails button[aria-current="true"]{opacity:1}.gallery-thumbnails img{display:block;width:80px;height:60px;object-fit:cover}.gallery-thumbnails button:focus-visible{outline:1px solid currentColor;outline-offset:2px}

.vehicle-picker .vehicle-controls{left:50vw;width:44px;height:88px}
.vehicle-controls .vehicle-close{left:0;top:44px}
.vehicle-controls .vehicle-search-toggle,.vehicle-controls .vehicle-back{left:0;top:0}
.vehicle-picker header{bottom:calc(88px + env(safe-area-inset-bottom))}
.vehicle-copy{text-align:left}
.gallery-overview{display:grid;grid-template-columns:minmax(110px,1fr) minmax(0,2fr);gap:12px;align-items:start;padding-top:12px}
.gallery-facts{padding:0;text-align:left;gap:5px;min-width:0;overflow-wrap:anywhere}
.gallery-facts strong{font-size:15px;line-height:19px}.gallery-facts span{font-size:12px;line-height:16px}
.gallery-media{min-width:0}.gallery-media .vehicle-gallery img{height:auto;aspect-ratio:4/3;object-fit:contain;align-self:start}
.gallery-actions{flex-direction:column;align-items:flex-start;gap:8px;padding:8px 0;font-size:13px}.gallery-actions button,.gallery-actions a{padding:4px 0;text-align:left}

.vehicle-picker:focus,.vehicle-picker:focus-visible{outline:none!important;box-shadow:none}
.vehicle-controls .rb:focus,.vehicle-controls .rb:focus-visible{outline:none!important;border:0!important;box-shadow:none!important;text-decoration:none;-webkit-tap-highlight-color:transparent}.vehicle-controls .rb:focus-visible{color:var(--fg)}

.vehicle-search-entry{display:flex;align-items:center;min-height:44px;padding:0 12px}
.vehicle-search-entry .vehicle-search-toggle{flex:0 0 44px;height:44px;border:0;outline:none;box-shadow:none}
.vehicle-search-entry header{position:static;flex:1;min-width:0;padding:8px;background:none;backdrop-filter:none;-webkit-backdrop-filter:none}
.vehicle-picker .vehicle-controls{height:44px}.vehicle-controls .vehicle-close{top:0}
.vehicle-controls .vehicle-back{top:-44px}

.vehicle-row-photos{display:flex;flex:0 0 45%;width:45%;min-width:0;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;gap:4px}.vehicle-row-photos::-webkit-scrollbar{display:none}.vehicle-row-photos .vehicle-picture{flex:0 0 100%;width:100%;scroll-snap-align:start}.vehicle-choice .vehicle-copy{align-self:center}.vehicle-choice .vehicle-copy strong{font-size:14px;line-height:18px}.vehicle-choice{padding:8px 0}

/* Each row is one compact filmstrip: details slide away with the photos. */
.vehicle-choice{display:block;padding:4px 0}
.vehicle-row-photos{width:100%;display:flex;gap:8px;align-items:center;scroll-snap-type:x proximity}
.vehicle-row-photos .vehicle-copy{flex:0 0 54%;min-width:0;gap:3px;scroll-snap-align:start;align-self:center}
.vehicle-row-photos .vehicle-copy strong{font-size:13px;line-height:16px}.vehicle-row-photos .vehicle-copy span{font-size:11px;line-height:14px}.vehicle-row-photos .vehicle-copy small{font-size:9px;line-height:12px}
.vehicle-row-photos .vehicle-picture{flex:0 0 117px;width:117px;height:88px;aspect-ratio:4/3}

.vehicle-search-entry{position:relative;padding:0 12px;min-height:44px}.vehicle-search-entry header{padding:10px 44px 10px 0}.vehicle-search-entry input{text-align:center}.vehicle-search-entry .vehicle-search-toggle{outline:none!important;box-shadow:none}
.vehicle-choice{padding:3px 0}.vehicle-row-photos{align-items:flex-start;gap:6px;overflow-anchor:none}
.vehicle-row-photos .vehicle-copy{flex-basis:48%;align-self:flex-start;padding-top:2px;gap:2px}
.vehicle-row-photos .vehicle-copy strong{font-size:12px;line-height:15px;font-weight:500}
.vehicle-row-photos .vehicle-copy span{font-size:11px;line-height:13px}
.vehicle-row-photos .vehicle-copy small{font-size:9px;line-height:12px;letter-spacing:.015em}
.vehicle-row-photos .vehicle-picture{flex-basis:101px;width:101px;height:76px}
.vehicle-search-entry{min-height:36px}.vehicle-search-entry .vehicle-search-toggle{height:36px}.vehicle-search-entry header{padding-block:6px}
.vehicle-row-photos .vehicle-copy{flex-basis:42%;padding-top:0;white-space:normal;overflow-wrap:anywhere}
.vehicle-row-photos .vehicle-copy strong{white-space:normal;line-height:14px}
.vehicle-row-photos .vehicle-picture{flex-basis:85px;width:85px;height:64px}
.vehicle-choice{padding:2px 0}.vehicle-row-photos{gap:4px}

.vehicle-row-photos .vehicle-copy{flex:0 0 85px;width:85px;gap:1px}.vehicle-row-photos{gap:3px}.vehicle-row-photos .vehicle-copy strong{font-size:11px;line-height:12px}.vehicle-row-photos .vehicle-copy span{font-size:10px;line-height:11px}.vehicle-row-photos .vehicle-copy small{font-size:8px;line-height:9px;letter-spacing:0}.vehicle-unlisted,.vehicle-unlisted:hover,.vehicle-unlisted:focus-within{opacity:.55}
.vehicle-search-entry .vehicle-search-toggle{flex-basis:22px;width:22px;justify-content:flex-start}
.vehicle-search-entry header{padding-left:4px;padding-right:0}.vehicle-search-entry input{text-align:left}

/* Match Baronbegier's square chat input: 688px cap, 12px gutters, 8px glass. */
.vehicle-picker .vehicle-search-entry{position:fixed;z-index:3;left:12px;right:12px;bottom:env(safe-area-inset-bottom,0px);width:auto;max-width:664px;margin:0 auto;box-sizing:border-box;min-height:44px;padding:0 8px;border-radius:0;background:rgb(var(--bg-rgb)/.55);border:1px solid rgb(var(--fg-rgb)/.12);box-shadow:0 1px 4px rgb(0 0 0/.08);-webkit-backdrop-filter:blur(8px) saturate(3.5);backdrop-filter:blur(8px) saturate(3.5)}
.vehicle-search-entry input{font-size:18px;line-height:24px;font-weight:500}.vehicle-search-entry header{padding:8px}
.vehicle-picker .vehicle-controls{top:0;bottom:auto;left:auto;right:0;width:44px;height:44px;transform:none}
.vehicle-controls .vehicle-close{top:0;background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}
.vehicle-controls .vehicle-back{left:-44px;top:0}
.vehicle-picker .vehicle-results{padding-top:44px;padding-inline:0}
.vehicle-row-photos{scroll-snap-type:none;scroll-behavior:auto}.vehicle-row-photos .vehicle-copy{padding-left:2px;box-sizing:border-box}
#vehicle-picker-open:focus,#vehicle-picker-open:focus-visible{outline:none;box-shadow:none}
@media(min-width:768px){
 html.inventory-open{overflow:hidden}html.inventory-open body{min-height:100vh;background:rgb(var(--fg-rgb)/.04)}
 .vehicle-picker[open]{position:fixed;inset:32px 0;margin:0 auto;width:min(960px,calc(100vw - 64px));height:calc(100dvh - 64px);min-height:0;max-height:none;overflow:hidden;box-shadow:0 12px 60px rgb(0 0 0/.08)}
 .vehicle-picker .vehicle-results{height:100%;min-height:0;overflow-y:auto;padding-bottom:76px}
 .vehicle-picker .vehicle-controls{position:absolute}.vehicle-picker .vehicle-search-entry{position:absolute;bottom:12px}
}
@media(prefers-reduced-transparency:reduce){.vehicle-picker .vehicle-search-entry{background:var(--bg);backdrop-filter:none;-webkit-backdrop-filter:none}}
.vehicle-picker .vehicle-search-entry{left:.375rem;right:.375rem}
@media(min-width:768px){.vehicle-picker[open]{width:min(960px,calc(100vw - .75rem));inset:.375rem 0;height:calc(100dvh - .75rem)}.vehicle-picker .vehicle-search-entry{bottom:.375rem}}

.vehicle-picker button:focus,.vehicle-picker button:focus-visible{outline:none!important;box-shadow:none!important;-webkit-tap-highlight-color:transparent}.vehicle-picker button:focus-visible{color:var(--fg)}
.vehicle-picker .vehicle-search-entry{border-color:rgba(255,255,255,.4)}

.vehicle-picker .vehicle-results{padding-top:0}
.vehicle-picker .vehicle-search-entry{min-height:40px}
.vehicle-search-entry .vehicle-controls{position:static;inset:auto;display:flex;flex:0 0 auto;width:auto;height:38px;transform:none;pointer-events:auto}
.vehicle-search-entry .vehicle-controls .rb{position:static;width:36px;height:38px;background:none;backdrop-filter:none;-webkit-backdrop-filter:none}
.vehicle-search-entry header{flex:1;padding:6px;min-width:0}
.vehicle-search-entry .vehicle-search-toggle{height:38px}

.vehicle-picker{-webkit-text-size-adjust:100%;text-size-adjust:100%}
.vehicle-row-photos{align-items:stretch;gap:2px}
.vehicle-row-photos .vehicle-copy{padding:1px 2px;gap:1px;align-self:flex-start}
.vehicle-row-photos .vehicle-copy span{white-space:pre-line;line-height:11px}
.vehicle-row-photos .vehicle-copy small{white-space:nowrap;overflow-wrap:normal;font-size:7px;line-height:9px;letter-spacing:0;font-family:var(--sans)}
.vehicle-row-photos .vehicle-picture{position:relative;height:auto;min-height:64px;aspect-ratio:auto;align-self:stretch}
.vehicle-row-photos .vehicle-picture img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.vehicle-choice{padding:1px 0}
.vehicle-row-photos .vehicle-picture{min-height:54px}
.vehicle-picker .vehicle-search-entry{min-height:32px;background:rgb(var(--bg-rgb)/.16);border:0;box-shadow:none;padding:0 6px}
.vehicle-search-entry input{font-size:16px;line-height:22px;font-weight:400}
.vehicle-search-entry header{padding:4px 6px}
.vehicle-search-entry .vehicle-search-toggle,.vehicle-search-entry .vehicle-controls,.vehicle-search-entry .vehicle-controls .rb{height:32px}
/* Solid controls only; no frosted layer over the inventory. */
.vehicle-picker .vehicle-search-entry{background:var(--bg);backdrop-filter:none;-webkit-backdrop-filter:none;border:0;box-shadow:none}

/* Contained, borderless modal with a reachable outside dismissal area. */
html.inventory-open{overflow:hidden}
html.inventory-open body{min-height:0;background:var(--bg)}
.vehicle-picker[open]{position:fixed;inset:0;margin:auto;width:min(960px,calc(100vw - 24px));height:min(88dvh,900px);min-height:0;max-height:calc(100dvh - 48px);display:flex;flex-direction:column;overflow:hidden;border:0;border-radius:0;box-shadow:none}
.vehicle-picker::backdrop{background:rgb(0 0 0/.18);backdrop-filter:none;-webkit-backdrop-filter:none}
.vehicle-picker .vehicle-results{order:0;flex:1;min-height:0;height:auto;overflow-y:auto;overscroll-behavior:contain;padding:0}
.vehicle-picker .vehicle-search-entry{order:1;position:static;flex:0 0 32px;min-height:32px;width:100%;max-width:none;margin:0;background:var(--bg);border:0;box-shadow:none}

/* Quiet typography and aligned filmstrips, without adding panel chrome. */
.vehicle-row-photos .vehicle-copy{padding:2px 3px;gap:2px}
.vehicle-row-photos .vehicle-copy strong{font-weight:500;letter-spacing:-.015em;text-wrap:pretty}
.vehicle-row-photos .vehicle-copy span{font-variant-numeric:tabular-nums;letter-spacing:-.01em}
.vehicle-row-photos .vehicle-copy small{font-size:6.8px;line-height:9px;opacity:.8}
.vehicle-choice{padding:1px 0}
.vehicle-choice:first-child{padding-top:0}
.vehicle-choice:last-child{padding-bottom:0}
.vehicle-picker .vehicle-search-entry{padding-inline:8px}
.vehicle-search-entry .vehicle-search-toggle{display:grid;place-items:center;color:var(--muted)}
.vehicle-search-entry .vehicle-search-toggle svg{width:17px;height:17px;stroke-width:1.35}
.vehicle-picker input::-webkit-search-cancel-button{-webkit-appearance:none}
@media(min-width:768px){.vehicle-picker[open]{width:min(900px,calc(100vw - 64px));height:min(84dvh,800px)}}
/* The dialog backdrop lives in the top layer: give each OS theme its own ink. */
.vehicle-picker::backdrop{background:rgba(0,0,0,.18);color-scheme:light}
@media(prefers-color-scheme:dark){.vehicle-picker::backdrop{background:rgba(0,0,0,.5);color-scheme:dark}}

.vehicle-search-entry .vehicle-search-toggle{color:var(--icon-ink)}

/* Frosted search surface. Content scrolls underneath; controls keep their geometry. */
.vehicle-picker .vehicle-results{margin-bottom:-32px;padding-bottom:32px}
.vehicle-picker .vehicle-search-entry{position:relative;left:auto;right:auto;bottom:auto;z-index:3;background:rgb(var(--bg-rgb)/.72);border-radius:0;-webkit-backdrop-filter:blur(20px) saturate(1.4);backdrop-filter:blur(20px) saturate(1.4);box-shadow:inset 0 1px 0 rgb(var(--fg-rgb)/.06)}
.vehicle-picker .vehicle-search-entry header,.vehicle-picker .vehicle-search-entry input{background:transparent}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.vehicle-picker .vehicle-search-entry{background:var(--bg)}}
@media(prefers-reduced-transparency:reduce){.vehicle-picker .vehicle-search-entry{background:var(--bg);-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none}}
