/* news-system.php (2026-09-27). The newsroom page wears its own paper: newsprint cream, deep ink
   and one editorial red that means only "breaking" or "live". Every page token is an --nw-* name
   declared on <main class="nw">, so nothing reaches the header, the footer or any other page, and
   the site's role tokens are never redeclared. Copper stays on the two call-to-action buttons.

   One shape per section: a front page, a stage rail over a board, a permissions matrix and a
   revision log, a contact sheet of story types, a publish panel beside what it sends out, and a
   request path. Motion is transform and opacity, 160-240ms ease-out, once on reveal; hover
   movement only on a real pointer; nothing loops, the breaking line is static. */

/* ---- tokens: dark first (the site's default), light in both of the site's light selectors ---- */
.nw {
    --nw-serif: Georgia, 'Times New Roman', 'Noto Serif', serif;
    --nw-paper:   #14130F;
    --nw-paper-2: #1E1C16;
    --nw-sheet:   #24221C;
    --nw-ink:     #F2ECDF;   /* headings, 15.9:1 on paper */
    --nw-ink-2:   #D8D0BF;   /* body */
    --nw-ink-3:   #A89F8C;   /* muted: 6.4:1 on the sheet, the worst ground */
    --nw-rule:    rgba(242, 236, 223, 0.14);
    --nw-rule-2:  rgba(242, 236, 223, 0.30);
    --nw-red:     #C8232A;   /* a FILL, with white text on it */
    --nw-on-red:  #FFFFFF;
    --nw-red-ink: #FF8A80;   /* red used as TEXT on dark */
    --nw-red-tint: rgba(255, 138, 128, 0.12);
    --nw-amber-ink: #E8BC66;
    --nw-amber-tint: rgba(232, 188, 102, 0.16);
    --nw-dot:     rgba(242, 236, 223, 0.30);
    --nw-tone-a:  #3A362C;
    --nw-tone-b:  #2A2822;
    --nw-tone-c:  #4A2A26;
    --nw-shadow:  0 18px 44px rgba(0, 0, 0, 0.45);
    display: block;
}
:root[data-theme="light"] .nw {
    --nw-paper:   #F4EFE4;
    --nw-paper-2: #EBE4D4;
    --nw-sheet:   #FBF8F1;
    --nw-ink:     #1A1813;
    --nw-ink-2:   #38342B;
    --nw-ink-3:   #5A5446;   /* 6.2:1 on the darker band */
    --nw-rule:    rgba(26, 24, 19, 0.15);
    --nw-rule-2:  rgba(26, 24, 19, 0.32);
    --nw-red:     #B3161C;
    --nw-on-red:  #FFFFFF;
    --nw-red-ink: #A3151B;
    --nw-red-tint: rgba(179, 22, 28, 0.08);
    --nw-amber-ink: #7A4C00;
    --nw-amber-tint: rgba(196, 140, 20, 0.16);
    --nw-dot:     rgba(26, 24, 19, 0.26);
    --nw-tone-a:  #DDD4C1;
    --nw-tone-b:  #CFC5B0;
    --nw-tone-c:  #E8CFC6;
    --nw-shadow:  0 18px 44px rgba(40, 32, 18, 0.14);
}
@media (prefers-color-scheme: light) {
    :root:not([data-theme="dark"]):not([data-theme="light"]) .nw {
        --nw-paper:   #F4EFE4;
        --nw-paper-2: #EBE4D4;
        --nw-sheet:   #FBF8F1;
        --nw-ink:     #1A1813;
        --nw-ink-2:   #38342B;
        --nw-ink-3:   #5A5446;
        --nw-rule:    rgba(26, 24, 19, 0.15);
        --nw-rule-2:  rgba(26, 24, 19, 0.32);
        --nw-red:     #B3161C;
        --nw-on-red:  #FFFFFF;
        --nw-red-ink: #A3151B;
        --nw-red-tint: rgba(179, 22, 28, 0.08);
        --nw-amber-ink: #7A4C00;
        --nw-amber-tint: rgba(196, 140, 20, 0.16);
        --nw-dot:     rgba(26, 24, 19, 0.26);
        --nw-tone-a:  #DDD4C1;
        --nw-tone-b:  #CFC5B0;
        --nw-tone-c:  #E8CFC6;
        --nw-shadow:  0 18px 44px rgba(40, 32, 18, 0.14);
    }
}

.nw-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nw .nw-time { font-family: var(--font-mono); font-variant-numeric: tabular-nums; unicode-bidi: isolate; }
.nw .nw-arrow { display: inline-block; transition: transform var(--dur-1, 160ms) var(--ease-out); }
html[dir="rtl"] .nw .nw-arrow { transform: scaleX(-1); }

/* ---- the paper the body sections are printed on ---- */
.nw .sp-sec.nw-sec { background: var(--nw-paper); color: var(--nw-ink-2); }
.nw .sp-sec.nw-sec.alt { background: var(--nw-paper-2); }
.nw .nw-sec h2, .nw .nw-sec h3 { color: var(--nw-ink); }

/* the section head: a newspaper's double rule, a section slug, the heading under it */
.nw .nw-head { max-width: 66ch; margin: 0 0 clamp(28px, 4vw, 48px); padding-top: 12px; border-top: 3px solid var(--nw-ink); position: relative; }
.nw .nw-head::before { content: ''; position: absolute; inset-inline: 0; top: 3px; border-top: 1px solid var(--nw-ink); }
.nw .nw-label { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 18px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--nw-ink-3); }
.nw .nw-label span { color: var(--nw-red-ink); font-weight: 600; }
.nw .nw-head h2 { font-size: clamp(28px, 3.6vw, 46px); letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 12px; }
.nw .nw-head p:not(.nw-label) { color: var(--nw-ink-2); font-size: 17px; line-height: 1.7; margin: 0; }
html[dir="rtl"] .nw .nw-head h2 { letter-spacing: 0; line-height: 1.3; }

/* ---- the hero: the site's photo island, a red "live" dot in the kicker, a quiet second link ---- */
.nw .nw-hero .nw-kicker { display: inline-flex; align-items: center; gap: 10px; color: #F2ECDF; }
.nw .nw-live-dot { width: 9px; height: 9px; border-radius: 50%; background: #FF5A4F; box-shadow: 0 0 0 3px rgba(255, 90, 79, 0.22); flex: none; }
.nw .nw-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.nw .nw-actions-c { justify-content: center; }
.nw .nw-more { color: var(--text-strong); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.25em; text-decoration-color: rgba(255, 255, 255, 0.45); padding: 10px 0; }
.nw .nw-more:focus-visible { outline: 2px solid #F2ECDF; outline-offset: 3px; border-radius: 4px; }

/* ==== 1. the front page ======================================================================= */
.nw .nw-front { margin: 0; }
.nw .nw-paper { background: var(--nw-sheet); border: 1px solid var(--nw-rule-2); border-radius: 6px; padding: clamp(16px, 3vw, 36px); box-shadow: var(--nw-shadow); color: var(--nw-ink-2); }
.nw .nw-mast { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; gap: 12px 20px; padding-bottom: 12px; border-bottom: 4px double var(--nw-ink); }
.nw .nw-nameplate { font-family: var(--nw-serif); font-size: clamp(30px, 5.2vw, 64px); line-height: 1; font-weight: 700; letter-spacing: -0.01em; color: var(--nw-ink); text-align: center; white-space: nowrap; }
html[dir="rtl"] .nw .nw-nameplate { font-family: var(--font-display); letter-spacing: 0; line-height: 1.2; }
.nw .nw-mast-side { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--nw-ink-3); padding-bottom: 6px; }
.nw .nw-mast-end { text-align: end; }
.nw .nw-sections { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0; padding: 10px 0; list-style: none; border-bottom: 1px solid var(--nw-rule-2); font-size: 13.5px; color: var(--nw-ink-2); }
.nw .nw-sections li.is-on { color: var(--nw-ink); font-weight: 700; box-shadow: inset 0 -2px 0 var(--nw-red); }
.nw .nw-breaking { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px 14px; margin: 14px 0 20px; padding: 9px 12px; background: var(--nw-red); color: var(--nw-on-red); border-radius: 3px; font-size: 15px; font-weight: 600; line-height: 1.4; }
.nw .nw-breaking b { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; background: var(--nw-on-red); color: var(--nw-red); padding: 3px 8px; border-radius: 2px; }
.nw .nw-breaking .nw-time { font-size: 12.5px; opacity: .92; }

.nw .nw-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr) minmax(0, 1fr); }
.nw .nw-grid > * { min-width: 0; }
.nw .nw-lead { padding-inline-end: clamp(16px, 2vw, 28px); }
.nw .nw-liveblog, .nw .nw-side { padding-inline: clamp(16px, 2vw, 24px) 0; border-inline-start: 1px solid var(--nw-rule-2); }
.nw .nw-liveblog { padding-inline-end: clamp(16px, 2vw, 24px); }
.nw .nw-photo { margin: 0 0 14px; }
.nw .nw-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 2px; background: var(--nw-tone-b); }
.nw .nw-credit { display: block; margin-top: 6px; font-family: var(--font-mono); font-size: 10.5px; color: var(--nw-ink-3); text-align: end; }
.nw .nw-tag { margin: 0 0 6px; font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--nw-red-ink); }
.nw .nw-lead h3 { font-size: clamp(24px, 2.8vw, 38px); line-height: 1.08; letter-spacing: -0.02em; font-weight: 800; margin: 0 0 12px; }
html[dir="rtl"] .nw .nw-lead h3 { letter-spacing: 0; line-height: 1.3; }
.nw .nw-stand { margin: 0 0 12px; font-size: 16px; line-height: 1.6; color: var(--nw-ink-2); }
.nw .nw-byline { margin: 0; font-size: 12.5px; color: var(--nw-ink-3); }

.nw .nw-live { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 8px; font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--nw-red-ink); }
.nw .nw-live .nw-live-dot { background: var(--nw-red); box-shadow: 0 0 0 3px var(--nw-red-tint); }
.nw .nw-liveblog h3 { font-size: 19px; line-height: 1.25; margin: 0 0 14px; }
.nw .nw-liveblog ol { list-style: none; margin: 0; padding: 0; }
.nw .nw-liveblog li { position: relative; padding: 0 0 14px 0; padding-inline-start: 18px; font-size: 14px; line-height: 1.5; color: var(--nw-ink-2); }
.nw .nw-liveblog li::before { content: ''; position: absolute; inset-inline-start: 0; top: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--nw-red); }
.nw .nw-liveblog li::after { content: ''; position: absolute; inset-inline-start: 3px; top: 16px; bottom: 0; width: 1px; background: var(--nw-rule-2); }
.nw .nw-liveblog li:last-child::after { display: none; }
.nw .nw-liveblog li:not(:first-child)::before { background: var(--nw-ink-3); }
.nw .nw-liveblog .nw-time { display: block; font-size: 12px; font-weight: 600; color: var(--nw-red-ink); margin-bottom: 2px; }
.nw .nw-liveblog li:not(:first-child) .nw-time { color: var(--nw-ink-3); }

.nw .nw-opinion { position: relative; padding-bottom: 16px; margin-bottom: 14px; border-bottom: 1px solid var(--nw-rule-2); }
.nw .nw-face { display: block; width: 56px; height: 56px; border-radius: 50%; margin-bottom: 12px; border: 1px solid var(--nw-rule-2);
    background: radial-gradient(circle at 50% 38%, var(--nw-ink-3) 0 11px, transparent 11.5px), radial-gradient(ellipse 22px 16px at 50% 100%, var(--nw-ink-3) 0 99%, transparent 100%), var(--nw-tone-a); }
.nw .nw-opinion h3 { font-size: 18px; line-height: 1.3; font-style: italic; font-weight: 700; margin: 0 0 8px; }
html[dir="rtl"] .nw .nw-opinion h3 { font-style: normal; }
.nw .nw-related ul { list-style: none; margin: 0; padding: 0; counter-reset: rel; }
.nw .nw-related li { counter-increment: rel; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 6px; padding: 9px 0; border-top: 1px solid var(--nw-rule); font-size: 14px; line-height: 1.45; color: var(--nw-ink); font-weight: 600; }
.nw .nw-related li::before { content: counter(rel); font-family: var(--font-mono); font-weight: 600; color: var(--nw-red-ink); }

.nw .nw-row { --nw-g: clamp(24px, 3.6vw, 44px); grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--nw-g); margin-top: 22px; padding-top: 18px; border-top: 2px solid var(--nw-ink); }
/* equal columns, the rule drawn in the gap, so the three pictures are the same size */
.nw .nw-brief { position: relative; min-width: 0; }
.nw .nw-brief + .nw-brief::before { content: ''; position: absolute; top: 0; bottom: 0; inset-inline-start: calc(var(--nw-g) / -2); border-inline-start: 1px solid var(--nw-rule-2); }
.nw .nw-brief h3 { font-size: 16.5px; line-height: 1.3; margin: 0; }
/* photo placeholders as newspaper halftone: a tone and a dot screen, no picture pretending to be news */
.nw .nw-tone { position: relative; display: block; aspect-ratio: 16 / 10; margin-bottom: 10px; border-radius: 2px; background-color: var(--nw-tone-a);
    background-image: radial-gradient(circle, var(--nw-dot) 0 1.1px, transparent 1.5px), linear-gradient(160deg, transparent 30%, var(--nw-rule) 100%);
    background-size: 6px 6px, 100% 100%; }
.nw .nw-tone-b { background-color: var(--nw-tone-b); }
.nw .nw-tone-c { background-color: var(--nw-tone-c); }
.nw .nw-thumb-gallery i { position: absolute; inset-inline-end: 8px; bottom: 8px; font-style: normal; font-family: var(--font-mono); font-size: 11px; padding: 2px 7px; border-radius: 999px; background: var(--nw-ink); color: var(--nw-paper); }
.nw .nw-play { position: absolute; left: 50%; top: 50%; width: 42px; height: 42px; margin: -21px 0 0 -21px; border-radius: 50%; background: var(--nw-ink); }
.nw .nw-play::after { content: ''; position: absolute; left: 16px; top: 12px; border-style: solid; border-width: 9px 0 9px 14px; border-color: transparent transparent transparent var(--nw-paper); }
.nw .nw-fix { margin: 10px 0 0; padding: 8px 10px; border-inline-start: 3px solid var(--nw-amber-ink); background: var(--nw-amber-tint); font-size: 13px; line-height: 1.5; color: var(--nw-ink); }
.nw .nw-fix b { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--nw-amber-ink); }
.nw .nw-front figcaption { margin-top: 12px; font-size: 12.5px; color: var(--nw-ink-3); }

/* ==== 2. the rail and the board =============================================================== */
.nw .nw-rail { list-style: none; margin: 0 0 clamp(28px, 4vw, 44px); padding: 0; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 10px; }
.nw .nw-rail li { min-width: 0; display: flex; flex-direction: column; gap: 4px; padding-top: 12px; border-top: 3px solid var(--nw-ink); }
.nw .nw-rail li.is-optional { border-top-style: dashed; border-top-color: var(--nw-ink-3); }
.nw .nw-rail li.is-live { border-top-color: var(--nw-red); }
.nw .nw-rail li.is-fix { border-top-color: var(--nw-amber-ink); }
.nw .nw-n { font-family: var(--font-mono); font-size: 12px; color: var(--nw-ink-3); }
.nw .nw-rail b { font-size: 15px; line-height: 1.3; color: var(--nw-ink); }
.nw .nw-rail li.is-live b { color: var(--nw-red-ink); }
.nw .nw-rail small { font-size: 12.5px; line-height: 1.45; color: var(--nw-ink-3); }

.nw .nw-board-fig { margin: 0; min-width: 0; }
.nw .nw-board { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; align-items: start; }
.nw .nw-board:focus-visible { outline: 2px solid var(--nw-ink); outline-offset: 4px; border-radius: 8px; }
.nw .nw-col { min-width: 0; background: var(--nw-paper); border: 1px solid var(--nw-rule); border-radius: 10px; padding: 10px; display: flex; flex-direction: column; gap: 10px; }
.nw .nw-col-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 2px 2px 0; font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--nw-ink); }
.nw .nw-col-h span { min-width: 22px; height: 22px; display: inline-grid; place-items: center; border-radius: 999px; background: var(--nw-paper-2); border: 1px solid var(--nw-rule); font-size: 11.5px; color: var(--nw-ink-2); letter-spacing: 0; }
.nw .nw-card { background: var(--nw-sheet); border: 1px solid var(--nw-rule-2); border-radius: 8px; padding: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; box-shadow: 0 1px 0 var(--nw-rule); }
.nw .nw-card.is-optional { border-style: dashed; }
.nw .nw-card.is-live { border-color: var(--nw-red); box-shadow: inset 3px 0 0 var(--nw-red); }
html[dir="rtl"] .nw .nw-card.is-live { box-shadow: inset -3px 0 0 var(--nw-red); }
.nw .nw-card.is-quiet { background: transparent; }
.nw .nw-card h3 { font-size: 14.5px; line-height: 1.35; font-weight: 650; margin: 0; }
.nw .nw-stage { display: inline-block; font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--nw-rule-2); color: var(--nw-ink-2); line-height: 1.5; }
.nw .nw-stage.is-time { border-style: dashed; }
.nw .nw-stage.is-live { background: var(--nw-red); border-color: var(--nw-red); color: var(--nw-on-red); }
.nw .nw-stage.is-fix { border-color: var(--nw-amber-ink); color: var(--nw-amber-ink); background: var(--nw-amber-tint); }
.nw .nw-att { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0; color: var(--nw-ink-3); font-size: 12px; }
.nw .nw-att span { display: inline-flex; align-items: center; gap: 4px; }
.nw .nw-att svg, .nw .nw-panel dd svg { width: 15px; height: 15px; flex: none; }
.nw .nw-att i { font-style: normal; font-family: var(--font-mono); }
.nw .nw-who { margin: 0; font-size: 12.5px; color: var(--nw-ink-3); display: inline-flex; align-items: center; gap: 6px; }
.nw .nw-who::before { content: ''; width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle at 50% 38%, var(--nw-ink-3) 0 3.5px, transparent 4px), radial-gradient(ellipse 7px 5px at 50% 100%, var(--nw-ink-3) 0 99%, transparent 100%), var(--nw-paper-2); border: 1px solid var(--nw-rule); }
.nw .nw-board-fig figcaption { margin-top: 12px; font-size: 12.5px; color: var(--nw-ink-3); }

/* ==== 3. the matrix and the log =============================================================== */
.nw .nw-matrix table { display: table; width: 100%; overflow: visible; border-collapse: collapse; }
.nw .nw-matrix thead th { font-size: 13px; font-weight: 600; line-height: 1.35; color: var(--nw-ink-2); text-align: center; vertical-align: bottom; padding: 0 8px 12px; border-bottom: 2px solid var(--nw-ink); }
.nw .nw-matrix thead th:first-child { text-align: start; padding-inline-start: 0; width: 34%; }
.nw .nw-matrix tbody tr { border-bottom: 1px solid var(--nw-rule-2); transition: background-color var(--dur-1, 160ms) var(--ease-out); }
.nw .nw-matrix tbody th { text-align: start; padding: 14px 16px 14px 0; padding-inline: 0 16px; font-weight: 400; }
.nw .nw-matrix tbody th b { display: block; font-size: 15.5px; color: var(--nw-ink); }
.nw .nw-matrix tbody th small { display: block; margin-top: 3px; font-size: 13px; line-height: 1.45; color: var(--nw-ink-3); }
.nw .nw-matrix td { text-align: center; padding: 14px 8px; }
.nw .nw-mk { display: inline-block; width: 14px; height: 14px; border-radius: 50%; vertical-align: middle; border: 1.5px solid var(--nw-ink); }
.nw .is-y .nw-mk, .nw .nw-mk.is-y { background: var(--nw-ink); }
.nw .is-o .nw-mk, .nw .nw-mk.is-o { background: linear-gradient(90deg, var(--nw-ink) 50%, transparent 50%); }
html[dir="rtl"] .nw .is-o .nw-mk, html[dir="rtl"] .nw .nw-mk.is-o { background: linear-gradient(270deg, var(--nw-ink) 50%, transparent 50%); }
.nw .is-n .nw-mk, .nw .nw-mk.is-n { width: 12px; height: 2px; border: 0; border-radius: 1px; background: var(--nw-ink-3); }
.nw .nw-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin: 16px 0 0; font-size: 13px; color: var(--nw-ink-2); }
.nw .nw-legend span { display: inline-flex; align-items: center; gap: 8px; }
.nw .nw-legend .nw-legend-note { color: var(--nw-ink-3); margin-inline-start: auto; }

.nw .nw-audit { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 28px clamp(32px, 5vw, 64px); align-items: start; margin-top: clamp(48px, 7vw, 88px); }
.nw .nw-audit-text h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; margin: 0 0 12px; }
.nw .nw-audit-text p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--nw-ink-2); }
.nw .nw-log { margin: 0; background: var(--nw-sheet); border: 1px solid var(--nw-rule-2); border-radius: 10px; overflow: hidden; box-shadow: var(--nw-shadow); }
.nw .nw-log-top { margin: 0; padding: 12px 18px; border-bottom: 1px solid var(--nw-rule-2); font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--nw-ink-3); }
.nw .nw-log ol { list-style: none; margin: 0; padding: 0; }
.nw .nw-log li { display: grid; grid-template-columns: 52px minmax(0, 9.5rem) minmax(0, 1fr); gap: 4px 14px; align-items: baseline; padding: 11px 18px; border-bottom: 1px solid var(--nw-rule); font-size: 14px; line-height: 1.5; transition: background-color var(--dur-1, 160ms) var(--ease-out); }
.nw .nw-log li:last-child { border-bottom: 0; }
.nw .nw-log .nw-time { font-size: 12.5px; color: var(--nw-ink-3); }
.nw .nw-log b { font-size: 13.5px; color: var(--nw-ink); font-weight: 600; }
.nw .nw-log li > span:last-child { color: var(--nw-ink-2); }
.nw .nw-log del { color: var(--nw-ink-3); text-decoration-thickness: 1px; }
.nw .nw-log ins { text-decoration: none; color: var(--nw-ink); background: var(--nw-amber-tint); padding: 0 4px; border-radius: 2px; }
.nw .nw-log li.is-live .nw-time { color: var(--nw-red-ink); font-weight: 600; }
.nw .nw-log li.is-fix .nw-time { color: var(--nw-amber-ink); font-weight: 600; }

/* ==== 4. the contact sheet of story types ===================================================== */
.nw .nw-types { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 36px 22px; }
.nw .nw-types li { min-width: 0; padding-top: 14px; border-top: 2px solid var(--nw-ink); }
.nw .nw-types h3 { font-size: 16.5px; line-height: 1.3; margin: 0 0 6px; }
.nw .nw-types p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--nw-ink-2); }
.nw .nw-draw { position: relative; display: grid; align-content: center; gap: 6px; aspect-ratio: 16 / 10; margin-bottom: 14px; padding: 12px; background: var(--nw-sheet); border: 1px solid var(--nw-rule-2); border-radius: 6px; overflow: hidden; transition: transform var(--dur-2, 240ms) var(--ease-out), border-color var(--dur-1, 160ms) var(--ease-out); }
.nw .nw-draw i { display: block; height: 4px; border-radius: 2px; background: var(--nw-rule-2); }
/* article: two headline bars, three lines of text */
.nw .nw-d-article i:nth-child(1) { height: 9px; width: 86%; background: var(--nw-ink); }
.nw .nw-d-article i:nth-child(2) { height: 9px; width: 58%; background: var(--nw-ink); margin-bottom: 6px; }
.nw .nw-d-article i:nth-child(4) { width: 92%; }
.nw .nw-d-article i:nth-child(5) { width: 64%; }
/* breaking: the red bar across the top */
.nw .nw-d-breaking i:nth-child(1) { height: 22px; border-radius: 2px; background: var(--nw-red); margin-bottom: 8px; box-shadow: inset 8px 0 0 var(--nw-on-red), inset 12px 0 0 var(--nw-red); }
.nw .nw-d-breaking i:nth-child(2) { height: 8px; width: 72%; background: var(--nw-ink); }
.nw .nw-d-breaking i:nth-child(3) { width: 88%; }
/* live blog: a timeline, the newest entry in red */
.nw .nw-d-live { gap: 11px; padding-inline-start: 26px; }
.nw .nw-d-live::before { content: ''; position: absolute; inset-inline-start: 15px; top: 14px; bottom: 14px; width: 1px; background: var(--nw-rule-2); }
.nw .nw-d-live i { position: relative; width: 84%; }
.nw .nw-d-live i:nth-child(2n) { width: 62%; }
.nw .nw-d-live i::before { content: ''; position: absolute; inset-inline-start: -15px; top: -2px; width: 7px; height: 7px; border-radius: 50%; background: var(--nw-ink-3); }
.nw .nw-d-live i:first-child { background: var(--nw-ink); }
.nw .nw-d-live i:first-child::before { background: var(--nw-red); }
/* gallery: a grid of halftone frames */
.nw .nw-d-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
.nw .nw-d-gallery i { height: auto; aspect-ratio: 1; border-radius: 2px; background-color: var(--nw-tone-a); background-image: radial-gradient(circle, var(--nw-dot) 0 1px, transparent 1.4px); background-size: 5px 5px; }
.nw .nw-d-gallery i:nth-child(2), .nw .nw-d-gallery i:nth-child(6) { background-color: var(--nw-tone-b); }
.nw .nw-d-gallery i:nth-child(4) { background-color: var(--nw-tone-c); }
/* video: a frame with a play mark, a progress line */
.nw .nw-d-video i:nth-child(1) { position: relative; height: auto; aspect-ratio: 16 / 8.2; border-radius: 3px; background: var(--nw-ink); }
.nw .nw-d-video i:nth-child(1)::after { content: ''; position: absolute; left: 50%; top: 50%; margin: -8px 0 0 -5px; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent var(--nw-paper); }
.nw .nw-d-video i:nth-child(2) { margin-top: 4px; background: linear-gradient(90deg, var(--nw-red) 38%, var(--nw-rule-2) 38%); }
html[dir="rtl"] .nw .nw-d-video i:nth-child(2) { background: linear-gradient(270deg, var(--nw-red) 38%, var(--nw-rule-2) 38%); }
/* opinion: a portrait and a quote */
.nw .nw-d-opinion { grid-template-columns: 34px minmax(0, 1fr); column-gap: 10px; }
.nw .nw-d-opinion i:nth-child(1) { grid-row: 1 / span 3; width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 50% 38%, var(--nw-ink-3) 0 6px, transparent 6.5px), radial-gradient(ellipse 12px 9px at 50% 100%, var(--nw-ink-3) 0 99%, transparent 100%), var(--nw-tone-a); }
.nw .nw-d-opinion i:nth-child(2) { height: 8px; width: 90%; background: var(--nw-ink); }
.nw .nw-d-opinion i:nth-child(3) { height: 8px; width: 70%; background: var(--nw-ink); }
.nw .nw-d-opinion i:nth-child(4) { grid-column: 2; width: 44%; }
.nw .nw-d-opinion::after { content: '\201C'; position: absolute; inset-inline-end: 10px; bottom: -18px; font-family: var(--nw-serif); font-size: 72px; line-height: 1; color: var(--nw-red-ink); opacity: .9; }
/* author page: a larger portrait, a name, a list */
.nw .nw-d-author { justify-items: center; }
.nw .nw-d-author i:nth-child(1) { width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(circle at 50% 38%, var(--nw-ink-3) 0 7px, transparent 7.5px), radial-gradient(ellipse 14px 11px at 50% 100%, var(--nw-ink-3) 0 99%, transparent 100%), var(--nw-tone-a); }
.nw .nw-d-author i:nth-child(2) { width: 46%; height: 7px; background: var(--nw-ink); }
.nw .nw-d-author i:nth-child(3), .nw .nw-d-author i:nth-child(4) { width: 90%; height: 5px; justify-self: stretch; box-shadow: none; }
/* sections and tags: pills */
.nw .nw-d-tags { display: flex; flex-wrap: wrap; align-content: center; gap: 6px; }
.nw .nw-d-tags i { height: 18px; border-radius: 999px; background: transparent; border: 1.5px solid var(--nw-rule-2); width: 30%; }
.nw .nw-d-tags i:nth-child(1) { background: var(--nw-ink); border-color: var(--nw-ink); width: 38%; }
.nw .nw-d-tags i:nth-child(2) { width: 26%; }
.nw .nw-d-tags i:nth-child(4) { width: 44%; }
.nw .nw-d-tags i:nth-child(5) { width: 20%; border-color: var(--nw-red); }
/* related: three rows, a thumbnail and a line each */
.nw .nw-d-related { gap: 9px; }
.nw .nw-d-related i { position: relative; height: 22px; border-radius: 0; background: none; border-top: 1px solid var(--nw-rule-2); padding-top: 4px; }
.nw .nw-d-related i::before { content: ''; position: absolute; inset-inline-start: 0; top: 5px; width: 28px; height: 17px; border-radius: 2px; background: var(--nw-tone-b); }
.nw .nw-d-related i::after { content: ''; position: absolute; inset-inline-start: 36px; top: 10px; width: 62%; height: 6px; border-radius: 2px; background: var(--nw-ink); }
/* two scripts: the same page, set left-to-right and right-to-left */
.nw .nw-d-rtl { grid-template-columns: 1fr 1fr; gap: 10px; }
.nw .nw-d-rtl i { height: 100%; min-height: 60px; border-radius: 3px; background-color: var(--nw-paper-2); background-repeat: no-repeat;
    background-image: linear-gradient(var(--nw-ink), var(--nw-ink)), linear-gradient(var(--nw-ink-3), var(--nw-ink-3)), linear-gradient(var(--nw-ink-3), var(--nw-ink-3)), linear-gradient(var(--nw-ink-3), var(--nw-ink-3));
    background-size: 70% 7px, 88% 3px, 80% 3px, 56% 3px;
    background-position: left 8px top 10px, left 8px top 26px, left 8px top 36px, left 8px top 46px; }
.nw .nw-d-rtl i:nth-child(2) { border: 1.5px solid var(--nw-red);
    background-image: linear-gradient(var(--nw-red), var(--nw-red)), linear-gradient(var(--nw-ink-3), var(--nw-ink-3)), linear-gradient(var(--nw-ink-3), var(--nw-ink-3)), linear-gradient(var(--nw-ink-3), var(--nw-ink-3));
    background-position: right 8px top 10px, right 8px top 26px, right 8px top 36px, right 8px top 46px; }

/* ==== 5. the publish panel and what it sends ================================================= */
.nw .nw-pub { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 32px clamp(32px, 5vw, 64px); align-items: start; }
.nw .nw-panel { margin: 0; background: var(--nw-sheet); border: 1px solid var(--nw-rule-2); border-radius: 12px; box-shadow: var(--nw-shadow); overflow: hidden; }
.nw .nw-panel-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 14px 18px; border-bottom: 1px solid var(--nw-rule-2); }
.nw .nw-panel-top b { font-size: 15px; color: var(--nw-ink); }
.nw .nw-panel dl { margin: 0; }
.nw .nw-panel dl > div { display: grid; grid-template-columns: minmax(0, 8.5rem) minmax(0, 1fr); gap: 4px 14px; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--nw-rule); }
.nw .nw-panel dt { font-size: 13px; color: var(--nw-ink-3); }
.nw .nw-panel dd { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 1.45; color: var(--nw-ink); }
.nw .nw-panel dd svg { color: var(--nw-ink-3); }
.nw .nw-switch { flex: none; position: relative; width: 30px; height: 18px; border-radius: 999px; background: var(--nw-rule-2); }
.nw .nw-switch::after { content: ''; position: absolute; top: 2px; inset-inline-start: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--nw-sheet); }
.nw .nw-switch.is-on { background: var(--nw-ink); }
.nw .nw-switch.is-on::after { inset-inline-start: 14px; }
.nw .nw-og { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); margin: 16px 18px 0; border: 1px solid var(--nw-rule-2); border-radius: 8px; overflow: hidden; }
.nw .nw-og-img { margin: 0; aspect-ratio: auto; min-height: 88px; border-radius: 0; }
.nw .nw-og-text { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 10px 12px; min-width: 0; }
.nw .nw-og-text small { font-family: var(--font-mono); font-size: 11px; color: var(--nw-ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nw .nw-og-text b { font-size: 14px; line-height: 1.35; color: var(--nw-ink); }
.nw .nw-panel-cap { margin: 8px 18px 16px; font-size: 12px; color: var(--nw-ink-3); }

.nw .nw-outs { list-style: none; margin: 0; padding: 0; }
.nw .nw-outs li { padding: 16px 0 18px; border-top: 1px solid var(--nw-rule-2); }
.nw .nw-outs li:first-child { border-top: 2px solid var(--nw-ink); }
.nw .nw-outs code { unicode-bidi: isolate; display: inline-block; font-family: var(--font-mono); font-size: 12.5px; color: var(--nw-ink); background: var(--nw-sheet); border: 1px solid var(--nw-rule-2); border-radius: 5px; padding: 2px 8px; word-break: normal; overflow-wrap: anywhere; }
.nw .nw-outs h3 { font-size: 17px; line-height: 1.3; margin: 10px 0 6px; }
.nw .nw-outs p { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--nw-ink-2); }
.nw .nw-note { margin: clamp(28px, 4vw, 40px) 0 0; max-width: 72ch; padding-inline-start: 14px; border-inline-start: 3px solid var(--nw-ink); font-size: 15.5px; line-height: 1.7; color: var(--nw-ink-2); }

/* ==== 6. the request path ===================================================================== */
.nw .nw-path { margin: 0; }
.nw .nw-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(4, minmax(0, 1fr)); gap: 36px; }
.nw .nw-node { position: relative; min-width: 0; display: flex; flex-direction: column; gap: 6px; padding: 16px; background: var(--nw-sheet); border: 1px solid var(--nw-rule-2); border-radius: 10px; }
.nw .nw-node b { font-family: var(--font-display); font-size: 19px; line-height: 1.2; color: var(--nw-ink); }
.nw .nw-node small { font-size: 13px; line-height: 1.5; color: var(--nw-ink-3); }
.nw .nw-node:not(:last-child)::after { content: '\2192'; position: absolute; top: 50%; margin-top: -13px; inset-inline-end: -31px; width: 26px; line-height: 26px; text-align: center; font-family: var(--font-mono); font-size: 17px; color: var(--nw-ink-3); }
html[dir="rtl"] .nw .nw-node:not(:last-child)::after { content: '\2190'; }
/* many arrive at the cache; a thin line goes on */
.nw .nw-node.nw-crowd::after { font-weight: 700; color: var(--nw-ink); font-size: 22px; }
.nw .nw-node.nw-cache { border: 2px solid var(--nw-ink); }
.nw .nw-cache ~ .nw-node { border-style: dashed; }
.nw .nw-dots { display: grid; grid-template-columns: repeat(12, 8px); gap: 5px; margin-bottom: 6px; }
.nw .nw-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--nw-ink-3); }
.nw .nw-dots i:nth-child(5n+2) { background: var(--nw-ink); }
.nw .nw-hit { align-self: flex-start; display: inline-flex; gap: 6px; align-items: baseline; margin-top: 6px; font-size: 12.5px; font-weight: 600; line-height: 1.4; padding: 4px 9px; border-radius: 6px; border: 1px solid var(--nw-ink); color: var(--nw-ink); }
.nw .nw-hit::before { content: '\21A9'; font-family: var(--font-mono); }
html[dir="rtl"] .nw .nw-hit::before { content: '\21AA'; }
.nw .nw-side-paths { margin-top: 22px; }
.nw .nw-side-paths p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 0; padding: 12px 0; border-top: 1px solid var(--nw-rule-2); font-size: 15px; line-height: 1.6; color: var(--nw-ink-2); }
.nw .nw-side-paths b { font-size: 14px; color: var(--nw-ink); padding: 1px 9px; border: 1px solid var(--nw-ink); border-radius: 999px; }
.nw .nw-purge b { background: var(--nw-red); border-color: var(--nw-red); color: var(--nw-on-red); }
.nw .nw-side-paths .nw-arrow { color: var(--nw-ink-3); font-family: var(--font-mono); }

.nw .nw-mech { list-style: none; margin: clamp(36px, 5vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 4vw, 48px); }
.nw .nw-mech li { min-width: 0; padding: 20px 0 22px; border-top: 1px solid var(--nw-rule-2); }
.nw .nw-mech h3 { font-size: 18px; margin: 0 0 8px; }
.nw .nw-mech p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--nw-ink-2); }
.nw .nw-mech code { display: block; margin-top: 12px; font-family: var(--font-mono); font-size: 12.5px; line-height: 1.6; color: var(--nw-ink); background: var(--nw-sheet); border: 1px solid var(--nw-rule-2); border-radius: 6px; padding: 8px 12px; white-space: normal; overflow-wrap: anywhere; word-break: normal; direction: ltr; text-align: left; }

.nw .nw-measured { margin-top: clamp(36px, 5vw, 56px); padding: clamp(20px, 3vw, 32px); background: var(--nw-sheet); border: 1px solid var(--nw-rule-2); border-radius: 12px; }
.nw .nw-measured-h { margin: 0 0 18px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--nw-ink-3); }
.nw .speed-measured .sm-fig strong { color: var(--nw-ink); }
.nw .speed-measured .sm-fig span, .nw .speed-measured .sm-rest p { color: var(--nw-ink-2); }

/* ---- motion: once, on reveal ------------------------------------------------------------------ */
.nw .nw-rail li, .nw .nw-card, .nw .nw-types li, .nw .nw-node, .nw .nw-log li { transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out), background-color var(--dur-1, 160ms) var(--ease-out); }
html.anim-ready .nw .nw-rail:not(.revealed) li,
html.anim-ready .nw .nw-types:not(.revealed) li,
html.anim-ready .nw .nw-path:not(.revealed) .nw-node { opacity: 0; transform: translateY(8px); }
html.anim-ready .nw .nw-board-fig:not(.revealed) .nw-card,
html.anim-ready .nw .nw-audit:not(.revealed) .nw-log li { opacity: 0; transform: translateY(6px); }
.nw .nw-rail li:nth-child(2), .nw .nw-types li:nth-child(2), .nw .nw-node:nth-child(2), .nw .nw-col:nth-child(2) .nw-card, .nw .nw-log li:nth-child(2) { transition-delay: 30ms; }
.nw .nw-rail li:nth-child(3), .nw .nw-types li:nth-child(3), .nw .nw-node:nth-child(3), .nw .nw-col:nth-child(3) .nw-card, .nw .nw-log li:nth-child(3) { transition-delay: 60ms; }
.nw .nw-rail li:nth-child(4), .nw .nw-types li:nth-child(4), .nw .nw-node:nth-child(4), .nw .nw-col:nth-child(4) .nw-card, .nw .nw-log li:nth-child(4) { transition-delay: 90ms; }
.nw .nw-rail li:nth-child(5), .nw .nw-types li:nth-child(5), .nw .nw-node:nth-child(5), .nw .nw-col:nth-child(5) .nw-card, .nw .nw-log li:nth-child(5) { transition-delay: 120ms; }
.nw .nw-rail li:nth-child(6), .nw .nw-types li:nth-child(6), .nw .nw-log li:nth-child(6) { transition-delay: 150ms; }
.nw .nw-rail li:nth-child(7), .nw .nw-types li:nth-child(7) { transition-delay: 180ms; }
.nw .nw-rail li:nth-child(8), .nw .nw-types li:nth-child(8) { transition-delay: 210ms; }
.nw .nw-rail li:nth-child(9), .nw .nw-types li:nth-child(9) { transition-delay: 240ms; }
.nw .nw-types li:nth-child(10) { transition-delay: 240ms; }

@media (hover: hover) and (pointer: fine) {
    .nw .nw-more:hover { text-decoration-color: currentColor; }
    .nw .nw-more:hover .nw-arrow { transform: translateX(3px); }
    html[dir="rtl"] .nw .nw-more:hover .nw-arrow { transform: scaleX(-1) translateX(3px); }
    .nw .nw-board-fig.revealed .nw-card:hover { transform: translateY(-2px); transition-delay: 0ms; }
    .nw .nw-types.revealed li:hover .nw-draw { transform: translateY(-3px); border-color: var(--nw-ink); }
    .nw .nw-matrix tbody tr:hover { background-color: var(--nw-red-tint); }
    .nw .nw-log li:hover { background-color: var(--nw-paper-2); transition-delay: 0ms; }
}

@media (prefers-reduced-motion: reduce) {
    .nw .nw-rail li, .nw .nw-card, .nw .nw-types li, .nw .nw-node, .nw .nw-log li, .nw .nw-draw, .nw .nw-arrow { transition: background-color var(--dur-1, 160ms) linear, border-color var(--dur-1, 160ms) linear; transition-delay: 0ms !important; }
    html.anim-ready .nw .nw-rail:not(.revealed) li,
    html.anim-ready .nw .nw-types:not(.revealed) li,
    html.anim-ready .nw .nw-path:not(.revealed) .nw-node,
    html.anim-ready .nw .nw-board-fig:not(.revealed) .nw-card,
    html.anim-ready .nw .nw-audit:not(.revealed) .nw-log li { opacity: 1; transform: none; }
    .nw .nw-board-fig.revealed .nw-card:hover, .nw .nw-types.revealed li:hover .nw-draw { transform: none; }
}

/* ---- narrower ------------------------------------------------------------------------------- */
@media (max-width: 1100px) {
    .nw .nw-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 14px; }
    .nw .nw-types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nw .nw-flow { grid-template-columns: minmax(0, 1fr); gap: 34px; max-width: 520px; }
    .nw .nw-node:not(:last-child)::after, html[dir="rtl"] .nw .nw-node:not(:last-child)::after { content: '\2193'; top: auto; bottom: -32px; margin-top: 0; inset-inline-end: auto; inset-inline-start: 24px; }
}
@media (max-width: 1000px) {
    /* the board keeps its columns and scrolls sideways inside itself, as a real board does */
    .nw .nw-board { grid-template-columns: repeat(5, 244px); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin; }
    .nw .nw-col { scroll-snap-align: start; }
    .nw .nw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nw .nw-lead { grid-column: 1 / -1; padding-inline-end: 0; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--nw-rule-2); }
    .nw .nw-liveblog { border-inline-start: 0; padding-inline-start: 0; }
    .nw .nw-pub, .nw .nw-audit { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
    .nw .nw-mast { grid-template-columns: minmax(0, 1fr) auto; }
    .nw .nw-nameplate { grid-column: 1 / -1; grid-row: 1; white-space: normal; }
    .nw .nw-mast-end { text-align: end; }
    .nw .nw-breaking { grid-template-columns: auto minmax(0, 1fr); }
    .nw .nw-breaking > span:first-of-type { grid-column: 1 / -1; grid-row: 2; }
    .nw .nw-breaking .nw-time { grid-row: 1; grid-column: 2; justify-self: end; }
    .nw .nw-grid { grid-template-columns: minmax(0, 1fr); }
    .nw .nw-side { border-inline-start: 0; padding-inline-start: 0; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--nw-rule-2); }
    .nw .nw-liveblog { padding-inline-end: 0; }
    .nw .nw-row { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .nw .nw-brief { display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: 14px; align-content: start; }
    .nw .nw-brief + .nw-brief::before { display: none; }
    .nw .nw-brief .nw-tone { grid-row: 1 / span 3; margin-bottom: 0; }
    .nw .nw-brief .nw-fix { grid-column: 1 / -1; }
    .nw .nw-brief + .nw-brief { padding-top: 18px; border-top: 1px solid var(--nw-rule-2); }

    /* the matrix restacks: each role a block, its six rights as labelled rows in two columns */
    .nw .nw-matrix table, .nw .nw-matrix tbody, .nw .nw-matrix th, .nw .nw-matrix td { display: block; }
    .nw .nw-matrix thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .nw .nw-matrix tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; padding: 16px 0 12px; }
    .nw .nw-matrix tbody tr:first-child { border-top: 2px solid var(--nw-ink); }
    .nw .nw-matrix tbody th { grid-column: 1 / -1; padding: 0 0 10px; }
    .nw .nw-matrix td { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 0; border-top: 1px solid var(--nw-rule); text-align: start; }
    .nw .nw-matrix td::before { content: attr(data-label); font-size: 13px; line-height: 1.35; color: var(--nw-ink-2); }
    .nw .nw-legend .nw-legend-note { margin-inline-start: 0; flex-basis: 100%; }

    .nw .nw-log li { grid-template-columns: 48px minmax(0, 1fr); padding: 11px 14px; }
    .nw .nw-log li > span:last-child { grid-column: 2; }
    .nw .nw-log-top { padding-inline: 14px; }
    .nw .nw-mech { grid-template-columns: minmax(0, 1fr); }
    .nw .nw-panel dl > div { grid-template-columns: minmax(0, 1fr); padding: 11px 16px; }
    .nw .nw-og { margin-inline: 16px; }
}
@media (max-width: 520px) {
    .nw .nw-rail { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .nw .nw-rail li { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 8px; padding: 10px 0 12px; border-top-width: 2px; }
    .nw .nw-rail li .nw-n { grid-row: 1 / span 2; padding-top: 2px; }
    .nw .nw-types { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .nw .nw-types li { display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: 16px; padding: 16px 0; border-top-width: 1px; border-top-color: var(--nw-rule-2); }
    .nw .nw-types li:first-child { border-top: 2px solid var(--nw-ink); }
    .nw .nw-types .nw-draw { grid-row: 1 / span 2; margin-bottom: 0; padding: 9px; gap: 5px; aspect-ratio: 4 / 3; }
    .nw .nw-types .nw-d-live { padding-inline-start: 24px; gap: 9px; }
    .nw .nw-d-live::before { inset-inline-start: 13px; }
    .nw .nw-d-related { gap: 4px; }
    .nw .nw-d-related i { height: 19px; }
    .nw .nw-d-opinion::after { font-size: 44px; bottom: -10px; inset-inline-end: 6px; }
    .nw .nw-matrix tbody tr { column-gap: 14px; }
    .nw .nw-og { grid-template-columns: minmax(0, 1fr); }
    .nw .nw-og-img { min-height: 0; aspect-ratio: 1.91 / 1; }
}

/* Arabic in the mono stack takes Plex Mono's wide space between words; Arabic labels take the body
   face without tracking or capitals, and the times and codes stay mono. */
html[dir="rtl"] .nw .nw-label, html[dir="rtl"] .nw .nw-mast-side, html[dir="rtl"] .nw .nw-breaking b, html[dir="rtl"] .nw .nw-tag,
html[dir="rtl"] .nw .nw-live, html[dir="rtl"] .nw .nw-fix b, html[dir="rtl"] .nw .nw-col-h, html[dir="rtl"] .nw .nw-stage,
html[dir="rtl"] .nw .nw-log-top, html[dir="rtl"] .nw .nw-measured-h, html[dir="rtl"] .nw .nw-credit,
html[dir="rtl"] .nw .nw-att i:not([dir]) { font-family: var(--font-body); letter-spacing: 0; text-transform: none; }
html[dir="rtl"] .nw .nw-label { font-size: 13.5px; }
html[dir="rtl"] .nw .nw-stage, html[dir="rtl"] .nw .nw-tag, html[dir="rtl"] .nw .nw-col-h { font-size: 12.5px; }
