
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/inter-var-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/inter-var-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/inter-var-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/inter-var-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/inter-var-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/inter-var-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/inter-var-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/inter-var-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Libre Caslon Text';font-style:italic;font-weight:400;font-display:swap;src:url(/fonts/libre-caslon-text-italic-400-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Libre Caslon Text';font-style:italic;font-weight:400;font-display:swap;src:url(/fonts/libre-caslon-text-italic-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Libre Caslon Text';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/libre-caslon-text-400-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Libre Caslon Text';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/libre-caslon-text-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Libre Caslon Text';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/libre-caslon-text-700-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Libre Caslon Text';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/libre-caslon-text-700-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Libre Franklin';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/libre-franklin-400-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Libre Franklin';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/libre-franklin-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Libre Franklin';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/libre-franklin-400-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Libre Franklin';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/libre-franklin-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Libre Franklin';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/libre-franklin-400-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Libre Franklin';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/libre-franklin-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Old Standard TT';font-style:italic;font-weight:400;font-display:swap;src:url(/fonts/old-standard-tt-italic-400-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Old Standard TT';font-style:italic;font-weight:400;font-display:swap;src:url(/fonts/old-standard-tt-italic-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Old Standard TT';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/old-standard-tt-400-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Old Standard TT';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/old-standard-tt-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Old Standard TT';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/old-standard-tt-700-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Old Standard TT';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/old-standard-tt-700-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

:root {
  /* Always newsprint: the page ignores the viewer's dark mode on purpose. */
  color-scheme: light;
  --paper: #ffffff; --ink: #111111; --ink-soft: #3d3d3d; --ink-faint: #707070;
  --rule: #111111; --rule-soft: #d6d6d6; --mark: #6b1d1d; --shade: #f3f3f3;
  --serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --display: "Old Standard TT", "Times New Roman", serif;
  --sans: "Libre Franklin", "Franklin Gothic Medium", "Helvetica Neue", Arial, sans-serif;
}
body { background: var(--paper); color: var(--ink); font: 17px/1.5 var(--serif); }
/* A word longer than its column (a commit hash, a long URL from a feed) breaks rather than widening the page: a page wider than the phone throws the reader panel off center. */
body { overflow-wrap: anywhere; }
/* No browser blue on the broadsheet: a link is the page's ink, underlined. */
a { color: var(--ink); text-underline-offset: 3px; }
.wrap { max-width: 72rem; margin: 0 auto; padding-inline: 16px; padding-block: 20px 64px; }
button:focus-visible, a:focus-visible { outline: 1px solid var(--ink); outline-offset: 2px; }

/* Nameplate */
.nameplate { display: grid; justify-items: center; gap: 4px; padding-bottom: 8px; }
.nameplate .motto { font: 600 10px/1.3 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); text-align: center; }
.wordmark { display: flex; align-items: center; gap: clamp(8px, 2vw, 16px); }
.wordmark { --brand-knock: var(--paper); color: var(--ink); }
/* The paper's name is its logo (src/brand.ts), one line at any width: it scales with the window. */
.wordmark h1, .nameplate-name { font-size: clamp(2.1rem, 10.5vw, 4.8rem); line-height: 1; margin: 0; white-space: nowrap; }
h1.edition-name { margin: 0; }
.nameplate-wordmark { display: block; height: 1em; width: auto; }
.brand-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.edition-name { font: italic 700 clamp(1.1rem, 3vw, 1.5rem)/1 var(--display); letter-spacing: 0.02em; }
.editions { display: flex; justify-content: center; flex-wrap: wrap; gap: 0; padding-bottom: 6px; }
.editions a { font: 700 10.5px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); text-decoration: none; padding: 4px 12px; border-left: 1px solid var(--rule-soft); }
.nav-row { display: contents; }
.nav-editions a:first-child { border-left: 0; }
.editions a.search-link::before { content: "⌕ "; }
.editions a.custom-link::before { content: "✎ "; }
.editions a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.editions a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.dateline { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; font: 600 10.5px/1.4 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; border-top: 1px solid var(--rule); border-bottom: 4px double var(--rule); padding-block: 5px; font-variant-numeric: tabular-nums; }
.dateline .star { letter-spacing: 0.3em; }

/* Index of sections */
.sections { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; border-bottom: 1px solid var(--rule); padding-block: 4px; position: sticky; top: env(safe-area-inset-top, 0px); background: var(--paper); z-index: 2; }
.sections .inside { font: 700 10.5px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; padding-right: 10px; }
.sections a { font: 600 10.5px/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); text-decoration: none; border-left: 1px solid var(--rule-soft); padding: 6px 10px; font-variant-numeric: tabular-nums; }
.sections a span { color: var(--ink-faint); font-weight: 400; }
.sections a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Phones: every bar one tidy line — the nameplate on one line, each nav
   row scrolling sideways instead of wrapping, the dateline without its
   ornaments. */
@media (max-width: 640px) {
  .nameplate .motto { font-size: 9px; letter-spacing: 0.12em; text-wrap: balance; }
  .nameplate .motto-lead { display: none; }
  /* Clip as its mark alone (the scissors), so a byline keeps it on its line. */
  .meta .note, .meta .clip { font-size: 0; letter-spacing: 0; padding-left: 12px; }
  .meta .note::before, .meta .clip::before { font-size: 13px; }
  /* Tap targets of 44px: the padding reaches out, the negative margin keeps the line as it was. */
  .meta button.note, .meta button.clip { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 10px; margin: -15px -4px -15px 0; }
  .editions a, .sections a { padding-block: 12px; font-size: 12px; }
  .filters button { padding-block: 12px; font-size: 12px; }
  .meta { font-size: 12px; }
  .flag { font-size: 11px; }
  /* Search: the box, then both filters side by side, then the button, all full width. */
  form.search-form { display: grid; grid-template-columns: 1fr 1fr; }
  form.search-form input, form.search-form button { grid-column: 1 / -1; }
  .search-form select { min-width: 0; }
  .editions { display: grid; gap: 2px; padding-bottom: 4px; }
  .nav-row { display: flex; flex-wrap: nowrap; justify-content: safe center; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .nav-row::-webkit-scrollbar { display: none; }
  .nav-row a { flex: none; padding: 6px 8px; letter-spacing: 0.1em; }
  .nav-row a:first-child { border-left: 0; }
  .nav-tools { border-top: 1px solid var(--rule-soft); }
  .nav-tools a { font-size: 9px; letter-spacing: 0.04em; padding: 6px 5px; color: var(--ink-faint); }
  .nav-tools a::before { content: none !important; }
  .dateline { justify-content: space-between; }
  .dateline .star { display: none; }
  .dateline span:last-child { flex-basis: 100%; text-align: center; color: var(--ink-soft); }
  /* It scrolls sideways; the fading edge says there's more. */
  .sections { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .sections.more { -webkit-mask-image: linear-gradient(to right, #000 88%, transparent); mask-image: linear-gradient(to right, #000 88%, transparent); }
  .sections::-webkit-scrollbar { display: none; }
  .sections .inside { display: none; }
  .sections a { flex: none; }
  .sections a:first-of-type { border-left: 0; }
}

/* Front page: What's News beside the news columns */
.front { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 24px; margin-top: 16px; }
@media (min-width: 900px) {
  .front { grid-template-columns: 16rem minmax(0, 1fr); align-items: start; }
  /* The rail stays in view while the news columns scroll past; if it's
     taller than the window it scrolls on its own. */
  .whats-news { border-right: 1px solid var(--rule-soft); padding-right: 24px; position: sticky; top: 44px; max-height: calc(100vh - 56px); overflow-y: auto; scrollbar-width: thin; }
}
/* One column: the news first, the rail after it. */
@media (max-width: 899px) {
  .whats-news { order: 2; margin-top: 24px; }
}
.rail-more { display: block; padding: 6px 0 4px; font: 600 10px/1.2 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); text-decoration: none; }
.rail-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.rail-date { color: var(--ink-faint); font: 11px/1 var(--sans); white-space: nowrap; }
.whats-news h2 { font: 700 1.7rem/1 var(--display); margin: 0; padding: 8px 0 6px; border-top: 4px solid var(--rule); border-bottom: 1px solid var(--rule); }
.whats-news h3 { font: 700 10.5px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; margin: 14px 0 0; padding-bottom: 5px; border-bottom: 1px solid var(--rule-soft); }
.whats-news ul { list-style: none; margin: 0; padding: 0; }
.whats-news li { position: relative; padding: 8px 0 8px 14px; border-bottom: 1px solid var(--rule-soft); font-size: 14px; line-height: 1.4; }
.whats-news li::before { content: ""; position: absolute; left: 0; top: 14px; width: 6px; height: 6px; background: var(--ink); }
.whats-news strong { font-weight: 700; }
.digest-link { color: var(--ink); text-decoration: none; }
.status-link { color: inherit; text-decoration: none; }
.status-link:hover { text-decoration: underline; text-underline-offset: 2px; }
.digest-link:hover { text-decoration: underline; text-underline-offset: 2px; }

/* Section heads */
.section { scroll-margin-top: 44px; }
.section-head { margin-top: 32px; border-top: 4px solid var(--rule); padding-top: 6px; }
.front .section-head { margin-top: 0; }
.section-head h2 { font: 700 13px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; margin: 0; }
.section-head p { margin: 4px 0 0; font-size: 14px; color: var(--ink-soft); font-style: italic; }
.section-rising { display: inline-flex; align-items: center; gap: 6px; margin: 8px 0 0; min-height: 32px; font: 600 13px/1 var(--sans); color: var(--ink); }
.section-rising svg { width: 16px; height: 16px; }
.filters { display: flex; flex-wrap: wrap; margin-top: 6px; }
.filters button { font: 600 10.5px/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); background: none; border: 0; border-right: 1px solid var(--rule-soft); padding: 4px 10px; cursor: pointer; }
.filters button:first-child { padding-left: 0; }
.filters button:last-child { border-right: 0; }
.filters button[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.brief-link { margin: 8px 0 12px; font: 700 15px/1.35 var(--sans); }
.quiet-note { margin: 8px 0 14px; padding: 10px 12px; border-left: 3px solid var(--rule); background: var(--shade); font: 14px/1.45 var(--sans); color: var(--ink-soft); }
.quiet-note a { color: var(--ink); font-weight: 700; }
.quiet-note span { color: var(--ink-faint); }
.brief-link a { color: var(--ink); }

:is(li.item, article.lead, li.brief, li.timed, li.rs-paper, li.rise-repo, ol.story-list > li, li.dl-item, article.vendor-card):has(:is(a.title, a.brief-title, h3 > a, a[data-read], a.story-title)) { cursor: pointer; }
:is(li.item, article.lead, li.brief, li.timed, li.rs-paper, li.rise-repo, ol.story-list > li, li.dl-item, article.vendor-card) :is(p, .meta span) { cursor: inherit; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  html[data-view="clean"] :is(.item, .brief, ol.story-list > li, .vendor-card) { transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s; }
  html[data-view="clean"] :is(.item, .brief, ol.story-list > li, .vendor-card):hover { transform: translateY(-1px); box-shadow: 0 2px 10px var(--shadow-soft, rgba(0, 0, 0, 0.06)); }
  /* A day's list is one sheet, not cards: it stays put. */
  html[data-view="clean"] .day :is(.item, .brief):hover { transform: none; box-shadow: none; }
}


.tiles { list-style: none; margin: 12px 0 4px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(13.5rem, 1fr)); gap: 10px; columns: 1 !important; }
.tiles > li { margin: 0; padding: 0; border: 0; }
.tile { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 10px; row-gap: 3px; align-content: start; height: 100%; box-sizing: border-box; padding: 14px 16px; border: 1px solid var(--rule-soft); color: var(--ink); text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; }
.tile .ico { grid-row: span 2; width: 20px; height: 20px; margin-top: 1px; color: var(--ink-soft); }
.tile b { font: 700 15px/1.3 var(--sans); }
.tile span { font: 13.5px/1.45 var(--sans); color: var(--ink-soft); }
a.tile:hover { border-color: var(--hover-rule, var(--ink-faint)); box-shadow: 0 2px 10px var(--shadow-soft, rgba(0, 0, 0, 0.06)); transform: translateY(-1px); }
a.tile:hover .ico { color: var(--ink); }
html:not([data-view="clean"]) .tile { grid-template-columns: minmax(0, 1fr); border-color: var(--rule); }
html:not([data-view="clean"]) .tile b { font-family: var(--display); font-size: 1.05rem; }
html[data-view="clean"] .tile { border-radius: 14px; background: var(--card); }
.folds { margin: 10px 0 4px; border-top: 1px solid var(--rule-soft); }
.folds details { border-bottom: 1px solid var(--rule-soft); }
.folds summary, html[data-view="clean"] .folds details > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 12px 2px; cursor: pointer; }
.folds summary::-webkit-details-marker { display: none; }
/* Its own chevron, on the right: not Clean's arrow before every summary. */
html[data-view="clean"] .folds details > summary::before { display: none; }
.fold-head { display: grid; gap: 2px; }
.fold-head b { font: 700 15px/1.3 var(--sans); }
.fold-head span { font: 13.5px/1.45 var(--sans); color: var(--ink-soft); }
.folds summary .ico { display: block !important; flex: none; width: 18px; height: 18px; color: var(--ink-soft); transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1); }
.folds details[open] summary .ico { transform: rotate(180deg); }
.fold-body { padding: 0 2px 14px; font: 14.5px/1.6 var(--sans); color: var(--ink-soft); max-width: 42rem; }
.fold-body p { margin: 0 0 8px; }
html[data-view="clean"] .folds { border: 1px solid var(--rule); border-radius: 14px; background: var(--card); padding: 0 16px; }
html[data-view="clean"] .folds details:last-child { border-bottom: 0; }
/* A phone: two tiles a row, the icon above the name. */
@media (max-width: 560px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .tile { grid-template-columns: minmax(0, 1fr); padding: 12px; row-gap: 4px; }
  .tile .ico { grid-row: auto; margin: 0 0 2px; }
  .tile b { font-size: 14px; }
  .tile span { font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) { a.tile:hover { transform: none; } .folds summary .ico { transition: none; } }

/* Watch: the newest video large, the rest in a full grid beside and under it, never a half-empty row. */
.videos { list-style: none; margin: 0; padding: 0; columns: 1 !important; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 16px; }
.video { display: grid; gap: 6px; align-content: start; min-width: 0; }
.video:first-child { grid-column: span 2; grid-row: span 2; gap: 10px; }
.video:first-child .video-title { font-size: 1.35rem; line-height: 1.25; -webkit-line-clamp: 4; }
.video:not(:first-child) .video-title { font-size: 0.95rem; line-height: 1.3; }
/* A title of three lines at most (the whole one on hover and in the player's own page): the grid's rows stay even. */
.video-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.video .meta { margin: 4px 0 0; }
.video:not(:first-child) .video-icon { width: 42px; height: 30px; border-radius: 8px; }
.video:not(:first-child) .video-icon::after { left: 17px; top: 8px; border-width: 7px 0 7px 11px; }
@media (max-width: 900px) { .videos { grid-template-columns: repeat(2, minmax(0, 1fr)); } .video:first-child { grid-row: auto; } }
/* Phones: the newest large, the rest as rows, the picture beside the title. */
@media (max-width: 560px) {
  .videos { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .video:first-child { grid-column: auto; }
  .video:not(:first-child) { grid-template-columns: 42% minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 12px; row-gap: 4px; }
  .video:not(:first-child) .video-play, .video:not(:first-child) .video-frame { grid-row: span 2; align-self: start; }
}
.video-play { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; background: var(--shade); cursor: pointer; overflow: hidden; }
.video-play img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-icon { position: absolute; inset: 0; margin: auto; width: 54px; height: 38px; border-radius: 10px; background: rgba(0, 0, 0, 0.72); }
.video-icon::after { content: ""; position: absolute; left: 22px; top: 11px; border-style: solid; border-width: 8px 0 8px 14px; border-color: transparent transparent transparent #fff; }
.video-play:hover .video-icon, .video-play:focus-visible .video-icon { background: #c00; }
.video-frame { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }
.video-title { font: 700 1rem/1.3 var(--display); color: var(--ink); text-decoration: none; }
.video-title:hover { text-decoration: underline; }
html[data-view="clean"] .video-play, html[data-view="clean"] .video-frame { border-radius: 12px; }
html[data-view="clean"] .video-title { font-family: var(--sans); }
.field-filters { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; }
.field-filters button { font: 600 12px/1 var(--sans); color: var(--ink-soft); background: var(--paper); border: 1px solid var(--rule); padding: 6px 9px; cursor: pointer; }
.field-filters button[aria-pressed="true"] { color: var(--paper); background: var(--ink); border-color: var(--ink); }
html[data-view="clean"] .field-filters button { border-radius: 999px; }
html[data-view="clean"] .field-filters button[aria-pressed="true"] { background: var(--pill); color: var(--pill-ink); border-color: var(--pill); }
.meta .tag.vendor { font-weight: 600; font-style: italic; }
h4 { font: 700 10.5px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; margin: 20px 0 0; padding-bottom: 5px; border-bottom: 1px solid var(--rule); }

/* Stories */
.lead { display: grid; gap: 6px; padding-block: 12px 18px; border-bottom: 1px solid var(--rule); }
.lead .title { font: 700 clamp(1.7rem, 4.5vw, 2.6rem)/1.1 var(--display); }
.lead .snippet { -webkit-line-clamp: 4; font-size: 17px; }
/* Pictures: printed in black and white in the Journal, a photo across the lead, a small one beside the rest. */
.pic { margin: 0; overflow: hidden; background: var(--rule-soft); }
.pic img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08); }
.lead .pic { aspect-ratio: 16 / 9; margin-bottom: 6px; }
.item.has-pic, .brief.has-pic { grid-template-columns: minmax(0, 1fr) 104px; column-gap: 14px; }
.item.has-pic > *, .brief.has-pic > * { grid-column: 1; }
.item.has-pic > .pic, .brief.has-pic > .pic { grid-column: 2; grid-row: 1 / span 3; align-self: start; aspect-ratio: 4 / 3; margin-top: 4px; }
.brief.has-pic { grid-template-columns: minmax(0, 1fr) 84px; }
.reader-pic { margin: 0 0 14px; aspect-ratio: 16 / 9; overflow: hidden; background: var(--rule-soft); }
.reader-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.reader-pic[hidden] { display: none; }
.reader-body .term { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: help; text-decoration: underline dotted; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.reader-body .term:hover, .reader-body .term:focus-visible { text-decoration-style: solid; }
.term-card { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); width: min(34rem, calc(100vw - 32px)); box-sizing: border-box; background: var(--paper); color: var(--ink); border: 1px solid var(--ink); box-shadow: 0 10px 30px rgb(0 0 0 / 0.18); padding: 14px 16px; font-family: var(--sans); z-index: 5; }
.term-card[hidden] { display: none; }
.term-card-name { display: block; font-size: 16px; margin-bottom: 4px; }
.term-card-line { margin: 0 0 10px; font-size: 15px; line-height: 1.45; }
.term-card-tools { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin: 0; font-size: 14px; }
.term-card-tools a { color: var(--ink); }
.term-card-close { margin-left: auto; font: 600 13px/1 var(--sans); background: none; border: 1px solid var(--rule); color: var(--ink); padding: 8px 10px; cursor: pointer; }
html[data-view="clean"] .term-card { border-radius: 12px; border-color: var(--rule); }

.reader-body a.in-paper { text-decoration-style: double; }
dialog.link-card { position: fixed; inset: auto; margin: 0; padding: 0; width: min(24rem, calc(100vw - 16px)); max-height: calc(100vh - 16px); overflow: auto; box-sizing: border-box; background: var(--paper); color: var(--ink); border: 1px solid var(--ink); box-shadow: 0 12px 34px rgb(0 0 0 / 0.22); font-family: var(--sans); }
dialog.link-card::backdrop { background: transparent; }
dialog.link-card.sheet { left: 0; right: 0; bottom: 0; top: auto; width: 100%; max-width: 100%; max-height: 80vh; border-width: 1px 0 0; border-radius: 16px 16px 0 0; }
dialog.link-card.sheet::backdrop { background: rgb(17 17 17 / 0.45); }
.link-card-in { display: grid; gap: 8px; padding: 14px 16px 16px; }
dialog.link-card.sheet .link-card-in { padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
dialog.link-card.sheet .link-card-in::before { content: ""; justify-self: center; width: 40px; height: 4px; border-radius: 2px; background: var(--rule); margin: -4px 0 2px; }
.link-card-head { display: flex; align-items: center; gap: 8px; min-width: 0; }
.link-card-where { flex: 1; min-width: 0; font: 700 11px/1.3 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); overflow-wrap: anywhere; }
.link-card-close { flex: none; display: inline-grid; place-items: center; width: 36px; height: 36px; font: 600 20px/1 var(--sans); background: none; border: 1px solid var(--rule); color: var(--ink); cursor: pointer; }
.link-card-title { margin: 0; font: 700 1.08rem/1.3 var(--display); overflow-wrap: anywhere; }
.link-card-desc { margin: 0; font-size: 14.5px; line-height: 1.45; color: var(--ink-soft); }
.link-card-desc:empty, .link-card-ours[hidden] { display: none; }
.link-card-desc[aria-busy="true"] { font-style: italic; }
.link-card-ours { margin: 0; padding: 8px 10px; border-left: 2px solid var(--ink); background: var(--shade); font-size: 14px; line-height: 1.45; }
.link-card-ours b { display: block; font: 700 10.5px/1.3 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 2px; }
.link-card-url { margin: 0; font-size: 12.5px; line-height: 1.4; overflow-wrap: anywhere; }
.link-card-url a { color: var(--ink-soft); }
.link-card-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.link-card-tools > * { display: inline-flex; align-items: center; justify-content: center; column-gap: 0.3em; min-height: 44px; padding: 0 14px; font: 600 14px/1.1 var(--sans); border: 1px solid var(--ink); background: var(--paper); color: var(--ink); cursor: pointer; text-decoration: none; box-sizing: border-box; }
.link-card-tools > [hidden] { display: none; }
.link-card-tools .link-card-main { background: var(--ink); color: var(--paper); }
.link-card-tools button[aria-pressed="true"] { border-color: var(--rule); color: var(--ink-soft); }
dialog.link-card.sheet .link-card-tools > * { flex: 1 1 auto; }
html[data-view="clean"] dialog.link-card:not(.sheet) { border-radius: 14px; border-color: var(--rule); }
html[data-view="clean"] .link-card-tools > *, html[data-view="clean"] .link-card-close { border-radius: 999px; }
@media (prefers-reduced-motion: no-preference) {
  dialog.link-card[open] { animation: link-card-in 0.14s ease-out; }
  dialog.link-card.sheet[open] { animation: link-sheet-in 0.2s ease-out; }
}
@keyframes link-card-in { from { opacity: 0; transform: translateY(-4px); } }
@keyframes link-sheet-in { from { transform: translateY(100%); } }
ol { list-style: none; margin: 0; padding: 0; column-gap: 28px; column-rule: 1px solid var(--rule-soft); }
@media (min-width: 720px) { ol { columns: 2; } }
@media (min-width: 1100px) { .section:not(.front-news) ol { columns: 3; } }
.item, .brief { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; border-bottom: 1px solid var(--rule-soft); break-inside: avoid; }
.item { padding-block: 12px; }
.brief { padding-block: 9px; }
.item.quiet .title { font-weight: 400; }
.item.quiet .snippet { display: none; }
.meta { display: flex; flex-wrap: wrap; gap: 2px 8px; font: 10.5px/1.4 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.meta .source { color: var(--ink); font-weight: 700; }
.title, .brief-title, .version { color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.title { font: 700 1.2rem/1.2 var(--display); text-wrap: balance; }
.brief-title { font: 700 1rem/1.25 var(--display); }
.title:hover, .brief-title:hover, .version:hover { text-decoration: underline; text-underline-offset: 3px; }
.out { color: var(--ink-faint); font-weight: 400; }
.snippet, .brief-snippet { margin: 0; color: var(--ink-soft); display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; hyphens: auto; }
.snippet { font-size: 15px; line-height: 1.5; -webkit-line-clamp: 3; }
.brief-snippet { font-size: 14px; line-height: 1.45; -webkit-line-clamp: 2; }
.flags { display: flex; flex-wrap: wrap; gap: 10px; }
.flag { font: 700 9.5px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); }
.flag.launch { color: var(--mark); }
.search-form { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; }
.search-form input { flex: 1 1 16rem; font: 18px/1.3 var(--serif); padding: 8px 10px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); }
.search-form select, .search-form button { font: 600 11px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; padding: 8px 10px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); }
.search-form button { background: var(--ink); color: var(--paper); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; font-size: 13px; }
.search-form button svg { width: 18px; height: 18px; flex: none; }
.search-status { font: 13px/1.4 var(--sans); color: var(--ink-soft); margin: 6px 0 0; }
.recent-searches { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 4px 0 8px; font: 13px/1.2 var(--sans); }
.recent-searches[hidden] { display: none; }
.recent-searches > span { color: var(--ink-soft); font-weight: 600; }
.recent-searches ul { display: contents; list-style: none; }
.recent-searches li { display: contents; }
.recent-searches a, .recent-searches button { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); text-decoration: none; font: inherit; cursor: pointer; }
.recent-searches button { border-color: transparent; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }
html[data-view="clean"] .recent-searches a { border-radius: 999px; background: var(--card); }
.search-results mark { background: var(--shade); color: var(--ink); font-weight: 700; padding: 0 1px; }
.search-results ol { columns: 1 !important; }
.search-pages { margin-bottom: 14px; border-bottom: 1px solid var(--rule); padding-bottom: 8px; }
.search-more { display: block; min-height: 44px; margin: 10px 0 0; padding: 0 16px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); font: 13px/1.2 var(--sans); cursor: pointer; }
.search-more[hidden] { display: none; }
html[data-view="clean"] .search-more { border-radius: 999px; background: var(--card); }
.search-releases { margin-top: 18px; border-top: 1px solid var(--rule); padding-top: 12px; }
.search-releases > summary { cursor: pointer; font: 600 14px/1.4 var(--sans); color: var(--ink-soft); min-height: 44px; display: flex; align-items: center; }
html[data-view="clean"] .search-releases { border: 1px solid var(--rule); border-radius: 14px; padding: 4px 16px; background: var(--card); }
.section-more { margin: 10px 0 0; font: 700 11px/1.3 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; }
.section-more a, .section-back a { color: var(--ink); }
.section-back { margin: 24px 0 0; font: 14px/1.4 var(--sans); }
/* A piece whose link the source took down (see linkwatch.ts). */
.gone { font: 12.5px/1.4 var(--sans); color: var(--ink-faint); }
.gone a { color: var(--ink-soft); }
.more-on { margin: 0; font: 11px/1.5 var(--sans); letter-spacing: 0.04em; color: var(--ink-faint); }
.timeline-link { margin: 0; font: 700 11px/1.5 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; }
.timeline-link a { color: var(--mark); text-decoration: none; }
.timeline-link a + a { margin-left: 10px; }
.timeline-link a:hover { text-decoration: underline; text-underline-offset: 3px; }
.more-link { color: var(--ink-soft); font-weight: 600; text-decoration: none; border-bottom: 1px dotted var(--ink-faint); }
.more-link:hover { color: var(--ink); border-bottom-style: solid; }
.also { margin: 0; font: 11px/1.5 var(--sans); letter-spacing: 0.04em; color: var(--ink-faint); }
.also-link { color: var(--ink-soft); font-weight: 600; text-decoration: none; }
.also-link:hover { text-decoration: underline; text-underline-offset: 2px; }
.incident { font-weight: 700; color: var(--ink-soft); }
.meta .tag { font-weight: 700; color: var(--ink-soft); }
.acts { margin-left: auto; display: inline-flex; align-items: baseline; white-space: nowrap; }
.note { font: 600 10px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); background: none; border: 0; padding: 0 0 0 8px; cursor: pointer; }
.note:hover { color: var(--ink); }
.note[aria-pressed="true"] { color: var(--mark); }
.clip { font: 600 10px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); background: none; border: 0; padding: 0 0 0 10px; cursor: pointer; }
.clip::before { content: ""; display: inline-block; width: 1.05em; height: 1.05em; margin-right: 0.3em; vertical-align: -0.18em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%226.5%22%20cy%3D%226.5%22%20r%3D%222.5%22%2F%3E%3Ccircle%20cx%3D%226.5%22%20cy%3D%2217.5%22%20r%3D%222.5%22%2F%3E%3Cpath%20d%3D%22M8.6%208L20%2018.5M8.6%2016L20%205.5%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%226.5%22%20cy%3D%226.5%22%20r%3D%222.5%22%2F%3E%3Ccircle%20cx%3D%226.5%22%20cy%3D%2217.5%22%20r%3D%222.5%22%2F%3E%3Cpath%20d%3D%22M8.6%208L20%2018.5M8.6%2016L20%205.5%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }
/* Links that leave the paper end with a drawn arrow, never a typed one (no emoji; see emoji.ts). */
.out::before { content: ""; display: inline-block; width: 0.9em; height: 0.9em; margin-right: 0.3em; vertical-align: -0.18em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%2016L16%208M9.5%208H16v6.5%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%2016L16%208M9.5%208H16v6.5%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; margin: 0 0 0 0.2em; }

.timed-list { list-style: none; margin: 0; padding: 0; columns: 1 !important; max-width: 46rem; }
.timed { border-top: 1px solid var(--rule-soft); padding: 10px 0 12px; display: grid; gap: 4px; }
.timed .took { font-weight: 700; color: var(--ink); }
.time-bar { height: 3px; background: var(--shade); margin-top: 4px; }
.time-bar span { display: block; height: 100%; background: var(--ink); }
.week-end { text-align: center; margin: 28px 0 8px; padding-top: 14px; border-top: 4px double var(--rule); font: italic 1.05rem/1.4 var(--display); }
.week-end small { display: block; font: 12px/1.5 var(--sans); font-style: normal; color: var(--ink-faint); margin-top: 6px; }
.time-offer { font: 12px/1.5 var(--sans); color: var(--ink-soft); text-align: center; margin: 6px 0 0; }
.time-offer a { color: var(--ink); font-weight: 700; }
.save-offline button { font: 700 10.5px/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; padding: 8px 10px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); cursor: pointer; margin-top: 8px; }
.save-offline [role=status] { font: 12px/1.5 var(--sans); color: var(--ink-soft); }
.clip:hover { color: var(--ink); }
.clip[aria-pressed="true"] { color: var(--ink); }
.editions a.clippings-link::before { content: ""; display: inline-block; width: 1.05em; height: 1.05em; margin-right: 0.3em; vertical-align: -0.18em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%226.5%22%20cy%3D%226.5%22%20r%3D%222.5%22%2F%3E%3Ccircle%20cx%3D%226.5%22%20cy%3D%2217.5%22%20r%3D%222.5%22%2F%3E%3Cpath%20d%3D%22M8.6%208L20%2018.5M8.6%2016L20%205.5%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%226.5%22%20cy%3D%226.5%22%20r%3D%222.5%22%2F%3E%3Ccircle%20cx%3D%226.5%22%20cy%3D%2217.5%22%20r%3D%222.5%22%2F%3E%3Cpath%20d%3D%22M8.6%208L20%2018.5M8.6%2016L20%205.5%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }
.agate td.impact { font: 700 10px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.incident.ongoing { color: var(--mark); }
.whats-news .incident { font: 700 10px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }

/* Agate tables */
.table-wrap { overflow-x: auto; margin-top: 8px; }
.agate { width: 100%; border-collapse: collapse; font: 13px/1.3 var(--sans); font-variant-numeric: tabular-nums; }
.agate thead th { text-align: left; font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); border-bottom: 1px solid var(--rule); padding: 4px 8px 4px 0; }
.agate th[scope="row"] { text-align: left; font-weight: 700; padding: 5px 8px 5px 0; white-space: nowrap; }
.agate td { padding: 5px 8px 5px 0; }
.agate tbody tr:nth-child(odd) { background: var(--shade); }
.agate .when { color: var(--ink-faint); white-space: nowrap; }
.agate .version { font-weight: 600; }
.agate .id { font-variant-numeric: tabular-nums; }
.cell-link { color: var(--ink); text-decoration: none; overflow-wrap: break-word; }
/* Phones: a table's row becomes a short entry — who, then what (whole words, full width), then status and time. */
@media (max-width: 640px) {
  .agate thead { display: none; }
  .agate, .agate tbody { display: block; width: 100%; }
  .agate tbody tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--rule-soft); background: none !important; }
  .agate th[scope="row"], .agate td { display: inline; padding: 0; white-space: normal; }
  .agate th[scope="row"] { display: block; font: 700 12px/1.3 var(--sans); color: var(--ink-soft); }
  .agate th[scope="row"] + td { display: block; margin: 3px 0 4px; font-size: 15px; line-height: 1.35; }
  .agate td + td:not(:nth-child(2))::before { content: " · "; color: var(--ink-faint); }
  .agate th[scope="row"] + td + td::before { content: none; }
  .agate td:empty { display: none; }
  .agate td:empty + td::before { content: none; }
  .agate td.num { display: none; }
}
.cell-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.agate tr.ongoing-row .cell-link { font-weight: 700; }
.agate td .incident { font: 700 10px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
h4 .h4-note { font-weight: 400; letter-spacing: 0.06em; text-transform: none; color: var(--ink-faint); margin-left: 6px; }

.empty { color: var(--ink-soft); padding-block: 16px; font-style: italic; }
footer { margin-top: 40px; padding-top: 8px; border-top: 4px double var(--rule); font: 12px/1.5 var(--sans); color: var(--ink-faint); display: grid; gap: 6px; }
footer ul { margin: 0; padding-left: 18px; }
footer a { color: var(--ink-soft); }
.source-summary { margin: 10px 0 0; font-size: 15px; color: var(--ink-soft); }
.agate td.status { font: 700 10px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.agate td.status.bad { color: var(--mark); }
.agate td.status.dim { color: var(--ink-faint); }
.agate td.num { text-align: right; padding-right: 16px; }
.agate th.num { text-align: right; padding-right: 16px; }
.agate .note { display: block; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink-faint); margin-top: 2px; }

/* Reader */
dialog.reader { width: min(46rem, 100vw); max-width: 100vw; height: 100%; max-height: 100%; margin: 0 auto; padding: 0; border: 0; background: var(--paper); color: var(--ink); }
dialog.reader::backdrop { background: rgba(17, 17, 17, 0.55); }
/* While the reader is open, the page behind it holds still: the wheel and the finger scroll the story. */
dialog.reader { overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
html.reading, html:has(dialog.reader[open]) { overflow: hidden; }
.reader-bar { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: calc(8px + env(safe-area-inset-top, 0px)) 12px 8px; background: var(--paper); border-bottom: 1px solid var(--rule); font: 600 13px/1 var(--sans); }
/* The bar's controls: an icon and a word each, a finger's size, the Close alone on the right. */
.reader-bar .rb { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; min-width: 40px; justify-content: center; padding: 0 11px; font: inherit; color: var(--ink); background: none; border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s, transform 0.1s; }
.reader-bar .rb:hover { border-color: var(--hover-rule, var(--rule)); box-shadow: 0 1px 6px var(--shadow-soft, rgba(0, 0, 0, 0.06)); }
.reader-bar .rb:active { transform: scale(0.97); box-shadow: none; }
.reader-bar .rb .ico { display: block; flex: none; width: 18px; height: 18px; }
.reader-bar .rb[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.reader-expand .ico:nth-of-type(2), .reader-expand[aria-pressed="true"] .ico:nth-of-type(1) { display: none !important; }
.reader-expand[aria-pressed="true"] .ico:nth-of-type(2) { display: block !important; }
.reader-bar .reader-close { padding: 0; width: 40px; margin-left: 4px; border-color: var(--rule); }
.reader-bar .reader-close .ico { width: 20px; height: 20px; }
.reader-tools { display: inline-flex; gap: 2px; align-items: center; }
.reader-nav [hidden], .reader-tools [hidden] { display: none !important; }
/* Opening the piece puts the focus on the dialog, not on a button: no ring until the keyboard moves. */
dialog.reader:focus { outline: none; }
html[data-view="clean"] .reader-bar .rb { border-radius: 10px; }
@media (max-width: 559px) { .reader-bar .rb-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .reader-bar .rb { padding: 0; width: 44px; min-height: 44px; } .reader-bar { padding-left: 6px; padding-right: 6px; } }
/* Full screen: the reader takes the whole window (and the whole screen where the browser allows), the text keeping its measure. */
dialog.reader.full { width: 100vw; max-width: 100vw; height: 100%; max-height: 100%; margin: 0; border: 0; border-radius: 0; }
dialog.reader.full .reader-inner { max-width: 44rem; padding-top: 40px; }
dialog.reader.full .reader-body { font-size: 1.08em; }
@media (max-width: 759px) { .reader-expand { display: none; } }
.reader-next { margin: 28px 0 8px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.reader-next[hidden] { display: none; }
.reader-next a { display: grid; gap: 4px; padding: 14px 0; color: var(--ink); text-decoration: none; font-family: var(--sans); }
.reader-next-where { font: 700 11px/1.2 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.reader-next-where::after { content: " →"; }
.reader-next-title { font: 700 1.15rem/1.3 var(--display); }
.reader-next a:hover .reader-next-title { text-decoration: underline; text-underline-offset: 3px; }
html[data-view="clean"] .reader-next { border: 1px solid var(--rule); border-radius: 14px; padding: 0 16px; background: var(--card); }
html[data-view="clean"] .reader-next-title { font-family: var(--sans); }
.reader-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin: 28px 0 0; padding-top: 14px; border-top: 1px solid var(--rule); font: 14px/1.3 var(--sans); }
.reader-end[hidden] { display: none; }
.reader-end button { min-height: 44px; padding: 0 14px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); font: 600 14px/1 var(--sans); cursor: pointer; }
.reader-end button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.reader-worth { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-soft); }
.reader-worth > span { margin-right: 4px; }
.reader-worth-said { flex-basis: 100%; margin: 0; color: var(--ink-soft); font-size: 13px; }
.reader-worth-said:empty { display: none; }
.reader-more { margin: 8px 0 20px; }
.reader-more[hidden] { display: none; }
.reader-more h3 { font: 700 11px/1.2 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); margin: 18px 0 6px; }
.reader-lane { display: grid; border-top: 1px solid var(--rule-soft); padding: 8px 0; }
.reader-lane-name { font: 600 12px/1.3 var(--sans); color: var(--ink-faint); padding: 2px 0; }
.reader-lane a { display: grid; gap: 2px; padding: 8px 0; min-height: 44px; color: var(--ink); text-decoration: none; }
.reader-lane a b { font: 700 1.02rem/1.3 var(--display); }
.reader-lane a small { font: 12px/1.3 var(--sans); color: var(--ink-faint); }
.reader-lane a:hover b { text-decoration: underline; text-underline-offset: 3px; }
a.was-read { color: var(--ink-faint); }
html[data-view="clean"] .reader-end button { border-radius: 999px; }
html[data-view="clean"] .reader-more { border: 1px solid var(--rule); border-radius: 14px; padding: 0 16px 6px; background: var(--card); }
html[data-view="clean"] .reader-lane a b { font-family: var(--sans); }
.reader-inner { padding: 20px 20px 64px; max-width: 40rem; margin: 0 auto; }
.reader-meta { font: 10.5px/1.4 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); }
.reader-title { font: 700 clamp(1.6rem, 5vw, 2.3rem)/1.12 var(--display); margin: 6px 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); text-wrap: balance; }
.reader-body { font-size: 17px; line-height: 1.65; overflow-wrap: anywhere; }
.reader-body > p:first-of-type::first-letter { float: left; font: 700 3.3em/0.85 var(--display); padding: 4px 6px 0 0; }
.reader-body h1, .reader-body h2, .reader-body h3, .reader-body h4, .reader-body h5, .reader-body h6 { font: 700 1.15rem/1.25 var(--display); letter-spacing: 0; text-transform: none; margin: 1.4em 0 0.4em; border: 0; padding: 0; }
.reader-body h1, .reader-body h2 { font-size: 1.35rem; }
.reader-body a { color: var(--ink); text-underline-offset: 2px; }
.reader-nav { display: flex; gap: 2px; align-items: center; }
.reader-body [id] { scroll-margin-top: 64px; }
.reader-body a[href^="#"] { text-decoration-style: dotted; }
.reader-target { background: var(--shade); transition: background 1.2s ease-out; }
.reader-loading { color: var(--ink-faint); font-style: italic; display: grid; gap: 12px; padding: 8px 0; }
.reader-body blockquote { margin: 1em 0; padding-left: 16px; border-left: 2px solid var(--rule-soft); color: var(--ink-soft); font-style: italic; }
.reader-body pre { overflow-x: auto; background: var(--shade); padding: 12px; font-size: 13px; line-height: 1.5; }
.reader-body pre, .reader-body code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; }
.reader-body code { font-size: 0.88em; }
.reader-body pre code { font-size: inherit; }
.reader-body .code-block { margin: 1em 0; background: var(--shade); border: 1px solid var(--rule-soft); }
.reader-body .code-block pre { margin: 0; padding: 4px 14px 14px; white-space: pre; overflow-wrap: normal; tab-size: 2; }
.code-copy { display: flex; align-items: center; gap: 6px; margin-left: auto; padding: 8px 12px; border: 0; background: none; color: var(--ink-soft); font: 600 12px/1 var(--sans); cursor: pointer; }
.code-copy:hover { color: var(--ink); }
.code-copy .ico { width: 15px; height: 15px; }
.reader-body table { display: block; overflow-x: auto; border-collapse: collapse; font-size: 14px; }
.reader-body th, .reader-body td { border-bottom: 1px solid var(--rule-soft); padding: 4px 8px; text-align: left; }
.reader-body figure { margin: 1.2em 0; }
.reader-body img { display: block; max-width: 100%; height: auto; margin: 1em auto; background: var(--shade); }
.reader-body figure img { margin: 0 auto; }
.reader-body img, .reader-pic img { cursor: zoom-in; }
.viewer { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #0c0c0c; color: #f2f2f0; overflow: hidden; }
.viewer::backdrop { background: #0c0c0c; }
.viewer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.viewer-bar { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 10px; font: 600 14px/1 var(--sans); }
.viewer-tools { display: flex; align-items: center; gap: 2px; }
.viewer-bar button, .viewer-bar a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 10px; border: 0; background: transparent; color: inherit; font: inherit; text-decoration: none; cursor: pointer; }
.viewer-in, .viewer-out { font-size: 22px !important; }
.viewer-count { padding-left: 6px; color: #b9b9b5; }
.viewer-stage { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; touch-action: none; }
.viewer-stage img { max-width: 100%; max-height: 100%; object-fit: contain; background: #fff; user-select: none; -webkit-user-select: none; -webkit-user-drag: none; cursor: zoom-in; will-change: transform; }
.viewer-stage img.settle { transition: transform 0.2s ease; }
.viewer.zoomed .viewer-stage img { cursor: grab; }
.viewer-prev, .viewer-next { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 64px; border: 0; background: rgba(0, 0, 0, 0.5); color: #fff; font: 34px/1 var(--sans); cursor: pointer; }
.viewer-prev { left: 4px; }
.viewer-next { right: 4px; }
.viewer-prev[hidden], .viewer-next[hidden] { display: none; }
.viewer-caption { margin: 0; padding: 8px 16px 14px; max-height: 25vh; overflow: auto; font: 13px/1.45 var(--sans); color: #c9c9c5; text-align: center; }
.viewer-caption:empty { display: none; }
@media (prefers-reduced-motion: reduce) { .viewer-stage img.settle { transition: none; } }
.reader-body figcaption { font: 13px/1.45 var(--sans); color: var(--ink-faint); margin-top: 6px; text-align: center; }
.reader-body .cut { font-style: italic; color: var(--ink-faint); border-top: 1px solid var(--rule-soft); padding-top: 12px; }
@media (min-width: 760px) { dialog.reader { height: calc(100% - 48px); max-height: calc(100% - 48px); margin-top: 24px; border: 1px solid var(--rule); } }

.appbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 0 8px; margin-bottom: 10px; border-bottom: 1px solid var(--rule-soft); }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); cursor: pointer; flex: none; }
.menu-toggle .ico, .menu-close .ico { display: block; width: 20px; height: 20px; }
.menu-sheet { border: 0; padding: 0 16px 24px; margin: 0 0 0 auto; width: min(24rem, 92vw); max-width: none; height: 100%; max-height: none; background: var(--paper); color: var(--ink); font-family: var(--sans); overflow-y: auto; box-shadow: -8px 0 30px rgba(0, 0, 0, 0.18); }
.menu-sheet::backdrop { background: rgba(0, 0, 0, 0.35); }
.menu-sheet .ico { display: inline-block; flex: none; width: 18px; height: 18px; }
.menu-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: 14px 0 10px; background: inherit; }
.menu-head b { font: 700 17px/1 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); }
.menu-close { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid var(--rule); border-radius: 50%; background: var(--paper); color: var(--ink); padding: 0; cursor: pointer; }
.menu-settings { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--rule-soft); border-radius: 14px; background: var(--card, var(--paper)); }
.menu-row { display: grid; grid-template-columns: 5.5rem 1fr; align-items: center; gap: 8px; }
.menu-row > span { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.menu-sheet .menu-choice, .menu-sheet .menu-choice.view-switch { display: flex; margin: 0; padding: 2px; width: auto; gap: 2px; border: 0; border-radius: 10px; background: var(--rule-soft); box-shadow: none; }
.menu-sheet .menu-choice button, html[data-view="clean"] .menu-sheet .menu-choice.view-switch button { flex: 1; min-width: 0; height: 32px; font: 600 13px/1 var(--sans); letter-spacing: 0; text-transform: none; padding: 0 6px; border: 0; border-radius: 8px; box-shadow: none; background: transparent; color: var(--ink-soft); cursor: pointer; }
.menu-sheet .menu-choice button[aria-pressed="true"], html[data-view="clean"] .menu-sheet .menu-choice.view-switch button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.14); }
.menu-sheet .ts-s { font-size: 12px !important; } .menu-sheet .ts-m { font-size: 15px !important; } .menu-sheet .ts-l { font-size: 18px !important; }
.menu-links { display: block; margin-top: 18px; }
.menu-links b { display: block; margin: 0 0 8px 2px; font: 700 11px/1 var(--sans); letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-faint); }
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.menu-editions .menu-grid { grid-template-columns: 1fr 1fr 1fr; }
.menu-grid a { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 4px 10px; border: 1px solid var(--rule-soft); border-radius: 12px; color: var(--ink); text-decoration: none; font-size: 13.5px; line-height: 1.2; }
.menu-grid a .ico { color: var(--ink-soft); }
.menu-editions .menu-grid a { flex-direction: column; justify-content: center; gap: 3px; min-height: 54px; padding: 4px; text-align: center; font-size: 12.5px; }
/* Hover lifts the tile (a firmer edge, a soft shadow, its icon in ink) rather than greying it; a press sinks it. */
.menu-grid a { transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; }
.menu-grid a:hover { border-color: var(--hover-rule, var(--ink-faint)); box-shadow: 0 2px 10px var(--shadow-soft, rgba(0, 0, 0, 0.06)); transform: translateY(-1px); }
.menu-grid a:hover .ico { color: var(--ink); }
.menu-grid a:active { transform: scale(0.98); box-shadow: none; }
@media (prefers-reduced-motion: reduce) { .menu-grid a, .menu-grid a:hover, .menu-grid a:active { transform: none; } }
.menu-grid a[aria-current="page"] { border-color: var(--ink); }
/* A phone: a little tighter, so the longest label ("Vendors & deadlines") stays on one line down to 360px. */
@media (max-width: 430px) { .menu-links:not(.menu-editions) .menu-grid a { gap: 6px; padding-inline: 7px; font-size: 12.5px; } }
.menu-newsletter { display: flex; align-items: center; gap: 10px; margin-top: 20px; padding: 12px 14px; border-radius: 12px; background: var(--ink); color: var(--paper); text-decoration: none; font: 600 14px/1.3 var(--sans); }
html[data-view="clean"] .menu-toggle { border-radius: 10px; background: var(--card); }
html[data-view="clean"] .menu-sheet { background: var(--bg); }
html[data-view="clean"] .menu-newsletter { background: var(--pill); color: var(--pill-ink); }
/* On a phone the bar keeps the paper's name and the menu; the rest moves into it. */
@media (max-width: 640px) {
  .menu-toggle, html[data-view="clean"] .menu-toggle { display: inline-flex; }
  .appbar > .appbar-actions > .view-switch, .appbar .appbar-link, html[data-view="clean"] .appbar > .appbar-actions > .text-size, html[data-view="clean"] .appbar > .appbar-actions > .theme-toggle { display: none !important; }
}
/* The logo (src/brand.ts): a drawing, not text. */
.appbar-brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; min-width: 0; --brand-knock: var(--paper); }
.appbar-wordmark { height: 21px; width: auto; flex: none; }
.appbar-actions { display: flex; align-items: center; gap: 4px; }
.appbar-link { font: 600 10.5px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); text-decoration: none; padding: 7px 8px; }
.appbar-link:hover, .appbar-link[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.view-switch { display: inline-flex; border: 1px solid var(--ink); margin-left: 6px; }
.view-switch button { font: 700 10px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; padding: 7px 10px; border: 0; background: var(--paper); color: var(--ink); cursor: pointer; }
.view-switch button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
@media (max-width: 640px) {
  /* The nameplate below says the name; the bar leaves it out. */
  .appbar-wordmark, .appbar-link { display: none; }
}

html[data-view="clean"] { --chevron: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%238a8883%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%2010l5%205%205-5%22%2F%3E%3C%2Fsvg%3E"); --check: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%222.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%2012.5l4%204%208-9%22%2F%3E%3C%2Fsvg%3E"); }
html[data-view="clean"][data-theme="dark"] { --check: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23191919%22%20stroke-width%3D%222.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%2012.5l4%204%208-9%22%2F%3E%3C%2Fsvg%3E"); }
html[data-view="clean"] select { appearance: none; -webkit-appearance: none; background: var(--card) var(--chevron) no-repeat right 10px center / 16px; border: 1px solid var(--rule); color: var(--ink); font: 500 14px/1.2 var(--sans); padding: 10px 34px 10px 12px; cursor: pointer; box-shadow: none; }
html[data-view="clean"] select:hover { border-color: var(--hover-rule); }
html[data-view="clean"] input[type="checkbox"] { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; margin: 0; flex: none; border: 1.5px solid var(--hover-rule); border-radius: 5px; background: var(--card) center / 14px no-repeat; cursor: pointer; vertical-align: -3px; transition: background-color .12s, border-color .12s; }
html[data-view="clean"] input[type="checkbox"]:hover { border-color: var(--ink-faint); }
html[data-view="clean"] input[type="checkbox"]:checked { background-color: var(--ink); border-color: var(--ink); background-image: var(--check); }
html[data-view="clean"] input[type="checkbox"]:focus-visible, html[data-view="clean"] select:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
html[data-view="clean"] summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
html[data-view="clean"] summary::-webkit-details-marker { display: none; }
html[data-view="clean"] details > summary::before { content: ""; width: 14px; height: 14px; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M10%207l5%205-5%205%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M10%207l5%205-5%205%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; transition: transform .15s; }
html[data-view="clean"] details[open] > summary::before { transform: rotate(90deg); }
html[data-view="clean"] .team > summary::before { display: none; }
html[data-view="clean"] .pick { display: inline-flex; align-items: center; gap: 6px; font: 600 13px/1 var(--sans); padding: 8px 12px 8px 10px; border-radius: 10px; background: var(--card); border: 1px solid var(--rule); }
html[data-view="clean"] .pick::before { content: "" !important; width: 14px; height: 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%206v12M6%2012h12%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%206v12M6%2012h12%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }
html[data-view="clean"] .pick[aria-pressed="true"] { background: var(--pill); color: var(--pill-ink); border-color: var(--pill); }
html[data-view="clean"] .pick[aria-pressed="true"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%2012.5l4%204%208-9%22%2F%3E%3C%2Fsvg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%2012.5l4%204%208-9%22%2F%3E%3C%2Fsvg%3E"); }
/* Sections to keep: chips, not a row of boxes. */
html[data-view="clean"] .sections-pick label { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--rule); border-radius: 999px; background: var(--card); font: 500 13.5px/1.2 var(--sans); color: var(--ink-soft); cursor: pointer; }
html[data-view="clean"] .sections-pick label:hover { border-color: var(--hover-rule); color: var(--ink); }
html[data-view="clean"] .sections-pick input[type="checkbox"] { position: absolute; opacity: 0; width: 1px; height: 1px; }
html[data-view="clean"] .sections-pick label:has(input:checked) { background: var(--pill); border-color: var(--pill); color: var(--pill-ink); padding-left: 9px; }
html[data-view="clean"] .sections-pick label:has(input:checked)::before { content: ""; width: 14px; height: 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%2012.5l4%204%208-9%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%2012.5l4%204%208-9%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }
html[data-view="clean"] .sections-pick label:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
/* Text fields: the same surface, edge and type as the buttons beside them. */
html[data-view="clean"] input[type="text"], html[data-view="clean"] input[type="search"], html[data-view="clean"] input[type="email"], html[data-view="clean"] input[type="url"], html[data-view="clean"] textarea { background: var(--card); border: 1px solid var(--rule); border-radius: 10px; color: var(--ink); font: 400 14.5px/1.4 var(--sans); padding: 10px 12px; box-shadow: none; outline: none; transition: border-color .12s, box-shadow .12s; }
html[data-view="clean"] input::placeholder, html[data-view="clean"] textarea::placeholder { color: var(--ink-faint); opacity: 1; }
html[data-view="clean"] input[type="text"]:hover, html[data-view="clean"] input[type="search"]:hover, html[data-view="clean"] input[type="email"]:hover, html[data-view="clean"] input[type="url"]:hover, html[data-view="clean"] textarea:hover { border-color: var(--hover-rule); }
html[data-view="clean"] input[type="text"]:focus, html[data-view="clean"] input[type="search"]:focus, html[data-view="clean"] input[type="email"]:focus, html[data-view="clean"] input[type="url"]:focus, html[data-view="clean"] textarea:focus { border-color: var(--ink-faint); box-shadow: 0 0 0 3px var(--chip); }
html[data-view="clean"] .search-form button[type="submit"] { font: 600 16px/1 var(--sans); min-height: 48px; padding: 0 22px; border-radius: 12px; }
html[data-view="clean"] .stack-form { border: 1px solid var(--rule); border-radius: 14px; background: var(--card); padding: 14px 16px; gap: 10px; }
/* The front, lighter: each section opens with its newest few; the rest wait behind "Show all". */
.show-all { display: none; }
html[data-view="clean"] .section.trim:not(.open) .day:nth-of-type(n+3),
html[data-view="clean"] .section.trim:not(.open) .day ol > li:nth-child(n+6),
html[data-view="clean"] .section.trim:not(.open) > ol > li:nth-child(n+6),
html[data-view="clean"] .section.trim:not(.open) tbody > tr:nth-child(n+6),
html[data-view="clean"] .section.trim:not(.open) > .section-more { display: none; }
html[data-view="clean"] .section.trim .brief-snippet { display: none; }
html[data-view="clean"] .section.trim > .show-all:not([hidden]) { display: inline-flex; align-items: center; gap: 6px; margin: 12px 0 0; padding: 8px 14px 8px 11px; border: 1px solid var(--rule); border-radius: 999px; background: var(--card); color: var(--ink-soft); font: 500 13.5px/1 var(--sans); cursor: pointer; }
html[data-view="clean"] .section.trim > .show-all:hover { color: var(--ink); border-color: var(--hover-rule); }
html[data-view="clean"] .section.trim > .show-all .ico { display: block; width: 15px; height: 15px; }
/* A heading that only repeats the page's title. */
html[data-view="clean"] .section-head.echo { display: none; }
/* Stories: one card each. */
html[data-view="clean"] .section > ol.story-list { gap: 12px; background: none; border: 0; border-radius: 0; padding: 0; box-shadow: none; }
html[data-view="clean"] .section > ol.story-list > li, html[data-view="clean"] .section > ol.story-list > li:last-child { border: 1px solid var(--rule); border-radius: 14px; background: var(--card); padding: 14px 16px; }
html[data-view="clean"] .section > ol.story-list > li:hover { border-color: var(--hover-rule); }

html[data-view="clean"] {
  --paper: #ffffff; --ink: #1d1d1f; --ink-soft: #55534e; --ink-faint: #8a8883;
  --rule: #e6e5e1; --rule-soft: #efeeeb; --mark: #d9480f; --shade: #f7f7f5; --accent: #2f6fde;
  --serif: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --body: var(--sans);
  /* Clean's own surfaces, one set per theme (dark below). */
  --bg: #fbfbfa; --card: #ffffff; --chip: #efeeea; --sidebar: #f4f4f1; --active: #e7e6e2; --segment: #f1f0ed;
  --hover-rule: #d9d8d3; --underline: #c9c8c3; --pill: #1d1d1f; --pill-ink: #ffffff; --pill-count: #a8a7a2; --pill-hover: #3a3a3c;
  --shadow: rgba(0, 0, 0, 0.08); --shadow-soft: rgba(0, 0, 0, 0.04); --breaking-bg: #fff8f4; --breaking-rule: #f3c4ae;
  --sticky: rgba(251, 251, 250, 0.9);
}
html[data-view="clean"] body { font: 15px/1.6 var(--sans); -webkit-font-smoothing: antialiased; background: var(--bg); }
html[data-view="clean"] * { text-transform: none !important; letter-spacing: normal !important; }
html[data-view="clean"] .wrap { max-width: 68rem; padding-inline: 24px; padding-block: 16px 80px; }

/* The app bar: the only header. The nameplate becomes the page's title. */
html[data-view="clean"] .appbar { position: sticky; top: 0; z-index: 5; margin: 0 -24px 8px; padding: 12px 24px; background: var(--bg); border-bottom: 1px solid var(--rule); }
html[data-view="clean"] .appbar-brand { gap: 10px; --brand-knock: var(--bg); }
html[data-view="clean"] .appbar-wordmark { display: block; height: 26px; }
html[data-view="clean"] .appbar-actions { gap: 6px; }
html[data-view="clean"] .appbar-link { font: 500 13.5px/1 var(--sans); color: var(--ink-soft); padding: 9px 12px; border-radius: 10px; text-decoration: none; }
html[data-view="clean"] .appbar-link:hover, html[data-view="clean"] .appbar-link[aria-current="page"] { background: var(--chip); color: var(--ink); text-decoration: none; }
html[data-view="clean"] .view-switch { border: 1px solid var(--rule); border-radius: 12px; padding: 3px; background: var(--segment); gap: 2px; margin-left: 8px; }
html[data-view="clean"] .view-switch button { font: 500 13px/1 var(--sans); padding: 8px 14px; border-radius: 9px; background: transparent; color: var(--ink-soft); }
html[data-view="clean"] .view-switch button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px var(--shadow); }
html[data-view="clean"] .nameplate { justify-items: start; padding: 20px 0 6px; gap: 6px; }
html[data-view="clean"] .nameplate .motto { display: none; }
html[data-view="clean"] .wordmark .logo { display: none; }
/* The paper's name is in the bar; the page's title is the edition. */
html[data-view="clean"] .wordmark h1, html[data-view="clean"] .nameplate-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
html[data-view="clean"] .edition-name, html[data-view="clean"] .nameplate:not(:has(.edition-name))::after { font: 700 28px/1.2 var(--sans); font-style: normal; color: var(--ink); }
html[data-view="clean"] .nameplate:not(:has(.edition-name))::after { content: "Today’s paper"; }
html[data-view="clean"] .editions { justify-content: flex-start; gap: 2px; padding: 4px 0 10px; }
html[data-view="clean"] .nav-row { gap: 2px; }
html[data-view="clean"] .editions a { font: 500 13.5px/1 var(--sans); color: var(--ink-soft); border: 0; padding: 8px 12px; border-radius: 8px; }
html[data-view="clean"] .editions a::before { content: none !important; }
html[data-view="clean"] .editions a:hover { background: var(--shade); color: var(--ink); text-decoration: none; }
html[data-view="clean"] .editions a[aria-current="page"] { background: var(--chip); color: var(--ink); text-decoration: none; font-weight: 600; }
html[data-view="clean"] .nav-tools { border-top: 0 !important; }
html[data-view="clean"] .dateline { justify-content: flex-start; gap: 4px 14px; font: 400 12.5px/1.5 var(--sans); color: var(--ink-faint); border: 0; border-bottom: 1px solid var(--rule); padding: 4px 0 14px; }
html[data-view="clean"] .dateline .star { display: none; }
html[data-view="clean"] .sections { justify-content: flex-start; gap: 4px; border: 0; padding: 12px 0; background: var(--sticky); backdrop-filter: blur(8px); }
html[data-view="clean"] .sections { gap: 8px; }
html[data-view="clean"] .sections a { font: 500 13px/1 var(--sans); border: 0; border-radius: 999px; padding: 9px 14px; background: var(--pill); color: var(--pill-ink) !important; text-decoration: none; }
html[data-view="clean"] .sections a span { color: var(--pill-count); margin-left: 2px; }
html[data-view="clean"] .sections a:hover { background: var(--pill-hover); text-decoration: none; }
html[data-view="clean"] .sections .inside { display: none; }
html[data-view="clean"] .time-offer { font: 400 13.5px/1.5 var(--sans); color: var(--ink-faint); text-align: left; margin: 14px 0 4px; }
html[data-view="clean"] .time-offer a { color: var(--ink); font-weight: 600; text-decoration: none; background: var(--chip); border-radius: 8px; padding: 3px 8px; }

/* Sections: a heading and a hint, no heavy rules. */
html[data-view="clean"] .section-head { border: 0 !important; margin-top: 40px; padding-top: 0; }
html[data-view="clean"] .section-head h2 { font: 650 20px/1.3 var(--sans); }
html[data-view="clean"] .section-head p { font: 400 14px/1.5 var(--sans); font-style: normal; color: var(--ink-faint); }
html[data-view="clean"] h2, html[data-view="clean"] h3, html[data-view="clean"] h4 { font-family: var(--sans); }

/* Pieces: a single readable column of cards. */
html[data-view="clean"] ol, html[data-view="clean"] .section:not(.front-news) ol { columns: 1 !important; }
html[data-view="clean"] .item, html[data-view="clean"] .brief { background: var(--paper); border: 1px solid var(--rule); border-radius: 16px; padding: 18px 20px; margin: 0 0 14px; transition: border-color 0.15s, box-shadow 0.15s; }
html[data-view="clean"] .item:hover, html[data-view="clean"] .brief:hover { border-color: var(--hover-rule); box-shadow: 0 2px 10px var(--shadow-soft); }
html[data-view="clean"] .title { font: 600 17px/1.35 var(--sans); }
html[data-view="clean"] .brief-title { font: 600 15.5px/1.4 var(--sans); }
html[data-view="clean"] .lead { border: 1px solid var(--rule); border-radius: 20px; padding: 26px 28px; background: var(--paper); }
html[data-view="clean"] .lead .title { font: 700 clamp(1.4rem, 3.4vw, 2rem)/1.2 var(--sans); }
html[data-view="clean"] .pic img { filter: none; }
html[data-view="clean"] .lead .pic { border-radius: 14px; margin-bottom: 10px; }
html[data-view="clean"] .item.has-pic > .pic, html[data-view="clean"] .brief.has-pic > .pic { border-radius: 10px; }
html[data-view="clean"] .reader-pic { border-radius: 14px; }
@media (max-width: 640px) {
  /* On a phone, a story's picture leads its card, across. */
  html[data-view="clean"] .item.has-pic { grid-template-columns: minmax(0, 1fr); }
  html[data-view="clean"] .item.has-pic > .pic { grid-column: 1; grid-row: auto; aspect-ratio: 16 / 9; margin: 0 0 6px; }
}
html[data-view="clean"] .snippet, html[data-view="clean"] .brief-snippet { font: 400 14.5px/1.55 var(--sans); color: var(--ink-soft); }
html[data-view="clean"] .meta { font: 400 12.5px/1.5 var(--sans); color: var(--ink-faint); gap: 2px 10px; }
html[data-view="clean"] .meta .source { font-weight: 600; color: var(--ink-soft); }
html[data-view="clean"] .day, html[data-view="clean"] h4 { font: 600 12.5px/1.4 var(--sans); color: var(--ink-faint); border: 0 !important; }

/* The rail: a soft panel. */
html[data-view="clean"] .whats-news { background: var(--paper); border: 1px solid var(--rule) !important; border-radius: 18px; padding: 20px 22px !important; }
html[data-view="clean"] .whats-news h2 { font: 650 17px/1.3 var(--sans); border: 0; padding: 0 0 6px; }
html[data-view="clean"] .whats-news h3 { font: 600 12px/1.4 var(--sans); color: var(--ink-faint); border-bottom: 0; margin-top: 16px; }
html[data-view="clean"] .whats-news li { border-bottom: 1px solid var(--rule); font-size: 14px; }
html[data-view="clean"] .whats-news li::before { width: 5px; height: 5px; border-radius: 50%; background: var(--ink-faint); }

/* Tables, controls, footers. */
html[data-view="clean"] .agate { font: 400 13px/1.45 var(--sans); }
html[data-view="clean"] .agate thead th { font: 500 12px/1.3 var(--sans); }
html[data-view="clean"] .agate tbody tr:nth-child(odd) { background: transparent; }
html[data-view="clean"] .agate tbody tr { border-bottom: 1px solid var(--rule-soft); }
html[data-view="clean"] .table-wrap { border: 1px solid var(--rule); border-radius: 16px; padding: 8px 16px; background: var(--paper); }
html[data-view="clean"] button, html[data-view="clean"] select, html[data-view="clean"] input, html[data-view="clean"] textarea { border-radius: 10px; font-family: var(--sans); }
html[data-view="clean"] footer { border-top: 1px solid var(--rule) !important; font: 400 13px/1.6 var(--sans); color: var(--ink-faint); }
html[data-view="clean"] a { text-underline-offset: 3px; }
/* Links in the ink, underlined: no browser blue anywhere. */
html[data-view="clean"] a:not([class]) { color: var(--ink); text-decoration-color: var(--underline); }
html[data-view="clean"] a:not([class]):hover { text-decoration-color: var(--ink); }
html[data-view="clean"] .breaking { border: 1px solid var(--breaking-rule); border-left: 4px solid var(--mark); border-radius: 12px; background: var(--breaking-bg); }
html[data-view="clean"] .breaking .flag { border-radius: 6px; font: 600 11.5px/1 var(--sans); }
html[data-view="clean"] .story-head, html[data-view="clean"] .model-head { border-top: 0; }
html[data-view="clean"] .story-head h1, html[data-view="clean"] .model-head h1 { font: 700 clamp(1.6rem, 4vw, 2.2rem)/1.2 var(--sans); }
html[data-view="clean"] .story-status, html[data-view="clean"] .kind-label, html[data-view="clean"] .chapter .kind { border-radius: 6px; }
html[data-view="clean"] .timeline { border-left: 2px solid var(--rule); }
html[data-view="clean"] .first-visit { border-radius: 12px; }
html[data-view="clean"] .reader { border-radius: 16px; }
html[data-view="clean"] .reader.full { border-radius: 0; }
html[data-view="clean"] .reader-body .code-block { border-radius: 12px; overflow: hidden; }
html[data-view="clean"] .quiet-note { border-left: 0; border-radius: 12px; }
html[data-view="clean"] .reader-body { font: 400 16.5px/1.7 var(--sans); }
/* The narrowest phones: a smaller name, never a clipped one. */
@media (max-width: 340px) {
  html[data-view="clean"] .appbar-brand .appbar-wordmark { height: 18px; }
}
@media (max-width: 420px) {
  html[data-view="clean"] .appbar-brand .appbar-wordmark { height: 21px; }
  html[data-view="clean"] .view-switch button { padding: 6px 7px; font-size: 11.5px; }
  html[data-view="clean"] .theme-toggle, html[data-view="clean"] .text-size { width: 32px; height: 32px; margin-left: 4px; font-size: 14px; }
  html[data-view="clean"] .appbar-actions { gap: 4px; }
}
/* A computer: the editions and tools become a sidebar, as in the apps. */
@media (min-width: 1024px) {
  html[data-view="clean"] .wrap { max-width: none; margin: 0; padding-left: calc(248px + 40px); padding-right: 40px; }
  html[data-view="clean"] .wrap > * { max-width: 60rem; }
  html[data-view="clean"] .wrap > .appbar { max-width: none; margin: 0 -40px 8px -40px; padding: 12px 40px; justify-content: flex-end; }
  html[data-view="clean"] .appbar-brand { position: fixed; top: 20px; left: 22px; z-index: 7; --brand-knock: var(--sidebar); }
  html[data-view="clean"] .editions { position: fixed; top: 0; bottom: 0; left: 0; width: 248px; box-sizing: border-box; z-index: 4; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 18px; padding: 72px 14px 24px; margin: 0; background: var(--sidebar); border-right: 1px solid var(--rule); overflow-y: auto; }
  html[data-view="clean"] .nav-row { display: flex; flex-direction: column; gap: 2px; }
  html[data-view="clean"] .nav-row::before { font: 600 11.5px/1 var(--sans); color: var(--ink-faint); padding: 0 12px 8px; }
  html[data-view="clean"] .nav-editions::before { content: "Editions"; }
  html[data-view="clean"] .nav-tools::before { content: "Read"; }
  html[data-view="clean"] .editions a { width: 100%; box-sizing: border-box; padding: 9px 12px; font-size: 14px; border-radius: 10px; }
  html[data-view="clean"] .editions a[aria-current="page"] { background: var(--active); }
  html[data-view="clean"] .front { grid-template-columns: minmax(0, 1fr) 17rem; }
  html[data-view="clean"] .whats-news { order: 2; position: sticky; top: 80px; }
}
@media (max-width: 640px) {
  html[data-view="clean"] .wrap { padding-inline: 16px; }
  html[data-view="clean"] .appbar { margin: 0 -16px 8px; padding: 10px 16px; }
  html[data-view="clean"] .view-switch { margin-left: 4px; padding: 2px; border-radius: 10px; }
  html[data-view="clean"] .view-switch button { padding: 7px 8px; font-size: 12px; border-radius: 8px; }
  html[data-view="clean"] .appbar-brand { gap: 8px; }
  html[data-view="clean"] .appbar-wordmark { height: 22px; }
  html[data-view="clean"] .edition-name, html[data-view="clean"] .nameplate:not(:has(.edition-name))::after { font-size: 24px; }
  html[data-view="clean"] .editions a { padding: 7px 9px; font-size: 13px; }
  html[data-view="clean"] .nav-row { justify-content: flex-start; }
  html[data-view="clean"] .dateline span:last-child { flex-basis: auto; text-align: left; color: var(--ink-faint); }
  /* The news first; What's News after it, not a long preamble. */
  html[data-view="clean"] .whats-news { order: 2; margin-top: 16px; }
  html[data-view="clean"] .item, html[data-view="clean"] .brief { padding: 12px 14px; }
}

/*
 * Hierarchy: one strong thing per level. The page's title; one row of
 * tabs; the sections as the one row of pills; then the pieces as a quiet
 * list in a single surface, where the headline is the loudest line and
 * everything around it steps back. What the Newspaper says in its
 * dateline and flags, Clean leaves out.
 */
html[data-view="clean"] .dateline { display: none; }
html[data-view="clean"] .wrap { padding-top: 0; }
html[data-view="clean"] .time-offer { font-size: 13px; margin: 6px 0 0; }
html[data-view="clean"] .time-offer a { background: none; padding: 0 2px; font-weight: 600; border-radius: 0; }
html[data-view="clean"] .sections { padding: 10px 0; margin: 4px 0 0; top: 57px; z-index: 3; border-bottom: 0; }
html[data-view="clean"] .sections { flex-wrap: wrap; row-gap: 8px; -webkit-mask-image: none; mask-image: none; }
@media (max-width: 640px) { html[data-view="clean"] .sections { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } }
html[data-view="clean"] .sections.more { -webkit-mask-image: linear-gradient(to right, #000 92%, transparent); mask-image: linear-gradient(to right, #000 92%, transparent); }
html[data-view="clean"] .sections::-webkit-scrollbar { display: none; }
html[data-view="clean"] .sections a { flex: none; font: 500 13px/1 var(--sans); padding: 8px 12px; }
html[data-view="clean"] .section-head { margin-top: 32px; margin-bottom: 10px; }
html[data-view="clean"] .section-head h2 { font: 700 22px/1.25 var(--sans); letter-spacing: -0.01em !important; }
html[data-view="clean"] .section-head p { margin: 2px 0 0; }
html[data-view="clean"] .filters { display: flex; flex-wrap: nowrap; gap: 4px; overflow-x: auto; scrollbar-width: none; margin: 12px 0 0; padding: 0; border: 0; }
html[data-view="clean"] .filters::-webkit-scrollbar { display: none; }
html[data-view="clean"] .filters button { flex: none; font: 500 13px/1 var(--sans); padding: 7px 11px; border: 0 !important; border-radius: 8px; background: transparent; color: var(--ink-faint); text-decoration: none !important; box-shadow: none !important; }
html[data-view="clean"] .sections a .ico, html[data-view="clean"] .filters button .ico { width: 15px; height: 15px; margin-right: 6px; vertical-align: -3px; }
html[data-view="clean"] .section-head h2 .ico { width: 22px; height: 22px; margin-right: 8px; vertical-align: -3px; }
html[data-view="clean"] .flag.launch .ico { width: 13px; height: 13px; margin-right: 4px; vertical-align: -2px; }
html[data-view="clean"] .filters button[aria-pressed="true"] { background: var(--chip); color: var(--ink); font-weight: 600; }
/* The pieces: rows in one surface, not a card each. */
html[data-view="clean"] .day { margin: 0 0 16px; }
html[data-view="clean"] .day h4 { margin: 18px 0 8px; }
html[data-view="clean"] .day ol, html[data-view="clean"] .section > ol { background: var(--card); border: 1px solid var(--rule); border-radius: 16px; padding: 0 18px; margin: 0; }
/* Watch: the videos keep a margin from the card's edge on every side. */
html[data-view="clean"] .section > ol.videos { padding: 20px; }
html[data-view="clean"] .day .item, html[data-view="clean"] .day .brief, html[data-view="clean"] .section > ol > .item, html[data-view="clean"] .section > ol > .brief { background: none; border: 0; border-bottom: 1px solid var(--rule-soft); border-radius: 0; padding: 14px 0; margin: 0; box-shadow: none; }
html[data-view="clean"] .day li:last-child, html[data-view="clean"] .section > ol > li:last-child { border-bottom: 0; }
html[data-view="clean"] .day .item:hover, html[data-view="clean"] .day .brief:hover, html[data-view="clean"] .section > ol > li:hover { box-shadow: none; }
html[data-view="clean"] .meta { font-size: 12px; gap: 2px 8px; align-items: center; }
html[data-view="clean"] .meta .host, html[data-view="clean"] .flags .flag:not(.launch) { display: none; }
html[data-view="clean"] .meta .acts { margin-left: auto; }
html[data-view="clean"] .flags { margin-top: 6px; }
html[data-view="clean"] .flag.launch { font: 600 11px/1 var(--sans); border-radius: 6px; padding: 4px 7px; }
html[data-view="clean"] .title, html[data-view="clean"] .brief-title { display: block; margin-top: 4px; text-wrap: pretty; }
/* One weight for every headline; what the Newspaper plays down, Clean just leaves without a summary. */
html[data-view="clean"] .item.quiet .title { font-weight: 600; }
html[data-view="clean"] .front { margin-top: 0; padding-top: 0; }
html[data-view="clean"] .front > :first-child .section-head, html[data-view="clean"] .front-news .section-head { margin-top: 18px; }
html[data-view="clean"] .snippet, html[data-view="clean"] .brief-snippet { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin-top: 4px; }
html[data-view="clean"] .lead { margin-bottom: 8px; }
html[data-view="clean"] .lead .snippet { -webkit-line-clamp: 3; }
html[data-view="clean"] .section-more { margin: 12px 0 0; font-size: 14px; }
@media (max-width: 640px) {
  /* One row of tabs: the editions, then the paper's other pages, scrolling sideways. */
  html[data-view="clean"] .editions { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 2px; padding: 2px 0 6px; margin: 0 -16px; padding-inline: 16px; -webkit-mask-image: none; mask-image: none; }
  html[data-view="clean"] .editions.more { -webkit-mask-image: linear-gradient(to right, #000 90%, transparent); mask-image: linear-gradient(to right, #000 90%, transparent); }
  html[data-view="clean"] .editions::-webkit-scrollbar { display: none; }
  html[data-view="clean"] .nav-row { display: contents; }
  html[data-view="clean"] .nav-tools::before { content: ""; flex: none; align-self: center; width: 1px; height: 18px; margin: 0 6px; background: var(--rule); }
  html[data-view="clean"] .editions a { flex: none; font-size: 14px; padding: 8px 11px; }
  html[data-view="clean"] .nameplate { padding: 14px 0 4px; }
  html[data-view="clean"] .time-offer { display: none; }
  html[data-view="clean"] .sections { top: 53px; margin-inline: -16px; padding-inline: 16px; }
  html[data-view="clean"] .section-head { margin-top: 24px; }
  html[data-view="clean"] .section-head p { display: none; }
  html[data-view="clean"] .filters { margin-inline: -16px; padding-inline: 16px; }
  html[data-view="clean"] .day ol, html[data-view="clean"] .section > ol { padding: 0 14px; border-radius: 14px; }
  html[data-view="clean"] .section > ol.videos { padding: 14px; }
  html[data-view="clean"] .lead { padding: 18px; border-radius: 16px; }
  html[data-view="clean"] .lead .title { font-size: 21px; line-height: 1.25; }
  html[data-view="clean"] .title, html[data-view="clean"] .brief-title { font-size: 16px; line-height: 1.35; }
  html[data-view="clean"] .theme-toggle, html[data-view="clean"] .text-size { width: 34px; height: 34px; }
}

/* Clean, dark: when this browser asks for it, or the reader chose it. */
html[data-view="clean"][data-theme="dark"] {
  color-scheme: dark;
  --paper: #1f1f1f; --ink: #ececea; --ink-soft: #b9b8b3; --ink-faint: #8c8b86;
  --rule: #2e2e2c; --rule-soft: #282826; --mark: #ff7a45; --shade: #242423;
  --bg: #191919; --card: #1f1f1f; --chip: #2a2a28; --sidebar: #1c1c1b; --active: #2c2c2a; --segment: #232322;
  --hover-rule: #3a3a38; --underline: #555450; --pill: #ececea; --pill-ink: #191919; --pill-count: #6d6c68; --pill-hover: #d4d4d1;
  --shadow: rgba(0, 0, 0, 0.5); --shadow-soft: rgba(0, 0, 0, 0.35); --breaking-bg: #2a1c16; --breaking-rule: #6b3a24;
  --sticky: rgba(25, 25, 25, 0.9);
}
html[data-view="clean"][data-theme="dark"] .logo { filter: invert(1); }
.theme-toggle, .text-size { display: none; }
/* The reveal: the new page opens over the old one, with no cross-fade. */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { z-index: 2; }
/* Digital with its sidebar: My Edition lives there; the app bar keeps a search box. */
@media (min-width: 1024px) {
  html[data-view="clean"] .appbar-link[href="/custom/"] { display: none; }
  html[data-view="clean"] .appbar-link[data-palette] { min-width: 15rem; justify-content: flex-start; border: 1px solid var(--rule); background: var(--card); color: var(--ink-faint); border-radius: 10px; padding: 8px 10px 8px 12px; }
  html[data-view="clean"] .appbar-link[data-palette]:hover, html[data-view="clean"] .appbar-link[data-palette][aria-current="page"] { background: var(--card); border-color: var(--hover-rule); color: var(--ink-soft); }
  html[data-view="clean"] .appbar-link[data-palette]::after { margin-left: auto !important; }
}
/* Search's shortcut, shown beside it in Clean on a wide screen; drawn by CSS, so it isn't part of the link's name. */
@media (min-width: 900px) { html[data-view="clean"] .appbar-link[data-palette]::after { content: "⌘K"; font: 500 11px/1 var(--sans); color: var(--ink-faint); border: 1px solid var(--rule); border-radius: 5px; padding: 2px 5px; margin-left: 2px; } }
/* Larger text scales the page below the app bar, as the browser's zoom would. */
html[data-view="clean"][data-text="l"] .wrap > :not(.appbar):not(.tabbar) { zoom: 1.12; }
html[data-view="clean"][data-text="xl"] .wrap > :not(.appbar):not(.tabbar) { zoom: 1.25; }
.tabbar { display: none; }
/* Icons are Clean's: the Newspaper speaks in words. */
.ico { display: none; }
html[data-view="clean"] .ico { display: inline-block; flex: none; width: 18px; height: 18px; vertical-align: -4px; }
html[data-view="clean"] .theme-toggle, html[data-view="clean"] .text-size { display: inline-flex; align-items: center; justify-content: center; padding: 0; flex: none; }
html[data-view="clean"] .theme-toggle .ico, html[data-view="clean"] .text-size .ico { width: 16px; height: 16px; }
html[data-view="clean"] .appbar-link { display: inline-flex; align-items: center; gap: 7px; }
/* Clip and note meet 4.5:1 on the card. */
html[data-view="clean"] .meta .clip, html[data-view="clean"] .meta .note { color: var(--ink-soft); }
html[data-view="clean"] .share, html[data-view="clean"] .clip-tools button, html[data-view="clean"] .team summary, html[data-view="clean"] .digest label, html[data-view="clean"] .stack-form label { display: inline-flex; align-items: center; gap: 7px; }
html[data-view="clean"] .share .ico, html[data-view="clean"] .clip-tools .ico { width: 16px; height: 16px; }
/* Clean hides what the page says hidden, whatever display a control has. */
html[data-view="clean"] [hidden] { display: none !important; }
html[data-view="clean"] a.share::before { content: none; }
html[data-view="clean"] .package .blurb { display: none; }
/* In Clean a section says what it is by its title; the notes under it are the Newspaper's. */
html[data-view="clean"] .section-head > p { display: none; }
html[data-view="clean"] .editions a { display: inline-flex; align-items: center; gap: 10px; }
html[data-view="clean"] .editions a .ico { color: var(--ink-faint); }
html[data-view="clean"] .editions a[aria-current="page"] .ico, html[data-view="clean"] .editions a:hover .ico { color: var(--ink); }
@media (max-width: 640px) {
  /* A phone's tab row is words only: icons there would crowd it. */
  html[data-view="clean"] .editions .ico { display: none; }
  /* The tab bar at the bottom: four places, icon over label. */
  html[data-view="clean"] .tabbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 8; background: var(--bg); border-top: 1px solid var(--rule); padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px)); }
  html[data-view="clean"] .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 4px 0; font: 500 11px/1.2 var(--sans); color: var(--ink-faint); text-decoration: none; }
  html[data-view="clean"] .tabbar a .ico { display: block; width: 22px; height: 22px; }
  html[data-view="clean"] .tabbar a[aria-current="page"] { color: var(--ink); font-weight: 600; }
  html[data-view="clean"] body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  /* On a phone Search and My Edition are in the tab row, not the bar. */
  html[data-view="clean"] .appbar-link { display: none; }
}
html[data-view="clean"] .theme-toggle, html[data-view="clean"] .text-size { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--rule); background: var(--card); color: var(--ink-soft); cursor: pointer; font-size: 16px; margin-left: 6px; }
html[data-view="clean"] .theme-toggle:hover, html[data-view="clean"] .text-size:hover { color: var(--ink); border-color: var(--hover-rule); }

.palette { position: fixed; inset: 0; z-index: 50; background: rgba(15, 15, 15, 0.32); display: flex; justify-content: center; align-items: flex-start; padding: 12vh 16px 16px; }
.palette[hidden] { display: none; }
html.palette-open { overflow: hidden; }
.palette-box { width: 100%; max-width: 38rem; max-height: 70vh; display: flex; flex-direction: column; background: var(--card, var(--paper)); color: var(--ink); border: 1px solid var(--rule); border-radius: 14px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22); overflow: hidden; font-family: var(--sans); }
.palette-field { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--rule); }
.palette-field .ico { display: block; width: 18px; height: 18px; color: var(--ink-faint); flex: none; }
.palette-field input { flex: 1; min-width: 0; border: 0 !important; outline: 0; background: none !important; box-shadow: none !important; padding: 0 !important; font: 400 16px/1.4 var(--sans) !important; color: var(--ink); }
.palette-field input::placeholder { color: var(--ink-faint); }
.palette kbd { font: 500 11px/1 var(--sans); color: var(--ink-faint); border: 1px solid var(--rule); border-radius: 5px; padding: 3px 5px; }
.palette-list { list-style: none; margin: 0; padding: 6px; overflow-y: auto; }
.palette-group { font: 600 11px/1 var(--sans); color: var(--ink-faint); padding: 10px 10px 6px; letter-spacing: 0.02em; }
.palette-sk { padding: 12px 10px; }
.palette-row a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; color: var(--ink); text-decoration: none; font: 500 14px/1.35 var(--sans); }
.palette-row .ico { display: block; width: 16px; height: 16px; color: var(--ink-soft); flex: none; }
.palette-row[aria-selected="true"] a { background: var(--chip, var(--shade)); }
.palette-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.palette-detail { flex: none; max-width: 40%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-faint); font-size: 12.5px; }
@media (max-width: 640px) {
  .palette { padding: 8px; }
  .palette-box { max-height: calc(100vh - 16px); }
  .piece .palette-detail { display: none; }
}

.kb-current { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 4px; scroll-margin: 96px; }
html[data-view="clean"] .kb-current { outline-offset: -2px; border-radius: 12px; }
.keys-help { position: fixed; inset: 0; z-index: 50; background: rgba(15, 15, 15, 0.32); display: flex; align-items: center; justify-content: center; padding: 16px; }
.keys-help[hidden] { display: none; }
.keys-box { width: 100%; max-width: 24rem; background: var(--card, var(--paper)); color: var(--ink); border: 1px solid var(--rule); border-radius: 14px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22); padding: 18px 20px 12px; font-family: var(--sans); }
.keys-title { margin: 0 0 10px; font: 700 16px/1.3 var(--sans); }
.keys-box ul { list-style: none; margin: 0; padding: 0; }
.keys-box li { display: flex; align-items: center; gap: 12px; padding: 7px 0; border-top: 1px solid var(--rule); font: 400 14px/1.3 var(--sans); }
.keys-box li:first-child { border-top: 0; }
.keys-box li > span { flex: none; width: 6.5rem; display: flex; gap: 4px; }
.keys-box kbd { font: 600 12px/1 var(--sans); min-width: 1.4em; text-align: center; padding: 4px 6px; border: 1px solid var(--rule); border-bottom-width: 2px; border-radius: 6px; background: var(--shade, var(--paper)); }

/* The shimmer is a band sliding across (a transform, drawn off the main thread). */
@keyframes gz-shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@keyframes gz-spin { to { transform: rotate(360deg); } }
.sk { display: block; position: relative; overflow: hidden; border-radius: 4px; background: var(--rule-soft); }
.sk::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, var(--shade, #f4f4f2), transparent); transform: translateX(-100%); animation: gz-shimmer 1.4s cubic-bezier(0.4, 0, 0.2, 1) infinite; will-change: transform; }
.sk-list { list-style: none; margin: 8px 0 0; padding: 0; columns: 1 !important; }
.sk-list li { display: grid; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--rule-soft); }
.sk-meta { width: 30%; height: 10px; }
.sk-title { width: 85%; height: 16px; }
.sk-line { width: 60%; height: 12px; }
.sk-list li:nth-child(2n) .sk-title { width: 70%; }
.sk-list li:nth-child(3n) .sk-line { width: 45%; }
html[data-view="clean"] .sk { border-radius: 6px; background: var(--chip); }
html[data-view="clean"] .sk::after { background: linear-gradient(90deg, transparent, var(--active), transparent); }
html[data-view="clean"] .sk-list { background: var(--card); border: 1px solid var(--rule); border-radius: 16px; padding: 0 18px; }
html[data-view="clean"] .sk-list li:last-child { border-bottom: 0; }
/* Busy: a spinner before the label, drawn in the text's color. */
[aria-busy="true"]:is(button, .busy-status)::before,
.spinner { content: ""; display: inline-block; flex: none; width: 1em; height: 1em; margin-right: 0.45em; vertical-align: -0.15em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222.4%22%20stroke-linecap%3D%22round%22%3E%3Cpath%20d%3D%22M12%203a9%209%200%201%201-9%209%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222.4%22%20stroke-linecap%3D%22round%22%3E%3Cpath%20d%3D%22M12%203a9%209%200%201%201-9%209%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; animation: gz-spin 0.8s linear infinite; }
button[aria-busy="true"] { cursor: progress; opacity: 0.85; }
/* Work that can be counted: a bar that fills (--p from 0 to 1). */
.progress { height: 3px; margin: 8px 0 0; background: var(--rule-soft); border-radius: 2px; overflow: hidden; }
.progress > span { display: block; height: 100%; width: 100%; background: var(--ink); transform: scaleX(var(--p, 0)); transform-origin: left; transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1); }
.progress[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) {
  .sk::after { animation: none; display: none; }
  [aria-busy="true"]:is(button, .busy-status)::before, .spinner { animation-duration: 2.4s; }
  .progress > span { transition: none; }
}

:root { --ease-out: cubic-bezier(0.22, 1, 0.36, 1); --dur-1: 120ms; --dur-2: 200ms; --dur-3: 300ms; }
@keyframes gz-fade { from { opacity: 0; } }
@keyframes gz-rise { from { opacity: 0; transform: translateY(8px) scale(0.985); } }
@keyframes gz-sheet { from { opacity: 0; transform: translateY(24px); } }
/* Overlays: the veil fades, the box rises into place. */
.palette:not([hidden]), .keys-help:not([hidden]) { animation: gz-fade var(--dur-2) var(--ease-out); }
.palette:not([hidden]) .palette-box, .keys-help:not([hidden]) .keys-box { animation: gz-rise var(--dur-3) var(--ease-out); }
dialog.reader[open] { animation: gz-sheet var(--dur-3) var(--ease-out); }
dialog.reader[open]::backdrop { animation: gz-fade var(--dur-2) var(--ease-out); }
/* What "Show all" brings out fades in; what was already there stays put. */
.section.trim.open :is(li, tr, .day) { animation: gz-fade var(--dur-3) var(--ease-out); }
/* Controls answer the finger: a press gives, a hover eases. */
html[data-view="clean"] :is(button, .appbar-link, .pick) { transition: transform var(--dur-1) var(--ease-out), background-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out); }
html[data-view="clean"] :is(button, .appbar-link, .pick):active:not(:disabled) { transform: scale(0.97); }
html[data-view="clean"] details > summary::before { transition: transform var(--dur-2) var(--ease-out); }
/* During the reveal nothing else moves: the new page is drawn once, whole. */
html.revealing *, html.revealing *::before, html.revealing *::after { transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  .palette:not([hidden]), .keys-help:not([hidden]), .palette:not([hidden]) .palette-box, .keys-help:not([hidden]) .keys-box,
  dialog.reader[open], dialog.reader[open]::backdrop, .section.trim.open :is(li, tr, .day) { animation: none; }
  html[data-view="clean"] :is(button, .appbar-link, .pick):active:not(:disabled) { transform: none; }
}

.talk { margin: 28px 0 8px; padding-top: 14px; border-top: 2px solid var(--ink); font-family: var(--sans); }
.talk h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font: 700 13px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; }
.talk h3 .ico { width: 16px; height: 16px; }
.talk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.talk-item { display: grid; gap: 3px; padding-bottom: 10px; border-bottom: 1px solid var(--rule-soft); }
.talk-reply { margin-left: 22px; padding-left: 12px; border-left: 2px solid var(--rule); }
.talk-who { font: 600 13px/1.3 var(--sans); }
.talk-who time { font-weight: 400; color: var(--ink-faint); margin-left: 6px; }
.talk-text { font: 15px/1.5 var(--sans); white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; }
.talk-tools { display: flex; gap: 10px; }
.talk-tools button { border: 0; background: none; padding: 0; color: var(--ink-faint); font: 12px/1 var(--sans); cursor: pointer; text-decoration: underline; }
.talk-empty { color: var(--ink-faint); font-size: 14px; margin: 0 0 10px; }
.talk-form { display: grid; gap: 8px; margin-top: 12px; }
.talk-form input:not([type="checkbox"]), .talk-form textarea { font: 15px/1.4 var(--sans); padding: 9px 11px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); width: 100%; box-sizing: border-box; }
.talk-form textarea { min-height: 76px; resize: vertical; }
.talk-row { display: flex; gap: 8px; align-items: center; }
.talk-row input { flex: 1; min-width: 0; }
.talk-row button { font: 600 13px/1 var(--sans); padding: 10px 14px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); cursor: pointer; flex: none; }
.talk-status { font-size: 13px; color: var(--ink-soft); margin: 0; min-height: 1em; }
.talk-agree { display: flex; gap: 8px; align-items: flex-start; font: 13px/1.45 var(--sans); color: var(--ink-soft); }
.talk-agree[hidden] { display: none; }
.talk-agree input { margin-top: 2px; flex: none; width: auto; }
.talk-agree a { color: inherit; }
.talk-report { display: inline-flex; gap: 6px; align-items: center; }
.talk-report select { font: 12.5px/1 var(--sans); padding: 4px 6px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); }
.talk-report button { text-decoration: none; font-weight: 600; color: var(--ink); }
.talk-reported { font-size: 12px; color: var(--ink-faint); }
.talk-editor .talk-row button:last-child { background: none; color: var(--ink); border-color: var(--rule); }
.talk-count { display: inline-flex; align-items: center; gap: 3px; color: var(--ink-soft); font-weight: 600; text-decoration: none; }
.talk-count .ico { width: 13px; height: 13px; }
html[data-view="clean"] .talk { border-top: 1px solid var(--rule); }
html[data-view="clean"] .talk-form input:not([type="checkbox"]), html[data-view="clean"] .talk-form textarea { border-radius: 10px; background: var(--card); }
html[data-view="clean"] .talk-row button { border-radius: 10px; background: var(--pill); border-color: var(--pill); color: var(--pill-ink); }

.since-line { margin: 10px 0 0; font: 13.5px/1.4 var(--sans); display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.since-line[hidden] { display: none; }
.since-line b { font-weight: 700; }
.since-line .dot, .is-new > .meta::before { width: 7px; height: 7px; border-radius: 50%; background: var(--mark); display: inline-block; flex: none; }
.is-new > .meta::before { content: ""; margin-right: 6px; align-self: center; }
.since-line a { color: var(--ink); font-weight: 600; }
.caught-up { margin: 30px 0 8px; padding: 22px 18px; border: 1px solid var(--ink); text-align: center; font-family: var(--sans); }
.caught-up[hidden] { display: none; }
.caught-first .streak, .caught-first #streak-line, .caught-first .next { display: none; }
.caught-up .check .ico { width: 30px; height: 30px; }
.caught-up h2 { font: 700 1.5rem/1.2 var(--display); margin: 6px 0 4px; }
.caught-up p { margin: 4px 0; color: var(--ink-soft); font-size: 14.5px; }
.streak { display: flex; justify-content: center; gap: 6px; margin: 12px 0 4px; list-style: none; padding: 0; }
.streak li { width: 26px; display: grid; gap: 4px; justify-items: center; font: 600 10.5px/1 var(--sans); color: var(--ink-faint); }
.streak li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--rule); }
.streak li.on::before { background: var(--ink); border-color: var(--ink); }
.caught-up .next { display: inline-flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; justify-content: center; }
.caught-up .next a, .caught-up .next button { font: 600 13px/1 var(--sans); padding: 9px 13px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); cursor: pointer; text-decoration: none; }
.caught-up .next a { background: var(--paper); color: var(--ink); border-color: var(--rule); }
html[data-view="clean"] .caught-up { border-radius: 18px; border-color: var(--rule); background: var(--card); }
html[data-view="clean"] .caught-up h2 { font-family: var(--sans); }
html[data-view="clean"] .caught-up .next a, html[data-view="clean"] .caught-up .next button { border-radius: 10px; }
html[data-view="clean"] .caught-up .next button { background: var(--pill); color: var(--pill-ink); border-color: var(--pill); }
.ask { margin: 22px auto 0; max-width: 30rem; border-top: 1px solid var(--rule); padding-top: 16px; display: grid; gap: 8px; }
.ask[hidden], .ask [hidden] { display: none; }
.ask-q { font-weight: 600; color: var(--ink) !important; }
.ask-scale { display: grid; grid-template-columns: repeat(11, 1fr); gap: 3px; }
.ask-scale button { font: 600 13px/1 var(--sans); padding: 9px 0; min-width: 0; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); cursor: pointer; }
.ask-scale button[aria-checked="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.ask-ends { display: flex; justify-content: space-between; font-size: 12px !important; color: var(--ink-faint) !important; margin: 0 !important; }
.ask-more { display: grid; gap: 6px; text-align: left; font-size: 13.5px; }
.ask-more textarea { font: 14px/1.4 var(--sans); padding: 8px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); width: 100%; box-sizing: border-box; }
.ask-more button[type="submit"] { justify-self: start; font: 600 13px/1 var(--sans); padding: 9px 13px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); cursor: pointer; }
.ask-no { justify-self: center; border: 0; background: none; color: var(--ink-faint); font: 12.5px var(--sans); cursor: pointer; text-decoration: underline; }
html[data-view="clean"] .ask-scale button, html[data-view="clean"] .ask-more textarea, html[data-view="clean"] .ask-more button[type="submit"] { border-radius: 8px; }
html[data-view="clean"] .ask-scale button[aria-checked="true"], html[data-view="clean"] .ask-more button[type="submit"] { background: var(--pill); color: var(--pill-ink); border-color: var(--pill); }
html[data-view="clean"] .streak li.on::before { background: var(--pill); border-color: var(--pill); }

.nl-box { font-family: var(--sans); border: 1px solid var(--ink); padding: 14px; margin: 14px 0; display: grid; gap: 8px; }
.nl-box[hidden] { display: none; }
.nl-box-title { margin: 0; font: 700 15px/1.3 var(--sans); }
.nl-box-row { display: flex; gap: 6px; }
.nl-box input { flex: 1; min-width: 0; width: 100%; font: 16px var(--sans); padding: 9px 10px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); }
.nl-box button { font: 600 14px/1 var(--sans); padding: 9px 13px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); cursor: pointer; white-space: nowrap; }
.nl-box button:disabled { opacity: .6; cursor: default; }
.nl-box-note { margin: 0; font-size: 12.5px; color: var(--ink-soft); }
.nl-box-note a { color: inherit; }
.nl-box.nl-box-done .nl-box-row, .nl-box.nl-box-done .nl-box-note a { display: none; }
.nl-box.nl-box-done .nl-box-title::before { content: ""; display: inline-block; width: 1.3em; height: 1.3em; margin-right: 0.3em; vertical-align: -0.18em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cpath%20d%3D%22M8%2012.5l2.8%202.8L16.5%209.5%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cpath%20d%3D%22M8%2012.5l2.8%202.8L16.5%209.5%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }
.nl-box.nl-box-done .nl-box-said { color: var(--ink); font-size: 14px; }
.nl-end { text-align: left; margin: 16px auto 4px; max-width: 30rem; }
html[data-view="clean"] .nl-box { border-radius: 14px; border-color: var(--rule); background: var(--card); }
html[data-view="clean"] .nl-box input, html[data-view="clean"] .nl-box button { border-radius: 10px; }
html[data-view="clean"] .nl-box button { background: var(--pill); color: var(--pill-ink); border-color: var(--pill); }
