/* Write automatic messages for people. Loaded after articles.css, for this article only.

   The colour rule does the arguing. Orange is the hours a message sits unread while the person who asked
   waits: the leak. Indigo is the hours that came back. The message written for a person is set in the
   page's own type; the one written for the system is set in mono, because it is what a database prints.
   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; }
.wm-nw { white-space: nowrap; }
.a-rail li a > span:nth-child(2), .a-facts dd { text-wrap: balance; }

/* ---------- The set piece: one new lead, two messages ----------
   One working day, 9:00 to 17:00, with a bar for each message on the same axis: dark where someone
   reads and answers, orange while it sits unread, indigo for the hours that came back. Under the day,
   the two messages side by side; on phones they stack, the system's first. Armed by articles.js: the
   armed state is a complete picture on purpose (the indigo is simply not drawn yet, and the person's
   message is dimmer). On arrival the indigo draws in and the lines turn on. Without JS, or with reduced
   motion, all of it is simply on. */
.wm-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; }
.wm-top { display: grid; gap: 3px; padding: 0 2px; }
.a-hero .wm-head { color: var(--ink-hint); }
.wm-need { font-size: 1rem; font-weight: 600; line-height: 1.4; color: var(--ink); text-wrap: pretty; }

/* The day, first: both messages on one time axis, one row each, so the moments Sam got an answer line
   up against each other. Each row leads with that moment, large. The messages themselves follow. */
.wm-chart { display: grid; gap: 10px; min-width: 0; }
.wm-row { display: grid; grid-template-columns: 12.5rem minmax(0, 1fr); gap: 6px 16px; align-items: center; min-width: 0; }
.wm-chart .wm-scale { margin-left: calc(12.5rem + 16px); }
.wm-cmp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px clamp(12px, 2vw, 20px); margin-top: 6px; min-width: 0; }
.wm-lh { display: grid; gap: 0; padding: 0 2px; line-height: 1.2; color: var(--ink); }
.wm-lt { font-size: var(--t-eyebrow); font-weight: 700; letter-spacing: 0.14em; line-height: 1.4; text-transform: uppercase; color: var(--ink-hint); }
.wm-big { margin-top: 2px; font: 700 clamp(2.1rem, 1.6rem + 1.6vw, 2.75rem)/1 var(--serif); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.wm-big.is-leak { color: var(--lift-ink); }
.wm-big.is-gain { color: var(--primary-deep); }
.wm-lh small { margin-top: 4px; font-size: 0.8125rem; font-weight: 600; line-height: 1.35; color: var(--ink-2); text-wrap: balance; }
.wm-lh small.is-leak { color: var(--lift-ink); }
.wm-mt { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em; line-height: 1.4; text-transform: uppercase; color: var(--ink-hint); }

/* A message as it lands in an inbox: sender and time, then the subject, then the body. The one written
   for the system is grey and set in mono, the way a database prints. The one written for a person is
   white and outlined in ink, because it is the one that works. */
.wm-mail { display: grid; align-content: start; gap: 6px; padding: 12px 14px 14px; border-radius: 14px; background: var(--grid); min-width: 0; }
.wm-mail.is-human { background: var(--surface); box-shadow: inset 0 0 0 2px var(--ink); }
.wm-from { display: flex; align-items: center; gap: 7px; font-size: 0.75rem; line-height: 1.3; color: var(--ink-hint); }
.wm-from b { flex: 1 1 auto; min-width: 0; font-weight: 700; color: var(--ink-2); }
.wm-from time { font: 600 0.75rem/1.3 var(--mono); }
.wm-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--lift); }
.wm-subj { font-size: 1rem; font-weight: 700; line-height: 1.35; color: var(--ink); overflow-wrap: anywhere; }
.is-log .wm-subj { font: 700 0.8125rem/1.4 var(--mono); color: var(--ink-2); }
.wm-log { display: grid; gap: 1px; font: 500 0.75rem/1.55 var(--mono); color: var(--ink-2); overflow-wrap: anywhere; }
.wm-body { display: grid; gap: 6px; }
.wm-hl { font-size: 0.9375rem; font-weight: 500; line-height: 1.45; color: var(--ink); transition: color 0.4s; transition-delay: calc(var(--n, 0) * 200ms + 250ms); }
.wm-hl b { font-weight: 700; }
.wm-hl.is-quiet { color: var(--ink-2); }

/* The day. Each part sits at its clock time: --a and --b are where it starts and ends, as a share of
   9:00 to 17:00 (9:12 is 2.5, 16:40 is 95.8). */
.wm-bar { position: relative; height: 34px; border-radius: 8px; background: var(--grid); overflow: hidden; }
.wm-bar i { position: absolute; top: 0; bottom: 0; left: calc(var(--a) * 1%); width: calc((var(--b) - var(--a)) * 1%); display: flex; align-items: center; font-style: normal; }
.wm-bar i span { padding: 0 10px; font-size: 0.8125rem; font-weight: 700; line-height: 1; white-space: nowrap; }
.wm-bar .is-wait { background: var(--lift-tint); box-shadow: inset 0 0 0 1.5px var(--lift); border-radius: 6px; }
.wm-bar .is-wait span { color: var(--lift-ink); }
.wm-bar .is-act { min-width: 4px; background: var(--night); border-radius: 4px; }
/* The hours that came back are free time, so they are drawn light: an outlined indigo span, where the
   unread hours above are filled. The eye reads one full day and one nearly empty one. */
.wm-bar .is-back { background: var(--primary-tint); box-shadow: inset 0 0 0 1.5px var(--primary); border-radius: 6px; clip-path: inset(0 0 0 0 round 6px); transition: clip-path 0.9s var(--ease) 0.3s; }
.wm-bar .is-back span { color: var(--primary-deep); transition: opacity 0.4s 0.95s; }
.wm-scale { display: flex; justify-content: space-between; font: 600 0.6875rem/1.2 var(--mono); color: var(--ink-hint); }

.a-hero .wm-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); }
.wm-key li { display: flex; align-items: center; gap: 7px; }
.wm-key i { display: block; width: 14px; height: 10px; border-radius: 3px; }
.k-wait { background: var(--lift-tint); box-shadow: inset 0 0 0 1px var(--lift); }
.k-act { background: var(--night); }
.k-back { background: var(--primary-tint); box-shadow: inset 0 0 0 1px var(--primary); }

.is-armed:not(.is-cut) .wm-bar .is-back { clip-path: inset(0 100% 0 0 round 6px); transition: none; }
.is-armed:not(.is-cut) .wm-bar .is-back span { opacity: 0; transition: none; }
.is-armed:not(.is-cut) .wm-hl { color: #8A90B0; transition: none; }

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

/* ---------- The six lines ---------- */
.a-body .wm-rules { gap: 10px; padding-left: 1.5em; }
.wm-rules li::marker { font-family: var(--serif); font-weight: 700; color: var(--ink); }

/* ---------- What the reader has to work out ---------- */
.wm-qs td:first-child { width: 42%; }
.a-body .wm-qs code { white-space: normal; }

/* ---------- Where each line goes ----------
   The log's lines on the left, as the system prints them. Beside each, what it becomes. A line that goes
   is struck through and grey; one that stays is outlined in ink; the one kept only when it has a value is
   dashed, because it is sometimes absent; the subject is dark, because it leads. */
.wm-sort { margin: 0; padding: clamp(16px, 2.6vw, 24px); border-radius: 22px; background: var(--grid); display: grid; gap: 14px; min-width: 0; }
.wm-sort-in { display: grid; gap: 8px; min-width: 0; }
.wm-sh, .wm-sr { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 8px 22px; align-items: center; min-width: 0; }
.wm-sh span { font-size: var(--t-eyebrow); font-weight: 700; letter-spacing: 0.14em; line-height: 1.4; text-transform: uppercase; color: var(--ink-hint); }
.a-body .wm-sr code { position: relative; display: block; padding: 8px 10px; border-radius: 8px; background: var(--surface); font: 500 0.8125rem/1.4 var(--mono); color: var(--ink); white-space: normal; overflow-wrap: anywhere; }
.wm-sr code::after { content: ""; position: absolute; left: 100%; top: 50%; width: 22px; border-top: 2px solid #AEB5D6; }
.a-body .wm-sr.is-gone code { color: var(--ink-hint); text-decoration: line-through; text-decoration-color: #AEB5D6; text-decoration-thickness: 1.5px; }
.wm-sr.is-gone code::after { border-top-style: dashed; border-top-color: #C9CEE3; }
.wm-to { display: grid; gap: 1px; padding: 8px 12px; border-radius: 10px; font-size: 0.9375rem; line-height: 1.35; color: var(--ink); min-width: 0; }
.wm-to b { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-hint); }
.wm-to span { font-weight: 600; overflow-wrap: anywhere; }
.wm-to.is-top { background: var(--night); color: #fff; }
.wm-to.is-top b { color: var(--on-night-2); }
.wm-to.is-keep { background: var(--surface); box-shadow: inset 0 0 0 2px var(--ink); }
.wm-to.is-empty { background: var(--surface); outline: 2px dashed #AEB5D6; outline-offset: -2px; }
.wm-to.is-out { padding-block: 4px; }
.wm-to.is-out span { font-weight: 500; color: var(--ink-2); }
.wm-sort figcaption, .wm-order figcaption { font-size: 0.9375rem; line-height: 1.5; color: var(--ink-hint); }

/* ---------- The order every message takes ----------
   The new message as five numbered parts. A dashed box around the first two marks what a notification
   shows. Each part names its job on the left and gives the caterer's line on the right. */
.wm-order { 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; }
.wm-order-in { display: grid; gap: 6px; min-width: 0; }
.wm-peek { position: relative; display: grid; gap: 6px; margin: 10px 0 6px; padding: 14px 10px 10px; border-radius: 12px; outline: 2px dashed #AEB5D6; }
.wm-peek-l { position: absolute; left: 10px; top: -0.72rem; 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; }
.wm-part { display: grid; grid-template-columns: 1.7rem minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 4px 12px; align-items: baseline; padding: 8px 10px; border-radius: 10px; background: var(--paper); min-width: 0; }
.wm-part i { display: grid; place-items: center; width: 1.45rem; height: 1.45rem; border-radius: 50%; background: var(--night); color: #fff; font: 700 0.75rem/1 var(--mono); font-style: normal; align-self: start; }
.wm-part b { font-size: 0.875rem; font-weight: 700; line-height: 1.35; color: var(--ink); }
.wm-part span { font-size: 0.9375rem; line-height: 1.45; color: var(--ink-2); overflow-wrap: anywhere; }
.wm-part span.is-subj { font-weight: 700; color: var(--ink); }

/* ---------- 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. */
.wm-tool { display: grid; gap: 14px; margin-top: 6px; min-width: 0; }
.a-body .wm-tool .fine { line-height: 1.5; color: var(--ink-hint); }
.wm-q { display: grid; gap: 8px; min-width: 0; }
.wm-q[hidden] { display: none; }
.wm-label, .wm-q > label, .wm-chips legend { font-size: 0.9375rem; font-weight: 700; line-height: 1.35; color: var(--ink); }
.wm-tool input[type="text"], .wm-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; }
.wm-tool textarea { resize: vertical; min-height: 11rem; font: 500 0.9375rem/1.5 var(--mono); }
.wm-tool input[type="text"]::placeholder, .wm-tool textarea::placeholder { color: var(--ink-hint); font-weight: 400; }
.wm-tool textarea::placeholder { font-family: var(--sans); }
.wm-tool input[type="text"]:focus, .wm-tool textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79, 108, 248, 0.25); }

.wm-chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.wm-chips legend { width: 100%; padding: 0; margin-bottom: 8px; }
.wm-chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wm-exnote { padding: 12px 14px; border-radius: 12px; background: var(--grid); font-size: 0.9375rem; line-height: 1.45; color: var(--ink-2); }
.wm-exnote[hidden] { display: none; }
.wm-exnote b { color: var(--ink); }
.wm-chips label { padding: 0.5em 0.9em; 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; }
.wm-chips label:hover { box-shadow: inset 0 0 0 2px #B5BAD2; }
.wm-chips input:checked + label { background: var(--night); box-shadow: none; color: #fff; }
.wm-chips input:focus-visible + label { outline: 3px solid var(--primary); outline-offset: 3px; }

.wm-writes { font-size: 0.9375rem; line-height: 1.5; color: var(--ink-hint); }
.wm-writes b { color: var(--ink); }

/* Step 2: one field per line the message shows. */
.wm-list { display: grid; gap: 8px; min-width: 0; }
.wm-row-in { position: relative; min-width: 0; }
.wm-tool .wm-row-in input[type="text"] { padding-right: 2.6rem; font-family: var(--mono); font-size: 0.9375rem; }
.wm-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; }
.wm-x:hover { background: var(--grid); color: var(--ink); }

/* Step 3: one row per line, in three columns that every row shares: the line, what it tells the reader,
   and whether they need it. A kept line opens a second row in the same columns. So every field ends at
   one right edge, and every yes or no sits in one column. The column names sit once above the rows. */
.wm-cards { --c1: 11rem; --c3: 8.25rem; display: grid; gap: 8px; min-width: 0; }
.wm-cols, .wm-card { display: grid; grid-template-columns: var(--c1) minmax(0, 1fr) var(--c3); column-gap: 14px; min-width: 0; }
.wm-cols { padding: 0 14px 2px; }
.wm-cols span { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; line-height: 1.4; text-transform: uppercase; color: var(--ink-hint); }
.wm-card { row-gap: 10px; align-items: center; padding: 10px 14px; border-radius: 12px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule); }
.wm-cl { grid-column: 1; display: grid; gap: 2px; min-width: 0; }
.a-body .wm-cl code { justify-self: start; padding: 0.15em 0.45em; font-size: 0.8125rem; white-space: normal; overflow-wrap: anywhere; }
.wm-cm { grid-column: 2; }
.wm-ml { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wm-card > .wm-need { grid-column: 3; }
.wm-card > .wm-hint { grid-column: 2 / -1; margin-top: -4px; }
.wm-fate { font-size: 0.75rem; font-weight: 700; line-height: 1.3; color: var(--ink-hint); }
.wm-fate.is-keep { color: var(--ink); }
.wm-card.is-out { background: var(--paper); }
.a-body .wm-card.is-out .wm-cl code { color: var(--ink-hint); text-decoration: line-through; text-decoration-color: #AEB5D6; }
.wm-card.is-out .wm-cm input { color: var(--ink-2); background: var(--paper); }
.wm-need { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.wm-need-l { display: none; font-size: 0.9375rem; font-weight: 700; color: var(--ink); margin-right: 4px; }
.wm-yn { padding: 0.45em 1em; 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; transition: background-color 0.2s, box-shadow 0.2s, color 0.2s; }
.wm-yn:hover { box-shadow: inset 0 0 0 2px #B5BAD2; }
.wm-yn[aria-pressed="true"] { background: var(--night); box-shadow: none; color: #fff; }
/* The kept line's second row: its pieces sit straight in the card's three columns. */
.wm-keepbox { display: contents; }
.wm-keepbox[hidden] { display: none; }
.wm-pl { grid-column: 1; font-size: 0.8125rem; font-weight: 700; line-height: 1.3; color: var(--ink); }
.wm-card .wm-pin { grid-column: 2; }
.wm-check { grid-column: 3; display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 0.875rem; font-weight: 700; line-height: 1.3; cursor: pointer; white-space: nowrap; }
.wm-check input { width: 20px; height: 20px; margin: 0; accent-color: var(--night); }
.wm-hint { font-size: 0.875rem; line-height: 1.45; color: var(--ink-hint); }
.wm-hint[hidden] { display: none; }

.wm-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; min-width: 0; }
.wm-pair.is-three { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); }

.wm-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. */
.wm-add, .wm-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; }
.wm-add::before { content: "+ "; color: var(--ink-hint); }
#wm-use::before, .wm-add.is-go::before { content: none; }
.wm-add:hover, .wm-text:hover { box-shadow: inset 0 0 0 2px #B5BAD2; }
.wm-add[disabled] { color: var(--ink-hint); cursor: default; box-shadow: inset 0 0 0 1px var(--rule); }
.wm-tool button:focus-visible, .wm-card button:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.wm-nojs { font-size: 0.9375rem; line-height: 1.5; color: var(--ink-hint); }

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

.wm-lint, .wm-gaps { display: grid; gap: 8px; min-width: 0; }
.wm-lint:empty, .wm-gaps:empty { display: none; }
/* A gap is marked by a thin orange edge, not an orange box: one line of the leak colour is enough. */
.wm-flag { padding: 10px 14px; border-left: 3px solid var(--lift); border-radius: 0 12px 12px 0; background: var(--surface); font-size: 0.9375rem; line-height: 1.45; color: var(--ink); overflow-wrap: anywhere; }
.wm-flag b { display: block; font-weight: 700; color: var(--lift-ink); }
.wm-clean { padding: 12px 14px; border-radius: 12px; background: var(--primary-tint); font-size: 0.9375rem; line-height: 1.45; color: var(--ink); }
.wm-clean b { display: block; font-weight: 700; color: var(--primary-deep); }
.wm-wait { font-size: 0.9375rem; line-height: 1.5; color: var(--ink-hint); }
.wm-wait b { display: block; font-weight: 700; color: var(--ink); }

/* What a step writes into the message, live. Until they type it is an empty slot, dashed, with the
   example in grey. It turns dark the moment it holds their own words. */
.wm-says { display: grid; gap: 6px; padding: 12px 16px 14px; border-radius: 12px; background: var(--night); min-width: 0; transition: background-color 0.3s; }
.wm-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); }
.wm-says pre { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font: 500 0.875rem/1.6 var(--mono); color: var(--on-night); }
.wm-says.is-ex { background: none; outline: 2px dashed #C9CEE3; outline-offset: -2px; }
.wm-says.is-ex .wm-says-l, .wm-says.is-ex pre { color: var(--ink-hint); }

/* ---------- The message ----------
   Above it, the start the way a notification shows it: the subject, then two lines, then cut. */
.wm-out { display: grid; gap: 12px; min-width: 0; }
.wm-peekbox { display: grid; gap: 3px; padding: 12px 14px; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule); min-width: 0; }
.wm-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); }
.wm-pk-t b { font-size: 0.8125rem; font-weight: 700; color: var(--ink-2); }
.wm-pk-s { font-size: 0.9375rem; font-weight: 700; line-height: 1.4; color: var(--ink); overflow-wrap: anywhere; }
.wm-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; }
.wm-out .a-code.is-tall pre { max-height: none; white-space: pre-wrap; overflow-wrap: anywhere; }
.wm-size { font-size: 0.9375rem; line-height: 1.5; color: var(--ink-hint); }
.wm-size.is-short { color: var(--lift-ink); }
.wm-setup { display: grid; gap: 8px; padding: 14px 16px; border-radius: 14px; background: var(--grid); }
.wm-setup[hidden] { display: none; }
.wm-setup-t { font-size: var(--t-eyebrow); font-weight: 700; letter-spacing: 0.14em; line-height: 1.4; text-transform: uppercase; color: var(--ink-hint); }
.a-body .wm-setup ul { gap: 6px; font-size: 0.9375rem; line-height: 1.5; color: var(--ink-2); }
.wm-setup b { color: var(--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 two messages stack: the system's, its day, then the person's, its day. */
  /* Each row's moment over its bar, then the shared scale, then the two messages one under the other. */
  .wm-row { grid-template-columns: minmax(0, 1fr); }
  .wm-row + .wm-row { margin-top: 6px; }
  .wm-lh { grid-template-columns: auto minmax(0, 1fr); align-items: baseline; column-gap: 10px; }
  .wm-lt { grid-column: 1 / -1; }
  .wm-big { font-size: 2rem; }
  .wm-chart .wm-scale { margin-left: 0; }
  .wm-cmp { grid-template-columns: minmax(0, 1fr); }
  .wm-log { font-size: 0.8125rem; }

  .wm-qs td:first-child { width: 100%; }

  /* Each line, then what it becomes under it, joined by a short drop. */
  .wm-sh { display: none; }
  .wm-sr { grid-template-columns: minmax(0, 1fr); gap: 10px; padding-bottom: 6px; }
  .wm-sr code::after { left: 18px; top: 100%; width: 0; height: 10px; border-top: 0; border-left: 2px solid #AEB5D6; }
  .wm-sr.is-gone code::after { border-left-style: dashed; border-left-color: #C9CEE3; }
  .wm-to { margin-left: 8px; }

  /* Each part's job over its example line. */
  .wm-part { grid-template-columns: 1.7rem minmax(0, 1fr); }
  .wm-part span { grid-column: 2; }

  /* Each line's row stacks, and carries its own labels, since the column names are gone. */
  .wm-cols { display: none; }
  .wm-card { grid-template-columns: minmax(0, 1fr); padding: 12px 14px 14px; }
  .wm-cl, .wm-cm, .wm-card > .wm-need, .wm-pl, .wm-card .wm-pin, .wm-check, .wm-card > .wm-hint { grid-column: 1; }
  .wm-cl { grid-template-columns: auto auto; justify-content: space-between; align-items: baseline; }
  .wm-ml { position: static; width: auto; height: auto; clip: auto; white-space: normal; font-size: 0.875rem; font-weight: 700; color: var(--ink); }
  .wm-need-l { display: inline; font-size: 0.875rem; }
  .wm-pl { margin-bottom: -4px; }
  .wm-card > .wm-hint { margin-top: 0; }
  .wm-pair, .wm-pair.is-three { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .wm-bar .is-back, .wm-bar .is-back span, .wm-hl, .wm-chips label, .wm-yn { transition: none; }
}
