/* WrenchPal website layout. Loaded after the app's own CSS (css/app.css + css/v3/*), so it reuses the app's
   colour tokens (--v-*), Manrope, and every reused component (v-btn, v-token, sheets, 3D viewer, toolbox, part card).
   Rules, same as the app: content sits on the background; lists use hairlines; only three surface tiers
   (flat rows, filled --v-surface, floating --v-surface + one shadow) plus dark-glass HUD controls over the black 3D stages.
   Headings are Manrope 600, labels are sentence case, cyan is for text links only. Classes start with "w-". */

:root {
  --w-max: 1240px;
  --w-gut: 32px;
  --w-top-h: 60px;
  --w-r: 20px;         /* fields, cards, popovers, panels */
  --w-r-sm: 14px;      /* inner rows: menu rows, steps, specs, link rows */
  --w-r-stage: 24px;   /* the 3D stages */
  --w-panel: var(--v-surface);
  --w-line: var(--v-sep);
  --w-glass: rgba(28, 28, 30, 0.72);
  --w-glass-ink: rgba(235, 235, 245, 0.78);
  --w-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.6), 0 2px 6px rgba(0, 0, 0, 0.18);
  --w-fast: 140ms;
  --w-med: 220ms;
  --w-ease: var(--v-ease);
  --w-ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --w-s1: 8px; --w-s2: 16px; --w-s3: 24px; --w-s4: 40px; --w-s5: 64px; --w-s6: 96px;
  --v-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
@media (max-width: 1100px) { :root { --w-gut: 24px; } }
@media (max-width: 600px) { :root { --w-gut: 16px; --w-top-h: 56px; } }
@media (prefers-color-scheme: light) {
  :root { --w-shadow: 0 24px 60px -24px rgba(16, 20, 26, 0.25), 0 2px 6px rgba(16, 20, 26, 0.06); }
  .w-codebar, .w-search { background: var(--v-surface-2); }
}

/* the app locks the page for its phone shell; a website scrolls normally */
html, body.web { height: auto; min-height: 100%; }
body.web {
  overflow: auto; overflow-x: hidden; overscroll-behavior: auto;
  background: linear-gradient(180deg, var(--v-grad-top) 0, var(--v-grad-bottom) 640px) no-repeat, var(--v-grad-bottom);
  color: var(--v-text); font-family: var(--v-font); letter-spacing: 0;
}
.w-boot { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 14px; color: var(--v-text-2); }
.w-shell { min-height: 100vh; display: flex; flex-direction: column; }
.w-view { flex: 1; }
.w-wrap { width: 100%; max-width: var(--w-max); margin: 0 auto; padding: 0 var(--w-gut); }

/* ------------------------------------------------------------------ type */
.w-h1 { font: 600 40px/1.08 var(--v-display); letter-spacing: -0.025em; color: var(--v-text); text-wrap: balance; }
.w-h1.xl { font-size: 52px; line-height: 1.05; letter-spacing: -0.03em; max-width: 24ch; }
.w-h1-sub { display: block; color: var(--v-text-2); font-weight: 600; }
.w-h2, .w-sec-h, .w-gtitle { font: 600 24px/1.2 var(--v-display); letter-spacing: -0.02em; }
.w-h3, .w-gcard-t, .w-cause-t, .w-carcard-t b { font: 600 18px/1.3 var(--v-display); letter-spacing: -0.01em; }
.w-lede { font: 400 18px/1.5 var(--v-font); color: var(--v-text-2); max-width: 52ch; }
.w-muted { color: var(--v-text-2); }
.w-code-plain, .w-verdict-why, .w-check, .w-step-body, .w-pro li { font-size: 16px; line-height: 1.55; }
.w-small, .w-gcard-meta, .w-crumbs, .w-gmeta, .w-cause-s, .w-foot-links a, .w-price-row { font-size: 14px; line-height: 1.5; font-weight: 400; color: var(--v-text-2); }
/* one label style, sentence case */
.w-label, .w-facts dt, .w-k, .w-carpop-k, .w-suprow.head, .w-prow-out, .w-common-k, .w-sec-h small, .w-how-n2, .w-stage-note {
  font: 500 13px/1.3 var(--v-font); letter-spacing: 0; text-transform: none; color: var(--v-text-3);
}
.w-token, .w-chip.mono, .w-code-id, .w-bchip, body.web .v-token { font-family: var(--v-mono); font-weight: 500; letter-spacing: 0.01em; }
.w-code-id { font-size: 22px; }
.w-gcard-meta, .w-gmeta, .w-gpanel-prog, .w-cause-pct, .w-facts dd, .w-price-row b, .w-suprow span, .w-gside-a small, .w-how-n2 { font-variant-numeric: tabular-nums; }
/* bold never heavier than the loaded 600 on website text; mono stays 500 */
body.web b, body.web strong { font-weight: 600; }
.w-how-n2, .w-stage-note { color: var(--v-text-2); }
body.web .v-mono, body.web .v-mono b, body.web b.v-mono, body.web .bchip b, body.web .w-bolts b, body.web .w-code-id, body.web .v-token { font-weight: 500; }
@media (max-width: 860px) { .w-h1.xl { font-size: 44px; } }
@media (max-width: 600px) { .w-h1 { font-size: 32px; } .w-h1.xl { font-size: 38px; } .w-h2, .w-sec-h, .w-gtitle { font-size: 22px; } .w-lede { font-size: 16px; } }

/* ------------------------------------------------------------------ motion */
.w-nav-a, .w-carbtn, .w-carpop-row, .w-chip, .w-sugg-row, .w-tool, .w-seg-b, .w-step, .w-step-n, .w-prow, .w-gside-a, .w-linkrow,
.w-check-box, .w-price-row, .w-foot-links a, .w-crumbs a, .v-link, .w-carcard-main, .w-gcard, .w-cause, .w-codebar, .w-search {
  transition: background var(--w-fast) var(--w-ease), color var(--w-fast) var(--w-ease), box-shadow var(--w-fast) var(--w-ease), transform var(--w-fast) var(--w-ease), opacity var(--w-fast);
}
.v-btn { cursor: pointer; text-decoration: none; transition: transform 180ms var(--v-ease), background 160ms, color 160ms, opacity 160ms; }
.v-btn:hover { background: var(--v-surface-3); }
.v-btn.primary:hover { background: color-mix(in srgb, var(--v-primary) 88%, var(--v-grad-bottom)); }
.v-btn:active, .w-chip:active, .w-tool:active, .w-seg-b:active { transform: scale(0.97); }
.w-tool-range:active { transform: none; }
.v-link:hover, .w-crumbs a:hover, .w-foot-links a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
@keyframes w-pop { from { opacity: 0; transform: translateY(-6px) scale(0.98); } }
@keyframes w-fade-down { from { opacity: 0; transform: translateY(-4px); } }
@keyframes w-token-in { from { opacity: 0; transform: scale(0.85); } }
.w-sugg:not([hidden]), .w-carpop:not([hidden]) { animation: w-pop 160ms var(--w-ease-out) both; transform-origin: top; }
.w-step-body:not([hidden]), .w-pro[open] > ul, .w-symdetails[open] .w-chips, .w-specs[open] .w-facts { animation: w-fade-down 200ms var(--w-ease-out) both; }
.w-xdetail:not([hidden]) { animation: cardUp 0.22s var(--w-ease-out) both; }
.w-token[data-new] { animation: w-token-in 200ms var(--w-ease-out) both; }
.w-symdetails summary .icon svg, .w-pro summary > .icon:last-child svg, .w-carbtn .icon:last-child svg { transition: transform var(--w-med) var(--w-ease); }
.w-symdetails[open] summary .icon svg { transform: rotate(45deg); }
.w-pro[open] summary > .icon:last-child svg { transform: rotate(180deg); }
.w-carbtn[aria-expanded="true"] .icon:last-child svg { transform: rotate(180deg); }
.w-progress i { transition: width 450ms var(--v-ease); }
.w-res-panel, .w-gpanel-steps, .w-plist, .w-xdetail { scrollbar-color: var(--v-surface-3) transparent; }
@media (prefers-reduced-motion: reduce) { .w-token[data-new], .w-sugg:not([hidden]), .w-carpop:not([hidden]) { animation: none; } }

/* ------------------------------------------------------------------ top bar */
.w-top {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--v-grad-top) 90%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--w-line);
}
.w-top-in { max-width: var(--w-max); margin: 0 auto; padding: 0 var(--w-gut); height: var(--w-top-h); display: flex; align-items: center; gap: 36px; }
.w-logo { display: inline-flex; align-items: center; gap: 8px; color: var(--v-text); text-decoration: none; font: 600 17px/1 var(--v-display); letter-spacing: -0.02em; flex: none; }
.w-logo-mark { display: inline-flex; color: var(--v-text); }
.w-nav { display: flex; align-items: center; gap: 20px; flex: 1; }
.w-nav-a { padding: 8px 0; color: var(--v-text-2); text-decoration: none; font: 500 15px/1 var(--v-font); }
.w-nav-a:hover, .w-nav-a.active { color: var(--v-text); }
.w-top-r { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.w-carpick { position: relative; }
.w-carbtn { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px 0 10px; border: 0; border-radius: 999px; background: var(--v-surface-2); color: var(--v-text); font: 500 14px/1 var(--v-font); cursor: pointer; max-width: 300px; }
.w-carbtn:hover { background: var(--v-surface-3); }
.w-carbtn-l { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-carpop { position: absolute; right: 0; top: calc(100% + 8px); width: 320px; padding: 10px; border-radius: var(--w-r); background: var(--v-surface); box-shadow: var(--w-shadow); z-index: 60; }
.w-carpop-k { padding: 6px 10px 8px; }
.w-carpop-row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px; border: 0; border-radius: var(--w-r-sm); background: none; color: var(--v-text); text-align: left; cursor: pointer; }
.w-carpop-row:hover { background: var(--v-surface-2); }
.w-carpop-main { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.w-carpop-main b { font-size: 15px; }
.w-carpop-main small { font-size: 13px; color: var(--v-text-2); }
.w-carpop-note { padding: 0 10px 8px; font-size: 14px; color: var(--v-text-2); line-height: 1.45; }
.w-carpop-foot { display: flex; gap: 8px; padding: 10px 6px 4px; border-top: 1px solid var(--w-line); margin-top: 6px; }

.w-menu { display: none; width: 36px; height: 36px; border: 0; border-radius: 999px; background: none; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.w-menu i { display: block; width: 16px; height: 2px; border-radius: 2px; background: var(--v-text); transition: transform 0.2s, opacity 0.2s; }
.menu-open .w-menu i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .w-menu i:nth-child(2) { opacity: 0; }
.menu-open .w-menu i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .w-top-in { gap: 12px; }
  .w-menu { display: inline-flex; }
  .w-nav { display: none; position: absolute; left: 0; right: 0; top: var(--w-top-h); flex-direction: column; align-items: stretch; gap: 2px; padding: 10px var(--w-gut) 16px; background: var(--v-grad-top); box-shadow: var(--w-shadow); }
  .menu-open .w-nav { display: flex; }
  .w-nav-a { padding: 14px; border-radius: var(--w-r-sm); font-size: 17px; }
  .w-nav-a.active { background: var(--v-surface-2); }
  .w-carbtn { max-width: 200px; }
}
@media (max-width: 480px) {
  .w-carbtn { max-width: 150px; padding: 0 10px; }
  .w-top .w-logo > span:last-child { display: none; }
}

/* ------------------------------------------------------------------ common */
.w-page { padding: 56px 0 96px; }
.w-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.w-stack { display: flex; flex-direction: column; gap: 14px; }
.w-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: var(--w-s4); }
.w-head > div { display: flex; flex-direction: column; gap: 10px; }
.w-empty { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; padding-top: 40px; padding-bottom: 40px; }
.w-crumbs { display: flex; align-items: center; gap: 6px; color: var(--v-text-3); margin-bottom: 14px; }
.w-crumbs a { color: var(--v-text-2); text-decoration: none; }
.w-crumbs a:hover { color: var(--v-text); }
.w-crumbs svg { width: 12px; height: 12px; }
.w-panel { background: var(--v-surface); border-radius: var(--w-r); padding: 24px; }
.w-sec { display: flex; flex-direction: column; gap: 10px; }
.w-sec > .v-link { align-self: flex-start; }
.w-sec + .w-sec { margin-top: 32px; }
.w-sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.w-sec-h a, .w-sec-h .v-link { font-size: 14px; }
.w-small .v-link, .w-codebar-count .v-link, .w-hero-readout .v-link { font-size: inherit; line-height: inherit; }
.w-chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--v-surface-2); color: var(--v-text); font: 500 14px/1 var(--v-font); cursor: pointer; white-space: nowrap; text-decoration: none; }
.w-chip:hover { background: var(--v-surface-3); }
.w-chip[aria-pressed="true"] { background: var(--v-text); color: var(--v-grad-bottom); }
.w-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.w-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; background: var(--v-text-3); }
.w-dot.low { background: var(--v-ok); } .w-dot.medium { background: var(--v-warn); } .w-dot.high { background: var(--v-bad); } .w-dot.critical { background: var(--v-crit); }
.w-badge { font: 500 13px var(--v-font); color: var(--v-text-3); margin-left: 8px; }
.w-disclaimer { margin-top: 8px; max-width: 760px; color: var(--v-text-3); }
.w-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; margin: 4px 0; }
.w-facts > div { display: flex; flex-direction: column; gap: 3px; }
.w-facts dd { margin: 0; font-size: 15px; display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.w-diff { display: inline-flex; gap: 3px; margin-right: 4px; }
.w-diff i { width: 7px; height: 7px; border-radius: 2px; background: color-mix(in srgb, var(--v-text) 16%, transparent); }
.w-diff i.on { background: var(--v-ok); }
.w-diff.d3 i.on { background: var(--v-warn); }
.w-diff.d4 i.on, .w-diff.d5 i.on { background: var(--v-bad); }
.w-help { margin: 12px 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; line-height: 1.5; }
.w-search { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px; border-radius: var(--w-r-sm); background: var(--v-surface); color: var(--v-text-3); width: min(420px, 100%); }
.w-search:focus-within { box-shadow: 0 0 0 1.5px var(--v-text-3); }
.w-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--v-text); font: 500 16px/1 var(--v-font); }
.w-search.sm { height: 44px; padding: 0 14px; width: 100%; }
.w-search.sm input { font-size: 15px; }
.w-k { margin: 0 0 6px; }

/* guide rows (home and Guides share one component) */
.w-gcards.rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.w-gcard { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 16px; padding: 16px 0; border-top: 1px solid var(--w-line); color: var(--v-text); text-decoration: none; }
.w-gcard:hover .w-gcard-t { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.w-gcard-t { font: 500 17px/1.35 var(--v-font); letter-spacing: -0.01em; }
.w-gcard-meta { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; color: var(--v-text-2); }
@media (max-width: 1100px) { .w-gcards.rows { gap: 0 40px; } }
@media (max-width: 760px) { .w-gcards.rows { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .w-gcard { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

/* ------------------------------------------------------------------ footer */
.w-foot { margin-top: auto; box-shadow: 0 -1px 0 var(--w-line); }
.w-foot-in { max-width: var(--w-max); margin: 0 auto; padding: 56px var(--w-gut) 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; }
.w-foot-brand { display: flex; flex-direction: column; gap: 12px; }
.w-foot-brand p { font-size: 14px; color: var(--v-text-2); line-height: 1.5; max-width: 36ch; }
.w-foot-safety { font-size: 13px; line-height: 1.55; color: var(--v-text-2); max-width: 60ch; }
.w-foot-safety strong { color: var(--v-text); }
.w-foot-links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 22px; border-top: 1px solid var(--w-line); }
.w-foot-links a { color: var(--v-text-3); text-decoration: none; font: 500 13px/1 var(--v-font); }
.w-foot-links a:hover { color: var(--v-text); }
.w-foot-fine { grid-column: 1 / -1; font-size: 13px; color: var(--v-text-2); }
.w-shell.is-full .w-foot { display: none; }
@media (max-width: 760px) { .w-foot-in { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------------ stages (3D) */
.w-viewer-mount { position: absolute; inset: 0; }
.w-stage { position: relative; min-width: 0; overflow: hidden; background: radial-gradient(70% 80% at 50% 42%, var(--v-surface-2) 0%, var(--v-grad-bottom) 75%); }
.w-stage .viewer-status { z-index: 2; }
.w-stage-tag { position: absolute; z-index: 3; left: 14px; top: 14px; pointer-events: none; display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--w-glass); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font: 500 13px/1 var(--v-font); color: var(--w-glass-ink); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.08); white-space: nowrap; max-width: calc(100% - 28px); overflow: hidden; text-overflow: ellipsis; }
.w-tools { position: absolute; z-index: 4; top: 14px; right: 14px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; max-width: calc(100% - 200px); }
.w-tool { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--w-glass); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: #fff; font: 500 13px/1 var(--v-font); cursor: pointer; box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.08); }
.w-tool:hover { background: rgba(255, 255, 255, 0.14); }
.w-tool[aria-pressed="true"] { background: #fff; color: #000; }
.w-seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--w-glass); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.08); }
.w-seg-b { height: 30px; padding: 0 12px; border: 0; border-radius: 999px; background: none; color: rgba(235, 235, 245, 0.7); font: 500 13px/1 var(--v-font); cursor: pointer; }
.w-seg-b:hover { color: #fff; }
.w-seg-b[aria-pressed="true"] { background: #fff; color: #000; }
.w-seg-b:disabled { opacity: 0.5; cursor: progress; }
.w-tool-range input { -webkit-appearance: none; appearance: none; width: 90px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.22); }
.w-tool-range input::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4); transition: transform 120ms var(--w-ease); }
.w-tool-range input::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 50%; background: #fff; }
.w-tool-range input::-moz-range-track { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.22); }
.w-tool-range input:hover::-webkit-slider-thumb { transform: scale(1.15); }
.w-tool-range input:focus-visible { outline: 2px solid var(--v-tint); outline-offset: 4px; border-radius: 2px; }
.w-stage-hint { position: absolute; z-index: 3; right: 16px; bottom: 16px; padding: 7px 14px; border-radius: 999px; background: var(--w-glass); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font: 500 13px/1 var(--v-font); color: var(--w-glass-ink); pointer-events: none; white-space: nowrap; }
.w-stage:has(.part-card:not([hidden])) .w-stage-tag { visibility: hidden; }
.w-partcard.part-card { position: absolute; z-index: 5; left: 16px; bottom: 16px; right: auto; top: auto; width: min(380px, calc(100% - 32px)); box-shadow: var(--w-shadow); }
.w-shell.is-full .w-page { padding: 0; }

/* ------------------------------------------------------------------ home */
.w-page-diagnose { padding: 0; }
.w-hero { padding: var(--w-s5) 0 0; }
.w-hero-main { display: flex; flex-direction: column; align-items: flex-start; gap: var(--w-s2); }
.w-hero-main .w-h1 { margin-bottom: var(--w-s1); }
.w-codewrap { width: min(680px, 100%); position: relative; }
.w-codebar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 64px; padding: 10px 10px 10px 18px; border-radius: var(--w-r); background: var(--v-surface); cursor: text; }
.w-codebar:focus-within { box-shadow: 0 0 0 1.5px var(--v-text-3); }
.w-codebar-ic { color: var(--v-text-3); display: inline-flex; }
.w-tokens { display: contents; }
.w-codebar input { flex: 1; min-width: 200px; height: 44px; border: 0; outline: 0; background: none; color: var(--v-text); font: 500 20px/1 var(--v-font); }
.w-codebar input::placeholder { color: var(--v-text-3); }
.w-codebar-go { height: 44px; padding: 0 20px; font-size: 15px; margin-left: auto; }
.w-codebar-msg { color: var(--v-bad); font-size: 15px; }
.w-codebar-count { font-size: 14px; color: var(--v-text-2); }
.w-codebar-count:empty { display: none; }
.w-sugg { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 20; padding: 6px; border-radius: var(--w-r); background: var(--v-surface); box-shadow: var(--w-shadow); }
.w-sugg-row { display: grid; grid-template-columns: 10px 70px 1fr auto; align-items: center; gap: 12px; width: 100%; padding: 11px 12px; border: 0; border-radius: var(--w-r-sm); background: none; color: var(--v-text); text-align: left; cursor: pointer; font-size: 15px; }
.w-sugg-row:hover { background: var(--v-surface-2); }
.w-sugg-row.hi { background: var(--v-surface-2); box-shadow: inset 2px 0 0 var(--v-text); }
.w-sugg-row small { color: var(--v-text-2); font-size: 13px; }
.w-common { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 18px; }
.w-common .w-chips { gap: 4px 18px; }
.w-common .w-chip.mono { height: auto; padding: 4px 0; background: none; border-radius: 0; color: var(--v-text-2); font: 500 15px/1 var(--v-mono); }
.w-common .w-chip.mono:hover { color: var(--v-text); background: none; }
.w-common .w-chip.mono[aria-pressed="true"] { background: none; color: var(--v-text); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.w-symdetails summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 500; font-size: 15px; color: var(--v-text); list-style: none; }
.w-symdetails summary::-webkit-details-marker { display: none; }
.w-symdetails summary small { font-weight: 400; color: var(--v-text-2); }
.w-symdetails .w-chips { margin-top: 12px; }
.w-hero-help { max-width: 52ch; color: var(--v-text-2); }
.w-hero-stage { position: relative; height: 460px; margin-top: var(--w-s4); border-radius: var(--w-r-stage); overflow: hidden; }
.w-hero-stage .viewer-status p { font: 500 14px var(--v-font); color: rgba(235, 235, 245, 0.6); }
.w-hero-hud { position: absolute; z-index: 4; left: 16px; top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.w-hero-readout { display: flex; justify-content: space-between; align-items: baseline; gap: var(--w-s3); flex-wrap: wrap; padding: var(--w-s2) 0 0; }
.w-hero-readout a { color: var(--v-tint); }
@media (hover: none) { .w-hero-stage .w-viewer-mount { pointer-events: none; } }
.w-how { padding-top: var(--w-s6); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--w-s4) var(--w-s5); align-items: start; }
.w-how > div { display: flex; flex-direction: column; gap: 10px; }
.w-how-rows { margin: 0; display: flex; flex-direction: column; }
.w-how-rows > div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; padding: 16px 0; border-top: 1px solid var(--w-line); }
.w-how-rows dt { font: 500 17px/1.4 var(--v-font); letter-spacing: -0.01em; color: var(--v-text); }
.w-how-rows dd { margin: 0; font: 400 15px/1.5 var(--v-font); color: var(--v-text-2); }
.w-popular { padding-top: var(--w-s6); padding-bottom: var(--w-s6); display: flex; flex-direction: column; gap: var(--w-s3); }
@media (max-width: 1100px) { .w-hero-stage { height: 400px; } }
@media (max-width: 860px) {
  .w-hero { padding: 40px 0 0; }
  .w-hero-stage { height: 340px; }
  .w-how { grid-template-columns: minmax(0, 1fr); gap: var(--w-s2); padding-top: var(--w-s5); }
  .w-how-rows > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .w-popular { padding-top: var(--w-s5); padding-bottom: var(--w-s5); }
}
@media (max-width: 600px) {
  .w-hero-stage { height: 280px; border-radius: var(--w-r); margin-top: var(--w-s3); }
  .w-hero-readout { flex-direction: column; align-items: flex-start; gap: 6px; }
  .w-hero-hud { left: 12px; top: 12px; }
  .w-codebar { padding: 8px 8px 8px 14px; }
  .w-codebar input { min-width: 0; font-size: 17px; }
  .w-codebar-go { width: 100%; justify-content: center; }
  .w-sugg-row { grid-template-columns: 10px 64px 1fr; }
  .w-sugg-row small { display: none; }
  .w-symdetails summary small { display: none; }
}

/* ------------------------------------------------------------------ results */
.w-res-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.w-res-top .w-crumbs, .w-res-top .w-res-car { margin: 0; }
.w-res-car { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--v-text-2); }
.w-res-car a { color: var(--v-tint); }
.w-res-grid { display: grid; grid-template-columns: minmax(0, 640px) minmax(440px, 1fr); gap: 56px; align-items: start; }
.w-res-grid.single { grid-template-columns: minmax(0, 820px); }
.w-res-main { display: flex; flex-direction: column; gap: 36px; min-width: 0; }
.w-res-main .w-sec + .w-sec { margin-top: 0; }
.w-res-side { position: sticky; top: calc(var(--w-top-h) + 20px); }
.w-res-panel { overflow: hidden auto; max-height: calc(100vh - var(--w-top-h) - 40px); scrollbar-width: thin; }
.w-res-stage { position: relative; height: 380px; border-radius: var(--w-r-stage); overflow: hidden; }
.w-stage-note { padding: 10px 0 0; }
.w-res-detail { padding: 20px 0 0; display: flex; flex-direction: column; gap: 12px; }
.w-res-prices { display: flex; flex-direction: column; gap: 8px; padding-top: 20px; border-top: 1px solid var(--w-line); }

.w-verdict { --vc: var(--v-ok); display: flex; flex-direction: column; gap: 10px; padding: 4px 0 0; }
.w-verdict.yellow { --vc: var(--v-warn); }
.w-verdict.red { --vc: var(--v-crit); }
.w-verdict-k { display: inline-flex; align-items: center; gap: 10px; font: 600 15px/1 var(--v-font); color: var(--vc); }
.w-verdict-k::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--vc); box-shadow: 0 0 0 5px color-mix(in srgb, var(--vc) 20%, transparent); }
.w-verdict-t { font: 600 40px/1.08 var(--v-display); letter-spacing: -0.03em; max-width: 18ch; text-wrap: balance; }
.w-verdict-why { margin-top: 4px; font-size: 17px; line-height: 1.5; color: var(--v-text-2); max-width: 60ch; }
.w-recall { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: var(--w-r); background: var(--warn-bg); }
.w-recall > .icon { color: var(--v-warn); }
.w-recall > div { flex: 1; }
.w-recall.ok { background: var(--v-surface); }
.w-recall.ok > .icon { color: var(--v-text-2); }
.w-codes { display: flex; flex-direction: column; }
.w-code { display: flex; flex-direction: column; gap: 8px; padding: 22px 0; border-top: 1px solid var(--w-line); }
.w-code:first-child { border-top: 0; padding-top: 4px; }
.w-code-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.w-sev { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--v-text-2); }
.w-code-sys { font-size: 14px; color: var(--v-text-2); }
.w-code-plain { color: var(--v-text); max-width: 64ch; }
.w-code-drive { font-size: 15px; line-height: 1.5; color: var(--v-text-2); max-width: 64ch; }
.w-code-drive b { color: var(--v-text); }
.w-checks { display: flex; flex-direction: column; }
.w-check { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border: 0; border-top: 1px solid var(--w-line); background: none; color: var(--v-text); text-align: left; cursor: pointer; }
.w-check:first-child { border-top: 0; }
.w-check > span:last-child { max-width: 64ch; }
.w-check-box { flex: none; position: relative; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--v-surface-2); font: 600 13px/1 var(--v-font); color: var(--v-text-2); }
.w-check:hover .w-check-box { background: var(--v-surface-3); }
.w-check-box .icon { position: absolute; opacity: 0; color: #000; transform: scale(0.5); transition: opacity 160ms var(--w-ease-out), transform var(--w-med) var(--w-ease-out); }
.w-check[aria-pressed="true"] .w-check-box { background: var(--v-ok); color: transparent; }
.w-check[aria-pressed="true"] .w-check-box .icon { opacity: 1; transform: none; }
.w-check[aria-pressed="true"] > span:last-child { color: var(--v-text-3); text-decoration: line-through; }
.w-pattern { display: flex; gap: 14px; }
.w-pattern > .icon { color: var(--v-text-2); }
.w-pattern > div { display: flex; flex-direction: column; gap: 4px; }
.w-causes { display: flex; flex-direction: column; }
.w-cause { position: relative; display: flex; align-items: center; gap: 18px; margin: 0 -16px; padding: 16px; border: 0; border-radius: var(--w-r-sm); background: none; color: var(--v-text); text-align: left; cursor: pointer; }
.w-cause + .w-cause::before { content: ""; position: absolute; top: 0; left: 16px; right: 16px; height: 1px; background: var(--w-line); }
.w-cause:hover { background: var(--v-surface); }
.w-cause[aria-pressed="true"] { background: var(--v-surface-2); }
.w-cause:hover + .w-cause::before, .w-cause[aria-pressed="true"] + .w-cause::before { opacity: 0; }
.w-cause-pct { flex: none; width: 64px; font: 600 26px/1 var(--v-display); letter-spacing: -0.02em; color: var(--v-text-2); }
.w-cause-pct.top { color: var(--v-text); }
.w-cause-main { flex: 1; display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.w-cause-t { font: 500 17px/1.3 var(--v-font); }
.w-cause .v-meter { margin-top: 4px; }
.w-cause-3d, .w-cause-chev { color: var(--v-text-3); display: inline-flex; }
.w-pro { border-top: 1px solid var(--w-line); border-bottom: 1px solid var(--w-line); }
.w-pro summary { display: flex; align-items: center; gap: 14px; padding: 16px 0; cursor: pointer; list-style: none; color: var(--v-text-2); }
.w-pro summary:hover { color: var(--v-text); }
.w-pro summary::-webkit-details-marker { display: none; }
.w-pro summary > span:not(.icon) { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; text-align: left; }
.w-pro summary b { color: var(--v-text); }
.w-pro summary small { font-size: 14px; }
.w-pro.now summary > .icon:first-child { color: var(--v-warn); }
.w-pro ul { margin: 0; padding: 0 0 18px 34px; display: flex; flex-direction: column; gap: 8px; color: var(--v-text-2); font-size: 15px; max-width: 64ch; }
.w-pro li.now { color: var(--v-text); font-weight: 500; }
.w-prices { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.w-prices-head { display: flex; align-items: center; gap: 6px; font-size: 15px; }
.w-prices-list { align-self: stretch; display: flex; flex-direction: column; }
.w-price-row { display: grid; grid-template-columns: 128px 1fr auto 16px; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--w-line); color: var(--v-text); text-decoration: none; }
.w-price-row:hover { color: var(--v-text); text-decoration: underline; text-underline-offset: 3px; }
.w-price-store { font-weight: 500; }
.w-price-t { color: var(--v-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1100px) { .w-res-grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; } .w-res-stage { height: 320px; } }
@media (max-width: 1023px) {
  .w-res-grid { grid-template-columns: minmax(0, 1fr); }
  .w-res-side { position: static; }
  .w-res-panel { max-height: none; }
}
@media (max-width: 600px) {
  .w-verdict-t { font-size: 28px; }
  .w-cause { margin: 0; padding: 14px 0; border-radius: 0; gap: 12px; }
  .w-cause + .w-cause::before { left: 0; right: 0; }
  .w-cause-pct { width: 48px; font-size: 21px; }
  .w-recall { flex-wrap: wrap; }
  .w-recall > div { flex: 1 1 calc(100% - 40px); }
  .w-recall .v-btn { margin-left: 36px; }
  .w-res-stage { height: 280px; border-radius: var(--w-r); }
}
@media (hover: none) { .w-cause[aria-pressed="true"] { background: none; } .w-cause[aria-pressed="true"] .w-cause-t { text-decoration: underline; text-underline-offset: 4px; } }

/* ------------------------------------------------------------------ guides */
.w-guides-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: var(--w-s5); align-items: start; }
.w-gside-wrap { position: sticky; top: calc(var(--w-top-h) + 20px); display: flex; flex-direction: column; gap: 16px; }
.w-gside { display: flex; flex-direction: column; gap: 2px; }
.w-gside-a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border: 0; border-radius: var(--w-r-sm); background: none; color: var(--v-text-2); font: 500 15px/1.2 var(--v-font); text-align: left; cursor: pointer; }
.w-gside-a span:not(.icon) { flex: 1; }
.w-gside-a small { color: var(--v-text-3); font-weight: 500; }
.w-gside-a:hover { background: var(--v-surface); color: var(--v-text); }
.w-gside-a[aria-pressed="true"] { background: var(--v-surface-2); color: var(--v-text); }
.w-gside-pro { border-top: 1px solid var(--w-line); border-bottom: 0; }
.w-gside-pro ul { padding-left: 34px; font-size: 14px; }
.w-gresults { display: flex; flex-direction: column; gap: var(--w-s5); max-width: 720px; }
.w-gresults .w-sec + .w-sec { margin-top: 0; }
.w-gresults .w-gcards.rows { grid-template-columns: minmax(0, 1fr); }
.w-gresults .w-gcard { padding: 14px 0; }
.w-none { padding: 40px 0; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
@media (max-width: 860px) {
  .w-guides-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .w-gside-wrap { position: static; }
  .w-gside { flex-direction: row; overflow-x: auto; gap: 6px; scrollbar-width: none; margin: 0 calc(-1 * var(--w-gut)); padding: 0 var(--w-gut); }
  .w-gside::-webkit-scrollbar { display: none; }
  .w-gside-a { flex: none; background: var(--v-surface-2); border-radius: 999px; padding: 9px 14px; white-space: nowrap; }
  .w-gside-a[aria-pressed="true"] { background: var(--v-text); color: var(--v-grad-bottom); }
  .w-gside-a[aria-pressed="true"] small { color: inherit; opacity: 0.7; }
  .w-gside-pro { display: none; }
  .w-gresults { gap: var(--w-s4); }
}

/* ------------------------------------------------------------------ guide player */
.w-guide { display: grid; grid-template-columns: minmax(0, 1fr) 420px; height: calc(100vh - var(--w-top-h)); height: calc(100dvh - var(--w-top-h)); }
.w-guide .w-stage { height: 100%; }
.w-gpanel { display: flex; flex-direction: column; min-height: 0; background: var(--v-grad-bottom); box-shadow: -1px 0 0 var(--w-line); }
.w-gpanel-head { padding: 20px 24px 14px; display: flex; flex-direction: column; gap: 8px; border-bottom: 1px solid var(--w-line); }
.w-gpanel-head .w-crumbs { margin-bottom: 0; }
.w-gmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.w-gpanel-steps { flex: 1; min-height: 0; overflow-y: auto; padding: 8px 12px 20px; scrollbar-width: thin; }
.w-gpanel-steps .w-disclaimer { padding: 12px; }
.w-step-li { scroll-margin: 12px 0 150px; }
.w-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.w-step { display: flex; align-items: flex-start; gap: 12px; width: 100%; padding: 11px 12px; border: 0; border-radius: var(--w-r-sm); background: none; color: var(--v-text-2); text-align: left; font: 500 15px/1.4 var(--v-font); cursor: pointer; }
.w-step:hover { background: var(--v-surface); color: var(--v-text); }
.w-step-n { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--v-surface-2); font: 600 13px/1 var(--v-font); color: var(--v-text-2); margin-top: -2px; }
.w-step:active .w-step-n { transform: scale(0.9); }
.w-step.done .w-step-n { background: var(--v-ok); color: #000; }
.w-step.on { background: none; color: var(--v-text); }
.w-step.on .w-step-n { background: var(--v-text); color: var(--v-grad-bottom); }
.w-step-body { padding: 0 16px 18px 50px; border-bottom: 1px solid var(--w-line); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; font-size: 15px; }
.w-step-title { color: var(--v-text-2); font-size: 14px; }
.w-warn-short { display: flex; gap: 6px; align-items: flex-start; color: var(--v-warn); font-size: 14px; font-weight: 500; }
.w-bchips { display: flex; flex-wrap: wrap; gap: 6px; }
.w-more { display: flex; flex-direction: column; gap: 10px; color: var(--v-text); }
.w-more p { margin: 0; }
.w-tip { color: var(--v-text-2); }
.w-warn { display: flex; gap: 8px; padding: 10px 12px; border-radius: var(--w-r-sm); background: var(--warn-bg); color: var(--v-text); }
.w-warn .icon { color: var(--v-warn); margin-top: 2px; }
.w-safety { display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--w-r-sm); background: var(--warn-bg); }
.w-safety > .icon { color: var(--v-warn); margin-top: 2px; }
.w-safety ul { margin: 0; padding-left: 16px; display: flex; flex-direction: column; gap: 4px; }
.w-tlist { margin: 0; padding-left: 18px; color: var(--v-text-2); display: flex; flex-direction: column; gap: 2px; }
.w-gpanel-foot { padding: 14px 20px 18px; border-top: 1px solid var(--w-line); display: flex; flex-direction: column; gap: 12px; }
.w-gpanel-prog { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 500; color: var(--v-text-2); }
.w-progress { flex: 1; height: 4px; border-radius: 4px; background: var(--v-surface-2); overflow: hidden; }
.w-progress i { display: block; height: 100%; width: 0; background: var(--v-text); }
.w-keys { display: inline-flex; gap: 4px; }
@media (hover: none), (max-width: 860px) { .w-keys { display: none; } }
kbd { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 6px; background: var(--v-surface-2); font: 500 13px/1 var(--v-font); color: var(--v-text-2); box-shadow: inset 0 -1px 0 color-mix(in srgb, var(--v-text) 18%, transparent); }
.w-gpanel-nav { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; }
.w-gpanel-nav .v-btn { justify-content: center; }
.w-specs { padding: 10px 0; border-top: 1px solid var(--w-line); border-bottom: 1px solid var(--w-line); }
.w-specs summary { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--v-text-2); cursor: pointer; list-style: none; }
.w-specs summary::-webkit-details-marker { display: none; }
.w-specs summary::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-right: 1.5px solid var(--v-text-3); border-bottom: 1.5px solid var(--v-text-3); transform: rotate(45deg) translateY(-2px); transition: transform var(--w-med) var(--w-ease); }
.w-specs[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.w-specs .w-facts { margin-top: 10px; }

/* ------------------------------------------------------------------ 3D engine (explore) */
.w-explore { display: grid; grid-template-columns: 300px minmax(0, 1fr); height: calc(100vh - var(--w-top-h)); height: calc(100dvh - var(--w-top-h)); }
.w-explore .w-stage { height: 100%; }
.w-xside { display: flex; flex-direction: column; min-height: 0; background: var(--v-grad-bottom); box-shadow: 1px 0 0 var(--w-line); }
.w-xside-head { padding: 20px 18px 14px; display: flex; flex-direction: column; gap: 10px; border-bottom: 1px solid var(--w-line); }
.w-removed:empty { display: none; }
.w-plist { flex: 1; min-height: 0; overflow-y: auto; padding: 8px 10px 24px; scrollbar-width: thin; }
.w-pgroup { padding: 12px 0 4px; }
.w-pgroup .w-k { padding: 0 10px; margin-bottom: 4px; }
.w-prow { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px 10px; border: 0; border-radius: var(--w-r-sm); background: none; color: var(--v-text-2); font: 500 14px/1.3 var(--v-font); text-align: left; cursor: pointer; }
.w-prow span { flex: 1; }
.w-prow:hover { background: var(--v-surface); color: var(--v-text); }
.w-prow[aria-pressed="true"] { background: var(--v-surface-2); color: var(--v-text); }
.w-prow-out { display: none; color: var(--v-warn); }
.w-prow.out .w-prow-out { display: inline; }
.w-prow.out span { text-decoration: line-through; color: var(--v-text-3); }
.w-xdetail { position: absolute; z-index: 5; left: 16px; bottom: 16px; width: min(400px, calc(100% - 32px)); max-height: calc(100% - 90px); overflow-y: auto; padding: 18px 20px; border-radius: var(--w-r); background: color-mix(in srgb, var(--v-surface) 92%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: var(--w-shadow); display: flex; flex-direction: column; gap: 12px; }
.w-xdetail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.w-xsum { font-size: 14px; color: var(--v-text-2); font-weight: 500; margin-top: 3px; }
.w-xblock .w-k { margin-bottom: 8px; }
.w-chip.sm { height: 30px; font-size: 13px; padding: 0 12px 0 6px; }
.w-num { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--v-warn); color: #000; font-size: 12px; font-weight: 600; }
.w-bolts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.w-bolts li { display: grid; grid-template-columns: 16px auto auto 1fr; align-items: center; gap: 8px; }
.w-bolts .icon { color: var(--v-bad); }
.w-bolts span { color: var(--v-text-2); }
.w-bolts em { font-style: normal; color: var(--v-text-3); text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-xguides a { color: var(--v-tint); }

@media (max-width: 1100px) {
  .w-guide { grid-template-columns: minmax(0, 1fr) 380px; }
  .w-stage .w-stage-tag { top: auto; bottom: 14px; }
  .w-stage-hint { display: none; }
}
@media (max-width: 860px) {
  .w-guide, .w-explore { grid-template-columns: minmax(0, 1fr); grid-template-rows: 52vh auto; height: auto; }
  .w-guide .w-stage, .w-explore .w-stage { height: 52vh; min-height: 320px; }
  .w-gpanel, .w-xside { box-shadow: 0 -1px 0 var(--w-line); }
  .w-gpanel-steps, .w-plist { overflow: visible; }
  .w-gpanel-foot { position: sticky; bottom: 0; background: var(--v-grad-bottom); z-index: 5; }
  .w-explore .w-xside { order: 2; }
  .w-tools { left: 14px; right: 14px; top: auto; bottom: 14px; justify-content: center; max-width: none; }
  .w-stage .w-stage-tag { top: 14px; bottom: auto; }
  .w-partcard.part-card { top: 54px; bottom: auto; }
  .w-xside .w-xdetail { position: static; width: auto; max-height: none; margin: 14px 14px 0; box-shadow: none; background: var(--v-surface); backdrop-filter: none; }
  .w-shell.is-full .w-foot { display: block; }
}
@media (max-width: 480px) {
  .w-tool > span:not(.icon) { display: none; }
  .w-tool { padding: 0 11px; }
  .w-hero-hud .w-tool > span:not(.icon) { display: inline; }
  .w-hero-hud .w-tool { padding: 0 14px; }
  .w-tool-range input { width: 56px; }
  .w-tools { gap: 6px; left: 8px; right: 8px; }
  .w-seg-b { padding: 0 9px; }
}

/* ------------------------------------------------------------------ garage */
.w-garage-grid { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: var(--w-s5); align-items: start; margin-bottom: var(--w-s5); }
.w-cars { display: flex; flex-direction: column; gap: 10px; }
.w-carcard { display: flex; align-items: center; gap: 6px; padding: 6px 10px 6px 6px; border-radius: var(--w-r); background: var(--v-surface); }
.w-carcard.on { background: var(--v-surface-2); }
.w-carcard-main { flex: 1; display: flex; align-items: center; gap: 14px; padding: 12px; border: 0; border-radius: var(--w-r-sm); background: none; color: var(--v-text); text-align: left; cursor: pointer; min-width: 0; }
.w-carcard-main:hover { background: color-mix(in srgb, var(--v-text) 5%, transparent); }
.w-carcard-ic { display: inline-flex; color: var(--v-text-2); flex: none; }
.w-carcard-t { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.w-carcard-t small { font-size: 14px; color: var(--v-text-2); }
.w-carcard-del { color: var(--v-text-3); }
.w-carcard-del:hover { color: var(--v-crit); }
.w-nocar { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.w-nocar > .icon { color: var(--v-text-2); }
.w-garage-recall { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.w-addcar { position: sticky; top: calc(var(--w-top-h) + 20px); display: flex; flex-direction: column; gap: 16px; }
.w-suptable { display: flex; flex-direction: column; border-radius: var(--w-r); background: var(--v-surface); overflow: hidden; }
.w-suprow { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 16px; padding: 14px 20px; font-size: 15px; }
.w-suprow + .w-suprow { border-top: 1px solid var(--w-line); }
.w-suprow.head { background: var(--v-surface-2); }
.w-suprow.mine { background: color-mix(in srgb, var(--v-text) 5%, transparent); }
.w-suprow span { color: var(--v-text-2); }
@media (max-width: 960px) { .w-garage-grid { grid-template-columns: minmax(0, 1fr); } .w-addcar { position: static; } }
@media (max-width: 560px) { .w-suprow { grid-template-columns: 1.4fr 1fr; } .w-suprow > :nth-child(n+3) { display: none; } }

/* ------------------------------------------------------------------ about + misc */
.w-about-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: var(--w-s5); align-items: start; }
.w-about-safety { max-width: 64ch; }
.w-leaves { display: flex; flex-direction: column; margin: 0; }
.w-leaves > div { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 24px; padding: 14px 0; border-top: 1px solid var(--w-line); }
.w-leaves dt { font: 600 15px/1.5 var(--v-font); color: var(--v-text); }
.w-leaves dd { margin: 0; font: 400 15px/1.5 var(--v-font); color: var(--v-text-2); }
.w-links { display: flex; flex-direction: column; }
.w-linkrow { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 0; border: 0; border-top: 1px solid var(--w-line); color: var(--v-text); text-decoration: none; text-align: left; cursor: pointer; font: inherit; background: none; }
.w-linkrow:hover b { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.w-linkrow > span:not(.icon) { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.w-linkrow small { color: var(--v-text-2); font-size: 13px; }
.w-narrow { max-width: 720px; }
.w-embed .v-page { padding: 0; max-width: none; }
@media (max-width: 960px) { .w-about-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .w-leaves > div { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

/* ------------------------------------------------------------------ account (only present when the account API is configured) */
/* Same hairline rows as "Policies and help": no boxes, Manrope 600 title, grey sub line, cyan only on text links. */
.w-garage-side { display: flex; flex-direction: column; gap: var(--w-s4); min-width: 0; }
.w-account { display: flex; flex-direction: column; gap: 10px; }
.w-account .w-links { border-bottom: 1px solid var(--w-line); }
.w-account-row b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-account-row > .icon { color: var(--v-text-2); flex: none; }
.w-account-row:hover > .icon { color: var(--v-text); }
.w-carpop-acct { margin-top: 4px; padding: 0 6px; }
.w-carpop-acct .w-linkrow.compact { padding: 10px 0 6px; gap: 10px; }
.w-carpop-acct .w-linkrow.compact b { font-size: 14px; }
.w-carpop-acct .w-linkrow.compact small { font-size: 12px; }
.w-resume { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 0 0 14px; font-size: 14px; color: var(--v-text-2); border-bottom: 1px solid var(--w-line); margin-bottom: 8px; }
.w-resume .v-link { font-size: 14px; }
.w-resume .w-resume-no { color: var(--v-text-2); }

/* Recent scans (Diagnose, under the code bar): hairline rows, codes in mono; the section is hidden when there are none */
.w-recent { padding-top: var(--w-s5); display: flex; flex-direction: column; gap: 10px; }
.w-recent[hidden] { display: none; }
.w-recent .w-links { max-width: 640px; border-bottom: 1px solid var(--w-line); }
.w-scanrow b.v-mono { font-size: 16px; letter-spacing: 0.01em; }
.w-scans-sheet { margin-top: 4px; }
@media (max-width: 760px) { .w-recent { padding-top: 40px; } }
