/* Count only real buyers. Loaded after articles.css, for this article only.

   One picture carries the page: one launch week, counted twice. Each dot is one visit. Orange is what
   got into the count without being a real buyer: your own visits and test orders (full orange) and
   refunds (the lighter orange). People you know are rings, a neutral: real people, kept apart, never a
   leak. Strangers are solid ink, the only part that says anything about demand. Indigo appears once,
   as the decision that was not made on a false number.

   The dot stacks are drawn with a background pattern, so a block of 60 visits is one element whose
   height is its rows: --n visits / --cols dots a row x --p, the dot pitch. Phones draw five dots to a
   row instead of ten, so the stacks stand taller instead of shrinking. tool.js builds the reader's own
   bars from the same kind classes. */

.a-body p, .a-body li, .a-done span, .cb-cap, .a-rail li a > span, .a-hero .lead, .cb-strip p, .cb-strip figcaption { text-wrap: pretty; }

/* The reading picks up again after the picture: a rule says so. */
.a-sec[data-sec="why"] { border-top: 1px solid var(--rule); }

.cb-cap { font-size: 0.9375rem; line-height: 1.5; color: var(--ink-hint); }
.a-body .cb-pull { padding-block: 6px; font-family: var(--serif); font-size: clamp(1.5rem, 1.25rem + 1vw, 1.9rem); font-weight: 700; line-height: 1.18; letter-spacing: -0.012em; color: var(--ink); text-wrap: balance; }

@media (min-width: 641px) {
  .a-table { table-layout: fixed; }
  .a-table th:nth-child(1), .a-table td:nth-child(1) { width: 32%; }
  .a-table th:nth-child(2), .a-table td:nth-child(2) { width: 30%; }
}

/* The four kinds, as fills. The hatch is the neutral for people you know. */
.k-own { background: var(--lift); color: var(--ink); }
.k-ref { background: var(--lift-ring); color: var(--ink); }
.k-warm { background: repeating-linear-gradient(135deg, #CBD0E6 0 2px, #EEF0F8 2px 8px); color: var(--ink); }
.k-cold { background: var(--ink); color: #fff; }

/* ---------- The argument in one line, before anyone scrolls ---------- */
.cb-strip { margin: 34px 0 0; display: grid; gap: 12px; }
.cb-strip-top { font-size: 1rem; font-weight: 600; line-height: 1.35; color: var(--ink); }
.cb-strip-top b, .cb-strip-order b { font-family: var(--mono); font-weight: 600; color: var(--ink); }
.cb-strip-bar { display: flex; gap: 3px; height: clamp(80px, 10vw, 104px); }
.cb-strip-bar i { flex: var(--n) 0 0; display: flex; align-items: center; min-width: 0; padding-inline: clamp(10px, 2vw, 20px); font-style: normal; }
.cb-strip-bar i:first-child { border-radius: 12px 0 0 12px; }
.cb-strip-bar i:last-child { border-radius: 0 12px 12px 0; }
.cb-strip-bar span { font-size: 0.9375rem; font-weight: 600; line-height: 1.2; }
.cb-strip-bar b { display: block; font-family: var(--mono); font-size: clamp(1.45rem, 1.05rem + 2vw, 2.25rem); font-weight: 600; letter-spacing: -0.02em; }
.cb-strip-order { font-size: 1rem; line-height: 1.5; color: var(--ink-2); }
.cb-strip figcaption { font-size: 0.9375rem; line-height: 1.4; color: var(--ink-hint); }


/* ---------- The set piece ---------- */
.cb-fig {
  --p: 14px; --cols: 10; --dr: 4.6px; --de: 5.4px; --dri: 2.7px; --dri2: 3.4px;
  margin: 0; padding: clamp(16px, 2.6vw, 26px); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-float);
  display: grid; gap: 16px; min-width: 0;
}
.cb-head { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 12px; flex-wrap: wrap; }
.cb-head .eyebrow { color: var(--ink-hint); }
.cb-unit { font: 500 0.75rem/1.3 var(--mono); color: var(--ink-hint); }

.cb-panes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; min-width: 0; }
.cb-pane { display: grid; grid-template-rows: auto auto 1fr; gap: 10px; padding: clamp(12px, 2vw, 18px); border-radius: 16px; background: var(--paper); min-width: 0; }
.cb-ph { font-size: 0.9375rem; font-weight: 700; line-height: 1.25; color: var(--ink); }
.cb-nums { display: grid; gap: 2px; font-size: 0.9375rem; line-height: 1.3; color: var(--ink-2); }
.cb-nums b { font: 600 1.375rem/1.15 var(--mono); color: var(--ink); letter-spacing: -0.01em; }
.is-real .cb-nums .cb-now b { color: var(--ink); }

/* A block of dots: --n visits, --cols to a row. */
.cb-dots { display: block; width: calc(var(--cols) * var(--p)); height: calc(var(--n) / var(--cols) * var(--p)); background-size: var(--p) var(--p); background-repeat: repeat; font-style: normal; }
.cb-dots.d-own { background-image: radial-gradient(circle, var(--lift) var(--dr), transparent var(--de)); }
.cb-dots.d-warm { background-image: radial-gradient(circle, transparent var(--dri), var(--ink-3) var(--dri2), var(--ink-3) var(--dr), transparent var(--de)); }
.cb-dots.d-cold { background-image: radial-gradient(circle, var(--ink) var(--dr), transparent var(--de)); }

/* The left column: a label beside each block, the paid order on top. */
.cb-rows { align-self: end; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; row-gap: 4px; align-items: center; min-width: 0; }
.cb-rows .cb-order { grid-column: 1 / -1; margin-bottom: 2px; }
.cb-sl { font-size: 0.875rem; line-height: 1.3; color: var(--ink-2); }
.cb-sl b { display: block; font: 600 1rem/1.2 var(--mono); color: var(--ink); }
.cb-sl.is-own b { color: var(--lift-ink); }

/* The paid order: a small card on top of the stack. */
.cb-order { justify-self: start; display: grid; min-width: 0; }
.cb-order.is-own, .cb-order .is-own, .cb-order .is-none { display: grid; gap: 1px; padding: 7px 11px; border-radius: 10px; }
.cb-order.is-own, .cb-order .is-own { background: var(--lift-tint); box-shadow: inset 0 0 0 1.5px var(--lift); }
.cb-order .is-none { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.cb-order b { font-size: 0.875rem; font-weight: 700; line-height: 1.2; color: var(--ink); }
.cb-order small { font-size: 0.8125rem; line-height: 1.2; color: var(--ink-2); }
.cb-order.is-own small, .cb-order .is-own small { color: var(--lift-ink); }

/* The right column: what is left, and the people you know set beside it. What was taken out is named
   in the space it left, in the leak's colour, so the gap reads as a removal and not as empty paper. */
.cb-gone { grid-row: 3; grid-column: 1; align-self: start; padding: 8px 11px; border: 1.5px dashed var(--lift-ring); border-radius: 10px; font-size: 0.875rem; line-height: 1.35; color: var(--lift-ink); }
.cb-gone b { font-family: var(--mono); font-weight: 600; }
.is-real .cb-split { grid-row: 3; grid-column: 1; }
.cb-split { align-self: end; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: end; min-width: 0; }
.cb-main { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.cb-main > .cb-dots { margin-top: 4px; }
.cb-main > .cb-order { margin-bottom: 2px; }
.cb-apart { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cb-apart .cb-sl { order: -1; }

/* The two-state pieces: what the dashboard said, then what is left. Without JS only the second shows. */
.cb-flip { display: grid; }
.cb-flip > * { grid-area: 1 / 1; }
.cb-was { opacity: 0; visibility: hidden; }

.cb-saved { padding: 14px 18px; border-radius: 14px; background: var(--primary-deep); color: #E2E7FF; font-size: 1rem; line-height: 1.45; }
.cb-saved b { color: #fff; }
.cb-saved span { display: block; margin-top: 3px; font-size: 0.9375rem; color: #C3CCFF; }

.a-body .cb-key { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; font-size: 0.875rem; line-height: 1.3; color: var(--ink-2); }
.cb-key li { display: flex; align-items: center; gap: 7px; }
.cb-key i { width: 11px; height: 11px; border-radius: 50%; }
.cb-key .d-own { background: var(--lift); }
.cb-key .d-warm { box-shadow: inset 0 0 0 2px var(--ink-3); }
.cb-key .d-cold { background: var(--ink); }

/* Final state, and how it gets there: the founder's own dots fold away, the people they know move
   to the side, the order card turns over, and the decision lands in indigo. */
.is-real .cb-dots.is-out { height: 0; margin-top: 0; opacity: 0; }
.is-real .d-own.is-out { transition: height 0.75s var(--ease) 0.35s, margin-top 0.75s var(--ease) 0.35s, opacity 0.35s 0.75s; }
.is-real .d-warm.is-out { transition: height 0.6s var(--ease) 1.2s, margin-top 0.6s var(--ease) 1.2s, opacity 0.3s 1.5s; }
.cb-apart { transition: opacity 0.5s 1.45s, transform 0.6s var(--ease) 1.45s; }
.cb-flip > * { transition: opacity 0.3s 1.95s, visibility 0s 1.95s; }
.cb-saved { transition: opacity 0.6s var(--ease) 2.35s, transform 0.6s var(--ease) 2.35s; }
.cb-gone { transition: opacity 0.5s 1.9s; }
.is-armed:not(.is-cut) .cb-gone { opacity: 0; transition: none; }

.is-armed:not(.is-cut) .is-real .cb-dots.is-out { height: calc(var(--n) / var(--cols) * var(--p)); margin-top: 4px; opacity: 1; transition: none; }
.is-armed:not(.is-cut) .cb-apart { opacity: 0; transform: translateX(-10px); transition: none; }
.is-armed:not(.is-cut) .cb-was { opacity: 1; visibility: visible; transition: none; }
.is-armed:not(.is-cut) .cb-now { opacity: 0; visibility: hidden; transition: none; }
.is-armed:not(.is-cut) .cb-saved { opacity: 0; transform: translateY(8px); transition: none; }
.is-cut .cb-was { opacity: 0; visibility: hidden; }

/* ---------- Step 3: orders matched to payments ---------- */
.cb-match { margin: 0; padding: clamp(16px, 2.6vw, 24px); border-radius: 22px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule); display: grid; gap: 12px; min-width: 0; }
.cb-mh, .cb-ml li { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr) 9.5rem; gap: 14px; align-items: center; }
.cb-mh span { font-size: var(--t-eyebrow); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.3; color: var(--ink-hint); }
.a-body .cb-ml { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cb-ml li { padding: 0; }
.cb-ord { padding: 8px 10px; border-radius: 10px; background: var(--paper); font: 600 0.8125rem/1.3 var(--mono); color: var(--ink); white-space: nowrap; }
.cb-pay { position: relative; padding-left: 30px; font-size: 0.9375rem; line-height: 1.4; color: var(--ink); }
.cb-pay::before { content: ""; position: absolute; left: 0; top: 50%; width: 20px; height: 3px; margin-top: -1.5px; border-radius: 2px; background: var(--ink); }
.cb-kind { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; font-weight: 700; line-height: 1.25; color: var(--ink); }
.cb-kind::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 4px; background: var(--ink); }
.m-own .cb-pay::before, .m-own .cb-kind::before { background: var(--lift); }
.m-ref .cb-pay::before, .m-ref .cb-kind::before { background: var(--lift-ring); }
.m-warm .cb-pay::before { background: var(--ink-3); }
.m-warm .cb-kind::before { background: repeating-linear-gradient(135deg, #8E95B8 0 2px, var(--grid) 2px 5px); }
.cb-mr { padding-top: 12px; border-top: 1px solid var(--rule); font-size: 1rem; line-height: 1.45; color: var(--ink-2); }
.cb-mr b { font-family: var(--mono); font-weight: 600; color: var(--ink); }
.cb-mr span { color: var(--ink); font-weight: 600; }

/* ---------- Step 4: four trays, in order ----------
   One panel, four columns split by hairlines, a small arrow on each line between them. The last
   column is filled in ink: the same dark as the part of the count that is real. */
.cb-trays { margin: 0; display: grid; gap: 12px; min-width: 0; }
.cb-rule { font-size: 1rem; font-weight: 600; line-height: 1.4; color: var(--ink); }
.cb-tr { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule); min-width: 0; }
.cb-tr > div { position: relative; display: grid; grid-template-rows: auto 1fr; gap: 12px; align-content: start; padding: 16px 16px 18px; min-width: 0; }
.cb-tr > div + div { box-shadow: inset 1px 0 0 var(--rule); }
.cb-tr > div + div::before { content: ""; position: absolute; left: -5px; top: 20px; width: 8px; height: 8px; border-top: 2px solid var(--ink-3); border-right: 2px solid var(--ink-3); transform: rotate(45deg); }
/* Two lines' room for every title, so the four lists start on one line. */
.cb-th { display: flex; align-items: flex-start; gap: 8px; min-height: 2.5em; font-size: 0.9375rem; font-weight: 700; line-height: 1.25; color: var(--ink); }
.cb-th i { margin-top: 1px; }
.cb-th i { flex: none; width: 14px; height: 14px; border-radius: 4px; background: var(--ink); }
.cb-th span { flex: none; font: 600 0.8125rem/1.25 var(--mono); color: var(--ink-hint); }
.t-own .cb-th i { background: var(--lift); }
.t-ref .cb-th i { background: var(--lift-ring); }
.t-warm .cb-th i { background: repeating-linear-gradient(135deg, #8E95B8 0 2px, var(--grid) 2px 5px); }
.a-body .cb-tr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; align-content: start; font-size: 0.875rem; line-height: 1.4; color: var(--ink-2); }
.cb-tr li { padding-left: 12px; position: relative; }
.cb-tr li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 4px; height: 4px; border-radius: 50%; background: var(--ink-3); }
.a-body .t-cold ul { color: var(--ink); font-weight: 600; }
.t-cold li::before { background: var(--ink); }

/* ---------- Step 4: the counts ----------
   The one dark surface in the reading column, where the reader stops reading and does the thing. */
.cb-tool { padding: clamp(16px, 2.6vw, 26px); border-radius: 22px; background: var(--night); color-scheme: dark; display: grid; gap: 20px; min-width: 0; }
.a-body .cb-tool .fine { line-height: 1.5; color: var(--on-night-2); }
.cb-tool input {
  min-width: 0; width: 100%; padding: 0.6em 0.7em; border: 1px solid var(--night-line); border-radius: 10px;
  background: var(--night-2); color: var(--on-night); font: 500 1rem/1.3 var(--sans);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.cb-tool input::placeholder { color: var(--on-night-2); }
.cb-tool input[type="number"] { font-family: var(--mono); }
.cb-tool input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79, 108, 248, 0.25); }
.cb-name { display: grid; gap: 6px; max-width: 24rem; font-size: 0.8125rem; font-weight: 700; color: var(--on-night-2); }
/* The counts table: a row label, then the same five columns on every line. */
.cb-grid { display: grid; gap: 10px; min-width: 0; }
.cb-gh, .cb-row { display: grid; grid-template-columns: 6.5rem repeat(5, minmax(0, 1fr)); gap: 10px; align-items: center; min-width: 0; }
.cb-gh { align-items: end; padding-bottom: 2px; }
.cb-gh span { display: flex; align-items: flex-start; gap: 6px; font-size: 0.8125rem; font-weight: 700; line-height: 1.25; color: var(--on-night); }
.cb-gh span[class*="p-"]::before, .cb-f[class*="p-"] label::before, .cb-left span::before { content: ""; flex: none; width: 11px; height: 11px; margin-top: 2px; border-radius: 3px; }
.cb-gh .p-own::before, .cb-f.p-own label::before { background: var(--lift); }
.cb-gh .p-ref::before, .cb-f.p-ref label::before { background: var(--lift-ring); }
.cb-gh .p-warm::before, .cb-f.p-warm label::before { background: repeating-linear-gradient(135deg, var(--on-night-2) 0 2px, transparent 2px 5px); box-shadow: inset 0 0 0 1px var(--on-night-2); }
.cb-gh .p-cold::before, .cb-left span::before { background: #fff; }
.cb-rl { font-size: 0.9375rem; font-weight: 700; line-height: 1.25; color: var(--on-night); }
.cb-f { display: grid; gap: 6px; min-width: 0; }
.cb-left { display: grid; gap: 6px; min-width: 0; }
/* On a computer the header names the columns, so each field's own label stays for screen readers only. */
.cb-f label, .cb-left span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; color: var(--on-night); }
.a-body .cb-tool .cb-hint { font-size: 0.875rem; line-height: 1.45; color: var(--on-night-2); }
/* Same box as the fields beside it, so the row lines up: worked out, not typed, so no fill. */
.cb-left b { padding: 0.6em 0.7em; border: 1px dashed var(--night-line); border-radius: 10px; font: 700 1rem/1.3 var(--mono); color: #fff; }
.cb-left.is-neg b { border-style: solid; border-color: var(--on-night-2); }
.cb-warn { padding: 10px 14px; border-radius: 10px; background: var(--night-2); font-size: 0.9375rem; font-weight: 600; line-height: 1.45; color: var(--on-night); }
.cb-warn[hidden] { display: none; }
.cb-actions { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.cb-text { padding: 0.2em 0; border: 0; background: none; color: var(--on-night); font: 600 0.9375rem/1.2 var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cb-text:hover { color: #fff; }
.cb-tool button:focus-visible, .cb-sendbox button:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }

.cb-empty[hidden], .cb-listbox[hidden], .cb-sendbox[hidden] { display: none; }
.cb-empty { padding: 16px 18px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule); font-size: 1rem; line-height: 1.5; color: var(--ink-hint); }
.cb-tool .cb-empty { background: var(--night-2); box-shadow: none; color: var(--on-night-2); }

/* ---------- Step 5: the count, one kind at a time ---------- */
.cb-out { display: grid; gap: 14px; min-width: 0; }
/* One chart, four columns: the kind, what was taken out, the bar, what is left. Numbers are mono and
   right-aligned in their own columns; words are sans and left. */
.cb-res { --wcols: 13.5rem 6rem minmax(0, 1fr) 3.5rem; padding: clamp(16px, 2.6vw, 22px); border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule); display: grid; gap: 0; min-width: 0; }
.cb-wh { display: grid; grid-template-columns: var(--wcols); gap: 12px; padding-bottom: 8px; }
.cb-wh span { font-size: var(--t-eyebrow); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.3; color: var(--ink-hint); text-align: right; }
.cb-ws { display: grid; gap: 8px; padding-block: 14px; border-top: 1px solid var(--rule); }
.cb-ws:last-child { padding-bottom: 0; }
.cb-rh { font-size: 1.0625rem; font-weight: 700; line-height: 1.3; color: var(--ink); }
.a-body .cb-wf { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cb-wr { display: grid; grid-template-columns: var(--wcols); gap: 12px; align-items: center; min-width: 0; }
.cb-wl { font-size: 0.9375rem; line-height: 1.3; color: var(--ink-2); }
.cb-wo { font: 600 0.9375rem/1.3 var(--mono); text-align: right; color: var(--ink-hint); }
.cb-wr.is-own .cb-wo, .cb-wr.is-ref .cb-wo { color: var(--lift-ink); }
.cb-wr.is-warm .cb-wo { color: var(--ink-2); }
.cb-wr .cb-wo.is-none { color: var(--ink-hint); font-weight: 500; }
.cb-wt { position: relative; height: 22px; border-radius: 6px; background: var(--grid); min-width: 0; }
.cb-wt i { position: absolute; top: 0; bottom: 0; left: calc(var(--a) * 100%); width: calc(var(--w) * 100%); border-radius: 4px; }
.cb-wt i.is-r { background: #C9CEE5; }
.cb-wt i.is-p:not(.is-zero) { min-width: 3px; }
.cb-wn { font: 600 1rem/1.2 var(--mono); text-align: right; color: var(--ink); }
.cb-wr.is-last .cb-wl { color: var(--ink); font-weight: 700; }
.cb-wr.is-last .cb-wt i.is-r { background: var(--ink); }
.cb-wr.is-last .cb-wn { font-size: 1.25rem; }
.cb-wr.is-first .cb-wt i.is-r { background: #9EA5C6; }

/* The reading under the chart is text on the page, not another box. */
.cb-note { padding-left: 18px; border-left: 3px solid var(--ink); display: grid; gap: 10px; min-width: 0; }
.cb-note:empty { display: none; }
.cb-note h3 { font-size: 1.25rem; line-height: 1.2; color: var(--ink); }
.cb-note p { font-size: 1.0625rem; line-height: 1.55; color: var(--ink-2); overflow-wrap: anywhere; }
.cb-note p b { color: var(--ink); }
.cb-note .cb-ex { font-size: 0.9375rem; color: var(--ink-hint); }
.cb-sendbox { display: grid; gap: 10px; }
.cb-send { justify-self: start; }
.cb-sent { font-size: 0.9375rem; line-height: 1.5; color: var(--ink-hint); }

/* ---------- Step 6: the not-counted list ---------- */
.cb-build { padding: clamp(16px, 2.6vw, 24px); border-radius: 22px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule); display: grid; gap: 16px; min-width: 0; }
.cb-checks { margin: 0; padding: 0; border: 0; min-width: 0; }
.cb-checks legend { padding: 0 0 10px; font-size: 1rem; font-weight: 700; color: var(--ink); }
.cb-cl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cb-cl label { display: flex; align-items: center; gap: 9px; padding: 10px 12px; border-radius: 10px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule); font-size: 0.9375rem; font-weight: 600; line-height: 1.25; color: var(--ink); cursor: pointer; }
.cb-cl label:has(input:checked) { box-shadow: inset 0 0 0 2px var(--ink); background: var(--surface); }
.cb-cl input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.cb-in { display: grid; gap: 6px; font-size: 0.875rem; font-weight: 700; line-height: 1.3; color: var(--ink); min-width: 0; }
.cb-in input { width: 100%; min-width: 0; padding: 0.55em 0.7em; border: 1px solid var(--rule); border-radius: 10px; background: var(--paper); color: var(--ink); font: 500 1rem/1.3 var(--sans); }
.cb-in input::placeholder { color: var(--ink-hint); }
.cb-in input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79, 108, 248, 0.25); }
.cb-build > .cb-in { max-width: 24rem; }
.cb-pair { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 12px 14px; }
.a-body .cb-build .fine { line-height: 1.5; color: var(--ink-hint); }
/* The list sits on the page, not inside the card above it: the full column width for its lines. */
.cb-listbox { display: grid; gap: 8px; min-width: 0; }
.cb-listnote { font-size: 0.9375rem; line-height: 1.45; color: var(--ink-hint); }
.cb-listnote[hidden] { display: none; }
.cb-listbox .a-code.is-tall pre { max-height: none; white-space: pre-wrap; overflow-wrap: anywhere; }

/* ---------- Phones ----------
   The dot stacks keep their pairing side by side and stand taller: five dots a row. */
@media (max-width: 640px) {
  .cb-strip-bar { height: auto; min-height: 96px; }
  .cb-strip-bar i { padding-block: 10px; padding-inline: 9px; }
  .cb-strip-bar span { font-size: 0.8125rem; }
  .cb-strip-bar .k-warm span { padding: 4px 6px; }

  .cb-fig { --p: 11px; --cols: 5; --dr: 3.6px; --de: 4.3px; --dri: 2px; --dri2: 2.6px; }
  .cb-panes { gap: 8px; }
  .cb-pane { padding: 10px; gap: 8px; }
  .cb-ph { font-size: 0.8125rem; }
  .cb-nums { font-size: 0.8125rem; }
  .cb-nums b { font-size: 1.125rem; }
  .cb-rows { column-gap: 8px; }
  .cb-sl { font-size: 0.75rem; line-height: 1.25; }
  .cb-sl b { font-size: 0.875rem; }
  .cb-split { column-gap: 8px; }
  .cb-long { display: none; }
  .cb-order.is-own, .cb-order .is-own, .cb-order .is-none { padding: 6px 8px; }
  .cb-order b { font-size: 0.75rem; }
  .cb-order small { font-size: 0.6875rem; }
  .cb-saved { padding: 12px 14px; font-size: 0.9375rem; }

  .cb-mh { display: none; }
  .cb-ml li { grid-template-columns: minmax(0, auto) minmax(0, 1fr); gap: 8px 12px; padding: 12px; border-radius: 12px; background: var(--paper); }
  .cb-ord { grid-row: 1; background: var(--surface); }
  .cb-kind { grid-row: 1; grid-column: 2; justify-self: end; }
  .cb-pay { grid-column: 1 / -1; }

  .cb-tr { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cb-tr > div { padding: 13px 12px 15px; }
  .cb-tr > div + div::before { display: none; }
  .cb-tr > div:nth-child(3) { box-shadow: inset 0 1px 0 var(--rule); }
  .cb-tr > div:nth-child(4) { box-shadow: none; }

  .cb-grid { gap: 22px; }
  .cb-gh, .cb-na { display: none; }
  .cb-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: end; }
  .cb-rl { grid-column: 1 / -1; font-size: var(--t-eyebrow); letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-night-2); }
  .cb-f label, .cb-left span { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; display: flex; align-items: flex-start; gap: 7px; font-size: 0.8125rem; font-weight: 700; line-height: 1.25; color: var(--on-night); }
  .cb-row.is-orders .cb-left { grid-column: 1 / -1; }

  .cb-res { --wcols: minmax(0, 1fr) 3.75rem 3rem; }
  .cb-wh span:nth-child(3) { display: none; }
  .cb-wr { gap: 5px 10px; }
  .cb-wt { grid-column: 1 / -1; grid-row: 2; height: 16px; }
  .cb-wl, .cb-wo { font-size: 0.875rem; }

  .cb-cl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cb-pair { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 360px) {
  .cb-fig { --p: 10px; --dr: 3.3px; --de: 4px; --dri: 1.8px; --dri2: 2.4px; }
  .cb-cl { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .cb-dots, .cb-apart, .cb-flip > *, .cb-saved, .cb-tool input { transition: none !important; }
}
