
/* Layout: tool-first page. Home/Business/Fuel tabs, a short question guide, appliance picker on the left, a generator "spec plate" result on the right; stacks on phones with a sticky summary bar.
   Palette: "power guardian" night-indigo ink and lavender-gray neutrals, the logo's gold as the power and action color, and the logo's dark purple used sparingly for brand moments. */
:root {
  --bg: #F1F0F5;
  --surface: #FFFFFF;
  --ink: #18162B;
  --muted: #5B5872;
  --line: #D9D7E3;
  --volt: #F8CF29;
  --volt-ink: #2A1F00;
  --volt-soft: rgba(248, 207, 41, 0.38);
  --brand: #45137F;
  --brand-soft: rgba(69, 19, 127, 0.08);
  --warn: #A8361C;
  --chip-on: #18162B;
  --chip-on-ink: #FFFFFF;
  --font-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
}
:root { color-scheme: light; }
[hidden] { display: none !important; }
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.55;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--volt); outline-offset: 2px; }
.wrap {
  max-width: 1120px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.label {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.num { font-family: var(--font-display); font-weight: 700; font-variant-numeric: tabular-nums; }

header.site {
  background: var(--surface); margin-bottom: 24px;
  border-bottom: 4px solid; border-image: linear-gradient(90deg, var(--volt) 50%, var(--brand) 50%) 1;
}
header.site .wrap { display: flex; align-items: center; gap: 14px; padding-block: 12px; max-width: 1152px; padding-inline: 16px; }
.logo { height: 60px; width: auto; flex: none; }
.logo-d { display: none; }
.homelink { display: contents; color: inherit; text-decoration: none; }
.brandtext { display: flex; flex-direction: column; min-width: 0; }
.brand { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; line-height: 1; letter-spacing: 0.01em; text-transform: uppercase; }
.brand em { font-style: normal; color: var(--brand); }
.tagline { font-size: 0.9rem; color: var(--muted); margin-top: 4px; }
@media (max-width: 480px) {
  .logo { height: 50px; }
  .brand { font-size: 1.35rem; }
  .tagline { font-size: 0.82rem; }
}
/* ---------- Header menu ---------- */
header.site { position: relative; }
.hnav { display: none; margin-left: auto; align-items: center; gap: 20px; font-weight: 600; font-size: 0.95rem; }
.hnav a { color: var(--muted); text-decoration: none; padding: 4px 2px; white-space: nowrap; }
.hnav a:hover { color: var(--ink); }
.hnav a[aria-current="page"], .hnav .hmore button[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.hmore { position: relative; }
.hmore button { display: inline-flex; align-items: center; gap: 4px; font: inherit; font-size: inherit; font-weight: 600; color: var(--muted); background: none; border: 0; padding: 4px 2px; cursor: pointer; }
.hmore button:hover { color: var(--ink); }
.hmore button[aria-expanded="true"] svg { transform: rotate(180deg); }
.hmore-menu { position: absolute; right: 0; top: 100%; margin-top: 8px; width: 15rem; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 28px rgba(24, 22, 43, 0.18); overflow: hidden; z-index: 60; }
.hmore-menu a { display: block; padding: 10px 16px; color: var(--ink); }
.hmore-menu a:hover { background: var(--brand-soft); color: var(--ink); }
.menu-btn {
  margin-left: auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; min-width: 44px; padding: 0 12px; font: inherit; font-weight: 600; cursor: pointer;
  color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
}
.menu-lbl { display: none; }
@media (min-width: 560px) { .menu-lbl { display: inline; } }
.menu-back { position: absolute; left: 0; right: 0; top: 100%; height: 100dvh; background: rgba(24, 22, 43, 0.4); }
.menu-panel {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 60; background: var(--surface);
  border-bottom: 1px solid var(--line); box-shadow: 0 14px 30px rgba(24, 22, 43, 0.25);
  max-height: calc(100dvh - 76px); overflow-y: auto; overscroll-behavior: contain;
}
.mgrid { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.mgrid .mrow { min-height: 74px; justify-content: flex-start; padding: 12px 14px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); border-left: 4px solid transparent; }
.mgrid .mrow:nth-child(2n) { border-right: 0; }
.mgrid .mrow:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: 0; }
.mgrid .mrow:last-child { border-bottom: 0; }
.mgrid .mrow b { font-size: 1.12rem; }
.mgrid .mrow span { font-size: 0.86rem; line-height: 1.25; margin-top: 2px; }
html.menu-open .mbar { display: none !important; }
.mhead { margin: 0; padding: 16px 16px 4px; font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.mrow { display: flex; flex-direction: column; justify-content: center; min-height: 56px; padding: 8px 16px; text-decoration: none; border-bottom: 1px solid var(--line); border-left: 4px solid transparent; }
.mrow b { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.15; }
.mrow span { font-size: 0.92rem; color: var(--muted); }
.mrow:active, .mrow[aria-current="page"] { background: var(--brand-soft); }
.mrow[aria-current="page"] { border-left-color: var(--brand); }
.mlinks { list-style: none; margin: 0; padding: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; font-size: 0.92rem; font-weight: 600; }
.mlinks a { color: var(--muted); text-decoration: none; }
.mlinks a:hover { color: var(--ink); }
@media (min-width: 1100px) {
  .hnav { display: flex; }
  .menu-btn, .menu-back, .menu-panel { display: none !important; }
}
@media (max-width: 1099.98px) {
  header.site { position: sticky; top: 0; z-index: 50; }
  header.site .wrap { padding-block: 8px; }
  .logo { height: 46px; }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand);
}
.eyebrow::before { content: ""; width: 10px; height: 12px; background: var(--brand); clip-path: polygon(0 0, 100% 0, 100% 60%, 50% 100%, 0 60%); }

.hero { padding-block: 0 28px; }
.modes {
  display: inline-flex; padding: 4px; gap: 4px; border-radius: 10px; margin-bottom: 18px;
  background: var(--surface); border: 1px solid var(--line);
}
.modes button {
  font: inherit; font-weight: 600; padding: 8px 18px; border-radius: 7px; border: 0;
  background: transparent; color: var(--muted); cursor: pointer;
}
.modes button[aria-pressed="true"] { background: var(--chip-on); color: var(--chip-on-ink); }
.seg { margin-bottom: 0; align-self: flex-start; flex-wrap: wrap; }
.seg button { padding: 6px 14px; font-size: 0.95rem; }
.modes { max-width: 100%; }
@media (max-width: 480px) { .modes button { padding: 8px 11px; } .seg button { padding: 6px 12px; } }
.fuel-field select {
  width: 100%; font: inherit; font-size: 1rem; padding: 10px 12px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--bg); color: var(--ink);
}
.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fgrid .span2 { grid-column: 1 / -1; }
.fgrid .unitrow { display: grid; grid-template-columns: minmax(0, 1fr) 84px; gap: 8px; }
.brandbox { display: grid; gap: 8px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #F7F4FB; }
.brandlist { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.brandlist li { padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 600; font-size: 0.9rem; }
.brandbox a { color: inherit; text-decoration: underline; }
.fhelp { margin: 0; font-size: 0.85rem; color: var(--muted); }
.fbtns { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.fbtns .btn { margin-top: 0; }
.try { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.try .fchip { min-height: 36px; }
.fgroup { display: flex; flex-direction: column; gap: 12px; }
.fgroup + .fgroup { margin-top: 12px; }
.fgroup h2 { font-family: var(--font-display); font-size: 1.5rem; margin: 0; text-wrap: pretty; }
.fempty { background: var(--surface); border: 1px dashed var(--line); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.fempty p { margin: 0; }
.fuel-est { margin: 0; font-size: 0.95rem; }
.fuel-est b { font-variant-numeric: tabular-nums; }
.units { padding-bottom: 56px; display: flex; flex-direction: column; gap: 16px; }
.units-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px;
  border-top: 2px solid var(--ink); padding-top: 20px;
}
.units-head > div { min-width: 0; flex: 1 1 280px; }
.units-head h2 {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 4.5vw, 2.5rem);
  line-height: 1.05; margin: 4px 0 6px; text-wrap: pretty;
}
.sort { display: flex; align-items: center; gap: 8px; font-size: 0.95rem; font-weight: 600; }
.sort select {
  font: inherit; font-weight: 400; padding: 9px 12px; border-radius: 8px; min-height: 44px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
}
.filters { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.chiprow {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none;
  scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
}
.chiprow::-webkit-scrollbar { display: none; }
.fchip {
  flex: none; scroll-snap-align: start; display: inline-flex; align-items: baseline; gap: 6px;
  padding: 9px 14px; min-height: 42px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); font: inherit; font-size: 0.95rem; font-weight: 600;
  cursor: pointer; white-space: nowrap;
}
.fchip small { font-weight: 400; color: var(--muted); font-size: 0.82rem; font-variant-numeric: tabular-nums; }
.fchip[aria-pressed="true"] { background: var(--chip-on); color: var(--chip-on-ink); border-color: var(--chip-on); }
.fchip[aria-pressed="true"] small { color: inherit; opacity: 0.8; }
.fchip:disabled { opacity: 0.45; cursor: default; }
.ulist { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 12px; }
.ulist .empty { grid-column: 1 / -1; }
.ucard {
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 16px;
  display: flex; flex-direction: column; gap: 12px; min-width: 0;
}
.ucard.best { border: 2px solid var(--volt); }
.u-logo { display: block; height: 26px; width: auto; max-width: 110px; object-fit: contain; object-position: left center; }
.u-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.u-make { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.u-type { font-size: 0.8rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--bg); color: var(--ink); white-space: nowrap; }
.u-type.on { background: var(--volt); color: var(--volt-ink); }
.ucard h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; line-height: 1.1; margin: 0; overflow-wrap: anywhere; }
.u-cat { margin: 4px 0 0; color: var(--muted); font-size: 0.92rem; }
.u-specs { margin: 0; display: grid; gap: 4px; font-size: 0.92rem; }
.u-specs div { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px; }
.u-specs dt { color: var(--muted); }
.u-specs dd { margin: 0; overflow-wrap: anywhere; }
.u-fit { align-self: flex-start; font-size: 0.85rem; font-weight: 600; padding: 4px 10px; border-radius: 6px; background: var(--volt-soft); color: var(--ink); }
.u-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; border-top: 1px solid var(--line); padding-top: 12px; }
.u-price b { font-family: var(--font-display); font-size: 2rem; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1; }
.u-price span { font-size: 0.85rem; color: var(--muted); }
.u-price .used { flex-basis: 100%; font-size: 0.92rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.ucard details { border-radius: 8px; background: var(--bg); }
.ucard summary { cursor: pointer; padding: 11px 12px; font-weight: 600; font-size: 0.92rem; min-height: 44px; }
.tiers { margin: 0; padding: 0 12px 12px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0 16px; font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.tiers div { display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px dashed var(--line); padding: 6px 0; }
.tiers dt { color: var(--muted); }
.tiers dd { margin: 0; font-weight: 600; }
.u-link {
  display: flex; justify-content: center; align-items: center; min-height: 44px; margin-top: auto;
  border-radius: 8px; border: 1px solid var(--ink); text-decoration: none; font-weight: 600;
}
.u-link:hover { background: var(--bg); }
.u-more { align-self: center; margin-top: 4px; }
.u-notes { display: flex; flex-direction: column; gap: 6px; }
.fuelview { display: grid; gap: 24px; padding-bottom: 48px; }
@media (min-width: 880px) {
  .fuelview { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); align-items: start; }
  .fuelview .plate { position: sticky; top: 16px; }
}
.fuel-field { display: flex; flex-direction: column; gap: 6px; }
.fuel-field input {
  width: 100%; font: inherit; font-size: 1rem; padding: 10px 12px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--bg); color: var(--ink);
}
.fuel-field .finder-row .btn { margin-top: 0; }
.fuelmap { position: relative; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #F3F0F8; min-height: 320px; height: 60vh; max-height: 560px; }
.fuelmap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.fuelmap-empty { margin: 0; padding: 24px; text-align: center; color: var(--muted, #5b5470); display: grid; place-items: center; height: 100%; box-sizing: border-box; }
.results { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.results-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.results-head h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; margin: 0; }
.place {
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
}
.place > div { min-width: 0; flex: 1 1 220px; }
.place h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; margin: 0; line-height: 1.2; overflow-wrap: anywhere; }
.place p { margin: 2px 0 0; color: var(--muted); font-size: 0.95rem; overflow-wrap: anywhere; }
.place a { font-weight: 600; white-space: nowrap; text-underline-offset: 3px; }
.empty { background: var(--surface); border: 1px dashed var(--muted); border-radius: 10px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.empty p { margin: 0; }
.empty .btn { margin-top: 0; }
.attrib { font-size: 0.85rem; color: var(--muted); margin: 0; }
.hero h1 {
  font-family: var(--font-display); font-weight: 700; text-wrap: pretty;
  font-size: clamp(2.3rem, 6vw, 4rem); line-height: 1; margin: 0 0 12px;
}
.hero p { margin: 0; color: var(--muted); font-size: 1.1rem; }

.tool { display: grid; gap: 24px; padding-bottom: 48px; }
@media (min-width: 880px) {
  .tool { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; }
  .plate { position: sticky; top: 16px; }
}

.picker { display: flex; flex-direction: column; gap: 22px; min-width: 0; }

.guide {
  background: var(--surface); border: 2px solid var(--volt); border-radius: 10px; padding: 18px;
  display: flex; flex-direction: column; gap: 12px;
}
.guide-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.progress { display: flex; gap: 4px; }
.progress i { width: 22px; height: 4px; border-radius: 2px; background: var(--line); }
.progress i.on { background: var(--volt); }
.guide h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; line-height: 1.1; margin: 0; text-wrap: pretty; }
.gopts { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.gopt {
  text-align: left; padding: 12px 14px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--bg); color: var(--ink); font: inherit; cursor: pointer; display: flex; flex-direction: column; gap: 2px;
}
.gopt:hover { border-color: var(--muted); }
.gopt b { font-weight: 600; line-height: 1.25; }
.gopt span { font-size: 0.85rem; color: var(--muted); }
.gopt[aria-pressed="true"] { background: var(--chip-on); color: var(--chip-on-ink); border-color: var(--chip-on); }
.gopt[aria-pressed="true"] span { color: inherit; opacity: 0.75; }
.gnav { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

.picker-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 16px; }
.picker-top p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.textbtn {
  background: none; border: 0; padding: 4px 0; font: inherit; font-size: 0.95rem; color: var(--ink);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
#groups { display: flex; flex-direction: column; gap: 22px; }
.group h2 {
  font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; margin: 0 0 8px;
  letter-spacing: 0.02em;
}
.chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.chip {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: left;
  width: 100%; padding: 12px 14px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); font: inherit; cursor: pointer;
  transition: background 0.12s, border-color 0.12s;
}
.chip:hover { border-color: var(--muted); }
.chip .nm { font-weight: 600; line-height: 1.25; }
.chip .w { display: block; font-size: 0.85rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.chip .box {
  flex: none; width: 22px; height: 22px; border-radius: 5px; border: 2px solid var(--line);
  display: grid; place-items: center; font-size: 14px; line-height: 1; color: transparent;
}
.chip[aria-pressed="true"] { background: var(--chip-on); color: var(--chip-on-ink); border-color: var(--chip-on); }
.chip[aria-pressed="true"] .w { color: inherit; opacity: 0.75; }
.chip[aria-pressed="true"] .box { border-color: var(--volt); background: var(--volt); color: var(--volt-ink); }
.fine { font-size: 0.9rem; color: var(--muted); margin: 0; }
.cwrap { display: flex; gap: 6px; min-width: 0; }
.cwrap .chip { flex: 1; min-width: 0; }
.cwrap .nm { overflow-wrap: anywhere; }
.rm {
  flex: none; width: 44px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface);
  color: var(--muted); font: inherit; font-size: 1.2rem; cursor: pointer;
}
.rm:hover { color: var(--warn); border-color: var(--warn); }
.custom {
  background: var(--surface); border: 1px dashed var(--muted); border-radius: 10px; padding: 16px;
  display: flex; flex-direction: column; gap: 12px;
}
.custom h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; margin: 0; letter-spacing: 0.02em; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.fields label { display: flex; flex-direction: column; gap: 4px; font-size: 0.9rem; font-weight: 600; min-width: 0; }
.fields label span { font-weight: 400; color: var(--muted); }
.fields input, .finder input, .amps input, .amps select {
  width: 100%; font: inherit; font-weight: 400; font-size: 1rem; padding: 10px 12px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--bg); color: var(--ink); font-variant-numeric: tabular-nums;
}
input[aria-invalid="true"] { border-color: var(--warn) !important; }
.amps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px; border-radius: 8px; background: var(--bg); }
.amps .fine { flex: 1 1 100%; }
.amps input { width: 110px; background: var(--surface); }
.amps select { width: auto; background: var(--surface); }
.amps .ops { font-family: var(--font-display); font-weight: 700; color: var(--muted); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--volt); flex: none; }
.err { margin: 0; color: var(--warn); font-size: 0.9rem; font-weight: 600; }

.plate {
  background: var(--surface); border: 2px solid var(--ink); border-radius: 10px;
  padding: 20px; display: flex; flex-direction: column; gap: 18px; min-width: 0;
}
.plate-head {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--line); padding-bottom: 10px;
}
.plate-head .label { color: var(--ink); }
.readings { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.readings .num { font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1; display: block; margin-top: 4px; }
.readings .unit { font-size: 1.1rem; color: var(--muted); margin-left: 2px; }

.meter { position: relative; padding-bottom: 22px; }
.track { position: relative; height: 18px; border-radius: 4px; background: var(--bg); border: 1px solid var(--line); overflow: hidden; }
.fill-run, .fill-surge { position: absolute; top: 0; bottom: 0; left: 0; transition: width 0.25s ease; }
.fill-run { background: var(--volt); z-index: 2; }
.fill-surge { z-index: 1; background: repeating-linear-gradient(135deg, var(--volt-soft) 0 6px, transparent 6px 11px); }
.tick { position: absolute; top: 0; height: 18px; border-left: 1px dashed var(--muted); z-index: 3; }
.tick span {
  position: absolute; top: 22px; transform: translateX(-50%); font-size: 0.75rem;
  color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.legend { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 0.85rem; color: var(--muted); }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 2px; vertical-align: -1px; margin-right: 6px; }
.legend .lr { background: var(--volt); }
.legend .ls { background: repeating-linear-gradient(135deg, var(--volt-soft) 0 3px, transparent 3px 6px); border: 1px solid var(--line); }
.volt-note { margin: 0; padding: 10px 12px; border-radius: 8px; background: var(--bg); font-size: 0.9rem; }
.volt-note b { font-family: var(--font-display); letter-spacing: 0.04em; }

.pick { border-top: 1px solid var(--line); padding-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.pick h3 { font-family: var(--font-display); font-weight: 700; font-size: 2rem; line-height: 1.05; margin: 0; }
.pick .spec { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.pick .note { margin: 0; color: var(--muted); }
.btn {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; margin-top: 8px;
  background: var(--volt); color: var(--volt-ink); text-decoration: none; font: inherit; font-weight: 600;
  padding: 12px 18px; border-radius: 8px; border: 1px solid var(--volt); cursor: pointer;
}
.btn:hover { filter: brightness(0.95); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.custom .btn, .finder .btn, .gnav .btn { margin-top: 0; }
.finder { border-top: 1px solid var(--line); padding-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.finder-row { display: flex; flex-wrap: wrap; gap: 8px; }
.finder-row input { flex: 1 1 140px; min-width: 0; width: auto; }
.kit ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.kit li a { text-underline-offset: 3px; }
.kit li::before { content: "+"; font-family: var(--font-display); font-weight: 700; margin-right: 8px; color: var(--muted); }

.info { border-top: 1px solid var(--line); padding-block: 40px; }
.info-grid { display: grid; gap: 32px; }
@media (min-width: 880px) { .info-grid { grid-template-columns: 1fr 1fr; } }
.info h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.8rem; margin: 0 0 12px; }
.info h2 + p { margin-top: 0; }
.info p, .info li { max-width: none; }
.info ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; }
.info .col { display: flex; flex-direction: column; gap: 32px; }
.terms { margin: 0; display: grid; gap: 12px; }
.terms div { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.terms dt { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; }
.terms dd { margin: 0; }
.safety h2 { color: var(--warn); }
.biz { padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.biz p { margin: 0; }
.email { font-weight: 600; user-select: all; }

footer { border-top: 1px solid var(--line); padding-block: 24px 32px; color: var(--muted); font-size: 0.9rem; }
footer p { margin: 0 0 8px; max-width: 80ch; }

.mbar { display: none; }
@media (max-width: 879px) {
  .hero .modes button { min-height: 44px; }
  body { padding-bottom: 76px; }
  .mbar {
    display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; border: 0; font: inherit; text-align: left; cursor: pointer;
    background: var(--chip-on); color: var(--chip-on-ink);
    padding-top: 12px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }
  .mbar b { font-family: var(--font-display); font-size: 1.25rem; font-variant-numeric: tabular-nums; }
  .mbar small { display: block; opacity: 0.8; font-size: 0.85rem; }
  .mbar .go { font-weight: 600; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) { .fill-run, .fill-surge, .chip { transition: none; } }

.pchecks { border: 0; padding: 0; margin: 4px 0 0; display: flex; flex-direction: column; gap: 10px; }
.pchecks legend { margin-bottom: 8px; }
.pchecks label { display: flex; gap: 10px; align-items: flex-start; font-size: 0.98rem; cursor: pointer; }
.pchecks input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.plate .plate-head + .fgrid { margin-top: 2px; }
.pv-card { background: var(--chip-on); color: var(--chip-on-ink); border-radius: 14px; padding: 22px 24px; }
.pv-card .label { color: rgba(255,255,255,0.7); }
.pv-value { font-family: var(--font-display); font-weight: 700; font-size: 3.2rem; line-height: 1.05; margin: 6px 0 4px; }
.pv-range { font-size: 1.05rem; color: rgba(255,255,255,0.85); }
.pv-for { margin-top: 10px; font-size: 0.95rem; color: rgba(255,255,255,0.75); }
.pv-box { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.pv-box h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; margin: 0 0 10px; }
.pv-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.pv-steps li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 0.98rem; }
.pv-steps li:first-child { border-top: 0; }
.pv-steps li span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 600; }
.pv-steps li.pv-total { font-weight: 700; border-top: 2px solid var(--ink); }
.pv-tiers { width: 100%; border-collapse: collapse; font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.pv-tiers td { padding: 7px 0; border-top: 1px solid var(--line); }
.pv-tiers td:last-child { text-align: right; }
.pv-tiers tr.on td { background: var(--volt-soft); font-weight: 700; }
.pv-empty { background: var(--surface); border: 1px dashed var(--line); border-radius: 14px; padding: 22px; color: var(--muted); }
@media (max-width: 640px) {
  .modes { display: flex; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .modes::-webkit-scrollbar { display: none; }
  .modes button { white-space: nowrap; flex: none; }
  /* Main section switcher: every tool visible at once, two rows, no sideways scrolling */
  .hero .modes:not(.seg) {
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; overflow: visible; padding: 6px; width: 100%;
  }
  .hero .modes:not(.seg) button {
    grid-column: span 2; min-height: 46px; padding: 8px 4px; font-size: 0.97rem; text-align: center; white-space: normal; line-height: 1.15;
  }
  .hero .modes:not(.seg) button:nth-child(-n+2) { grid-column: span 3; font-size: 1.02rem; }
}

.refnote { margin: 14px 0 0 !important; font-size: 0.92rem !important; color: var(--ink) !important;
  background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--volt); border-radius: 8px; padding: 9px 12px; }
.refnote a { color: var(--brand); font-weight: 600; }
.resnote { margin: 16px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--muted); }
.flinks { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.flinks a { color: var(--ink); font-weight: 600; }

/* ---------- Layout cleanup: readable rhythm, no orphans ---------- */
p, li, dd, .fhelp, .note { text-wrap: pretty; }
h1, h2, h3, .label, legend, .brand { text-wrap: pretty; }
.info { border-top: 1px solid var(--line); padding-block: 48px 56px; }
.info .wrap { display: flex; flex-direction: column; gap: 48px; }
.info-block h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; margin: 0 0 16px; }
.info-block h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; line-height: 1.15; margin: 0 0 6px; }
.info-block p { margin: 0; color: var(--muted); max-width: none; }
.steps, .safe-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.steps { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps li { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px 20px 22px; max-width: none; }
.step-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--volt); color: var(--volt-ink);
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin-bottom: 12px; }
.terms { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 0; }
.terms .term { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.terms dt { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--brand); margin-bottom: 4px; }
.terms dd { margin: 0; color: var(--muted); max-width: none; }
.safe-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.safe-grid li { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--warn); border-radius: 12px; padding: 18px 20px; max-width: none; }
.safety h2 { color: var(--warn); }
.safety .biz { margin-top: 16px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.safety .biz p { color: var(--ink); }

.site-foot { border-top: 1px solid var(--line); padding-block: 40px 28px; color: var(--muted); font-size: 0.92rem; background: var(--surface); }
.site-foot p { margin: 0; max-width: none; }
.foot-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.foot-brand { display: flex; flex-direction: column; gap: 4px; }
.foot-brand .brand { color: var(--ink); }
.foot-col { display: flex; flex-direction: column; gap: 8px; }
.foot-col .label { margin-bottom: 2px; }
.foot-col a { color: var(--ink); text-decoration: none; font-weight: 600; width: fit-content; }
.foot-col a:hover { color: var(--brand); text-decoration: underline; }
.foot-notes { display: grid; gap: 16px 32px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); padding-top: 24px; }
.foot-notes b { color: var(--ink); }
.foot-copy { margin-top: 20px !important; font-size: 0.85rem; }

.catnote { grid-column: 1 / -1; margin: 0; font-size: 0.92rem; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }
.catnote b { color: var(--ink); }
.catnote a, .biz a.email { color: var(--brand); font-weight: 600; }

.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; line-height: 1; color: var(--brand); flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq summary h3 { margin: 0; font-size: 1.2rem; }
.faq details p { margin: 0 0 18px; color: var(--muted); }

.info ul.safe-grid, .info ol.steps { display: grid; padding: 0; margin: 0; list-style: none; flex-direction: initial; }
.info ul.safe-grid li, .info ol.steps li { margin: 0; }

.safe-grid h3, .steps h3, .terms dt { text-wrap: pretty; }
.info ul.guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; padding: 0; margin: 0; list-style: none; flex-direction: initial; }
.info ul.guide-grid li { margin: 0; max-width: none; }
.guide-grid a { display: block; height: 100%; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: 12px; padding: 18px 20px; color: var(--ink); text-decoration: none; }
.guide-grid a:hover { border-color: var(--brand); }
.guide-grid h3 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; line-height: 1.1; text-wrap: pretty; }
.guide-grid p { margin: 6px 0 0; color: var(--muted); }
.guides-more { margin-top: 14px; }
.guides-more a { color: var(--brand); font-weight: 700; }

/* ---------- Equipment picker tabs ---------- */
.ptabs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: 12px; padding: 4px; background: var(--surface); }
.ptabs button { font: inherit; font-weight: 700; font-size: 1rem; padding: 12px 10px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); cursor: pointer; }
.ptabs button[aria-selected="true"] { background: var(--chip-on); color: var(--chip-on-ink); }
.pcount { display: inline-block; margin-left: 6px; font-size: 0.8rem; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: var(--volt); color: var(--volt-ink); }
.pcount:empty { display: none; }
.ppanel { display: flex; flex-direction: column; gap: 16px; }
.ppanel[hidden] { display: none; }
.psearch { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.psearch:focus { outline: 3px solid var(--volt); outline-offset: 1px; }
.pcats { display: flex; flex-wrap: wrap; gap: 8px; }
.pcat { font: inherit; font-size: 0.92rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; white-space: nowrap; }
.pcat:hover { border-color: var(--muted); }
.pcat[aria-pressed="true"] { background: var(--chip-on); color: var(--chip-on-ink); border-color: var(--chip-on); }
@media (max-width: 640px) {
  .pcats { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .pcats::-webkit-scrollbar { display: none; }
}
.pempty { background: var(--surface); border: 1px dashed var(--line); border-radius: 12px; padding: 18px; color: var(--muted); }
.ok { margin: 0; font-weight: 600; color: #1f6b3a; }

/* ---------- "You'll also need" affiliate links ---------- */
.kit-shop { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.kit .kit-shop li::before { content: none; }
.shop { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 8px;
  background: var(--surface); border: 1px solid var(--line); }
.shop:hover { border-color: var(--brand); }
.shop-txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.shop-name { font-weight: 600; font-size: 0.92rem; line-height: 1.25; }
.shop-why { font-size: 0.8rem; color: var(--muted); line-height: 1.3; }
.shop-btn { flex: none; display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 6px;
  border: 1px solid var(--brand); background: transparent; color: var(--brand) !important;
  font-weight: 700; font-size: 0.8rem; text-decoration: none; white-space: nowrap; }
.shop-btn::after { content: "→"; }
.shop-btn:hover { background: var(--brand-soft); }
.kit-aff { margin: 6px 0 0; font-size: 0.75rem; color: var(--muted); }
.kit #kitList:empty { display: none; }
@media (max-width: 420px) { .shop { flex-wrap: wrap; } }

/* ---------- Hero spans the full content width ---------- */
.hero h1 { max-width: none; }

.hero .refnote { max-width: none; width: 100%; box-sizing: border-box; }

/* ---------- Input cleanup: one field style, steps, tap cards, row-style appliance list ---------- */
:root { --edge: #8A879E; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.fuel-field > .label { font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ink); line-height: 1.3; }
.fuel-field input, .fuel-field select, .psearch {
  width: 100%; height: 48px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--edge);
  background: var(--surface); color: var(--ink); font: inherit; font-size: 1rem;
}
.fuel-field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; background-repeat: no-repeat; background-position: right 14px center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M2 5l5 5 5-5' fill='none' stroke='%235B5872' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.fuel-field input:focus, .fuel-field select:focus, .psearch:focus { border-color: var(--brand); outline: 3px solid var(--volt); outline-offset: 1px; }
.fuel-field input:disabled, .fuel-field select:disabled { background: var(--bg); color: var(--muted); }
.fuel-field input::placeholder, .psearch::placeholder { color: var(--muted); opacity: 1; }
.fgrid { gap: 16px; }
.fgrid .unitrow { grid-template-columns: minmax(0, 1fr) 112px; align-items: stretch; }

#findForm.plate, #priceForm.plate {
  border: 1px solid var(--line); border-radius: 16px; padding: 24px; gap: 22px;
  box-shadow: 0 1px 2px rgba(24, 22, 43, 0.06), 0 8px 24px rgba(24, 22, 43, 0.06);
}
#findForm .plate-head, #priceForm .plate-head { border-bottom: 0; padding-bottom: 0; justify-content: flex-start; gap: 12px; }
#findForm .plate-head .label, #priceForm .plate-head .label {
  margin: 0; font-family: var(--font-display); font-size: 1.55rem; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--ink); line-height: 1.1;
}
#priceForm { counter-reset: step; }
#priceForm .plate-head { counter-increment: step; }
#priceForm .plate-head::before {
  content: counter(step); flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: var(--bg);
  display: grid; place-items: center; font-weight: 700; font-size: 0.95rem; line-height: 1;
}
#priceForm .plate-head + .fgrid, #priceForm .plate-head + .fuel-field, #priceForm .plate-head + .pchecks { margin-top: -6px; }
.pchecks { gap: 2px; margin: 0; }
.pchecks label { align-items: center; min-height: 44px; font-size: 1rem; }
.pchecks input { width: 22px; height: 22px; margin: 0; }
@media (min-width: 880px) {
  #priceForm.plate, #findForm.plate { position: static; }
  #priceResults { position: sticky; top: 16px; align-self: start; }
}

/* controls that replace short dropdowns (the dropdown stays in the page, hidden, so nothing else changes) */
.enh-hidden { display: none !important; }
.seg2 { display: flex; height: 48px; border: 1px solid var(--edge); border-radius: 10px; overflow: hidden; background: var(--surface); }
.seg2 button { flex: 1; min-width: 44px; border: 0; background: transparent; color: var(--ink); font: inherit; font-weight: 600; font-size: 0.95rem; cursor: pointer; padding: 0 10px; }
.seg2 button + button { border-left: 1px solid var(--edge); }
.seg2 button[aria-pressed="true"] { background: var(--chip-on); color: var(--chip-on-ink); }
.seg2 button:disabled { opacity: 0.45; cursor: default; }
.opt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-chips button { height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--edge); background: var(--surface); color: var(--ink); font: inherit; font-size: 0.97rem; font-weight: 600; white-space: nowrap; cursor: pointer; }
.opt-chips button[aria-pressed="true"] { background: var(--chip-on); color: var(--chip-on-ink); border-color: var(--chip-on); }
.opt-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 520px) { .opt-cards { grid-template-columns: 1fr; } }
.opt-cards button { text-align: left; display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: 12px; border: 2px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; }
.opt-cards button b { font-weight: 700; font-size: 1.02rem; line-height: 1.25; }
.opt-cards button span { font-size: 0.9rem; color: var(--muted); line-height: 1.35; }
.opt-cards button:hover { border-color: var(--edge); }
.opt-cards button[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-soft); }

/* Home picker: search and clear on one row, one row of categories, appliance rows */
.ptool { display: flex; gap: 10px; align-items: center; }
.psearch-wrap { position: relative; flex: 1; min-width: 0; }
.psearch-wrap svg { position: absolute; left: 14px; top: 14px; color: var(--muted); pointer-events: none; }
.psearch-wrap .psearch { padding-left: 44px; }
.ptool .textbtn { flex: none; min-height: 44px; padding: 0 6px; color: var(--brand); font-weight: 700; white-space: nowrap; }
.pcats { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.pcat { flex: none; height: 40px; padding: 0 16px; border-color: var(--edge); font-size: 0.97rem; }
@media (max-width: 640px) { .pcats { scrollbar-width: none; } }
[data-fade]:not([data-end]) { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
.chips { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.chip { gap: 14px; justify-content: flex-start; min-height: 64px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.chip:hover { border-color: var(--edge); }
.chip .box { order: -1; width: 24px; height: 24px; border-radius: 6px; border: 2px solid var(--edge); background: var(--surface); }
.chip .mid { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.chip .nm { font-size: 1.02rem; }
.chip .tag { margin-left: 8px; padding: 1px 8px; border-radius: 6px; background: var(--brand-soft); color: var(--brand); font-size: 0.78rem; font-weight: 700; vertical-align: 1px; }
.chip .grp { font-size: 0.85rem; color: var(--muted); }
.chip .w { text-align: right; flex: none; display: flex; flex-direction: column; font-size: 0.82rem; color: var(--muted); }
.chip .w b { font-family: var(--font-display); font-size: 1.3rem; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] { background: var(--brand-soft); color: var(--ink); border-color: var(--brand); }
.chip[aria-pressed="true"] .w { color: var(--muted); opacity: 1; }
.chip[aria-pressed="true"] .box { border-color: var(--brand); background: var(--brand); color: var(--bg); }
.chip[aria-pressed="true"] .tag { background: var(--surface); }
.cwrap .chip { min-width: 0; }
@media (max-width: 400px) { .chips { grid-template-columns: 1fr; } }

.opt-chips button { height: auto; min-height: 44px; padding: 8px 16px; white-space: normal; text-align: left; line-height: 1.25; }
