/* Ask for a decision in one read. Loaded after articles.css, for this article only.

   The colour rule does the arguing. Orange is a question that came back: a leak, because each one costs a day.
   Indigo is the days that came back. What you send is the one dark thing in each picture, because it is what
   changes. The yes is outlined in ink: it is the end of the wait, not a gain in itself. Everything else is grey. */

.a-hero h1, .a-body h2, .a-body h3 { text-wrap: balance; }
.a-hero .lead, .a-body p, .a-body li, .a-body td { text-wrap: pretty; }
.ak-nw { white-space: nowrap; }
.a-rail li a > span:nth-child(2), .a-facts dd, .ak-sil-n, .ak-lh b { text-wrap: balance; }

/* ---------- The set piece: one request, two ways ----------
   A week of working days across the top. Two lanes under it, one per way of writing the same request, so a
   reply sits under the day it came. On phones the week runs down the page instead, and the lanes stand side
   by side. Under the calendar, the message written ask first, its lines tied by number to the questions it
   answers. Armed by articles.js: the armed state is a complete picture on purpose (the days that came back
   are simply not drawn yet, and the message lines are dimmer). On arrival the indigo draws in and the lines
   turn on. Without JS, or with reduced motion, all of it is simply on. */
/* It sits right under the lead, so the calendar is on the first screen of a laptop. Byline and facts follow it. */
.ak-fig { margin: 26px 0 0; padding: clamp(14px, 2.2vw, 22px); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-float); display: grid; gap: 14px; min-width: 0; }
.ak-top { display: grid; gap: 3px; padding: 0 2px; }
.a-hero .ak-head { color: var(--ink-hint); }
.ak-need { font-size: 1rem; font-weight: 600; line-height: 1.4; color: var(--ink); text-wrap: pretty; }
.ak-mc-t { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; line-height: 1.5; text-transform: uppercase; color: var(--ink-hint); }

.ak-cal { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: 5px; row-gap: 6px; min-width: 0; }
.ak-day { grid-row: 1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; padding: 0 3px 4px; border-bottom: 1px solid var(--rule); font-size: 0.75rem; line-height: 1.3; color: var(--ink-hint); }
.ak-day b { font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.ak-day small { font: 600 0.6875rem/1.3 var(--mono); }
.ak-day[data-d="1"] { grid-column: 1; }
.ak-day[data-d="2"] { grid-column: 2; }
.ak-day[data-d="3"] { grid-column: 3; }
.ak-day[data-d="4"] { grid-column: 4; }
.ak-day[data-d="5"] { grid-column: 5; }
.ak-day[data-d="6"] { grid-column: 6; }

.ak-lh { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 12px; margin-top: 8px; padding: 0 2px; font-size: 0.9375rem; line-height: 1.3; color: var(--ink); }
.ak-lh b { font-weight: 700; }
.ak-lh span { font: 600 0.8125rem/1.3 var(--mono); color: var(--ink-2); }
.ak-lh i { font-style: normal; }
.ak-lh i + i::before { content: " · "; }
.ak-lh[data-l="1"] { grid-row: 2; }
.ak-lh[data-l="2"] { grid-row: 4; }

.ak-c { min-width: 0; display: grid; align-content: start; gap: 5px; padding: 8px 9px 10px; border-radius: 10px; font-size: 0.8125rem; font-weight: 600; line-height: 1.35; overflow-wrap: break-word; hyphens: manual; }
.ak-c small { display: flex; align-items: center; gap: 5px; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em; line-height: 1.3; text-transform: uppercase; }
.ak-c small i { display: grid; place-items: center; width: 1.15rem; height: 1.15rem; border-radius: 50%; font: 600 0.6875rem/1 var(--mono); font-style: normal; letter-spacing: 0; }
.ak-c[data-l="1"] { grid-row: 3; }
.ak-c[data-l="2"] { grid-row: 5; }
.ak-c[data-d="1"] { grid-column: 1; }
.ak-c[data-d="2"] { grid-column: 2; }
.ak-c[data-d="3"] { grid-column: 3; }
.ak-c[data-d="4"] { grid-column: 4; }
.ak-c[data-d="5"] { grid-column: 5; }
.ak-c[data-d="6"] { grid-column: 6; }
.ak-c.is-you { background: var(--night); color: #fff; }
.ak-c.is-you small { color: var(--on-night-2); }
.ak-c.is-q { background: var(--lift-tint); color: var(--lift-ink); }
.ak-c.is-q small { color: var(--lift-ink); }
.ak-c.is-q small i { background: var(--surface); color: var(--lift-ink); }
.ak-c.is-yes { background: var(--surface); box-shadow: inset 0 0 0 2px var(--ink); color: var(--ink); }
.ak-c.is-yes small { color: var(--ink-2); }
.ak-c.is-yes small::after { content: ""; width: 0.75rem; height: 0.42rem; margin: -0.2rem 0 0 1px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }

.ak-back { grid-row: 5; grid-column: 3 / 7; display: grid; place-items: center; padding: 8px 10px; border-radius: 10px; background: var(--primary-deep); clip-path: inset(0 0 0 0 round 10px); transition: clip-path 0.9s var(--ease) 0.25s; }
.ak-back span { font-size: 0.9375rem; font-weight: 700; line-height: 1.25; text-align: center; color: #fff; transition: opacity 0.4s 0.9s; }

/* The message, ask first. Each number ties a line to the question it answers in the lane above. */
.ak-msg-card { display: grid; gap: 9px; padding: 12px 14px 14px; border-radius: 12px; background: var(--night); color: var(--on-night); min-width: 0; }
.ak-mc-t { color: var(--on-night-2); }
.ak-ml { display: flex; align-items: flex-start; gap: 6px; font: 500 0.8125rem/1.5 var(--mono); color: var(--on-night); transition: color 0.4s; transition-delay: calc(var(--n, 0) * 260ms + 200ms); }
.ak-ml span { flex: 1 1 auto; min-width: 0; }
.ak-ml i { flex: none; display: grid; place-items: center; width: 1.3rem; height: 1.3rem; margin-top: 0.05rem; border-radius: 50%; background: #C9D2FC; color: var(--night); font: 600 0.75rem/1 var(--mono); font-style: normal; }
.ak-ml.is-quiet { color: var(--on-night-2); }

.a-hero .ak-key { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 2px 0 0; padding: 0; list-style: none; font-size: 0.8125rem; line-height: 1.3; color: var(--ink-2); }
.ak-key li { display: flex; align-items: center; gap: 7px; }
.ak-key i { display: block; width: 14px; height: 10px; border-radius: 3px; }
.k-you { background: var(--night); }
.k-q { background: var(--lift-tint); box-shadow: inset 0 0 0 1px var(--lift); }
.k-yes { background: var(--surface); box-shadow: inset 0 0 0 2px var(--ink); }
.k-back { background: var(--primary-deep); }

.is-armed:not(.is-cut) .ak-back { clip-path: inset(0 100% 0 0 round 10px); transition: none; }
.is-armed:not(.is-cut) .ak-back span { opacity: 0; transition: none; }
.is-armed:not(.is-cut) .ak-ml:not(.is-quiet) { color: #6C739A; transition: none; }

.ak-cap { margin-top: 12px; font-size: 0.9375rem; line-height: 1.5; color: var(--ink-hint); }
.a-hero .ak-cap + .a-by { margin-top: 32px; }

/* ---------- Every question back is a missing line ---------- */
.ak-rounds td:first-child { width: 42%; }

/* ---------- Where the ask sits ----------
   The same request as two pages of text, drawn as lines. A dashed box marks the start of each, which is what a
   notification shows. Only the ask is written out in words, so the eye goes to where it sits. */
.ak-sil { margin: 0; padding: clamp(16px, 2.6vw, 24px); border-radius: 22px; background: var(--grid); display: grid; gap: 14px; min-width: 0; }
.ak-sil-in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 16px; min-width: 0; }
.ak-sil-col { display: grid; align-content: start; gap: 4px; min-width: 0; }
.ak-sil-col .ak-page { margin-top: 10px; }
.ak-sil-t, .ak-part { font-size: var(--t-eyebrow); font-weight: 700; letter-spacing: 0.14em; line-height: 1.4; text-transform: uppercase; color: var(--ink-hint); }
.ak-sil-into { display: none; }
.ak-page { display: grid; align-content: start; gap: 7px; padding: 22px 14px 16px; border-radius: 14px; background: var(--surface); min-width: 0; }
.ak-page .ln { display: block; height: 7px; border-radius: 4px; background: var(--grid); }
.ak-page .ln.is-mid { width: 80%; }
.ak-page .ln.is-short { width: 55%; }
.ak-para { display: block; height: 4px; }
.ak-peek { position: relative; margin: 0 -6px 4px; padding: 10px 8px 9px; border-radius: 10px; outline: 2px dashed #AEB5D6; outline-offset: 0; }
.ak-peek-l { position: absolute; left: 8px; top: -0.7rem; padding: 0 6px; background: var(--surface); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; line-height: 1.4; text-transform: uppercase; color: var(--ink-hint); white-space: nowrap; }
.ak-txt { font-size: 0.875rem; font-weight: 600; line-height: 1.4; color: var(--ink-2); }
.ak-txt.is-small { font-size: 0.8125rem; }
.ak-buried, .ak-first { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-size: 0.875rem; font-weight: 700; line-height: 1.4; color: var(--ink); }
.ak-first { font-size: 0.9375rem; }
.ak-buried em, .ak-first em { padding: 0.1em 0.55em; border-radius: 999px; background: var(--night); font: 700 0.6875rem/1.4 var(--sans); font-style: normal; letter-spacing: 0.04em; color: #fff; }
.ak-part { margin-top: 4px; font-size: 0.625rem; }
.ak-sil-n { font-size: 0.9375rem; font-weight: 600; line-height: 1.35; color: var(--ink); }
.ak-sil figcaption, .ak-fork figcaption { font-size: 0.9375rem; line-height: 1.5; color: var(--ink-hint); }

/* ---------- Where each answer leads ----------
   Your message on the left, three paths on the right off one spine. The spine is drawn by the paths
   themselves: the first draws its top corner, the middle one a straight run and a tick, the last its bottom
   corner. Your pick gets the ink outline; no answer is dashed, because it is an absence. */
.ak-fork { margin: 0; padding: clamp(16px, 2.6vw, 24px) clamp(14px, 2.4vw, 22px); border-radius: 22px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule); display: grid; gap: 14px; min-width: 0; }
.ak-fork-in { --g: 10px; --arm: 1.2rem; display: grid; grid-template-columns: minmax(0, 9.5rem) calc(var(--arm) * 2) minmax(0, 1fr); row-gap: var(--g); min-width: 0; }
.ak-src { grid-column: 1; grid-row: 1 / span 3; align-self: center; position: relative; display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; background: var(--night); color: #fff; font-size: 0.9375rem; line-height: 1.3; }
.ak-src b { font-weight: 700; }
.ak-src small { font-size: 0.8125rem; font-weight: 600; color: var(--on-night-2); }
.ak-src::after { content: ""; position: absolute; left: 100%; top: 50%; width: var(--arm); margin-top: -1px; border-top: 2px solid #AEB5D6; }
.ak-b { grid-column: 3; position: relative; display: grid; gap: 2px; padding: 10px 14px; border-radius: 12px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule); font-size: 0.9375rem; line-height: 1.4; color: var(--ink-2); min-width: 0; }
.ak-b b { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-weight: 700; color: var(--ink); }
.ak-b em { padding: 0.05em 0.55em; border-radius: 999px; background: var(--night); font: 700 0.6875rem/1.4 var(--sans); font-style: normal; letter-spacing: 0.04em; color: #fff; }
.ak-b.is-rec { background: var(--surface); box-shadow: inset 0 0 0 2px var(--ink); }
.ak-b.is-none { background: none; box-shadow: none; outline: 2px dashed #C9CEE3; outline-offset: -2px; }
.ak-b::before, .ak-b::after { content: ""; position: absolute; right: 100%; width: var(--arm); }
.ak-b.is-1 { grid-row: 1; }
.ak-b.is-2 { grid-row: 2; }
.ak-b.is-3 { grid-row: 3; }
.ak-b.is-1::before { top: 50%; bottom: calc(var(--g) * -1); margin-top: -1px; border-left: 2px solid #AEB5D6; border-top: 2px solid #AEB5D6; border-top-left-radius: 9px; }
.ak-b.is-2::before { top: 0; bottom: calc(var(--g) * -1); border-left: 2px solid #AEB5D6; }
.ak-b.is-2::after { top: 50%; margin-top: -1px; border-top: 2px solid #AEB5D6; }
.ak-b.is-3::before { top: 0; height: 50%; margin-top: 1px; border-left: 2px solid #AEB5D6; border-bottom: 2px solid #AEB5D6; border-bottom-left-radius: 9px; }
.ak-keep { grid-column: 1 / -1; grid-row: 4; margin-top: 6px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; padding: 10px 14px; border-radius: 12px; background: var(--grid); font-size: 0.9375rem; line-height: 1.4; color: var(--ink); }
.ak-keep b { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-hint); }

/* ---------- The tool ----------
   No panel: the questions sit in the reading column, with only their fields on white. The message in step 5
   is the one dark surface, because it is what all of this produces. */
.ak-tool { display: grid; gap: 14px; margin-top: 6px; min-width: 0; }
.a-body .ak-tool .fine { line-height: 1.5; color: var(--ink-hint); }
.ak-q { display: grid; gap: 8px; min-width: 0; }
.ak-label, .ak-q > label, .ak-kind legend { font-size: 0.9375rem; font-weight: 700; line-height: 1.35; color: var(--ink); }
.ak-tool input[type="text"], .ak-tool textarea { min-width: 0; width: 100%; padding: 0.65em 0.8em; border: 1px solid #D5D9EA; border-radius: 10px; background: var(--surface); color: var(--ink); font: 500 1rem/1.4 var(--sans); text-overflow: ellipsis; transition: border-color 0.2s, box-shadow 0.2s; }
.ak-tool textarea { resize: vertical; min-height: 11rem; font: 500 0.9375rem/1.5 var(--mono); }
.ak-tool input[type="text"]::placeholder, .ak-tool textarea::placeholder { color: var(--ink-hint); font-weight: 400; }
.ak-tool textarea::placeholder { font-family: var(--sans); }
.ak-tool input[type="text"]:focus, .ak-tool textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79, 108, 248, 0.25); }

.ak-kind { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.ak-kind legend { width: 100%; padding: 0; margin-bottom: 8px; }
.ak-kind input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ak-kind label { padding: 0.55em 1em; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px #D5D9EA; color: var(--ink); font-size: 0.9375rem; font-weight: 700; line-height: 1.2; cursor: pointer; transition: background-color 0.2s, box-shadow 0.2s, color 0.2s; }
.ak-kind label:hover { box-shadow: inset 0 0 0 2px #B5BAD2; }
.ak-kind input:checked + label { background: var(--night); box-shadow: none; color: #fff; }
.ak-kind input:focus-visible + label { outline: 3px solid var(--primary); outline-offset: 3px; }

/* An option is a letter and three fields: its name across the top, for and against side by side. */
.ak-opts { display: grid; gap: 12px; min-width: 0; }
.ak-opt { position: relative; display: grid; grid-template-columns: 2rem minmax(0, 1fr) minmax(0, 1fr); gap: 8px; align-items: center; min-width: 0; }
.ak-opt-l { grid-row: 1 / span 2; align-self: start; display: grid; place-items: center; width: 2rem; height: 2.6rem; border-radius: 10px; background: var(--grid); font: 700 0.9375rem/1 var(--mono); color: var(--ink); }
.ak-opt .is-name { grid-column: 2 / -1; padding-right: 2.6rem; }
.ak-opt .ak-x { top: 1.3rem; }
.ak-opts.is-off { opacity: 1; }
.ak-opts.is-off .ak-opt-l { color: var(--ink-hint); }
.ak-list { display: grid; gap: 8px; min-width: 0; }
.ak-row-in { position: relative; min-width: 0; }
.ak-tool .ak-row-in input[type="text"] { padding-right: 2.6rem; }
.ak-x { position: absolute; right: 5px; top: 50%; width: 2rem; height: 2rem; margin-top: -1rem; border: 0; border-radius: 8px; background: none; color: var(--ink-hint); font: 600 1.125rem/1 var(--sans); cursor: pointer; }
.ak-x:hover { background: var(--grid); color: var(--ink); }
.ak-row-in input:placeholder-shown + .ak-x { display: none; }
.ak-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; min-width: 0; }

.ak-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.ak-pick { padding: 0.5em 0.95em; border: 0; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px #D5D9EA; color: var(--ink); font: 700 0.9375rem/1.2 var(--sans); cursor: pointer; max-width: 100%; overflow-wrap: anywhere; text-align: left; transition: background-color 0.2s, box-shadow 0.2s, color 0.2s; }
.ak-pick:hover { box-shadow: inset 0 0 0 2px #B5BAD2; }
.ak-pick[aria-pressed="true"] { background: var(--night); box-shadow: none; color: #fff; }
.ak-pick b { font-family: var(--mono); margin-right: 0.4em; }
.ak-pickbox { display: grid; gap: 8px; }
.ak-pickbox[hidden], .ak-opt-line[hidden] { display: none; }

.ak-opt-line { display: grid; gap: 4px; }
.ak-opt-line label { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; color: var(--ink); font-size: 0.9375rem; font-weight: 700; line-height: 1.3; cursor: pointer; }
.ak-opt-line input { width: 20px; height: 20px; margin: 0; accent-color: var(--night); }
.ak-writes { padding-left: 32px; font: 500 0.8125rem/1.45 var(--mono); color: var(--ink-hint); overflow-wrap: anywhere; }
.ak-writes::before { content: "Writes: "; color: var(--ink); }
.ak-writes.is-off::before { content: ""; }

.ak-min-row { display: flex; align-items: center; gap: 10px; }
.ak-tool .ak-min-row input[type="text"] { width: 6rem; font-family: var(--mono); }
.ak-min-row span { font-size: 1rem; font-weight: 600; color: var(--ink-2); }

.ak-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
/* One quiet pill for every control: the one filled button on the page is the consult. */
.ak-add, .ak-text { padding: 0.5em 0.95em; 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; }
.ak-add::before { content: "+ "; color: var(--ink-hint); }
#ak-use::before { content: none; }
.ak-add:hover, .ak-text:hover { box-shadow: inset 0 0 0 2px #B5BAD2; }
.ak-add[disabled] { opacity: 1; color: var(--ink-hint); cursor: default; box-shadow: inset 0 0 0 1px var(--rule); }
.ak-tool button:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.ak-nojs { font-size: 0.9375rem; line-height: 1.5; color: var(--ink-hint); }

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

.ak-lint, .ak-gaps { display: grid; gap: 8px; min-width: 0; }
.ak-lint:empty, .ak-gaps:empty { display: none; }
.ak-flag { padding: 12px 14px; border-radius: 12px; background: var(--lift-tint); font-size: 0.9375rem; line-height: 1.45; color: var(--ink); overflow-wrap: anywhere; }
.ak-flag b { display: block; font-weight: 700; color: var(--lift-ink); }
.ak-clean { padding: 12px 14px; border-radius: 12px; background: var(--primary-tint); font-size: 0.9375rem; line-height: 1.45; color: var(--ink); }
.ak-clean b { display: block; font-weight: 700; color: var(--primary-deep); }
/* A hint is helper text, not another box: the boxes on this page are the fields and the message. */
.ak-wait { font-size: 0.9375rem; line-height: 1.5; color: var(--ink-hint); }
.ak-wait b { display: block; font-weight: 700; color: var(--ink); }

/* What this step writes into the message, live. The one dark thing in each step, because it is what the
   reader keeps. Until they type it is an empty slot, dashed, with the example in grey: the same promise a
   field's "e.g." makes. It turns dark the moment it holds their own words. */
.ak-says { display: grid; gap: 6px; padding: 12px 16px 14px; border-radius: 12px; background: var(--night); min-width: 0; transition: background-color 0.3s; }
.ak-says[hidden] { display: none; }
.ak-says-l { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; line-height: 1.5; text-transform: uppercase; color: var(--on-night-2); }
.ak-says pre { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font: 500 0.875rem/1.6 var(--mono); color: var(--on-night); }
.ak-says.is-ex { background: none; outline: 2px dashed #C9CEE3; outline-offset: -2px; }
.ak-says.is-ex .ak-says-l, .ak-says.is-ex pre { color: var(--ink-hint); }

/* ---------- The message ----------
   Above it, the first line the way a notification shows it: two lines, then cut. */
.ak-out { display: grid; gap: 12px; min-width: 0; }
.ak-peekbox { display: grid; gap: 4px; padding: 12px 14px; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule); min-width: 0; }
.ak-pk-t { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 12px; font-size: 0.8125rem; line-height: 1.3; color: var(--ink-hint); }
.ak-pk-t b { font-size: 0.9375rem; font-weight: 700; color: var(--ink); }
.ak-pk-x { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; font-size: 0.9375rem; font-weight: 500; line-height: 1.45; color: var(--ink-2); overflow-wrap: anywhere; }
.ak-out .a-code.is-tall pre { max-height: none; white-space: pre-wrap; overflow-wrap: anywhere; }
.ak-size { font-size: 0.9375rem; line-height: 1.5; color: var(--ink-hint); }
.ak-size.is-short { color: var(--lift-ink); }

/* ---------- Phones ----------
   Side by side leaves no room for a sentence here, so each picture gets its own phone layout. */
@media (max-width: 640px) {
  /* The week runs down the page. Days on the left, one lane per column. */
  .ak-cal { grid-template-columns: 2.6rem minmax(0, 1fr) minmax(0, 1fr); column-gap: 6px; row-gap: 6px; }
  .ak-day { grid-column: 1 !important; display: grid; align-content: start; gap: 1px; padding: 8px 0 0; border-bottom: 0; }
  .ak-day[data-d="1"] { grid-row: 2; }
  .ak-day[data-d="2"] { grid-row: 3; }
  .ak-day[data-d="3"] { grid-row: 4; }
  .ak-day[data-d="4"] { grid-row: 5; }
  .ak-day[data-d="5"] { grid-row: 6; }
  .ak-day[data-d="6"] { grid-row: 7; }
  .ak-day small { font-size: 0.625rem; }
  .ak-lh { grid-row: 1 !important; display: grid; align-content: end; gap: 2px; margin: 0 0 2px; padding: 0 2px; font-size: 0.875rem; }
  .ak-lh span { font-size: 0.75rem; }
  .ak-lh i { display: block; }
  .ak-lh i + i::before { content: none; }
  .ak-lh[data-l="1"] { grid-column: 2; }
  .ak-lh[data-l="2"] { grid-column: 3; }
  .ak-c { min-height: 3.6rem; font-size: 0.875rem; }
  .ak-c[data-l="1"] { grid-column: 2 !important; }
  .ak-c[data-l="2"] { grid-column: 3 !important; }
  .ak-c[data-d="1"] { grid-row: 2; }
  .ak-c[data-d="2"] { grid-row: 3; }
  .ak-c[data-d="3"] { grid-row: 4; }
  .ak-c[data-d="4"] { grid-row: 5; }
  .ak-c[data-d="5"] { grid-row: 6; }
  .ak-c[data-d="6"] { grid-row: 7; }
  .ak-back { grid-column: 3; grid-row: 4 / 8; padding: 12px; }
  .ak-back span { font-size: 1rem; }
  .is-armed:not(.is-cut) .ak-back { clip-path: inset(0 0 100% 0 round 10px); }
  .ak-ml { font-size: 0.875rem; }

  .ak-rounds td:first-child { width: 100%; }

  /* The two pages stack, the second under the first. */
  .ak-sil-in { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .ak-sil-into { display: block; padding: 6px 0; font-size: 0.875rem; font-weight: 700; line-height: 1.3; text-align: center; color: var(--ink-2); }
  .ak-sil-into::before { content: "↓ "; color: var(--ink-hint); }

  /* Your message on top, the three paths hanging from one spine on the left. */
  .ak-fork-in { --arm: 0.9rem; grid-template-columns: calc(var(--arm) * 2) minmax(0, 1fr); }
  .ak-src { grid-column: 1 / -1; grid-row: 1; align-self: start; margin-bottom: 4px; }
  .ak-src::after { left: var(--arm); top: 100%; width: 0; height: calc(4px + var(--g)); margin: 0 0 0 -1px; border-top: 0; border-left: 2px solid #AEB5D6; }
  .ak-b { grid-column: 2; }
  .ak-b.is-1 { grid-row: 2; }
  .ak-b.is-2 { grid-row: 3; }
  .ak-b.is-3 { grid-row: 4; }
  .ak-b::before, .ak-b::after { width: var(--arm); }
  .ak-b.is-1::before { top: 0; bottom: calc(var(--g) * -1); margin-top: 0; border-top: 0; border-top-left-radius: 0; }
  .ak-b.is-1::after { top: 50%; margin-top: -1px; border-top: 2px solid #AEB5D6; }
  .ak-keep { grid-row: 5; }

  .ak-opt { grid-template-columns: 2rem minmax(0, 1fr); }
  .ak-opt-l { grid-row: 1 / span 3; }
  .ak-opt .is-name { grid-column: 2; }
  .ak-pair { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 360px) {
  .ak-cal { grid-template-columns: 2.2rem minmax(0, 1fr) minmax(0, 1fr); column-gap: 4px; }
  .ak-c { padding: 7px 7px 9px; font-size: 0.8125rem; }
}

@media (prefers-reduced-motion: reduce) {
  .ak-back, .ak-back span, .ak-ml, .ak-kind label, .ak-pick { transition: none; }
}
