/* Clear a backlog that keeps growing. Loaded after articles.css, for this article only.

   The colour rule does the arguing. Orange is finished work nobody can use: the leak, because the team paid for it
   and nobody gets it. Indigo is the re-reading that came back once the list was short. Live work is the one dark
   thing, because it is the only work anyone can use. Open cards are grey. A parked card is drawn dashed, because it
   is waiting for something named. A closed card is a dotted outline: it is gone, and its reason is what stays.
   The brand gradient appears once, as the line that marks the sitting. */

/* Headings fill the column the same way, step after step, and still never end on one lonely word. */
.a-hero h1 { text-wrap: balance; }
.a-body h2, .a-body h3 { text-wrap: pretty; }
.a-hero .lead, .a-body p, .a-body li, .a-body td { text-wrap: pretty; }
.bl-nw { white-space: nowrap; }
.a-facts dd { text-wrap: balance; }
.a-rail li a > span:nth-child(2) { text-wrap: pretty; }

/* ---------- The set piece: one board, eight weeks, then one sitting ----------
   One bar a week, one small block per card, stacked from the bottom: live, done that nobody can use, open. After the
   gradient line, the same board once each open card has its answer: the closed ones are an outline of what left.
   Under the chart, six of the cards with their answer, then what planning has to read. Armed by articles.js (and
   tool.js, for phones): the armed state is a complete picture of the eight weeks, and the sitting draws in on
   arrival. Without JS, or with reduced motion, the picture is simply finished. */
.bl-fig { margin: 36px 0 0; padding: clamp(14px, 2.4vw, 24px); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-float); display: grid; gap: 16px; min-width: 0; }
.bl-top { display: grid; justify-items: start; gap: 10px; padding: 0 2px; }
.bl-top-t { display: grid; gap: 3px; min-width: 0; }
.a-hero .bl-head { color: var(--ink-hint); }
.bl-need { font-size: 1rem; font-weight: 600; line-height: 1.4; color: var(--ink); text-wrap: pretty; }
.bl-toggle { flex: none; padding: 0.5em 0.95em; border: 0; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px #D5D9EA; color: var(--ink); font: 700 0.8125rem/1.2 var(--sans); cursor: pointer; transition: box-shadow 0.2s; }
.bl-toggle:hover { box-shadow: inset 0 0 0 2px #B5BAD2; }
.bl-toggle[hidden] { display: none; }
.bl-b4, .bl-sum-b { display: none; }

.bl-stage { position: relative; display: grid; gap: 18px; min-width: 0; }

/* The one number to read first, in the corner the short early weeks leave empty. */
.bl-big { position: absolute; left: 2px; top: 0; z-index: 1; display: grid; gap: 4px; width: 11.5rem; }
.bl-big b { font: 700 2.5rem/1 var(--serif); letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; }
.bl-big i { font-style: normal; font-weight: 400; color: var(--ink-hint); }
.bl-big-t { font-size: 0.8125rem; font-weight: 600; line-height: 1.35; color: var(--ink-2); text-wrap: pretty; }
.bl-big .bl-b4, .bl-big .bl-af { transition: none; }

.bl-chart {
  --u: 6px; --foot: 44px;
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)) minmax(0, 2.6fr) 22px minmax(0, 3.9fr);
  align-items: end; column-gap: 4px; min-width: 0; padding-top: 26px; position: relative;
}
/* The floor every bar stands on. */
.bl-chart::after { content: ""; position: absolute; left: 0; right: 0; bottom: calc(var(--foot) - 3px); height: 1px; background: #C9CEE3; pointer-events: none; }
.bl-wk { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; row-gap: 6px; min-width: 0; }
.bl-bar { grid-row: 1; display: flex; flex-direction: column-reverse; width: 22px; }
.bl-bar i {
  display: block; width: 100%; height: calc(var(--n) * var(--u));
  background: repeating-linear-gradient(to top, var(--c) 0 calc(var(--u) - 1px), transparent calc(var(--u) - 1px) var(--u));
}
.s-live { --n: var(--l); --c: var(--night); }
.s-done { --n: var(--d); --c: var(--lift); }
.s-open, .s-keep { --n: var(--o); --c: #B9BFDB; }
.s-keep { --n: var(--k); }
.bl-bar .s-park { --n: var(--p); background: var(--surface); outline: 1.5px dashed #7A81A3; outline-offset: -1.5px; border-radius: 2px; }
.bl-bar .s-gone { --n: var(--g); --c: #E6E8F2; outline: 1.5px dotted #9AA1C4; outline-offset: -1.5px; border-radius: 2px; }
.bl-wn { grid-row: 2; height: 16px; font: 700 0.6875rem/16px var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.bl-io { grid-row: 3; height: 16px; font: 600 0.6875rem/16px var(--mono); color: var(--ink-hint); white-space: nowrap; }
.bl-io b { font-weight: 600; color: var(--ink-2); }
.bl-io em { font-style: normal; }

/* Week 8 and the board after the sitting carry their own labels, each one level with the part of the bar it names. */
.bl-wk.is-w8, .bl-wk.is-after { grid-template-columns: 22px minmax(0, 1fr); column-gap: 8px; justify-items: start; }
.is-w8 .bl-bar, .is-after .bl-bar { grid-column: 1; }
.is-w8 .bl-wn, .is-w8 .bl-io, .is-after .bl-wn, .is-after .bl-io { grid-column: 1; justify-self: center; }
.is-w8 .bl-io, .is-after .bl-io { justify-self: start; }
.bl-labs { grid-column: 2; grid-row: 1; align-self: end; display: flex; flex-direction: column-reverse; min-width: 0; }
.bl-cl { display: flex; align-items: center; min-width: 0; font-size: 0.8125rem; font-weight: 600; line-height: 1.15; color: var(--ink-2); text-wrap: wrap; }
.bl-cl > span { display: block; min-width: 0; text-wrap: pretty; }
.l-live { height: calc(var(--l) * var(--u)); color: var(--ink); }
.l-done { height: calc(var(--d) * var(--u)); color: var(--lift-ink); font-weight: 700; }
.l-open { height: calc(var(--o) * var(--u)); align-items: flex-start; padding-top: 2px; color: var(--ink); font-weight: 700; }
.l-keep { height: calc(var(--k) * var(--u)); color: var(--ink); }
.l-keep b { font-weight: 800; }
.l-park { height: calc(var(--p) * var(--u)); }
.l-gone { height: calc(var(--g) * var(--u)); align-items: flex-start; padding-top: 2px; color: var(--ink-hint); }
.is-after .bl-wn { color: var(--ink); }

/* The sitting: the brand gradient, once, as a line from the top of the board to its floor. */
.bl-cut { align-self: stretch; position: relative; }
.bl-cut::before { content: ""; position: absolute; left: 50%; top: 0; bottom: var(--foot); width: 3px; margin-left: -1.5px; border-radius: 2px; background: linear-gradient(180deg, #AC76FD 0%, #7E71FA 50%, #536CF9 100%); transform-origin: top; transition: transform 0.7s var(--ease) 0.1s; }
.bl-cut span { position: absolute; left: 50%; top: -22px; transform: translateX(-50%); padding: 2px 8px; border-radius: 999px; background: var(--surface); font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.08em; line-height: 1.3; text-transform: uppercase; white-space: nowrap; color: var(--ink); transition: opacity 0.4s 0.5s; }

/* The after column grows from the floor, one part at a time, with a small overshoot. */
.is-after .bl-bar i { transform-origin: bottom; transition: transform 0.5s cubic-bezier(0.34, 1.4, 0.64, 1); }
.is-after .bl-bar .s-live { transition-delay: 0.55s; }
.is-after .bl-bar .s-done { transition-delay: 0.62s; }
.is-after .bl-bar .s-keep { transition-delay: 0.7s; }
.is-after .bl-bar .s-park { transition-delay: 0.8s; }
.is-after .bl-bar .s-gone { transition: opacity 0.6s 0.95s; }
.is-after .bl-cl, .is-after .bl-wn, .is-after .bl-io { transition: opacity 0.4s 1s, transform 0.4s var(--ease) 1s; }

.bl-sum { display: none; font-size: 0.875rem; line-height: 1.45; color: var(--ink-2); }
.bl-sum b { color: var(--ink); font-weight: 700; }
.bl-sum b.is-done { color: var(--lift-ink); }

/* Six cards from the open column, each with its answer. A closed card keeps its name, struck through, so the
   reason stays readable next to it. */
.bl-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; min-width: 0; padding-top: 14px; border-top: 1px solid var(--rule); }
.bl-cards-t { grid-column: 1 / -1; font-size: var(--t-eyebrow); font-weight: 700; letter-spacing: 0.14em; line-height: 1.4; text-transform: uppercase; color: var(--ink-hint); }
.bl-row { display: grid; gap: 6px; align-content: start; padding: 10px 12px 11px; border-radius: 12px; background: var(--paper); min-width: 0; }
.bl-rn { display: grid; gap: 1px; min-width: 0; }
.bl-rn b { position: relative; justify-self: start; font-size: 0.9375rem; font-weight: 700; line-height: 1.3; color: var(--ink); transition: color 0.3s; transition-delay: calc(var(--n) * 90ms + 0.9s); }
.bl-rn small { font: 500 0.75rem/1.35 var(--mono); color: var(--ink-hint); }
.is-close .bl-rn b { color: var(--ink-hint); }
.is-close .bl-rn b::after { content: ""; position: absolute; left: 0; right: 0; top: 55%; height: 1.5px; background: var(--ink-hint); transform-origin: left; transition: transform 0.4s var(--ease); transition-delay: calc(var(--n) * 90ms + 0.9s); }
.bl-rf { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-size: 0.875rem; font-weight: 600; line-height: 1.35; color: var(--ink-2); transition: opacity 0.3s, transform 0.42s cubic-bezier(0.34, 1.5, 0.64, 1); transition-delay: calc(var(--n) * 90ms + 0.95s); }
.bl-rf em { padding: 0.1em 0.6em; border-radius: 999px; font: 700 0.6875rem/1.45 var(--sans); font-style: normal; letter-spacing: 0.04em; }
.is-close .bl-rf em { background: var(--grid); color: var(--ink-hint); box-shadow: inset 0 0 0 1px #D5D9EA; }
.is-park .bl-rf em { background: var(--surface); color: var(--ink); outline: 1.5px dashed #7A81A3; outline-offset: -1.5px; }
.is-keep .bl-rf em { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.is-keep .bl-rf { color: var(--ink); }
.bl-more { grid-column: 1 / -1; padding: 2px 2px 0; font-size: 0.875rem; font-weight: 600; color: var(--ink-hint); }

/* What planning reads every week. The time that came back is the one indigo surface in the picture. */
.bl-read { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; min-width: 0; }
.bl-read > div { display: grid; gap: 3px; align-content: start; padding: 12px 14px; border-radius: 14px; background: var(--paper); min-width: 0; }
.bl-read .eyebrow { color: var(--ink-hint); }
.bl-read b { font: 700 clamp(1.35rem, 1.15rem + 0.7vw, 1.65rem)/1.1 var(--serif); letter-spacing: -0.01em; color: var(--ink); }
.bl-read small { font-size: 0.8125rem; font-weight: 600; line-height: 1.35; color: var(--ink-2); }
.bl-read > .bl-read-back { background: var(--primary-deep); clip-path: inset(0 0 0 0 round 14px); transition: clip-path 0.8s var(--ease) 1.4s; }
.bl-read > .bl-read-back .eyebrow, .bl-read > .bl-read-back small { color: #DDE2FF; }
.bl-read > .bl-read-back b { color: #fff; }

.bl-key { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; padding: 0 2px; list-style: none; font-size: 0.8125rem; line-height: 1.3; color: var(--ink-2); }
.bl-key li { display: flex; align-items: center; gap: 7px; }
.bl-key i { display: block; width: 14px; height: 10px; border-radius: 3px; }
.k-open { background: #B9BFDB; }
.k-done { background: var(--lift); }
.k-live { background: var(--night); }
.k-park { outline: 1.5px dashed #7A81A3; outline-offset: -1.5px; }
.k-gone { background: #E6E8F2; outline: 1.5px dotted #9AA1C4; outline-offset: -1.5px; }
.k-back { background: var(--primary-deep); }

.bl-cap { margin-top: 12px; font-size: 0.9375rem; line-height: 1.5; color: var(--ink-hint); }

/* Before the sitting: the armed state, or the toggle. A complete picture of eight weeks, with nothing sorted yet. */
.bl-fig.is-armed:not(.is-cut) .bl-af, .bl-fig.is-before .bl-af,
.bl-fig.is-armed:not(.is-cut) .bl-afk, .bl-fig.is-before .bl-afk { display: none; }
.bl-fig.is-armed:not(.is-cut) .bl-b4, .bl-fig.is-before .bl-b4 { display: inline; }
.bl-fig.is-armed:not(.is-cut) .bl-cut::before, .bl-fig.is-before .bl-cut::before { transform: scaleY(0); transition: none; }
.bl-fig.is-armed:not(.is-cut) .bl-cut span, .bl-fig.is-before .bl-cut span { opacity: 0; transition: none; }
.bl-fig.is-armed:not(.is-cut) .is-after .bl-bar i, .bl-fig.is-before .is-after .bl-bar i { transform: scaleY(0); transition: none; }
.bl-fig.is-armed:not(.is-cut) .is-after .bl-bar .s-gone, .bl-fig.is-before .is-after .bl-bar .s-gone { transform: none; opacity: 0; }
.bl-fig.is-armed:not(.is-cut) .is-after :is(.bl-cl, .bl-wn, .bl-io), .bl-fig.is-before .is-after :is(.bl-cl, .bl-wn, .bl-io) { opacity: 0; transform: translateY(4px); transition: none; }
.bl-fig.is-armed:not(.is-cut) .bl-rf, .bl-fig.is-before .bl-rf { opacity: 0; transform: translateY(6px) scale(0.96); transition: none; }
.bl-fig.is-armed:not(.is-cut) .is-close .bl-rn b, .bl-fig.is-before .is-close .bl-rn b { color: var(--ink); transition: none; }
.bl-fig.is-armed:not(.is-cut) .is-close .bl-rn b::after, .bl-fig.is-before .is-close .bl-rn b::after { transform: scaleX(0); transition: none; }
.bl-fig.is-armed:not(.is-cut) .bl-read > .bl-read-back, .bl-fig.is-before .bl-read > .bl-read-back { clip-path: inset(0 100% 0 0 round 14px); transition: none; }
.bl-fig.is-armed:not(.is-cut) .bl-sum-a, .bl-fig.is-before .bl-sum-a { display: none; }
.bl-fig.is-armed:not(.is-cut) .bl-sum-b, .bl-fig.is-before .bl-sum-b { display: inline; }

/* ---------- Age, against the reason ----------
   Three columns: the card, what an age rule says, what the reason says. The age rule is dashed, because it is an
   absence: nothing about the card itself. The reason is outlined in ink. */
.bl-age { margin: 0; padding: clamp(16px, 2.6vw, 24px); border-radius: 22px; background: var(--grid); display: grid; gap: 14px; min-width: 0; }
.bl-age-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.15fr); column-gap: 10px; row-gap: 10px; align-items: stretch; min-width: 0; }
.bl-age-h { font-size: var(--t-eyebrow); font-weight: 700; letter-spacing: 0.14em; line-height: 1.4; text-transform: uppercase; color: var(--ink-hint); }
.bl-age-h.is-r { color: var(--ink); }
.bl-age-c { display: grid; gap: 2px; align-content: center; padding: 12px 14px; border-radius: 12px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule); min-width: 0; }
.bl-age-c b { font-size: 0.9375rem; font-weight: 700; line-height: 1.3; color: var(--ink); }
.bl-age-c small { font: 500 0.75rem/1.35 var(--mono); color: var(--ink-hint); }
.bl-age-v, .bl-age-f { display: grid; gap: 4px; align-content: center; padding: 12px 14px; border-radius: 12px; font-size: 0.875rem; font-weight: 600; line-height: 1.35; min-width: 0; }
.bl-age-v { outline: 2px dashed #B9BFDB; outline-offset: -2px; color: var(--ink-hint); }
.bl-age-f { background: var(--surface); box-shadow: inset 0 0 0 2px var(--ink); color: var(--ink-2); }
.bl-age-v em, .bl-age-f em { font-style: normal; font-size: 0.9375rem; font-weight: 800; }
.bl-age-v em { color: var(--ink-hint); }
.bl-age-f em { color: var(--ink); }
.bl-age figcaption, .bl-path figcaption { font-size: 0.9375rem; line-height: 1.5; color: var(--ink-hint); }

/* ---------- The questions, as a path ----------
   Questions down the left, joined by one line. Each answer that sorts an item leaves to the right with its kind. The
   first question is set apart: it is noted, and it never sends an item anywhere. */
.bl-path { margin: 0; padding: clamp(16px, 2.6vw, 24px); border-radius: 22px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule); display: grid; gap: 14px; min-width: 0; }
.bl-path-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); column-gap: 14px; row-gap: 22px; align-items: center; min-width: 0; }
.bl-pq { grid-column: 1; grid-row: var(--r); position: relative; padding: 10px 13px; border-radius: 12px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink); font-size: 0.9375rem; font-weight: 700; line-height: 1.3; color: var(--ink); min-width: 0; }
.bl-pq[data-in]::before { content: attr(data-in); position: absolute; left: 14px; bottom: 100%; margin-bottom: 3px; font: 600 0.6875rem/1.3 var(--mono); color: var(--ink-hint); white-space: nowrap; }
.bl-pq.is-hint { box-shadow: none; outline: 1.5px dashed #B9BFDB; outline-offset: -1.5px; color: var(--ink-2); }
.bl-pq.is-end { box-shadow: none; background: none; padding-block: 4px; font-weight: 600; color: var(--ink-2); }
.bl-pa { grid-column: 2; grid-row: var(--r); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-width: 0; }
.bl-pa i { font: 600 0.75rem/1.3 var(--mono); font-style: normal; color: var(--ink-2); white-space: nowrap; }
.bl-pa i::after { content: " →"; color: var(--ink-hint); }
.bl-pa.is-sub { margin-top: -12px; }
.bl-pn { font-size: 0.875rem; font-weight: 600; line-height: 1.35; color: var(--ink-hint); }

/* The kinds, the same everywhere on the page: closed is grey, parked is dashed, kept is outlined in ink. */
.bl-k { display: inline-block; padding: 0.25em 0.7em; border-radius: 999px; font-size: 0.8125rem; font-weight: 700; line-height: 1.3; color: var(--ink-2); background: var(--grid); box-shadow: inset 0 0 0 1px #D5D9EA; }
.bl-k.is-close { background: var(--grid); color: var(--ink-2); }
.bl-k.is-park { background: var(--surface); color: var(--ink); box-shadow: none; outline: 1.5px dashed #7A81A3; outline-offset: -1.5px; }
.bl-k.is-keep { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }

/* ---------- Step 1: the list ---------- */
.bl-tool { display: grid; gap: 10px; margin-top: 4px; min-width: 0; }
.bl-lab { font-size: 0.9375rem; font-weight: 700; line-height: 1.35; color: var(--ink); }
#bl-list { width: 100%; min-height: 12rem; padding: 0.75em 0.9em; border: 1px solid #D5D9EA; border-radius: 12px; background: var(--surface); color: var(--ink); font: 500 1rem/1.6 var(--sans); resize: vertical; transition: border-color 0.2s, box-shadow 0.2s; }
#bl-list::placeholder { color: var(--ink-hint); }
#bl-list:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79, 108, 248, 0.25); }
.bl-count { font-size: 0.9375rem; line-height: 1.5; color: var(--ink-hint); }
.bl-count.is-flag { color: var(--ink); }
.bl-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.a-body .bl-privacy { line-height: 1.5; color: var(--ink-hint); }

/* One quiet pill for every control: the one filled button on the page is the consult. */
.bl-text, .bl-go { padding: 0.55em 1em; border: 0; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px #D5D9EA; color: var(--ink); font: 700 0.875rem/1.2 var(--sans); cursor: pointer; transition: box-shadow 0.2s, background-color 0.2s; }
.bl-go { background: var(--night); box-shadow: none; color: #fff; }
.bl-go::after { content: " →"; }
.bl-text:hover { box-shadow: inset 0 0 0 2px #B5BAD2; }
.bl-go:hover { background: var(--night-2); }
.bl-text[disabled] { color: var(--ink-hint); cursor: default; box-shadow: inset 0 0 0 1px var(--rule); }
.bl-sort button:focus-visible, .bl-tool button:focus-visible, .bl-toggle:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.bl-nojs { font-size: 0.9375rem; line-height: 1.5; color: var(--ink-hint); }

/* ---------- Step 2: one item at a time ---------- */
.bl-sort { display: grid; gap: 12px; margin-top: 6px; min-width: 0; }
.bl-mode { font-size: 0.9375rem; line-height: 1.45; color: var(--ink-hint); }
.bl-mode.is-mine { color: var(--ink); font-weight: 600; }
.bl-chips { list-style: none; margin: 0; padding: 0 !important; display: flex !important; flex-wrap: wrap; gap: 6px !important; }
/* Every chip looks the same, except the one on the card. Its kind is the small mark, as in the key above. */
.bl-chip { display: inline-flex; align-items: center; gap: 7px; max-width: 15rem; padding: 0.4em 0.75em 0.4em 0.6em; border: 0; border-radius: 10px; background: var(--surface); box-shadow: inset 0 0 0 1px #D5D9EA; color: var(--ink-2); font: 600 0.8125rem/1.25 var(--sans); text-align: left; cursor: pointer; transition: box-shadow 0.2s; }
.bl-chip .bl-sw { flex: none; width: 12px; height: 10px; border-radius: 3px; }
.bl-chip-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bl-chip:hover { box-shadow: inset 0 0 0 2px #B5BAD2; }
.bl-chip[aria-current="true"] { box-shadow: inset 0 0 0 2px var(--ink); color: var(--ink); font-weight: 800; }

.bl-card { display: grid; gap: 0; padding: clamp(18px, 3vw, 26px); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-float); min-width: 0; }
.bl-c-head { display: grid; gap: 4px; padding-bottom: 14px; }
.bl-c-n { font-size: var(--t-eyebrow); font-weight: 700; letter-spacing: 0.14em; line-height: 1.4; text-transform: uppercase; color: var(--ink-hint); }
.bl-c-name { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem); line-height: 1.12; color: var(--ink); overflow-wrap: anywhere; }
.bl-c-name:focus { outline: none; }
/* The question above its answers, so every answer row starts at the same left edge. */
.bl-q { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding-block: 12px; border-top: 1px solid var(--rule); min-width: 0; }
.bl-q[hidden], .bl-more[hidden], .bl-vhint[hidden] { display: none; }
.bl-ql { font-size: 0.9375rem; font-weight: 700; line-height: 1.35; color: var(--ink); }
.bl-q.is-age .bl-ql { color: var(--ink-2); font-weight: 600; }
.bl-qh { font-size: 0.8125rem; line-height: 1.4; color: var(--ink-hint); }
.bl-seg { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 4px; min-width: 0; }
.bl-seg button { min-width: 4.25rem; }
.bl-seg button { min-height: 2.4rem; padding: 0.3em 0.85em; border: 0; border-radius: 10px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule); color: var(--ink-2); font: 700 0.875rem/1.15 var(--sans); cursor: pointer; transition: background-color 0.2s, box-shadow 0.2s, color 0.2s; }
.bl-seg button:hover { box-shadow: inset 0 0 0 2px #B5BAD2; }
.bl-seg button[aria-pressed="true"] { background: var(--night); box-shadow: none; color: #fff; }
.bl-more { grid-column: 1 / -1; display: grid; gap: 6px; min-width: 0; font-size: 0.875rem; font-weight: 700; line-height: 1.35; color: var(--ink); }
.bl-more input { width: 100%; min-width: 0; padding: 0.6em 0.8em; border: 1px solid #D5D9EA; border-radius: 10px; background: var(--paper); color: var(--ink); font: 500 1rem/1.4 var(--sans); transition: border-color 0.2s, box-shadow 0.2s; }
.bl-more input::placeholder { color: var(--ink-hint); font-weight: 400; }
.bl-more input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79, 108, 248, 0.25); }
.bl-more small { font-size: 0.8125rem; font-weight: 500; color: var(--ink-hint); }

.bl-verdict { display: grid; gap: 6px; justify-items: start; margin-top: 4px; padding: 14px 16px; border-radius: 14px; background: var(--paper); min-width: 0; }
.bl-verdict.is-open .bl-k { background: none; box-shadow: inset 0 0 0 1px #D5D9EA; color: var(--ink-hint); }
.bl-vnote { font-size: 1rem; font-weight: 600; line-height: 1.5; color: var(--ink); overflow-wrap: anywhere; }
.bl-vnote.is-plain { font-size: 0.9375rem; font-weight: 500; color: var(--ink-2); }
.bl-verdict.is-open .bl-vnote { color: var(--ink-hint); }
.bl-vhint { font-size: 0.9375rem; line-height: 1.45; color: var(--ink-2); }
.bl-vhint.is-flag { color: var(--ink); font-weight: 600; }
.bl-vhint.is-flag::before { content: "Missing: "; color: var(--ink-hint); font-weight: 700; }

.bl-nav { display: flex; justify-content: space-between; align-items: center; gap: 10px; }

/* The tally is plain text with a swatch, so it reads as the key to the items under it, not as more items. */
.bl-tally { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; font-size: 0.875rem; font-weight: 600; line-height: 1.3; color: var(--ink-2); }
.bl-t { display: inline-flex; align-items: center; gap: 6px; }
.bl-t b { font: 700 1.0625rem/1 var(--serif); color: var(--ink); }
.bl-sw { display: block; width: 16px; height: 12px; border-radius: 4px; }
.bl-sw.k-keep { background: var(--surface); box-shadow: inset 0 0 0 2px var(--ink); }
.bl-sw.k-close { background: var(--grid); box-shadow: inset 0 0 0 1px #D5D9EA; }
.bl-sw.k-park { background: var(--surface); outline: 1.5px dashed #7A81A3; outline-offset: -1.5px; }
.bl-sw.k-open { background: var(--surface); box-shadow: inset 0 0 0 1px #D5D9EA; }
.bl-agecheck:empty { display: none; }
.bl-agecheck p { padding: 12px 14px; border-radius: 12px; background: var(--grid); font-size: 0.9375rem; line-height: 1.5; color: var(--ink-2); }
.bl-agecheck b { color: var(--ink); }

/* ---------- Step 3: the notes ---------- */
.bl-out { display: grid; gap: 12px; min-width: 0; }
.bl-out .a-code.is-tall pre { max-height: none; white-space: pre-wrap; overflow-wrap: anywhere; }
/* The notes are words for people, not commands, so they sit on a light card in the body face. */
.a-code.bl-paper { background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule); }
.a-code.bl-paper pre { color: var(--ink); font: 500 0.9375rem/1.65 var(--sans); }
.a-body .a-code.bl-paper code { font-family: var(--sans); }
.a-code.bl-paper[data-label]::before { color: var(--ink-hint); font-weight: 700; }
.a-code.bl-paper .a-copy { background: var(--grid); color: var(--ink); }
.a-code.bl-paper .a-copy:hover { background: var(--night); color: #fff; }
.bl-out-t { margin-top: 6px; font-size: 0.9375rem; font-weight: 700; line-height: 1.35; color: var(--ink); }
.bl-say { font-size: 0.9375rem; line-height: 1.5; color: var(--ink-hint); }
.bl-left-read:empty { display: none; }
.bl-left-read > div:not(.bl-read-back) { background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule); }

/* ---------- Step 4: marked done, beside live ----------
   Two rows of squares on the same grid, so square N of one row sits over square N of the other. What is marked done
   but not live is the gap in the second row, in orange: finished work that stops before anyone can use it. */
.bl-dl { display: grid; gap: 12px; margin-top: 4px; min-width: 0; }
.bl-dl-in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; }
.bl-dl-in .bl-lab { display: grid; gap: 8px; align-content: end; }
.bl-dl-in input { width: 100%; max-width: 9rem; padding: 0.6em 0.8em; border: 1px solid #D5D9EA; border-radius: 10px; background: var(--surface); color: var(--ink); font: 700 1.125rem/1.3 var(--mono); transition: border-color 0.2s, box-shadow 0.2s; }
.bl-dl-in input::placeholder { color: var(--ink-hint); font-weight: 500; }
.bl-dl-in input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79, 108, 248, 0.25); }
.bl-sq { margin: 0; padding: clamp(16px, 2.6vw, 22px); border-radius: 22px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule); display: grid; gap: 10px; min-width: 0; }
.bl-sq-t { font-size: var(--t-eyebrow); font-weight: 700; letter-spacing: 0.14em; line-height: 1.4; text-transform: uppercase; color: var(--ink-hint); }
.bl-sq-rows { display: grid; gap: 6px; min-width: 0; }
.bl-sq-l { margin-top: 4px; font-size: 0.875rem; font-weight: 700; line-height: 1.3; color: var(--ink); }
.bl-sq-l b { margin-left: 4px; font: 700 1.125rem/1 var(--serif); }
.bl-sq-r { display: grid; grid-template-columns: repeat(auto-fill, 22px); gap: 5px; min-width: 0; min-height: 22px; }
.bl-sq-r i { display: block; width: 22px; height: 22px; border-radius: 6px; background: #B9BFDB; }
.bl-sq-r i.is-live { background: var(--night); }
.bl-sq-r i.is-gap { background: var(--lift-tint); box-shadow: inset 0 0 0 1.5px var(--lift); }
.bl-sq-say { font-size: 0.9375rem; line-height: 1.5; color: var(--ink-2); }
.bl-sq-say b { color: var(--ink); }

.a-proof { grid-template-columns: minmax(0, 1fr); }

/* ---------- Phones ----------
   Each picture gets its own phone layout. The chart keeps all eight weeks and loses its side labels: one plain
   sentence under it says what they said. */
@media (max-width: 640px) {
  .bl-big { position: static; width: auto; padding: 0 2px; }
  .bl-big b { font-size: 2.125rem; }
  .bl-chart { --u: 5px; --foot: 54px; grid-template-columns: repeat(8, minmax(0, 1fr)) 14px minmax(0, 1fr); column-gap: 2px; }
  .bl-wk.is-w8, .bl-wk.is-after { grid-template-columns: minmax(0, 1fr); justify-items: center; column-gap: 0; }
  .bl-labs { display: none; }
  .bl-bar { width: 16px; }
  .bl-io { height: 26px; line-height: 13px; text-align: center; font-size: 0.625rem; }
  .bl-io b, .bl-io em { display: block; }
  .bl-wn { font-size: 0.625rem; letter-spacing: 0.04em; }
  .bl-cut span { font-size: 0.5625rem; top: -22px; }
  .bl-sum { display: block; }
  .bl-sum-a, .bl-sum-b { display: block; text-wrap: pretty; }
  .bl-fig.is-armed:not(.is-cut) .bl-sum-b, .bl-fig.is-before .bl-sum-b { display: block; }

  .bl-cards { grid-template-columns: minmax(0, 1fr); }
  .bl-read { grid-template-columns: minmax(0, 1fr); }
  .bl-read > div { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t b" "s b"; align-items: center; column-gap: 12px; padding: 10px 14px; }
  .bl-read .eyebrow { grid-area: t; }
  .bl-read b { grid-area: b; font-size: 1.3rem; text-align: right; }
  .bl-read small { grid-area: s; }

  .bl-age-in { grid-template-columns: minmax(0, 1fr); row-gap: 6px; }
  .bl-age-h { display: none; }
  .bl-age-c { margin-top: 10px; }
  .bl-age-c:first-of-type { margin-top: 0; }
  .bl-age-v::before { content: "An age rule says"; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
  .bl-age-f::before { content: "The reason says"; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-hint); }

  .bl-path-in { grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); column-gap: 10px; }
  .bl-pq { padding: 9px 11px; font-size: 0.875rem; }
  .bl-pa { flex-direction: column; align-items: flex-start; gap: 3px; }
  .bl-k { font-size: 0.75rem; }

  .bl-q { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .bl-seg { justify-content: flex-start; }
  /* On a phone the items are a plain list, one to a row, so nothing wraps unevenly. */
  .bl-chips { flex-direction: column; gap: 4px !important; }
  .bl-chip { display: flex; width: 100%; max-width: none; }
  .bl-chip-t { white-space: normal; overflow: visible; }
  .bl-dl-in { grid-template-columns: minmax(0, 1fr); }
  .bl-sq-r { grid-template-columns: repeat(auto-fill, 20px); gap: 4px; }
  .bl-sq-r i { width: 20px; height: 20px; }
}

@media (max-width: 360px) {
  .bl-bar { width: 13px; }
  .bl-path-in { grid-template-columns: minmax(0, 1fr); row-gap: 8px; }
  .bl-pq { grid-row: auto; margin-top: 16px; }
  .bl-pa { grid-row: auto; flex-direction: row; padding-left: 14px; }
  .bl-pa.is-sub { margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .bl-cut::before, .bl-cut span, .is-after .bl-bar i, .is-after .bl-cl, .is-after .bl-wn, .is-after .bl-io,
  .bl-rn b, .bl-rn b::after, .bl-rf, .bl-read > .bl-read-back, .bl-toggle, .bl-seg button, .bl-chip, .bl-text, .bl-go { transition: none !important; }
}
