/* Garacast, the drivers' application: its own rules (2026-11-10), loaded after the shared sheet. His home is his car under the
   garage's light: the stage, his car as a line under it, one state with one gold button, then the rest as lines. */

/* the stage: his car, as wide as the screen and 56 percent as tall, never under 200 nor over 300, on the floor's own dark */
.stage{position:relative;width:100%;aspect-ratio:100/56;min-height:200px;max-height:300px;border-radius:20px;background:var(--bg2);overflow:hidden}
.stage[hidden]{display:none}
.stage .car3d{position:absolute;inset:0;margin:0;aspect-ratio:auto}
/* the lights come up once the car is in: a veil of the page's black at 85 percent that leaves in 900 ms, on the passage's curve */
.stage::after{content:"";position:absolute;inset:0;background:var(--bg);opacity:.85;pointer-events:none;transition:opacity 900ms cubic-bezier(.23,1,.32,1)}
.stage.lit::after{opacity:0}
@media (prefers-reduced-motion:reduce){.stage::after{transition:none}}
/* a car the page cannot draw: its maker's emblem at 72, centred on a stage 120 tall, in the light of a car received */
.stage.flat{aspect-ratio:auto;height:120px;min-height:0;display:grid;place-items:center;color:var(--st-in)}
.stage.flat::after{display:none}
.stage.flat svg{fill:currentColor}
/* the emblem is said once: while it stands on the low stage, his vehicle's line under it carries no second, smaller one */
.stage.flat + .home-slot > .home-car{grid-template-columns:minmax(0,1fr) auto}
.stage.flat + .home-slot > .home-car .vl-mk{display:none}
/* a maker with no emblem: the line drawing of a car takes the emblem's 72, stroked, never filled */
.stage.flat svg.ln{width:72px;height:72px;fill:none}

/* the one state under his car */
.now{display:grid;gap:12px;margin-top:12px}
.now > *{margin:0}
.now a.gold,.now a.ghost{text-decoration:none}
.now-st span{color:var(--mute);font-weight:400}
.now-line{font:600 17px/1.25 var(--body)}
/* a sentence that asks him to come or to pay: in ink, at the vehicle line's 17, spaced as the new driver's lines */
.now-say{font:500 17px/1.4 var(--body);color:var(--ink)}
.now-sub{font-size:14px;line-height:1.35;color:var(--mute)}
.now-live{display:grid;gap:12px}
.now-live > *{margin:0}
.now-live .steps{margin:0}
.now-who b{font:600 17px/1.25 var(--body)}
.now-when{font-size:15px;font-variant-numeric:tabular-nums}
.now-when:empty{display:none}
.now-live .word{font-size:15px;line-height:1.45}
.now-live .word small{margin-right:8px;color:var(--mute);font-variant-numeric:tabular-nums}
.now-live.off .word{color:var(--mute)}
.now .filebtn{margin-top:0}
/* a new driver: three lines, each its line drawing at 24 in the light of a car received, 12 before its sentence, 14 between two */
.now-how{display:grid;gap:14px}
.now-how p{display:flex;align-items:center;gap:12px;margin:0;font:400 16px/1.4 var(--body)}
.now-how svg{flex:none;width:24px;height:24px;color:var(--st-in)}
.home-low{margin-top:var(--gap-out)}

/* a visit as a vehicle line by its date: the day over the month in the hour's column; a state the line did not have yet */
.vl-d{display:flex;flex-direction:column;align-items:flex-start}
.vl-d small{font-size:13px}
/* a visit's second line folds, it is never cut */
.vl.visit .vl-s{white-space:normal}
.vl-st.done{color:var(--mute)}
.vl-st.off{color:#ff9c8a}.vl-st.off::before{background:#ff9c8a}
/* a conversation as a person line: its last line on one line, in ink while unread */
.pl.chat .pl-s{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pl.chat.unread .pl-s{color:var(--ink)}

/* a sheet enters in 300 ms and leaves as it came, in 180 ms (an exit is faster than an entrance); a notice leaves the same way */
.sheet-in{animation-duration:300ms}
.sheet-in.out,.toast.out{animation:gc-down 180ms var(--ease) both}
@keyframes gc-down{from{transform:none;opacity:1}to{transform:translateY(40px);opacity:0}}
@media (prefers-reduced-motion:reduce){.sheet-in.out,.toast.out{animation:none}}
/* an error's empty line takes no room */
.err:empty{display:none}
/* a news post's pictures: the file's own grid, wherever they stand */
.photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:8px}
.photos figure{margin:0}.photos img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px;display:block;background:#1b1b1e}
.photos figcaption{font-size:13px;color:var(--mute);margin-top:4px}

/* « C'est réservé. » (2026-11-11): left, as his home, on the home's own stage; the title 24 under the stage, the hour as the screen's one
   figure (Jost 300 at 40, tabular, as a figure that is a screen's subject) 16 under the title, the day and the garage 8 under it in Jost
   15 and the quiet ink; the recap 24 under that; the hint above the gold in Jost 13; every figure tabular */
.booked{font-variant-numeric:tabular-nums}
.booked h1{margin:24px 0 0}
.booked-hour{margin:16px 0 0;font:300 40px/1 var(--body);font-variant-numeric:tabular-nums;color:var(--ink)}
.booked-day{margin:8px 0 0;font-size:15px;color:var(--mute)}
.booked .bk-recap{text-align:left}
.booked .booked-day + .bk-recap{margin-top:24px}
.booked .booked-hint{margin:16px 0 12px;font-size:13px;text-align:left;color:var(--mute)}
/* the room under its last button for the fixed tabs, with 24 between them: the tabs stand 8 + 6 + 30 + 4 + a 13 px word's line (20
   at the most) + 6 = 74 tall, plus max(10, the phone's own bottom inset); the page already leaves 96 + that inset under every view
   (.app), so the screen adds what is missing (12 on a screen with no inset, 2 on a phone with one) */
.booked{padding-bottom:calc(74px + max(10px, env(safe-area-inset-bottom, 0px)) + 24px - 96px - env(safe-area-inset-bottom, 0px))}
/* Alive warm-obsidian & champagne-gold visual depth for driver news feed & cards (2026-11-30; zero left accent borders) */
.feed-card,.news-card,.vt-post{background:linear-gradient(180deg,rgba(30,29,27,.95) 0%,rgba(18,18,20,.98) 100%);border:1px solid rgba(244,239,226,.09);box-shadow:0 14px 40px rgba(0,0,0,.32)}
.rowc{border:1px solid rgba(244,239,226,.065);background:linear-gradient(180deg,rgba(255,255,255,.045) 0%,rgba(255,255,255,.018) 100%);transition:transform .2s var(--ease),border-color .2s,background .2s}
.rowc:active{transform:scale(.988)}
@media (hover:hover) and (pointer:fine){.rowc:hover{border-color:rgba(212,175,55,.28);background:linear-gradient(180deg,rgba(212,175,55,.09) 0%,rgba(255,255,255,.025) 100%)}}
/* Precision 5-star fractional meter, Verified Garage seal & Surfaced AI Assistant quick-connect card (2026-12-02) */
.gc-stars{display:inline-flex;align-items:center;gap:1.5px;flex:none;vertical-align:-2px}
.gc-star-svg{display:block;flex:none}
.gc-star-track{fill:rgba(244,239,226,.18)}
.gc-star-fill{fill:#D4AF37}
.gc-vbadge{display:inline-flex;align-items:center;gap:4px;flex:none}
.gc-vbadge svg{display:block;flex:none}
.gc-vbadge-seal{fill:#D4AF37}
.gc-vbadge-tick{stroke:#0A0A0B}
.gc-row-name{display:inline-flex;align-items:center;gap:6px;min-width:0}
.gc-row-stars{display:inline-flex;align-items:center;gap:5px;margin-top:3px;font-variant-numeric:tabular-nums}
.gc-row-stars strong{font:600 13px/1.2 var(--body);color:var(--ink)}
.gc-row-stars small{font:400 12.5px/1.2 var(--body);color:var(--mute)}
.home-ai-card{margin:18px 0 4px;padding:18px;border-radius:20px;background:radial-gradient(ellipse at 14% 0%,rgba(212,175,55,.15) 0%,rgba(244,239,226,.04) 65%)}
.home-ai-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 10px}
.home-ai-icons{display:flex;align-items:center;gap:6px}
.home-ai-tag{padding:4px 9px;border-radius:999px;background:rgba(212,175,55,.16);color:#F3D97E;font:600 11px/1.1 var(--body);letter-spacing:.04em}
.home-ai-t{display:block;font:500 16px/1.3 var(--body);color:var(--ink);margin:0 0 4px}
.home-ai-s{margin:0 0 12px;font-size:13.5px;line-height:1.45;color:var(--mute)}
.home-ai-acts{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
/* Official Google Sign-In button matching Apple button geometry (2026-12-02) */
.google-btn{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:52px;margin:8px 0 4px;padding:0 18px;border:1px solid rgba(255,255,255,.16);border-radius:14px;background:#131316;color:#f4efe2;font:500 17px/1 -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;letter-spacing:-.01em;cursor:pointer;transition:background .18s,border-color .18s}
.google-btn:hover{background:#1b1b20;border-color:rgba(255,255,255,.28)}
.google-btn svg{width:18px;height:18px;flex:none}
.google-btn:disabled{opacity:.6}

