/* The one stylesheet of the product (concept.html, decision 11: simple, smart, elegant, easy to understand).
   One idea: the page is white and quiet, and yellow means one thing only, «an answer names the company». It is the
   highlight of the brand: a yellow background behind black text. It marks the logo, the name of the company where an
   answer names it, and the own row of the company. Nothing else is yellow.
   The brand is in ~/Drive/ClaudeCode/Businesses/Distribura/brand.html: every color, font and size of this file comes
   from there, and that file wins over this one.
   A block has no box unless the box says something: a form to fill stands on a soft panel. The page uses the whole
   width (the UI rules of ~/Codigo/CLAUDE.md): blocks stand side by side while the width holds them, and a phone gets
   one column with nothing that scrolls sideways. */
:root {
    /* The colors of brand.html, part «The colors». The contrast of each pair is in that part. */
    --ink: #111111; --yellow: #ffd83a; --paper: #ffffff; --surface: #f6f6f3;
    --ink2: #4b4b46; --muted: #6e6e67; --edge: #8a8a82; --line: #e3e3dd;
    /* Better and worse, from part «The chart colors». Worse is also the color of an error and of a delete. */
    --better: #006300; --worse: #c0322b;
    /* The main button: ink with white text. */
    --button: var(--ink); --button-text: #ffffff; --button-hover: var(--ink2);
    --display: "Funnel Display", system-ui, sans-serif;
    --sans: "Funnel Sans", system-ui, sans-serif;
    --pad: clamp(16px, 3.2vw, 64px); --gap: clamp(24px, 3vw, 48px);
}
* { box-sizing: border-box; }
html { font: 400 16px/1.625 var(--sans); color: var(--ink2); background: var(--paper); -webkit-text-size-adjust: 100%; }
body { margin: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; outline: none !important; font-family: var(--display); font-weight: 600; line-height: 1.2; letter-spacing: -.01em; color: var(--ink); }
b, strong { font-weight: 600; color: var(--ink); }
/* The sizes of brand.html, part «The fonts», in pixels: size and line. */
h1 { font-size: 36px; line-height: 42px; letter-spacing: -.02em; }
h2 { font-size: 24px; line-height: 30px; margin-bottom: 14px; }
h3 { font-size: 18px; line-height: 26px; letter-spacing: 0; margin: 18px 0 6px; }
p { margin: 0 0 12px; }
p:last-child { margin-bottom: 0; }
a { color: var(--ink); text-decoration-color: var(--edge); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* The frame of every screen */
.top { display: flex; justify-content: space-between; align-items: center; min-height: 64px; padding: 12px var(--pad); }
.top .brand { display: block; line-height: 0; }
.top .logo { display: block; height: 24px; width: auto; }
.top .out { color: var(--muted); text-decoration: none; font-size: 14px; }
.top .out:hover { color: var(--ink); text-decoration: underline; }
.top nav { display: flex; gap: 24px; }
main { padding: 8px var(--pad) 72px; display: grid; gap: var(--gap); }
.foot { padding: 0 var(--pad) 32px; font-size: 14px; }
.privacy ul { margin: 0 0 12px; padding-left: 1.1em; display: grid; gap: 10px; }

/* The head of a site: its name, its screens, its weeks */
.head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 40px; border-bottom: 1px solid var(--line); }
.head h1 { font-size: 24px; line-height: 30px; letter-spacing: -.01em; padding-bottom: 14px; }
.tabs, .weeks { display: flex; flex-wrap: wrap; gap: 0 28px; }
.tabs a, .weeks a { text-decoration: none; color: var(--muted); padding-bottom: 14px; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a:hover, .weeks a:hover { color: var(--ink); }
.tabs a.on, .weeks a.on { color: var(--ink); font-weight: 600; border-bottom-color: var(--ink); }
.weeks { margin-left: auto; gap: 0 20px; font-size: 14px; }
/* The head of a screen under a site: the way back, then what the screen is about */
.head.page { display: grid; gap: 10px; border-bottom: 0; }
.head.page h1 { font-size: 36px; line-height: 42px; letter-spacing: -.02em; padding-bottom: 0; max-width: 34em; text-wrap: balance; }
.head.page .back { color: var(--muted); font-size: 14px; justify-self: start; }
.head.page .back:hover { color: var(--ink); }

/* Blocks */
.card { min-width: 0; }
.card.soft { background: var(--surface); border-radius: 12px; padding: clamp(20px, 2.4vw, 36px); }
.card.narrow { justify-self: center; width: min(100%, 400px); display: grid; gap: 20px; margin-top: 8vh; }
.card.narrow h1 { font-size: 36px; line-height: 42px; }
.card.narrow form { display: grid; gap: 16px; }
.cols { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); align-items: start; }
.cols.three { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }

.note, .empty { color: var(--muted); margin: 0; }
.note { font-size: 14px; line-height: 22px; }
.empty { color: var(--ink2); max-width: 60ch; }
.error { color: var(--worse); background: var(--surface); border-left: 3px solid var(--worse); border-radius: 0 8px 8px 0; padding: 10px 14px; margin: 0; }
.tag { display: inline-block; font: 400 12px/18px var(--sans); letter-spacing: 0; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 0 10px; margin-left: 10px; white-space: nowrap; vertical-align: middle; }

/* The dot: one answer. A lit dot is an answer that names the company. Yellow alone does not tell the two apart (rule 6
   of the brief, and «Color is not used as the only visual means»): an empty dot is an open ring in the edge color, and
   a lit dot has an ink ring and an ink center, with the yellow between them. Without color, a lit dot is full and an
   empty dot is open. */
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--edge); flex: none; }
.dot.lit { background: var(--ink); border-color: var(--ink); box-shadow: inset 0 0 0 2.5px var(--yellow); }
/* Better and worse: an arrow and a sign first, a color second (brand.html, «The chart colors», rule 4). */
.up, .statement .up { color: var(--better); }
.down, .statement .down { color: var(--worse); }
/* The highlight: a yellow background behind ink, as from a highlighter pen. Its only meaning: this name was picked. */
mark { background: var(--yellow); color: var(--ink); padding: 0 .18em; margin: 0 -.18em; border-radius: .12em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* The measure: the one sentence, the three engines, and who the answers name */
.summary { display: grid; gap: 40px clamp(32px, 5vw, 96px); grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 5fr); align-items: start; padding-top: 16px; }
/* The one sentence of a measure, at the size of the big number of a dashboard: its number in ink, its words in the color of the text. */
.statement { font: 600 40px/44px var(--display); letter-spacing: -.01em; color: var(--ink2); max-width: 15em; text-wrap: balance; margin: 0; }
.statement b { font-weight: 600; color: var(--ink); }
.when { margin-top: 20px; color: var(--muted); max-width: 46ch; }

.engines { margin: 0; display: grid; }
.engines > div { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.engines > div:first-child { border-top: 0; padding-top: 6px; }
/* The three engines side by side, in one color, each with its name in plain text (brand.html, «The chart colors», rule 1). */
.engines dt { font: 600 18px/26px var(--display); color: var(--ink); }
.engines dt small { display: block; font: 400 12px/16px var(--sans); color: var(--muted); }
.engines dd { margin: 0; }
.engines .count { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.engines .count b { font: 600 40px/44px var(--display); color: var(--ink); letter-spacing: -.01em; }
.engines .cites { grid-column: 1 / -1; color: var(--muted); font-size: 14px; line-height: 22px; }

/* Who the answers name: one bar for each company in the edge color (3.48 on white), and the bar of the company of the
   site in ink, with its name on the highlight. */
.ranking h2 { font-size: 18px; line-height: 26px; margin: 6px 0 14px; }
.ranking ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ranking li { display: grid; grid-template-columns: 2ch minmax(8ch, 14ch) minmax(40px, 1fr) 3ch; align-items: center; gap: 14px; font-size: 14px; line-height: 22px; font-variant-numeric: tabular-nums; }
.ranking li::before { content: attr(value); color: var(--muted); text-align: right; }
.ranking .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ranking .track { height: 6px; }
.ranking .fill { display: block; height: 100%; min-width: 4px; border-radius: 3px; background: var(--edge); }
.ranking .n { text-align: right; color: var(--muted); }
.ranking .own .name, .ranking .own .n { font-weight: 600; color: var(--ink); }
.ranking .own .fill { background: var(--ink); }
.ranking .own::before { color: var(--ink); font-weight: 600; }

/* The board: each dot is one answer, and a lit dot names the company. A white block with a thin line, and the row under
   the pointer on the surface color. */
.board { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: clamp(20px, 2.6vw, 44px); }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.groups { display: grid; gap: 40px clamp(32px, 4vw, 88px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 560px), 1fr)); align-items: start; }
.group { display: grid; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, 68px); align-items: center; gap: 0 8px; padding: 9px 12px; margin: 0 -12px; border-radius: 8px; text-decoration: none; color: var(--ink2); }
a.row:hover { background: var(--surface); color: var(--ink); }
.row.heads { align-items: end; padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line); border-radius: 0; }
.row.heads h2 { font-size: 18px; line-height: 26px; margin: 0; }
.eng { font: 600 12px/16px var(--sans); color: var(--ink); }
.eng small { display: block; font-weight: 400; color: var(--muted); font-variant-numeric: tabular-nums; }
.q { font-size: 15px; line-height: 22px; padding-right: 16px; overflow-wrap: anywhere; }
.dots { display: inline-flex; gap: 6px; align-items: center; }

/* The weekly report: the measure beside the first measure, then the visits, then the count script */
/* The sentence of the report on its own row, then the measure and the visits side by side. */
.summary.report { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.summary.report .lede { grid-column: 1 / -1; }
.summary.report .statement { max-width: 24em; }
.compare, .visits { display: grid; gap: 14px; align-content: start; }
table.list tr.sum td { font-weight: 600; }
.setup { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: start; }
.setup form { display: grid; gap: 12px; justify-items: start; }
.setup form label, .setup form input { width: 100%; }
.setup pre { font: 14px/22px Consolas, ui-monospace, monospace; background: var(--paper); }

/* The sign-up: what the product does beside the form, and the account of a customer */
.start { display: grid; gap: var(--gap) clamp(32px, 5vw, 96px); grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; padding-top: 16px; }
.pitch h1 { text-wrap: balance; margin-bottom: 24px; }
.pitch p { max-width: 600px; }
.pitch .price { color: var(--ink); margin-top: 20px; }
a.quiet { color: var(--muted); }
a.quiet:hover { color: var(--ink); }
/* The form of the sign-up: the site, then Google or a mail address. The form is a container: the two ways stand side
   by side while the card is wide, and stack with a line «or» between them when it is narrow. */
.join { display: grid; gap: 20px; container-type: inline-size; }
.join .enter { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); }
.join .ways { display: grid; gap: 14px; }
.join .or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; }
.join .or::before, .join .or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.join .mail { display: grid; gap: 6px; }
.join .mail .pair { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
.join .next { color: var(--muted); font-size: 14px; }
.join .next a { margin-left: 8px; }
.btn.google { display: inline-flex; align-items: center; justify-content: center; gap: 12px; }
.btn.google .g { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--paper); }
@container (min-width: 760px) {
    .join .ways { grid-template-columns: auto auto minmax(0, 1fr); align-items: end; }
    .join .or { line-height: 48px; }
    .join .or::before, .join .or::after { display: none; }
}
@container (max-width: 400px) {
    .join .mail .pair { grid-template-columns: minmax(0, 1fr); }
}
.summary.account { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.summary.account .statement { max-width: 16em; }
.acts { display: grid; gap: 16px; justify-items: start; align-content: start; padding-top: 10px; }

/* The connection of a site to WordPress: three steps in a fixed order. And where one part of a plan is on the site. */
.summary.connection { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.summary.connection .statement { max-width: 16em; }
.summary.connection .when { max-width: 60ch; }
.connect { display: grid; gap: 16px; justify-items: start; align-content: start; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 22px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2.2em minmax(0, 1fr); gap: 10px 0; justify-items: start; }
.steps li::before { content: counter(step); grid-row: span 3; font: 600 24px/30px var(--display); color: var(--muted); }
.steps li > * { grid-column: 2; margin: 0; max-width: 60ch; }
.published { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.published p { margin: 0; }
.published .btn { padding: 7px 14px; }

/* The public home: the free check first, then the week of the product as five steps in their order, then the price */
/* On a wide screen the free check and the week of the product stand side by side. */
.front { display: grid; gap: var(--gap) clamp(32px, 5vw, 96px); grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: start; }
.front .first { display: grid; gap: var(--gap); align-content: start; }
.front .week { padding-top: clamp(24px, 6vh, 80px); }
.front .week ol { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.hero { display: grid; gap: 20px; padding: clamp(24px, 6vh, 80px) 0 8px; justify-items: start; }
/* The headline of the public home: 56 and 60, and 40 and 44 on a phone. */
.hero h1 { font-size: 56px; line-height: 60px; letter-spacing: -.02em; text-wrap: balance; max-width: 14em; }
.hero mark { margin: 0; }
.lead { max-width: 600px; margin: 0; }
.ask { display: flex; flex-wrap: wrap; gap: 12px; width: min(100%, 720px); margin-top: 8px; }
.ask input { flex: 1 1 260px; font-size: 1.125rem; padding: 12px 16px; }
.ask .btn { padding: 14px 28px; }
.week h2 { margin-bottom: 24px; }
.week ol { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 28px clamp(24px, 3vw, 48px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.week li { counter-increment: step; border-top: 1px solid var(--ink); padding-top: 14px; }
.week li::before { content: counter(step); font: 600 12px/16px var(--sans); color: var(--muted); }
.week li h3 { margin: 6px 0 8px; }
.week li p { margin: 0; }
.offer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 48px; }
.offer h2 { margin-bottom: 8px; }
.offer h2.price { font-size: 40px; line-height: 44px; letter-spacing: -.01em; }
.offer p { max-width: 70ch; margin: 0; }
.offer .btn { padding: 14px 32px; }
/* The answers of a free check: a question opens to its two answers */
.answers details > summary { list-style: none; cursor: pointer; }
.answers details > summary::-webkit-details-marker { display: none; }
.answers details > summary:hover { background: var(--surface); }
.answers details[open] > summary { background: var(--surface); }
.answers details .cols { padding: 16px 0 24px; }
.answers details h3 { margin-top: 0; }
.answers details .text { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 22px; max-width: 78ch; }

/* Tables */
table.list { width: 100%; border-collapse: collapse; }
table.list th { text-align: left; font: 600 12px/16px var(--sans); color: var(--muted); padding: 0 16px 10px 0; border-bottom: 1px solid var(--line); }
table.list td { padding: 13px 16px 13px 0; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: break-word; }
table.list tr:last-child td { border-bottom: 0; }
table.list th:last-child, table.list td:last-child { padding-right: 0; }
table.list td:first-child a { font-weight: 600; }
table.list .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
table.edit td { vertical-align: middle; padding-top: 6px; padding-bottom: 6px; border-bottom: 0; }
table.edit td:first-child { white-space: nowrap; overflow-wrap: normal; color: var(--muted); font-variant-numeric: tabular-nums; }
table.edit td.wide { width: 100%; }
.fields.name { margin-bottom: 24px; }
table.edit input { width: 100%; }

/* Forms */
label { display: grid; gap: 6px; font-size: 14px; line-height: 1.375; font-weight: 600; color: var(--ink); }
label.tick { display: flex; align-items: center; gap: 10px; align-self: end; padding-bottom: 12px; }
/* A field: the edge of brand.html (3.48 on white, where a part of a screen needs 3), and ink text. */
input, select, textarea { font: 400 1rem/1.5 var(--sans); color: var(--ink); background: var(--paper); border: 1px solid var(--edge); border-radius: 8px; padding: 10px 12px; min-width: 0; }
::placeholder { color: var(--muted); opacity: 1; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
input.short { width: 5em; }
input[type=checkbox] { width: 18px; height: 18px; padding: 0; accent-color: var(--ink); }
.fields { display: grid; gap: 18px 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); align-items: start; }
.fields .btn { align-self: end; justify-self: start; }

/* The buttons of brand.html: the main button is ink with white text, the quiet button is white with ink text and an
   edge, and the button that deletes is the red of «worse» with white text (5.63). */
.btn { display: inline-block; font: 600 15px/1.4 var(--sans); border: 1px solid transparent; border-radius: 8px; padding: 10px 18px; cursor: pointer; text-decoration: none; }
.btn.primary { background: var(--button); color: var(--button-text); }
.btn.primary:hover { background: var(--button-hover); }
.btn.ghost, .btn:not(.primary):not(.danger) { background: var(--paper); border-color: var(--edge); color: var(--ink); }
.btn.ghost:hover, .btn:not(.primary):not(.danger):hover { border-color: var(--ink); }
.btn.danger { background: var(--worse); color: var(--button-text); }
.bar { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px; margin-top: 20px; }
.confirm summary { list-style: none; }
.confirm summary::-webkit-details-marker { display: none; }
.confirm-ask { margin-top: 10px; padding: 16px; border-left: 3px solid var(--worse); border-radius: 0 8px 8px 0; background: var(--surface); max-width: 60ch; }

/* The answers to one question */
.answer { border-top: 1px solid var(--line); padding: 14px 0; }
.answer summary { cursor: pointer; font-weight: 600; display: flex; align-items: center; gap: 10px; list-style: none; }
.answer summary::-webkit-details-marker { display: none; }
.answer summary::after { content: "Read"; margin-left: auto; font-weight: 400; font-size: 14px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.answer[open] summary::after { content: "Close"; }
.answer .meta { color: var(--muted); font-size: 14px; margin: 10px 0; }
/* The small headings inside an answer and inside a part of a plan: small text, weight 600, in ink. */
.answer h3, .parts h3, .answers details h3 { font: 600 14px/22px var(--sans); color: var(--ink); }
.answer .text { white-space: pre-wrap; overflow-wrap: anywhere; max-width: 78ch; }
.pages { margin: 0; padding-left: 18px; }
.pages li { overflow-wrap: anywhere; }
.pages li span { color: var(--muted); font-size: 14px; }
.pages li.hit a { font-weight: 600; }

/* The approval page: the plan and its one button, then each new page and each fix as it will read */
.approve { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 20px 48px; }
.approve > div:first-child { flex: 1 1 520px; min-width: 0; }
.approve > div:first-child p { max-width: 110ch; }
.approve form, .approve > div + div { display: grid; gap: 10px; justify-items: start; }
.approve .btn { padding: 14px 32px; }
.item { border-top: 1px solid var(--line); padding-top: var(--gap); display: grid; gap: 12px; }
.item > h2 { margin: 0; }
.item > p { max-width: 110ch; margin: 0; }
.parts { display: grid; gap: var(--gap); align-items: start; margin-top: 8px; }
.parts.page { grid-template-columns: minmax(0, 48rem) minmax(0, 1fr); }
.parts.fix { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.parts h3 { margin-top: 0; }
.parts > div { display: grid; gap: 8px; min-width: 0; }
.item .meta { color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.preview { border: 1px solid var(--line); border-radius: 12px; padding: clamp(18px, 2.4vw, 40px); overflow-wrap: anywhere; }
.preview h1 { font-size: 1.7rem; letter-spacing: -.02em; margin-bottom: 16px; text-wrap: balance; }
.preview h2 { font-size: 1.25rem; margin: 28px 0 8px; }
.preview h3 { font: 600 1.05rem var(--display); color: var(--ink); margin: 20px 0 6px; }
.preview table { border-collapse: collapse; margin: 0 0 12px; max-width: 100%; }
.preview th, .preview td { border-bottom: 1px solid var(--line); padding: 8px 16px 8px 0; text-align: left; vertical-align: top; }
.preview sup { font-size: .7rem; }
.preview sup a { color: var(--muted); }
.before, .after { border-radius: 8px; padding: 16px 20px; margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; }
.before { background: var(--surface); color: var(--muted); }
.after { border: 1px solid var(--ink); }
div.before { font-size: 1rem; }
.facts ol { margin: 0; padding-left: 1.4em; columns: 24rem; column-gap: var(--gap); font-size: 14px; line-height: 22px; }
.facts li { break-inside: avoid; margin-bottom: 12px; }
.facts li p { margin: 0 0 2px; }
.parts.fix .facts ol { columns: auto; }

@media (max-width: 1280px) {
    .front { grid-template-columns: minmax(0, 1fr); }
    .front .week { padding-top: 0; }
    .start { grid-template-columns: minmax(0, 1fr); }
    .summary.connection, .setup { grid-template-columns: minmax(0, 1fr); }
    .parts.page, .parts.fix { grid-template-columns: minmax(0, 1fr); }
    .summary { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .lede { grid-column: 1 / -1; }
    .statement { max-width: 18em; }
}
@media (max-width: 720px) {
    main { padding-bottom: 48px; }
    .hero h1 { font-size: 40px; line-height: 44px; }
    .head.page h1 { font-size: 24px; line-height: 30px; letter-spacing: -.01em; }
    /* A table fits the width of a phone: less space between the cells, and a number may wrap. */
    table.list { font-size: 14px; line-height: 22px; }
    table.list th, table.list td { padding-right: 10px; }
    table.list .num { white-space: normal; }
    table.list td { overflow-wrap: anywhere; }
    .tag { white-space: normal; margin-left: 0; }
    .summary, .summary.account, .summary.report { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .weeks { margin-left: 0; }
    .board { margin: 0 calc(var(--pad) * -1 + 6px); }
    .row { grid-template-columns: repeat(3, 1fr); gap: 6px 8px; padding: 12px; }
    .row .q, .row.heads h2 { grid-column: 1 / -1; padding-right: 0; }
    .ranking li { grid-template-columns: 2ch minmax(8ch, 12ch) minmax(24px, 1fr) 3ch; gap: 10px; }
    table.edit, table.edit tbody, table.edit tr, table.edit td { display: block; width: 100%; }
    table.edit thead { display: none; }
    table.edit tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
    table.edit td { padding: 3px 0; }
    table.edit select { width: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
    a.row, .btn { transition: background-color .12s ease, border-color .12s ease; }
}
