/* Guardian Halo+ — help page (car.html): phone + car screen.
   Loaded after site.css, only by this page. Mobile first: the person reading is
   standing next to their car with a phone, so the first screen is three big
   choices and nothing else. No motion, no scripts needed to read it. */

.car{background:var(--cream)}
.car-in{max-width:calc(760px + 2 * var(--gut))}
.car h2{font-size:clamp(25px,3.4vw,34px); letter-spacing:-.02em; margin:0 0 14px}
.car h3{font-size:clamp(19px,2vw,22px); margin:30px 0 10px}
.car p{font-size:16.5px; line-height:1.66; color:var(--ink-3); margin:0 0 14px}
.car p a:not(.btn), .car li a, .car .a a{color:var(--primary-ink); text-decoration:underline; text-underline-offset:2px}
.car li{font-size:16.5px; line-height:1.62; color:var(--ink-3)}

/* ------------------------------------------------------------------ first screen */
.car-hd{padding:clamp(22px,4vw,48px) 0 clamp(30px,4vw,54px); background:linear-gradient(170deg,#DCF9A2 0%,#C4F4DE 30%,#D9F1FF 52%,var(--cream) 80%); border-bottom:1px solid var(--line)}
.crumb{font:700 14px/1 var(--body); margin:0 0 14px!important; color:var(--ink-4)}
.crumb a{color:var(--ink-3)!important; text-decoration:none!important}
.car-hd h1{font-size:clamp(28px,5.2vw,44px); letter-spacing:-.028em; margin:0 0 22px}
/* ---- which setup: three picture cards (2026-11-10) ----
   Each card leads with a drawing of the phone and the car screen and how they are joined, so a driver
   can find their car by picture. Setup C is the same shape in blush, because it is just as likely to
   be someone's car. Hover lifts and darkens the border; it no longer floods the card with lime. */
.choose-p{margin:0 0 16px!important; font-size:16px!important; color:var(--ink-3)}
.setups{list-style:none; margin:0; padding:0; display:grid; gap:12px}
.setups > li{display:grid}   /* so the three cards share one height */
.setup{
  display:grid; grid-template-columns:clamp(96px,30%,132px) minmax(0,1fr);
  background:var(--card); border:1.5px solid var(--line); border-radius:var(--r); overflow:hidden;
  box-shadow:var(--sh-1); text-decoration:none!important; color:var(--ink)!important;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.setup:hover, .setup:focus-visible{transform:translateY(-3px); box-shadow:var(--sh-2); border-color:var(--primary-ink)}
.setup.is-no:hover, .setup.is-no:focus-visible{border-color:var(--lost-ink)}
.setup-fig{display:grid; place-items:center; padding:10px 8px; background:linear-gradient(135deg,#E2FBA0,#C2F3E6)}
.setup.is-no .setup-fig{background:linear-gradient(135deg,#FFE4E1,#FFEFE2)}
.setup-fig svg{display:block; width:100%; height:auto; max-width:210px}
.setup-body{display:flex; flex-direction:column; padding:13px 14px 14px; min-width:0}
.setup-top{display:flex; flex-wrap:wrap; align-items:center; gap:6px 10px; margin-bottom:7px}
.setup-n{font:600 17px/1.15 var(--display); color:var(--ink)}
.setup-top .badge{padding:3px 9px; font-size:12.5px}
.setup-t{font:700 16.5px/1.32 var(--body); color:var(--ink)}
.setup-p{display:none; font-size:15px; line-height:1.5; color:var(--ink-3); margin-top:7px}
/* zh: a narrow column would split words like 自｜己, so break at punctuation and spaces */
:lang(zh) .setup-t, :lang(zh) .setup-p, :lang(zh) .choose-p{word-break:keep-all; overflow-wrap:anywhere}
@media (min-width:720px){
  .setups{grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px}
  .setup{grid-template-columns:minmax(0,1fr); grid-template-rows:auto 1fr}
  .setup-fig{padding:16px 18px 12px}
  .setup-body{padding:14px 16px 18px}
  .setup-p{display:block}
}
/* the drawing */
.setup-fig .f-nd{fill:var(--card); stroke:var(--ink-2); stroke-width:2.6}
.setup-fig .f-island{fill:var(--ink-2)}
.setup-fig .f-home{fill:none; stroke:var(--ink-2); stroke-width:2.2; stroke-linecap:round}
.setup-fig .f-knob{fill:var(--card); stroke:var(--ink-2); stroke-width:2.1}
.setup-fig .f-keys{fill:none; stroke:var(--ink-2); stroke-width:3.2; stroke-linecap:round}
.setup-fig .f-app{fill:var(--line-2)}
.setup-fig .f-gh{fill:var(--primary)}
.setup-fig .f-cable, .setup-fig .f-air, .setup-fig .f-hot{display:none}
.setup-fig .f-cable path{fill:none; stroke:var(--ink); stroke-width:4.6; stroke-linecap:round}
.setup-fig .f-cable rect{fill:var(--ink)}
.setup-fig .f-air{fill:none; stroke:var(--ink-3); stroke-width:2.6; stroke-linecap:round}
.setup-fig .f-hot-bg{fill:var(--primary); stroke:var(--card); stroke-width:3}
.setup-fig .f-hot-w{fill:none; stroke:var(--ink); stroke-width:2.6; stroke-linecap:round}
.setup-fig .f-hot-d{fill:var(--ink)}
.setup-fig .f-hot-x{display:none; stroke:var(--danger); stroke-width:3.4; stroke-linecap:round}
.setup.is-usb .f-cable{display:block}
.setup.is-hot .f-air, .setup.is-hot .f-hot, .setup.is-no .f-air, .setup.is-no .f-hot{display:block}
.setup.is-no .f-hot-bg{fill:var(--card)}
.setup.is-no .f-hot-w{stroke:var(--ink-4)}
.setup.is-no .f-hot-d{fill:var(--ink-4)}
.setup.is-no .f-hot-x{display:block}

/* ---- once you're connected: one quiet list, not three coloured boxes ---- */
.car-hd .facts-h{margin-top:clamp(32px,4.5vw,46px)!important}
.facts{list-style:none; margin:0; padding:0; background:var(--card); border:1px solid var(--line); border-radius:var(--r)}
.fact{display:grid; grid-template-columns:40px minmax(0,1fr); gap:14px; align-items:start; padding:15px 18px}
.fact + .fact{border-top:1px solid var(--line)}
.fact p{margin:0!important; font-size:15.5px!important; line-height:1.55; color:var(--ink-3)}
.fact b{color:var(--ink)}
.fact-ic{width:40px; height:40px; display:grid; place-items:center}
.fact-ic .ic{width:20px; height:20px}
/* all three share the ring; only the safety glyph keeps its amber, as the one caution in the list */
.fact.is-safe .fact-ic{color:var(--occluded-ink)}

.car-links{margin:18px 0 0!important; display:flex; flex-wrap:wrap; gap:6px 18px; font-size:16px!important}
.car-links a{font-weight:700}

.car .note{max-width:none; margin-top:14px}
.car .note p{margin:0; font-size:15.5px}
.car .note:first-of-type{margin-top:22px}
.note-warn{border-left-color:var(--occluded)!important; background:var(--occluded-wash)}
.note-warn .ic{color:var(--occluded-ink)}

/* collapsible helpers under the cards */
.fold{margin-top:12px; background:var(--card); border:1px solid var(--line); border-radius:var(--r-sm)}
.fold summary{cursor:pointer; list-style:none; padding:14px 46px 14px 16px; font:700 15.5px/1.4 var(--body); color:var(--ink); position:relative; min-height:44px}
.fold summary::-webkit-details-marker{display:none}
.fold summary::after{content:""; position:absolute; right:18px; top:50%; width:9px; height:9px; margin-top:-6px; border-right:2.5px solid var(--primary-ink); border-bottom:2.5px solid var(--primary-ink); transform:rotate(45deg); transition:transform .2s ease}
.fold[open] summary::after{transform:rotate(-135deg); margin-top:-2px}
.fold > p{padding:0 16px 14px; margin:0; font-size:15.5px}

/* ------------------------------------------------------------------ sections */
.car-sec{padding:clamp(34px,5vw,60px) 0; border-bottom:1px solid var(--line)}
.car-sec:nth-of-type(even){background:var(--card)}
.car-back{display:flex; flex-wrap:wrap; gap:8px 22px; margin-top:22px!important; font-size:15.5px!important}
.car-back a{font-weight:700}
.small-lead{font-weight:700; color:var(--ink-2)!important}
.sub-note{font-size:15.5px!important; color:var(--ink-4)!important; margin:6px 0 0!important}
.gloss-p{font-size:15.5px!important}
.gloss{color:var(--ink-3); font-size:.94em}

/* the app's own words: chips for labels, a quiet block for whole sentences.
   A chip that wraps is sliced, not cloned: cloning gave every line fragment its
   own 7px padding, which line breaking doesn't budget for, so a chip ending a
   line poked 5-8px past the column on a 320-375px phone. */
.ui{font-weight:700; color:var(--ink); background:var(--card-2); border:1px solid var(--line-2); border-radius:6px; padding:1px 7px; overflow-wrap:anywhere}
.uiq{display:block; margin:8px 0 2px; padding:8px 12px; border-left:3px solid var(--line-2); background:var(--card-2); border-radius:0 8px 8px 0; font-style:normal; color:var(--ink-2); overflow-wrap:break-word; quotes:none}
.uiq::before, .uiq::after{content:none}

/* ------------------------------------------------------------------ steps */
.howto{list-style:none; counter-reset:hw; margin:14px 0 6px; padding:0; display:grid; gap:10px}
.howto > li{counter-increment:hw; position:relative; padding:14px 16px 14px 58px; background:var(--card); border:1px solid var(--line); border-radius:var(--r-sm)}
.howto > li::before{content:counter(hw); position:absolute; left:14px; top:12px; width:32px; height:32px; border-radius:50%; background:var(--aurora-tile); color:var(--tile-ink); font:700 16px/32px var(--display); text-align:center}
.howto-0{counter-reset:hw -1}
.ticks{list-style:none; margin:10px 0; padding:0; display:grid; gap:8px}
.ticks > li{position:relative; padding-left:28px}
.ticks > li::before{content:""; position:absolute; left:2px; top:.5em; width:12px; height:7px; border-left:3px solid var(--primary-ink); border-bottom:3px solid var(--primary-ink); transform:rotate(-45deg)}
.check-box{background:var(--aurora-soft); border:1px solid var(--primary-t2); border-radius:var(--r-sm); padding:14px 16px; margin:16px 0}
.check-box b{display:block; color:var(--ink); margin-bottom:4px}
.check-box p{margin:0}

/* ------------------------------------------------------------------ topology diagrams */
.topos{display:grid; gap:16px; margin:22px 0 10px}
@media (min-width:900px){ .topos{grid-template-columns:1fr 1fr} }
.topo{margin:18px 0; padding:14px; background:var(--card); border:1px solid var(--line); border-radius:var(--r); max-width:520px}
.topos .topo{margin:0}
.topo svg{display:block; width:100%; height:auto}
.topo figcaption{display:block; margin-top:8px; font-size:15.5px; line-height:1.5; color:var(--ink-3)}
.topo figcaption b{display:block; color:var(--ink); font-size:16px; margin-bottom:3px}
.topo .ln{fill:none; stroke:var(--ink-2); stroke-width:2.5; stroke-linecap:round}
.topo .nd{fill:var(--card); stroke:var(--ink-2); stroke-width:2.5}
/* the Guardian Halo+ unit, drawn as JET's 2D line icon (2026-10-29) */
.topo .dev-body{fill:var(--card); stroke:var(--ink); stroke-width:2.5}
.topo .dev-rim, .topo .dev-ring, .topo .dev-win{fill:none; stroke:var(--ink); stroke-width:1.4}
.topo .dev-lens{fill:var(--ink)}
.topo .dev-glint{fill:var(--card)}
.topo .dev-dash{stroke:var(--ink); stroke-width:1.4; stroke-linecap:round}
.topo .ph-island{fill:var(--ink-2)}
.topo .ph-home{stroke:var(--ink-2); stroke-width:1.6; stroke-linecap:round}
.topo .app{fill:var(--line-2)}
.topo .app-gh{fill:var(--primary)}
.topo .knob{fill:var(--card); stroke:var(--ink-2); stroke-width:2.2}
.topo .keys{fill:none; stroke:var(--ink-2); stroke-width:3.4; stroke-linecap:round}
.topo .t{font:600 16px var(--body); fill:var(--ink-2)}
.topo .t-n{font-weight:700; fill:var(--ink)}
.topo .t-sub{font:500 11px var(--body); fill:var(--ink-4)}
.topo .x{display:none; stroke:var(--danger); stroke-width:3; stroke-linecap:round}
.topo.is-blocked .l-cam{stroke:var(--ink-4); stroke-dasharray:5 7}
.topo.is-blocked .x{display:block}
.topo.is-usb .l-car{stroke:var(--ink); stroke-width:5}
.topo.is-switch .l-car{stroke:var(--ink-4); stroke-dasharray:5 7}

/* ------------------------------------------------------------------ the app screens, reprinted as HTML */
.shots{display:grid; gap:14px; margin:18px 0}
@media (min-width:700px){ .shots{grid-template-columns:repeat(3,1fr)} }
.uiscreen{margin:0; background:#202124; color:#F2F2F4; border-radius:var(--r); padding:14px; display:flex; flex-direction:column; gap:10px; min-width:0}
.uiscreen figcaption{font:700 13px/1.3 var(--body); letter-spacing:.06em; text-transform:uppercase; color:#C9C9D2}
.uicard{background:#2C2D31; border-radius:14px; padding:14px; display:grid; gap:10px}
.uicard-t{font:700 15.5px/1.3 var(--body)}
.uifield{display:grid; gap:4px}
.uifield span{font-size:14px; color:#C9C9D2}
.uifield i{font-style:normal; font-size:15px; background:#3A3B40; border-radius:10px; padding:9px 11px; overflow-wrap:anywhere}
.uibtns{display:flex; gap:8px}
.uibtns span{flex:1; text-align:center; padding:10px 6px; border-radius:10px; background:#3A3B40; font:700 14.5px/1.2 var(--body)}
.uibtns .pri{background:var(--app-lime); color:var(--app-lime-fg)}
.uistatus{background:#2C2D31; border-radius:12px; padding:12px; display:grid; gap:6px; font-size:15px; line-height:1.45}
.uistatus .k{font-size:14px; color:#C9C9D2}
.uistatus b{display:flex; gap:8px; align-items:flex-start; font-weight:700}
.uistatus .ic{width:18px; height:18px; flex:none; margin-top:2px}
.uistatus.ok b{color:var(--app-lime)}
.uistatus.err b{color:#FF8A82}
.uilink{color:var(--app-lime)!important; font-weight:700; font-size:15px}

/* ------------------------------------------------------------------ RAV4: model years only (2026-11-10) */
.rv{list-style:none; padding:0; margin:16px 0 0; display:grid; gap:10px; grid-template-columns:repeat(auto-fill,minmax(210px,1fr))}
.rv li{margin:0; padding:13px 16px; background:var(--cream); border:1px solid var(--line); border-radius:var(--r-sm); font:700 16.5px/1.35 var(--body); color:var(--ink); scroll-margin-top:96px}
.rv li:target{outline:3px solid var(--primary-t2)}

/* ------------------------------------------------------------------ troubleshooting + questions */
.qa{display:grid; gap:10px; margin-top:14px}
.qa-i{background:var(--card); border:1px solid var(--line); border-radius:var(--r-sm); scroll-margin-top:96px}
.qa-i[open]{border-color:var(--primary-t2); box-shadow:var(--sh-1)}
.qa-i summary{cursor:pointer; list-style:none; padding:15px 48px 15px 16px; font:700 16.5px/1.4 var(--body); color:var(--ink); position:relative; min-height:48px}
.qa-i summary::-webkit-details-marker{display:none}
.qa-i summary::after{content:""; position:absolute; right:18px; top:50%; width:9px; height:9px; margin-top:-6px; border-right:2.5px solid var(--primary-ink); border-bottom:2.5px solid var(--primary-ink); transform:rotate(45deg); transition:transform .2s ease}
.qa-i[open] summary::after{transform:rotate(-135deg); margin-top:-2px}
.qa-i .a{padding:0 16px 14px}
.qa-i .a p:last-child{margin-bottom:0}
.qa-i:target{outline:3px solid var(--primary-t2)}

.car-help{background:var(--aurora)!important; border-bottom:0; --ink-4:var(--ink-3); --line:rgba(20,60,50,.16)}

@media (prefers-reduced-motion:reduce){ .setup, .fold summary::after, .qa-i summary::after{transition:none} }

/* ==========================================================================
   2026-10-14 · realigned with JET's official user guide (Setup A / B / C)
   ========================================================================== */
.car-hd .eyebrow{margin-bottom:12px}
.car-hd h1{margin-bottom:8px}
.car-lede{font-size:clamp(17px,2vw,19px)!important; margin-bottom:18px!important}
.choose-h{font-size:clamp(19px,2.4vw,22px)!important; margin:0 0 12px!important}
/* hero picture between the lede and the three choices (2026-10-28) */
.car-shot{margin:0 0 clamp(22px,3vw,30px); border-radius:var(--r); overflow:hidden; box-shadow:var(--sh-2); background:var(--line)}
.car-shot img, .car-shot video{display:block; width:100%; height:auto; aspect-ratio:16/9; object-fit:cover}
/* zh h1 breaks after punctuation only: on phones it split 「留｜意」 */
:lang(zh) .car-hd h1{word-break:keep-all; overflow-wrap:anywhere}
.badge{display:inline-flex; align-items:center; gap:6px; padding:5px 11px; border-radius:var(--pill); font:700 13.5px/1.2 var(--body); vertical-align:middle; white-space:nowrap}
.badge .ic{width:14px; height:14px}
.badge.ok{background:var(--aurora-chip); color:var(--primary-ink); border:1px solid transparent}
.badge.no{background:var(--lost-wash); color:var(--lost-ink); border:1px solid var(--lost-soft)}
.car h2 .badge{font-size:13.5px; margin-left:6px; position:relative; top:-3px}

.boxes{display:grid; gap:12px; margin:16px 0}
@media (min-width:760px){ .boxes{grid-template-columns:1fr 1fr} }
.box{background:var(--card); border:1px solid var(--line); border-radius:var(--r-sm); padding:14px 16px}
.box.good{background:var(--aurora-soft); border-color:var(--primary-t2)}
.box b{display:block; color:var(--ink); margin-bottom:6px}
.box p{margin:0}
.two{display:grid; gap:4px 28px}
@media (min-width:760px){ .two{grid-template-columns:1fr 1fr} }
.before{background:var(--onboard-wash); border:1px solid var(--onboard-soft); border-radius:var(--r-sm); padding:14px 16px; margin:8px 0 16px}
.before b{color:var(--ink)}

/* Setup B: the app's four screens, in order */
.mocks{list-style:none; counter-reset:mk; margin:0 0 18px; padding:0; display:grid; gap:14px; grid-template-columns:1fr 1fr}
@media (min-width:900px){ .mocks{grid-template-columns:repeat(4,1fr)} }
.mocks > li{counter-increment:mk; position:relative; display:flex; flex-direction:column; gap:8px; min-width:0}
.mocks > li::before{content:counter(mk); position:absolute; left:-6px; top:-8px; z-index:1; width:28px; height:28px; border-radius:50%; background:var(--aurora-tile); color:var(--tile-ink); font:700 15px/28px var(--display); text-align:center; box-shadow:var(--sh-1)}
.mocks p{font-size:14.5px!important; line-height:1.45!important; margin:0!important; color:var(--ink-3)}
.mock{background:#202124; color:#F2F2F4; border-radius:16px; padding:10px; flex:1; display:flex; align-items:center}
.mock > div{width:100%}
/* minmax(0,1fr): without it the column grows to the widest child, and on a
   320px phone (two mocks abreast, ~84px inside a card) the button row pushed
   the SSID card past its frame */
.m-card, .m-sheet, .m-set{background:#2C2D31; border-radius:12px; padding:11px; display:grid; grid-template-columns:minmax(0,1fr); gap:7px}
.m-t{font:700 14px/1.3 var(--body); text-align:center}
.m-f{display:grid; gap:3px}
.m-f span{font-size:12.5px; color:#C9C9D2}
.m-f i{font-style:normal; font-size:13px; background:#3A3B40; border-radius:8px; padding:6px 8px; overflow-wrap:anywhere}
/* side by side as in the app; stacked only when the mock is too narrow for
   both (Cancelar / Confirmar below ~900px, any locale on a 320-360px phone) */
.m-btns{display:flex; flex-wrap:wrap; gap:6px}
.m-btns span{flex:1 1 auto; min-width:0; text-align:center; padding:7px 4px; border-radius:8px; background:#3A3B40; font:700 12.5px/1.2 var(--body)}
.m-sheet p{font-size:12.5px!important; line-height:1.4!important; color:#C9C9D2!important; text-align:center; margin:0!important}
.m-sheet > span{text-align:center; padding:7px 4px; border-radius:8px; background:#3A3B40; font:700 12.5px/1.2 var(--body)}
.m-btns .pri, .m-sheet .pri{background:var(--app-lime); color:var(--app-lime-fg)}
.m-g{font:700 13px/1.3 var(--body); color:var(--app-lime)}
.m-row{display:flex; align-items:center; justify-content:space-between; gap:8px; font-size:13px; font-weight:700}
.m-row.m-col{flex-direction:column; align-items:flex-start; gap:2px}
.m-row small{font-size:12px; font-weight:400; color:#C9C9D2}
.m-tog{width:30px; height:18px; border-radius:9px; background:var(--app-lime); position:relative; flex:none}
.m-tog::after{content:""; position:absolute; right:2px; top:2px; width:14px; height:14px; border-radius:50%; background:#fff}
.m-status{background:#3A3B40; border-radius:8px; padding:7px 9px; display:grid; gap:3px; font-size:13px}
.m-status .k{font-size:12px; color:#C9C9D2}
.m-status b{display:flex; gap:6px; align-items:flex-start}
.m-status .ic{width:15px; height:15px; flex:none; margin-top:1px}
.m-status.ok b{color:var(--app-lime)}
.m-status.err b{color:#FF8A82}
.fail{background:#202124; border-radius:var(--r-sm); padding:12px; margin:16px 0; display:grid; gap:8px; max-width:420px}
.fail > b{color:#F2F2F4; font-size:14.5px}
.fail .m-status{font-size:14.5px}
.fail a{color:var(--app-lime)!important; font-weight:700; font-size:15px}

/* topology: Setup B — everyone on the car's hotspot */
.topo .l-hot, .topo .waves{display:none}
.topo .waves{fill:none; stroke:var(--primary-ink); stroke-width:2.5; stroke-linecap:round}
.topo.is-hotspot .l-cam{display:none}
.topo.is-hotspot .l-hot, .topo.is-hotspot .waves{display:block}
.m-row span{min-width:0; overflow-wrap:anywhere}
