/* IR4: its site and its back office, drawn on its own (13 November 2026). One sheet for every board.
   The look is the one approved on 8 November 2026: brass and ink on paper, Bricolage Grotesque for headings,
   Instrument Sans for words, IBM Plex Mono for small labels, and the wordmark's brass bar where a part begins. */

:root {
  --ink: #14181e; --soft: #4a5160; --quiet: #5d6472; --ground: #f4f5f3; --paper: #ffffff; --line: #e0e2df;
  --brass: #c98b2e; --brass-deep: #b97d24; --brass-text: #8a5b14; --wash: #f7efe2;
  --night: #14181e; --night-2: #1d222b; --night-line: #2c323c; --on-night: #e2a952; --night-words: #c9ccd1;
  --good: #1d6a48; --good-wash: #e2f1e9; --bad: #a2322b; --bad-wash: #f8e5e2; --blue: #28558c; --blue-wash: #e4edf7;
  --display: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --cut: 14px;
  --lift: 0 1px 2px rgba(20, 24, 30, 0.05), 0 10px 28px rgba(20, 24, 30, 0.07);
}

.ir4 { font: 400 16px/1.55 var(--body); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
.ir4 *, .ir4 *::before, .ir4 *::after { box-sizing: border-box; }
/* the reset carries no weight, so every part's own spacing and colour wins over it */
:where(.ir4) :where(h1, h2, h3, h4, p, ul, ol, figure, dl, dd, blockquote) { margin: 0; padding: 0; }
:where(.ir4) :where(ul, ol) { list-style: none; }
:where(.ir4) :where(h1, h2, h3) { font-family: var(--display); letter-spacing: -0.02em; line-height: 1.08; font-weight: 700; }
:where(.ir4 a) { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
:where(.ir4) :where(b, strong) { font-weight: 650; }
.ir4 svg { flex: none; }
.ir4 .ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ------------------------------------------------------------------ shared pieces */

.wm { display: inline-flex; align-items: center; gap: 0.16em; font: 800 30px/1 var(--display); letter-spacing: -0.045em; color: var(--ink); text-decoration: none; }
.wm::after { content: ""; width: 0.24em; height: 0.8em; background: var(--brass); }
.label { display: flex; align-items: center; gap: 12px; font: 500 12px/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-text); }
.label::before { content: ""; flex: none; width: 26px; height: 3px; background: var(--brass); border-radius: 2px; }
.tag { font: 500 11.5px/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-text); }
.lede { font-size: 1.2rem; line-height: 1.55; color: var(--soft); }
.quiet { color: var(--quiet); }
.small { font-size: 0.875rem; }
.num { font-variant-numeric: tabular-nums; }
.right { text-align: right; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; font: 650 1rem/1.2 var(--body); color: var(--ink); background: var(--paper); border: 1.5px solid var(--ink); border-radius: 10px; text-decoration: none; cursor: pointer; }
.btn--go { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.btn--small { min-height: 44px; padding: 8px 14px; font-size: 0.9rem; }
.btn--plain { border-color: var(--line); }
.acts { display: flex; flex-wrap: wrap; gap: 12px; }

.card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--cut); box-shadow: var(--lift); padding: 28px; }
.card--tab::before { content: ""; position: absolute; top: -1px; left: 28px; width: 44px; height: 4px; background: var(--brass); border-radius: 0 0 3px 3px; }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; font-size: 0.8rem; font-weight: 600; line-height: 1.4; border-radius: 999px; background: var(--ground); color: var(--soft); white-space: nowrap; }
.pill--brass { background: var(--wash); color: var(--brass-text); }
.pill--good { background: var(--good-wash); color: var(--good); }
.pill--bad { background: var(--bad-wash); color: var(--bad); }
.pill--blue { background: var(--blue-wash); color: var(--blue); }
.pill--ink { background: var(--ink); color: #ffffff; }

/* where a fact came from: told to us, seen by us, or guessed */
.src { display: inline-block; padding: 1px 7px; font: 500 10.5px/1.5 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; border-radius: 4px; border: 1px solid var(--line); color: var(--soft); background: var(--paper); white-space: nowrap; }
.src--told { border-color: var(--good); color: var(--good); }
.src--seen { border-color: var(--blue); color: var(--blue); }
.src--guess { border-style: dashed; border-color: var(--brass-text); color: var(--brass-text); }

/* ------------------------------------------------------------------ the public site */

.wrap { width: 100%; max-width: 1208px; margin-inline: auto; padding-inline: 24px; }
.top { border-bottom: 1px solid var(--line); background: var(--paper); }
.top__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; padding-block: 18px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 26px; font-weight: 550; }
.nav a { text-decoration: none; padding-block: 11px; }
.part { padding: 96px 0; }
.part--paper { background: var(--ground); }
.part--night { background: var(--night); color: var(--night-words); }
.part--night h2, .part--night b { color: #ffffff; }
.part--night .label { color: var(--on-night); }
.part h2 { font-size: clamp(1.7rem, 2.8vw, 2.35rem); }
.part h3 { font-size: 1.1rem; line-height: 1.3; font-weight: 650; letter-spacing: -0.005em; }
.part__head { max-width: 46rem; margin-bottom: 44px; }
.part__head h2 { margin-top: 14px; }
.part__head .lede { margin-top: 16px; }
.note { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 0.875rem; color: var(--quiet); }
.note::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--brass); }

.hero { padding: 84px 0 96px; background: var(--ground); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.hero h1 { margin-top: 18px; font-size: clamp(2.3rem, 4.4vw, 3.6rem); line-height: 1.04; }
.hero .lede { margin-top: 20px; max-width: 36rem; }
.hero .acts { margin-top: 30px; }

/* a little browser window, for a site before and after */
.win { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--lift); }
.win__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: var(--ground); border-bottom: 1px solid var(--line); font: 500 11px/1 var(--mono); color: var(--quiet); }
.win__bar i { width: 8px; height: 8px; border-radius: 50%; background: #c5c8c3; }
.win__bar span { margin-left: 8px; }
.win__body { padding: 16px 18px; }
.then { display: grid; grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1.12fr); gap: 14px; align-items: center; }
.then__go { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--brass); color: var(--ink); }
.then h3 { font: 700 1.05rem/1.2 var(--display); }
.then .win--was { box-shadow: none; }
.then .win--was .win__body { color: var(--quiet); }
.stub { display: grid; gap: 7px; margin-top: 12px; font-size: 0.85rem; }
.stub li { padding: 8px 11px; border: 1px dashed #c5c8c3; border-radius: 8px; }
.does { display: grid; gap: 0; margin-top: 12px; }
.does li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 0.9rem; font-weight: 550; }
.does li:first-child { border-top: 0; }
.does .pill { font-size: 0.72rem; }

.adds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 40px; }
.adds li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; }
.adds__mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--wash); color: var(--brass-text); }
.adds b { display: block; margin-bottom: 4px; line-height: 1.35; }
.adds span { font-size: 0.95rem; color: var(--soft); }

.draw { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 64px; align-items: start; }
.draw__steps { display: grid; gap: 22px; margin-top: 34px; counter-reset: draw; }
.draw__steps li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 16px; counter-increment: draw; }
.draw__steps li::before { content: counter(draw); display: grid; place-items: center; width: 36px; height: 36px; font: 700 1rem/1 var(--display); border: 2px solid var(--ink); border-radius: 50%; background: var(--paper); }
.draw__steps li:first-child::before { background: var(--brass); border-color: var(--brass); }
.draw__steps span { display: block; font-size: 0.95rem; color: var(--soft); }
.form { display: grid; gap: 16px; }
/* one column no wider than the label, or a date box keeps its own width and spills from a narrow one */
.form label { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; font-weight: 600; font-size: 0.95rem; }
.form input, .form select, .form textarea { width: 100%; min-height: 48px; padding: 10px 14px; font: 400 1rem/1.4 var(--body); color: var(--ink); background: var(--paper); border: 1.5px solid #9aa0aa; border-radius: 10px; }
.form small { font-weight: 400; color: var(--quiet); }
.form .pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: end; }
.form .tick { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; }
.form .tick input { flex: none; width: 22px; min-height: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--ink); }
.form .tick span { display: grid; gap: 2px; }
.kinds { display: grid; grid-template-columns: repeat(auto-fit, minmax(196px, 1fr)); gap: 12px; }
.kind { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 4px 10px; align-items: start; padding: 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); cursor: pointer; }
.kind input { width: 20px; height: 20px; min-height: 20px; margin: 2px 0 0; accent-color: var(--ink); }
.kind b { line-height: 1.3; }
.kind span { grid-column: 2; font-size: 0.85rem; color: var(--soft); }
.kind:has(input:checked) { border-color: var(--ink); background: #fdfaf4; }

.talk { display: grid; gap: 8px; margin-top: 34px; padding: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--cut); }
.talk span { color: var(--soft); }
.talk .acts { margin-top: 6px; }
.later a { display: table; margin-top: 12px; font-weight: 600; }
.plain { display: grid; gap: 0; counter-reset: plain; }
.plain li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); counter-increment: plain; }
.plain li:first-child { border-top: 0; }
.plain li::before { content: counter(plain); font: 700 1.2rem/1.3 var(--display); color: var(--brass-text); }
.find { min-height: 44px; width: 220px; max-width: 100%; padding: 8px 14px; font: 400 0.95rem/1.4 var(--body); color: var(--ink); background: var(--paper); border: 1.5px solid #9aa0aa; border-radius: 10px; }
.pack h3 { margin: 18px 0 6px; font: 700 0.95rem/1.3 var(--display); letter-spacing: -0.005em; }
.pack ol { display: grid; gap: 4px; padding-left: 1.25rem; list-style: decimal; color: var(--soft); }
.pack p { color: var(--soft); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: step; }
.steps li { position: relative; padding-top: 26px; border-top: 2px solid var(--line); counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; top: -17px; left: 0; display: grid; place-items: center; width: 32px; height: 32px; font: 700 0.95rem/1 var(--display); border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); color: var(--ink); }
.steps li:first-child::before { background: var(--brass); border-color: var(--brass); }
.steps .tag { display: block; margin-bottom: 8px; }
.steps p { margin-top: 6px; font-size: 0.95rem; color: var(--soft); }

.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 72px; align-items: start; }
.promise li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 14px; padding: 22px 0; border-top: 1px solid var(--night-line); }
.promise li:first-child { border-top: 0; padding-top: 0; }
.promise i { grid-row: span 2; font: 700 1.6rem/1 var(--display); font-style: normal; color: var(--on-night); }
.promise b { font-size: 1.05rem; }
.behind { display: grid; gap: 16px; }
.behind li { padding: 22px; background: var(--ground); border-radius: var(--cut); }
.behind b { display: block; margin-bottom: 6px; }
.behind span { font-size: 0.95rem; color: var(--soft); }
.hole { padding: 28px; border: 2px dashed #b9bdb7; border-radius: var(--cut); color: var(--quiet); background: var(--paper); }
.then figcaption { grid-column: 1 / -1; margin-top: 6px; font-size: 0.82rem; color: var(--quiet); text-align: center; }
.band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 32px 36px; border-radius: var(--cut); background: var(--night); color: var(--night-words); }
.band h2 { color: #ffffff; font-size: 1.6rem; }
.band p { margin-top: 6px; max-width: 34rem; }
.band .btn:not(.btn--go) { background: transparent; color: #ffffff; border-color: #7d8490; }
.foot { padding: 40px 0; background: var(--ground); border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--quiet); }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }

/* a pitch: their own site, drawn in their own colours, so nothing here is IR4's brass */
.theirs { --t: #2f6f62; --t-wash: #e4f0ec; --t-ink: #173a33; }
.boards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 0.52fr); gap: 24px; align-items: start; }
.boards figcaption { margin-top: 12px; font-size: 0.9rem; color: var(--soft); }
.boards figcaption b { display: block; color: var(--ink); }
.mock { font-size: 13px; line-height: 1.45; }
.mock__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; background: var(--t-ink); color: #ffffff; font-weight: 650; }
.mock__top small { font-weight: 400; opacity: 0.85; }
.mock__body { padding: 14px; display: grid; gap: 10px; }
.mock h4 { font: 700 15px/1.25 var(--display); letter-spacing: -0.01em; }
.mock__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; }
.mock__row small { color: var(--quiet); }
.mock__chip { padding: 2px 8px; font-size: 11px; font-weight: 600; border-radius: 999px; background: var(--t-wash); color: var(--t-ink); white-space: nowrap; }
.mock__chip--off { background: var(--ground); color: var(--quiet); }
.mock__go { display: block; padding: 9px; text-align: center; font-weight: 650; border-radius: 8px; background: var(--t); color: #ffffff; }
.phone { border: 6px solid var(--ink); border-radius: 26px; overflow: hidden; background: var(--paper); box-shadow: var(--lift); }
.noticed { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.noticed li { padding: 20px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--cut); }
.noticed b { display: block; margin-bottom: 4px; }
.noticed span { font-size: 0.95rem; color: var(--soft); }
.first { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 40px; align-items: start; }
.ticks { display: grid; gap: 12px; margin-top: 18px; }
.ticks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; }
.ticks .ico { margin-top: 3px; color: var(--brass-text); stroke-width: 2.2; }
.price { display: grid; gap: 0; }
.price div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.price div:first-child { border-top: 0; padding-top: 0; }
.price dt { color: var(--soft); }
.price dd { font: 700 1.25rem/1.2 var(--display); white-space: nowrap; }
.price small { font: 400 0.8rem/1.3 var(--body); color: var(--quiet); }
.later { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.later li { padding: 22px; border: 1px solid var(--line); border-radius: var(--cut); background: var(--paper); }
.later b { display: block; margin: 8px 0 4px; }
.later span { font-size: 0.95rem; color: var(--soft); }

/* ------------------------------------------------------------------ the back office */

.app { display: flex; flex-wrap: wrap; align-items: stretch; background: var(--ground); font-size: 15px; }
.side { flex: 1 1 232px; max-width: 100%; padding: 22px 16px 28px; background: var(--night); color: var(--night-words); }
.side .wm { color: #ffffff; font-size: 26px; margin: 0 8px 6px; }
.side__who { margin: 0 8px 22px; font-size: 0.8rem; color: #9aa0aa; }
.side h2 { margin: 22px 8px 6px; font: 500 10.5px/1.4 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: #9aa0aa; }
.side nav a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 8px 10px; border-radius: 8px; color: var(--night-words); text-decoration: none; font-weight: 550; }
.side nav a span { display: flex; align-items: center; gap: 10px; }
.side nav a[aria-current] { background: var(--night-2); color: #ffffff; box-shadow: inset 3px 0 0 var(--brass); }
.side nav a em { font: 500 12px/1 var(--mono); font-style: normal; color: var(--on-night); }
.main { flex: 999 1 560px; min-width: 0; padding: 30px 36px 56px; }
.crumb { font-size: 0.85rem; color: var(--quiet); }
.head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin: 6px 0 24px; }
.head h1 { font-size: 2rem; }
.head p { margin-top: 6px; color: var(--soft); }
.head .acts { align-items: center; }

.figs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
.figs--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fig { padding: 18px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--cut); }
.fig dt { font: 500 11px/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--quiet); }
.fig dd { margin-top: 6px; font: 700 1.9rem/1.1 var(--display); letter-spacing: -0.02em; }
.fig dd small { font: 500 0.95rem/1 var(--body); color: var(--quiet); letter-spacing: 0; }
.fig p { margin-top: 6px; font-size: 0.85rem; color: var(--soft); }
.meter { height: 8px; margin-top: 10px; border-radius: 999px; background: var(--ground); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 999px; background: var(--brass); }
.meter--ink i { background: var(--ink); }

.grid2 { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.grid2--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.stack { display: grid; gap: 24px; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--cut); }
.panel__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; padding: 16px 20px 12px; }
.panel__head h2 { font: 700 1.1rem/1.25 var(--display); letter-spacing: -0.01em; }
.panel__head p, .panel__head a { font-size: 0.85rem; color: var(--quiet); }
.panel__body { padding: 4px 20px 20px; }
.panel__foot { padding: 12px 20px; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--quiet); }

/* a list whose every line leads to its record. The end of a line takes two fifths of it at most: left to take
   what its words want, a long one leaves the name beside it no width at all */
.rows > li { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 76px minmax(0, 1fr) fit-content(40%); gap: 4px 16px; align-items: center; min-height: 60px; padding: 12px 20px; text-decoration: none; }
.row--plain { grid-template-columns: minmax(0, 1fr) fit-content(40%); }
.row__when { font: 500 12px/1.3 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--quiet); }
.row__what b { display: block; line-height: 1.35; }
.row__what span { display: block; font-size: 0.875rem; color: var(--soft); }
.row__end { display: flex; align-items: center; gap: 10px; font-size: 0.875rem; color: var(--soft); text-align: right; }
.row__end .ico { width: 18px; height: 18px; color: var(--quiet); }
.row--late .row__when, .row--late .row__end time { color: var(--bad); }

.table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.table th { padding: 10px 12px; font: 500 10.5px/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; text-align: left; color: var(--quiet); border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px; border-top: 1px solid var(--line); vertical-align: middle; }
.table tr:first-child td { border-top: 0; }
.table th:first-child, .table td:first-child { padding-left: 20px; }
.table th:last-child, .table td:last-child { padding-right: 20px; }
.table th.right, .table td.right { text-align: right; }
.table .num { white-space: nowrap; }
.table td b { display: block; }
.table td small { color: var(--quiet); font-size: 0.82rem; }
.table a { text-decoration: none; }
.scroll { overflow-x: auto; }

/* something written for IR4 to check, change and send itself: never sent as it is */
.draft { padding: 16px 18px; border: 1.5px dashed var(--brass-text); border-radius: 12px; background: #fdfaf4; }
.draft__tag { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; font: 500 10.5px/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass-text); }
.draft p + p { margin-top: 8px; }
.draft h3 { margin: 18px 0 8px; font: 700 1rem/1.3 var(--display); letter-spacing: -0.01em; }
.draft .say { background: var(--paper); border: 1px solid var(--line); }
.draft .say + .say { margin-top: 8px; }
.draft .kv { padding-bottom: 4px; }
.draft .acts { margin-top: 14px; }
.say { padding: 12px 16px; border-radius: 12px; background: var(--ground); font-size: 0.95rem; }
.say cite { display: block; margin-top: 6px; font-size: 0.8rem; font-style: normal; color: var(--quiet); }
.facts { display: grid; gap: 0; }
.facts li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--line); }
.facts li:first-child { border-top: 0; }
.kv { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 18px; font-size: 0.9rem; }
.kv dt { color: var(--quiet); }
.tabs { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-bottom: 24px; border-bottom: 1px solid var(--line); font-weight: 600; }
.tabs a { padding: 12px 0; text-decoration: none; color: var(--soft); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs a[aria-current] { color: var(--ink); border-bottom-color: var(--brass); }

/* the pipeline: a column a stage */
.stages { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; align-items: start; }
.stage__head { padding: 0 4px 10px; border-bottom: 3px solid var(--line); margin-bottom: 12px; }
.stage--now .stage__head { border-bottom-color: var(--brass); }
.stage__head h2 { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font: 700 1rem/1.25 var(--display); letter-spacing: -0.01em; }
.stage__head h2 span { font: 500 12px/1 var(--mono); color: var(--quiet); }
.stage__head p { margin-top: 4px; font-size: 0.78rem; line-height: 1.4; color: var(--quiet); min-height: 2.8em; }
.stage ul { display: grid; gap: 10px; }
.lead { display: grid; gap: 6px; padding: 12px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; font-size: 0.875rem; }
.lead b { line-height: 1.3; }
.lead small { color: var(--quiet); font-size: 0.8rem; }
.lead__next { padding-top: 6px; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--soft); }
.lead__next time { font-weight: 650; color: var(--ink); }
.lead--late .lead__next time { color: var(--bad); }
.more { padding: 10px 14px; font-size: 0.8rem; color: var(--quiet); border: 1px dashed #c5c8c3; border-radius: 12px; text-decoration: none; display: block; }

/* bars drawn from plain boxes */
.chart { border-top: 2px dashed var(--brass-text); }
.chart__line { padding-top: 6px; font: 500 11px/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass-text); }
.bars { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 14px; height: 236px; }
.bars li { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; text-align: center; font: 500 11px/1.3 var(--mono); color: var(--quiet); }
.bars li b { display: block; font: 650 0.85rem/1.2 var(--body); color: var(--ink); }
.bars__col { display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; }
.bars__col i { display: block; border-radius: 4px 4px 0 0; background: var(--ink); }
.bars__col i + i { border-radius: 0; }
.bars__col .is-build { background: #d9c7a4; }
.bars__col .is-month { background: var(--brass); }
.key { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.82rem; color: var(--soft); }
.key i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 2px; background: var(--ink); }
.hbar { display: grid; grid-template-columns: 132px minmax(0, 1fr) 72px; gap: 12px; align-items: center; padding: 8px 0; font-size: 0.875rem; }
.hbar b { text-align: right; }
.hbar--wide { grid-template-columns: 210px minmax(0, 1fr) 96px; }
.hbar__track { height: 10px; border-radius: 999px; background: var(--ground); overflow: hidden; }
.hbar__track i { display: block; height: 100%; border-radius: 999px; background: var(--ink); }
.ladder { display: flex; align-items: center; gap: 3px; }
.ladder i { width: 14px; height: 8px; border-radius: 2px; background: var(--line); }
.ladder i.on { background: var(--brass); }
.ladder i.next { background: transparent; border: 1.5px dashed var(--brass-text); }

/* ------------------------------------------------------------------ the third pass */

/* on a phone the links wait behind a Menu button, so the header is one line */
.nav__menu, .side__menu, .narrow, .stick { display: none; }

.form .chips { display: flex; flex-wrap: wrap; gap: 10px; }
.form .chip { display: inline-flex; grid-template-columns: none; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1.5px solid #9aa0aa; border-radius: 999px; background: var(--paper); font-weight: 600; font-size: 0.95rem; cursor: pointer; }
.form .chip input { width: 18px; height: 18px; min-height: 18px; margin: 0; padding: 0; accent-color: var(--ink); }
.form .chip:has(input:checked) { border-color: var(--ink); background: var(--wash); }
.form fieldset { margin: 0; padding: 0; border: 0; display: grid; gap: 10px; }
.form legend { padding: 0; font-weight: 600; font-size: 0.95rem; }
.form .later-step { display: grid; gap: 16px; padding-top: 16px; border-top: 1px dashed #c5c8c3; opacity: 0.6; }

.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.faq div { padding: 22px 0; border-top: 1px solid var(--line); }
.faq dt { font-weight: 650; font-size: 1.05rem; line-height: 1.35; }
.faq dd { margin-top: 6px; color: var(--soft); }

.gate { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 12px; align-items: end; margin-top: 28px; padding: 22px; background: var(--ground); border-radius: var(--cut); }
.gate p { grid-column: 1 / -1; }

.strip { background: var(--night); color: #ffffff; font-size: 0.9rem; }
.strip__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 16px; padding-block: 10px; }
.strip a { color: var(--on-night); font-weight: 600; }
.from { margin-top: 16px; font-weight: 600; }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.calc__sum { padding: 30px; border-radius: var(--cut); background: var(--night); color: var(--night-words); }
.calc__sum b { display: block; margin: 6px 0 10px; font: 700 clamp(2.2rem, 4vw, 3.2rem)/1.05 var(--display); letter-spacing: -0.02em; color: #ffffff; }
.calc__sum .tag { color: var(--on-night); }
.proof { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

.shade { display: grid; place-items: center; padding: 28px; background: rgba(20, 24, 30, 0.62); }

/* ------------------------------------------------------------------ narrower */

@media (max-width: 860px) {
  .part { padding: 60px 0; }
  .hero { padding: 44px 0 60px; }
  .hero__grid, .draw, .two, .first, .grid2, .grid2--even, .grid3 { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .then { grid-template-columns: minmax(0, 1fr); }
  .then__go { transform: rotate(90deg); margin-inline: auto; }
  .adds, .noticed, .later, .steps, .boards { grid-template-columns: minmax(0, 1fr); }
  .steps { gap: 34px; }
  .nav { gap: 0 18px; font-size: 0.95rem; }
  .card { padding: 22px; }
  .acts .btn { flex: 1 1 100%; }
  .main { padding: 22px 16px 40px; }
  .side { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex: 1 1 100%; padding: 12px 16px; }
  .side .wm { margin: 0; }
  .side__who, .side nav { display: none; }
  .side__menu { display: inline-flex; background: transparent; color: #ffffff; border-color: #7d8490; }
  .top__in { flex-wrap: nowrap; }
  .nav { flex-wrap: nowrap; gap: 8px; }
  .nav > a:not(.btn) { display: none; }
  .nav__menu { display: inline-flex; }
  .wide { display: none; }
  .narrow { display: inline; }
  .faq, .calc, .proof, .gate { grid-template-columns: minmax(0, 1fr); }
  .stick { display: flex; gap: 12px; padding: 12px 16px; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(20, 24, 30, 0.08); }
  .stick .btn { flex: 1 1 auto; }
  .head h1 { font-size: 1.6rem; }
  .figs, .figs--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .fig dd { font-size: 1.5rem; }
  .row { grid-template-columns: minmax(0, 1fr); padding: 12px 16px; }
  .row__end { justify-content: flex-start; text-align: left; }
  .stages { grid-template-columns: minmax(0, 1fr); }
  .stage__head p { min-height: 0; }
  .phone { max-width: 240px; }
}

/* What the app adds to the mock's own sheet (look.css, kept as the mock has it): the three faces, served from here,
   and the few things a working page needs that a drawing did not. */

@font-face { font-family: "Bricolage Grotesque"; src: url("/static/fonts/bricolage-grotesque.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/static/fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/static/fonts/ibm-plex-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

body { margin: 0; background: var(--ground); }
/* Something marked hidden stays hidden, whatever its own display says: the browser's rule for it is weaker than any
   class that sets a display (from the review of pull request 14). */
[hidden] { display: none !important; }
.app { min-height: 100vh; }
.side__out { margin: 28px 8px 0; }
.side__out .btn { background: transparent; color: #ffffff; border-color: #7d8490; }
.side__version { margin: 18px 8px 0; font: 500 11px/1.5 var(--mono); color: #9aa0aa; overflow-wrap: anywhere; }
.words { white-space: pre-wrap; overflow-wrap: anywhere; }
.kv dd { overflow-wrap: anywhere; }
/* a contact known only by an email address has one long word for a name, which must not widen its column */
.stage ul, .stack { grid-template-columns: minmax(0, 1fr); }
.lead { overflow-wrap: anywhere; }
.quietly { min-height: 44px; padding: 0 4px; font: inherit; font-size: 0.8rem; color: var(--quiet); background: none; border: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.row form { margin: 0; }
.row .btn--small { min-height: 36px; padding: 6px 12px; font-size: 0.85rem; }
.panel > details > summary { padding: 14px 20px; font-weight: 600; cursor: pointer; border-top: 1px solid var(--line); }
.panel > details[open] > summary { border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.panel > details > form { padding: 0 20px 20px; }
.form .three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: end; }
.draft dl.kv { margin-bottom: 4px; }
.alone { max-width: 28rem; margin: 12vh auto 0; padding: 0 16px; }
.alone .wm { margin-bottom: 24px; }

/* The public site. */
.public { background: var(--paper); }
.pot { position: absolute; left: -200vw; }
.talk > summary { display: grid; gap: 8px; cursor: pointer; }
.talk[open] > summary { margin-bottom: 14px; }
.prose { max-width: 42rem; }
.prose h2 { margin-top: 36px; font-size: 1.35rem; }
.prose p, .prose ul { margin-top: 12px; }
.prose li { margin-top: 6px; }
.share { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: baseline; padding: 10px 20px; border-top: 1px solid var(--line); }
.share .meter { grid-column: 1 / -1; }

@media (max-width: 860px) {
  .side { flex-wrap: wrap; }
  .side--open nav { display: grid; flex: 1 1 100%; margin-top: 8px; }
  .side__out, .side__version { display: none; }
  .side--open .side__out, .side--open .side__version { display: block; flex: 1 1 100%; margin: 8px 0 0; }
  .form .three { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .top--open .top__in { flex-wrap: wrap; }
  .top--open .nav { flex-wrap: wrap; }
  .top--open .nav > a:not(.btn) { display: block; flex: 1 1 100%; order: 2; }
}

/* Our work (/work), from its mock of 14 November 2026 (in the specification). The front page's look, with an example
   that moves beside each piece of work: an enquiry played through on a phone while the diary fills, certificates sent
   one by one, an event's three limits counted, a month of posts approved, and a week's visits shown on its bar. At
   rest each shows its end. */
:root { --chat: #eceee9; }
.wk-cur { text-decoration: underline; text-decoration-color: var(--brass); text-decoration-thickness: 3px; text-underline-offset: 9px; }
.wk-hero { padding: 72px 0 88px; background: var(--ground); }
.wk-hero__grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.wk-hero h1 { margin-top: 18px; font-size: clamp(2.3rem, 4.2vw, 3.45rem); line-height: 1.04; text-wrap: balance; }
.wk-hero .lede { margin-top: 20px; max-width: 34rem; }
.wk-hero .acts { margin-top: 30px; }
.wk-scene { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 22px; align-items: end; margin: 0; }
.wk-when { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; font: 500 11.5px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }
.wk-when::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 4px var(--good-wash); }
.wk-phone { display: flex; flex-direction: column; height: 720px; border: 8px solid var(--ink); border-radius: 36px; background: var(--paper); box-shadow: var(--lift); overflow: hidden; }
.wk-phone__top { display: flex; align-items: center; gap: 10px; padding: 14px 14px 12px; border-bottom: 1px solid var(--line); }
.wk-face { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #ffffff; font: 700 12px/1 var(--display); letter-spacing: .02em; }
.wk-phone__top b { display: block; font-size: .92rem; line-height: 1.25; }
.wk-phone__top span { display: block; font: 500 10px/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--quiet); }
.wk-chat { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; padding: 12px 12px 16px; background: var(--chat); }
.wk-chat > :first-child { margin-top: auto; }
.wk-msg { width: fit-content; max-width: 86%; margin-top: 8px; padding: 8px 11px 7px; border-radius: 14px; font-size: .84rem; line-height: 1.42; color: var(--ink); box-shadow: 0 1px 1px rgba(20, 24, 30, .07); }
.wk-msg time { float: right; margin: 5px 0 0 10px; font: 500 9.5px/1 var(--mono); color: var(--quiet); }
.wk-msg--them { background: var(--paper); border-bottom-left-radius: 4px; }
.wk-msg--bot { margin-left: auto; background: var(--wash); border-bottom-right-radius: 4px; }
.wk-msg--new { animation: wk-in .35s ease-out; }
@keyframes wk-in { from { opacity: 0; transform: translateY(6px); } }
.wk-typing { display: flex; gap: 4px; width: fit-content; margin: 8px 0 0 auto; padding: 11px 13px; border-radius: 14px; background: var(--wash); }
.wk-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--brass-text); animation: wk-dot 1s infinite; }
.wk-typing i:nth-child(2) { animation-delay: .15s; }
.wk-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes wk-dot { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }
.wk-side { display: grid; gap: 16px; padding-bottom: 28px; }
.wk-card { padding: 18px 18px 8px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--cut); box-shadow: var(--lift); }
.wk-card h3 { margin-top: 6px; font: 700 1.02rem/1.2 var(--display); }
.wk-slots { margin-top: 10px; }
.wk-slot { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--line); font-size: .86rem; }
.wk-slot time { font: 500 11px/1.3 var(--mono); color: var(--soft); }
.wk-slot b { display: block; font-weight: 650; line-height: 1.3; }
.wk-slot small { display: block; margin-top: 2px; font-size: .76rem; color: var(--quiet); }
.wk-slot--free { color: var(--quiet); }
.wk-slot--booked { margin-inline: -18px; padding-inline: 18px; background: var(--wash); }
.wk-slot--booked small { color: var(--brass-text); }
.wk-ask { display: grid; gap: 6px; margin-top: 10px; padding: 12px 0 10px; border-top: 1px solid var(--line); font-size: .86rem; }
.wk-ask span { color: var(--soft); }
.wk-ask .pill { justify-self: start; }
.wk-nothing { margin-top: 10px; padding: 12px 0 10px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--quiet); }
.wk-arrive { animation: wk-in .45s ease-out; }
.wk-play { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: .82rem; color: var(--quiet); }
.wk-play .btn { background: var(--paper); }
.btn:focus-visible, .nav a:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }
.wk-cases li { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 4px 22px; padding: 24px 0; border-top: 1px solid var(--night-line); }
.wk-cases li:first-child { border-top: 0; padding-top: 0; }
.wk-cases code { grid-row: span 2; padding-top: 3px; font: 500 12px/1.5 var(--mono); letter-spacing: .04em; color: var(--on-night); }
.wk-cases b { font-size: 1.05rem; }
.wk-bonnet { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: start; }
.wk-bonnet .ticks { margin-top: 14px; }
.wk-charity { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 56px; align-items: start; }
.wk-status { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; font-size: .9rem; color: var(--soft); }
.wk-charity .ticks { margin-top: 26px; }
.wk-book { display: grid; gap: 12px; margin: 0; }
.wk-book figcaption { font-size: .82rem; color: var(--quiet); }
.wk-event h3 { margin-top: 8px; font: 700 1.35rem/1.15 var(--display); }
.wk-limits { display: grid; gap: 14px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.wk-limits div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: baseline; }
.wk-limits dt { font-size: .92rem; font-weight: 600; }
.wk-limits dd { font-size: .88rem; color: var(--soft); }
.wk-limits dd b { font: 700 1.05rem/1 var(--display); color: var(--ink); }
.wk-bar { grid-column: 1 / -1; height: 8px; border-radius: 99px; background: var(--ground); overflow: hidden; }
.wk-bar i { display: block; height: 100%; border-radius: inherit; background: var(--brass); transition: width .3s; }
.wk-bar--full i { background: var(--ink); }
.wk-bar--over i { background: var(--bad); }
.wk-who { display: grid; gap: 2px; margin: 20px 0 0; padding: 16px 0 0; border: 0; border-top: 1px solid var(--line); }
.wk-who legend { float: left; width: 100%; margin-bottom: 6px; padding: 0; font: 500 11.5px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--brass-text); }
.wk-who label, .wk-coach { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-height: 44px; font-weight: 550; cursor: pointer; }
.wk-who input, .wk-coach input { width: 20px; height: 20px; margin: 0; accent-color: var(--brass-deep); }
.wk-coach { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line); }
.wk-basket { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.wk-basket span { font-weight: 600; }
.wk-basket .wk-over { color: var(--bad); }
.wk-basket .btn:disabled { opacity: .55; cursor: default; }
input:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }
/* the other pieces of work: words on the left, a small working example on the right */
.wk-case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: 56px; align-items: start; }
.wk-case .ticks { margin-top: 26px; }
.wk-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.wk-proof div { padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.wk-proof dt { font: 500 10.5px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--quiet); }
.wk-proof dd { margin-top: 4px; font: 700 1.6rem/1 var(--display); color: var(--ink); }
.wk-ex { display: grid; gap: 14px; margin: 0; }
.wk-ex > figcaption { font-size: .82rem; color: var(--quiet); }
.wk-ex h3 { margin-top: 8px; font: 700 1.3rem/1.15 var(--display); }
.wk-cert { position: relative; display: grid; gap: 4px; padding: 22px 24px; text-align: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--cut); box-shadow: var(--lift); }
.wk-cert::before { content: ""; position: absolute; inset: 8px; border: 1.5px solid var(--brass); border-radius: 8px; pointer-events: none; }
.wk-cert b { font: 700 1.55rem/1.15 var(--display); letter-spacing: -.01em; }
.wk-cert span { font-size: .86rem; color: var(--soft); }
.wk-cert small { font: 500 10.5px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--brass-text); }
.wk-sheetbox { margin-top: 16px; overflow-x: auto; }
.wk-sheet { width: 100%; border-collapse: collapse; font-size: .86rem; }
.wk-sheet th { padding: 0 10px 8px 0; text-align: left; font: 500 10.5px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--quiet); }
.wk-sheet td { padding: 10px 10px 10px 0; border-top: 1px solid var(--line); vertical-align: middle; }
.wk-sheet th:last-child, .wk-sheet td:last-child { padding-right: 0; text-align: right; }
.wk-sheet small { display: block; font-size: .76rem; color: var(--quiet); }
.wk-sheet td b { font-weight: 600; }
.wk-sendrow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--line); }
.wk-sendrow span { font-size: .86rem; font-weight: 600; }
.wk-post { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.wk-post__pic { display: grid; place-items: center; width: 64px; height: 64px; padding: 6px; border-radius: 10px; color: #ffffff; text-align: center; font: 700 11px/1.15 var(--display); }
.wk-post__pic--a { background: var(--brass-deep); }
.wk-post__pic--b { background: var(--blue); }
.wk-post__pic--c { background: var(--good); }
.wk-post small { display: block; font: 500 10.5px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--quiet); }
.wk-post p { margin-top: 4px; font-size: .88rem; }
.wk-post__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.wk-roundhead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .86rem; font-weight: 600; }
.wk-chart { position: relative; height: 200px; margin: 22px 0 0 34px; }
.wk-grid span { position: absolute; left: 0; right: 0; height: 0; border-top: 1px solid var(--line); }
.wk-grid b { position: absolute; left: -34px; top: -7px; width: 28px; text-align: right; font: 500 10px/1.2 var(--mono); color: var(--quiet); }
.wk-cols { position: absolute; inset: 0; display: flex; align-items: flex-end; gap: 2px; }
.wk-col { position: relative; flex: 1; display: flex; align-items: flex-end; justify-content: center; height: 100%; outline: none; }
.wk-col i { display: block; width: min(24px, 72%); border-radius: 4px 4px 0 0; background: var(--brass-deep); }
.wk-col:hover i, .wk-col:focus-visible i { background: var(--brass-text); }
.wk-col:focus-visible { box-shadow: inset 0 0 0 2px var(--brass); border-radius: 4px; }
/* A week's label is laid out only while its bar is pointed at, and opens towards the middle of the chart. Laid out
   and merely unseen, the labels near the right made the page wider than a phone, which then scrolled sideways. */
.wk-col::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 4px); left: 0; z-index: 2; display: none; padding: 5px 8px; white-space: nowrap; border-radius: 6px; background: var(--ink); color: #ffffff; font: 500 11px/1.3 var(--mono); pointer-events: none; }
.wk-col:nth-child(n + 7)::after { left: auto; right: 0; }
.wk-col:hover::after, .wk-col:focus-visible::after { display: block; }
.wk-val { position: absolute; left: 50%; transform: translateX(-50%); font: 500 10.5px/1 var(--mono); color: var(--ink); white-space: nowrap; }
.wk-xaxis { display: flex; gap: 2px; margin: 8px 0 0 34px; }
.wk-xaxis span { flex: 1; min-width: 0; overflow: visible; white-space: nowrap; font: 500 10px/1.2 var(--mono); color: var(--quiet); }
.wk-numbers { margin-top: 14px; padding-top: 6px; border-top: 1px solid var(--line); font-size: .84rem; }
.wk-numbers summary { display: flex; align-items: center; min-height: 44px; font-weight: 600; cursor: pointer; }
.wk-numbers table { width: 100%; border-collapse: collapse; }
.wk-numbers th, .wk-numbers td { padding: 6px 0; border-top: 1px solid var(--line); text-align: left; }
.wk-numbers td:last-child, .wk-numbers th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.wk-numbers th { font: 500 10.5px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--quiet); border-top: 0; }
@media (max-width: 860px) {
  .wk-hero { padding: 44px 0 60px; }
  .wk-hero__grid, .wk-bonnet, .wk-charity, .wk-case { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .wk-proof dd { font-size: 1.35rem; }
  .wk-scene { grid-template-columns: minmax(0, 1fr); }
  .wk-phone { width: 100%; max-width: 340px; height: 680px; margin-inline: auto; }
  .wk-side { padding-bottom: 0; }
  .wk-cases li { grid-template-columns: minmax(0, 1fr); }
  .wk-cases code { grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) { .wk-msg--new, .wk-arrive, .wk-typing i { animation: none; } }

/* The front page, built to its mock of 14 November 2026 (in the specification). The approved look and words, and
   what a page without scripts could not do: a day at work that plays through for the reader's kind of business, the
   reader's own admin counted in hours, and a drawing shown before it is asked for. No price and no pound sign (D11). */
.fp-hero { padding: 64px 0 80px; background: var(--ground); }
.fp-hero__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.fp-hero h1 { margin-top: 18px; font-size: clamp(2.4rem, 4.6vw, 3.8rem); line-height: 1.02; text-wrap: balance; }
.fp-hero .lede { margin-top: 20px; max-width: 34rem; }
.fp-hero .acts { margin-top: 30px; }
.fp-seg button:focus-visible, .fp-tabs button:focus-visible, .fp-calc input:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }
/* a day at work */
.fp-day { display: grid; gap: 12px; margin: 0; padding: 18px 18px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--cut); box-shadow: var(--lift); }
.fp-day__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.fp-seg { display: inline-flex; flex-wrap: nowrap; gap: 2px; padding: 3px; border-radius: 10px; background: var(--ground); }
.fp-seg button { min-height: 36px; padding: 5px 11px; border: 0; border-radius: 8px; background: transparent; font: 600 .82rem/1 var(--body); color: var(--soft); white-space: nowrap; cursor: pointer; }
.fp-seg button[aria-pressed="true"] { background: var(--ink); color: #ffffff; }
/* the full names fit the day's card wherever it is wider than a phone; on a phone, the short ones, so the choices stay
   on one line */
.fp-short { display: none; }
@media (max-width: 600px) { .fp-long { display: none; } .fp-short { display: inline; } }
/* below 1180 wide, beside the words, the day's card is too narrow for the diary: its entries wrap and run into each
   other. So the words go above it, and the day has the width */
@media (max-width: 1179px) { .fp-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
/* without a script the day is the driving instructor's, as a list, with nothing to press */
.fp-day--still .fp-seg, .fp-day--still #play, .fp-day--still .fp-lanes { display: none; }
.fp-list { display: grid; gap: 6px; padding: 8px 0 2px; }
.fp-list li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 2px 8px; align-items: start; padding: 7px 9px; border-radius: 9px; font-size: .8rem; line-height: 1.35; }
.fp-list li time { grid-row: span 2; font: 500 10.5px/1.5 var(--mono); }
.fp-list .fp-site { background: var(--paper); border: 1px solid #ecdcbd; box-shadow: 0 1px 2px rgba(20, 24, 30, .06); }
.fp-list .fp-site time { color: var(--brass-text); }
.fp-list .fp-site .pill { justify-self: start; padding: 1px 8px; font-size: .68rem; }
.fp-list .fp-you { color: var(--soft); }
.fp-list .fp-you time { color: var(--quiet); }
.fp-list .fp-you b { font-weight: 600; color: var(--ink); }
/* the diary, drawn by the script on a wide screen */
.fp-lanes { display: grid; grid-template-columns: 46px minmax(0, .8fr) minmax(0, 1.2fr); gap: 10px; font: 500 10.5px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--quiet); }
.fp-lanes span:nth-child(3) { color: var(--brass-text); }
.fp-grid { position: relative; height: calc(18 * 32px); border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; background: #fbfaf7; overflow: hidden; }
.fp-hourline { position: absolute; left: 0; right: 0; height: 0; border-top: 1px solid var(--line); }
.fp-hourline span { position: absolute; left: 6px; top: 3px; font: 500 10px/1 var(--mono); color: var(--quiet); }
.fp-grid .fp-you { position: absolute; left: 56px; width: calc((100% - 76px) * .4); padding: 6px 8px; overflow: hidden; border-left: 3px solid color-mix(in oklab, var(--ink) 35%, var(--paper)); border-radius: 8px; background: color-mix(in oklab, var(--ink) 9%, var(--paper)); font-size: .78rem; line-height: 1.3; color: var(--soft); }
.fp-grid .fp-you b { display: block; font-weight: 600; color: var(--ink); }
.fp-grid .fp-site { position: absolute; right: 8px; width: calc((100% - 76px) * .6 - 10px); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 8px; align-items: start; padding: 7px 9px; border: 1px solid #ecdcbd; border-radius: 9px; background: var(--paper); box-shadow: 0 1px 2px rgba(20, 24, 30, .06); font-size: .78rem; line-height: 1.3; }
.fp-grid .fp-site time { grid-row: span 2; font: 500 10.5px/1.5 var(--mono); color: var(--brass-text); }
.fp-grid .fp-site .pill { justify-self: start; padding: 1px 8px; font-size: .68rem; }
.fp-new { animation: fp-in .4s ease-out; }
@keyframes fp-in { from { opacity: 0; transform: translateX(8px); } }
.fp-now { position: absolute; left: 0; right: 0; z-index: 2; height: 0; border-top: 2px solid var(--bad); }
.fp-now::before { content: ""; position: absolute; left: 40px; top: -5px; width: 8px; height: 8px; border-radius: 50%; background: var(--bad); }
.fp-day figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: .8rem; color: var(--quiet); }
.fp-day figcaption b { color: var(--ink); }
.fp-day figcaption .btn { background: var(--paper); }
/* something else: every business's day is different */
.fp-else { display: grid; justify-items: center; gap: 10px; max-width: 26rem; margin: 0 auto; padding: 40px 12px; text-align: center; }
.fp-else b { font: 700 1.25rem/1.25 var(--display); }
.fp-else p { color: var(--soft); }
/* what the admin costs you */
.fp-cost { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.fp-cost__say h2 { margin-top: 14px; }
.fp-cost__say .lede { margin-top: 16px; }
.fp-promise { margin-top: 22px; padding: 16px 18px; border-left: 3px solid var(--brass); background: var(--paper); font-size: 1.02rem; }
.fp-cost__say .acts { margin-top: 22px; }
.fp-calc { display: grid; gap: 22px; }
.fp-slider { display: grid; gap: 8px; }
.fp-slider > span { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; }
.fp-slider output { font: 700 1.2rem/1 var(--display); font-variant-numeric: tabular-nums; }
.fp-slider input { width: 100%; min-height: 32px; accent-color: var(--brass-deep); }
.fp-slider small { color: var(--quiet); }
.fp-answer { padding-top: 18px; border-top: 1px solid var(--line); }
.fp-answer b { display: block; font: 700 clamp(2rem, 4vw, 2.8rem)/1.05 var(--display); letter-spacing: -.02em; }
.fp-answer span { display: block; margin-top: 6px; color: var(--soft); }
.fp-weeks { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 14px; }
.fp-weeks i { width: 14px; height: 22px; border-radius: 3px; background: var(--line); }
.fp-weeks i.fp-gone { background: var(--brass-deep); }
/* getting found, on Google and when someone asks an AI */
.fp-found { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.fp-found .ticks { margin-top: 22px; }
.fp-honest { margin-top: 20px; padding: 14px 16px; border-radius: 10px; background: var(--ground); font-size: .95rem; color: var(--soft); }
.fp-honest b { color: var(--ink); }
.fp-found .acts { margin-top: 22px; }
.fp-query { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1.5px solid var(--line); border-radius: 999px; font-size: .86rem; }
.fp-query svg { flex: none; width: 16px; height: 16px; fill: none; stroke: var(--quiet); stroke-width: 2; }
.fp-hits { display: grid; gap: 4px; margin-top: 10px; }
.fp-hit { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; font-size: .84rem; }
.fp-hit small { font: 500 10.5px/1.4 var(--mono); color: var(--good); }
.fp-hit b { font-weight: 600; color: var(--blue); }
.fp-hit span { color: var(--soft); }
.fp-hit--yours { background: var(--wash); box-shadow: inset 3px 0 0 var(--brass); }
.fp-hit .pill { justify-self: start; margin-top: 4px; }
.fp-ask, .fp-answer-ai { max-width: 90%; padding: 10px 12px; border-radius: 12px; font-size: .86rem; line-height: 1.45; }
.fp-ask { margin-left: auto; border-bottom-right-radius: 4px; background: var(--ink); color: #ffffff; }
.fp-answer-ai { margin-top: 10px; border-bottom-left-radius: 4px; background: var(--ground); }
.fp-answer-ai mark { padding: 0 2px; border-radius: 3px; background: var(--wash); color: var(--ink); }
.fp-source { display: inline-flex; margin-top: 8px; padding: 2px 8px; border: 1px solid var(--brass); border-radius: 999px; background: var(--paper); font: 500 10.5px/1.6 var(--mono); color: var(--brass-text); }
/* the example tabs: a drawing's pages, and where people look */
.fp-example { margin-top: 30px; }
.fp-tabs { display: flex; gap: 2px; width: fit-content; margin-top: 10px; padding: 3px; border-radius: 10px; background: var(--ground); }
.fp-tabs button { min-height: 36px; padding: 5px 12px; border: 0; border-radius: 8px; background: transparent; font: 600 .82rem/1 var(--body); color: var(--soft); cursor: pointer; }
.fp-tabs button[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(20, 24, 30, .14); }
.fp-example .win, .fp-find .win { margin-top: 12px; }
.fp-screen { display: grid; gap: 8px; min-height: 196px; }
.fp-screen h4 { font: 700 1rem/1.2 var(--display); }
.fp-times { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.fp-times span { padding: 8px 6px; border: 1px solid var(--line); border-radius: 8px; text-align: center; font-size: .82rem; font-weight: 600; }
.fp-times span.fp-taken { background: var(--ground); color: var(--quiet); text-decoration: line-through; }
.fp-times span.fp-pick { border-color: var(--brass); background: var(--wash); }
.fp-pay { display: grid; gap: 6px; }
.fp-pay > span { display: flex; justify-content: space-between; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: .84rem; }
.fp-pay > span:first-child { border-color: var(--brass); background: var(--wash); font-weight: 600; }
.fp-text { max-width: 86%; padding: 9px 11px; border-radius: 12px 12px 12px 4px; background: var(--ground); font-size: .84rem; }
.fp-text small { display: block; margin-top: 4px; font: 500 10px/1 var(--mono); color: var(--quiet); }
.fp-example figcaption, .fp-find figcaption { margin-top: 8px; font-size: .8rem; color: var(--quiet); }
@media (max-width: 860px) {
  .fp-hero { padding: 40px 0 56px; }
  .fp-hero__grid, .fp-cost, .fp-found { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .fp-day { padding: 14px 12px 12px; }
  .fp-seg button { padding: 5px 9px; }
}
@media (max-width: 600px) { .fp-lanes { display: none; } }
@media (prefers-reduced-motion: reduce) { .fp-new { animation: none; } }

/* The front door, re-imagined, from its mock of 14 November 2026 (in the specification): a period chosen once at the
   top, which every part below follows. Its switch is three links, so it needs no script; the chart is drawn on the
   server and app.js only reads a point out. */
.fd-up { color: var(--good); font-weight: 650; }
.fd-down { color: var(--bad); font-weight: 650; }
.fd-gap { margin-bottom: 24px; }
.fd-seg { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); }
.fd-seg a, .fd-seg span { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 12px; border-radius: 8px; font: 600 .86rem/1 var(--body); color: var(--soft); text-decoration: none; }
.fd-seg a[aria-current="page"] { background: var(--ink); color: #ffffff; }
.fd-seg span[aria-disabled="true"] { color: var(--quiet); opacity: .6; cursor: not-allowed; }
.fd-seg a:focus-visible, .fd-svg:focus-visible, .fd-numbers summary:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }
.fd-note { margin: -12px 0 20px; }
/* over time */
.fd-chart { position: relative; padding: 6px 20px 4px; }
.fd-svg { display: block; width: 100%; height: auto; overflow: visible; }
.fd-grid { stroke: var(--line); stroke-width: 1; }
.fd-axis { font: 500 10px var(--mono); fill: var(--quiet); }
.fd-area { fill: var(--brass); fill-opacity: .12; stroke: none; }
.fd-line { fill: none; stroke: var(--brass-deep); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.fd-line--short { stroke-dasharray: 5 5; stroke-linecap: butt; }
.fd-end { fill: var(--brass-deep); stroke: var(--paper); stroke-width: 2; }
.fd-val { font: 500 11px var(--mono); fill: var(--ink); }
.fd-mark { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 3 3; }
.fd-marktext { font: 600 10.5px var(--body); fill: var(--ink); }
.fd-cross { stroke: var(--ink); stroke-width: 1; }
.fd-dot { fill: var(--paper); stroke: var(--brass-deep); stroke-width: 2.5; }
.fd-hit { fill: transparent; cursor: crosshair; }
/* a day with a change written on it says the change too, so the readout wraps rather than run past the chart */
.fd-tip { position: absolute; top: 4px; z-index: 2; max-width: calc(100% - 16px); padding: 7px 10px; border-radius: 8px; background: var(--ink); color: #ffffff; font: 500 11.5px/1.45 var(--mono); pointer-events: none; }
.fd-numbers { padding: 4px 20px 16px; font-size: .86rem; }
.fd-numbers summary { display: flex; align-items: center; min-height: 44px; font-weight: 600; cursor: pointer; }
/* the changeover */
.fd-change { display: grid; gap: 18px; }
.fd-change > div { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 6px 14px; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--line); }
.fd-change > div:first-child { border-top: 0; padding-top: 0; }
.fd-change dt { grid-column: 1 / -1; font-weight: 600; }
.fd-change dd:not(.fd-arrow):not(.fd-times) { font: 700 1.6rem/1 var(--display); font-variant-numeric: tabular-nums; }
.fd-change dd small { display: block; margin-top: 6px; font: 500 10.5px/1.3 var(--body); color: var(--quiet); letter-spacing: 0; }
.fd-change .fd-arrow { color: var(--quiet); font-size: 1.1rem; }
.fd-change .fd-times { font: 600 .9rem/1 var(--body); color: var(--good); }
.fd-change .fd-times.fd-down { color: var(--bad); }
.fd-foot { margin-top: 24px; font-size: .86rem; color: var(--quiet); max-width: 60rem; }
/* from a visit to money, and the drawing form: each half to its own scale, what they end at in gold, where most are
   lost in red and in words */
.fd-bars { container-type: inline-size; }
.fd-bars .hbar--wide { grid-template-columns: 210px minmax(0, 1fr) 70px; }
.fd-bars .hbar__track i { background: var(--ink); }
.fd-bars .fd-gold .hbar__track i { background: var(--brass-deep); }
.fd-bars .fd-drop .hbar__track i { background: var(--bad); }
.fd-most { font-style: normal; font-weight: 600; color: var(--bad); }
.fd-named { margin: 10px 0 6px; padding-top: 10px; border-top: 1.5px dashed #c5c8c3; font: 500 10.5px/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--quiet); }
/* a panel too narrow for its labels, its bars and its figures in a row, wherever it sits, puts each bar under its
   label: beside each other between a phone's width and a wide screen's, the bars had no room left at all */
@container (max-width: 520px) {
  .fd-bars .hbar--wide { grid-template-columns: minmax(0, 1fr) 64px; }
  .fd-bars .hbar__track { grid-column: 1 / -1; grid-row: 2; }
}
/* since the changeover, month by month: one wide chart of what comes in each month, and six small ones, a bar a
   month. A bar's words are laid out only while it is pointed at or has the focus, open towards the middle, and wrap,
   so that they never widen the page (the lesson of the page of our work) */
.fd-smalls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.fd-small { display: grid; gap: 6px; margin: 0; padding: 16px 20px 18px; border-left: 1px solid var(--line); border-top: 1px solid var(--line); min-width: 0; }
.fd-smalls > .fd-small:nth-child(3n + 2) { border-left: 0; }
.fd-small--wide { grid-column: 1 / -1; border-left: 0; border-top: 0; }
.fd-small figcaption span { display: block; font-weight: 650; }
.fd-small figcaption small { display: block; font-size: .8rem; color: var(--quiet); }
.fd-small__now { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: .82rem; color: var(--soft); }
.fd-small__now b { font: 700 1.5rem/1 var(--display); letter-spacing: -.01em; color: var(--ink); }
.fd-cols { display: flex; align-items: stretch; gap: 3px; height: 92px; margin-top: 6px; border-bottom: 1px solid var(--line); }
.fd-small--wide .fd-cols { height: 150px; }
.fd-col { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 2px; outline: none; }
.fd-col i { display: block; width: min(22px, 72%); background: var(--brass-deep); }
.fd-col i:first-child { border-radius: 3px 3px 0 0; }
.fd-col i.fd-rest { background: color-mix(in oklab, var(--ink) 18%, var(--paper)); }
.fd-col--short i { opacity: .5; }
.fd-col em { position: absolute; left: 8%; right: 8%; height: 0; border-top: 2px solid var(--ink); }
.fd-col::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); left: 0; z-index: 3; display: none; width: max-content; max-width: min(240px, 70vw); padding: 5px 8px; border-radius: 6px; background: var(--ink); color: #ffffff; font: 500 11px/1.35 var(--mono); white-space: normal; pointer-events: none; }
.fd-col--late::after { left: auto; right: 0; }
.fd-col:hover::after, .fd-col:focus-visible::after { display: block; }
.fd-col:hover i, .fd-col:focus-visible i { filter: brightness(.9); }
.fd-col:focus-visible { box-shadow: inset 0 0 0 2px var(--brass); border-radius: 4px; }
.fd-xaxis { display: flex; gap: 3px; }
.fd-xaxis span { flex: 1; min-width: 0; overflow: visible; white-space: nowrap; font: 500 10px/1.2 var(--mono); color: var(--quiet); }
.fd-xaxis span:last-child { direction: rtl; }
.fd-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 6px; font-size: .8rem; color: var(--soft); }
.fd-legend span { display: inline-flex; align-items: center; gap: 6px; }
.fd-sw { width: 12px; height: 12px; border-radius: 3px; background: var(--brass-deep); }
.fd-sw--rest { background: color-mix(in oklab, var(--ink) 18%, var(--paper)); }
.fd-sw--aim { height: 0; border-radius: 0; border-top: 2px solid var(--ink); background: none; }
@media (max-width: 860px) {
  .fd-smalls { grid-template-columns: minmax(0, 1fr); }
  .fd-small { border-left: 0; }
}
/* the read, drafted: each finding with its numbers, and the change it suggests to try, or that it is being tried */
.fd-try { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 18px; align-items: start; padding: 12px 0; border-top: 1px dashed #e3cfa8; }
.fd-try:first-of-type { border-top: 0; padding-top: 4px; }
.fd-read .draft__tag { flex-wrap: wrap; }
.fd-try form { margin: 0; }
.fd-try .btn { background: var(--paper); }
.fd-try .fd-begun { color: var(--good); border-color: var(--good-wash); background: var(--good-wash); }
.fd-none { font-size: .9rem; color: var(--soft); }
@media (max-width: 860px) {
  .fd-try { grid-template-columns: minmax(0, 1fr); }
}
/* where they came from, and what it cost: a campaign a line, what named none with its visits' sources beneath, and
   what the ads cost typed in below */
.fd-sources td small { display: block; font-size: .78rem; color: var(--quiet); }
.fd-sources tr.fd-within td { padding-top: 6px; padding-bottom: 6px; border-top: 0; color: var(--soft); }
.fd-sources tr.fd-within td:first-child { padding-left: 36px; }
.fd-sources tr.fd-within td:first-child b { font-weight: 500; }
.table tfoot td { border-top: 1.5px solid var(--ink); font-weight: 650; }
.fd-paid { padding: 12px 20px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--soft); }
.fd-paid b { color: var(--ink); }
.fd-costform { gap: 10px; padding: 16px 20px 6px; border-top: 1px solid var(--line); }
.fd-costs { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px 16px; align-items: end; }
.fd-costform .acts { margin: 0; }
/* the ads joined to the app (issue 23): each campaign with its cap a pound down or up, what waits for a yes, the
   rules with their numbers, and what was done */
.fd-laternote { padding: 0 20px 12px; font-size: .9rem; color: var(--soft); }
.fd-ads td small { display: block; font-size: .78rem; color: var(--quiet); }
.fd-ads form { margin: 0; }
.fd-step { display: inline-flex; align-items: center; gap: 8px; }
.fd-step button { width: 36px; height: 36px; border: 1.5px solid var(--line); border-radius: 8px; background: var(--paper); font: 600 1rem/1 var(--body); color: var(--ink); cursor: pointer; }
.fd-step button:disabled { opacity: .4; cursor: default; }
.fd-step button:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }
.fd-step b { min-width: 34px; text-align: center; font-variant-numeric: tabular-nums; }
.fd-rules { padding: 14px 20px 10px; border-top: 1px solid var(--line); }
.fd-rules > ul { display: grid; gap: 14px; margin-top: 10px; }
.fd-rules li small { display: block; margin: 4px 0 0 30px; font-size: .8rem; color: var(--quiet); }
.fd-toggle { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.fd-toggle input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); }
.fd-rule { margin: 0; }
.fd-rule details { margin: 4px 0 0 30px; font-size: .85rem; }
.fd-rule summary { display: flex; align-items: center; min-height: 36px; color: var(--soft); cursor: pointer; }
.fd-rule .fd-costs { margin: 6px 0 4px; }
.fd-rule label.fd-num { display: grid; gap: 4px; font-weight: 600; }
.fd-rule input[type="text"] { width: 100%; min-height: 40px; padding: 6px 10px; font: 400 .95rem/1.4 var(--body); color: var(--ink); background: var(--paper); border: 1.5px solid #9aa0aa; border-radius: 8px; }
.fd-rule .acts { margin: 8px 0 0 30px; }
.fd-waiting li, .fd-did li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; align-items: center; font-size: .9rem; }
.fd-did li { grid-template-columns: 56px minmax(0, 1fr) auto; align-items: start; }
.fd-did li > span:first-child { font: 500 11px/1.8 var(--mono); color: var(--quiet); }
.fd-waiting .acts, .fd-did form { margin: 0; }
.fd-adsfoot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.fd-adsfoot form { margin: 0; }
/* each page: a row a page, chosen by following its link, and the chosen page's own parts below */
.fd-list .fd-pick { display: grid; gap: 2px; min-width: 9rem; min-height: 44px; align-content: center; color: var(--ink); text-decoration: none; }
.fd-list .fd-pick b { font-weight: 650; }
.fd-list .fd-pick small { font: 500 11px/1.4 var(--mono); color: var(--quiet); }
.fd-list .fd-pick:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }
.fd-list tr[aria-current="true"] td { background: #fdfaf4; }
.fd-list tr[aria-current="true"] td:first-child { box-shadow: inset 3px 0 0 var(--brass); }
.fd-list tbody tr:hover td { background: var(--ground); }
/* pages, and how far they're read (issue 21): a row a page, narrowed by its kind or a search, and the chosen page's
   scroll map, each part shaded by the share that had it on screen, one hue light to dark */
.fd-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 0 20px 16px; }
.fd-findform { display: flex; flex: 0 1 340px; gap: 8px; min-width: 0; }
.fd-find { min-height: 40px; flex: 1; min-width: 0; padding: 6px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper); font: inherit; color: var(--ink); }
.fd-find:focus { outline: none; border-color: var(--brass); }
.fd-seg small { margin-left: 6px; font: 500 11px/1 var(--mono); opacity: .75; }
.fd-list td small.fd-moved { display: block; font: 500 11px/1.3 var(--mono); }
.fd-spark { display: block; margin-left: auto; overflow: visible; }
.fd-spark path { fill: none; stroke: var(--brass-deep); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.fd-spark circle { fill: var(--brass-deep); }
.fd-more { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 12px 20px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--quiet); }
.fd-controls--map { align-items: flex-end; padding-top: 18px; border-top: 1px solid var(--line); }
.fd-mapname { margin-top: 4px; font: 700 1.15rem/1.25 var(--display); letter-spacing: -.01em; }
.fd-sub { margin-top: 6px; font: 500 11px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--quiet); }
.fd-mapgrid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 28px; align-items: start; padding: 0 20px 22px; }
.fd-page { position: relative; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--lift); }
.fd-page__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--line); font: 500 11px/1 var(--mono); color: var(--quiet); }
.fd-page__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.fd-page__bar span { margin-left: 6px; overflow-wrap: anywhere; }
.fd-part { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: 52px; padding: 10px 14px; border-top: 2px solid var(--paper); background: color-mix(in oklab, var(--brass) var(--fill), var(--paper)); color: var(--ink); text-decoration: none; }
.fd-part > span { font: 600 .8rem/1.3 var(--body); }
.fd-part b { display: grid; justify-items: end; font: 700 1.15rem/1 var(--display); font-variant-numeric: tabular-nums; }
.fd-part b small { font: 500 .7rem/1.3 var(--mono); }
.fd-part[aria-current="true"] { box-shadow: inset 0 0 0 3px var(--ink); }
.fd-part:focus-visible { outline: 3px solid var(--brass); outline-offset: -3px; }
.fd-fold { position: relative; height: 0; border-top: 2px dashed var(--ink); }
.fd-fold span { position: absolute; right: 8px; top: -18px; padding: 1px 6px; border-radius: 4px; background: var(--ink); color: #ffffff; font: 500 10px/1.5 var(--mono); }
.fd-key { display: flex; align-items: center; gap: 8px; margin-top: 10px; font: 500 10.5px/1 var(--mono); color: var(--quiet); }
.fd-key i { flex: 1; height: 8px; border-radius: 99px; background: linear-gradient(90deg, color-mix(in oklab, var(--brass) 12%, var(--paper)), color-mix(in oklab, var(--brass) 90%, var(--paper))); }
.fd-detail { display: grid; gap: 16px; min-width: 0; }
.fd-detail h3 { font: 700 1.25rem/1.2 var(--display); letter-spacing: -.01em; text-wrap: balance; }
.fd-big { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.fd-big b { font: 700 2.4rem/1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.fd-big span { color: var(--soft); }
.fd-detail .facts li { padding: 8px 0; }
.fd-lost { padding: 12px 14px; border-radius: 10px; background: var(--ground); font-size: .9rem; color: var(--soft); }
@media (max-width: 860px) {
  .fd-mapgrid { grid-template-columns: minmax(0, 1fr); }
}
/* on a phone the chart is drawn at half its size, so its figures are drawn twice as big to be read, and a change is
   its dashed line alone: the readout and the table under it say what it was */
@media (max-width: 600px) {
  .fd-chart { padding-inline: 12px; }
  .fd-axis, .fd-val { font-size: 16px; }
  .fd-marktext { display: none; }
}
/* the free guides: each guide a card to choose, the whole width of the form, with the email and its button beneath */
.gate:has(.guides) { grid-template-columns: minmax(0, 1fr) auto; }
.gate .guides { grid-column: 1 / -1; }
.gate .guides legend { margin-bottom: 4px; }
/* a form's label is one column and its inputs are boxes: a card keeps its own two columns, and its radio is a radio */
.form .kind { grid-template-columns: 22px minmax(0, 1fr); gap: 4px 10px; font-weight: 400; }
.form .kind input { width: 20px; height: 20px; min-height: 20px; padding: 0; margin: 2px 0 0; }
.form .kind b { font-weight: 600; }
@media (max-width: 860px) {
  .gate:has(.guides) { grid-template-columns: minmax(0, 1fr); }
}

/* Answers, the blog (/blog), from its mock of 16 November 2026 and its third go of 17 November (in the specification).
   Each post answers one question practically: what it costs, what to change for nothing, what helps, what we'd build.
   The pieces are moved by static/answers.js, which sends nothing anywhere. Served after look.css and app.css. */

.btn--ghost { background: transparent; color: #ffffff; border-color: #7d8490; }
.src--checked { border-color: var(--good); color: var(--good); }
.bl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bl-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; font: 600 0.95rem/1.2 var(--body); color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; }
.bl-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #ffffff; }
.bl-seg { display: inline-flex; flex-wrap: wrap; padding: 4px; gap: 4px; background: var(--ground); border: 1px solid var(--line); border-radius: 12px; }
.bl-seg button { min-height: 40px; padding: 6px 16px; font: 600 0.9rem/1.2 var(--body); color: var(--soft); background: transparent; border: 0; border-radius: 9px; cursor: pointer; }
.bl-seg button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(20, 24, 30, 0.14); }
.bl-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font: 500 12px/1.4 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--quiet); }
.bl-meta i { width: 4px; height: 4px; border-radius: 50%; background: #b9bdb7; }
.bl-range { width: 100%; height: 32px; margin: 0; accent-color: var(--brass); cursor: pointer; }
.nav a.bl-cur { box-shadow: inset 0 -3px 0 var(--brass); }
.part__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }

/* ------------------------------------------------------------------ the front page of Answers */

.bl-hero { padding: 64px 0 40px; background: var(--ground); }
.bl-hero h1 { margin-top: 18px; max-width: 16ch; font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.02; }
.bl-hero .lede { margin-top: 18px; max-width: 42rem; }
.bl-who { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-top: 20px; font-size: 0.95rem; color: var(--soft); }
.bl-who b { color: var(--ink); }
.bl-topics { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; }
.bl-topics .tag { margin-right: 6px; }
.bl-count { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; }
.bl-count b { font: 700 1.25rem/1.3 var(--display); }
.bl-feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--paper); box-shadow: var(--lift); }
.bl-feature__say { display: grid; align-content: start; gap: 14px; padding: 44px 44px 40px; }
.bl-feature__say h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.06; }
.bl-feature__say h2 a { text-decoration: none; }
.bl-feature__say .lede { font-size: 1.1rem; }
.bl-feature__sum { display: grid; align-content: center; gap: 18px; padding: 40px; background: var(--night); color: var(--night-words); }
.bl-feature__sum .tag { color: var(--on-night); }
.bl-feature__sum label { display: grid; gap: 6px; font-weight: 600; color: #ffffff; }
.bl-feature__sum label span { display: flex; justify-content: space-between; gap: 12px; }
.bl-feature__sum output { font: 700 1.1rem/1 var(--display); color: var(--on-night); }
.bl-feature__sum small { color: #9aa0aa; font-size: 0.85rem; }
.bl-feature__q { font: 750 clamp(1.5rem, 2.6vw, 2rem)/1.15 var(--display); letter-spacing: -0.02em; color: #ffffff; }
.bl-feature__pic { display: grid; align-items: center; background: var(--ground); }
.bl-feature__pic img { display: block; width: 100%; height: auto; }
.bl-big { font: 800 clamp(2.6rem, 5vw, 3.8rem)/1 var(--display); letter-spacing: -0.035em; color: #ffffff; }
.bl-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.bl-card { display: flex; flex-direction: column; min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--cut); overflow: hidden; text-decoration: none; box-shadow: var(--lift); }
/* a card's face: its picture, or else its figure, or else its question, the shape of a link's preview, with nothing
   written over it (Josh, 17 November 2026) */
.bl-face { position: relative; display: block; aspect-ratio: 1200 / 630; background: var(--ground); border-bottom: 1px solid var(--line); overflow: hidden; }
.bl-face img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bl-face--figure { display: flex; flex-direction: column; justify-content: flex-end; padding: 22px 24px; background: var(--night); }
.bl-face--figure b { font: 800 2.8rem/1 var(--display); letter-spacing: -0.035em; color: var(--on-night); }
.bl-face--figure span { margin-top: 8px; font-size: 0.9rem; color: var(--night-words); }
.bl-face--question { display: flex; align-items: flex-end; padding: 22px 24px; background: var(--wash); }
.bl-face--question::before { content: ""; position: absolute; left: 24px; top: 22px; width: 40px; height: 5px; border-radius: 3px; background: var(--brass); }
.bl-face--question p { font: 750 1.3rem/1.16 var(--display); letter-spacing: -0.02em; color: var(--ink); }
/* the body fills the card, so who it's for and how long it takes sit at the foot of every card */
.bl-card__body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; }
.bl-card__body h3 { font-size: 1.22rem; line-height: 1.2; letter-spacing: -0.015em; }
.bl-card__body p { font-size: 0.95rem; color: var(--soft); }
.bl-card__for { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 14px; }
.bl-none { padding: 28px; border: 1.5px dashed #c5c8c3; border-radius: var(--cut); color: var(--soft); }
.bl-two { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.bl-askbox { display: grid; gap: 14px; }
.bl-askbox label { font-weight: 650; }
.bl-askbox textarea { width: 100%; min-height: 96px; padding: 12px 14px; font: 400 1rem/1.45 var(--body); color: var(--ink); background: var(--paper); border: 1.5px solid #c5c8c3; border-radius: 10px; resize: vertical; }
.bl-guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.bl-guide { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 18px; align-items: start; padding: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--cut); }
.bl-guide__cover { position: relative; width: 92px; height: 130px; padding: 12px 10px; background: var(--night); border-radius: 6px; color: #ffffff; font: 700 0.72rem/1.15 var(--display); box-shadow: var(--lift); }
.bl-guide__cover::before { content: ""; position: absolute; left: 10px; bottom: 12px; width: 18px; height: 4px; background: var(--brass); }
.bl-guide b { display: block; font: 700 1.05rem/1.25 var(--display); }
.bl-guide span { display: block; margin-top: 6px; font-size: 0.9rem; color: var(--soft); }
.bl-guide a { display: inline-block; margin-top: 10px; font-weight: 650; }
.bl-cta { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 32px; align-items: end; }
.bl-cta h2 { margin-top: 14px; max-width: 34rem; }
.bl-cta p { margin-top: 14px; max-width: 36rem; }

/* ------------------------------------------------------------------ a post */

.bl-crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 0.9rem; color: var(--quiet); }
.bl-crumbs a { color: var(--quiet); }
.bl-head { padding: 48px 0 40px; background: var(--ground); border-bottom: 1px solid var(--line); }
.bl-head__in { max-width: 980px; }
.bl-head__kinds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.bl-head h1 { margin-top: 18px; font-size: clamp(2.3rem, 4.6vw, 3.7rem); line-height: 1.03; max-width: 22ch; }
.bl-head .lede { margin-top: 18px; max-width: 40rem; }
.bl-by { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 26px; font-size: 0.92rem; color: var(--soft); }
.bl-by__face { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #ffffff; font: 700 1rem/1 var(--display); }
.bl-by b { color: var(--ink); }
.bl-preview { padding: 12px 0; background: var(--wash); color: var(--brass-text); font-weight: 650; }
.bl-post { display: grid; grid-template-columns: 210px minmax(0, 680px) 230px; gap: 48px; justify-content: center; padding: 48px 24px 32px; }
.bl-toc { align-self: start; display: grid; gap: 14px; }
.bl-toc ol { display: grid; gap: 2px; counter-reset: toc; }
.bl-toc li a { display: grid; grid-template-columns: 26px minmax(0, 1fr); align-items: center; gap: 8px; min-height: 40px; padding: 4px 8px; font-size: 0.9rem; color: var(--soft); text-decoration: none; border-radius: 8px; counter-increment: toc; }
.bl-toc li a::before { content: counter(toc, decimal-leading-zero); font: 500 11px/1 var(--mono); color: var(--quiet); }
.bl-toc li a[aria-current] { background: var(--wash); color: var(--ink); font-weight: 650; }
.bl-progress { height: 4px; border-radius: 999px; background: var(--line); overflow: hidden; }
.bl-progress i { display: block; width: 0; height: 100%; background: var(--brass); border-radius: 999px; }
.bl-body { min-width: 0; }
.bl-body > section { position: relative; }
.bl-body > section + section { margin-top: 64px; }
.bl-body h2 { margin-top: 10px; font-size: clamp(1.6rem, 2.4vw, 2rem); line-height: 1.12; }
.bl-body h2 + p, .bl-body p + p, .bl-body p + ul, .bl-body ul + p { margin-top: 16px; }
.bl-body > section > p, .bl-bullets li { font-size: 1.1rem; line-height: 1.65; }
.bl-bullets { display: grid; gap: 8px; margin-top: 16px; padding-left: 1.2em; list-style: disc; }
.bl-body .guess { background: #fdf3e2; text-decoration: underline dashed var(--brass-text); text-underline-offset: 4px; }
.bl-short { position: relative; display: grid; gap: 12px; padding: 28px 30px; background: var(--wash); border-radius: var(--cut); }
.bl-short::before { content: ""; position: absolute; top: 0; left: 30px; width: 44px; height: 4px; background: var(--brass); border-radius: 0 0 3px 3px; }
.bl-short p { font-size: 1.16rem; line-height: 1.6; }
.bl-leave { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; counter-reset: leave; }
.bl-leave li { display: grid; gap: 8px; align-content: start; padding: 18px; border: 1px solid var(--line); border-radius: 12px; font-size: 0.95rem; counter-increment: leave; }
.bl-leave li::before { content: counter(leave); display: grid; place-items: center; width: 30px; height: 30px; font: 700 0.95rem/1 var(--display); border: 2px solid var(--ink); border-radius: 50%; }
.bl-leave li:first-child::before { background: var(--brass); border-color: var(--brass); }
.bl-aside { position: absolute; top: 6px; left: calc(100% + 48px); width: 230px; }
.bl-side__note { display: grid; gap: 8px; padding-top: 12px; border-top: 2px solid var(--brass); font-size: 0.86rem; line-height: 1.5; color: var(--soft); }
.bl-side__note .src { justify-self: start; }
.bl-side__note b { color: var(--ink); }
.bl-sum { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; margin-top: 28px; padding: 30px; }
.bl-sum__in { display: grid; gap: 18px; align-content: start; }
.bl-slider { display: grid; gap: 4px; }
.bl-slider span { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; }
.bl-slider output { font: 700 1.1rem/1 var(--display); color: var(--brass-text); }
.bl-slider small { font-size: 0.82rem; color: var(--quiet); }
.bl-sum__out { display: grid; gap: 14px; align-content: start; padding: 24px; background: var(--ground); border-radius: 12px; }
.bl-cost { font: 800 clamp(2.4rem, 4vw, 3.2rem)/1 var(--display); letter-spacing: -0.035em; }
.bl-sum__out p { font-size: 0.98rem; line-height: 1.5; }
.bl-sq { display: grid; grid-template-columns: repeat(16, minmax(0, 1fr)); gap: 4px; }
.bl-sq i, .bl-key i { display: block; aspect-ratio: 1; border-radius: 3px; background: var(--line); }
.bl-sq i.lost, .bl-key i.lost { background: var(--ink); }
.bl-sq i.back, .bl-key i.back { background: var(--brass); }
.bl-key { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.82rem; color: var(--soft); }
.bl-key span { display: inline-flex; align-items: center; gap: 6px; }
.bl-key i { width: 10px; height: 10px; }
.bl-sum__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.bl-list { display: grid; margin-top: 22px; }
.bl-list li { display: grid; grid-template-columns: minmax(0, 0.9fr) 28px minmax(0, 1.1fr); gap: 12px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); font-size: 1.02rem; }
.bl-list li:last-child { border-bottom: 1px solid var(--line); }
.bl-list .ico { color: var(--brass-text); }
.bl-words { display: grid; gap: 14px; max-width: 620px; margin-top: 28px; padding: 26px; }
.bl-words__phone { display: grid; gap: 10px; align-content: start; padding: 20px; background: var(--ground); border-radius: 18px; }
.bl-words__to { display: flex; justify-content: space-between; font: 500 11px/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--quiet); }
.bl-bubble { padding: 14px 16px; font-size: 1rem; line-height: 1.5; background: var(--blue-wash); color: var(--ink); border-radius: 18px 18px 18px 5px; }
.bl-bubble mark { padding: 0 3px; background: #f1dfbf; color: var(--ink); border-radius: 3px; }
.bl-bubble--back { justify-self: end; background: var(--paper); border: 1px solid var(--line); border-radius: 18px 18px 5px 18px; font-weight: 650; }
.bl-words__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.bl-quote { margin-top: 24px; padding: 22px 24px; font: 600 1.2rem/1.45 var(--display); letter-spacing: -0.01em; background: var(--paper); border: 1.5px solid var(--ink); border-radius: var(--cut); }
.bl-week { margin-top: 28px; padding: 26px; }
.bl-week__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.bl-week__name { margin: 8px 0 12px; font: 500 12px/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass-text); }
[data-week-part] + [data-week-part] { margin-top: 22px; }
.bl-days { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.bl-day { display: grid; gap: 6px; align-content: start; }
.bl-day > b { font: 500 11px/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--quiet); }
.bl-slot { display: grid; gap: 2px; min-height: 52px; padding: 7px 9px; font-size: 0.8rem; line-height: 1.3; background: var(--ground); border-radius: 8px; }
.bl-slot time { font: 500 11px/1.3 var(--mono); color: var(--quiet); }
.bl-slot--gone { background: var(--bad-wash); color: var(--bad); }
.bl-slot--moved { background: var(--wash); color: var(--brass-text); }
.bl-slot--filled { background: var(--blue-wash); color: var(--blue); }
.bl-slot--paid { background: var(--good-wash); color: var(--good); }
.bl-week__says { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.bl-fig { margin-top: 28px; }
.bl-fig .pic { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--cut); background: var(--ground); border: 1px solid var(--line); }
.bl-fig figcaption { margin-top: 10px; font-size: 0.92rem; color: var(--soft); }
.bl-ask { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 28px; align-items: end; padding: 32px; background: var(--night); color: var(--night-words); border-radius: var(--cut); }
.bl-ask h2 { color: #ffffff; }
.bl-ask .tag { color: var(--on-night); }
.bl-ask p { margin-top: 12px; font-size: 1.05rem; }
.bl-ask .acts { flex-direction: column; align-items: stretch; margin: 0; }
.bl-checked { display: grid; margin-top: 20px; }
.bl-checked li { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 14px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); font-size: 0.95rem; }
.bl-checked li:last-child { border-bottom: 1px solid var(--line); }
.bl-checked .src { justify-self: start; }
.bl-version { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 16px; font-size: 0.88rem; color: var(--quiet); }
.bl-next { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.bl-next a { display: flex; flex-direction: column; gap: 8px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; }
.bl-next b { font: 700 1.02rem/1.3 var(--display); }
.bl-next a > :last-child { margin-top: auto; padding-top: 6px; }

/* ------------------------------------------------------------------ a post's draft, in the back office */

.bl-draft { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.bl-draft textarea { width: 100%; min-height: 640px; padding: 18px 20px; font: 400 0.9rem/1.7 var(--mono); color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: var(--cut); resize: vertical; }
.bl-draft__aside { display: grid; gap: 18px; }
/* a button that can't be pressed yet looks it: Publish waits until nothing is left to settle */
.bl-draft__aside .btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.bl-checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; padding: 10px 20px; border-top: 1px solid var(--line); font-size: 0.88rem; }
.bl-checks .ico { width: 18px; height: 18px; margin-top: 2px; stroke-width: 2.2; }
.bl-checks .ok .ico { color: var(--good); }
.bl-checks .no .ico, .bl-checks .no b { color: var(--bad); }
.bl-checks small { display: block; margin-top: 2px; color: var(--quiet); }
.bl-pics li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 20px; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--soft); }
.bl-pics img { flex: none; width: 112px; height: 64px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); background: var(--ground); }
.bl-pics b { display: block; color: var(--ink); font-size: 0.92rem; }

/* ------------------------------------------------------------------ Answers' desk, in the back office */

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fig > .tag { display: block; }
.fig > b.num { display: block; margin-top: 6px; font: 750 1.9rem/1.05 var(--display); letter-spacing: -0.02em; }
.fig > small { display: block; margin-top: 6px; font-size: 0.82rem; color: var(--quiet); }
.fig .up { color: var(--good); font-weight: 650; }
.bl-idea { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px 16px; align-items: start; padding: 16px 20px; border-top: 1px solid var(--line); }
.bl-idea__n { display: grid; gap: 2px; text-align: center; }
.bl-idea__n b { font: 750 1.4rem/1 var(--display); }
.bl-idea__n small { font: 500 10px/1.2 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--quiet); }
.bl-idea__q > b { display: block; font-size: 1rem; line-height: 1.35; }
.bl-idea__from { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-top: 8px; font-size: 0.82rem; color: var(--soft); }
.bl-idea__from > span { display: inline-flex; align-items: center; gap: 6px; }
.bl-idea__asks { margin-top: 8px; font-size: 0.85rem; }
.bl-idea__asks summary { cursor: pointer; color: var(--quiet); }
.bl-idea__asks li { margin-top: 6px; }
/* what a person can do with an idea, in a row beneath its question */
.bl-idea__end { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.bl-idea__asked { font-size: 0.82rem; color: var(--good); font-weight: 650; }
.bl-idea__write { display: flex; gap: 6px; }
.bl-idea__write input, .bl-said__put select { min-width: 0; min-height: 40px; padding: 6px 10px; font: 400 0.85rem/1.2 var(--body); border: 1.5px solid #c5c8c3; border-radius: 8px; background: var(--paper); }
.bl-said { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; align-items: center; padding: 14px 20px; border-top: 1px solid var(--line); }
.bl-said > div { display: grid; gap: 2px; font-size: 0.92rem; }
.bl-said > div span { font-size: 0.82rem; }
.bl-said__acts { display: grid; gap: 6px; justify-items: end; }
.bl-said__put { display: flex; flex-wrap: wrap; gap: 6px; }
.bl-said__put input[name="question"] { width: 240px; min-height: 40px; padding: 6px 10px; font: 400 0.85rem/1.2 var(--body); border: 1.5px solid #c5c8c3; border-radius: 8px; background: var(--paper); }
.bl-said__put select { max-width: 260px; }
.bl-due { color: var(--bad); font-weight: 650; }
.look-row { display: grid; gap: 4px; padding: 14px 20px; border-top: 1px solid var(--line); }
.look-row b { display: block; font-size: 0.95rem; }
.look-row span span { display: block; margin-top: 2px; font-size: 0.85rem; color: var(--soft); }
.tbl-box { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.tbl th { padding: 10px 12px; font: 500 10.5px/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--quiet); text-align: left; vertical-align: bottom; border-bottom: 1px solid var(--line); }
.tbl td { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td.n, .tbl th.n { text-align: right; font-variant-numeric: tabular-nums; }
.tbl td b { display: block; font-size: 0.95rem; line-height: 1.3; }
.tbl td small { display: block; margin-top: 4px; color: var(--quiet); }
/* a post's title and what it was meant to move are read, so they keep room to be */
.tbl td:first-child { min-width: 200px; }
.tbl td:nth-last-child(2) { min-width: 160px; }

@media (max-width: 1100px) {
  .bl-post { grid-template-columns: minmax(0, 680px) 220px; }
  .bl-toc { display: none; }
  .bl-draft { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .bl-feature, .bl-two, .bl-cta, .bl-sum, .bl-ask, .bl-cards, .bl-guides, .bl-leave, .bl-next { grid-template-columns: minmax(0, 1fr); }
  .bl-post { grid-template-columns: minmax(0, 1fr); padding-inline: 16px; }
  .bl-aside { position: static; width: auto; margin-top: 20px; }
  .bl-days { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bl-sq { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .bl-feature__say, .bl-feature__sum { padding: 28px 22px; }
  .bl-sum, .bl-words { padding: 20px; }
  .bl-list li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .bl-list .ico { display: none; }
  .bl-idea, .bl-said { grid-template-columns: minmax(0, 1fr); }
  .bl-idea__n { display: flex; gap: 8px; align-items: baseline; text-align: left; }
  .bl-idea__end { grid-column: 1; }
  .bl-said__acts { justify-items: start; }
}
