/* PartSonar AI: deep navy ground, electric blue for what is pressed or chosen, cyan as the second
   accent, off-white text. Layout: the car fills the first screen with one word behind it naming
   what is selected; most-searched parts down the right edge; the search bar at the car's feet;
   then listings. The variable names --amber* are kept from the earlier palette: they mean "the
   accent", whatever colour that is. */
:root {
  --blue: #1e7bff;
  --blue-deep: #f7f9fc;
  --blue-soft: rgba(30, 123, 255, .16);
  --cyan: #29c8ff;
  --glow: #2e90ff;
  --amber: #1e7bff;
  --amber-deep: #1667db;
  --amber-ink: #ffffff;
  --red: #ff5a5f;
  --page: #07111f;
  --surface: #101a2b;
  --surface-2: #16233a;
  --line: #22344f;
  --ink: #f7f9fc;
  --muted: #a7b4c8;
  --good: #22c55e;
  --good-soft: rgba(34, 197, 94, .14);
  --warn: #f5b942;
  --warn-soft: rgba(245, 185, 66, .13);
  --bad: #ff5a5f;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 28px rgba(0, 0, 0, .32);
  --shadow-lg: 0 4px 12px rgba(0, 0, 0, .35), 0 28px 70px rgba(0, 0, 0, .55);
  --radius: 14px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
  --gutter: max(28px, calc((100vw - 1440px) / 2 + 28px));
  /* names older rules and scripts still use */
  --select: var(--blue);
  --select-soft: var(--blue-soft);
  --accent: var(--amber);
  --bg: var(--page);
  --link: #6fb1ff;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 15px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
a { color: var(--link); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1440px; margin: 0 auto; padding-inline: 28px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.eyebrow, .rail-head, .listhead, .field > span, .field > label, .stat small, .filters h3, .zone-head small, th, .facts dt, .callfacts dt, .sheet-price small, .lookup-source h3, .alsoseen > span, .panel h2 {
  font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted);
}

/* ---------- top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 40; background: var(--blue); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset, 0 2px 10px rgba(0, 0, 0, .2); }
.topbar-in { display: flex; align-items: center; gap: 16px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.01em; color: #fff; text-decoration: none; }
.brand svg { width: 28px; height: 28px; }
.brand svg rect { fill: var(--amber); }
.brand svg circle { fill: var(--amber-ink); }
.brand svg path { stroke: var(--amber-ink); }
.tagline, #themeBtn, #langBtn, #pieceCount { display: none; }
.topbar-actions { margin-left: auto; display: flex; gap: 6px; flex: none; align-items: center; }
.status { font-size: 13px; color: rgba(255, 255, 255, .8); display: inline-flex; align-items: center; white-space: nowrap; margin-left: 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); display: inline-block; margin-right: 7px; }
.dot.ok { background: #49d68f; }
.topbar .btn.ghost { color: #fff; }
.topbar .btn.ghost:hover { background: rgba(255, 255, 255, .14); }
#shopBtn { max-width: 220px; overflow: hidden; text-overflow: ellipsis; display: inline-block; background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); color: #fff; }
#shopBtn:hover { background: rgba(255, 255, 255, .22); }
#shopBtn.primary { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); }

/* ---------- buttons ---------- */
.btn { font: 600 14px/1 var(--font); border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 10px; padding: 10px 15px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; justify-content: center; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s, color .15s, transform .1s; }
.btn:hover { border-color: var(--blue); color: var(--blue); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--amber); color: var(--amber-ink); border-color: var(--amber); font-weight: 700; }
.btn.primary:hover { background: var(--amber-deep); border-color: var(--amber-deep); color: var(--amber-ink); }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.ghost:hover { background: var(--blue-soft); border-color: transparent; }
.btn.small { padding: 8px 12px; font-size: 13px; border-radius: 8px; }
.btn[disabled] { opacity: .5; cursor: default; }
.count { background: var(--amber); color: var(--amber-ink); border-radius: 99px; padding: 2px 7px; font-size: 11px; font-weight: 700; }

/* ---------- the showroom ---------- */
.hero { padding-bottom: 26px; }
.hero > .wrap { max-width: none; padding-inline: 0; }
.search { margin: 0; }
.studio { position: relative; height: clamp(540px, calc(100vh - 150px), 880px); }
.stage { position: absolute; inset: 0; overflow: hidden;
  background:
    radial-gradient(46% 20% at 50% 77%, rgba(3, 40, 80, .20), transparent 70%),
    linear-gradient(180deg, #cfdcea 0%, #e3ebf4 40%, #f6f9fc 62%, #e9eff6 100%); }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; z-index: 1; }
.stage canvas:active { cursor: grabbing; }
.ghostword { position: absolute; inset: 0; z-index: 0; display: grid; place-items: center; padding-bottom: 12vh; pointer-events: none; font-weight: 900; font-size: clamp(64px, 13.5vw, 230px); line-height: .9; letter-spacing: -.04em; text-transform: uppercase; text-align: center; color: rgba(3, 76, 140, .07); white-space: nowrap; overflow: hidden; user-select: none; }
.stage-copy { position: absolute; left: var(--gutter); top: 36px; z-index: 3; pointer-events: none; max-width: 440px; }
.stage-copy h1 { font-weight: 800; font-size: clamp(30px, 3.2vw, 46px); line-height: 1.05; letter-spacing: -.03em; color: var(--blue-deep); }
.lede { color: var(--muted); font-size: 15px; line-height: 1.55; max-width: 38ch; margin-top: 14px; }
.vinquick { display: flex; gap: 8px; margin-top: 22px; pointer-events: auto; max-width: 420px; }
.vinquick input { height: 42px; background: var(--surface-2); border: 1px solid var(--line); font-family: var(--mono); font-size: 13px; text-transform: uppercase; }
.vinquick input::placeholder { font-family: var(--font); text-transform: none; color: var(--muted); }
.vinquick .btn { flex: none; height: 42px; }
.lookupquick { margin-top: 10px; }
#vinQuickInfo { margin-top: 8px; pointer-events: auto; }
.stage-ui { position: absolute; left: var(--gutter); bottom: 86px; z-index: 3; display: flex; align-items: center; gap: 14px; }
.stage-btn { background: rgba(255, 255, 255, .85); backdrop-filter: blur(8px); }
.stage-hint { color: var(--muted); font-size: 13px; }
.stage-credit { position: absolute; left: var(--gutter); bottom: 66px; z-index: 3; margin: 0; font-size: 11px; color: var(--muted); opacity: .75; }
.stage-loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.stage.ready .stage-loading, .stage.flat .stage-loading, .stage.flat .stage-ui { display: none; }

/* hotspots */
.stage-labels { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.stage-label { position: absolute; left: 0; top: 0; opacity: 0; height: 26px; min-width: 26px; padding: 0; border: 0; border-radius: 99px; background: transparent; cursor: pointer; font: 700 12.5px/26px var(--font); color: transparent; white-space: nowrap; will-change: transform; display: inline-flex; align-items: center; }
.stage-label::before { content: ""; flex: none; width: 10px; height: 10px; margin: 0 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 2px #fff, 0 0 0 6px rgba(30, 123, 255, .28), 0 2px 8px rgba(0, 0, 0, .35); }
.stage-label:hover, .stage-label.hover { background: var(--blue-deep); color: #fff; padding-right: 13px; z-index: 3; box-shadow: var(--shadow); }
.stage-label.on { background: var(--amber); color: var(--amber-ink); padding-right: 13px; z-index: 4; box-shadow: var(--shadow); }
.stage-label:hover::before, .stage-label.hover::before { box-shadow: none; }
.stage-label.on::before { background: var(--amber-ink); box-shadow: none; }

/* most searched, down the right edge */
.rail { position: absolute; z-index: 4; top: 40px; right: var(--gutter); display: flex; flex-direction: column; align-items: flex-end; width: 210px; }
.rail-head { margin-bottom: 8px; }
#rail { display: flex; flex-direction: column; align-items: flex-end; width: 100%; }
.rail-item { font: 500 15px/1 var(--font); color: var(--ink); background: none; border: 0; padding: 8px 0; cursor: pointer; text-align: right; position: relative; transition: padding .18s, color .18s; }
.rail-item:hover { color: var(--blue); padding-right: 14px; }
.rail-item:hover::after, .rail-item.on::after { content: ""; position: absolute; right: 0; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--blue); }
.rail-item.on { font-weight: 800; color: var(--blue-deep); padding-right: 14px; }
.rail-item.on::after { background: var(--amber); }
.rail-all { margin-top: 14px; font: 700 13px/1 var(--font); background: var(--blue); color: #fff; border: 0; border-radius: 10px; padding: 11px 15px; cursor: pointer; }
.rail-all:hover { background: var(--blue-deep); }

/* every other part, in a drawer */
.zonepanel { position: fixed; top: 0; bottom: 0; right: 0; width: min(410px, 100vw); z-index: 60; background: var(--surface); border-left: 1px solid var(--line); box-shadow: -30px 0 80px rgba(0, 0, 0, .22); padding: 26px 18px 18px 26px; display: flex; flex-direction: column; gap: 14px; min-width: 0; transform: translateX(105%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
body.drawer-open .zonepanel { transform: none; }
.drawer-close { position: absolute; top: 14px; right: 16px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--surface-2); font-size: 20px; line-height: 1; cursor: pointer; color: var(--ink); }
.drawer-close:hover { background: var(--blue-soft); color: var(--blue); }
.zone-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 10px; padding-right: 46px; }
.zone-head small { grid-column: 1 / -1; color: var(--blue); }
.zone-head h2 { font-weight: 800; font-size: 24px; line-height: 1.15; letter-spacing: -.02em; color: var(--blue-deep); }
#zoneFilter { height: 44px; margin-right: 8px; width: calc(100% - 8px); }
.partlist { flex: 1; overflow: auto; display: flex; flex-direction: column; padding-right: 8px; scrollbar-width: thin; }
.listhead { padding: 12px 0 8px; }
.quick { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 8px; }
.partrow, .zonerow { font: 500 14.5px/1.3 var(--font); text-align: left; color: var(--ink); background: transparent; border: 0; border-top: 1px solid var(--line); padding: 12px 4px; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; align-items: center; width: 100%; transition: padding .15s, color .15s; }
.partlist > .partrow:first-child, .partlist > .zonerow:first-of-type { border-top: 0; }
.partrow:hover, .zonerow:hover { padding-left: 10px; color: var(--blue); }
.zonerow small { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; background: var(--surface-2); border-radius: 99px; padding: 2px 8px; }
.partrow i { font-style: normal; color: var(--blue); opacity: 0; transition: opacity .15s; }
.partrow:hover i { opacity: 1; }
.partrow.on { color: var(--blue-deep); font-weight: 800; }
.partrow.on i { opacity: 1; color: var(--amber-deep); }
.quick .partrow { border: 1px solid var(--line); border-radius: 99px; padding: 7px 12px; font-size: 13px; background: var(--surface-2); width: auto; }
.quick .partrow i { display: none; }
.quick .partrow:hover { border-color: var(--blue); padding-left: 12px; }
.quick .partrow.on { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ---------- search bar ---------- */
#searchForm { position: relative; z-index: 6; max-width: 1240px; margin: -56px auto 0; padding-inline: 28px; }
.fields { display: grid; grid-template-columns: 104px minmax(160px, 1.3fr) minmax(160px, 1.3fr) 140px 160px auto; align-items: stretch; background: var(--surface); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 10px 10px 10px 20px; border: 1px solid rgba(3, 76, 140, .12); }
.field { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-width: 0; position: relative; padding: 6px 16px; border-right: 1px solid var(--line); }
.fields .field:nth-last-child(2) { border-right: 0; }
.fields .field > span, .fields .field > label { color: var(--blue); }
input, select { font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; width: 100%; min-width: 0; height: 40px; }
input:hover, select:hover { border-color: #35507a; }
/* The opened list of a drop-down: the panel colour of the page, not the browser's grey */
select option, select optgroup { background-color: var(--surface); color: var(--ink); font-weight: 500; }
select option:checked { background-color: #1a3a6b; color: #fff; }
select option:disabled { color: var(--muted); }
.fields input, .fields select { border: 0; padding: 0; height: 28px; font-size: 16px; font-weight: 600; background: transparent; border-radius: 0; text-overflow: ellipsis; }
.fields input::placeholder { color: var(--muted); font-weight: 400; opacity: .8; }
.fields input:focus, .fields select:focus { outline: none; }
input:focus, select:focus { outline: 2px solid var(--blue); outline-offset: -1px; border-color: var(--blue); }
input[type="checkbox"] { width: 17px; height: 17px; padding: 0; accent-color: var(--blue); }
input[type="range"] { padding: 0; height: 22px; border: 0; background: none; accent-color: var(--blue); }
.f-go { font-weight: 800; font-size: 15px; letter-spacing: .02em; padding-inline: 34px; margin-left: 6px; min-height: 54px; border-radius: 12px; }
.combo-list { position: absolute; bottom: calc(100% + 14px); left: 0; right: 0; min-width: 300px; margin: 0; padding: 8px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); max-height: 340px; overflow: auto; z-index: 50; }
body.compact .combo-list { bottom: auto; top: calc(100% + 14px); }
.combo-list li { padding: 10px 12px; border-radius: 8px; cursor: pointer; display: flex; justify-content: space-between; gap: 10px; font-weight: 500; }
.combo-list li small { color: var(--muted); font-weight: 400; }
.combo-list li[aria-selected="true"], .combo-list li:hover { background: var(--blue-soft); color: var(--blue-deep); }
.combo-list .none { color: var(--muted); cursor: default; background: none !important; }
.more { margin: 14px 0 0 22px; }
.more summary { cursor: pointer; color: var(--blue); font-weight: 600; font-size: 13.5px; width: fit-content; }
.more-grid { display: grid; grid-template-columns: minmax(0, 400px) 190px 190px; gap: 16px; margin-top: 14px; }
.more .field, .shopgrid .field { padding: 0; border: 0; gap: 6px; }
.inline { display: flex; gap: 8px; }
.inline input { font-family: var(--mono); text-transform: uppercase; }
.hint { color: var(--muted); font-size: 13px; }
.hint.ok { color: var(--good); font-weight: 600; }
.error { color: #fff; background: var(--bad); font-weight: 600; margin: 14px 0 0 22px; padding: 10px 16px; border-radius: 10px; width: fit-content; max-width: 100%; }

body.compact .studio { display: none; }
body.compact .hero { padding-block: 18px 20px; background: var(--surface); border-bottom: 1px solid var(--line); }
body.compact #searchForm { margin-top: 0; max-width: 1440px; }
body.compact .fields { box-shadow: none; border-color: var(--line); background: var(--page); }

/* ---------- start screen ---------- */
main.wrap { position: relative; padding-bottom: 20px; }
body.compact main.wrap { margin-top: 26px; }
.start { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 12px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.panel h2 { color: var(--blue); margin-bottom: 10px; }
.rowlist { display: flex; flex-direction: column; }
.rowlist.history { max-height: 420px; overflow: auto; padding-right: 8px; scrollbar-width: thin; }
.rowbtn { font: inherit; text-align: left; background: none; border: 0; border-top: 1px solid var(--line); padding: 12px 0; cursor: pointer; color: var(--ink); display: flex; justify-content: space-between; gap: 10px; align-items: baseline; transition: padding .15s; }
.rowbtn:first-child { border-top: 0; }
.rowbtn b { font-weight: 600; }
.rowbtn:hover { padding-left: 8px; }
.rowbtn:hover b { color: var(--blue); }
.rowbtn small { color: var(--muted); white-space: nowrap; }
.steps { padding: 0; margin: 0; list-style: none; counter-reset: step; display: grid; gap: 14px; color: var(--muted); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; }
.steps li::before { content: counter(step); width: 30px; height: 30px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font: 800 14px/30px var(--font); text-align: center; }
.steps b { color: var(--ink); }

.bridge { background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--amber); border-radius: var(--radius); padding: 22px 26px; display: grid; gap: 12px; margin: 12px 0 18px; }
.bridge h2 { font-weight: 800; font-size: 19px; color: var(--blue-deep); }
.bridge > p { color: var(--muted); max-width: 80ch; }
.bridge ol { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.bridge code { font-family: var(--mono); font-size: 13px; background: var(--surface-2); border-radius: 6px; padding: 2px 7px; overflow-wrap: anywhere; }
.bridge .row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 4px; }

/* ---------- loading and choosing a version ---------- */
.loadbox { padding: 6px 0 20px; display: flex; align-items: center; gap: 16px; }
.spinner { width: 20px; height: 20px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--blue); animation: spin .8s linear infinite; flex: none; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.loadbox p { color: var(--muted); font-size: 13.5px; }
/* the AI Agent at work */
.loading .agentwork { grid-column: 1 / -1; display: flex; align-items: center; gap: 44px; margin: 26px auto 60px; padding: 38px 44px; max-width: 900px; width: 100%; border: 1px solid var(--line); border-radius: 20px; background: radial-gradient(120% 140% at 0% 0%, rgba(30, 123, 255, .16), transparent 55%), var(--surface); box-shadow: var(--shadow-lg); }
.sonar { position: relative; width: 170px; height: 170px; flex: none; border-radius: 50%; background: radial-gradient(circle, rgba(41, 200, 255, .14), transparent 68%); }
.sonar span { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--cyan); opacity: 0; animation: sonarping 2.4s cubic-bezier(.2, .6, .4, 1) infinite; }
.sonar span:nth-child(2) { animation-delay: .8s; }
.sonar span:nth-child(3) { animation-delay: 1.6s; }
.sonar b { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 22px 6px rgba(41, 200, 255, .55); }
@keyframes sonarping { 0% { transform: scale(.12); opacity: .9; } 100% { transform: scale(1); opacity: 0; } }
.agentwork-text { min-width: 0; flex: 1; }
/* a photo being read: a beam sweeps down it between four corner marks */
.sonar[hidden] { display: none; }
.scanphoto { position: relative; flex: none; width: 250px; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px rgba(41, 200, 255, .45), 0 0 70px -16px rgba(41, 200, 255, .8); }
.scanphoto img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) brightness(.9); }
.scanphoto::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(to bottom, rgba(41, 200, 255, .07) 0 1px, transparent 1px 4px); pointer-events: none; }
.scanphoto i { position: absolute; left: 0; right: 0; top: 0; height: 34%; background: linear-gradient(to bottom, rgba(41, 200, 255, 0), rgba(41, 200, 255, .28) 85%, rgba(140, 230, 255, .95) 100%); border-bottom: 2px solid #9eeaff; box-shadow: 0 6px 18px rgba(41, 200, 255, .7); animation: scanbeam 1.9s cubic-bezier(.45, 0, .55, 1) infinite; }
@keyframes scanbeam { 0% { transform: translateY(-100%); } 100% { transform: translateY(300%); } }
.scanphoto b { position: absolute; width: 22px; height: 22px; border: 3px solid var(--cyan); }
.scanphoto b:nth-of-type(1) { left: 8px; top: 8px; border-right: 0; border-bottom: 0; border-radius: 6px 0 0 0; }
.scanphoto b:nth-of-type(2) { right: 8px; top: 8px; border-left: 0; border-bottom: 0; border-radius: 0 6px 0 0; }
.scanphoto b:nth-of-type(3) { left: 8px; bottom: 8px; border-right: 0; border-top: 0; border-radius: 0 0 0 6px; }
.scanphoto b:nth-of-type(4) { right: 8px; bottom: 8px; border-left: 0; border-top: 0; border-radius: 0 0 6px 0; }
@media (max-width: 720px) { .scanphoto { width: 100%; max-width: 320px; } }
@media (prefers-reduced-motion: reduce) { .scanphoto i { animation: none; top: 33%; } }
/* the QR code for using a phone as the camera */
.phonelink { padding: 22px 26px 26px; display: grid; gap: 14px; justify-items: center; text-align: left; }
.phoneqr { width: 240px; height: 240px; padding: 12px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(41, 200, 255, .4), 0 0 60px -14px rgba(41, 200, 255, .7); }
.phoneqr svg { display: block; width: 100%; height: 100%; }
.phonelink ol { margin: 0; padding-left: 22px; display: grid; gap: 6px; max-width: 46ch; }
.phonelink .hint { margin: 0; max-width: 52ch; }
.phoneurl { font-family: var(--mono); font-size: 12.5px; overflow-wrap: anywhere; user-select: all; }
.phonewait { display: flex; align-items: center; gap: 10px; margin: 0; font-weight: 700; color: var(--cyan); }
.numbernote { margin: 0 0 16px; padding: 12px 16px; border: 1px solid rgba(41, 200, 255, .35); border-radius: 12px; background: rgba(41, 200, 255, .07); font-size: 14.5px; }
.numbernote span { display: block; margin-top: 4px; color: var(--muted); font-size: 13.5px; }
/* the AI working something out: a sweeping beam on the sonar, light running through the words */
.sonar i { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(41, 200, 255, 0) 0deg, rgba(41, 200, 255, 0) 270deg, rgba(41, 200, 255, .55) 358deg, rgba(41, 200, 255, 0) 360deg); opacity: 0; transition: opacity .4s; }
.agentwork.thinking .sonar i { opacity: 1; animation: sonarsweep 1.6s linear infinite; }
.agentwork.thinking .sonar { box-shadow: 0 0 60px -10px rgba(41, 200, 255, .55), inset 0 0 0 1px rgba(41, 200, 255, .25); }
.agentwork.thinking { border-color: rgba(41, 200, 255, .4); box-shadow: var(--shadow-lg), 0 0 0 1px rgba(41, 200, 255, .12), 0 0 80px -30px rgba(30, 123, 255, .9); }
@keyframes sonarsweep { to { transform: rotate(360deg); } }
.agentsteps li.ai b { background: linear-gradient(90deg, var(--ink) 0%, var(--ink) 35%, var(--cyan) 50%, var(--ink) 65%, var(--ink) 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: aishine 2.2s linear infinite; }
.agentsteps li.ai span { color: var(--cyan); }
@keyframes aishine { from { background-position: 120% 0; } to { background-position: -100% 0; } }
.agentwork.thinking .agentwork-text small { display: inline-flex; align-items: center; gap: 8px; }
.agentwork.thinking .agentwork-text small::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px 2px rgba(41, 200, 255, .8); animation: aipulse 1.1s ease-in-out infinite; }
@keyframes aipulse { 50% { opacity: .25; transform: scale(.7); } }
@media (prefers-reduced-motion: reduce) { .agentwork.thinking .sonar i, .agentsteps li.ai b, .agentwork.thinking .agentwork-text small::before { animation: none; } .agentsteps li.ai b { color: var(--ink); background: none; } }
.agentwork-text small { color: var(--cyan); font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.agentwork-text h2 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; letter-spacing: -.02em; margin: 6px 0 4px; }
.agentwork-text p { color: var(--muted); margin: 0 0 18px; }
.agentsteps { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 12px; }
.agentsteps li { display: flex; gap: 12px; align-items: flex-start; }
.agentsteps li i { flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; border: 2px solid var(--line); }
.agentsteps li.done i { border-color: var(--good); background: var(--good) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%2307111f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.agentsteps li.now i { border-color: var(--line); border-top-color: var(--cyan); animation: spin .8s linear infinite; }
.agentsteps li.todo { opacity: .45; }
.agentsteps li b { display: block; font-weight: 700; }
.agentsteps li span { display: block; color: var(--muted); font-size: 13.5px; overflow-wrap: anywhere; }
@media (max-width: 720px) { .loading .agentwork { flex-direction: column; gap: 22px; padding: 26px 20px; text-align: left; } .sonar { width: 110px; height: 110px; } }
@media (prefers-reduced-motion: reduce) { .sonar span, .agentsteps li.now i { animation: none; } .sonar span { opacity: .35; } }
.loadbox .btn { margin-left: auto; }
.loading { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.loading .loadbox { grid-column: 1 / -1; }
.skeleton { height: 340px; border-radius: var(--radius); background: linear-gradient(90deg, #101a2b 25%, #16233a 50%, #101a2b 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.choose { padding: 8px 0 10px; }
.choose h2, .summary h2 { font-weight: 800; font-size: clamp(26px, 3vw, 40px); line-height: 1.08; letter-spacing: -.03em; color: var(--blue-deep); }
.choose > p { color: var(--muted); margin: 10px 0 20px; max-width: 70ch; }
.choose input[type="search"] { max-width: 380px; margin-bottom: 14px; }
.choice-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 10px; }
.choice { font: 500 15px/1.35 var(--font); text-align: left; background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px; padding: 15px 17px; cursor: pointer; color: var(--ink); display: flex; gap: 10px; align-items: baseline; justify-content: space-between; transition: border-color .15s, background .15s; }
.choice:hover { border-color: var(--blue); background: var(--blue-soft); }
.choice.suggested { border-color: var(--good); background: var(--good-soft); }
.choice small { color: var(--good); font-weight: 700; white-space: nowrap; }

/* ---------- results ---------- */
.summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; }
.summary .sub { color: var(--muted); }
.badge { font-size: 12px; font-weight: 700; border-radius: 99px; padding: 3px 10px; background: var(--surface-2); color: var(--muted); white-space: nowrap; }
.badge.live { background: var(--good-soft); color: var(--good); }
.badge.demo { background: var(--warn-soft); color: var(--warn); }
.variantbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; color: var(--muted); font-size: 14px; }
.variantbar b { color: var(--ink); }
.netwait { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--cyan); animation: netspin .8s linear infinite; }
@keyframes netspin { to { transform: rotate(360deg); } }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 22px 0 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.stat { padding: 16px 20px 18px; border-right: 1px solid var(--line); min-width: 0; }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-weight: 800; font-size: 28px; line-height: 1.2; font-variant-numeric: tabular-nums; letter-spacing: -.02em; color: var(--blue-deep); }
.stat .hint { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; margin: 22px 0 0; border-bottom: 2px solid var(--line); }
.tab { font: 700 14px/1 var(--font); background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -2px; padding: 14px 16px 13px; color: var(--muted); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.tab:hover { color: var(--blue); }
.tab.on { color: var(--blue-deep); border-bottom-color: var(--amber); }
.tab small { font-size: 11.5px; background: var(--surface-2); border-radius: 99px; padding: 3px 8px; }
.tab.on small { background: var(--blue); color: #fff; }
.layout { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 30px; align-items: start; margin-top: 26px; }
.filters { display: grid; gap: 20px; position: sticky; top: 86px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.filters h3 { margin-bottom: 9px; }
.filters .check { display: flex; align-items: center; gap: 10px; padding: 5px 0; cursor: pointer; font-weight: 500; }
.filters .rangeval { float: right; text-transform: none; letter-spacing: 0; color: var(--ink); font-variant-numeric: tabular-nums; }
.gradechips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font: 700 13px/1 var(--font); border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 99px; padding: 8px 13px; cursor: pointer; min-width: 40px; }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 16px; }
.toolbar .showing { color: var(--muted); margin-right: auto; font-weight: 500; }
.toolbar select { width: auto; height: 38px; padding: 4px 12px; font-size: 14px; font-weight: 600; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface); }
.seg button { font: 600 13px/1 var(--font); border: 0; background: transparent; color: var(--muted); padding: 11px 14px; cursor: pointer; }
.seg button.on { background: var(--blue); color: #fff; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(256px, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .15s, transform .15s, border-color .15s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #2e90ff; }
.card-photo { position: relative; aspect-ratio: 4 / 3; background: var(--surface-2); }
.thumb { width: 100%; height: 100%; border: 0; padding: 0; background: none; cursor: pointer; display: grid; place-items: center; color: var(--muted); font: 500 13px/1 var(--font); overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.nophoto { display: grid; justify-items: center; gap: 8px; opacity: .7; }
.pill { position: absolute; top: 10px; font-size: 12px; font-weight: 700; border-radius: 99px; padding: 5px 10px; background: rgba(7, 17, 31, .82); color: #fff; border: 1px solid rgba(255, 255, 255, .14); }
.pill.grade { left: 10px; }
.pill.dist { left: 10px; top: auto; bottom: 10px; background: rgba(7, 17, 31, .82); color: #fff; backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .14); }
.pill.grade.A { background: var(--good); color: #fff; }
.pill.grade.B { background: var(--blue); color: #fff; }
.pill.grade.C, .pill.grade.X { background: var(--warn); color: #2a1c00; }
.card-photo .star { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); background: rgba(7, 17, 31, .72); color: #fff; font-size: 17px; cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(6px); }
.card-photo .star:hover { background: var(--amber); }
.card-photo .star.on { background: var(--amber); color: var(--amber-ink); }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 5px; flex: 1; min-width: 0; }
.card-title { order: 2; font: 700 15px/1.3 var(--font); background: none; border: 0; padding: 0; color: var(--ink); cursor: pointer; text-align: left; }
.card-title:hover { color: var(--blue); }
.card-price { order: 1; }
.card-title small { font: 700 10.5px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); margin-right: 4px; }
.price { font-weight: 800; font-size: 23px; line-height: 1.15; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--blue-deep); }
.price small { font: 700 11px/1 var(--font); color: var(--muted); letter-spacing: .06em; margin-left: 5px; }
.price.call { font-size: 15px; color: var(--muted); font-weight: 700; }
.core { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.desc { order: 3; color: var(--muted); font-size: 13.5px; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.desc.empty { font-style: italic; opacity: .8; }
.detail .desc, .detail-head p { display: block; }
.facts-line { order: 4; font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.chipfact { padding: 4px 8px; border-radius: 7px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink); white-space: nowrap; }
.chipfact.mono { font-family: var(--mono); font-weight: 500; color: var(--muted); }
.chipfact.low { background: var(--good-soft); border-color: rgba(34, 197, 94, .35); color: var(--good); }
.yard span { display: flex; align-items: center; gap: 4px; }
.card-photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 46%; background: linear-gradient(to top, rgba(7, 17, 31, .55), transparent); pointer-events: none; }
.card-photo .pill, .card-photo .star { z-index: 1; }
.facts-line i { color: var(--muted); font-style: normal; }
.yard { order: 5; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); display: grid; gap: 1px; }
.yard b { color: var(--ink); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.actions { order: 6; display: flex; gap: 8px; margin-top: 10px; }
.actions .call { flex: 1; min-width: 0; }
.tag { font-size: 12.5px; border-radius: 6px; padding: 3px 9px; background: var(--surface-2); color: var(--muted); white-space: nowrap; }
.tag b { color: var(--ink); font-weight: 600; }
.tag.mono b { font-family: var(--mono); font-size: 12px; }
.tag.grade { background: var(--blue); color: #fff; font-weight: 800; }
.empty-state { background: var(--surface); border: 1px dashed #b9c5d4; border-radius: var(--radius); padding: 50px 20px; text-align: center; color: var(--muted); }
.empty-state b { display: block; color: var(--blue-deep); font-weight: 800; font-size: 19px; margin-bottom: 6px; }
.loadmore { display: flex; justify-content: center; margin-top: 30px; color: var(--muted); align-items: center; }
.co2 { color: var(--good); font-weight: 600; }
.tablewrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; font-size: 13.5px; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--surface-2); white-space: nowrap; color: var(--blue); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
tbody tr { cursor: pointer; }
tbody tr:hover { background: var(--blue-soft); }
td .mono { font-family: var(--mono); font-size: 12px; }

/* ---------- other sources ---------- */
.webbar { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 12px; }
.webbar input { flex: 1; min-width: 220px; max-width: 460px; height: 44px; font-weight: 600; }
.alsoseen { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 8px; }
.alsoseen > span { margin-right: 6px; }
.alsoseen .chip, .lookup-source .chip { font-family: var(--mono); font-weight: 600; font-size: 12px; padding: 7px 11px; }
.interchange { background: var(--blue-soft); border-radius: var(--radius); padding: 14px 16px 12px; margin: 6px 0 12px; }
.webnote { margin: 6px 0 4px; }
.weblist { display: grid; }
.webrow-wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; border-top: 1px solid var(--line); }
.webrow { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); align-items: center; transition: padding .15s; }
.webrow-wrap .webrow { border-top: 0; }
.webrow:hover { padding-left: 8px; }
.webrow:hover b { color: var(--blue); }
.webrow > .webrow-main:first-child { grid-column: 1 / 3; }
.webrow-img { width: 88px; height: 66px; object-fit: cover; border-radius: 10px; background: var(--surface-2); }
.webrow-main { display: grid; gap: 5px; min-width: 0; justify-items: start; }
.webrow-main b { font-size: 16px; font-weight: 700; }
.webrow-main p { color: var(--muted); font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.webrow-side { text-align: right; display: grid; gap: 2px; white-space: nowrap; }
.webrow-wrap > .btn { opacity: 0; transition: opacity .15s; }
.webrow-wrap:hover > .btn, .webrow-wrap > .btn:focus-visible { opacity: 1; }
.match { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.match.sure { color: var(--good); }
.match.sure::before { content: "✓ "; }
.droppedbox { margin-top: 26px; border-top: 2px solid var(--line); padding-top: 14px; }
.droppedbox summary { cursor: pointer; font-weight: 600; color: var(--muted); }
.droppedbox summary:hover { color: var(--blue); }
.webrow.dropped { grid-template-columns: minmax(0, 1fr) auto; cursor: default; }
.webrow.dropped:hover { padding-left: 0; }
.webrow.dropped b { font-weight: 500; font-size: 14.5px; color: var(--muted); }
.webrow.dropped .why { font-size: 12.5px; color: var(--red); font-weight: 600; }
.webrow.dropped .webrow-side { justify-items: end; }

/* ---------- quote sheet and AI calls ---------- */
.sheet { display: grid; margin-top: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 20px; }
.sheet-row { display: grid; grid-template-columns: 96px minmax(180px, 1.4fr) minmax(160px, 1fr) 110px minmax(240px, 1.3fr) auto; gap: 18px; align-items: start; padding: 18px 0; border-top: 1px solid var(--line); }
.sheet-row:first-child { border-top: 0; }
.sheet-row .thumb { width: 96px; height: 72px; border-radius: 10px; background: var(--surface-2); }
.sheet-main { display: grid; gap: 4px; min-width: 0; }
.sheet-yard { display: grid; gap: 2px; font-size: 13.5px; min-width: 0; }
.sheet-yard a { color: var(--blue); font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; }
.sheet-yard a:hover { text-decoration: underline; }
.sheet-price small { display: block; }
.sheet-price .price { font-size: 19px; }
.sheet-track { display: grid; grid-template-columns: 130px 1fr; gap: 8px; }
.sheet-track select, .sheet-track input { height: 38px; font-size: 13.5px; }
.sheet-track select { font-weight: 700; }
.sheet-note { grid-column: 1 / -1; }
.st-quoted { background: var(--blue-soft); border-color: transparent; color: var(--blue-deep); }
.st-ordered { background: var(--good-soft); border-color: transparent; color: var(--good); }
.st-none { background: var(--surface-2); color: var(--muted); }
.st-called { background: var(--warn-soft); border-color: transparent; color: var(--warn); }
.sheet-actions { display: grid; gap: 6px; justify-items: stretch; }
.callbox { grid-column: 1 / -1; background: var(--blue-soft); border-radius: 12px; padding: 16px 18px; display: grid; gap: 12px; }
.callbox:not(.done):not(.failed) { display: flex; align-items: center; gap: 12px; color: var(--blue-deep); font-weight: 600; }
.callbox.failed { background: rgba(255, 90, 95, .14); color: var(--red); }
.callbox-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; color: var(--blue-deep); }
.callfacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px 24px; margin: 0; }
.callfacts dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.callbox details summary { cursor: pointer; font-weight: 600; font-size: 13px; color: var(--blue); }
.transcript { margin-top: 8px; display: grid; gap: 6px; font-size: 13.5px; max-height: 260px; overflow: auto; background: var(--surface-2); border-radius: 8px; padding: 12px; }
.transcript p b { display: inline-block; min-width: 42px; color: var(--blue); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }

/* ---------- dialogs ---------- */
.detail { border: 0; border-radius: 18px; padding: 0; width: min(980px, calc(100vw - 24px)); max-height: calc(100vh - 40px); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); }
.detail::backdrop { background: rgba(0, 0, 0, .55); backdrop-filter: blur(4px); }
.detail-head { display: flex; gap: 12px; align-items: flex-start; padding: 24px 28px 16px; position: sticky; top: 0; background: var(--surface); z-index: 1; border-bottom: 1px solid var(--line); }
.detail-head h2 { font-weight: 800; font-size: 23px; line-height: 1.12; letter-spacing: -.02em; color: var(--blue-deep); }
.detail-head p { color: var(--muted); margin-top: 6px; }
.detail-head .btn { margin-left: auto; flex: none; }
.detail-body { padding: 20px 28px 28px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; }
.gallery-main { aspect-ratio: 4 / 3; background: var(--surface-2); border-radius: 14px; overflow: hidden; display: grid; place-items: center; color: var(--muted); }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-main img { cursor: zoom-in; }
.zoomhint { margin: 8px 0 0; color: var(--muted); font-size: 12.5px; }
/* a photo opened large */
dialog.zoom { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(3, 8, 16, .94); overflow: hidden; }
dialog.zoom::backdrop { background: rgba(3, 8, 16, .6); }
.zoom-stage { position: absolute; inset: 0 0 64px; display: grid; place-items: center; overflow: hidden; touch-action: none; }
.zoom-stage img { max-width: 94vw; max-height: calc(100vh - 96px); object-fit: contain; transform-origin: center; user-select: none; will-change: transform; border-radius: 6px; }
.zoom-bar { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-lg); }
.zoom-bar button, .zoom-nav { border: 0; background: var(--surface-2); color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.zoom-bar button { min-width: 36px; height: 36px; padding: 0 12px; border-radius: 999px; font-size: 16px; }
.zoom-bar button:hover, .zoom-nav:hover { background: var(--amber); color: #fff; }
.zoom-level, .zoom-count { min-width: 52px; text-align: center; color: var(--muted); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.zoom-nav { position: absolute; top: calc(50% - 60px); width: 52px; height: 72px; border-radius: 14px; font-size: 34px; line-height: 1; opacity: .85; }
.zoom-nav.prev { left: 16px; }
.zoom-nav.next { right: 16px; }
.gallery-thumbs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; max-height: 150px; overflow: auto; }
.gallery-thumbs button { width: 64px; height: 48px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: var(--surface-2); }
.gallery-thumbs button.on { border-color: var(--amber); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail .price { font-size: 36px; }
.facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 18px; margin: 16px 0; }
.facts dt, .facts dd { padding: 10px 0; border-top: 1px solid var(--line); }
.facts dt { align-self: center; }
.facts dd { margin: 0; overflow-wrap: anywhere; font-weight: 600; }
.yardbox { background: var(--blue-soft); border-radius: 14px; padding: 18px; display: grid; gap: 10px; }
.yardbox h3 { font-weight: 800; font-size: 16px; line-height: 1.25; color: var(--blue-deep); }
.phones, .detail-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.detail .btn.star.on { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); }
.shopgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 20px 28px 28px; }
.shopgrid .wide { grid-column: 1 / -1; }
.shopgrid-actions { display: flex; justify-content: flex-end; }
.lookup-body { padding: 18px 28px 28px; display: grid; gap: 22px; }
.lookup-lede { font-size: 16px; color: var(--muted); }
.lookup-source h3 { color: var(--blue); margin-bottom: 4px; }
.lookup-list { padding: 12px 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.lookup-list b { font-size: 14.5px; color: var(--blue-deep); }
.lookup-fits { margin: 12px 0 0; padding: 0; list-style: none; columns: 2; column-gap: 28px; font-size: 13.5px; color: var(--muted); }
.lookup-fits li { padding: 4px 0; break-inside: avoid; }

.toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); background: var(--blue-deep); color: #fff; padding: 12px 20px; border-radius: 10px; font-weight: 600; font-size: 14px; z-index: 100; box-shadow: var(--shadow-lg); }
.foot { color: var(--muted); font-size: 12.5px; padding-block: 34px; border-top: 1px solid var(--line); margin-top: 0; }

/* Navigation links and the hero's two ways in */
.navlink { display: none; }
.navcta { text-decoration: none; }
.topbar-actions a.btn { text-decoration: none; }
@media (min-width: 1240px) { .navlink { display: inline-flex; } }
@media (max-width: 760px) { .navcta { display: none; } }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; pointer-events: auto; }
.hero-cta .btn { height: 46px; padding-inline: 20px; font-size: 15px; font-weight: 700; text-decoration: none; }
.hero-cta .btn:not(.primary) { background: rgba(255, 255, 255, .06); border-color: rgba(46, 144, 255, .5); color: #fff; }
.hero-cta .btn:not(.primary):hover { background: rgba(46, 144, 255, .18); }
.stage-ui .stage-hint:first-of-type { color: #fff; font-weight: 700; letter-spacing: .01em; }

/* Two audiences, side by side and equal */
.audiences { margin-top: 56px; padding-block: 8px; }
.aud-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.aud { display: flex; flex-direction: column; gap: 12px; padding: 34px 34px 32px; border: 1px solid rgba(46, 144, 255, .28); border-radius: 18px; background: linear-gradient(160deg, #13223a, #101a2b 55%); }
.aud-eyebrow { color: var(--cyan); font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.aud h2 { font-size: clamp(26px, 2.8vw, 38px); font-weight: 800; letter-spacing: -.025em; line-height: 1.08; }
.aud-lede { color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 52ch; }
.aud ul { margin: 6px 0 10px; padding: 0; list-style: none; display: grid; gap: 10px; }
.aud li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; font-size: 15px; }
.aud li::before { content: "\2713"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(30, 123, 255, .18); color: var(--cyan); font-size: 12px; font-weight: 800; }
.aud .btn { align-self: flex-start; margin-top: auto; height: 46px; padding-inline: 22px; font-size: 15px; font-weight: 700; text-decoration: none; }

/* How it works */
.how { padding-block: 64px 8px; }
.how h2 { margin-top: 10px; font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; letter-spacing: -.025em; line-height: 1.08; }
.how-steps { margin: 30px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.how-steps li { padding: 26px 26px 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.how-n { font: 700 13px/1 var(--mono); letter-spacing: .1em; color: var(--cyan); }
.how-steps h3 { margin-top: 14px; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.how-steps p { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.how-note { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; color: var(--muted); font-size: 14px; }
.st { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; border: 1px solid currentColor; }
.st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st.ok { color: var(--good); } .st.wait { color: var(--warn); } .st.no { color: var(--bad); }
.foot-brand { color: var(--ink); }
@media (max-width: 900px) { .aud-grid, .how-steps { grid-template-columns: 1fr; } .aud { padding: 26px 22px; } }

/* The second yard network's tab */
.morebox { margin: 18px 0; padding: 26px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); display: grid; gap: 12px; max-width: 880px; }
.morebox h3 { font-size: 19px; font-weight: 800; }
.morebox p { color: var(--muted); max-width: 70ch; }
.morebox .steps { margin: 4px 0 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 10px; }
.morebox .steps li { counter-increment: step; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.morebox .steps li::before { content: counter(step); flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-weight: 800; font-size: 14px; }
.morebox .steps li span { flex: 1 1 260px; }
.morewait { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.morewait i { width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); animation: bridgepulse 1.3s ease-in-out infinite; }
.morechoices { display: flex; flex-wrap: wrap; gap: 8px; }
.morechoices .btn { height: auto; min-height: 40px; padding: 8px 14px; text-align: left; white-space: normal; }
.morehead { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 18px 0 6px; }
.morehead > div { margin-right: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 16px; }
.morehead > span { color: var(--muted); font-size: 14px; }
.morenum { font: 600 12.5px/1 var(--mono); padding: 5px 9px; border-radius: 999px; border: 1px solid rgba(41, 200, 255, .4); color: var(--cyan); }
.morenote { color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.moregrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.morecard { display: flex; flex-direction: column; overflow: hidden; }
.morecard .thumb { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; background: var(--surface-2); color: var(--muted); font-size: 13px; }
.morecard .thumb img { width: 100%; height: 100%; object-fit: cover; }
.gradepill { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--good); color: #04130a; }
.gradepill.gB { background: var(--warn); color: #231700; }
.gradepill.gC, .gradepill.gX { background: #5b6b83; color: #fff; }
.morebody { display: grid; gap: 8px; padding: 14px 16px 16px; }
.moreprice { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.moreprice small { font-size: 12px; font-weight: 600; color: var(--muted); }
.moremeta { font-size: 13px; color: var(--muted); min-height: 18px; }
.moreseller { display: grid; font-size: 14px; }
.moreseller span { color: var(--muted); font-size: 13px; }
.morecard .btn { justify-content: center; text-decoration: none; margin-top: 4px; }

/* The AI Agent (the Chrome add-on): a bar under the top bar until it is installed, and a dialog of its own */
.agentbar { position: sticky; top: 62px; z-index: 39; background: linear-gradient(90deg, #1667db, #1e7bff 55%, #1aa3ff); color: #fff; box-shadow: 0 6px 22px rgba(30, 123, 255, .35); }
.agentbar-in { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 18px; min-height: 48px; padding-block: 8px; font-size: 15px; }
.agentbar b:first-child { display: inline-block; margin-right: 8px; padding: 2px 9px; border-radius: 999px; background: #fff; color: #1667db; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }
.agentbar .btn { background: #fff; border-color: #fff; color: #0b3f8f; font-weight: 700; }
.agentbar .btn:hover { background: #e6f0ff; }
dialog.agent { width: min(680px, calc(100vw - 24px)); max-height: calc(100vh - 40px); margin: auto; padding: 34px 34px 28px; border: 0; border-top: 6px solid var(--amber); border-left: 0; border-radius: 20px; box-shadow: var(--shadow-lg); overflow: auto; }
dialog.agent::backdrop { background: rgba(6, 8, 12, .72); backdrop-filter: blur(3px); }
dialog.agent h2 { font-size: 28px; letter-spacing: -.02em; }
dialog.agent > p { font-size: 15.5px; }
.agent-eyebrow { color: var(--cyan); font-weight: 800; font-size: 12.5px !important; letter-spacing: .12em; text-transform: uppercase; }
.agent-x { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--surface-2); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }
.agent-x:hover { background: var(--line); }
dialog.agent:not([open]) { display: none; }

/* The brand's AI mark */
.brand-ai { display: inline-block; margin-left: 2px; padding: 1px 7px 2px; border-radius: 7px; background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .04em; vertical-align: 2px; }

/* What the site is, in words: under the search and its results, for people and for search engines */
.about { margin-top: 56px; padding-block: 64px 56px; background: #07111f; color: #e8ebf0; }
.about-eyebrow { color: var(--cyan); font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.about h2 { margin-top: 10px; font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; letter-spacing: -.025em; line-height: 1.08; color: #fff; }
.about-lede { margin-top: 14px; max-width: 760px; font-size: 17px; line-height: 1.6; color: #b9c0cc; }
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.about-grid article { padding: 22px 22px 24px; border: 1px solid rgba(46, 144, 255, .2); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02)); }
.about-grid h3 { font-size: 16.5px; font-weight: 700; color: #fff; letter-spacing: -.01em; }
.about-grid h3::before { content: ""; display: block; width: 26px; height: 3px; margin-bottom: 14px; border-radius: 2px; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.about-grid p { margin-top: 8px; font-size: 14.5px; line-height: 1.6; color: #aab2bf; }
.about a { color: var(--cyan); text-underline-offset: 3px; }
.about .about-faq-title { margin-top: 56px; font-size: clamp(22px, 2.4vw, 30px); }
.about-faq { margin-top: 18px; max-width: 860px; border-top: 1px solid rgba(255, 255, 255, .1); }
.about-faq details { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.about-faq summary { cursor: pointer; padding: 16px 28px 16px 0; font-size: 16px; font-weight: 600; color: #fff; list-style: none; position: relative; }
.about-faq summary::-webkit-details-marker { display: none; }
.about-faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 22px; font-weight: 400; color: var(--cyan); }
.about-faq details[open] summary::after { content: "\2212"; }
.about-faq p { padding: 0 28px 18px 0; font-size: 15px; line-height: 1.65; color: #aab2bf; }
.about + .foot { border-top: 0; max-width: none; background: #07111f; color: #7f8896; padding-inline: var(--gutter); }
.about + .foot a { color: #b9c0cc; }
@media (max-width: 980px) { .about-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .about { padding-block: 44px 40px; } .about-grid { grid-template-columns: 1fr; } }

/* ---------- smaller screens ---------- */
@media (max-width: 1100px) {
  .studio { height: auto; display: flex; flex-direction: column; }
  .stage { position: relative; inset: auto; height: 460px; }
  .rail { position: relative; inset: auto; right: auto; width: auto; align-items: flex-start; margin: 16px 28px 0; }
  #rail { flex-direction: row; flex-wrap: wrap; gap: 4px 16px; align-items: center; }
  .ghostword { padding-bottom: 0; }
  .stage-ui { bottom: 22px; }
  .stage-credit { display: none; }
  #searchForm { margin-top: 18px; }
  .fields { grid-template-columns: 104px 1fr 1fr; padding: 10px; row-gap: 4px; }
  .fields .f-model { grid-column: 2 / -1; border-right: 0; }
  .fields .f-part { grid-column: 1 / -1; border-right: 0; }
  .fields .f-zip { grid-column: 1 / 2; }
  .fields .f-region { grid-column: 2 / -1; border-right: 0; }
  .fields .f-go { grid-column: 1 / -1; margin: 6px 0 0; }
  .more-grid { grid-template-columns: 1fr 1fr; }
  .more-grid > :first-child { grid-column: 1 / -1; }
  .start { grid-template-columns: 1fr; }
  .combo-list { bottom: auto; top: calc(100% + 10px); }
  .sheet-row { grid-template-columns: 96px 1fr 1fr; }
  .sheet-track, .sheet-actions { grid-column: 1 / -1; }
  .sheet-actions { display: flex; flex-wrap: wrap; }
}
@media (max-width: 860px) {
  .layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .detail-body, .shopgrid { grid-template-columns: 1fr; }
  .status, .stage-hint, .lede { display: none; }
}
@media (max-width: 520px) {
  .wrap, #searchForm { padding-inline: 16px; }
  .stage { height: 380px; }
  .stage-copy { left: 16px; top: 16px; }
  .fields { grid-template-columns: 1fr 1fr; }
  .fields .f-year { grid-column: 1 / -1; border-right: 0; }
  .fields .f-model, .fields .f-part, .fields .f-go { grid-column: 1 / -1; }
  .fields .f-zip { grid-column: 1 / 2; }
  .fields .f-region { grid-column: 2 / -1; }
  .more-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  #savedBtn span[data-t] { display: none; }
}
@media (prefers-reduced-motion: reduce) { .spinner, .skeleton { animation: none; } .card, .btn, .partrow, .zonerow, .rowbtn, .zonepanel { transition: none; } }

/* photos keep their shape whatever the card height */
.card-photo { flex: none; }
.card-photo .thumb { position: absolute; inset: 0; }

/* VIN and module-number lookups ride on the search bar, clear of the car */
#searchForm { margin-top: -112px; }
.docktop { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); border: 1px solid rgba(3, 76, 140, .12); border-radius: 14px; padding: 8px 10px 8px 18px; margin-bottom: 8px; box-shadow: var(--shadow); }
.dockgroup { display: flex; align-items: center; gap: 10px; flex: 1 1 380px; min-width: 0; }
.docklabel { font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--blue); white-space: nowrap; }
.docktop .vinquick { margin: 0; max-width: none; flex: 1; min-width: 0; pointer-events: auto; }
.docktop .vinquick input { height: 38px; background: var(--page); min-width: 0; }
.docktop .vinquick .btn { height: 38px; }
.docktop #vinQuickInfo { flex-basis: 100%; margin: 0 0 2px; }
.docktop #vinQuickInfo:empty { display: none; }
.stage-copy { max-width: 400px; }
.stage-ui { bottom: 136px; }
.stage-credit { bottom: 116px; }
body.compact #searchForm { margin-top: 0; }
body.compact .docktop { box-shadow: none; background: var(--page); border-color: var(--line); }
@media (max-width: 1100px) { #searchForm { margin-top: 18px; } .stage-ui { bottom: 22px; } }

/* =====================================================================================
   The showroom at night. The top of the page is a dark studio: the car is lit, everything
   around it recedes, and amber marks what to press. Below the search bar the page is light.
   ===================================================================================== */
.topbar { background: #07111f; box-shadow: none; border-bottom: 1px solid rgba(255, 255, 255, .07); }
body:not(.compact) .hero { background: #07111f; padding-bottom: 34px; }
.stage { background:
    radial-gradient(52% 46% at 60% 56%, #173258 0%, #0d1d36 46%, #07111f 78%),
    #07111f; }
.ghostword { color: rgba(255, 255, 255, .035); padding-bottom: 6vh; padding-left: 12vw; }
.stage-copy { top: 46px; max-width: 520px; }
.eyebrow-line { display: flex; align-items: center; gap: 12px; font: 600 11.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .62); margin-bottom: 22px; }
.eyebrow-line i { width: 30px; height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--blue), var(--cyan)); display: block; }
.stage-copy h1 { color: #fff; font-weight: 800; font-size: clamp(38px, 4.6vw, 68px); line-height: .98; letter-spacing: -.04em; }
.swash { position: relative; white-space: nowrap; }
.swash::after { content: ""; position: absolute; left: -2%; right: -3%; bottom: -.12em; height: .14em; background: linear-gradient(90deg, var(--blue), var(--cyan)); border-radius: 99px; transform: rotate(-1.2deg); box-shadow: 0 0 22px rgba(41, 200, 255, .45); }
.lede { color: rgba(255, 255, 255, .66); font-size: 16px; max-width: 34ch; margin-top: 26px; }
.rail-head { color: rgba(255, 255, 255, .5); }
.rail-item { color: rgba(255, 255, 255, .72); }
.rail-item:hover { color: #fff; }
.rail-item:hover::after { background: #fff; }
.rail-item.on { color: var(--amber); }
.rail-all { background: var(--amber); color: var(--amber-ink); }
.rail-all:hover { background: var(--amber-deep); }
.stage-btn { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); color: #fff; backdrop-filter: blur(8px); }
.stage-btn:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .5); color: #fff; }
.stage-hint { color: rgba(255, 255, 255, .5); }
.stage-credit { color: rgba(255, 255, 255, .32); }
.stage-loading { color: rgba(255, 255, 255, .6); }
.explode-slide { display: inline-flex; align-items: center; gap: 10px; font: 600 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.explode-slide input { width: 180px; height: 22px; padding: 0; border: 0; background: none; accent-color: var(--amber); cursor: ew-resize; }
.stage-label::before { box-shadow: 0 0 0 2px rgba(7, 17, 31, .9), 0 0 0 7px rgba(30, 123, 255, .22), 0 0 18px rgba(30, 123, 255, .6); }
.stage-label:hover, .stage-label.hover { background: #fff; color: #07111f; }
.stage-label.on { background: var(--amber); color: var(--amber-ink); }
.docktop { background: rgba(16, 26, 43, .86); border-color: rgba(46, 144, 255, .22); box-shadow: none; }
.docktop .docklabel { color: rgba(255, 255, 255, .6); }
.docktop .vinquick input { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .12); color: #fff; }
.docktop .vinquick input::placeholder { color: rgba(255, 255, 255, .45); }
.docktop .btn:not(.primary) { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: #fff; }
.docktop .btn:not(.primary):hover { background: rgba(255, 255, 255, .16); color: #fff; }
.docktop .hint { color: rgba(255, 255, 255, .6); }
.docktop .hint.ok { color: #5fe0a0; }
.fields { background: #101a2b; border-color: rgba(46, 144, 255, .45); box-shadow: 0 0 0 1px rgba(46, 144, 255, .12), 0 0 44px rgba(30, 123, 255, .2), 0 24px 60px rgba(0, 0, 0, .55); }
.fields .field { border-right-color: rgba(167, 180, 200, .16); }
.fields .field > span, .fields .field > label { color: var(--cyan); }
body:not(.compact) .more summary { color: rgba(255, 255, 255, .6); }
body:not(.compact) .more .field > span { color: rgba(255, 255, 255, .6); }
body:not(.compact) .hero .hint { color: rgba(255, 255, 255, .55); }
body.compact .hero { background: #07111f; border-bottom: 0; }
body.compact .fields { background: #101a2b; box-shadow: 0 0 0 1px rgba(46, 144, 255, .12); }
body.compact .docktop { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .1); }
body.compact .more summary, body.compact .more .field > span, body.compact .hero .hint { color: rgba(255, 255, 255, .6); }
@media (max-width: 1100px) {
  .rail { margin-top: 18px; }
  .explode-slide input { width: 120px; }
}

/* a part a yard published here itself */
.pill.own { left: auto; right: 52px; background: var(--amber); color: var(--amber-ink); }

/* connector setup: three steps, each with its one button */
.bridge ol.steps { list-style: none; padding: 0; counter-reset: step; gap: 10px; }
.bridge ol.steps li { counter-increment: step; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.bridge ol.steps li::before { content: counter(step); flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-weight: 800; font-size: 14px; }
.bridge ol.steps li span { flex: 1 1 260px; min-width: 0; }
.bridge ol.steps li .btn { flex: none; text-decoration: none; }
.bridge .waiting { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: 14px; margin-right: auto; }
.bridge .waiting i { width: 9px; height: 9px; border-radius: 50%; background: var(--amber); animation: bridgepulse 1.3s ease-in-out infinite; }
@keyframes bridgepulse { 0%, 100% { opacity: 0.25; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1.15); } }
@media (prefers-reduced-motion: reduce) { .bridge .waiting i { animation: none; } }

/* asking a yard that published the part here */
.askyard { display: grid; gap: 8px; margin: 12px 0 4px; padding-top: 12px; border-top: 1px solid var(--line); }
.askyard h4 { margin: 0; font-size: 14px; font-weight: 800; color: var(--blue-deep); }
.askyard h4 small { font-weight: 600; color: var(--muted); margin-left: 6px; }
.askgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.askyard input { width: 100%; min-width: 0; height: 38px; border: 1px solid var(--line); border-radius: 8px; padding: 0 10px; font: inherit; background: var(--surface); color: var(--ink); }
.askrow { display: flex; gap: 8px; flex-wrap: wrap; }
.askyard .hint { margin: 0; font-size: 12.5px; }

/* hotspots: small points of light, the name appears when pointed at */
.stage-label { height: 22px; min-width: 22px; font-size: 12px; line-height: 22px; }
.stage-label::before { width: 7px; height: 7px; margin: 0 7px; box-shadow: 0 0 0 1.5px rgba(7, 17, 31, .9), 0 0 0 4px rgba(30, 123, 255, .2), 0 0 10px rgba(30, 123, 255, .55); }

.phone-only { display: none; }

/* phones */
@media (max-width: 700px) {
  .topbar-in { gap: 8px; }
  .topbar-actions { flex: 1 1 auto; min-width: 0; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .topbar-actions::-webkit-scrollbar { display: none; }
  .topbar-actions .btn { flex: none; padding-inline: 9px; font-size: 13px; }
  .topbar .brand span { font-size: 17px; }
  /* Everything in the bar stays in reach without sideways scrolling: shorter words, no label on the star */
  .topbar-actions { gap: 2px; }
  .topbar-actions .btn { padding-inline: 7px; }
  .wide-only, #savedBtn [data-t="saved"] { display: none; }
  .phone-only { display: inline; }
  #shopBtn { max-width: 74px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .topbar .brand { gap: 7px; }
  .topbar .brand svg { width: 24px; height: 24px; }
  .topbar-in { gap: 4px; }
  .stage { height: 470px; }
  .stage-copy { top: 12px; max-width: none; right: 16px; }
  .stage-copy h1 { font-size: 31px; }
  .eyebrow-line { font-size: 9.5px; }
  .explode-slide { display: none; }
  .stage-ui { left: 16px; bottom: 14px; }
  .rail { margin: 12px 16px 0; }
  .docktop { flex-wrap: wrap; }
  .bridge { padding: 18px 16px; }
  .bridge ol.steps li span { flex-basis: 100%; }
}

/* a module number that a yard on PartSonar has on the shelf */
.lookup-source.held { background: rgba(245, 185, 66, .1); border: 1px solid rgba(245, 185, 66, .42); border-radius: 12px; padding: 14px 16px; }
.heldrow { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; width: 100%; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; margin-top: 8px; cursor: pointer; font: inherit; color: var(--ink); }
.heldrow:hover { border-color: var(--blue); }
.heldrow img, .heldrow .nophoto { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; background: var(--surface-2); display: block; }
.heldrow span { display: grid; gap: 2px; min-width: 0; }
.heldrow small { color: var(--muted); font-size: 12.5px; }
.heldprice { font-size: 17px; white-space: nowrap; color: var(--blue-deep); }

/* yards from the directory, to phone */
.yardrow { cursor: default; }
.yardside { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.yardrow .tag { text-decoration: none; }

/* results without the connector */
.partial { background: rgba(245, 185, 66, .1); border: 1px solid rgba(245, 185, 66, .42); border-radius: 12px; padding: 12px 16px; margin: 0 0 14px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: 14.5px; }
.partial b { color: var(--blue-deep); }

/* several parts for one car: which yard has them all */
.plistwrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; margin-top: 14px; }
.plist { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.plist th { text-align: left; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); padding: 10px 12px; white-space: nowrap; }
.plist td { padding: 10px 12px; border-top: 1px solid var(--line); vertical-align: top; }
.plist td.none { color: #a9b3c1; }
.plist tr.full td { background: rgba(34, 197, 94, .1); }
.plist tr.full td:first-child { box-shadow: inset 4px 0 0 var(--good, #22c55e); }
.plist small { color: var(--muted); }
.plist-actions { white-space: nowrap; text-align: right; }
.plist-actions .btn { margin-left: 4px; }

/* The narrowest phones: miles or kilometres follows the postal code, so its switch gives way to the currency one */
@media (max-width: 430px) {
  #unitBtn { display: none; }
}

/* a yard on the call list whose stock this search already shows */
.yardrow .good { color: #22c55e; font-weight: 600; }

/* the account part of the shop dialog (hosted copies) */
.acctbox { border-top: 1px solid var(--line); padding-top: 16px; }
.acctbox p { margin: 4px 0 10px; color: var(--muted); font-size: 14px; }
.acctrow { display: flex; flex-wrap: wrap; gap: 8px; }
.acctrow input { flex: 1 1 200px; min-width: 0; padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }

/* where else to look for a module number */
.lookup-more .alsoseen { gap: 8px; }
.lookup-more .hint { margin-top: 8px; }

/* requests put to every yard, and the yards that say they have the part */
.askedpanel { grid-column: 1 / -1; }
.askedlist { display: grid; gap: 8px; }
.askedrow { display: grid; grid-template-columns: minmax(180px, 1fr) 2fr auto; gap: 14px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.askedrow.has { border-color: #22c55e; background: rgba(34, 197, 94, .1); }
.askedrow small { display: block; color: var(--muted); font-size: 12.5px; }
.askedrow small.good { color: #22c55e; font-weight: 600; }
.askedanswer { display: grid; gap: 3px; font-size: 14px; }
.askedyard a { color: var(--blue); font-weight: 600; text-decoration: none; white-space: nowrap; }
@media (max-width: 700px) { .askedrow { grid-template-columns: 1fr auto; } .askedanswer { grid-column: 1 / -1; grid-row: 2; } }

/* the ask-first box of a paid search */
.paidrow { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.paidrow .btn { text-decoration: none; }

/* ---------- phones: one column, nothing cut off ---------- */
@media (max-width: 560px) {
  .brand { white-space: nowrap; font-size: 17px; flex: none; gap: 7px; }
  .brand svg { width: 24px; height: 24px; }
  .topbar-in { gap: 8px; }
  /* What does not fit is swiped to, not cut off */
  .topbar-actions { flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; }
  .topbar-actions::-webkit-scrollbar { display: none; }
  .topbar-actions .btn { flex: none; padding-inline: 8px; }
  /* VIN and module number: the label above, the box as wide as the screen allows */
  .dockgroup { flex: 1 1 100%; flex-wrap: wrap; gap: 6px 8px; }
  .docklabel { flex-basis: 100%; }
  .docktop .vinquick { flex: 1 1 100%; }
  .docktop .vinquick input { flex: 1 1 auto; }
  /* A listing across the screen: photo on the left, the facts and the phone button beside it */
  .cards { grid-template-columns: 1fr; gap: 14px; }
  .card { flex-direction: row; }
  .card-photo { flex: 0 0 38%; aspect-ratio: auto; min-height: 168px; }
  .card-body { padding: 12px 14px 14px; }
  .price { font-size: 21px; }
  .zoomhint { display: none; }
  .numbernote { font-size: 13.5px; }
}
/* the two ways to hand over a photo, told apart by an icon and their words */
.upbtn { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.upbtn.wide-only { display: inline-flex; }
@media (max-width: 760px) { .upbtn.wide-only { display: none; } }
/* VIN and module number each get a row of their own, so the box to type in stays wide */
.docktop .dockgroup { flex: 1 1 100%; }
.docktop .docklabel { flex: 0 0 118px; }
.docktop .vinquick input { flex: 1 1 200px; min-width: 140px; }
@media (max-width: 560px) { .docktop .docklabel { flex: 1 1 100%; } }

/* ================= the tech skin =================
   One look for the whole buyer side: a faint engineering grid behind everything, panels of dark
   glass edged in light, numbers and labels set like instrument readouts, and light that answers
   the pointer. Every new piece of interface takes its colours and edges from here. */
:root {
  --edge: rgba(46, 144, 255, .28);
  --edge-hot: rgba(41, 200, 255, .75);
  --glass: linear-gradient(180deg, rgba(22, 35, 58, .82), rgba(12, 21, 37, .88));
  --beam: linear-gradient(90deg, #1e7bff, #29c8ff);
}
body {
  background:
    radial-gradient(1100px 520px at 12% -6%, rgba(30, 123, 255, .16), transparent 62%),
    radial-gradient(900px 480px at 96% 4%, rgba(41, 200, 255, .09), transparent 60%),
    linear-gradient(rgba(46, 144, 255, .045) 1px, transparent 1px) 0 0 / 100% 44px,
    linear-gradient(90deg, rgba(46, 144, 255, .045) 1px, transparent 1px) 0 0 / 44px 100%,
    var(--page);
  background-attachment: fixed;
}
::selection { background: rgba(41, 200, 255, .35); color: #fff; }
* { scrollbar-width: thin; scrollbar-color: #24406b #0a1424; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0a1424; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #1e4f9c, #1a7fb8); border-radius: 8px; border: 2px solid #0a1424; }

/* the top bar: glass, with a line of light under it */
.topbar { background: rgba(7, 17, 31, .78); backdrop-filter: blur(16px) saturate(1.3); border-bottom: 0; }
.topbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--edge-hot) 30%, #1e7bff 70%, transparent); opacity: .7; }

/* buttons: the main one is a beam of light, the others are etched glass */
.btn { transition: background .15s, border-color .15s, box-shadow .18s, transform .12s, color .15s; }
.btn.primary { background: var(--beam); border-color: transparent; color: #04101f; font-weight: 800; box-shadow: 0 0 0 1px rgba(41, 200, 255, .35), 0 8px 24px -8px rgba(30, 123, 255, .9); text-shadow: 0 1px 0 rgba(255, 255, 255, .25); }
.btn.primary:hover { background: linear-gradient(90deg, #3a8fff, #5ad6ff); border-color: transparent; color: #04101f; box-shadow: 0 0 0 1px rgba(90, 214, 255, .6), 0 10px 30px -6px rgba(41, 200, 255, .95); transform: translateY(-1px); }
.btn.primary:active { transform: translateY(0); }
.btn:not(.primary):not(.ghost):hover { border-color: var(--edge-hot); box-shadow: 0 0 0 1px rgba(41, 200, 255, .2), 0 0 18px -6px rgba(41, 200, 255, .7); }

/* the search bar: the centre of the instrument, with a moving edge of light */
.fields { position: relative; background: var(--glass); backdrop-filter: blur(14px); border: 1px solid transparent; background-clip: padding-box; }
.fields::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(120deg, rgba(41, 200, 255, .9), rgba(30, 123, 255, .25) 30%, rgba(30, 123, 255, .15) 60%, rgba(41, 200, 255, .9)); background-size: 220% 100%; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: edgerun 7s linear infinite; pointer-events: none; }
@keyframes edgerun { to { background-position: -220% 0; } }
.fields .field > span, .fields .field > label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; color: var(--cyan); }
.fields .field:focus-within { background: linear-gradient(180deg, rgba(41, 200, 255, .08), transparent); border-radius: 10px; }
.docktop { background: var(--glass); border-color: var(--edge); backdrop-filter: blur(14px); }
.docklabel { font-family: var(--mono); letter-spacing: .14em; }
.docktop .vinquick input:focus { border-color: var(--edge-hot); box-shadow: 0 0 0 3px rgba(41, 200, 255, .14); outline: 0; }

/* the results: headline, readouts, tabs */
.summary h2 { background: linear-gradient(90deg, #fff 30%, #9fdcff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats { position: relative; background: var(--glass); border-color: var(--edge); overflow: hidden; }
.stats::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--beam); opacity: .85; }
.stat { border-right-color: rgba(46, 144, 255, .16); }
.stat b { font-family: var(--mono); font-weight: 700; letter-spacing: -.03em; color: #fff; text-shadow: 0 0 22px rgba(41, 200, 255, .45); }
.tabs { border-bottom: 1px solid rgba(46, 144, 255, .22); }
.tab { position: relative; border-bottom: 0; margin-bottom: 0; }
.tab.on { color: #fff; border-bottom-color: transparent; }
.tab.on::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; background: var(--beam); box-shadow: 0 0 14px 1px rgba(41, 200, 255, .9); border-radius: 2px; }
.tab small { font-family: var(--mono); background: rgba(46, 144, 255, .16); color: #bfe6ff; }
.tab.on small { background: var(--beam); color: #04101f; }

/* filters and listings: glass panels whose edge lights up under the pointer */
.filters { background: var(--glass); border-color: var(--edge); backdrop-filter: blur(10px); }
.filters h3 { font-family: var(--mono); letter-spacing: .14em; color: var(--cyan); }
.chip { transition: border-color .15s, box-shadow .15s, background .15s; }
.chip:hover, .chip.on { border-color: var(--edge-hot); box-shadow: 0 0 14px -4px rgba(41, 200, 255, .8); }
.card { position: relative; background: var(--glass); border-color: rgba(46, 144, 255, .2); transition: box-shadow .2s, transform .2s, border-color .2s; }
.card::before { content: ""; position: absolute; left: 14px; right: 14px; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(41, 200, 255, .8), transparent); opacity: 0; transition: opacity .2s; z-index: 2; }
.card:hover { border-color: var(--edge-hot); transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(41, 200, 255, .22), 0 18px 44px -18px rgba(30, 123, 255, .85), 0 0 44px -22px rgba(41, 200, 255, .9); }
.card:hover::before { opacity: 1; }
.price { font-family: var(--mono); font-weight: 700; letter-spacing: -.04em; color: #fff; }
.price small { color: var(--cyan); }
.chipfact { font-family: var(--mono); font-size: 11.5px; background: rgba(46, 144, 255, .09); border-color: rgba(46, 144, 255, .26); }
.pill { font-family: var(--mono); letter-spacing: .02em; }

/* dialogs and the panels on the opening screen */
dialog.detail, dialog.agent { background: var(--glass); border: 1px solid var(--edge); backdrop-filter: blur(18px); box-shadow: 0 0 0 1px rgba(41, 200, 255, .12), 0 40px 120px -30px rgba(0, 0, 0, .9), 0 0 90px -40px rgba(41, 200, 255, .8); }
dialog::backdrop { background: rgba(3, 8, 16, .72); backdrop-filter: blur(4px); }
.detail-head { border-bottom: 1px solid rgba(46, 144, 255, .2); }
.choice { transition: border-color .15s, box-shadow .15s, transform .12s; }
.choice:hover { border-color: var(--edge-hot); box-shadow: 0 0 22px -8px rgba(41, 200, 255, .85); transform: translateX(3px); }

/* the car's own controls */
.zoomset { display: inline-flex; border: 1px solid rgba(255, 255, 255, .22); border-radius: 10px; overflow: hidden; backdrop-filter: blur(8px); }
.zoomset .btn { border: 0; border-radius: 0; min-width: 38px; padding-inline: 12px; font-family: var(--mono); font-size: 15px; }
.zoomset .btn + .btn { border-left: 1px solid rgba(255, 255, 255, .18); }
.zoomset #zoomFitBtn { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.zoomhow { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 900px) { .zoomhow { display: none; } }

/* ---------- the footer ---------- */
.sitefoot { position: relative; margin-top: 70px; padding: 54px 0 26px; background: linear-gradient(180deg, rgba(10, 20, 36, 0), rgba(10, 20, 36, .9) 22%); }
.sitefoot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--edge-hot) 30%, #1e7bff 70%, transparent); opacity: .6; }
.footgrid { display: grid; grid-template-columns: minmax(240px, 1.5fr) repeat(4, minmax(130px, 1fr)); gap: 34px 28px; }
.footbrand .brand { font-size: 20px; margin-bottom: 12px; }
.footbrand p { color: var(--muted); font-size: 14px; max-width: 34ch; margin: 0 0 14px; }
.footbrand .tagline { font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }
.footcol h3 { margin: 0 0 12px; font: 700 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }
.footcol ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footcol a, .footcol button { color: #c9d6ea; text-decoration: none; font: 500 14px/1.3 var(--font); background: none; border: 0; padding: 0; cursor: pointer; text-align: left; transition: color .15s, text-shadow .15s; }
.footcol a:hover, .footcol button:hover { color: #fff; text-shadow: 0 0 14px rgba(41, 200, 255, .9); }
.footbase { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(46, 144, 255, .16); color: var(--muted); font-size: 12.5px; }
.footbase span:last-child { max-width: 70ch; }
@media (max-width: 900px) { .footgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footbrand { grid-column: 1 / -1; } }

/* ---------- plain pages (about, terms, contact): the same glass, set for reading ---------- */
.readpage { max-width: 860px; margin: 0 auto; padding: 56px 24px 30px; }
.readpage .eyebrow { font: 700 11.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }
.readpage h1 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.08; letter-spacing: -.03em; margin: 12px 0 14px; background: linear-gradient(90deg, #fff 30%, #9fdcff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.readpage .lede { color: #c9d6ea; font-size: 18px; max-width: 62ch; margin: 0 0 30px; }
.readpage section { margin: 0 0 18px; padding: 22px 26px; border: 1px solid rgba(46, 144, 255, .2); border-radius: 16px; background: var(--glass); }
.readpage h2 { font-size: 19px; margin: 0 0 8px; letter-spacing: -.01em; }
.readpage p, .readpage li { color: #b9c7dc; line-height: 1.6; }
.readpage p { margin: 0 0 10px; }
.readpage p:last-child, .readpage ul:last-child { margin-bottom: 0; }
.readpage ul { margin: 0 0 10px; padding-left: 20px; }
.readpage a { color: #7cc8ff; }
.readpage .draft { border-color: rgba(245, 185, 66, .45); background: rgba(245, 185, 66, .07); }
.readpage .draft p { color: #f2d9a0; }
.readnav { display: flex; align-items: center; gap: 18px; padding: 16px 24px; max-width: 1240px; margin: 0 auto; }
.readnav a { color: #c9d6ea; text-decoration: none; font-weight: 600; font-size: 14px; }
.readnav a:hover { color: #fff; }
.readnav .brand { margin-right: auto; }

@media (prefers-reduced-motion: reduce) { .fields::before { animation: none; } .card:hover, .btn.primary:hover, .choice:hover { transform: none; } }

/* ---------- plans ---------- */
.planrow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 22px 26px 6px; }
.readpage .planrow { padding: 0; margin: 0 0 22px; }
.pricepage { max-width: 1080px; }
.plancard { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px 22px 22px; border: 1px solid rgba(46, 144, 255, .24); border-radius: 18px; background: var(--glass); transition: border-color .2s, box-shadow .2s, transform .2s; }
.plancard:hover { border-color: var(--edge-hot); transform: translateY(-3px); box-shadow: 0 22px 50px -24px rgba(30, 123, 255, .9); }
.plancard.hot { border-color: rgba(41, 200, 255, .7); box-shadow: 0 0 0 1px rgba(41, 200, 255, .25), 0 0 70px -26px rgba(41, 200, 255, .95); }
.plancard.hot::before { content: ""; position: absolute; left: 18px; right: 18px; top: 0; height: 2px; background: var(--beam); border-radius: 2px; }
.plancard.mine { border-color: rgba(34, 197, 94, .7); }
.planflag { position: absolute; top: -11px; right: 16px; padding: 4px 10px; border-radius: 999px; background: var(--beam); color: #04101f; font: 800 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.plancard h3 { margin: 0; font: 700 12px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); }
.planprice { margin: 2px 0 0; display: flex; align-items: baseline; gap: 8px; }
.planprice b { font: 700 44px/1 var(--mono); letter-spacing: -.05em; color: #fff; text-shadow: 0 0 26px rgba(41, 200, 255, .45); }
.planprice span { color: var(--muted); font-size: 12.5px; }
.planblurb { margin: 0; color: #c9d6ea; font-weight: 600; }
.plancard ul { list-style: none; margin: 6px 0 12px; padding: 0; display: grid; gap: 8px; flex: 1; }
.plancard li { position: relative; padding-left: 22px; color: #b9c7dc; font-size: 14px; line-height: 1.4; }
.plancard li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 9px; height: 5px; border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(-45deg); }
.plancard .btn { justify-content: center; text-align: center; text-decoration: none; }
.planmine { text-align: center; padding: 9px; border-radius: 10px; background: var(--good-soft); color: var(--good); font-weight: 700; }
.plankicker { font: 700 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }
.planfoot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 12px 26px 24px; }
.planfoot .hint { margin: 0; flex: 1 1 280px; }
.signpanel p { color: var(--muted); margin: 0 0 14px; }
.signpanel .btn { margin: 0 8px 8px 0; }
.freebar b { font-family: var(--mono); color: var(--cyan); }
@media (max-width: 820px) { .planrow { grid-template-columns: 1fr; } }

/* The way to the recycler side is yellow, the colour of that side */
.topbar .btn.ghost.for-yards { color: #ffc21a; border-color: rgba(255, 194, 26, .45); }
.topbar .btn.ghost.for-yards:hover { background: rgba(255, 194, 26, .14); border-color: #ffc21a; }
.sitefoot a.for-yards { color: #ffc21a; font-weight: 700; }
/* One audience on the home page: the card runs the full width, its points in two columns */
.aud-grid.one { grid-template-columns: 1fr; }
.aud-grid.one .aud ul { columns: 2; column-gap: 40px; }
@media (max-width: 900px) { .aud-grid.one .aud ul { columns: 1; } }
.aud-grid.one .aud ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 40px; columns: auto; }
.aud-grid.one .aud-lede { max-width: 70ch; }
@media (max-width: 900px) { .aud-grid.one .aud ul { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- the workspace of a signed-in shop */
body.app { padding-left: 236px; }
body.app .audiences, body.app .how, body.app .about, body.app .sitefoot, body.app .stage-copy, body.app .topbar .brand, body.app .topbar .tagline, body.app .topbar .navlink, body.app #shopBtn { display: none !important; }
body.app.ws-jobs .hero, body.app.ws-jobs #agentBar, body.app.ws-jobs main > section:not(#jobs) { display: none !important; }
.wsrail { position: fixed; inset: 0 auto 0 0; width: 236px; z-index: 45; display: flex; flex-direction: column; gap: 18px; padding: 18px 14px; background: linear-gradient(180deg, #0a1628, #07111f); border-right: 1px solid var(--edge); box-shadow: 1px 0 24px rgba(30, 123, 255, .12); }
.wsrail-brand { display: flex; align-items: center; gap: 10px; padding: 2px 8px 10px; color: #fff; font-weight: 800; font-size: 18px; text-decoration: none; letter-spacing: -.01em; }
.wsrail-menu { display: grid; gap: 4px; }
.wsrail-menu button { display: flex; align-items: center; gap: 11px; width: 100%; padding: 11px 12px; border: 1px solid transparent; border-radius: 11px; background: transparent; color: var(--muted); font: 600 14.5px/1 var(--font); cursor: pointer; text-align: left; transition: background .15s, color .15s, border-color .15s; }
.wsrail-menu button i { width: 20px; text-align: center; font-style: normal; color: var(--cyan); font-size: 15px; }
.wsrail-menu button span { flex: 1; }
.wsrail-menu button:hover { color: #fff; background: rgba(46, 144, 255, .1); }
.wsrail-menu button.on { color: #fff; background: linear-gradient(90deg, rgba(30, 123, 255, .3), rgba(41, 200, 255, .08)); border-color: var(--edge-hot); box-shadow: 0 0 18px rgba(41, 200, 255, .18); }
.wsrail-menu .count:empty { display: none; }
.wsrail-job { display: grid; gap: 3px; padding: 12px; border: 1px solid var(--edge-hot); border-radius: 12px; background: rgba(41, 200, 255, .07); font-size: 13px; }
.wsrail-job small { font: 600 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.wsrail-job b { color: #fff; }
.wsrail-job span { color: var(--muted); }
.wsrail-job .linkish, .wsrail-foot .linkish { justify-self: start; background: none; border: 0; padding: 0; color: var(--link); font: inherit; cursor: pointer; text-decoration: underline; }
.wsrail-foot { margin-top: auto; padding: 12px 8px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); display: grid; gap: 6px; }
.wsrail-foot p { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #fff; font-weight: 600; }

.jobs { padding: 34px 0 80px; }
.jobs-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 24px; }
.jobs-head h2 { margin: 4px 0 8px; font-size: 34px; letter-spacing: -.03em; }
.jobs-head .hint { max-width: 64ch; }
.jobgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 16px; }
.jobcard, .jobempty { padding: 20px; border: 1px solid var(--edge); border-radius: 16px; background: var(--glass); backdrop-filter: blur(10px); display: grid; gap: 14px; align-content: start; }
.jobcard:hover { border-color: var(--edge-hot); }
.jobcard header { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.jobcard h3 { margin: 0 0 4px; font-size: 18px; }
.jobcard header p { margin: 0; color: var(--muted); font-size: 13.5px; }
.jobcard code { font: 600 12px/1 var(--mono); color: var(--cyan); }
.jobstate { padding: 7px 10px; border-radius: 99px; border: 1px solid var(--edge); background: #0c1525; color: #fff; font: 700 12px/1 var(--font); }
.jobstate.s-sourcing { border-color: var(--edge-hot); color: var(--cyan); }
.jobstate.s-ordered { border-color: var(--warn); color: var(--warn); }
.jobstate.s-received, .jobstate.s-closed { border-color: var(--good); color: var(--good); }
.jobparts { display: grid; gap: 8px; }
.jobpart { display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 11px; background: rgba(7, 17, 31, .5); }
.jobpart.done .jobtick span { text-decoration: line-through; color: var(--muted); }
.jobtick { display: flex; align-items: center; gap: 9px; font-weight: 600; min-width: 0; }
.jobtick input { accent-color: var(--blue); width: 16px; height: 16px; }
.jobq { font: 600 11px/1 var(--mono); color: var(--muted); letter-spacing: .04em; }
.jobquotes { grid-column: 1 / -1; margin: 2px 0 0; padding: 8px 0 0; list-style: none; display: grid; gap: 6px; border-top: 1px dashed var(--line); font-size: 13px; }
.jobquotes li { display: grid; grid-template-columns: 1.3fr 1fr auto auto; gap: 10px; align-items: center; color: var(--muted); }
.jobquotes b { color: #fff; }
.jobquotes .linkish { background: none; border: 0; padding: 0; color: var(--link); font: inherit; font-weight: 600; cursor: pointer; text-align: left; }
.jobadd { display: flex; gap: 8px; }
.jobadd input { flex: 1; min-width: 0; }
.jobempty { justify-items: start; max-width: 520px; }
.jobempty h3, .jobempty p { margin: 0; }
.jobclosed { margin-top: 26px; color: var(--muted); }
.jobclosed summary { cursor: pointer; margin-bottom: 14px; }
.jobform { display: grid; gap: 12px; padding: 4px 0 6px; }
.jobform-row { display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.jobform textarea { width: 100%; resize: vertical; font: inherit; }
.wallrow { display: flex; gap: 10px; flex-wrap: wrap; margin: 6px 0 16px; }
.wallpoints { margin: 0; padding-left: 18px; color: var(--muted); display: grid; gap: 6px; }

@media (max-width: 900px) {
  body.app { padding-left: 0; padding-bottom: 64px; }
  .wsrail { inset: auto 0 0 0; width: auto; flex-direction: row; align-items: center; gap: 0; padding: 6px 8px; border-right: 0; border-top: 1px solid var(--edge); }
  .wsrail-brand, .wsrail-foot, .wsrail-job { display: none; }
  .wsrail-menu { display: flex; width: 100%; justify-content: space-between; }
  .wsrail-menu button { flex-direction: column; gap: 4px; padding: 7px 4px; font-size: 10.5px; width: auto; flex: 1; text-align: center; }
  .wsrail-menu button span { flex: none; }
  .wsrail-menu .count { display: none; }
  .jobgrid { grid-template-columns: 1fr; }
  .jobs-head { flex-direction: column; align-items: start; }
  .jobpart { grid-template-columns: 1fr auto auto; }
  .jobq { display: none; }
  .jobquotes li { grid-template-columns: 1fr auto; }
  .jobquotes li span { display: none; }
}
body.app { --gutter: max(28px, calc((100vw - 236px - 1440px) / 2 + 28px)); }
@media (max-width: 900px) { body.app { --gutter: 16px; } }
.wsrail-menu .count.earn { background: rgba(34, 197, 94, .16); color: var(--good); border: 1px solid rgba(34, 197, 94, .4); }
.refrow { display: flex; gap: 10px; margin: 6px 0 16px; }
.refrow input { flex: 1; min-width: 0; font: 600 14px/1 var(--mono); color: var(--cyan); }
.refstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 14px; }
.refstats div { padding: 16px; border: 1px solid var(--edge); border-radius: 14px; background: var(--glass); display: grid; gap: 4px; }
.refstats b { font-size: 26px; color: #fff; }
.refstats span { font-size: 12.5px; color: var(--muted); }
.wsrail-settings { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.wsrail-settings small { padding: 0 12px 6px; font: 600 10.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.wsrail-settings + .wsrail-foot { margin-top: 0; }
.supportlist { margin: 4px 0 14px; padding: 0; list-style: none; display: grid; gap: 10px; }
.supportlist li { display: grid; gap: 3px; padding: 14px 16px; border: 1px solid var(--edge); border-radius: 12px; background: var(--glass); }
.supportlist b { color: #fff; }
.supportlist span { color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .wsrail-settings { margin: 0; padding: 0; border: 0; display: flex; flex: 1.3; } .wsrail-settings small, .wsrail-settings [data-ws="support"], .wsrail-settings [data-ws="plans"] { display: none; } .wsrail-menu:first-of-type { flex: 3; } }
/* In the workspace the start screen's brochure (recent, samples, how it works) is not shown */
body.app #start { display: none !important; }
.rail-clear { margin-top: 8px; align-self: flex-end; padding: 7px 12px; border-radius: 99px; border: 1px solid var(--edge); background: rgba(7, 17, 31, .6); color: var(--muted); font: 600 12.5px/1 var(--font); cursor: pointer; transition: border-color .15s, color .15s; }
.rail-clear:hover { border-color: var(--edge-hot); color: #fff; }
.jobrecent { margin-top: 44px; }
.jobrecent .jobs-head { margin-bottom: 14px; }
.jobrecent h2 { font-size: 24px; }
.jobrecent-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px; }
.jobrecent-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; text-align: left; padding: 14px 16px; border: 1px solid var(--edge); border-radius: 12px; background: var(--glass); color: var(--ink); font: inherit; cursor: pointer; transition: border-color .15s, transform .15s; }
.jobrecent-row:hover { border-color: var(--edge-hot); transform: translateY(-1px); }
.jobrecent-row b { font-weight: 700; }
.jobrecent-row span { font: 600 11.5px/1.6 var(--mono); color: var(--cyan); }
.jobrecent-row small { grid-column: 1 / -1; color: var(--muted); font-size: 12.5px; }

/* ---------------------------------------------------------------- reviews from shops */
.reviews { padding: 70px 0 20px; }
.rev-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin: 6px 0 26px; }
.rev-head h2 { margin: 0; font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.03em; }
.rev-score { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border: 1px solid var(--edge); border-radius: 14px; background: var(--glass); }
.rev-score b { font-size: 30px; color: #fff; line-height: 1; }
.rev-score span:last-child { color: var(--muted); font-size: 13px; }
.stars { color: #ffc21a; letter-spacing: 2px; font-size: 16px; white-space: nowrap; }
.stars i { font-style: normal; color: rgba(255, 255, 255, .16); }
.rev-grid { columns: 3 300px; column-gap: 16px; }
.rev { break-inside: avoid; margin: 0 0 16px; padding: 20px; border: 1px solid var(--edge); border-radius: 16px; background: var(--glass); backdrop-filter: blur(10px); display: grid; gap: 10px; transition: border-color .2s, transform .2s; }
.rev:hover { border-color: var(--edge-hot); transform: translateY(-2px); }
.rev header { display: flex; align-items: center; gap: 12px; }
.rev-face { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--beam); flex: none; }
.rev header b { display: block; color: #fff; }
.rev header small { color: var(--muted); font-size: 12.5px; }
.rev p { margin: 0; color: var(--ink); font-size: 15px; line-height: 1.55; }
.starpick { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.starpick input { position: absolute; opacity: 0; pointer-events: none; }
.starpick label { font-size: 34px; line-height: 1; color: rgba(255, 255, 255, .18); cursor: pointer; transition: color .12s, transform .12s; }
.starpick label:hover, .starpick label:hover ~ label, .starpick input:checked ~ label { color: #ffc21a; }
.starpick label:hover { transform: scale(1.12); }
.starpick input:focus-visible + label { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
body.app .reviews { display: none !important; }
/* The note at the bottom of the screen: readable on the dark page */
.toast { background: linear-gradient(180deg, rgba(22, 35, 58, .97), rgba(12, 21, 37, .98)); color: #fff; border: 1px solid var(--edge-hot); box-shadow: 0 0 26px rgba(41, 200, 255, .28), 0 12px 34px rgba(0, 0, 0, .5); z-index: 2147483000; max-width: min(560px, calc(100vw - 32px)); text-align: center; }
.sentcard { display: grid; gap: 10px; padding: 18px 20px; border: 1px solid var(--edge-hot); border-radius: 14px; background: var(--glass); }
.sentcard p { margin: 0; color: var(--ink); }
.sentcard small { color: var(--cyan); font: 600 11.5px/1 var(--mono); letter-spacing: .06em; }

/* Reviews, laid out the way map listings show them: the score and its spread on the left, the reviews on the right */
.rev-title { margin: 6px 0 26px; font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.03em; }
.rev-layout { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 22px; align-items: start; }
.rev-summary { position: sticky; top: 84px; display: grid; gap: 18px; padding: 24px; border: 1px solid var(--edge-hot); border-radius: 18px; background: var(--glass); backdrop-filter: blur(12px); box-shadow: 0 0 34px rgba(41, 200, 255, .1); }
.rev-big { display: flex; align-items: center; gap: 16px; }
.rev-big > b { font-size: 64px; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: #fff; text-shadow: 0 0 26px rgba(41, 200, 255, .35); }
.rev-big > div { display: grid; gap: 6px; }
.rev-big .stars { font-size: 20px; }
.rev-big span:last-child { color: var(--muted); font-size: 13.5px; }
.rev-bars { display: grid; gap: 7px; }
.rev-bar { display: grid; grid-template-columns: 12px 1fr 22px; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); }
.rev-bar i { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.rev-bar i b { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #ffc21a, #ffd86b); box-shadow: 0 0 10px rgba(255, 194, 26, .5); }
.rev-bar small { text-align: right; font-variant-numeric: tabular-nums; }
.rev-note { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.rev-list { display: grid; gap: 14px; }
.reviews .rev { margin: 0; gap: 10px; padding: 20px 22px; }
.reviews .rev header { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; }
.rev-face { box-shadow: 0 0 0 2px rgba(255, 255, 255, .1); }
.rev-badge { font: 600 11px/1 var(--mono); letter-spacing: .04em; color: var(--good); border: 1px solid rgba(34, 197, 94, .4); background: rgba(34, 197, 94, .1); padding: 6px 9px; border-radius: 99px; white-space: nowrap; }
.rev-line { display: flex; align-items: center; gap: 12px; }
.rev-line time { color: var(--muted); font-size: 13px; }
.reviews .rev p.clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rev-more { justify-self: start; background: none; border: 0; padding: 0; color: var(--link); font: 600 13.5px/1 var(--font); cursor: pointer; }
.rev-more:hover { text-decoration: underline; }
@media (max-width: 900px) { .rev-layout { grid-template-columns: 1fr; } .rev-summary { position: static; } .rev-big > b { font-size: 52px; } .rev-badge { display: none; } }
.rev-preview { margin: 0 0 18px; padding: 10px 14px; border: 1px dashed var(--warn); border-radius: 10px; color: var(--warn); background: var(--warn-soft); font-size: 13.5px; font-weight: 600; }
.rev-source { font: 600 11px/1 var(--mono); letter-spacing: .04em; color: var(--muted); border: 1px solid var(--line); background: rgba(255, 255, 255, .04); padding: 6px 9px; border-radius: 99px; white-space: nowrap; }
@media (max-width: 900px) { .rev-source { display: none; } }

/* The two quick rows end on the same line: their buttons are one width */
.docktop .vinquick .btn.primary { min-width: 112px; justify-content: center; text-align: center; }
.docktop .vinquick .upbtn { justify-content: center; }
@media (min-width: 901px) { .docktop .vinquick .upbtn { min-width: 188px; } }

/* Workspace settings: a page of its own, one tab per subject */
body.app.ws-settings .hero, body.app.ws-settings #agentBar, body.app.ws-settings main > section:not(#wsSettings) { display: none !important; }
.settings { padding: 34px 0 90px; max-width: 980px; }
.set-head h2 { margin: 4px 0 18px; font-size: 34px; letter-spacing: -.03em; color: #fff; }
.set-tabs { display: flex; gap: 6px; padding: 6px; margin-bottom: 22px; border: 1px solid var(--edge); border-radius: 14px; background: rgba(12, 21, 37, .7); width: fit-content; max-width: 100%; overflow-x: auto; }
.set-tabs button { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: var(--muted); font: 600 14px/1 var(--font); cursor: pointer; white-space: nowrap; transition: background .15s, color .15s, border-color .15s; }
.set-tabs button i { font-style: normal; color: var(--cyan); }
.set-tabs button:hover { color: #fff; background: rgba(46, 144, 255, .1); }
.set-tabs button.on { color: #fff; background: linear-gradient(90deg, rgba(30, 123, 255, .34), rgba(41, 200, 255, .1)); border-color: var(--edge-hot); box-shadow: 0 0 18px rgba(41, 200, 255, .18); }
.setcard { position: relative; margin-bottom: 18px; padding: 24px 26px; border: 1px solid var(--edge); border-radius: 18px; background: var(--glass); backdrop-filter: blur(12px); }
.setcard::before { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 2px; border-radius: 2px; background: var(--beam); opacity: .55; }
.setcard h3 { margin: 0 0 4px; font-size: 19px; letter-spacing: -.01em; color: #fff; }
.setcard p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.setcard-head { margin-bottom: 18px; }
.setcard-foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.set-grid { padding: 0; }
.set-grid .field span { font: 600 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.set-grid input, .settings .acctrow input, .settings .refrow input { height: 44px; padding: 0 13px; border: 1px solid var(--edge); border-radius: 11px; background: rgba(7, 17, 31, .7); color: #fff; font: inherit; transition: border-color .15s, box-shadow .15s; }
.set-grid input:focus, .settings .acctrow input:focus { border-color: var(--edge-hot); box-shadow: 0 0 0 3px rgba(41, 200, 255, .14); outline: 0; }
.settings .refrow input { font: 600 14px/1 var(--mono); color: var(--cyan); }
.set-profile { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; }
.set-face { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 20px; background: linear-gradient(135deg, #1e7bff, #29c8ff); color: #04101f; font: 800 30px/1 var(--font); box-shadow: 0 0 34px -6px rgba(41, 200, 255, .8); }
.set-id { display: grid; gap: 5px; min-width: 0; }
.set-id b { font-size: 21px; color: #fff; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.set-id > span { color: var(--muted); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.set-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.set-chip { padding: 5px 10px; border-radius: 99px; border: 1px solid var(--edge); background: rgba(255, 255, 255, .04); color: var(--muted); font: 700 11.5px/1 var(--font); }
.set-chip.paid { border-color: rgba(34, 197, 94, .5); background: rgba(34, 197, 94, .14); color: var(--good); }
.set-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.set-out { border-color: rgba(255, 90, 95, .5) !important; color: #ff8a8e !important; background: rgba(255, 90, 95, .08) !important; }
.set-out:hover { background: rgba(255, 90, 95, .18) !important; box-shadow: 0 0 18px rgba(255, 90, 95, .25); }
.set-note { grid-column: 1 / -1; margin: 0; }
.set-note:empty { display: none; }
.set-plan { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 44px; }
.set-plan > div:not(.set-actions) { display: grid; gap: 6px; }
.set-plan > div > span { color: var(--muted); font-size: 13.5px; }
.set-plan .set-actions { margin-left: auto; }
.set-big { font-size: 30px; letter-spacing: -.02em; color: #fff; line-height: 1.05; }
.set-planrow { padding: 0; margin-bottom: 16px; }
.set-refer h3 { margin-top: 8px; font-size: 26px; }
.set-refer .refrow { margin: 18px 0 16px; }
.set-slots { display: flex; align-items: center; gap: 6px; }
.set-slots i { width: 34px; height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .12); }
.set-slots i.on { background: var(--beam); box-shadow: 0 0 12px rgba(41, 200, 255, .6); }
.set-slots span { margin-left: 8px; color: var(--muted); font-size: 13px; }
.set-stats { margin-bottom: 18px; }
.set-steps { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; counter-reset: step; }
.set-steps li { counter-increment: step; display: grid; gap: 4px; padding: 16px 16px 16px 54px; position: relative; border: 1px dashed var(--edge); border-radius: 14px; }
.set-steps li::before { content: counter(step); position: absolute; left: 14px; top: 14px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; border: 1px solid var(--edge-hot); color: var(--cyan); font: 700 13px/1 var(--mono); }
.set-steps b { color: #fff; }
.set-steps span { color: var(--muted); font-size: 13.5px; }
.set-support { grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.set-support li { position: relative; padding: 20px 20px 20px 66px; border-radius: 16px; gap: 5px; align-content: start; transition: border-color .15s, transform .15s; }
.set-support li:hover { border-color: var(--edge-hot); transform: translateY(-2px); }
.set-support li > i { position: absolute; left: 18px; top: 18px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: rgba(41, 200, 255, .1); border: 1px solid var(--edge); color: var(--cyan); font-style: normal; }
.set-support .linkish { justify-self: start; margin-top: 4px; background: none; border: 0; padding: 0; color: var(--link); font: 600 13.5px/1.3 var(--font); cursor: pointer; }
.set-links { display: flex; flex-wrap: wrap; gap: 10px; }
.set-links::before { display: none; }
.set-links a { padding: 9px 16px; border: 1px solid var(--edge); border-radius: 99px; color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; }
.set-links a:hover { border-color: var(--edge-hot); box-shadow: 0 0 16px rgba(41, 200, 255, .2); }
.set-wait { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.set-spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--edge); border-top-color: var(--cyan); animation: setspin .8s linear infinite; }
@keyframes setspin { to { transform: rotate(360deg); } }
.wsrail-who { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px; border: 1px solid var(--edge); border-radius: 13px; background: rgba(255, 255, 255, .03); color: #fff; cursor: pointer; text-align: left; font: inherit; transition: border-color .15s, background .15s; }
.wsrail-who:hover { border-color: var(--edge-hot); background: rgba(46, 144, 255, .1); }
.wsrail-face { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: linear-gradient(135deg, #1e7bff, #29c8ff); color: #04101f; font-weight: 800; }
.wsrail-name { display: grid; gap: 3px; min-width: 0; }
.wsrail-name b, .wsrail-name small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wsrail-name b { font-size: 13.5px; }
.wsrail-name small { color: var(--muted); font-size: 11.5px; }
@media (max-width: 900px) {
  .wsrail-who { display: none; }
  .wsrail-settings [data-tab]:not([data-tab="account"]), .wsrail-settings [data-ws="review"] { display: none; }
  .settings { padding-top: 20px; }
  .set-head h2 { font-size: 26px; }
  .set-profile { grid-template-columns: auto 1fr; }
  .set-profile .set-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .set-steps, .set-support { grid-template-columns: 1fr; }
  .set-plan .set-actions { margin-left: 0; }
}
@media (min-width: 901px) { .more-grid { grid-template-columns: 220px 220px; } }

/* Heavy truck search */
.truckquick input { font-family: var(--font) !important; text-transform: none !important; }
.truckform { padding: 20px 28px 26px; gap: 16px; }
.truckrow { display: grid; gap: 14px; }
.truckrow.three { grid-template-columns: 1.3fr 1fr 1fr; }
.truckrow.four { grid-template-columns: 1.6fr 110px 110px 1fr; }
.truckform .field { padding: 0; border: 0; gap: 6px; }
.truckform .field span { font: 600 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.truckform select, .truckform input { height: 44px; width: 100%; padding: 0 12px; border: 1px solid var(--edge); border-radius: 11px; background: rgba(7, 17, 31, .7); color: #fff; font: inherit; color-scheme: dark; }
.truckform select:focus, .truckform input:focus { border-color: var(--edge-hot); box-shadow: 0 0 0 3px rgba(41, 200, 255, .14); outline: 0; }
.truckwait { display: flex; align-items: center; gap: 10px; margin: 0; min-height: 20px; }
.truckform .acctrow { justify-content: flex-end; }
@media (max-width: 700px) { .truckrow.three, .truckrow.four { grid-template-columns: 1fr 1fr; } .truckrow .field:first-child { grid-column: 1 / -1; } }

/* Support: chat with the assistant */
.aichat { display: grid; gap: 14px; border-color: var(--edge-hot); box-shadow: 0 0 0 1px rgba(41, 200, 255, .06), 0 18px 50px -30px rgba(41, 200, 255, .55); }
.aichat-head { display: flex; gap: 14px; align-items: center; }
.aichat-head .hint { margin: 0; }
.aichat-orb { flex: none; width: 38px; height: 38px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, var(--cyan) 38%, #1E7BFF 72%, transparent 74%); box-shadow: 0 0 18px rgba(41, 200, 255, .55); animation: aichatorb 3.2s ease-in-out infinite; }
@keyframes aichatorb { 50% { box-shadow: 0 0 30px rgba(41, 200, 255, .9); transform: scale(1.06); } }
.aichat-log { display: flex; flex-direction: column; gap: 10px; max-height: 360px; min-height: 64px; overflow: auto; padding: 4px 2px; }
.aichat-starters { display: flex; flex-wrap: wrap; gap: 8px; }
.aichat-starters .chip { padding: 8px 14px; border: 1px solid var(--edge); border-radius: 999px; background: rgba(41, 200, 255, .06); color: var(--text, #F7F9FC); font: 500 13.5px/1.3 var(--font); cursor: pointer; transition: border-color .15s, background .15s; }
.aichat-starters .chip:hover { border-color: var(--edge-hot); background: rgba(41, 200, 255, .14); }
.aichat-msg { max-width: 82%; padding: 11px 15px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.aichat-msg.me { align-self: flex-end; background: linear-gradient(135deg, #1E7BFF, #29C8FF); color: #04101f; font-weight: 500; border-bottom-right-radius: 5px; }
.aichat-msg.ai { align-self: flex-start; background: rgba(255, 255, 255, .05); border: 1px solid var(--edge); color: var(--text, #F7F9FC); border-bottom-left-radius: 5px; }
.aichat-msg.failed { border-color: rgba(255, 90, 95, .5); color: #ffb3b5; }
.aichat-msg.wait { display: flex; gap: 6px; padding: 15px 16px; }
.aichat-msg.wait i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); animation: aichatdot 1.1s ease-in-out infinite; }
.aichat-msg.wait i:nth-child(2) { animation-delay: .18s; }
.aichat-msg.wait i:nth-child(3) { animation-delay: .36s; }
@keyframes aichatdot { 0%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-4px); } }
.aichat-form { display: flex; gap: 10px; }
.aichat-form input { flex: 1; min-width: 0; padding: 12px 15px; border: 1px solid var(--edge); border-radius: 12px; background: rgba(4, 12, 26, .6); color: var(--text, #F7F9FC); font: 400 15px/1.3 var(--font); }
.aichat-form input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(41, 200, 255, .16); }
.aichat-note { margin: 0; font-size: 12.5px; }
#detail .aichat { margin: 0 0 14px; padding: 18px; border: 1px solid var(--edge-hot); border-radius: 16px; background: var(--glass); }
@media (prefers-reduced-motion: reduce) { .aichat-orb, .aichat-msg.wait i { animation: none; } }

/* The hero's sentence sits under the search bar, clear of the car */
.lede.lede-below { display: block; max-width: none; margin: 22px auto 6px; text-align: center; font-size: 16px; color: rgba(255, 255, 255, .72); }
body.app .lede-below { display: none; }
.hero-cta { align-items: center; }
.hero-save { display: inline-flex; align-items: center; gap: 8px; color: #7CF0B5; font: 700 15px/1.2 var(--font); letter-spacing: .01em; text-shadow: 0 0 18px rgba(34, 197, 94, .45); }
.hero-save::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 10px #22C55E; }
/* VIN / part number / heavy truck sit under the vehicle row; its drop-down lists open over them */
#searchForm .fields { z-index: 3; }
#searchForm .docktop { position: relative; z-index: 1; margin: 12px 0 0; }

/* One search bar, two kinds of vehicle */
.kindswitch { position: relative; z-index: 4; display: inline-flex; gap: 4px; margin: 0 0 10px; padding: 4px; border: 1px solid var(--edge); border-radius: 999px; background: var(--glass); backdrop-filter: blur(14px); }
.kindswitch button { height: 34px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: rgba(255, 255, 255, .7); font: 700 13.5px/1 var(--font); letter-spacing: .01em; cursor: pointer; transition: background .15s, color .15s, box-shadow .15s; }
.kindswitch button:hover { color: #fff; }
.kindswitch button.on { background: linear-gradient(135deg, #1E7BFF, #29C8FF); color: #04101f; box-shadow: 0 0 18px rgba(41, 200, 255, .45); }
.fields[hidden], .docktop[hidden], .kindswitch[hidden] { display: none; }
.fields.truckfields { grid-template-columns: minmax(130px, 1.2fr) minmax(110px, 1fr) minmax(110px, 1fr) minmax(150px, 1.3fr) 92px 92px 132px auto; }
.fields.truckfields .field:nth-last-child(2) { border-right: 0; }
.fields.truckfields select { width: 100%; min-width: 0; }
#searchForm .truckwait { margin: 12px 4px 0; color: rgba(255, 255, 255, .8); }
#searchForm .truckwait[hidden] { display: none; }
@media (max-width: 1100px) {
  .fields.truckfields { grid-template-columns: 1fr 1fr 1fr 1fr; row-gap: 4px; }
  .fields.truckfields .f-go { grid-column: 1 / -1; margin: 6px 0 0; }
}
@media (max-width: 640px) {
  .fields.truckfields { grid-template-columns: 1fr 1fr; }
  .kindswitch { display: flex; }
  .kindswitch button { flex: 1; padding: 0 8px; }
}
.docktop .dockgroup[hidden] { display: none; }
/* The extra options (sort order, pages) are not shown; their defaults still apply */
#more { display: none !important; }
#searchForm .truckwait .linkish { background: none; border: 0; padding: 0 4px; color: var(--cyan); font: 700 inherit; cursor: pointer; text-decoration: underline; }

/* A price that is probably a mistake */
.price.doubt { color: #FF5A5F; text-decoration: line-through; text-decoration-thickness: 2px; text-shadow: 0 0 16px rgba(255, 90, 95, .35); }
.price.doubt small { color: #FF5A5F; }
.doubtnote { margin-top: 4px; padding: 5px 8px; border: 1px solid rgba(255, 90, 95, .5); border-radius: 8px; background: rgba(255, 90, 95, .1); color: #ffb3b5; font: 600 12px/1.35 var(--font); max-width: 230px; }
.doubtleft { color: #ffb3b5; }

/* The version chooser: one column in the middle of the page, each version on its own line */
.choose { max-width: 860px; margin-inline: auto; }
.choose .choice-list { grid-template-columns: 1fr; gap: 8px; }
.choose input[type="search"] { max-width: none; width: 100%; }
.choose .choice { padding: 14px 18px; font-size: 15.5px; }

/* The AI Agent at work: a centred glass card, the figures large, the steps as a lit pipeline */
.loading .agentwork { position: relative; overflow: hidden; flex-direction: column; align-items: stretch; gap: 22px; max-width: 820px; padding: 40px 44px 44px; text-align: center; border: 1px solid var(--edge); background: var(--glass); backdrop-filter: blur(14px); box-shadow: 0 0 0 1px rgba(41, 200, 255, .08), 0 30px 90px -40px rgba(30, 123, 255, .9); }
.loading .agentwork::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 50% at 50% 0%, rgba(41, 200, 255, .16), transparent 70%); }
.loading .agentwork::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--cyan), #fff, var(--cyan), transparent) no-repeat; background-size: 34% 100%; animation: workbeam 1.7s linear infinite; }
@keyframes workbeam { from { background-position: -60% 0; } to { background-position: 160% 0; } }
.loading .agentwork .sonar { width: 112px; height: 112px; margin: 0 auto; }
.loading .agentwork .scanphoto { margin: 0 auto; }
.loading .agentwork-text { position: relative; }
.loading .agentwork-text small { font-family: var(--mono); letter-spacing: .2em; }
.loading .agentwork-text h2 { margin: 10px 0 6px; font-size: clamp(24px, 2.6vw, 32px); color: #fff; }
.loading .agentwork-text p { margin: 0 0 22px; font-size: 16px; color: rgba(255, 255, 255, .78); }
.agentstats { display: flex; justify-content: center; gap: 14px; margin: 0 0 26px; }
.agentstats[hidden] { display: none; }
.agentstats div { min-width: 132px; padding: 14px 20px 12px; border: 1px solid var(--edge); border-radius: 16px; background: rgba(41, 200, 255, .06); box-shadow: inset 0 0 24px -12px rgba(41, 200, 255, .8); }
.agentstats b { display: block; font: 700 34px/1 var(--mono); letter-spacing: -.04em; color: #fff; font-variant-numeric: tabular-nums; text-shadow: 0 0 22px rgba(41, 200, 255, .6); }
.agentstats span { display: block; margin-top: 7px; font: 600 10.5px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); }
.loading .agentsteps { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0; margin: 0 0 26px; text-align: center; }
.loading .agentsteps li { position: relative; flex-direction: column; align-items: center; gap: 10px; padding: 0 12px; }
.loading .agentsteps li::before { content: ""; position: absolute; top: 14px; right: 50%; width: 100%; height: 2px; background: rgba(167, 180, 200, .18); }
.loading .agentsteps li:first-child::before { display: none; }
.loading .agentsteps li.done::before { background: linear-gradient(90deg, #22C55E, #22C55E); }
.loading .agentsteps li.now::before, .loading .agentsteps li.ai::before { background: linear-gradient(90deg, #22C55E 0%, var(--cyan) 45%, #fff 50%, var(--cyan) 55%, rgba(41, 200, 255, .25) 100%); background-size: 220% 100%; animation: aishine 1.6s linear infinite; }
.loading .agentsteps li i { position: relative; z-index: 1; width: 30px; height: 30px; margin: 0; background-color: #0b1626; border-color: rgba(167, 180, 200, .3); }
.loading .agentsteps li.done i { background-size: 20px; box-shadow: 0 0 16px -2px rgba(34, 197, 94, .8); }
.loading .agentsteps li.now i { border-color: rgba(41, 200, 255, .25); border-top-color: var(--cyan); box-shadow: 0 0 20px -2px rgba(41, 200, 255, .9); }
.loading .agentsteps li.todo { opacity: .5; }
.loading .agentsteps li b { font: 700 12px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.loading .agentsteps li.now b { color: var(--cyan); }
.loading .agentsteps li span { margin-top: 5px; font-size: 13.5px; color: rgba(255, 255, 255, .7); }
.loading .agentwork .btn { background: transparent; border-color: var(--edge); color: rgba(255, 255, 255, .75); }
.loading .agentwork .btn:hover { border-color: var(--edge-hot); color: #fff; }
@media (max-width: 720px) {
  .loading .agentwork { padding: 28px 20px 32px; }
  .loading .agentsteps { grid-auto-flow: row; gap: 14px; text-align: left; }
  .loading .agentsteps li { flex-direction: row; align-items: flex-start; padding: 0; }
  .loading .agentsteps li::before { display: none; }
  .agentstats div { min-width: 0; flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .loading .agentwork::after, .loading .agentsteps li.now::before, .loading .agentsteps li.ai::before { animation: none; } }
.loading .agentsteps li.done i { background-color: #22C55E; border-color: #22C55E; }

/* The free-search wall */
.wall { position: relative; padding: 44px 40px 34px; text-align: center; background: radial-gradient(70% 55% at 50% 0%, rgba(41, 200, 255, .16), transparent 70%); }
.wall-x { position: absolute; right: 16px; top: 14px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--edge); background: rgba(255, 255, 255, .04); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.wall-x:hover { border-color: var(--edge-hot); box-shadow: 0 0 18px -4px rgba(41, 200, 255, .9); }
.wall-meter { display: flex; justify-content: center; gap: 10px; margin-bottom: 18px; }
.wall-meter i { width: 46px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, #1E7BFF, #29C8FF); box-shadow: 0 0 14px rgba(41, 200, 255, .8); animation: wallmeter 2.4s ease-in-out infinite; }
.wall-meter i:nth-child(2) { animation-delay: .2s; }
.wall-meter i:nth-child(3) { animation-delay: .4s; }
@keyframes wallmeter { 50% { opacity: .45; } }
.wall h2 { margin: 12px auto 10px; max-width: 18ch; font-size: clamp(26px, 3vw, 34px); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; color: #fff; }
.wall-sub { margin: 0 auto 26px; max-width: 46ch; font-size: 15.5px; line-height: 1.55; color: rgba(255, 255, 255, .74); }
.wall-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 30px; }
.wall-go { height: 54px; padding-inline: 34px; border-radius: 14px; font-size: 16px; font-weight: 800; box-shadow: 0 0 34px -6px rgba(41, 200, 255, .9); }
.wall-plans { background: transparent; border: 0; color: var(--cyan); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.wall-plans:hover { color: #fff; background: transparent; }
.wall-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; text-align: left; }
.wall-tiles li { display: grid; gap: 6px; align-content: start; padding: 18px 16px; border: 1px solid var(--edge); border-radius: 16px; background: var(--glass); transition: border-color .15s, transform .15s; }
.wall-tiles li:hover { border-color: var(--edge-hot); transform: translateY(-2px); }
.wall-tiles i { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 4px; border-radius: 11px; border: 1px solid var(--edge); background: rgba(41, 200, 255, .1); color: var(--cyan); font-style: normal; font-size: 17px; }
.wall-tiles b { color: #fff; font-size: 15px; }
.wall-tiles span { color: rgba(255, 255, 255, .66); font-size: 13.5px; line-height: 1.45; }
.wall-fine { margin: 22px 0 0; font: 600 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
@media (max-width: 640px) { .wall { padding: 40px 20px 26px; } .wall-tiles { grid-template-columns: 1fr; } .wall-go { width: 100%; padding-inline: 12px; font-size: 15px; } }
@media (prefers-reduced-motion: reduce) { .wall-meter i { animation: none; } .wall-tiles li:hover { transform: none; } }

/* Plan cards: name, promise, price, then the three figures that differ */
.plancard { gap: 0; padding: 28px 24px 24px; }
.plancard h3 { font-size: 13px; }
.plancard .planblurb { margin: 10px 0 18px; min-height: 2.7em; font-size: 16.5px; font-weight: 700; line-height: 1.35; color: #fff; }
.plancard .planprice { margin: 0 0 18px; align-items: center; gap: 10px; }
.plancard .planprice b { font-size: 54px; }
.plancard .planprice sup { font-size: 22px; vertical-align: top; position: relative; top: 8px; margin-right: 2px; color: var(--cyan); }
.plancard .planprice span { font: 600 10.5px/1.5 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .55); text-align: left; }
.planfigs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.planfigs div { padding: 11px 6px 9px; border: 1px solid var(--edge); border-radius: 12px; background: rgba(41, 200, 255, .05); text-align: center; }
.planfigs b { display: block; font: 700 21px/1 var(--mono); letter-spacing: -.03em; color: #fff; }
.planfigs span { display: block; margin-top: 6px; font: 600 9px/1.25 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.planfigs .lit { border-color: rgba(41, 200, 255, .7); background: rgba(41, 200, 255, .12); box-shadow: inset 0 0 22px -12px rgba(41, 200, 255, .9); }
.planfigs .lit b { color: var(--cyan); text-shadow: 0 0 16px rgba(41, 200, 255, .7); }
.planfigs .off { opacity: .5; }
.planwho { margin: 0 0 14px; padding-bottom: 14px; border-bottom: 1px solid rgba(167, 180, 200, .16); color: var(--cyan); font-size: 13.5px; font-weight: 600; }
.plancard ul { margin: 0 0 20px; gap: 10px; }
.plancard li { color: #d3deee; }
.plancard .btn { height: 48px; border-radius: 12px; font-size: 15px; font-weight: 800; }
.plancard .btn:not(.primary) { background: rgba(255, 255, 255, .05); border-color: var(--edge); color: #fff; }
.plancard .btn:not(.primary):hover { border-color: var(--edge-hot); background: rgba(41, 200, 255, .12); }
.plancard.hot { transform: translateY(-6px); background: linear-gradient(180deg, rgba(30, 123, 255, .2), rgba(12, 21, 37, .9) 46%); }
.plancard.hot:hover { transform: translateY(-9px); }
.plancard.hot .btn.primary { box-shadow: 0 0 30px -6px rgba(41, 200, 255, .9); }
.planrow { align-items: stretch; padding-top: 30px; }
#planNote { display: flex; align-items: center; gap: 10px; }
@media (max-width: 820px) { .plancard.hot, .plancard.hot:hover { transform: none; } .plancard .planblurb { min-height: 0; } }
@media (prefers-reduced-motion: reduce) { .plancard.hot, .plancard.hot:hover { transform: none; } }

/* The review dialog */
.review { position: relative; display: grid; gap: 16px; padding: 44px 40px 30px; text-align: center; background: radial-gradient(70% 45% at 50% 0%, rgba(255, 194, 26, .12), transparent 70%); }
.review h2 { margin: 2px auto 0; max-width: 20ch; font-size: clamp(24px, 2.8vw, 32px); font-weight: 800; line-height: 1.12; letter-spacing: -.03em; color: #fff; }
.review-sub { margin: 0 auto; max-width: 48ch; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .72); }
.review-stars { display: grid; justify-items: center; gap: 8px; margin: 6px 0 4px; padding: 20px 16px 16px; border: 1px solid var(--edge); border-radius: 18px; background: var(--glass); }
.review-stars .starpick { justify-content: center; gap: 8px; }
.review-stars .starpick label { font-size: 46px; }
.review-stars .starpick label:hover, .review-stars .starpick label:hover ~ label, .review-stars .starpick input:checked ~ label { text-shadow: 0 0 22px rgba(255, 194, 26, .75); }
.review-stars b { font: 700 12px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: #ffc21a; min-height: 12px; }
.review-field { display: grid; gap: 7px; text-align: left; }
.review-field > span { display: flex; justify-content: space-between; align-items: baseline; font: 600 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.review-field > span i { font-style: normal; letter-spacing: .06em; color: rgba(255, 255, 255, .45); }
.review-field textarea, .review-field input { width: 100%; padding: 13px 15px; border: 1px solid var(--edge); border-radius: 12px; background: rgba(4, 12, 26, .6); color: #F7F9FC; font: 400 15px/1.5 var(--font); transition: border-color .15s, box-shadow .15s; }
.review-field textarea { resize: vertical; min-height: 120px; }
.review-field textarea::placeholder, .review-field input::placeholder { color: rgba(255, 255, 255, .38); }
.review-field textarea:focus, .review-field input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(41, 200, 255, .16); }
.review-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.review .warn:empty { display: none; }
.review .warn { margin: 0; text-align: left; }
.review-go { height: 54px; border-radius: 14px; font-size: 16px; font-weight: 800; justify-content: center; box-shadow: 0 0 34px -8px rgba(41, 200, 255, .9); }
.review .wall-fine { margin: 2px 0 0; }
@media (max-width: 640px) { .review { padding: 40px 20px 24px; } .review-two { grid-template-columns: 1fr; } .review-stars .starpick label { font-size: 38px; } }
.review, .review * { box-sizing: border-box; }
.review { overflow-x: hidden; }
.review-field, .review-two > * { min-width: 0; }
.plancard ul { align-content: start; }

/* Guides and the facts list */
.readpage .crumbs { margin: 0 0 14px; font: 600 11.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.readpage .crumbs a { color: var(--cyan); text-decoration: none; }
.readpage h3 { margin: 22px 0 6px; font-size: 17px; color: #fff; }
.readpage ol { padding-left: 22px; display: grid; gap: 8px; }
.readpage .updated { margin-top: 34px; font: 600 11px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
.guide-cta { margin-top: 34px; padding: 26px 28px; border: 1px solid var(--edge-hot); border-radius: 18px; background: var(--glass); box-shadow: 0 0 60px -30px rgba(41, 200, 255, .9); }
.guide-cta h2 { margin-top: 0; }
.guide-cta .btn { text-decoration: none; margin-right: 8px; }
.guidelist { display: grid; gap: 16px; margin-top: 10px; }
.guidecard { display: grid; gap: 8px; padding: 24px 26px; border: 1px solid var(--edge); border-radius: 18px; background: var(--glass); text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s; }
.guidecard:hover { border-color: var(--edge-hot); transform: translateY(-2px); box-shadow: 0 0 40px -18px rgba(41, 200, 255, .9); }
.guidecard h2 { margin: 0; font-size: 21px; color: #fff; }
.guidecard p { margin: 0; color: #c9d6ea; }
.guidecard span { font: 700 11.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.facts-list { display: grid; grid-template-columns: 170px 1fr; gap: 0; margin: 0; border: 1px solid var(--edge); border-radius: 16px; overflow: hidden; background: var(--glass); }
.facts-list dt, .facts-list dd { margin: 0; padding: 13px 18px; border-bottom: 1px solid rgba(167, 180, 200, .14); }
.facts-list dt { font: 700 11px/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.facts-list dd { color: #d3deee; }
.facts-list dt:last-of-type, .facts-list dd:last-of-type { border-bottom: 0; }
@media (max-width: 640px) { .facts-list { grid-template-columns: 1fr; } .facts-list dt { padding-bottom: 0; border-bottom: 0; } }

/* The photo strip under a listing's main photo: room for many, and a lit wait while more are fetched */
.gallery-thumbs { max-height: 216px; scrollbar-width: thin; scrollbar-color: rgba(41, 200, 255, .5) transparent; }
.gallery-thumbs button { transition: border-color .12s, transform .12s; }
.gallery-thumbs button:hover { border-color: var(--edge-hot); transform: translateY(-1px); }
.gallerywait { display: flex; align-items: center; gap: 10px; margin: 10px 0 0; font: 600 11.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.gallerywait i { width: 46px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--cyan), transparent) no-repeat; background-size: 60% 100%; animation: workbeam 1.1s linear infinite; }
@media (prefers-reduced-motion: reduce) { .gallerywait i { animation: none; background-size: 100% 100%; } }

/* History: one search per line */
.histlist { display: grid; gap: 8px; }
.histrow { display: grid; grid-template-columns: minmax(0, 1fr) 92px 118px 118px 104px auto; align-items: center; gap: 18px; width: 100%; padding: 16px 20px; text-align: left; border: 1px solid var(--edge); border-radius: 14px; background: var(--glass); color: var(--ink); font: inherit; cursor: pointer; transition: border-color .15s, transform .15s, box-shadow .15s; }
.histrow:hover { border-color: var(--edge-hot); transform: translateX(3px); box-shadow: 0 0 34px -18px rgba(41, 200, 255, .9); }
.histmain { display: grid; gap: 5px; min-width: 0; }
.histmain > b { font-size: 16.5px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.histversion { color: #c9d6ea; font-size: 13.5px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.histmeta { display: flex; flex-wrap: wrap; gap: 6px; }
.histmeta:empty { display: none; }
.histmeta i { padding: 3px 8px; border: 1px solid rgba(167, 180, 200, .2); border-radius: 999px; font: 600 10.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; font-style: normal; color: rgba(255, 255, 255, .62); }
.histfig, .histwhen { display: grid; gap: 4px; }
.histfig b { font: 700 17px/1 var(--mono); letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; }
.histfig small, .histwhen small { font: 600 9.5px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.histwhen b { font-size: 13.5px; font-weight: 600; color: #d3deee; }
.histgo { font: 700 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); white-space: nowrap; opacity: .55; transition: opacity .15s; }
.histrow:hover .histgo { opacity: 1; }
.histmore { margin-top: 14px; }
@media (max-width: 1100px) { .histrow { grid-template-columns: minmax(0, 1fr) 80px 104px 104px; } .histwhen { grid-column: 1; grid-row: 2; display: flex; gap: 8px; align-items: baseline; } .histgo { display: none; } }
@media (max-width: 640px) { .histrow { grid-template-columns: 1fr 1fr 1fr; gap: 12px; padding: 14px; } .histmain, .histwhen { grid-column: 1 / -1; grid-row: auto; } }
@media (prefers-reduced-motion: reduce) { .histrow:hover { transform: none; } }

/* Clear the search bar */
.formclear { position: relative; z-index: 4; display: inline-flex; align-items: center; gap: 7px; height: 34px; margin: 0 0 10px 10px; padding: 0 15px; vertical-align: top; border: 1px solid var(--edge); border-radius: 999px; background: var(--glass); backdrop-filter: blur(14px); color: rgba(255, 255, 255, .75); font: 700 12.5px/1 var(--font); cursor: pointer; transition: border-color .15s, color .15s, box-shadow .15s; }
.formclear span { font-size: 16px; line-height: 1; color: var(--cyan); }
.formclear:hover { border-color: var(--edge-hot); color: #fff; box-shadow: 0 0 18px -6px rgba(41, 200, 255, .9); }
.kindswitch { vertical-align: top; margin-top: 4px; }
.formclear { margin-top: 8px; }
@media (max-width: 640px) { .kindswitch { display: inline-flex; } .formclear { margin-left: 6px; } }

/* A lead from sister numbers: lit like an answer, worded like a lead */
.lookup-family { padding: 18px 20px; border: 1px solid var(--edge-hot); border-radius: 16px; background: linear-gradient(180deg, rgba(41, 200, 255, .1), transparent 70%); box-shadow: 0 0 50px -28px rgba(41, 200, 255, .9); }
.lookup-family h3 { color: #fff; font-size: 18px; }
.lookup-family .btn { margin-top: 6px; }
.lookup-family .tag { font-family: var(--mono); }
.leadbar { border-color: var(--edge-hot); background: linear-gradient(90deg, rgba(41, 200, 255, .12), transparent 80%); line-height: 1.5; }

/* Show first: three one-press choices in the filter panel */
.firstchips { display: grid; gap: 6px; }
.firstchips .chip { width: 100%; justify-content: flex-start; padding: 9px 12px; border: 1px solid var(--edge); border-radius: 10px; background: rgba(41, 200, 255, .05); color: #d3deee; font: 600 13.5px/1.2 var(--font); text-align: left; cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; }
.firstchips .chip:hover { border-color: var(--edge-hot); color: #fff; }
.firstchips .chip.on { border-color: var(--cyan); background: linear-gradient(135deg, rgba(30, 123, 255, .35), rgba(41, 200, 255, .25)); color: #fff; box-shadow: 0 0 18px -6px rgba(41, 200, 255, .9); }

/* Heavy truck mode: the tractor unit takes the stage, and what belongs to the car steps back */
.stage canvas.truck-canvas { display: none; }
body.kind-truck:not(.no-truck-stage) .stage canvas.truck-canvas { display: block; }
body.kind-truck:not(.no-truck-stage) .stage canvas:not(.truck-canvas) { visibility: hidden; pointer-events: none; }
body.kind-truck:not(.no-truck-stage) .stage > :not(canvas):not(.stage-copy):not(.ghostword):not(.stage-ui) { visibility: hidden; }
body.kind-truck:not(.no-truck-stage) .stage-ui #pieceCount, body.kind-truck:not(.no-truck-stage) .stage-ui .stage-hint:first-of-type { display: none; }
body.kind-truck:not(.no-truck-stage) .studio .rail, body.kind-truck:not(.no-truck-stage) .studio .zonepanel { visibility: hidden; pointer-events: none; }
body.kind-truck:not(.no-truck-stage) .ghostword { visibility: hidden; }
body.kind-truck:not(.no-truck-stage) .ghostword::after { content: "HEAVY TRUCK"; visibility: visible; position: absolute; inset: 0; display: grid; place-items: center; padding-bottom: 12vh; white-space: nowrap; }

/* The truck's own "Most searched" list: in the car list's place, in Heavy truck mode only */
.truckrail { display: none; }
.truckrail > div { display: flex; flex-direction: column; align-items: flex-end; }
body.kind-truck:not(.no-truck-stage) .studio .truckrail { display: flex; visibility: visible; pointer-events: auto; }
body.kind-truck:not(.no-truck-stage) .studio .rail:not(.truckrail) { display: none; }
.truckrail .rail-item.on { color: #fff; }
.truckrail .rail-item.on::after { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.truckrail .rail-clear { margin-top: 12px; }

/* Pages of results */
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; margin: 4px 0 16px; padding: 10px 14px; border: 1px solid var(--edge); border-radius: 14px; background: var(--glass); backdrop-filter: blur(12px); }
.cards + .pager, table + .pager, .tablewrap + .pager { margin: 18px 0 6px; }
.pager-count { font: 600 11.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.pager-count b { color: #fff; }
.pager-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pager-buttons i { font-style: normal; color: rgba(255, 255, 255, .4); padding: 0 2px; }
.pager button { min-width: 38px; height: 36px; padding: 0 12px; border: 1px solid var(--edge); border-radius: 10px; background: rgba(41, 200, 255, .05); color: #d3deee; font: 700 13.5px/1 var(--font); font-variant-numeric: tabular-nums; cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s, color .15s; }
.pager button:hover:not(:disabled):not(.on) { border-color: var(--edge-hot); color: #fff; background: rgba(41, 200, 255, .12); }
.pager button.on { border-color: var(--cyan); background: linear-gradient(135deg, #1E7BFF, #29C8FF); color: #04101f; box-shadow: 0 0 18px -4px rgba(41, 200, 255, .9); cursor: default; }
.pager button.step { padding: 0 14px; }
.pager button:disabled { opacity: .35; cursor: default; }
@media (max-width: 640px) { .pager { justify-content: center; } .pager button { min-width: 34px; height: 34px; padding: 0 9px; } }
