/* base.css — the PCB printing page's shell (layout/curious-cb.liquid; build contract
   docs/specs/2026-10-27-circuit-boards-page.md; ported from the final design,
   shop/circuit-boards/proposal/2026-10-27-page-design-final.html).

   WHAT LIVES HERE. The page wrapper, type and the shared blocks (buttons, the section frame,
   the copper-trace dividers), the header, the footer, the phone bar - and every class a
   script draws or switches: the stage and its states, the layer stack, the call-outs, the
   problem marks, the check rows, the order card's contents, the hand-off. A script is linked by
   the layout, so the layout is what renders its markup; a section sheet would leave a
   script's markup unstyled wherever that section is absent (design/guard_css.py,
   per-renderer stylesheet contract). Each section links its own curious-cb-<section>.css
   for the rest.

   ROLE TOKENS ONLY. Every colour, face, case, tracking, radius, decoration and duration is
   a --cur-cb-* token of the admin's look (design/cb-looks -> curious-brand.css), named for
   its role (design/cb_looks.py): a look is only token values. A role's other members are a
   fixed fraction of its token (calc(var(--cur-cb-label-tracking) * .6)), the page's own
   hierarchy, the same in every look. Literal: 0, 50% circles, and what is the same in every
   look by nature (the state lamps' shapes, the drawn footprint, the board's corner and
   shadow; tests/test_theme_cb_looks.py lists each). The board's materials (FR-4, copper,
   tin, mask, silk: m-*) and the lettering inside the drawings (m-type) are tokens too, never
   typed. A decoration that holds room (the via, the rulers, the dividers' drawing) has its
   room as a token as well, and every inset it sets is a formula of it, so a look that
   switches it off leaves no hole. The only custom properties defined here are geometry of
   the exploded view (--cur-cb-ex, -gap, -bx, -bw, -bh, -top-k, -z, -mz), not look. A band's room
   (--cur-cb-room) is its measured height, which the generator writes onto it, not look.

   STATE. <body class="cur-cb-page"> carries data-state (empty | reading | loaded | problem |
   unreadable | sample), data-mask (natural, or a solder-mask colour id), data-handoff (present
   once an order link was pressed: the order card is the hand-off) and the class
   cur-cb-mbar-on (show the phone bar), written by app.js. No data-state is the
   page without its script: it reads as empty. The stage carries data-ex (0 = flat, 1 =
   opened) and data-view (layers | top). Any mask that is not "natural" uses the masked
   board's structure (four layers, marks above the mask). A rule that names several states
   lists them in :where(), so a state never costs the selector budget (3 classes).

   WIDTHS. Phone below 760px (.cur-cb-on-phone / .cur-cb-off-phone pick the phone's words or
   the wide ones), the phone bar below 900px, and from 1680px the content grows to 1680px
   (no empty bands on a 1920 screen) and the board on the stage grows with it.

   MOTION. Durations are tokens; the look zeroes them under prefers-reduced-motion, and the
   keyframe animations are switched off at the end of this file, so the exploded view is
   static and fully labelled. The script waits on these animations (spec 9.6); the one cadence it
   keeps itself is the reading lines' (land.js LINE_GAP_MS, brought forward once the read is done;
   off under reduced motion). The reading hold (--cur-cb-t-hold) is a dwell, not a movement, and
   is kept. */

/* ── page ──────────────────────────────────────────────────────────────────────────── */
html.cur-cb {
  -webkit-text-size-adjust: 100%;
}
/* the header is sticky from 900px: an on-page link, the stage the widget brings into view, and
   every sticky column must not land under it. --cur-cb-head-room is the header's height plus a
   little air: 84px for the one-row headers (69px), raised by the header style that is taller
   (header B: header-b.css). Before 2026-11-26 it was a fixed 84px and header B
   (127px) covered the stage's file line after "Try the sample board" brought it into view. */
html.cur-cb { --cur-cb-head-room: 84px; }
@media (min-width: 900px) { html.cur-cb { scroll-padding-top: var(--cur-cb-head-room); } }
/* below 900px the phone bar (about 70px + the home indicator) is fixed at the bottom: a
   focused control or a link's target scrolled into view must clear it (WCAG 2.4.11) */
@media (max-width: 899px) { html.cur-cb { scroll-padding-bottom: 104px; } }

.cur-cb-page {
  margin: 0;
  background: var(--cur-cb-ground);
  color: var(--cur-cb-body);
  font: 400 1rem/1.6 var(--cur-cb-font-ui);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  font-variant-numeric: tabular-nums;
}
.cur-cb-page *,
.cur-cb-page *::before,
.cur-cb-page *::after { box-sizing: border-box; }
:where(.cur-cb-page) :where(h1, h2, h3, p, ul, ol, dl, dd, figure) { margin: 0; }
/* `hidden` beats every component's display with two classes' weight, not !important */
.cur-cb-page [hidden] { display: none; }
.cur-cb-page :focus-visible,
.cur-cb-pick:focus-visible + label { outline: 2px solid var(--cur-cb-focus); outline-offset: 3px; }
.cur-cb-max { max-width: 1440px; margin-inline: auto; }
@media (min-width: 1680px) { .cur-cb-max { max-width: 1680px; } }
.cur-cb-gut {
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 1024px) { .cur-cb-gut { padding-left: 40px; padding-right: 40px; } }
.cur-cb-sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0;
}
/* a measured size the widget writes ("80.0 × 60.0 mm") never breaks across lines */
.cur-cb-nowrap { white-space: nowrap; }
/* the phone's words and the wide ones (both in the markup; display:none hides the other from
   screen readers too) */
@media (max-width: 759px) { .cur-cb-off-phone { display: none; } }
@media (min-width: 760px) { .cur-cb-on-phone { display: none; } }
/* a service's offer after the line under the headline (the hero's, the closing band's) moves to a
   line of its own, whole, when the two do not fit on one: never "... We'll design the / board." */
.cur-cb-lead-offer { display: inline-block; }
.cur-cb-skip {
  position: absolute; z-index: 80; left: 16px; top: -64px; padding: 10px 16px;
  border-radius: var(--cur-cb-radius-control); background: var(--cur-cb-ink); color: var(--cur-cb-ground);
  font-weight: 700; text-decoration: none;
}
.cur-cb-skip:focus { top: 12px; }
.cur-cb-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.cur-cb-ico {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* ── buttons ───────────────────────────────────────────────────────────────────────── */
/* Pad button: the page's filled key. Every pad carries an icon that says what it does (owner,
   2026-11-26; it replaced a via dot that read as a radio button): the upload mark before Choose
   file, the WhatsApp mark before a chat, an arrow after a link that moves on (Order a PCB,
   Check a file). Each icon is the sprite's (snippets/curious-cb-icons.liquid), drawn in the
   label's colour, sized to the label's text, and in the markup from the first paint, so nothing
   moves when the page's fonts or script arrive. */
.cur-cb-pad {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 20px; border: 0;
  border-radius: var(--cur-cb-radius-control);
  background: var(--cur-cb-action); color: var(--cur-cb-on-action);
  font: 700 1rem/1.15 var(--cur-cb-font-ui); text-decoration: none; text-align: center; cursor: pointer;
  box-shadow: inset 0 -3px 0 var(--cur-cb-action-lo), inset 0 0 0 1px var(--cur-cb-action-lo);
  transition: background var(--cur-cb-t-fast) var(--cur-cb-ease), transform var(--cur-cb-t-fast) var(--cur-cb-ease);
}
.cur-cb-pad > svg, .cur-cb-ghost-btn > svg { width: 1.25em; height: 1.25em; }
.cur-cb-pad > .cur-cb-ico { stroke-width: 2.2; }
.cur-cb-pad:hover { background: var(--cur-cb-action-hi); }
.cur-cb-pad:active { transform: translateY(1px); }
/* A WhatsApp pad (any pad that opens a chat: data-cur-cb-wa) wears WhatsApp's own green (owner,
   2026-11-26), so the chat is known before its words are read: Send for check, Open WhatsApp
   again, the phone bar's Send, the questions' and promises' WhatsApp buttons. Its words and
   mark are dark (on-wa, 9.4:1; white on that green is about 2:1). The page's own key, the action
   colour, stays on the steps that keep the customer here: Order a PCB, Choose file. */
.cur-cb-pad[data-cur-cb-wa] {
  background: var(--cur-cb-wa); color: var(--cur-cb-on-wa);
  box-shadow: inset 0 -3px 0 var(--cur-cb-wa-lo), inset 0 0 0 1px var(--cur-cb-wa-lo);
}
.cur-cb-pad[data-cur-cb-wa]:hover { background: var(--cur-cb-wa-hi); }
/* CHOOSE FILE in the drop zone is a <label for> on the file input (spec 9.4): it opens the
   picker from the first paint, before the script runs or without it. The input is the control
   (it takes the focus, the label names it) and the label draws it: the input is a transparent
   pixel, so a tap lands on the label, and its focus ring is the label's (the ring rule above).
   Never display:none or visibility:hidden here: either takes the input out of the tab order. */
.cur-cb-pick { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.cur-cb-ghost-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 18px; border: 0; border-radius: var(--cur-cb-radius-control);
  background: transparent; color: var(--cur-cb-ink);
  font: 600 1rem/1.15 var(--cur-cb-font-ui); text-decoration: none; text-align: center; cursor: pointer;
  box-shadow: inset 0 0 0 1.5px var(--cur-cb-edge);
  transition: box-shadow var(--cur-cb-t-fast);
}
.cur-cb-ghost-btn:hover { box-shadow: inset 0 0 0 1.5px var(--cur-cb-ink); }
.cur-cb-wide { width: 100%; padding-inline: 12px; }
.cur-cb-link {
  display: inline-flex; align-items: center; gap: .35em; min-height: 44px;
  color: var(--cur-cb-accent-text); font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px;
}
.cur-cb-link:hover { color: var(--cur-cb-ink); }
/* a text link's icon (the WhatsApp mark before a chat, an arrow after Check a file) is the
   link's own colour and the size of its text, so it reads with the words on any band */
.cur-cb-link > svg { width: 1.2em; height: 1.2em; }
/* inside a sentence ("Not yet": Ask us on WhatsApp ...) the link keeps the sentence's line height */
.cur-cb-notyet p > .cur-cb-link { display: inline; min-height: 0; }
.cur-cb-notyet p > .cur-cb-link > svg { margin-inline-end: .3em; vertical-align: -.22em; }
/* The WhatsApp mark: WhatsApp's green on the dark grounds (the header, a ghost button, the
   footer: 5.2:1 or more on every one, cb_looks PAIRS); on a pad, and in a text link (which may
   sit on the paper datasheet, where the green would not read), the colour of its words. */
.cur-cb-wa-ico { width: 20px; height: 20px; flex: none; fill: var(--cur-cb-wa); }
.cur-cb-pad > .cur-cb-wa-ico, .cur-cb-link > .cur-cb-wa-ico { fill: currentColor; }

/* segmented control: pressed = filled pad + inverted, unpressed = hollow ring (shape, not just colour) */
.cur-cb-seg {
  display: inline-flex; gap: 4px; padding: 4px; border-radius: calc(var(--cur-cb-radius-field) * 1.2);
  background: var(--cur-cb-face); box-shadow: inset 0 0 0 1px var(--cur-cb-edge);
}
.cur-cb-seg button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px;
  padding: 0 12px; border: 0; border-radius: calc(var(--cur-cb-radius-control) * .8);
  background: transparent; color: var(--cur-cb-body);
  font: var(--cur-cb-label-weight) .8rem/1 var(--cur-cb-font-label); letter-spacing: calc(var(--cur-cb-label-tracking) * .4);
  text-transform: var(--cur-cb-label-case); cursor: pointer;
}
.cur-cb-seg button::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor;
}
.cur-cb-seg button[aria-pressed="true"] { background: var(--cur-cb-ink); color: var(--cur-cb-ground); }
.cur-cb-seg button[aria-pressed="true"]::before { background: currentColor; }

/* the header and footer sections' wrappers (section groups) leave the box tree, so the sticky
   header sticks to the page, not to its wrapper */
.cur-cb-chrome { display: contents; }

/* ── header + lockup slot ──────────────────────────────────────────────────────────── */
.cur-cb-head {
  position: relative; z-index: 40; background: var(--cur-cb-head-bg);
  border-bottom: 1px solid var(--cur-cb-hair);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
@media (min-width: 900px) { .cur-cb-head { position: sticky; top: 0; } }
.cur-cb-head-row { display: flex; align-items: center; gap: 16px; min-height: 60px; }
@media (min-width: 900px) { .cur-cb-head-row { min-height: 68px; gap: 28px; } }
/* a phone: the logo centred, WhatsApp at the right edge (owner 2026-11-29: "keep the getmypcb
   logo at the center"); the nav and the CTA are hidden below 600px */
@media (max-width: 599px) {
  .cur-cb-head-row { display: grid; grid-template-columns: 1fr auto 1fr; }
  .cur-cb-head-row > .cur-cb-lockup { grid-column: 2; }
  .cur-cb-head-row > .cur-cb-wa { grid-column: 3; justify-self: end; margin-left: 0; }
}
/* LOCKUP: the brand's logo (getmypcb, curious-cb-lockup, generated; the owner's artwork cut
   light-on-dark by design/build_cb_logo.py), its width/height attributes the file's own, so the
   slot is reserved before the image arrives. 32 px high on a phone, 40 from 900 px; the
   endorsement only where brand.toml endorsement_on allows it (not the lockup today). */
.cur-cb-lockup {
  display: inline-flex; align-items: center; gap: 12px; min-height: 48px; flex: none;
  text-decoration: none;
}
.cur-cb-logo { display: block; height: 32px; width: auto; }
@media (min-width: 900px) { .cur-cb-logo { height: 40px; } }
.cur-cb-endorse {
  font: 500 .8rem/1.3 var(--cur-cb-font-ui); color: var(--cur-cb-mut); white-space: nowrap;
}
/* the order card's "what happens next" shows only in order C's ticket (order-c.css) */
.cur-cb-next { display: none; }
/* the logo's own line, as text under the footer's logo (brand.toml tagline) */
.cur-cb-tagline {
  margin: 6px 0 0; font: 500 .72rem/1.4 var(--cur-cb-font-ui);
  letter-spacing: calc(var(--cur-cb-label-tracking) * 2); color: var(--cur-cb-mut);
}
.cur-cb-nav { display: none; gap: 4px; margin-left: auto; }
.cur-cb-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  border-radius: calc(var(--cur-cb-radius-control) * .8); color: var(--cur-cb-body); text-decoration: none;
  font: var(--cur-cb-label-weight) .78rem/1 var(--cur-cb-font-label); letter-spacing: calc(var(--cur-cb-label-tracking) * .6);
  text-transform: var(--cur-cb-label-case);
}
.cur-cb-nav a:hover { color: var(--cur-cb-ink); background: var(--cur-cb-raised); }
@media (min-width: 1080px) { .cur-cb-nav { display: flex; } }
.cur-cb-wa {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; min-width: 44px; padding: 0 10px; margin-left: auto; border-radius: var(--cur-cb-radius-control);
  color: var(--cur-cb-ink); text-decoration: none; font: 600 .95rem var(--cur-cb-font-ui);
  box-shadow: inset 0 0 0 1.5px var(--cur-cb-edge);
}
.cur-cb-wa span { display: none; }
@media (min-width: 1080px) { .cur-cb-wa { margin-left: 0; } }
@media (min-width: 1280px) {
  .cur-cb-wa span { display: inline; }
  .cur-cb-wa { padding: 0 14px; }
}
.cur-cb-head-cta { display: none; }
@media (min-width: 600px) { .cur-cb-head-cta { display: inline-flex; min-height: 44px; font-size: .94rem; } }

/* ── shared section frame ──────────────────────────────────────────────────────────── */
.cur-cb-sec { position: relative; padding-bottom: 48px; }
@media (min-width: 760px) { .cur-cb-sec { padding-bottom: 60px; } }
@media (min-width: 1024px) { .cur-cb-sec { padding-bottom: 84px; } }
/* ON A PHONE, a band below the order tool (each section after it, and the footer) is laid out
   and painted only when it comes near the viewport (spec 9.8): a cheap phone's first layout
   covers the header and the order tool, not the whole page (CPU 4x: layout at load 124 -> 84
   ms). Until then the band holds its room, its height on a 390 phone as measured by
   tests/browser/room.mjs, which the generator writes onto it as --cur-cb-room; `auto` keeps
   its real height once it has been laid out. An on-page link, find-in-page, focus and a
   screen reader still reach a band that is not laid out (it is laid out first).
   WHY ONLY BELOW 760px. The room is a phone's: from 760px the bands take their wider layout.
   And from 900px the header is sticky, so a link lands its target under the header with the
   band above it still in view, and the browser keeps that band still while it is laid out:
   any difference between its room and its height moves the target. A desk band's height
   swings 118px across 1024-1679px and 44px between the looks, so no room is right there,
   and laying the bands out late saves a desk only ~35ms (CPU 4x). On a phone the header
   scrolls away and a link's target meets the top of the screen alone.
   A band is a containment root, so its content starts on a whole pixel: text inside may sit
   up to half a pixel from where it sat, nothing else moves. A band with no measured room
   (new to the page) has no .cur-cb-room and is laid out with the page. */
@media (max-width: 759px) {
  .cur-cb-room { content-visibility: auto; contain-intrinsic-block-size: auto var(--cur-cb-room); }
}
.cur-cb-sec-face { background: var(--cur-cb-face); }
.cur-cb-eyebrow {
  display: flex; align-items: center; gap: 10px;
  font: var(--cur-cb-label-weight) .76rem/1.3 var(--cur-cb-font-label); letter-spacing: calc(var(--cur-cb-label-tracking) * 1.2);
  text-transform: var(--cur-cb-label-case); color: var(--cur-cb-accent-text);
}
.cur-cb-eyebrow::before {
  content: ""; width: 14px; height: 14px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 3px var(--cur-cb-accent-line);
}
.cur-cb-h2 {
  margin-top: 12px; max-width: 24ch;
  font: var(--cur-cb-display-weight) clamp(1.6rem, 1.15rem + 1.5vw, 2.5rem)/1.12 var(--cur-cb-font-display);
  font-stretch: 100%; letter-spacing: var(--cur-cb-display-tracking); text-transform: var(--cur-cb-display-case);
  color: var(--cur-cb-ink); text-wrap: balance;
}
.cur-cb-sub { margin-top: 12px; max-width: 62ch; font-size: 1.04rem; color: var(--cur-cb-body); }
.cur-cb-sechead { display: grid; gap: 4px 48px; align-items: end; }
@media (min-width: 1024px) {
  .cur-cb-sechead { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cur-cb-sechead .cur-cb-sub { margin-top: 0; }
}

/* Two section grids whose class is ALSO their section's id (#cur-cb-tools > .cur-cb-tools,
   #cur-cb-faq > .cur-cb-faq: the design's names, the markup contract). The header's and
   footer's on-page links name those ids, and the stylesheet contract (design/guard_css.py)
   reads a name as "renders this class", so the grids live here, in the sheet the layout
   links, rather than in tools.css / faq.css. */
.cur-cb-tools { display: grid; gap: 16px; margin-top: 30px; }
@media (min-width: 900px) { .cur-cb-tools { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cur-cb-faq { display: grid; gap: 8px; margin-top: 30px; }
@media (min-width: 760px) { .cur-cb-faq { gap: 12px; } }
@media (min-width: 1024px) {
  .cur-cb-faq { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; align-items: start; }
}

/* copper-trace section dividers with pads (every section and the footer open with one). The
   divider's box is also its section's only top spacing, so deco-traces off hides the drawing
   (-net), keeps the box, and draws one seam across its middle (-net-rule: transparent when
   the drawing shows) */
.cur-cb-net {
  display: flex; height: 30px; margin-bottom: 26px; overflow: hidden;
  background: linear-gradient(var(--cur-cb-deco-traces-net-rule) 0 0) 0 50% / 100% 1px no-repeat;
}
.cur-cb-net > * { visibility: var(--cur-cb-deco-traces-net); }
@media (min-width: 760px) { .cur-cb-net { margin-bottom: 34px; } }
.cur-cb-net-r { transform: scaleX(-1); }
.cur-cb-net i { display: block; flex: none; }
.cur-cb-net-a { width: 12%; height: 3px; margin-top: 6px; background: var(--cur-cb-accent-line); }
.cur-cb-net-j { width: 24px; height: 30px; flex: none; }
.cur-cb-net-j path { fill: none; stroke: var(--cur-cb-accent-line); stroke-width: 3; }
.cur-cb-net-b { height: 3px; margin-top: 21px; background: var(--cur-cb-accent-line); }
.cur-cb-net .cur-cb-net-b { flex: 1 1 auto; }
.cur-cb-net-p {
  width: 17px; height: 17px; margin-top: 14px; border-radius: 50%;
  background: var(--cur-cb-stage); box-shadow: inset 0 0 0 4px var(--cur-cb-accent-line);
}
.cur-cb-net-c { width: 7%; height: 3px; margin-top: 21px; background: var(--cur-cb-accent-line); }

/* ── the order panel's faceplate (sections/curious-cb-order.liquid renders it; it is here,
   not in order.css, because the script observes .cur-cb-panel to show the phone
   bar, and the stylesheet contract counts a name the script uses as markup it renders) */
.cur-cb-panel {
  position: relative; z-index: 1; background: var(--cur-cb-face);
  border: 1px solid var(--cur-cb-hair); border-radius: var(--cur-cb-radius-card);
  box-shadow: var(--cur-cb-card-shadow);
}
/* four corner screws: pads with a via (deco-screws) */
.cur-cb-panel::before {
  content: ""; display: var(--cur-cb-deco-screws); position: absolute; inset: 0; z-index: 3;
  border-radius: inherit; pointer-events: none;
  background:
    radial-gradient(circle at 13px 13px, var(--cur-cb-stage) 0 2px, var(--cur-cb-marker) 2.5px 5px, transparent 5.5px),
    radial-gradient(circle at calc(100% - 13px) 13px, var(--cur-cb-stage) 0 2px, var(--cur-cb-marker) 2.5px 5px, transparent 5.5px),
    radial-gradient(circle at 13px calc(100% - 13px), var(--cur-cb-stage) 0 2px, var(--cur-cb-marker) 2.5px 5px, transparent 5.5px),
    radial-gradient(circle at calc(100% - 13px) calc(100% - 13px), var(--cur-cb-stage) 0 2px, var(--cur-cb-marker) 2.5px 5px, transparent 5.5px);
}
/* edge connector fingers, left and right, level with the bus (deco-fingers) */
.cur-cb-panel::after {
  content: ""; display: var(--cur-cb-deco-fingers); position: absolute; top: calc(58% - 1px); left: -6px; right: -6px;
  height: 26px; pointer-events: none;
  background:
    linear-gradient(var(--cur-cb-marker), var(--cur-cb-marker)) 0 0/9px 5px no-repeat,
    linear-gradient(var(--cur-cb-marker), var(--cur-cb-marker)) 0 10px/9px 5px no-repeat,
    linear-gradient(var(--cur-cb-marker), var(--cur-cb-marker)) 0 20px/9px 5px no-repeat,
    linear-gradient(var(--cur-cb-marker), var(--cur-cb-marker)) 100% 0/9px 5px no-repeat,
    linear-gradient(var(--cur-cb-marker), var(--cur-cb-marker)) 100% 10px/9px 5px no-repeat,
    linear-gradient(var(--cur-cb-marker), var(--cur-cb-marker)) 100% 20px/9px 5px no-repeat;
}
@media (max-width: 759px) { .cur-cb-panel::after { display: none; } }
/* ── the order panel: status LED (the script writes data-v) ────────────────────────── */
/* The status line is the page's live region, and its words change length with the state (a
   verdict, a file's name). Its room never does, so the panel never moves when a result lands:
   on a phone it has a row of its own under the title, lamp first, that always holds two lines
   (a longer text is cut to two); from 760px it sits at the title bar's end and holds one, cut
   with an ellipsis. A screen reader hears the whole text either way. */
.cur-cb-status { display: inline-flex; align-items: center; gap: 9px; margin-left: auto; min-width: 0; }
.cur-cb-status-t { min-width: 0; }
@media (max-width: 759px) {
  /* 2 lines of the bar's 1.3 line height (the calc for a browser without the lh unit) */
  .cur-cb-status { flex: 1 0 100%; min-block-size: calc(2 * 1.3em); min-block-size: 2lh; }
  .cur-cb-status-t {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere;
  }
}
@media (min-width: 760px) {
  .cur-cb-status-t { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
}
.cur-cb-led { width: 11px; height: 11px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--cur-cb-marker); }
.cur-cb-status[data-v="reading"] .cur-cb-led {
  background: var(--cur-cb-marker); animation: cur-cb-blink .7s steps(2, start) infinite;
}
/* the same lamps on the phone bar's verdict (spec 9.3) */
.cur-cb-status[data-v="ok"] .cur-cb-led,
.cur-cb-mbar-v[data-v="ok"] .cur-cb-led { background: var(--cur-cb-ok); box-shadow: none; }
/* a problem is a SQUARE lamp, not only a red one */
.cur-cb-status[data-v="bad"] .cur-cb-led,
.cur-cb-mbar-v[data-v="bad"] .cur-cb-led { background: var(--cur-cb-bad); box-shadow: none; border-radius: 2px; }
/* a warning is a DIAMOND lamp: a third shape, so the state never rests on colour alone */
.cur-cb-status[data-v="warn"] .cur-cb-led,
.cur-cb-mbar-v[data-v="warn"] .cur-cb-led { background: var(--cur-cb-warn); box-shadow: none; border-radius: 1px; transform: rotate(45deg) scale(.86); }
@keyframes cur-cb-blink { to { opacity: .2; } }

/* ── the stage ─────────────────────────────────────────────────────────────────────── */
/* THE LIFT IS SET ON WHAT IT MOVES, AND NOTHING INHERITS IT. --cur-cb-ex (0 flat, 1 lifted) was set
   on the stage and inherited, so every view switch and every board's lift restyled all ~3,000
   nodes of the layer drawings under it (82 ms of style recalc on the pour board at CPU 4x; with
   it set on its two readers, non-inherited, 11 ms over 4-16 nodes: review round 1, 2026-10-29).
   A browser without @property inherits it as before, and still draws the same. */
@property --cur-cb-ex { syntax: "<number>"; inherits: false; initial-value: 0; }
.cur-cb-stage {
  --cur-cb-gap: clamp(28px, 3.6vw, 44px);
  --cur-cb-bx: 40%;
  --cur-cb-bw: min(54%, 300px);
  --cur-cb-bh: 270px;
  --cur-cb-top-k: 1.08;
  --cur-cb-top-y: -2%;
  position: relative; display: grid; min-height: 404px; margin: 10px; overflow: hidden;
  border-radius: calc(var(--cur-cb-radius-card) * .75);
  border: 1px solid var(--cur-cb-hair);
  background:
    radial-gradient(70% 70% at 72% 0%, var(--cur-cb-glow), transparent 70%),
    radial-gradient(var(--cur-cb-dot) 1px, transparent 1.4px) 0 0/16px 16px,
    var(--cur-cb-stage);
}
@media (min-width: 760px) { .cur-cb-stage { min-height: 430px; --cur-cb-bw: min(44%, 340px); --cur-cb-bx: 38%; } }
@media (min-width: 1200px) { .cur-cb-stage { min-height: 440px; margin: 12px; --cur-cb-bw: min(45%, 360px); --cur-cb-bx: 37%; } }
/* 600-1199px: the stage is only as tall as its min-height (the check and the order sit under it),
   and the Top view's drawing, the board and its dimension labels above and below it, must clear
   the file chip and the stage bar: it covered the "60.0 mm" label at 600-1100 px. A board is held
   to 230 px tall, and the Top view zooms it to what is left (min-height, less the chip's room,
   the bar's and the labels': 404 - 82 - 56 - 76 at 600 px, 430 - 82 - 56 - 76 from 760 px, over
   230). Wider boards stay as wide as before. e2e holds the drawing clear of both, wide and round. */
@media (min-width: 600px) and (max-width: 1199px) { .cur-cb-stage { --cur-cb-bh: 230px; --cur-cb-top-k: .82; } }
@media (min-width: 760px) and (max-width: 1199px) { .cur-cb-stage { --cur-cb-top-k: .93; } }
/* the wide screen's extra width goes to the stage (the grid's 1fr column), so the board grows */
@media (min-width: 1680px) { .cur-cb-stage { min-height: 520px; --cur-cb-bw: min(46%, 460px); --cur-cb-bh: 340px; } }
.cur-cb-stage[data-ex="1"] :where(.cur-cb-L, .cur-cb-marks) { --cur-cb-ex: 1; }
.cur-cb-stage[data-view="top"] :where(.cur-cb-L, .cur-cb-marks) { --cur-cb-ex: 0; }
/* stage rulers, top and left (deco-rulers). What lies on the stage is inset by their room
   (--cur-cb-deco-rulers-room: the 13px ruler, edge included, and air), so with the rulers off the
   drop zone, the board, the file chip and the stage bar sit evenly in the stage. */
.cur-cb-stage::before,
.cur-cb-stage::after {
  content: ""; display: var(--cur-cb-deco-rulers); position: absolute; z-index: 4; pointer-events: none;
  background-color: var(--cur-cb-stage);
}
.cur-cb-stage::before {
  left: 0; right: 0; top: 0; height: 13px; border-bottom: 1px solid var(--cur-cb-hair);
  background-image:
    repeating-linear-gradient(90deg, var(--cur-cb-tick) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, var(--cur-cb-tick-dim) 0 1px, transparent 1px 8px);
  background-size: 100% 12px, 100% 6px; background-repeat: no-repeat;
}
.cur-cb-stage::after {
  left: 0; top: 13px; bottom: 0; width: 13px; border-right: 1px solid var(--cur-cb-hair);
  background-image:
    repeating-linear-gradient(180deg, var(--cur-cb-tick) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(180deg, var(--cur-cb-tick-dim) 0 1px, transparent 1px 8px);
  background-size: 12px 100%, 6px 100%; background-repeat: no-repeat;
}

/* empty: the drop zone, drawn as a blank board outline. It is the stage's one in-flow child
   (the reading lines and the board lie over it), so the stage grows when the drop zone needs
   more than its minimum height: an unreadable file's reason must never be clipped. */
.cur-cb-drop {
  position: relative; display: grid; place-items: center;
  margin: calc(14px + var(--cur-cb-deco-rulers-room)) 14px 14px calc(14px + var(--cur-cb-deco-rulers-room));
  border: 1.5px dashed var(--cur-cb-draft-line); border-radius: var(--cur-cb-radius-field); overflow: hidden;
  transition: opacity var(--cur-cb-t-mid) var(--cur-cb-ease), visibility 0s,
    background var(--cur-cb-t-fast), border-color var(--cur-cb-t-fast);
}
/* a file dragged anywhere over the window lights it (body.cur-cb-drag-on, spec 9.9) ... */
.cur-cb-drag-on .cur-cb-drop { border-style: solid; border-color: var(--cur-cb-action); background: var(--cur-cb-drag); }
/* ... and the window's frame says the whole window takes it, wherever the pointer is. Fixed above
   everything, it never takes the pointer (the drop lands on what is under it, and the window's
   listener reads it) and is hidden from screen readers. */
.cur-cb-dropall {
  position: fixed; z-index: 90; inset: 12px; display: grid; place-items: center; pointer-events: none;
  border: 2px dashed var(--cur-cb-action); border-radius: var(--cur-cb-radius-card); background: var(--cur-cb-drag);
  opacity: 0; visibility: hidden;
  transition: opacity var(--cur-cb-t-fast) var(--cur-cb-ease), visibility 0s linear var(--cur-cb-t-fast);
}
.cur-cb-drag-on .cur-cb-dropall { opacity: 1; visibility: visible; transition-delay: 0s; }
.cur-cb-dropall-in {
  display: grid; gap: 6px; justify-items: center; padding: 18px 26px; text-align: center;
  border-radius: calc(var(--cur-cb-radius-card) * .75); background: var(--cur-cb-face);
  box-shadow: inset 0 0 0 1px var(--cur-cb-edge), 0 20px 40px -12px var(--cur-cb-shadow);
}
.cur-cb-dropall-t {
  font: var(--cur-cb-display-weight) 1.45rem/1.25 var(--cur-cb-font-display); font-stretch: 93%;
  letter-spacing: calc(var(--cur-cb-display-tracking) * 4 / 7); color: var(--cur-cb-ink);
}
.cur-cb-dropall-f {
  font: var(--cur-cb-label-weight) .72rem/1.4 var(--cur-cb-font-label); letter-spacing: calc(var(--cur-cb-label-tracking) * .6);
  text-transform: var(--cur-cb-label-case); color: var(--cur-cb-mut);
}
/* the drop zone stays for empty and for a file that could not be read; it fades for the rest */
.cur-cb-page:where([data-state="reading"], [data-state="loaded"], [data-state="problem"], [data-state="sample"]) .cur-cb-drop {
  opacity: 0; visibility: hidden;
  transition: opacity var(--cur-cb-t-mid) var(--cur-cb-ease), visibility 0s linear var(--cur-cb-t-mid);
}
/* A Choose file's words change after a refused file ("Choose another file"): the words hold the
   longer label's width from the first paint (data-cur-cb-ghost, a line of no height under them),
   so the button, and the one beside it, never move or wrap when the label changes. */
[data-cur-cb-choose-label] { display: inline-flex; flex-direction: column; }
[data-cur-cb-choose-label]::after { content: attr(data-cur-cb-ghost); height: 0; overflow: hidden; visibility: hidden; }
/* unreadable: the reason in a box (a square lamp, the "fix" shape), "Choose another file" stays
   the primary action, and WhatsApp is offered for this file instead of the no-Gerber link.
   NOTHING MOVES WHEN THE REFUSAL LANDS (spec 9.5, review round 1: it shifted a phone's first screen
   0.024-0.029). The reason takes the title's place and the WhatsApp link the no-Gerber link's: each
   pair shares one cell of the drop zone's grid, the one not shown kept hidden in it, and the box
   keeps the room of the longest reason (the generator writes it, data-cur-cb-ghost, as a ghost
   line under the real one). So the drop zone is as tall in every state, at every width. */
.cur-cb-drop-in > :where(.cur-cb-drop-t, .cur-cb-errbox) { grid-area: 1 / 1; }
.cur-cb-drop-in > :where(.cur-cb-drop-nogerber, .cur-cb-unread-wa) { grid-area: 3 / 1; }
.cur-cb-errbox {
  display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; max-width: 46ch; padding: 10px 12px;
  border-radius: calc(var(--cur-cb-radius-card) * .625); visibility: hidden;
  background: var(--cur-cb-bad-tint); color: var(--cur-cb-ink); font-size: .95rem; line-height: 1.45; text-align: left;
}
.cur-cb-errbox svg { width: 20px; height: 20px; margin-top: 1px; }
.cur-cb-errbox > p,
.cur-cb-errbox::after { grid-area: 1 / 2; }
.cur-cb-errbox::after { content: attr(data-cur-cb-ghost); visibility: hidden; }
.cur-cb-unread-wa { visibility: hidden; }
.cur-cb-page[data-state="unreadable"] :where(.cur-cb-errbox, .cur-cb-unread-wa) { visibility: visible; }
.cur-cb-page[data-state="unreadable"] :where(.cur-cb-drop-t, .cur-cb-drop-nogerber) { visibility: hidden; }

/* reading */
.cur-cb-reading {
  position: absolute; display: grid; place-content: center; gap: 12px;
  inset: calc(14px + var(--cur-cb-deco-rulers-room)) 14px 14px calc(14px + var(--cur-cb-deco-rulers-room));
  opacity: 0; visibility: hidden; transition: opacity var(--cur-cb-t-fast);
  font: 500 .82rem/1.5 var(--cur-cb-font-readout); color: var(--cur-cb-body);
}
.cur-cb-page[data-state="reading"] .cur-cb-reading { opacity: 1; visibility: visible; }
/* After the visit's first board (the script sets data-cur-cb-repeat), the panel shows only for
   a read that outlasts the hold: a quick one never flashes it (spec 9.6). The hold is a dwell,
   kept under reduced motion, so there the panel appears at once when it appears at all. */
.cur-cb-stage[data-cur-cb-repeat="1"] .cur-cb-reading { transition-delay: var(--cur-cb-t-hold); }
.cur-cb-reading-t {
  color: var(--cur-cb-ink); font-weight: 600; text-transform: var(--cur-cb-label-case); letter-spacing: calc(var(--cur-cb-label-tracking) * .6);
}
.cur-cb-rlines { list-style: none; padding: 0; display: grid; gap: 6px; }
.cur-cb-rlines li { display: flex; gap: 10px; opacity: 0; animation: cur-cb-in var(--cur-cb-t-mid) var(--cur-cb-ease) forwards; }
.cur-cb-rlines li::before {
  content: ""; flex: none; width: 10px; height: 10px; margin-top: 5px; border-radius: 50%; background: var(--cur-cb-ok);
}
.cur-cb-rlines b { font-weight: 500; color: var(--cur-cb-mut); }
@keyframes cur-cb-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* loaded: the customer's board, opened into its layers. While a file is read only its file chip
   shows, with the file's name and Remove, which cancels the read: the stage is never left with
   nothing to press (a slow read on a phone, or a worker the page waits on). */
.cur-cb-board {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity var(--cur-cb-t-mid) var(--cur-cb-ease), visibility 0s linear var(--cur-cb-t-mid);
}
.cur-cb-page:where([data-state="reading"], [data-state="loaded"], [data-state="problem"], [data-state="sample"]) .cur-cb-board {
  opacity: 1; visibility: visible; transition-delay: 0s;
}
.cur-cb-page[data-state="reading"] .cur-cb-stagebar { visibility: hidden; }
.cur-cb-scene {
  position: absolute; perspective: 1500px; perspective-origin: 45% 20%;
  inset: calc(var(--cur-cb-deco-rulers-room) * .875) 0 0 calc(var(--cur-cb-deco-rulers-room) * .875);
  transition: opacity var(--cur-cb-t-mid) var(--cur-cb-ease);
}
/* while a file is read, its layer pictures go in a layer at a time (the script's predraw), out of
   sight: opacity, which nothing inherits, so showing the board restyles the scene alone */
.cur-cb-page[data-state="reading"] .cur-cb-scene { opacity: 0; transition: none; }
/* in the Top view the scene takes the keyboard's focus to measure (spec 9.7): its ring is drawn
   inside it, where the stage's clipped edge cannot cut it, rounded as the stage is */
.cur-cb-scene:focus-visible { outline-offset: -3px; border-radius: calc(var(--cur-cb-radius-card) * .75); }
/* The pan carries the board between the views: the scene's own size, so its percentages are
   the scene's. Top moves it by a transform, which the compositor draws without laying anything
   out (it moved `left`: 67-95 layouts a switch, spec 9.6), to where `left: 50%; top: 51%` put it. */
.cur-cb-pan {
  position: absolute; inset: 0; transform-style: preserve-3d;
  transition: transform var(--cur-cb-t-slow) var(--cur-cb-ease);
}
.cur-cb-stage[data-view="top"] .cur-cb-pan { transform: translate(calc(50% - var(--cur-cb-bx)), var(--cur-cb-top-y)); }
/* a phone's stage bar holds the readout's two lines under the switch, so the Top view's drawing,
   its dimension labels below it included, sits a little higher, centred between chip and bar */
/* ... and a board is held to 140 px tall there, so a round or tall one's drawing, zoomed 1.08,
   with its labels fits between the chip and the bar (a wide one is held by its width first) */
@media (max-width: 599px) { .cur-cb-stage { --cur-cb-top-y: -8%; --cur-cb-bh: 140px; } }
/* The board keeps the customer's own proportions: the script sets --cur-cb-board-ar (width
   over height) from the file. --cur-cb-bh of height at most (270px; 340px from 1680px), so a
   tall board still fits the stage; at the sample's 4:3 that is the design's 360px. */
.cur-cb-layers {
  position: absolute; left: var(--cur-cb-bx); top: 53%;
  width: min(var(--cur-cb-bw), calc(var(--cur-cb-bh) * var(--cur-cb-board-ar, 4/3)));
  aspect-ratio: var(--cur-cb-board-ar, 4/3);
  transform-style: preserve-3d; transform: translate(-50%, -50%) rotateX(57deg) rotateZ(-33deg);
  transition: transform var(--cur-cb-t-slow) var(--cur-cb-ease);
}
.cur-cb-stage[data-view="top"] .cur-cb-layers { transform: translate(-50%, -50%) scale(var(--cur-cb-top-k)); }
/* A later board of the visit lands open, in its view, without the lift: the script sets
   data-cur-cb-land for the one frame in which it appears (spec 9.6). */
.cur-cb-stage[data-cur-cb-land="1"] .cur-cb-scene :where(.cur-cb-pan, .cur-cb-layers, .cur-cb-L, .cur-cb-marks, .cur-cb-dims) {
  transition: none;
}
.cur-cb-L {
  --cur-cb-ex: 0;
  position: absolute; inset: 0;
  transform: translateZ(calc(var(--cur-cb-z) * (var(--cur-cb-gap) * var(--cur-cb-ex) + 1px)));
  transition: transform var(--cur-cb-t-slow) var(--cur-cb-ease);
  transition-delay: calc(var(--cur-cb-z) * var(--cur-cb-stagger));
}
.cur-cb-L svg { display: block; width: 100%; height: 100%; overflow: visible; }
.cur-cb-L1 { --cur-cb-z: 0; }
.cur-cb-L2 { --cur-cb-z: 1; }
.cur-cb-L3 { --cur-cb-z: 2; }
.cur-cb-L4 { --cur-cb-z: 3; }
.cur-cb-page[data-mask="natural"] .cur-cb-L4 { display: none; }
/* Each layer's material. The core draws a layer in currentColor (shop/circuit-boards
   site/src/core/render.js, palette "currentColor"), and the script says which material a
   box holds (data-cur-cb-layer) and the copper's finish (data-cur-cb-finish), so the
   colours stay tokens. The mask is the page's data-mask: green is the look's m-mask pair,
   and each other colour a customer can pick in the price panel points the pair at its own
   tokens (cbpage/model.py MASK_TOKENS holds this list and the looks' tokens together). */
/* The pointer: the mask colour the customer picked, green until a pick. Set on the page (the
   body): the board and the swatches are all inside it; data-mask below re-points it. */
.cur-cb-page { --cur-cb-m-mask: var(--cur-cb-m-mask-green); --cur-cb-m-mask-cu: var(--cur-cb-m-mask-green-cu); }
.cur-cb-page[data-mask="blue"] { --cur-cb-m-mask: var(--cur-cb-m-mask-blue); --cur-cb-m-mask-cu: var(--cur-cb-m-mask-blue-cu); }
.cur-cb-page[data-mask="red"] { --cur-cb-m-mask: var(--cur-cb-m-mask-red); --cur-cb-m-mask-cu: var(--cur-cb-m-mask-red-cu); }
.cur-cb-page[data-mask="black"] { --cur-cb-m-mask: var(--cur-cb-m-mask-black); --cur-cb-m-mask-cu: var(--cur-cb-m-mask-black-cu); }
.cur-cb-page[data-mask="yellow"] { --cur-cb-m-mask: var(--cur-cb-m-mask-yellow); --cur-cb-m-mask-cu: var(--cur-cb-m-mask-yellow-cu); }
.cur-cb-page[data-mask="violet"] { --cur-cb-m-mask: var(--cur-cb-m-mask-violet); --cur-cb-m-mask-cu: var(--cur-cb-m-mask-violet-cu); }
.cur-cb-page[data-mask="mixed"] { --cur-cb-m-mask: var(--cur-cb-m-mask-mixed); --cur-cb-m-mask-cu: var(--cur-cb-m-mask-mixed-cu); }
.cur-cb-L[data-cur-cb-layer="substrate"] { color: var(--cur-cb-m-fr4); }
.cur-cb-L[data-cur-cb-layer="copper"] { color: var(--cur-cb-m-cu); }
.cur-cb-L[data-cur-cb-finish="tinned"] { color: var(--cur-cb-m-tin); }
.cur-cb-L[data-cur-cb-layer="mask"] { color: var(--cur-cb-m-mask); }
.cur-cb-L[data-cur-cb-layer="silk"] { color: var(--cur-cb-m-silk); }
/* A PRE-DRAWN BOARD (drawings.sample_board): the sample's layers, stacked flat, drawn at build
   time. Order C's stage shows it before a file; What we do C's showcase shows it as the board a
   customer gets. Coloured as the stage's layers are, so all three are one board. */
.cur-cb-sprev-b { position: relative; }
.cur-cb-sprev-L + .cur-cb-sprev-L { position: absolute; inset: 0; }
.cur-cb-sprev-L svg { display: block; width: 100%; height: auto; overflow: visible; }
.cur-cb-sprev-L[data-cur-cb-layer="substrate"] { color: var(--cur-cb-m-fr4); }
.cur-cb-sprev-L[data-cur-cb-layer="substrate"] svg { filter: drop-shadow(0 10px 18px var(--cur-cb-shadow)); }
.cur-cb-sprev-L[data-cur-cb-layer="copper"] { color: var(--cur-cb-m-cu); }
.cur-cb-sprev-L[data-cur-cb-finish="tinned"] { color: var(--cur-cb-m-tin); }
.cur-cb-sprev-L[data-cur-cb-layer="mask"] { color: var(--cur-cb-m-mask); }
.cur-cb-sprev-L[data-cur-cb-layer="silk"] { color: var(--cur-cb-m-silk); }
/* the FR-4's cut edge, and the thin copper rim that shows around tinned tracks */
.cur-cb-L[data-cur-cb-layer="substrate"] svg { filter: drop-shadow(0 0 .6px var(--cur-cb-m-fr4-edge)); }
.cur-cb-L[data-cur-cb-finish="tinned"] svg { filter: drop-shadow(0 0 .7px var(--cur-cb-m-cu)); }
/* THE LAYER SHEETS. Copper and silkscreen draw only their tracks and letters, so lifted apart
   they had no plane of their own: tinned copper read faint over the FR-4 seen through it, and the
   call-out leaders of L2 and L4 ended on empty corners (review, 2026-11-26). In the exploded view
   each gets a sheet of its own: a dark glass under its drawing (contrast for tin and for white
   letters) and a rim in its own colour, so every leader ends on its layer. Nothing is drawn on
   the sheet; in the Top view, where the layers lie flat on the board, there is none. */
:where(.cur-cb-stage[data-ex="1"]) :is([data-cur-cb-layer="copper"], [data-cur-cb-layer="silk"]) {
  border-radius: 2%;
  background: color-mix(in srgb, var(--cur-cb-stage) 55%, transparent);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, currentColor 70%, transparent);
}
:where(.cur-cb-stage[data-view="top"]) .cur-cb-L { background: none; box-shadow: none; }
.cur-cb-slab { position: absolute; inset: 0; border-radius: 2%; background: var(--cur-cb-m-fr4-side); transform: translateZ(-3px); }
.cur-cb-slab2 { transform: translateZ(-6px); }
.cur-cb-shade {
  position: absolute; inset: 8%; border-radius: 10px; background: var(--cur-cb-shadow);
  box-shadow: 0 0 46px 26px var(--cur-cb-shadow); transform: translateZ(-30px);
}
.cur-cb-anc { position: absolute; right: 1.5%; bottom: 2.5%; width: 2px; height: 2px; }
.cur-cb-dims { position: absolute; inset: 0; transform: translateZ(6px); opacity: 0; transition: opacity var(--cur-cb-t-mid); }
.cur-cb-stage[data-view="top"] .cur-cb-dims { opacity: 1; transition-delay: var(--cur-cb-t-slow); }
.cur-cb-dims svg { display: block; width: 100%; height: 100%; overflow: visible; }
.cur-cb-leads { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.cur-cb-tags { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.cur-cb-tag {
  position: absolute; transform: translateY(-11px); display: grid; line-height: 1.25;
  animation: cur-cb-in var(--cur-cb-t-mid) var(--cur-cb-ease) both;
}
.cur-cb-tag b {
  font: var(--cur-cb-label-weight-strong) .74rem/1.3 var(--cur-cb-font-label); letter-spacing: calc(var(--cur-cb-label-tracking) * .7);
  text-transform: var(--cur-cb-label-case); color: var(--cur-cb-ink);
}
.cur-cb-tag span { font: 400 .8rem/1.3 var(--cur-cb-font-ui); color: var(--cur-cb-mut); }
@media (max-width: 559px) { .cur-cb-tag span { display: none; } }

/* the file chip on the stage, its remove button, the view switch and the readout */
.cur-cb-file {
  position: absolute; z-index: 5; max-width: 420px;
  top: calc(14px + var(--cur-cb-deco-rulers-room) / 2);
  left: calc(14px + var(--cur-cb-deco-rulers-room) / 2); right: calc(14px + var(--cur-cb-deco-rulers-room) / 2);
  display: flex; align-items: center; gap: 10px; padding: 4px 4px 4px 12px;
  border-radius: calc(var(--cur-cb-radius-field) * 1.2);
  background: var(--cur-cb-face); box-shadow: inset 0 0 0 1px var(--cur-cb-edge);
}
.cur-cb-file-ico { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--cur-cb-accent-text); stroke-width: 1.6; }
/* a phone: beside the two tools the chip is ~170px wide, and the file mark left the name 9
   letters and Remove pressed on the meta line (owner 2026-11-29, "crowded"): the mark goes there */
@media (max-width: 599px) { .cur-cb-file-ico { display: none; } .cur-cb-file { gap: 4px; padding-left: 14px; } }
.cur-cb-file-txt { display: grid; min-width: 0; line-height: 1.25; }
.cur-cb-file-n {
  font: 600 .8rem/1.3 var(--cur-cb-font-readout); color: var(--cur-cb-ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cur-cb-file-m { font: 400 .8rem/1.3 var(--cur-cb-font-ui); color: var(--cur-cb-mut); }
.cur-cb-x {
  margin-left: auto; flex: none; width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; border-radius: calc(var(--cur-cb-radius-control) * .9); background: transparent;
  color: var(--cur-cb-ink); cursor: pointer;
}
.cur-cb-x:hover { background: var(--cur-cb-raised); }
.cur-cb-x svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; }
.cur-cb-stagebar {
  position: absolute; z-index: 5; left: calc(14px + var(--cur-cb-deco-rulers-room) / 2); right: 14px; bottom: 12px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 8px;
}
.cur-cb-read {
  padding: 4px 2px; font: var(--cur-cb-label-weight) .74rem/1.3 var(--cur-cb-font-label); letter-spacing: calc(var(--cur-cb-label-tracking) * .6);
  text-transform: var(--cur-cb-label-case); color: var(--cur-cb-mut);
}
/* The readout's length decided whether it fit beside the switch ("X 30.0 Y 21.2 mm") or wrapped
   below it, on one line or two, and the switch jumped 16-31 px under the thumb that pressed it.
   Now the switch keeps the bar's bottom edge, which is held: beside it the readout wraps in its
   own column and grows upwards; on a phone, too narrow for that, it has its own row under the
   switch, two lines tall whatever it says. Either way the switch never moves. */
.cur-cb-read { min-width: 0; }
@media (max-width: 599px) {
  .cur-cb-stagebar { flex-wrap: wrap; }
  .cur-cb-read { flex-basis: 100%; min-block-size: calc(2.6em + 8px); }
}
/* The Top view's crosshair (mm readout, origin bottom-left like the Gerber). Two tones, so it
   reads on the light bare FR-4 and on the dark stage and mask alike: the light line, and a 1px
   halo of the stage's dark either side (the light line alone was 1.05:1 on FR-4). A point a tap
   or the arrow keys pinned also gets a ring where the lines cross (data-pin), built as the
   problem spots are: the marker's ring on a stage-coloured back ring. */
.cur-cb-xh { position: absolute; inset: 0; pointer-events: none; z-index: 2; opacity: 0; }
.cur-cb-xh[data-on="1"] { opacity: 1; }
.cur-cb-xh-x,
.cur-cb-xh-y { position: absolute; background: var(--cur-cb-cross); box-shadow: 0 0 0 1px var(--cur-cb-stage); }
.cur-cb-xh-x { height: 1px; }
.cur-cb-xh-y { width: 1px; }
.cur-cb-xh-pin {
  position: absolute; display: none; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%;
  box-shadow: 0 0 0 1.5px var(--cur-cb-stage), inset 0 0 0 2.5px var(--cur-cb-marker), inset 0 0 0 4px var(--cur-cb-stage);
}
.cur-cb-xh[data-pin="1"] .cur-cb-xh-pin { display: block; }

/* drill layer (natural board): hidden in the Top view, where it would only repeat the holes. Its
   layer box fades, not the svg in it: an svg whose opacity comes back to 1 is laid out again, one
   more layout every switch to Layers (spec 9.6). The box keeps its lift and its stagger. */
.cur-cb-s-dplane { fill: none; stroke: var(--cur-cb-draft-line); stroke-width: .3; stroke-dasharray: 1.2 1.2; }
.cur-cb-s-dring { fill: none; stroke: var(--cur-cb-marker); stroke-width: .45; }
.cur-cb-s-dx { fill: none; stroke: var(--cur-cb-marker); stroke-width: .18; }
.cur-cb-L[data-cur-cb-layer="drill"] {
  transition: transform var(--cur-cb-t-slow) var(--cur-cb-ease), opacity var(--cur-cb-t-mid);
  transition-delay: calc(var(--cur-cb-z) * var(--cur-cb-stagger)), 0s;
}
.cur-cb-stage[data-view="top"] [data-cur-cb-layer="drill"] { opacity: 0; }

/* numbered problem spots ("Needs a change"): on the copper plane, or above the mask when there is one */
.cur-cb-marks {
  --cur-cb-ex: 0;
  --cur-cb-mz: 1;
  position: absolute; inset: 0;
  transform: translateZ(calc(var(--cur-cb-mz) * var(--cur-cb-gap) * var(--cur-cb-ex) + 8px));
  transition: transform var(--cur-cb-t-slow) var(--cur-cb-ease);
}
.cur-cb-page:not([data-mask="natural"]) .cur-cb-marks { --cur-cb-mz: 3; }
.cur-cb-page:not([data-state="problem"]) .cur-cb-marks { display: none; }
.cur-cb-marks svg { display: block; width: 100%; height: 100%; overflow: visible; }
.cur-cb-s-mback { fill: none; stroke: var(--cur-cb-stage); stroke-width: 1.3; }
/* a spot's number is also printed on its check row, whose icon SHAPE says fix or check:
   hue is never the only signal */
.cur-cb-s-mbad { fill: none; stroke: var(--cur-cb-bad); stroke-width: .65; stroke-dasharray: 1.4 .9; }
.cur-cb-s-mwarn { fill: none; stroke: var(--cur-cb-warn); stroke-width: .65; stroke-dasharray: 1.4 .9; }
.cur-cb-s-mdbad { fill: var(--cur-cb-bad); stroke: var(--cur-cb-stage); stroke-width: .5; }
.cur-cb-s-mdwarn { fill: var(--cur-cb-warn); stroke: var(--cur-cb-stage); stroke-width: .5; }
.cur-cb-s-mnum { fill: var(--cur-cb-stage); font-family: var(--cur-cb-m-type); font-weight: 700; font-size: 3px; }
/* A spot's chip on its check row is a button (spec 9.3): it shows the spot on the board. Its
   disc stays the 20px the row's line holds; its touch target is 44px around it. */
.cur-cb-mk {
  position: relative; display: inline-grid; place-items: center; width: 20px; height: 20px; margin: 0; padding: 0;
  border: 0; border-radius: 50%; cursor: pointer;
  font: 700 .7rem/1 var(--cur-cb-font-readout); color: var(--cur-cb-stage); vertical-align: 1px;
}
.cur-cb-mk::before { content: ""; position: absolute; inset: -12px; }
.cur-cb-mk-bad { background: var(--cur-cb-bad); }
.cur-cb-mk-warn { background: var(--cur-cb-warn); }
/* the spot a chip asked for: its ring turns solid and pulses twice, the others step back */
.cur-cb-marks [data-on] :where(.cur-cb-s-mbad, .cur-cb-s-mwarn) {
  stroke-width: 1; stroke-dasharray: none; animation: cur-cb-spot var(--cur-cb-t-slow) var(--cur-cb-ease) 2;
}
.cur-cb-stage[data-spot] .cur-cb-marks g:where(:not([data-on])) { opacity: .45; }
@keyframes cur-cb-spot { 50% { stroke-width: 2.2; } }

/* phone layer legend: under the stage, below 620 px, where the call-outs carry only L-codes.
   It names the layers of the boards the route makes, not of one file, so the page renders it
   and it holds its place in every state: a board landing never pushes what is under the stage
   down. Until a board is drawn it waits, its swatches hollow (a shape, not only a colour). */
.cur-cb-legend {
  list-style: none; display: none; gap: 7px; margin: 0 10px 6px; padding: 10px 12px;
  border-radius: calc(var(--cur-cb-radius-card) * .625);
  background: var(--cur-cb-stage); border: 1px solid var(--cur-cb-hair);
}
@media (max-width: 619px) { .cur-cb-legend { display: grid; } }
.cur-cb-legend li {
  display: grid; grid-template-columns: 14px 24px minmax(0, 1fr); gap: 8px; align-items: center;
  font-size: .86rem; line-height: 1.35; color: var(--cur-cb-body);
}
.cur-cb-legend b {
  font: var(--cur-cb-label-weight-strong) .74rem/1.3 var(--cur-cb-font-label); letter-spacing: calc(var(--cur-cb-label-tracking) * .6); color: var(--cur-cb-accent-text);
}
.cur-cb-sw {
  width: 14px; height: 14px; border-radius: calc(var(--cur-cb-radius-pill) / 2); box-shadow: inset 0 0 0 1px var(--cur-cb-edge);
}
.cur-cb-sw-fr4 { background: var(--cur-cb-m-fr4); }
.cur-cb-sw-tin { background: var(--cur-cb-m-tin); }
.cur-cb-sw-cu { background: var(--cur-cb-m-cu); }
.cur-cb-sw-mask { background: var(--cur-cb-m-mask-cu); }
.cur-cb-sw-silk { background: var(--cur-cb-m-silk); }
.cur-cb-sw-drill { background: var(--cur-cb-stage); box-shadow: inset 0 0 0 3px var(--cur-cb-marker); }
.cur-cb-page:not(:where([data-state="loaded"], [data-state="problem"], [data-state="sample"])) .cur-cb-sw {
  background: none; box-shadow: inset 0 0 0 1.5px var(--cur-cb-edge);
}

/* the Top view's dimension lines and the call-out leaders (drawn by the script) */
.cur-cb-s-dim { fill: none; stroke: var(--cur-cb-draft-line); stroke-width: .3; }
.cur-cb-s-dimt { fill: var(--cur-cb-draft); font-family: var(--cur-cb-m-type); font-weight: 600; font-size: 3px; }
/* a leader line draws out from its layer to its tag (the script gives it pathLength 1, so one
   dash of length 1 is the whole line, shifted off and back on) */
.cur-cb-s-lead {
  fill: none; stroke: var(--cur-cb-draft-line); stroke-width: 1.2;
  stroke-dasharray: 1; animation: cur-cb-draw var(--cur-cb-t-mid) var(--cur-cb-ease) both;
}
@keyframes cur-cb-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.cur-cb-s-leadpad { fill: var(--cur-cb-stage); stroke: var(--cur-cb-marker); stroke-width: 2; }

/* ── "Can we make it?": one row per check item (the script writes data-v) ─────────── */
.cur-cb-chks { list-style: none; padding: 0; display: grid; align-content: start; }
/* NOTHING MOVES WHEN A RESULT LANDS (spec 9.5). Beside another column (from 760px) a result's
   sentence wraps where the waiting hint did not, and each row grew 20-40 px (layout shift 0.0104
   at 1280 x 800). So each row keeps the room of its longest result sentence, laid out by the
   browser in the row's own cell: the generator writes it (data-cur-cb-ghost) and it stands, hidden,
   under the real note (at 1920 too: a failing sentence wraps there as well). The list
   ends with a spare row, as tall as the one row a result may add (Holes between sides, Top copper,
   Tracks and holes), which the script hides once a result shows one: the list's height holds. No
   row metric is typed here. Rows are ruled between them, so a hidden one leaves no double rule. */
.cur-cb-chk {
  display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 2px 10px; align-items: center; padding: 9px 0;
}
.cur-cb-chk + .cur-cb-chk { border-top: 1px solid var(--cur-cb-hair); }
.cur-cb-chk-spare { visibility: hidden; }
@media (max-width: 759px) { .cur-cb-chk-spare { display: none; } }
@media (min-width: 760px) {
  .cur-cb-chk::after {
    content: attr(data-cur-cb-ghost); grid-column: 2 / -1; grid-row: 2; align-self: start; visibility: hidden;
    font-size: .86rem; line-height: 1.4;
  }
}
.cur-cb-chk svg { width: 20px; height: 20px; grid-row: span 2; align-self: start; margin-top: 2px; }
.cur-cb-chk-k { font-weight: 600; font-size: .98rem; color: var(--cur-cb-ink); }
.cur-cb-pill {
  justify-self: end; min-width: 52px; padding: 3px 8px; border-radius: var(--cur-cb-radius-pill); text-align: center;
  font: var(--cur-cb-label-weight-strong) .72rem/1.3 var(--cur-cb-font-label); letter-spacing: calc(var(--cur-cb-label-tracking) * .8);
  text-transform: var(--cur-cb-label-case); color: var(--cur-cb-mut); box-shadow: inset 0 0 0 1px var(--cur-cb-edge);
}
.cur-cb-chk[data-v="ok"] .cur-cb-pill { color: var(--cur-cb-ok); background: var(--cur-cb-ok-tint); box-shadow: none; }
.cur-cb-chk[data-v="warn"] .cur-cb-pill { color: var(--cur-cb-warn); background: var(--cur-cb-warn-tint); box-shadow: none; }
.cur-cb-chk[data-v="bad"] .cur-cb-pill { color: var(--cur-cb-bad); background: var(--cur-cb-bad-tint); box-shadow: none; }
/* The note hugs its title; the room its longest sentence keeps is the row's bottom slack. Centred
   in that room, one list read 2, 12 and 21 px from title to note (review round 2). Only the value
   a sentence opens with (every measured sentence does: "{value} · ...") gets air before the
   " · "; on every value it split "1 -layer" and doubled the space in "0.80 mm  min". */
.cur-cb-chk-n { grid-column: 2/-1; grid-row: 2; align-self: start; font-size: .86rem; line-height: 1.4; color: var(--cur-cb-mut); }
.cur-cb-chk-n b { font: 500 .82rem/1.4 var(--cur-cb-font-readout); color: var(--cur-cb-body); }
.cur-cb-chk-n > b:first-child { margin-right: 4px; }
/* state icons (drawn inline or used from the sprite): shape AND colour differ per state */
.cur-cb-i-ok { fill: var(--cur-cb-ok); stroke: none; }
.cur-cb-i-warn { fill: var(--cur-cb-warn); stroke: none; }
.cur-cb-i-bad { fill: var(--cur-cb-bad); stroke: none; }
.cur-cb-i-wait { fill: none; stroke: var(--cur-cb-edge); stroke-width: 1.6; }
.cur-cb-i-mark { fill: none; stroke: var(--cur-cb-stage); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ── "Your order": the card's contents (the page's data-state picks the block) ──────────── */
.cur-cb-from { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.cur-cb-from span {
  font: var(--cur-cb-label-weight) .78rem/1.2 var(--cur-cb-font-label); letter-spacing: calc(var(--cur-cb-label-tracking) * .8);
  color: var(--cur-cb-mut);
}
/* the label's case everywhere but the phone's split bar, whose words are in the UI face (below) */
:where(:not(.cur-cb-mbar-split)) > .cur-cb-from span { text-transform: var(--cur-cb-label-case); }
/* what the headline buys, linked to the price table: the label face, in the accent, underlined */
.cur-cb-from a { color: var(--cur-cb-accent-text); text-decoration: underline dotted; text-underline-offset: 3px; }
.cur-cb-from a span { color: inherit; }
.cur-cb-from b {
  font: 650 2.1rem/1.05 var(--cur-cb-font-display); letter-spacing: calc(var(--cur-cb-display-tracking) * 8 / 7);
  color: var(--cur-cb-ink);
}
/* The card holds one block per phase (data-cur-cb-sum = empty | sample | problem | file,
   all server-rendered so the quantity and the order link exist before any script runs); the
   page's data-state picks which shows, and no data-state is the no-JS page, i.e. empty.
   The phase blocks share ONE grid cell (phase), each keeping its room, so the card is always
   as tall as its tallest block and a phase change never moves what is under it; the blocks
   not shown are hidden (visibility: out of sight, out of the tab order and the accessibility
   tree). A problem keeps the file block's order link (relabelled "ask about this file", no
   quantity or price note) and adds what is wrong above it (head: the first problem block) and
   "choose a new file" below it (foot: the second), so reading order is visual order; the
   empty and sample blocks leave the cell then, or the order link would sit in their room.
   The sample shows its own block: nothing to order. */
.cur-cb-sumb { display: grid; gap: 12px; grid-template-areas: "from" "phase"; }
.cur-cb-sumb > .cur-cb-from { grid-area: from; }
.cur-cb-sumb > [data-cur-cb-sum] { display: grid; gap: 12px; grid-area: phase; align-content: start; visibility: hidden; }
.cur-cb-page:where(:not([data-state]), [data-state="empty"], [data-state="reading"], [data-state="unreadable"]) [data-cur-cb-sum="empty"],
.cur-cb-page[data-state="sample"] [data-cur-cb-sum="sample"],
.cur-cb-page:where([data-state="loaded"], [data-state="problem"]) [data-cur-cb-sum="file"],
.cur-cb-page[data-state="problem"] [data-cur-cb-sum="problem"] { visibility: visible; }
.cur-cb-sumb > [data-cur-cb-sum="problem"] { display: none; grid-area: head; }
.cur-cb-sumb > [data-cur-cb-sum="file"] ~ [data-cur-cb-sum="problem"] { grid-area: foot; }
.cur-cb-page[data-state="problem"] .cur-cb-sumb { grid-template-areas: "from" "head" "phase" "foot"; }
.cur-cb-page[data-state="problem"] [data-cur-cb-sum="problem"] { display: grid; }
.cur-cb-page[data-state="problem"] :where([data-cur-cb-sum="empty"], [data-cur-cb-sum="sample"], [data-cur-cb-sum="sent"]) { display: none; }
.cur-cb-sumb > [data-cur-cb-sum="sample"] .cur-cb-link { justify-self: start; }
.cur-cb-page[data-state="problem"] .cur-cb-qty,
.cur-cb-page[data-state="problem"] .cur-cb-send-note { display: none; }
.cur-cb-qty { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cur-cb-qty > span { font-weight: 600; color: var(--cur-cb-ink); }
.cur-cb-qty small { display: block; font-size: .84rem; font-weight: 400; color: var(--cur-cb-mut); }
.cur-cb-stepper { display: inline-flex; align-items: center; border-radius: var(--cur-cb-radius-field);
  box-shadow: inset 0 0 0 1.5px var(--cur-cb-edge);
}
.cur-cb-stepper button {
  width: 44px; height: 44px; border: 0; border-radius: calc(var(--cur-cb-radius-control) * .9); background: transparent;
  color: var(--cur-cb-ink); font: 600 1.25rem/1 var(--cur-cb-font-ui); cursor: pointer;
}
.cur-cb-stepper button:hover { background: var(--cur-cb-raised); }
/* at the quantity's limit the script marks the button aria-disabled (it stays focusable) */
.cur-cb-stepper button[aria-disabled="true"] { opacity: .4; cursor: not-allowed; }
.cur-cb-stepper button[aria-disabled="true"]:hover { background: transparent; }
.cur-cb-stepper output { min-width: 40px; text-align: center; font: 600 1rem var(--cur-cb-font-readout); color: var(--cur-cb-ink); }
.cur-cb-sum-note { font-size: .92rem; line-height: 1.5; color: var(--cur-cb-body); }
.cur-cb-ticks { list-style: none; padding: 0; display: grid; gap: 6px; font-size: .94rem; color: var(--cur-cb-body); }
.cur-cb-ticks li { display: flex; gap: 10px; align-items: baseline; }
.cur-cb-ticks li::before {
  content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--cur-cb-marker); transform: translateY(-1px);
}
.cur-cb-oid { font: 500 .74rem/1.5 var(--cur-cb-font-readout); letter-spacing: calc(var(--cur-cb-label-tracking) * .4); color: var(--cur-cb-mut); }
.cur-cb-oid b { color: var(--cur-cb-ink); font-weight: 600; }
/* the order ID's line takes two lines once the widget writes the ID (Copper Night's Classic card,
   and the ticket); it holds both before, so the file block, which holds the card's room while
   hidden, never grows when a reload brings a hand-off back (layout shift 0.0046, e2e 2026-11-26) */
.cur-cb-oid { min-block-size: 2lh; }
.cur-cb-alert {
  display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px;
  border-radius: calc(var(--cur-cb-radius-card) * .625);
  background: var(--cur-cb-bad-tint); color: var(--cur-cb-ink); font-size: .95rem; line-height: 1.45;
}
.cur-cb-alert svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.cur-cb-alert b { color: var(--cur-cb-bad); }
/* drawings outside the board, left out of the check (notice.off_board): the alert's box in the
   warn tint, since the board itself can still be made; shown only for a board that has them */
.cur-cb-notice {
  display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px;
  border-radius: calc(var(--cur-cb-radius-card) * .625);
  background: var(--cur-cb-warn-tint); color: var(--cur-cb-ink); font-size: .86rem; line-height: 1.45;
}
.cur-cb-notice[hidden] { display: none; }
.cur-cb-notice svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--cur-cb-warn); }

/* THE HAND-OFF (spec 9.1). Once an order link was pressed the body carries data-handoff and the
   card is the sent block alone: the order WhatsApp was opened for, the one step left there,
   what a person does next, and the ways on. It takes the shared cell like every phase block,
   so the card keeps its height when it lands and when a reload brings it back. A problem's
   two framing blocks leave the card with the rest. A problem's card is the problem's own
   height, so there the sent block holds no room until it shows (it shows on a tap; a reload
   brings it back on an empty page). */
.cur-cb-page[data-handoff] [data-cur-cb-sum="sent"] { display: grid; visibility: visible; }
.cur-cb-page[data-handoff] [data-cur-cb-sum]:where(:not([data-cur-cb-sum="sent"])) { visibility: hidden; }
.cur-cb-page[data-handoff] [data-cur-cb-sum="problem"] { display: none; }
.cur-cb-page[data-handoff] .cur-cb-sumb { grid-template-areas: "from" "phase"; }
.cur-cb-sent-h { display: flex; gap: 10px; align-items: flex-start; font: 700 1rem/1.45 var(--cur-cb-font-ui); color: var(--cur-cb-ink); }
/* the order ID on a line of its own, like a ticket number: the heading is two lines whatever the
   width, and holds them before the widget writes the ID (the room, above) */
.cur-cb-sent-h b {
  display: block; min-block-size: calc(.94rem * 1.55); min-block-size: 1lh;
  font: 600 .94rem/1.55 var(--cur-cb-font-readout); white-space: nowrap;
}
.cur-cb-sent-ico { width: 22px; height: 22px; margin-top: 1px; fill: var(--cur-cb-ok); stroke: none; }
/* a file name may be one long word */
.cur-cb-sent-p { overflow-wrap: anywhere; }
.cur-cb-sent-p b { font-weight: 600; color: var(--cur-cb-ink); }
.cur-cb-sent-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cur-cb-sent-row .cur-cb-ghost-btn { padding-inline: 10px; text-wrap: balance; }

/* ── the services module's drawing: the sample board as its own silkscreen (the script
   draws it into #cur-cb-svc-art; each later service brings its own drawing in this style) */
/* The art panel itself. Its class is also the id of the drawing's box inside it
   (#cur-cb-svc-art, the design's names), which the script fills, and the stylesheet contract
   reads that name as script markup: so the panel lives here with the drawing's paint. */
.cur-cb-svc-art {
  position: relative; padding: 22px; border-bottom: 1px solid var(--cur-cb-band-line);
  background: radial-gradient(var(--cur-cb-band-dot) 1px, transparent 1.3px) 0 0/14px 14px;
}
@media (min-width: 900px) {
  .cur-cb-svc-art { padding: 30px; border-bottom: 0; border-right: 1px solid var(--cur-cb-band-line); }
}
/* not on a phone: a picture (aria-hidden) of the sample board the hero has just shown, and the
   tallest thing in the band there */
@media (max-width: 759px) { .cur-cb-svc-art { display: none; } }
.cur-cb-svc-art svg { display: block; width: 100%; height: auto; max-width: 560px; margin-inline: auto; }
.cur-cb-a-line { fill: none; stroke: var(--cur-cb-band-ink); }
.cur-cb-a-thin { fill: none; stroke: var(--cur-cb-band-body); stroke-width: .3; }
.cur-cb-a-trace { fill: none; stroke: var(--cur-cb-band-body); stroke-linecap: round; stroke-linejoin: round; opacity: .5; }
.cur-cb-a-txt { fill: var(--cur-cb-band-ink); font-family: var(--cur-cb-m-type); font-weight: 600; }
.cur-cb-a-txt2 { fill: var(--cur-cb-band-body); font-family: var(--cur-cb-m-type); font-weight: 500; }
.cur-cb-a-fid { fill: none; stroke: var(--cur-cb-marker); stroke-width: .35; }
.cur-cb-a-fidc { fill: var(--cur-cb-marker); }
.cur-cb-a-board { fill: var(--cur-cb-band-deep); stroke: var(--cur-cb-band-ink); stroke-width: .5; }

/* ── footer ────────────────────────────────────────────────────────────────────────── */
/* below 900px the phone bar (up to ~90px, more over a home indicator) is fixed at the bottom: the
   footer's last line ends above it, never behind it (it touched the bar at 360px with 84px) */
.cur-cb-foot { background: var(--cur-cb-stage); color: var(--cur-cb-body); padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 900px) { .cur-cb-foot { padding-bottom: 0; } }
.cur-cb-foot .cur-cb-net { margin-bottom: 0; }
.cur-cb-foot-grid { display: grid; gap: 22px; padding-block: 30px 28px; }
@media (min-width: 760px) { .cur-cb-foot-grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; padding-block: 34px 36px; } }
.cur-cb-foot-k {
  margin-bottom: 10px; font: var(--cur-cb-label-weight-strong) .74rem/1.3 var(--cur-cb-font-label); letter-spacing: var(--cur-cb-label-tracking);
  text-transform: var(--cur-cb-label-case); color: var(--cur-cb-mut);
}
/* the pickup address is one string from the export: let it wrap as a short block */
.cur-cb-foot address { font-style: normal; max-width: 28ch; }
.cur-cb-foot ul { list-style: none; padding: 0; display: grid; gap: 2px; }
.cur-cb-foot-a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--cur-cb-body); text-underline-offset: 3px; }
.cur-cb-foot-a:hover { color: var(--cur-cb-ink); }
.cur-cb-foot-line { margin-top: 12px; max-width: 36ch; color: var(--cur-cb-mut); }
.cur-cb-foot-base {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 28px;
  padding-block: 6px 8px; border-top: 1px solid var(--cur-cb-hair);
  font: var(--cur-cb-label-weight) .72rem/1.5 var(--cur-cb-font-label); letter-spacing: calc(var(--cur-cb-label-tracking) * .6);
  text-transform: var(--cur-cb-label-case); color: var(--cur-cb-mut);
}

/* ── phone sticky bar (below 900px). Shown only while the script sets body.cur-cb-mbar-on
   (the current primary action - Choose, or Send once a file is read - is out of view);
   hidden, it is also out of the tab order (visibility), not just off screen. */
.cur-cb-mbar {
  position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: var(--cur-cb-face); border-top: 2px solid var(--cur-cb-accent-line);
  box-shadow: 0 -14px 30px -12px var(--cur-cb-shadow);
  transform: translateY(115%); visibility: hidden;
  transition: transform var(--cur-cb-t-mid) var(--cur-cb-ease), visibility 0s linear var(--cur-cb-t-mid);
}
.cur-cb-mbar-on .cur-cb-mbar {
  transform: none; visibility: visible;
  transition: transform var(--cur-cb-t-mid) var(--cur-cb-ease), visibility 0s;
}
@media (min-width: 900px) { .cur-cb-mbar { display: none; } }
.cur-cb-mbar .cur-cb-from b { font-size: 1.45rem; }
.cur-cb-mbar .cur-cb-from span { font-size: .7rem; }
.cur-cb-mbar .cur-cb-pad { min-height: 48px; flex: none; }
/* the phone bar's A style, split bar (styles.toml phonebar_style = a): the headline
   stacked on the left (its count small, its figure big), the action on the right, on glass */
.cur-cb-mbar-split {
  background: color-mix(in srgb, var(--cur-cb-face) 94%, transparent); border-top: 1px solid var(--cur-cb-hair);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.cur-cb-mbar-split .cur-cb-from { display: grid; justify-items: start; gap: 0; line-height: 1.15; min-width: 0; flex: 1 1 0; }
.cur-cb-mbar-split .cur-cb-from > * { white-space: nowrap; }
/* "delivered, GST included" is wider than the room beside Choose file at 360-390px: it ran under
   the button ("GST INCLU..."). It wraps onto a second line instead, the whole of it read */
.cur-cb-mbar-split .cur-cb-from .cur-cb-from-gst { font-size: .62rem; white-space: normal; }
/* The bar's small words are set in the UI face, untracked (owner 2026-11-29: the bar looked
   "overlayed, crowded"): in the tracked mono capitals "3 boards (5 x 5 cm) from" needed 210px and
   ran under Choose file at 360px. Choose file keeps no room for "Choose another file" here (the
   ghost): the bar has nothing beside it that a relabel could push, and the room went to the price. */
.cur-cb-mbar-split .cur-cb-from span {
  font: 600 .74rem/1.25 var(--cur-cb-font-ui); letter-spacing: 0; color: var(--cur-cb-body);
}
.cur-cb-mbar-split .cur-cb-from a span { color: inherit; }
.cur-cb-mbar [data-cur-cb-choose-label]::after { content: none; }
/* Choose until a file is read, Send after (the script relabels Send per phase), and during the
   hand-off the same link, which opens that chat again (also after a reload, with no board) */
.cur-cb-mbar .cur-cb-mbar-send { display: none; }
.cur-cb-page:where([data-state="loaded"], [data-state="problem"]) .cur-cb-mbar-send { display: inline-flex; }
.cur-cb-page:where([data-state="loaded"], [data-state="problem"]) .cur-cb-mbar-choose { display: none; }
/* THE VERDICT (spec 9.3), once a board is checked: the status line's lamp and a few words, a
   button to the check. It takes the minimum order's place: at 360px the bar holds two things
   beside each other, and the order card above Send shows the minimum order. Set in the UI
   face, not the labels' (a mono, tracked capital is too wide beside "Ask on WhatsApp"); one
   line from 360px, and on a narrower phone the words wrap inside the button, never clipped. */
.cur-cb-mbar-v {
  display: none; align-items: center; gap: 8px; min-width: 0; min-height: 48px; padding: 0 12px; border: 0;
  border-radius: var(--cur-cb-radius-control); background: transparent; color: var(--cur-cb-ink); cursor: pointer;
  box-shadow: inset 0 0 0 1.5px var(--cur-cb-edge); text-align: left; text-wrap: balance;
  font: 700 .86rem/1.2 var(--cur-cb-font-ui);
}
.cur-cb-mbar-v .cur-cb-led { flex: none; }
/* Below 390px the bar's air gives way to the verdict's words: in the page's own face "Ready to
   send" needs 108px, and at 360px the default gaps and padding left it 86 (2026-11-28, when the
   checks first measured the real face). 26px comes back from the gap, the verdict's and Send's
   side padding; the targets keep their 48px height. */
@media (max-width: 389px) {
  .cur-cb-mbar { gap: 8px; }
  .cur-cb-mbar-v { padding: 0 8px; gap: 6px; }
  .cur-cb-mbar .cur-cb-mbar-send { padding-left: 14px; padding-right: 14px; }
}
.cur-cb-page:where([data-state="loaded"], [data-state="problem"]):where(:not([data-handoff])) .cur-cb-mbar-v { display: inline-flex; }
.cur-cb-page:where([data-state="loaded"], [data-state="problem"]):where(:not([data-handoff])) .cur-cb-mbar .cur-cb-from { display: none; }
/* During the hand-off the board's verdict would read as "not sent yet" beside "Open WhatsApp"
   (review round 2): the bar shows the minimum order, as it does after a reload */
.cur-cb-page[data-handoff] .cur-cb-mbar-send { display: inline-flex; }
.cur-cb-page[data-handoff] .cur-cb-mbar-choose { display: none; }

/* ── reduced motion: the durations are already 0 (the look's tokens); the keyframe animations
   stop too: the reading lamp's pulse, a lit spot's blink, the reading lines', the call-outs' and
   the leader lines' entrances */
@media (prefers-reduced-motion: reduce) {
  .cur-cb-status[data-v="reading"] .cur-cb-led { animation: none; }
  .cur-cb-marks [data-on] :where(.cur-cb-s-mbad, .cur-cb-s-mwarn) { animation: none; }
  .cur-cb-rlines li,
  .cur-cb-tag { animation: none; opacity: 1; }
  .cur-cb-s-lead { animation: none; }
}

/* ── The live price panel (owner 2026-11-24, panel C+; site/src/ui/panel.js + bind.js) ─────────
   Two pickers (a button and its listbox), the count, the total beside a swatch of the board in
   its mask, one line of facts, the breakdown behind a disclosure. Every box holds its room from
   the first paint, so a price landing moves nothing. Only for a board we can make. */
.cur-cb-page[data-state="problem"] .cur-cb-price { display: none; }
.cur-cb-price { display: grid; gap: 12px; }
.cur-cb-pks { display: flex; flex-wrap: wrap; gap: 8px; }
.cur-cb-pk { position: relative; flex: 1 1 150px; min-width: 0; }
.cur-cb-pk-b {
  width: 100%; min-height: 48px; display: flex; align-items: center; gap: 10px; padding: 6px 30px 6px 10px; text-align: left;
  border: 0; border-radius: var(--cur-cb-radius-field); background: var(--cur-cb-raised); color: var(--cur-cb-ink);
  box-shadow: inset 0 0 0 1.5px var(--cur-cb-edge); font: 600 .92rem/1.25 var(--cur-cb-font-ui); cursor: pointer; position: relative;
}
.cur-cb-pk-b::after {
  content: ""; position: absolute; right: 12px; top: 50%; width: 7px; height: 7px; margin-top: -6px;
  border-right: 2px solid var(--cur-cb-mut); border-bottom: 2px solid var(--cur-cb-mut); transform: rotate(45deg);
}
.cur-cb-pk-b[aria-expanded="true"] { box-shadow: inset 0 0 0 1.5px var(--cur-cb-action); }
.cur-cb-pk-t { min-width: 0; display: grid; }
.cur-cb-pk-t small { font: 500 .66rem/1.3 var(--cur-cb-font-readout); letter-spacing: calc(var(--cur-cb-label-tracking) * .6);
  text-transform: var(--cur-cb-label-case); color: var(--cur-cb-mut); }
.cur-cb-pk-t span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cur-cb-pk-l {
  position: absolute; z-index: 6; top: calc(100% + 6px); left: 0; min-width: 100%; width: max-content; max-width: min(92vw, 320px);
  margin: 0; padding: 6px; list-style: none; border-radius: var(--cur-cb-radius-card); background: var(--cur-cb-face);
  box-shadow: inset 0 0 0 1.5px var(--cur-cb-edge), 0 18px 40px var(--cur-cb-shadow);
}
.cur-cb-pk-l [role="option"] {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 9px 10px;
  border-radius: var(--cur-cb-radius-control); color: var(--cur-cb-body); font: 500 .9rem/1.3 var(--cur-cb-font-ui); cursor: pointer;
}
.cur-cb-pk-l [role="option"] em { font: 500 .7rem/1.2 var(--cur-cb-font-readout); font-style: normal; color: var(--cur-cb-mut); white-space: nowrap; }
.cur-cb-pk-l [role="option"][aria-selected="true"] { color: var(--cur-cb-ink); background: var(--cur-cb-raised); }
.cur-cb-pk-l [role="option"][data-cur-cb-active] { box-shadow: inset 0 0 0 2px var(--cur-cb-focus); }
.cur-cb-pk-l [role="option"][aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.cur-cb-pk-ask { margin: 4px 4px 2px; padding: 8px 6px 2px; border-top: 1px solid var(--cur-cb-hair); color: var(--cur-cb-accent-text); font-size: .82rem; }
/* the swatches: the board's material and its mask (materials, the same in every look) */
.cur-cb-sw-mat, .cur-cb-sw-dot { flex: none; width: 20px; height: 20px; box-shadow: inset 0 0 0 1px var(--cur-cb-shadow); }
.cur-cb-sw-mat { border-radius: var(--cur-cb-radius-tag); background: var(--cur-cb-m-fr4); }
.cur-cb-sw-mat:is([data-cur-cb-m="FR-1"], [data-cur-cb-m="FR-2"]) { background: var(--cur-cb-m-fr1); }
.cur-cb-sw-mat:is([data-cur-cb-m="CEM-1"], [data-cur-cb-m="CEM-3"]) { background: var(--cur-cb-m-cem); }
.cur-cb-sw-dot { border-radius: 50%; background: linear-gradient(var(--cur-cb-m-mask), var(--cur-cb-m-mask)), var(--cur-cb-m-fr4); }
.cur-cb-sw-dot[data-cur-cb-c="green"] { background: linear-gradient(var(--cur-cb-m-mask-green), var(--cur-cb-m-mask-green)), var(--cur-cb-m-fr4); }
.cur-cb-sw-dot[data-cur-cb-c="blue"] { background: linear-gradient(var(--cur-cb-m-mask-blue), var(--cur-cb-m-mask-blue)), var(--cur-cb-m-fr4); }
.cur-cb-sw-dot[data-cur-cb-c="red"] { background: linear-gradient(var(--cur-cb-m-mask-red), var(--cur-cb-m-mask-red)), var(--cur-cb-m-fr4); }
.cur-cb-sw-dot[data-cur-cb-c="black"] { background: linear-gradient(var(--cur-cb-m-mask-black), var(--cur-cb-m-mask-black)), var(--cur-cb-m-fr4); }
.cur-cb-sw-dot[data-cur-cb-c="yellow"] { background: linear-gradient(var(--cur-cb-m-mask-yellow), var(--cur-cb-m-mask-yellow)), var(--cur-cb-m-fr4); }
.cur-cb-sw-dot[data-cur-cb-c="violet"] { background: linear-gradient(var(--cur-cb-m-mask-violet), var(--cur-cb-m-mask-violet)), var(--cur-cb-m-fr4); }
.cur-cb-sw-dot[data-cur-cb-c="mixed"] { background: linear-gradient(var(--cur-cb-m-mask-mixed), var(--cur-cb-m-mask-mixed)), var(--cur-cb-m-fr4); }
/* the board beside the total, in the mask the page draws (data-mask points the pair at it) */
.cur-cb-sw-board {
  flex: none; width: 56px; height: 40px; border-radius: var(--cur-cb-radius-tag); position: relative;
  background: linear-gradient(var(--cur-cb-m-mask), var(--cur-cb-m-mask)), var(--cur-cb-m-fr4);
}
.cur-cb-sw-board::before { content: ""; position: absolute; inset: 9px 11px; border: 2px solid var(--cur-cb-m-mask-cu); border-radius: var(--cur-cb-radius-tag); }
.cur-cb-sw-board::after { content: ""; position: absolute; width: 6px; height: 6px; right: 7px; top: 6px; border-radius: 50%;
  background: var(--cur-cb-m-tin); box-shadow: -36px 22px 0 var(--cur-cb-m-tin); }
.cur-cb-quick { display: flex; flex-wrap: wrap; gap: 6px; }
.cur-cb-quick button {
  min-width: 44px; min-height: 36px; padding: 0 12px; border: 0; border-radius: var(--cur-cb-radius-pill); background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--cur-cb-edge); color: var(--cur-cb-body); font: 600 .82rem var(--cur-cb-font-readout); cursor: pointer;
}
.cur-cb-quick button[aria-pressed="true"] { color: var(--cur-cb-ink); box-shadow: inset 0 0 0 1.5px var(--cur-cb-action); }
.cur-cb-ptotal { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; min-height: 64px; }
.cur-cb-pbig { display: grid; min-width: 0; }
.cur-cb-pbig b { min-height: 2.4rem; font: 800 2.2rem/1.1 var(--cur-cb-font-display); color: var(--cur-cb-ink); font-variant-numeric: tabular-nums; }
.cur-cb-pbig span { font: 500 .76rem/1.4 var(--cur-cb-font-readout); color: var(--cur-cb-mut); }
.cur-cb-pbadge { font: 600 .72rem/1 var(--cur-cb-font-readout); padding: 5px 9px; border-radius: var(--cur-cb-radius-tag); white-space: nowrap; }
.cur-cb-pbadge:empty { display: none; }
.cur-cb-pbadge[data-v="standard"] { color: var(--cur-cb-ok); box-shadow: inset 0 0 0 1px var(--cur-cb-ok); }
.cur-cb-pbadge[data-v="custom"] { color: var(--cur-cb-accent-text); box-shadow: inset 0 0 0 1px var(--cur-cb-accent-text); }
.cur-cb-pfacts { min-height: 2.8em; font-size: .84rem; line-height: 1.4; color: var(--cur-cb-mut); }
.cur-cb-perr { font-size: .88rem; color: var(--cur-cb-warn); }
.cur-cb-pmore summary { cursor: pointer; color: var(--cur-cb-accent-text); font-size: .86rem; }
.cur-cb-plines { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 10px 0 6px; font-size: .86rem; color: var(--cur-cb-body); }
.cur-cb-plines dd { margin: 0; font: 500 .84rem var(--cur-cb-font-readout); color: var(--cur-cb-ink); text-align: right; font-variant-numeric: tabular-nums; }
.cur-cb-plines dd[data-minus] { color: var(--cur-cb-ok); }
.cur-cb-pgst { font-size: .8rem; color: var(--cur-cb-mut); }
/* the flat board (drawings.py flat_board): what we make C, promises A, free tools B */
.cur-cb-fb { display: block; width: 100%; height: auto; }
.cur-cb-fb-sub { fill: var(--cur-cb-raised); stroke: var(--cur-cb-edge); stroke-width: 1; }
.cur-cb-fb-tr { fill: none; stroke: var(--cur-cb-accent-line); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.cur-cb-fb-pad { fill: var(--cur-cb-accent-line); }
.cur-cb-fb-hole { fill: var(--cur-cb-stage); }

/* Sample boards (What we make, every style; sections.make_gallery, owner 2026-11-28): real photos
   at web size, no link and no zoom. The boards in hand lead (below); the close-ups follow as one
   thin row of five swatches (owner 2026-11-29: the section ran ~1,350 px on a laptop), square on
   a phone, 2:1 from 760 px. */
.cur-cb-gal { margin: 40px 0 0; }
.cur-cb-gal-h { margin: 0 0 14px; font: 700 1.05rem/1.3 var(--cur-cb-font-ui); color: inherit; }
.cur-cb-gal-l { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.cur-cb-gal-l li { overflow: hidden; border-radius: calc(var(--cur-cb-radius-card) * .75); aspect-ratio: 1 / 1; background: var(--cur-cb-raised); }
@media (min-width: 760px) { .cur-cb-gal-l { gap: 10px; } .cur-cb-gal-l li { aspect-ratio: 2 / 1; } }
.cur-cb-gal-l img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cur-cb-gal-cap { margin: 12px 0 0; max-width: 70ch; font-size: .9rem; opacity: .85; }
/* the boards in hand: on a phone a strip that swipes, each photo 82% wide so the next one peeks
   in (it says "there is more"); from 760px a grid of three, nothing to swipe */
.cur-cb-gal-hand {
  list-style: none; margin: 0 0 10px; padding: 0; display: flex; gap: 10px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
}
.cur-cb-gal-hand::-webkit-scrollbar { display: none; }
.cur-cb-gal-hand:focus-visible { outline: 2px solid var(--cur-cb-focus); outline-offset: 2px; }
.cur-cb-gal-hand li {
  flex: 0 0 82%; scroll-snap-align: start; overflow: hidden; aspect-ratio: 4 / 3;
  border-radius: var(--cur-cb-radius-card); background: var(--cur-cb-raised);
}
.cur-cb-gal-hand img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 760px) {
  .cur-cb-gal-hand { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; }
}

/* ── the samples page (/samples, sections.samples_main, owner 2026-11-29) ─────────────────── */
.cur-cb-samples { padding-top: 40px; }
@media (min-width: 900px) { .cur-cb-samples { padding-top: 64px; } }
.cur-cb-samples .cur-cb-sub { max-width: 60ch; margin-top: 12px; }
.cur-cb-samples .cur-cb-gal { margin-top: 28px; }
.cur-cb-samples-go { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin: 32px 0 0; }
