/* Builder and cart. Colours, type and radii come from the tokens in site.css. */
:root {
  --b-bg: var(--bg, #fafafa); --b-surface: var(--surface, #fff); --b-ink: var(--ink, #171717); --b-ink2: var(--ink-2, #4d4d4d);
  --b-ink3: var(--ink-3, #7d7d7d); --b-line: var(--line, #ebebeb); --b-line2: var(--line-2, #e6e6e6); --b-blue: var(--blue, #0070f3);
  --b-rp: var(--r-panel, 2px); --b-rc: var(--r-ctl, 6px); --b-rw: var(--r-win, 12px);
  --b-sans: var(--sans, "Geist", "Inter", system-ui, sans-serif); --b-mono: var(--mono, "Geist Mono", ui-monospace, monospace);
  --b-ease: var(--ease, cubic-bezier(.16, 1, .3, 1));
}
[hidden] { display: none !important; }
.bld { padding: calc(var(--site-h, 64px) + 20px) 0 72px; }
.bld-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.crumb { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--b-ink3); min-width: 0; }
.crumb a:hover { color: var(--b-ink); }
.crumb b { font-weight: 500; color: var(--b-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crumb i { font-style: normal; color: var(--b-line2); }
.bld-tools { display: flex; align-items: center; gap: 8px; }
.unit-seg { display: inline-flex; border: 1px solid var(--b-line2); border-radius: var(--b-rc); overflow: hidden; background: var(--b-surface); }
.unit-seg button { border: 0; background: transparent; padding: 0 12px; height: 32px; font: 500 14px var(--b-mono); color: var(--b-ink3); }
.unit-seg button[aria-pressed="true"] { background: var(--b-ink); color: #fff; }

.bld-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(360px, 1fr); gap: 24px; align-items: start; }

/* ---- stage ---- */
.bld-stage { position: sticky; top: calc(var(--site-h, 64px) + 16px); min-width: 0; }
.stage-win { background: var(--b-surface); border: 1px solid var(--b-line2); border-radius: var(--b-rw); overflow: hidden; }
.stage-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--b-line); flex-wrap: wrap; }
.stage-bar .b-lbl { font: 400 12px var(--b-mono); color: var(--b-ink3); display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.stage-bar .b-lbl::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--b-blue); }
.stage-ctl { display: flex; gap: 6px; flex-wrap: wrap; }
.stage-ctl button { border: 1px solid var(--b-line2); background: var(--b-surface); border-radius: var(--b-rc); height: 32px; padding: 0 10px; font: 500 14px var(--b-sans); color: var(--b-ink2); display: inline-flex; align-items: center; gap: 6px; transition: background .2s, color .2s, border-color .2s; }
.stage-ctl button:hover { color: var(--b-ink); border-color: #c9c9c9; }
.stage-ctl button[aria-pressed="true"] { background: var(--b-ink); border-color: var(--b-ink); color: #fff; }
.stage-ctl .sep { width: 1px; background: var(--b-line); margin: 4px 2px; }
.stage-host { position: relative; height: clamp(360px, calc(100vh - 290px), 640px); cursor: grab; touch-action: none;
  background:
    radial-gradient(120% 90% at 50% 38%, #fff 0%, #fff 42%, #f4f4f4 100%),
    var(--b-surface); }
.stage-host::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: linear-gradient(var(--b-line) 1px, transparent 1px) 0 0 / 48px 48px, linear-gradient(90deg, var(--b-line) 1px, transparent 1px) 0 0 / 48px 48px;
  -webkit-mask: radial-gradient(70% 70% at 50% 45%, transparent 35%, #000 100%); mask: radial-gradient(70% 70% at 50% 45%, transparent 35%, #000 100%); }
.stage-host.grabbed { cursor: grabbing; }
.stage-host canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.stage-host .b-fallback { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; color: var(--b-ink3); font-size: 14px; }
.stage-host .b-fallback img { max-height: 70%; margin: 0 auto 12px; }
.stage-dims { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.stage-dims span { position: absolute; left: 0; top: 0; padding: 3px 7px; border-radius: var(--b-rp); background: var(--b-ink); color: #fff; font: 400 12px var(--b-mono); white-space: nowrap; }
.stage-dims b { font-weight: 500; color: #8ec2ff; margin-right: 2px; }
.stage-hint { position: absolute; left: 12px; bottom: 10px; font: 400 12px var(--b-mono); color: var(--b-ink3); pointer-events: none; transition: opacity .4s; }
.stage-host.grabbed .stage-hint, .stage-host.touched .stage-hint { opacity: 0; }
.stage-cap { display: flex; justify-content: space-between; gap: 16px; padding: 10px 12px; border-top: 1px solid var(--b-line); font: 400 12px var(--b-mono); color: var(--b-ink3); flex-wrap: wrap; }
.stage-cap b { font-weight: 400; color: var(--b-ink); }
.stage-note { margin-top: 10px; font-size: 14px; color: var(--b-ink3); display: flex; gap: 8px; align-items: flex-start; }
.stage-note svg { width: 14px; height: 14px; flex: none; margin-top: 2px; }

/* ---- panel ---- */
.bld-panel { min-width: 0; background: var(--b-surface); border: 1px solid var(--b-line2); border-radius: var(--b-rp); }
.p-head { padding: 22px 22px 18px; border-bottom: 1px solid var(--b-line); }
.p-head .b-cat { font: 400 12px var(--b-mono); color: var(--b-ink3); margin-bottom: 8px; display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.p-head h1 { font: 450 30px/1.08 var(--b-sans); letter-spacing: -.045em; margin: 0 0 8px; }
.p-head p { color: var(--b-ink2); font-size: 16px; line-height: 1.5; margin: 0; }
.b-swap { border: 1px solid var(--b-line2); background: var(--b-surface); border-radius: var(--b-rc); height: 32px; padding: 0 10px; font: 500 14px var(--b-sans); color: var(--b-ink); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.b-swap:hover { border-color: #c9c9c9; }
.b-swap svg { width: 14px; height: 14px; }
.b-presets { padding: 14px 22px; border-bottom: 1px solid var(--b-line); }
.b-presets .t { font: 400 12px var(--b-mono); color: var(--b-ink3); margin-bottom: 9px; }
.b-presets .b-row { display: flex; flex-wrap: wrap; gap: 6px; }
.pre { border: 1px solid var(--b-line2); background: var(--b-surface); border-radius: 999px; min-height: 32px; padding: 5px 12px; font-size: 14px; color: var(--b-ink2); transition: border-color .2s, color .2s, background .2s; }
.pre:hover { border-color: var(--b-ink); color: var(--b-ink); }
.pre[aria-pressed="true"] { background: var(--b-ink); border-color: var(--b-ink); color: #fff; }

.grp { padding: 18px 22px 20px; border-bottom: 1px solid var(--b-line); display: grid; gap: 18px; }
.grp > h2 { font: 500 14px var(--b-sans); letter-spacing: -.01em; margin: 0; display: flex; align-items: baseline; gap: 10px; }
.grp > h2 span { font: 400 12px var(--b-mono); color: var(--b-ink3); }
.opt { display: grid; gap: 8px; min-width: 0; }
.opt > .l { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; font-weight: 500; color: var(--b-ink); }
.opt > .l .v { font: 400 12px var(--b-mono); color: var(--b-ink2); white-space: nowrap; }
.opt > .h { font-size: 14px; line-height: 1.45; color: var(--b-ink3); }
.opt .lines { display: grid; gap: 6px; }
.opt .lines .b-ln { display: grid; grid-template-columns: 1fr 36px; gap: 6px; }
.opt .lines .add { justify-self: start; border: 0; background: none; color: var(--b-blue); font-size: 14px; font-weight: 500; padding: 6px 0; }
.step-row { display: flex; align-items: center; gap: 12px; }
.step-row .u { font: 400 12px var(--b-mono); color: var(--b-ink3); }
.num-in { width: 76px; height: 36px; border: 1px solid var(--b-line2); border-radius: var(--b-rc); padding: 0 8px; font: 400 14px var(--b-mono); text-align: right; background: var(--b-surface); }
.num-in:focus { outline: 0; border-color: var(--b-ink); }

.notes { padding: 14px 22px 0; display: grid; gap: 8px; }
.notes:empty { display: none; }

/* ---- summary ---- */
.b-sum { padding: 20px 22px 22px; display: grid; gap: 16px; }
.b-sum h2 { font: 500 14px var(--b-sans); margin: 0; }
.b-sum .spec-list > div { padding: 8px 0; }
.price-box .stepper { width: auto; flex: none; }
.price-box { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.price-big { font: 450 40px/1 var(--b-sans); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.price-big small { font: 400 12px var(--b-mono); letter-spacing: 0; color: var(--b-ink3); margin-left: 6px; }
.price-sub { font: 400 12px var(--b-mono); color: var(--b-ink3); margin-top: 6px; }
.price-sub .save { color: var(--ok, #12805c); }
details.bd { border-top: 1px solid var(--b-line); padding-top: 12px; }
details.bd summary { cursor: pointer; font-size: 14px; color: var(--b-ink2); list-style: none; display: flex; align-items: center; gap: 6px; }
details.bd summary::-webkit-details-marker { display: none; }
details.bd summary::before { content: "+"; font: 400 14px var(--b-mono); width: 12px; }
details.bd[open] summary::before { content: "–"; }
details.bd table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 14px; }
details.bd td { padding: 5px 0; color: var(--b-ink2); }
details.bd td:last-child { text-align: right; font-family: var(--b-mono); font-size: 12px; color: var(--b-ink); }
.cta { display: grid; gap: 8px; }
.cta .b-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.b-assure { display: grid; gap: 7px; font-size: 14px; color: var(--b-ink2); }
.b-assure li { display: flex; gap: 8px; align-items: flex-start; }
.b-assure svg { width: 14px; height: 14px; flex: none; margin-top: 3px; color: var(--b-ink); }

/* ---- mobile bar ---- */
.bld-bar { display: none; }

/* ---- product picker ---- */
dialog.picker { border: 0; padding: 0; width: min(920px, calc(100vw - 24px)); max-height: min(86vh, 820px); border-radius: var(--b-rw); background: var(--b-surface); color: var(--b-ink); box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 24px 60px rgba(0,0,0,.18); overflow: hidden; }
dialog.picker::backdrop { background: rgba(250,250,250,.7); backdrop-filter: blur(6px); }
dialog.picker[open] { display: flex; flex-direction: column; animation: pick-in .35s var(--b-ease, ease); }
@keyframes pick-in { from { opacity: 0; transform: translateY(10px) scale(.985); } }
.pk-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--b-line); }
.pk-search { flex: 1; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 12px; border: 1px solid var(--b-line2); border-radius: var(--b-rc); }
.pk-search:focus-within { border-color: var(--b-ink); }
.pk-search svg { width: 16px; height: 16px; color: var(--b-ink3); flex: none; }
.pk-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 16px; }
.pk-body { overflow-y: auto; padding: 8px 16px 20px; }
.pk-body h3 { font: 400 12px var(--b-mono); color: var(--b-ink3); margin: 18px 0 10px; }
.pk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.pk-item { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; text-align: left; border: 1px solid var(--b-line); background: var(--b-surface); border-radius: var(--b-rc); padding: 8px 10px 8px 8px; min-height: 64px; transition: border-color .2s, background .2s; }
.pk-item:hover, .pk-item:focus-visible { border-color: var(--b-ink); }
.pk-item[aria-current="true"] { border-color: var(--b-ink); background: #f5f5f5; }
.pk-item img { width: 64px; height: 48px; object-fit: contain; }
.pk-item b { display: block; font-size: 14px; font-weight: 500; line-height: 1.25; }
.pk-item small { display: block; font: 400 12px var(--b-mono); color: var(--b-ink3); margin-top: 2px; }
.pk-tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 6px; }
.pk-tool { display: flex; justify-content: space-between; gap: 10px; align-items: center; text-align: left; border: 1px solid var(--b-line); background: var(--b-surface); border-radius: var(--b-rc); min-height: 44px; padding: 8px 12px; font-size: 14px; }
.pk-tool:hover, .pk-tool:focus-visible { border-color: var(--b-ink); }
.pk-tool small { font: 400 12px var(--b-mono); color: var(--b-ink3); white-space: nowrap; }
.pk-empty { padding: 28px 4px; color: var(--b-ink2); font-size: 16px; }

/* ---- cart page ---- */
.cartp { padding: calc(var(--site-h, 64px) + 40px) 0 96px; }
.cartp h1 { font: 450 clamp(36px, 5vw, 56px)/1 var(--b-sans); letter-spacing: -.06em; margin: 0 0 10px; }
.cartp .b-lead { color: var(--b-ink2); font-size: 18px; line-height: 28px; max-width: 56ch; margin: 0 0 36px; }
.cart-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(340px, 1fr); gap: 24px; align-items: start; }
.cart-list { border: 1px solid var(--b-line2); border-radius: var(--b-rp); background: var(--b-surface); }
.ci { display: grid; grid-template-columns: 112px 1fr auto; gap: 16px; padding: 18px; border-bottom: 1px solid var(--b-line); align-items: start; }
.ci:last-child { border-bottom: 0; }
.ci .th { width: 112px; height: 84px; border: 1px solid var(--b-line); border-radius: var(--b-rc); background: #fff; display: grid; place-items: center; overflow: hidden; }
.ci .th img { width: 100%; height: 100%; object-fit: contain; }
.ci h3 { font: 500 16px/1.3 var(--b-sans); margin: 0 0 6px; letter-spacing: -.01em; }
.ci .sm { font-size: 14px; color: var(--b-ink2); line-height: 1.55; overflow-wrap: anywhere; }
.ci .sm span { color: var(--b-ink3); }
.ci .acts { display: flex; gap: 14px; margin-top: 10px; font-size: 14px; }
.ci .acts a, .ci .acts button { border: 0; background: none; padding: 6px 0; color: var(--b-ink2); text-decoration: underline; text-decoration-color: var(--b-line2); text-underline-offset: 4px; font-size: 14px; }
.ci .acts a:hover, .ci .acts button:hover { color: var(--b-ink); text-decoration-color: var(--b-ink); }
.ci .rt { display: grid; gap: 10px; justify-items: end; }
.ci .lt { font: 500 16px var(--b-sans); font-variant-numeric: tabular-nums; }
.ci .ea { font: 400 12px var(--b-mono); color: var(--b-ink3); }
.cart-side { position: sticky; top: calc(var(--site-h, 64px) + 16px); border: 1px solid var(--b-line2); border-radius: var(--b-rp); background: var(--b-surface); padding: 22px; display: grid; gap: 16px; }
.cart-side h2 { font: 500 16px var(--b-sans); margin: 0; }
.tot { display: grid; gap: 8px; font-size: 14px; }
.tot div { display: flex; justify-content: space-between; gap: 12px; color: var(--b-ink2); }
.tot .b-g { padding-top: 10px; border-top: 1px solid var(--b-line); color: var(--b-ink); font-weight: 500; font-size: 18px; }
.tot .num { font-variant-numeric: tabular-nums; }
.form { display: grid; gap: 12px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.empty { border: 1px dashed #c9c9c9; border-radius: var(--b-rp); padding: 56px 24px; text-align: center; background: var(--b-surface); }
.empty h2 { font: 450 24px/32px var(--b-sans); letter-spacing: -.04em; margin: 0 0 8px; }
.empty p { color: var(--b-ink2); margin: 0 0 20px; }
.sent { border: 1px solid var(--b-line2); border-radius: var(--b-rp); background: var(--b-surface); padding: 28px; display: grid; gap: 14px; }
.sent pre { background: #f5f5f5; border: 1px solid var(--b-line); border-radius: var(--b-rc); padding: 14px; font: 400 14px/1.6 var(--b-mono); white-space: pre-wrap; max-height: 360px; overflow: auto; margin: 0; }

@media (max-width: 980px) {
  .bld { padding-top: calc(var(--site-h, 64px) + 8px); padding-bottom: 96px; }
  .bld-grid, .cart-grid { grid-template-columns: 1fr; gap: 14px; }
  .bld-stage { position: sticky; top: var(--site-h, 64px); z-index: 20; margin: 0 -16px; background: var(--b-bg); padding: 0 16px 8px; }
  .stage-host { height: clamp(220px, 36vh, 340px); }
  .stage-cap, .stage-note { display: none; }
  .stage-bar { padding: 6px 8px; flex-wrap: nowrap; }
  .stage-ctl { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: 100%; }
  .stage-ctl::-webkit-scrollbar { display: none; }
  .stage-ctl button { flex: none; }
  .stage-bar .b-lbl { display: none; }
  .stage-ctl button { height: 36px; }
  .bld-top { margin-bottom: 8px; }
  .cart-side { position: static; }
  .bld-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-top: 1px solid var(--b-line2); }
  .bld-bar .pr { font: 450 22px/1 var(--b-sans); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
  .bld-bar .pr small { display: block; font: 400 12px var(--b-mono); letter-spacing: 0; color: var(--b-ink3); margin-top: 3px; }
  .toasts { bottom: 84px; }
}
@media (max-width: 560px) {
  .p-head, .b-presets, .grp, .b-sum { padding-left: 16px; padding-right: 16px; }
  .notes { padding-left: 16px; padding-right: 16px; }
  .ci { grid-template-columns: 80px 1fr; }
  .ci .th { width: 80px; height: 60px; }
  .ci .rt { grid-column: 1 / -1; grid-template-columns: auto 1fr; align-items: center; justify-items: start; }
  .ci .rt .pr { justify-self: end; text-align: right; }
  .form .two { grid-template-columns: 1fr; }
  .crumb a, .crumb i { display: none; }
  .pk-grid { grid-template-columns: 1fr 1fr; }
  .pk-item { grid-template-columns: 1fr; }
  .pk-item img { width: 100%; height: 64px; }
}

/* ---- review round 1 ---- */
.p-head h1 { font: 450 24px/32px var(--b-sans); letter-spacing: -.04em; }     /* "proof-heading" from the type table */
.num-wrap { display: inline-flex; align-items: center; border: 1px solid var(--b-line2); border-radius: var(--b-rc); background: var(--b-surface); height: 36px; padding-right: 8px; }
.num-wrap:focus-within { border-color: var(--b-ink); }
.num-wrap .num-in { width: 62px; height: 34px; border: 0; background: transparent; }
.num-wrap .num-in:focus { outline: 0; }
.num-wrap i { font: 400 12px var(--b-mono); font-style: normal; color: var(--b-ink3); }
.opt > .h.fix { color: var(--b-ink); padding: 8px 10px; border: 1px solid var(--b-line2); border-radius: var(--b-rc); background: var(--b-surface); }
.opt .lines .add { color: var(--b-ink); text-decoration: underline; text-decoration-color: #c9c9c9; text-underline-offset: 3px; }
.price-sub .save { color: var(--b-ink); font-weight: 500; }
details.bd tr.sub td { border-top: 1px solid var(--b-line); padding-top: 9px; }
.edit-note { margin-bottom: 14px; }
.edit-note a { color: var(--b-ink); text-decoration: underline; text-underline-offset: 3px; }
.pk-search input::-webkit-search-cancel-button { display: none; }
.tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.tile { padding-left: 4px; padding-right: 4px; font-size: 14px; }
.tile small { font-size: 12px; }
.cartp .b-jump { display: none; }
.field .err { margin-top: 2px; }
@media (max-width: 1180px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 980px) {
  .stage-host { height: clamp(190px, 30vh, 300px); }
  .stage-ctl { gap: 4px; -webkit-mask: linear-gradient(90deg, #000 calc(100% - 20px), transparent); mask: linear-gradient(90deg, #000 calc(100% - 20px), transparent); padding-right: 16px; }
  .stage-ctl button { height: 34px; padding: 0 9px; font-size: 14px; }
  .stage-ctl .sep { display: none; }
  .bld-bar { transition: transform .3s var(--b-ease), opacity .3s var(--b-ease); }
  .bld-bar.away { transform: translateY(110%); opacity: 0; pointer-events: none; }
  .bld ~ .footer, .bld + * .footer { padding-bottom: 96px; }
  .cartp .b-jump { display: inline-flex; margin-bottom: 14px; }
  .tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 560px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---- review round 2 ---- */
.form .two { align-items: start; }
.tile { font-size: 14px; line-height: 18px; }
.tile small { font-size: 12px; }
.pre, .stage-ctl button, .unit-seg button { font-size: 14px; }
.tiles:has(> .tile:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 560px) {
  .tiles:has(> .tile:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .swatches { gap: 6px; }
  .stage-ctl button { padding: 0 8px; }
}

/* ---- review round 2, second pass ---- */
.bld-panel, .cart-list, .cart-side, .sent, .empty { background: var(--b-bg); }      /* structural panels sit on the canvas; only the preview window is raised white */
.empty { border-style: solid; }
.sent h2 { font: 450 24px/32px var(--b-sans) !important; letter-spacing: -.04em; }
.p-head p { font-size: 16px; line-height: 24px; }
#ctx-note:not(:empty) { margin-bottom: 14px; }
#ctx-note .edit-note { margin: 0; }
#form { scroll-margin-top: calc(var(--site-h, 64px) + 20px); }
.b-cta .btn.block, .cta .btn.block { width: auto; min-width: 240px; justify-self: start; }
.form .btn.block { width: auto; min-width: 240px; justify-self: start; }
@media (max-width: 980px) {
  .stage-hint { display: none; }
  .b-cta .btn.block, .cta .btn.block, .form .btn.block { width: 100%; }
}

@media (max-width: 560px) {
  .stage-ctl button svg + span { display: none; }           /* icons only for the three toggles, so the row never clips */
  .stage-ctl button:has(svg) { width: 36px; padding: 0; justify-content: center; }
  .stage-ctl { -webkit-mask: none; mask: none; padding-right: 0; }
  .swatch { width: 34px; height: 34px; }
}

/* ---- review round 3 ---- */
.stage-still { margin: 16px 0 0; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; align-items: center; padding: 12px; border: 1px solid var(--b-line2); border-radius: var(--b-rp); }
.stage-still img { width: 200px; height: 150px; object-fit: contain; }
.stage-still figcaption { font-size: 14px; line-height: 20px; color: var(--b-ink2); max-width: 46ch; }
.stage-still b { color: var(--b-ink); }
@media (max-width: 980px) { .stage-still { display: none; } }
@media (max-width: 560px) {
  /* the three icon toggles: an outline when on, not a black block */
  .stage-ctl button:has(svg)[aria-pressed="true"] { background: var(--b-surface); color: var(--b-ink); border-color: var(--b-ink); }
  .stage-ctl button:has(svg)[aria-pressed="false"] { color: #a8a8a8; }
}

/* ---- review round 3, second pass ---- */
.price-big { font: 450 48px/56px var(--b-mono); letter-spacing: -.06em; }           /* the "money" style from the type table */
.price-big small { letter-spacing: 0; }
.b-cta .b-row, .cta .b-row { display: flex; flex-wrap: wrap; gap: 8px; }              /* secondary actions keep their compact shape */
.step-row .u { white-space: nowrap; }
@media (max-width: 980px) {
  .stage-cap { display: flex; padding: 8px 10px; font-size: 12px; }
  .stage-cap #cap-lead { display: none; }
  .bld-bar .pr { font: 450 24px/32px var(--b-sans); }
}
@media (max-width: 560px) {
  /* five labelled buttons fit once Size moves to the caption under the preview */
  #t-dims { display: none; }
  .stage-dims { display: none; }
  .stage-ctl button svg { display: none; }
  .stage-ctl button svg + span { display: inline; }
  .stage-ctl button:has(svg) { width: auto; padding: 0 8px; }
  .stage-ctl button:has(svg)[aria-pressed="true"] { background: var(--b-ink); color: #fff; border-color: var(--b-ink); }
  .stage-ctl button:has(svg)[aria-pressed="false"] { color: var(--b-ink2); }
  .price-big { font-size: 40px; line-height: 48px; }
}

/* ---- review round 4 ---- */
.ci .acts { flex-wrap: wrap; gap: 2px 14px; }
.ci .acts a, .ci .acts button, .ci .ea { white-space: nowrap; }
.stage-hint { z-index: 3; padding: 2px 6px; border-radius: var(--b-rp); background: rgba(255, 255, 255, .82); }
.stage-still { grid-template-columns: 132px minmax(0, 1fr); padding: 8px 12px; }
.stage-still img { width: 132px; height: 99px; }
.sent pre { overflow-x: hidden; overflow-wrap: anywhere; }
