/* Field olive: the app's look. Loaded last, so these tokens replace the older palettes on every screen.
   Olive-black plates and India's saffron, with a tricolour line under the masthead. Condensed signage headlines (Barlow
   Condensed) set very large, Geist for text, national flags for places. Red stays for war and yellow for flash: alert
   levels still differ by text and shape as well. Motion answers the reader and is off under reduced motion. */

:root {
  --font-sans: "Geist", "Noto Sans Devanagari", "Segoe UI", "Nirmala UI", system-ui, sans-serif;
  --font-serif: "Barlow Condensed", "Noto Sans Devanagari", "Arial Narrow", "Segoe UI", sans-serif;
  --radius: 6px; --radius-lg: 12px;
  --chrome-h: 146px;
  --side: max(28px, calc((100% - 1464px) / 2));
  --ease-out: cubic-bezier(.2, .7, .2, 1);

  color-scheme: light;
  --bg: #eff0e8; --surface: #fbfbf6; --surface-2: #e7e9dc; --sunken: #dfe2d2; --rail: #11150f;
  --ink: #171b12; --ink-2: #3c4332; --muted: #636b55;
  --line: #d7dac9; --line-strong: #8f967f;
  --accent: #b35a00; --accent-ink: #ffffff; --focus: #b35a00; --tint-accent: #f8e7d0;
  --war: #b3261e; --war-ink: #ffffff; --flash: #7d6200; --tint-war: #f7e0dd; --tint-flash: #f3ecc9;
  --mast-ink: #f4f5ec; --mast-muted: #aeb5a0; --mast-line: #2c3325; --mast-accent: #ff9933; --mast-deep: #0b0e09;
  --plate: #dfe2d2; --plate-ink: #636b55; --india-green: #138808;
  --shadow: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #11150f; --surface: #181d15; --surface-2: #20261b; --sunken: #0b0e09; --rail: #0b0e09;
    --ink: #f4f5ec; --ink-2: #c8cdbb; --muted: #949c85;
    --line: #2c3325; --line-strong: #525b45;
    --accent: #ff9933; --accent-ink: #1c1003; --focus: #ff9933; --tint-accent: #3b2a14;
    --war: #ff6b5e; --war-ink: #1c0705; --flash: #ffd24d; --tint-war: #3a1d1a; --tint-flash: #342c12;
    --plate: #20261b; --plate-ink: #949c85; --india-green: #4cc241;
    --shadow: none;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #11150f; --surface: #181d15; --surface-2: #20261b; --sunken: #0b0e09; --rail: #0b0e09;
  --ink: #f4f5ec; --ink-2: #c8cdbb; --muted: #949c85;
  --line: #2c3325; --line-strong: #525b45;
  --accent: #ff9933; --accent-ink: #1c1003; --focus: #ff9933; --tint-accent: #3b2a14;
  --war: #ff6b5e; --war-ink: #1c0705; --flash: #ffd24d; --tint-war: #3a1d1a; --tint-flash: #342c12;
  --plate: #20261b; --plate-ink: #949c85; --india-green: #4cc241;
  --shadow: none;
}

/* ---------------------------------------------------- the frame on every screen */
:root { --rail-w: 0px; }
.frame { margin-left: 0; }
html:has(.front) { scroll-behavior: smooth; }
body { font-family: var(--font-sans); font-size: 15px; -webkit-font-smoothing: antialiased; }
.ctry { display: inline-block; flex: none; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgb(128 128 128 / .3); vertical-align: middle; }

/* ticker: runs on a loop, stops under the pointer */
.signal-strip { display: flex; align-items: center; height: 32px; padding: 0 var(--side); overflow: hidden; background: var(--mast-deep); border: 0; color: var(--mast-ink); }
.sig-tag { flex: none; display: inline-flex; align-items: center; gap: 7px; margin: 0; padding: 0 12px 0 0; border: 0; font: 600 12px/1 var(--font-sans); color: var(--mast-ink); white-space: nowrap; }
.sig-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--mast-accent); }
.sig-clock { flex: none; display: inline-flex; align-items: baseline; gap: 7px; padding: 0 14px 0 12px; border-left: 1px solid var(--mast-line); font: 600 12px/1 var(--font-sans); color: var(--mast-ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.sig-clock small { font-size: 12px; font-weight: 400; color: var(--mast-muted); }
.sig-run { position: relative; flex: 1; min-width: 0; display: flex; overflow: hidden; mask-image: linear-gradient(to right, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
.sig-list { flex: none; display: flex; height: 32px; min-width: 0; margin: 0; padding: 0; list-style: none; overflow: visible; animation: ticker 90s linear infinite; }
.sig-run:hover .sig-list { animation-play-state: paused; }
.sig-list li { display: flex; align-items: center; height: 32px; margin: 0; padding: 0 30px 0 0; border: 0; box-sizing: border-box; white-space: nowrap; }
.sig-list li span { font: 500 12.5px/1 var(--font-sans); color: var(--mast-muted); }
.sig-empty { margin: 0 0 0 14px; font-size: 13px; color: var(--mast-muted); }
@keyframes ticker { to { transform: translateX(-100%); } }

/* masthead: one line, sticky, a tricolour rule under it */
.cmd-rail { position: sticky; top: 0; inset: 0 auto auto auto; z-index: var(--z-nav); width: auto; min-height: 0; display: flex; flex-direction: row; align-items: center; gap: 18px;
  padding: 0 var(--side); background: color-mix(in srgb, var(--rail) 88%, transparent); backdrop-filter: saturate(150%) blur(12px); border: 0; color: var(--mast-ink); }
.cmd-rail::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(to right, var(--mast-accent) 0 33.3%, #f4f5ec 33.3% 66.6%, #138808 66.6%); }
.cmd-mark { flex: none; align-items: center; gap: 10px; padding: 0; color: var(--mast-ink); text-decoration: none; }
.cmd-mark svg { width: 32px; height: 32px; margin: 0; color: var(--mast-accent); transition: transform .5s var(--ease-out); }
.cmd-mark:hover svg { transform: rotate(45deg); }
.cmd-mark > span { font: 700 27px/1 var(--font-serif); letter-spacing: .015em; color: var(--mast-ink); }
.mast-search { order: 3; flex: 0 1 200px; min-width: 120px; display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border: 1px solid var(--mast-line); border-radius: 18px; color: var(--mast-muted); background: rgb(255 255 255 / .05); transition: border-color .2s, flex-basis .3s var(--ease-out); }
.mast-search:focus-within { border-color: var(--mast-accent); flex-basis: 300px; }
.mast-search input { flex: 1; min-width: 0; min-height: 0; height: 32px; padding: 0; border: 0; background: transparent; color: var(--mast-ink); font: 400 14px/1 var(--font-sans); box-shadow: none; }
.mast-search input::placeholder { color: var(--mast-muted); }
.mast-search input:focus-visible { outline: none; }
.cmd-rail :focus-visible { outline-color: var(--mast-accent); }

.cmd-rail .nav { flex: 1; min-width: 0; display: flex; flex-direction: row; flex-wrap: nowrap; align-items: stretch; gap: 0; margin: 0; padding: 0; overflow: visible; border: 0; }
.cmd-rail .nav > a, .cmd-rail .nav .nav-menu > a, .nav-menu-label { position: relative; display: inline-flex; align-items: center; gap: 7px; min-height: 58px; padding: 0 11px; border: 0; border-radius: 0; background: transparent;
  font: 500 14px/1 var(--font-sans); color: var(--mast-muted); white-space: nowrap; text-decoration: none; cursor: pointer; transition: color .18s; }
.cmd-rail .nav > a::before, .cmd-rail .nav .nav-menu > a::before { content: ""; position: absolute; left: 11px; right: 11px; top: auto; bottom: 7px; width: auto; height: 2px; border-radius: 2px; background: var(--mast-accent); transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease-out); }
.cmd-rail .nav > a:hover, .cmd-rail .nav .nav-menu:hover > a, .nav-menu:hover > .nav-menu-label, .nav-menu:focus-within > .nav-menu-label { color: var(--mast-ink); background: transparent; }
.cmd-rail .nav > a:hover::before, .cmd-rail .nav .nav-menu:hover > a::before, .cmd-rail .nav > a[aria-current="page"]::before, .cmd-rail .nav .nav-menu > a[aria-current="page"]::before { transform: scaleX(1); background: var(--mast-accent); }
.cmd-rail .nav > a[aria-current="page"], .cmd-rail .nav .nav-menu > a[aria-current="page"], .nav-menu-label.is-on { color: var(--mast-ink); background: transparent; font-weight: 600; }
.nav-ico { display: none; }
.cmd-rail .nav .nav-strong { color: var(--mast-ink); }
.nav-gap { flex: 1; }
.nav-caret { opacity: .7; }
.nav-menu { position: relative; display: flex; }
.nav-drop { position: absolute; top: 100%; left: 0; z-index: 40; min-width: 200px; margin: 0; padding: 6px; list-style: none; background: var(--rail); border: 1px solid var(--mast-line); border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .18s, transform .22s var(--ease-out), visibility .18s; }
.nav-menu-end .nav-drop { left: auto; right: 0; }
.nav-menu:hover .nav-drop, .nav-menu:focus-within .nav-drop { visibility: visible; opacity: 1; transform: none; }
.cmd-rail .nav .nav-drop a { display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 10px; border-radius: var(--radius); font: 500 14px/1 var(--font-sans); color: var(--mast-ink); text-decoration: none; white-space: nowrap; transition: background .15s; }
.nav-drop .nav-ico { display: inline-block; width: 16px; height: 16px; }
.cmd-rail .nav .nav-drop a[aria-current="page"] { color: var(--mast-accent); }
.cmd-rail .nav .nav-drop a:hover { color: var(--mast-ink); background: rgb(255 255 255 / .08); }

/* owner 2026-11-21: two rows. The logo and a wide search; under them places on the left (India opens its service desks,
   each region its countries) and kinds of page on the right, in small capitals with a rule between the two groups. */
.cmd-rail { flex-wrap: wrap; gap: 0 24px; }
.cmd-mark { min-height: 64px; display: inline-flex; }
.mast-search { order: 2; flex: 0 1 560px; margin: 0 auto; height: 40px; border-radius: 20px; }
.mast-search:focus-within { flex-basis: 560px; }
.cmd-rail .nav { order: 3; flex: 0 0 100%; margin: 0 calc(-1 * var(--side)); padding: 0 calc(var(--side) - 11px) 3px; border-top: 1px solid var(--mast-line); }
.cmd-rail .nav > a, .cmd-rail .nav .nav-menu > a, .nav-menu-label { min-height: 46px; font: 600 12.5px/1 var(--font-sans); letter-spacing: .07em; text-transform: uppercase; }
.cmd-rail .nav > a::before, .cmd-rail .nav .nav-menu > a::before { bottom: 6px; }
.cmd-rail .nav .nav-kind { color: var(--mast-ink); }
.nav-gap { flex: 1; align-self: center; height: 22px; margin-right: 8px; border-right: 1px solid var(--mast-line); }
.cmd-rail .nav .nav-drop a { text-transform: none; letter-spacing: 0; }
.nav-drop .ctry { width: 16px; height: 16px; border-radius: 50%; object-fit: cover; }
.cmd-rail .nav { flex-basis: calc(100% + 2 * var(--side)); }
.nav-check { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.nav-toggle { display: none; }

/* one slim line for what the radar is collecting, on the working screens */
.status-bar { padding: 0 var(--side); background: var(--surface); }
.status-bar .sb-tele { display: flex; flex-wrap: wrap; gap: 2px 22px; grid-template-columns: none; padding: 7px 0; }
.status-bar .sb-item, .status-bar .sb-item:first-child, .status-bar .sb-item:last-child { display: inline-flex; flex-direction: row; align-items: baseline; gap: 6px; padding: 0; border: 0; }
.status-bar .sb-item dt { font: 400 13px/1.3 var(--font-sans); }
.status-bar .sb-item dd { font: 600 13px/1.3 var(--font-sans); font-variant-numeric: tabular-nums; }

/* the working screens: same plates, and text big enough to read */
.desk main:not(.map-full) { padding-left: 28px; padding-right: 28px; }
.desk h1.page-title { font: 700 40px/1.05 var(--font-serif); letter-spacing: 0; }
.desk h2 { font: 700 24px/1.15 var(--font-serif); letter-spacing: .005em; }
.desk main { font-size: 15px; }
.desk .page-eyebrow { font-size: 13px; }
.desk .lede { font-size: 16px; }
.desk summary { font-size: 14px; }
.desk .btn { font-size: 14px; transition: background .15s, border-color .15s, color .15s; }
.desk .btn.small { font-size: 13px; }
.desk th { font-size: 13px; }
.desk td { font-size: 14px; }
.desk .tabs.sections a { background: transparent; font-size: 14px; }
.desk .tabs.sections a:hover { background: var(--surface-2); }
.desk .tabs.sections a .count { font-size: 13px; }
.desk .badge, .desk .tag, .desk .flag { font-size: 12px; }
.tg-page, .tg-shell { --tg-bg: #11150f; --tg-side: #181d15; --tg-head: #181d15; --tg-bubble: #20261b; --tg-bubble-2: #2a3123; --tg-hover: #20261b;
  --tg-active: #333b28; --tg-text: #f4f5ec; --tg-muted: #949c85; --tg-accent: #ff9933; --tg-green: #4cc241; --tg-line: #0b0e09; --tg-pill: rgb(244 245 236 / .07); }
.tg-page .tg { height: calc(100dvh - var(--chrome-h)); }
.tg-page .tg-search, .tg-page .tg-folders .chip, .tg-page .tg-form input, .tg-page .tg-form select, .tg-page .tg-backfill input { background: #20261b; border-color: #333b28; }
.tg-page .tg-pop-body { background: #181d15; border-color: #333b28; }
.tg-page .tg-msg.gone, .tg-page .tg-msg.gone::after { background: #181d15; }
.map-bar .sum-line, .map-bar .sum-line strong { font: 500 14px/1.35 var(--font-sans); }
.map-bar .sum-line strong { font-weight: 600; }
.tg-msg.is-target { outline: 2px solid var(--tg-accent); outline-offset: 3px; border-radius: 8px; }
body:has(.map-full) .shell { height: 100dvh; display: flex; flex-direction: column; }
body:has(.map-full) .frame { height: auto; flex: 1; min-height: 0; }

/* ---------------------------------------------------- front page */
.front main:not(.map-full) { max-width: 1520px; padding-top: 0; }
.front .page-head { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; margin: 0; padding: 0; border: 0; }
.front .status-bar { display: none; }
.front a { text-decoration: none; transition: color .16s; }
.front h2, .front h3 { margin: 0; }
.front .band-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 16px; }
.front .band-head h2 { display: inline-flex; align-items: center; gap: 12px; font: 700 34px/1.05 var(--font-serif); }
.front .band-head a { font-size: 14px; font-weight: 500; }
.band-side { display: inline-flex; align-items: center; gap: 16px; }
.stamp { margin: 0; font-size: 13px; color: var(--muted); }
.front img { transition: opacity .45s ease, transform .7s var(--ease-out); }
.front img.fading { opacity: 0; }
.front a.topic { font-weight: 600; color: var(--accent); }
.front a.topic:hover { text-decoration: underline; text-underline-offset: 3px; }
.lead-title a, .desk-top a, .desk-item a, .band-title a, .strip-title a, .r-title a, .side-title a { color: var(--ink); background: linear-gradient(currentcolor, currentcolor) 0 100% / 0 1.5px no-repeat; transition: background-size .35s var(--ease-out), color .16s; }
.lead-title a:hover, .desk-top a:hover, .desk-item a:hover, .band-title a:hover, .strip-title a:hover, .r-title a:hover, .side-title a:hover { color: var(--accent); background-size: 100% 1.5px; }

/* every picture box zooms gently under the pointer */
.lead-pic, .desk-pic, .strip-pic, .r-pic { position: relative; display: block; overflow: hidden; background: var(--plate); border-radius: var(--radius-lg); }
.lead-pic img:not(.ctry), .desk-pic img:not(.ctry), .strip-pic img:not(.ctry), .r-pic img:not(.ctry) { display: block; width: 100%; height: 100%; object-fit: cover; }
.lead-pic img.is-tall, .desk-pic img.is-tall, .strip-pic img.is-tall, .r-pic img.is-tall { object-fit: contain; background: #000; }
a.lead-pic:hover img:not(.ctry), a.desk-pic:hover img:not(.ctry), a.strip-pic:hover img:not(.ctry), a.r-pic:hover img:not(.ctry), .clip:hover img { transform: scale(1.04); }
.plate { display: grid; place-items: center; height: 100%; color: var(--plate-ink); }
.lead-pic .plate { position: absolute; inset: 0; }
/* A saved clip: a bigger play button over the picture says it plays here; once pressed, the player takes the picture's box. */
:has(> .clip-mark[data-video]) { position: relative; cursor: pointer; }
:has(> .clip-mark[data-video])::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgb(0 0 0 / .45) 0 34px, transparent 35px); }
:has(> .clip-mark[data-video])::before { content: ""; position: absolute; left: 50%; top: 50%; z-index: 2; margin: -14px 0 0 -9px; pointer-events: none;
  border-style: solid; border-width: 14px 0 14px 24px; border-color: transparent transparent transparent #fff; }
.is-playing video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.clip-mark { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 7px 3px 5px; border-radius: 4px; background: rgb(8 10 6 / .84); color: #fff; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }

/* what backs a story */
.backing { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.backing.is-official { color: var(--india-green); font-weight: 600; }
.dots { display: inline-flex; gap: 3px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); opacity: .45; }
.dots i.on { background: var(--mast-accent); opacity: 1; }
.is-official .dots i.on { background: var(--india-green); }

/* alerts: one line until something fires, then the whole bar */
.watch-bar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px 16px; margin: 6px 0 12px; padding: 4px 0; border-bottom: 1px solid var(--line); }
.watch-bar:has(#list li) { grid-template-columns: minmax(0, 1fr) auto; padding: 10px 14px; background: var(--surface); border: 1px solid var(--war); border-radius: var(--radius-lg); }
.watch-bar:has(#list li) .alert-slot { grid-column: 1 / -1; grid-row: 2; }
.watch-bar:has(#list li) .slot-tools { grid-column: 2; grid-row: 1; }
.watch-bar .check-conn { display: block; padding: 0; }
.watch-bar .conn { font-size: 13px; font-weight: 500; white-space: nowrap; }
.watch-bar .conn .radar { display: none; }
.alert-slot { min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.front .slot-title { font: 500 13px/1.3 var(--font-sans); color: var(--muted); }
.slot-empty { font-size: 13px; }
.slot-empty strong { color: var(--ink-2); font-weight: 500; }
.alert-slot .list { flex-basis: 100%; margin: 4px 0; }
.alert-slot .list:empty { display: none; }
.slot-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.tool { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 9px; background: transparent; color: var(--muted); border: 0; border-radius: var(--radius); font: 500 13px/1 var(--font-sans); cursor: pointer; touch-action: manipulation; transition: background .15s, color .15s; }
.tool:hover { background: var(--surface-2); color: var(--ink); }
.tool[data-state="on"] { color: var(--accent); }
.front .utc-switch { font-size: 13px; color: var(--muted); border: 0; background: transparent; padding: 0 4px; }

/* the lead: a very large headline across the page, then the picture beside how each side reports it */
.lead-deck { margin-bottom: 40px; }
@media (max-height: 720px) and (min-width: 1101px) { .lead-text { display: none; } .deck-tab-head { -webkit-line-clamp: 1; } .sides > li { padding: 5px 0; } .front a.side-link { -webkit-line-clamp: 1; } }
.deck-slides { display: grid; }
.lead-story { grid-area: 1 / 1; min-width: 0; visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .55s ease, visibility 0s linear .55s; }
.lead-story.is-on { visibility: visible; opacity: 1; pointer-events: auto; transition: opacity .55s ease; }
.deck-label { padding: 4px 10px; background: var(--mast-accent); border-radius: 3px; color: #1c1003; font: 700 13px/1 var(--font-sans); }
.deck-label.is-latest { background: var(--india-green); color: #fff; }
.deck-controls { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: start; margin-top: 12px; }
.deck-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.deck-tab { min-width: 0; display: grid; gap: 5px; align-content: start; padding: 0 0 4px; background: transparent; border: 0; color: var(--muted); font: inherit; text-align: left; cursor: pointer; touch-action: manipulation; transition: color .2s; }
.deck-tab:hover, .deck-tab.is-on { color: var(--ink); }
.deck-bar { display: block; height: 3px; overflow: hidden; background: var(--line); border-radius: 2px; }
.deck-bar i { display: block; height: 100%; background: var(--mast-accent); transform: scaleX(0); transform-origin: left; }
.deck-tab-label { font-size: 12px; font-weight: 600; color: var(--accent); }
.deck-tab-label.is-latest { color: var(--india-green); }
.deck-tab-head { font-size: 13.5px; line-height: 1.3; font-weight: 500; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.deck-pause { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 10px; background: transparent; border: 1px solid var(--line-strong); border-radius: 15px; color: var(--ink-2); font: 500 13px/1 var(--font-sans); cursor: pointer; transition: background .15s; }
.deck-pause:hover { background: var(--surface-2); }
.deck-pause .i-play { display: none; }
.deck-pause[aria-pressed="true"] .i-play { display: inline; }
.deck-pause[aria-pressed="true"] .i-pause { display: none; }
.lead-story.is-on .lead-pic img:not(.ctry) { animation: deck-drift 11s ease-out both; }
.lead-story.is-on .lead-head, .lead-story.is-on .lead-sides { animation: deck-in .7s var(--ease-out) both; }
.lead-story.is-on .lead-sides { animation-delay: .08s; }
@keyframes deck-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes deck-drift { from { transform: scale(1.05); } to { transform: none; } }
.lead-line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin: 0 0 6px; font-size: 14px; }
.front h2.lead-title { max-width: 40ch; font: 700 clamp(32px, min(3.7vw, 6.6vh), 62px)/1 var(--font-serif); letter-spacing: -.005em; text-wrap: balance; }
.first-report { font-size: 13px; font-weight: 500; color: var(--muted); }
/* owner 2026-11-21: a story already out elsewhere stays in the feed, marked, and links to the first report */
.old-news { font-size: 12px; font-weight: 600; color: var(--ink-2); background: var(--sunken); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 1px 7px; text-decoration: none; }
.old-news:hover { border-color: var(--ink-2); }
.lead-title a { background-size: 0 3px; }
.lead-title a:hover { background-size: 100% 3px; }
.lead-body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; margin-top: 12px; align-items: stretch; }
.lead-pic { min-width: 0; aspect-ratio: 16 / 9; max-height: 62vh; }
/* the whole picture always shows, whatever its shape; a blurred copy fills what is left of the frame */
.lead-pic img:not(.ctry) { position: absolute; inset: 0; }
.lead-pic img.pic-main { object-fit: contain; }
.lead-story.is-on .lead-pic img.pic-back { animation: none; }
.lead-pic img.pic-back, a.lead-pic:hover img.pic-back { object-fit: cover; filter: blur(26px) brightness(.5); transform: scale(1.2); }
.lead-sides { min-width: 0; }
.lead-text { margin: 0 0 10px; font-size: 15.5px; line-height: 1.4; color: var(--ink-2); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.front h3.sides-title { margin: 0 0 2px; font: 700 20px/1.1 var(--font-serif); color: var(--accent); }
.sides { margin: 0; padding: 0; list-style: none; }
.sides > li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; padding: 8px 0; border-top: 1px solid var(--line); }
.sides > li:first-child { border-top: 0; }
.side-who { display: flex; flex-wrap: wrap; gap: 2px 8px; margin: 0 0 3px; font-size: 13px; font-weight: 600; color: var(--ink); }
.side-who span { font-weight: 400; color: var(--muted); }
.front a.side-link { font-size: 14px; line-height: 1.3; font-weight: 500; color: var(--ink-2); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.front a.side-link:hover { color: var(--accent); }
/* Owner 2026-11-20: how outlets tell one story; the words the other headlines do not use are underlined, never judged */
.told-list { margin: 0; padding: 0; list-style: none; }
.told-list > li { padding: 8px 0; border-top: 1px solid var(--line); }
.told-list > li:first-child { border-top: 0; }
.told-list .side-who { display: block; margin: 0 0 2px; font-size: 12px; color: var(--accent); }
.front .told-list a.side-link { -webkit-line-clamp: 3; }
mark.told { background: none; color: inherit; text-decoration: underline 2px var(--accent); text-underline-offset: 3px; text-decoration-skip-ink: none; }
.side-none { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
/* wide screens: the picture stands beside the story at its own 16:9 shape and takes the height the screen has left */
@media (min-width: 1101px) {
  .lead-story { --pic-w: min(calc(clamp(240px, calc(100vh - 255px), 600px) * 16 / 9), 52vw); display: grid; grid-template-columns: var(--pic-w) minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 32px; align-items: start; }
  .lead-body { display: contents; }
  .lead-pic { grid-column: 1; grid-row: 1 / span 2; width: 100%; max-height: none; }
  .lead-head { grid-column: 2; grid-row: 1; }
  .lead-sides { grid-column: 2; grid-row: 2; margin-top: 12px; }
  .front h2.lead-title { max-width: none; font-size: clamp(28px, min(2.7vw, 5.4vh), 52px); }
}

/* India's desks */
/* Top news: what most outlets carried in the last hours, turning like the Latest slider above it. */
.top-news { margin-bottom: 44px; }
.top-news .band-head { justify-content: flex-start; align-items: baseline; }
.top-sub { margin: 0; color: var(--muted); font-size: 14px; }
.top-news .lead-deck { margin-bottom: 0; }

/* From Telegram: defence posts from the channels, each marked by how it stands against the press */
.tg-band { margin-bottom: 44px; }
.tg-band .band-head h2 { display: inline-flex; align-items: center; gap: 8px; }
.tg-ico { color: var(--accent); }
.tg-band > .top-sub { margin: -6px 0 14px; }
/* every card the same shape: a square picture (or the channel mark) on the left, the post beside it, rows lined up at the top */
.tg-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); align-items: stretch; gap: 0 28px; }
.tg-card { min-width: 0; display: grid; grid-template-columns: 96px minmax(0, 1fr); align-content: start; column-gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.tg-card > :not(.tg-pic) { grid-column: 2; }
.tg-text { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.tg-pic { grid-column: 1; grid-row: 1; display: block; position: relative; width: 96px; height: 96px; overflow: hidden; border-radius: var(--radius-lg); background: var(--sunken); }
.tg-pic img:not(.ctry) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tg-pic .tg-mark { display: grid; place-items: center; height: 100%; color: var(--muted); }
.tg-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0; font-size: 13px; color: var(--muted); }
.tg-channel { font-weight: 600; color: var(--ink); }
.front h3.tg-title { margin: 0; font: 600 17px/1.32 var(--font-sans); }
.tg-title a { color: inherit; text-decoration: none; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.tg-title a:hover { text-decoration: underline; }
.tg-tag { display: inline-flex; align-items: center; gap: 5px; margin: 2px 0 0; padding: 3px 9px; border-radius: 3px; font-size: 12.5px; font-weight: 600; line-height: 1.3; }
.tg-tag.is-ahead { background: var(--india-green); color: #fff; }
.tg-tag.is-later { border: 1px solid var(--line-strong); color: var(--ink-2); }
.tg-tag.is-unverified { border: 1px dashed var(--muted); color: var(--muted); }
.tg-press { margin: 0; font-size: 13px; }

.desks { margin-bottom: 44px; }
/* Every card is the same width (a gap, not edge padding), so every picture is the same size; the cards share rows
   (subgrid), so name, picture, headline, outlets line and list start at the same height across the row. */
.desk-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 32px; margin: 0; padding: 0; list-style: none; border-top: 3px solid var(--ink); }
.desk-row.is-world { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 26px; } /* Live: the world's six regions */
.desk-row.is-world .desk-card::before { left: -13px; }
.desk-card { position: relative; min-width: 0; display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 9px; align-content: start; padding: 12px 0 6px; }
.desk-card::before { content: ""; position: absolute; top: 0; bottom: 0; left: -16px; border-left: 1px solid var(--line); }
.desk-card:first-child::before { display: none; }
.front a.desk-name { display: inline-flex; align-items: center; gap: 8px; font: 700 23px/1.1 var(--font-serif); color: var(--ink); }
.desk-ico { flex: none; color: var(--accent); transition: transform .35s var(--ease-out); }
.front a.desk-name:hover { color: var(--accent); }
.front a.desk-name:hover .desk-ico { transform: translateY(-2px); }
.desk-pic { aspect-ratio: 16 / 10; }
.front h3.desk-top { font: 700 21px/1.12 var(--font-serif); }
.desk-meta { margin: 0; }
.desk-more { margin: 0; padding: 0; list-style: none; }
.desk-more li { padding: 8px 0; border-top: 1px solid var(--line); }
.front .desk-item { margin: 0; font-size: 14px; line-height: 1.35; font-weight: 500; }
.desk-quiet { margin: 0; font-size: 14px; color: var(--muted); }

/* same story, different sides */
.sides-band { margin-bottom: 44px; padding: 24px 26px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.band-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin: 0; padding: 0; list-style: none; }
.band-card { min-width: 0; display: grid; gap: 8px; align-content: start; }
.band-flags { display: flex; margin: 0; }
.band-flags img + img { margin-left: -6px; }
.front h3.band-title { font: 700 23px/1.12 var(--font-serif); }
.band-sides { margin: 2px 0 0; padding: 0; list-style: none; }
.band-sides li { padding: 8px 0; border-top: 1px solid var(--line); }
.band-sides .side-who { display: block; margin-bottom: 2px; font-size: 12px; color: var(--accent); }
.front .band-sides a { font-size: 14px; line-height: 1.35; color: var(--ink-2); }
.front .band-sides a:hover { color: var(--accent); }

/* strips slide sideways and settle on a card */
.strip-block { margin-bottom: 44px; }
/* A card is a sixth of the row at most: with one clip (the India page at night) a 1fr column filled the whole width. */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, calc((100% - 80px) / 6)); gap: 16px; margin: 0; padding: 0 0 10px; list-style: none; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; overscroll-behavior-x: contain; }
.strip-card { min-width: 0; display: grid; gap: 7px; align-content: start; scroll-snap-align: start; }
.strip-pic { aspect-ratio: 16 / 10; }
.strip-meta { display: flex; align-items: center; gap: 5px; margin: 0; }
.strip-meta .stamp { margin-left: 4px; }
.strip-meta .place-name { font-size: 12px; color: var(--muted); }
.front h3.strip-title { font: 700 20px/1.14 var(--font-serif); }
.clip { display: grid; gap: 7px; align-content: start; }
.clip-cap { font-size: 14px; line-height: 1.3; font-weight: 500; color: var(--ink); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; transition: color .16s; }
.front a.clip:hover .clip-cap { color: var(--accent); }
.clip .stamp { display: block; }

/* the feed: a timeline, not a stack of boxes */
.desk-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; align-items: start; }
.feed { min-width: 0; }
.new-pill { display: inline-block; margin: 0 0 10px; padding: 5px 12px; background: var(--accent); border-radius: var(--radius); font-size: 14px; font-weight: 600; }
.front a.new-pill { color: var(--accent-ink); }
.new-pill[hidden] { display: none; }
.topic-tabs { position: sticky; top: 58px; z-index: 3; display: flex; gap: 2px; margin: 0 0 6px; padding: 8px 0; overflow-x: auto; scrollbar-width: none; background: var(--bg); overscroll-behavior: contain; }
.topic-tabs a { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border-radius: 16px; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: background .18s, color .18s; }
.topic-tabs a:hover { background: var(--surface-2); color: var(--ink); }
.topic-tabs a[aria-current="true"] { background: var(--ink); color: var(--bg); font-weight: 600; }
.topic-tabs a[aria-current="true"] .n { color: inherit; opacity: .7; }
.n { font-size: 13px; font-weight: 400; color: var(--muted); font-variant-numeric: tabular-nums; }

.reports { margin: 0; padding: 0; list-style: none; }
.report { position: relative; display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 26px; padding: 18px 0; }
.report::before { content: ""; position: absolute; left: 91px; top: 0; bottom: 0; width: 1px; background: var(--line); }
.report::after { content: ""; position: absolute; left: 87px; top: 25px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2px var(--line-strong); transition: background .2s, box-shadow .2s; }
.report:hover::after { background: var(--mast-accent); box-shadow: inset 0 0 0 2px var(--mast-accent); }
.report[data-tier="official"]::after, .report[data-tier="primary"]::after { box-shadow: inset 0 0 0 2px var(--india-green); }
.r-time { margin: 2px 0 0; display: grid; gap: 2px; align-content: start; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.r-time time { color: var(--ink); }
.r-time .ago { font-size: 12.5px; font-weight: 400; color: var(--muted); }
.r-time .ago::before, .r-time .ago::after { content: none; }
.r-time .t-utc { font-size: 12px; font-weight: 400; color: var(--muted); }
.r-main { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: start; }
.r-text { min-width: 0; display: grid; gap: 6px; }
.r-line { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 14px; margin: 0; }
.kicker { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin: 0; font-size: 13px; color: var(--muted); }
.kicker .src { color: var(--ink-2); font-weight: 500; }
.front h3.r-title { font: 700 27px/1.08 var(--font-serif); text-wrap: pretty; }
.r-body { margin: 0; max-width: 74ch; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.r-pic { width: 210px; height: 132px; }
.r-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 3px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.front .chips li { padding: 0; background: transparent; border: 0; }
.front a.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 0 10px 0 5px; background: var(--surface-2); border-radius: 13px; font: 500 13px/1 var(--font-sans); color: var(--ink-2); transition: background .16s, color .16s; }
.front a.chip:hover { background: var(--tint-accent); color: var(--accent); }
.chip-ico { flex: none; margin-left: 2px; }
.front a.r-source { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 500; color: var(--muted); }
.front a.r-source:hover { color: var(--accent); }
/* Who stands behind a source: a plain outlined label, so it reads as a fact about the source, not a warning. */
.affil { display: inline-block; margin: 0 6px; padding: 0 6px; border: 1px solid var(--line); border-radius: 3px;
  font: 500 11.5px/1.6 var(--font-sans); font-style: normal; color: var(--ink-2); white-space: nowrap; }
.side-who .affil { margin: 0 0 0 6px; }
.more { margin: 18px 0 0 104px; }
.blank { padding: 28px 0; font-size: 16px; color: var(--ink-2); }

/* side column: quiet lists, no boxes */
.front .live-side { display: grid; gap: 26px; position: static; grid-column: auto; grid-row: auto; }
.side-block { padding: 0; background: transparent; border: 0; border-radius: 0; }
.front .side-block h2 { margin: 0 0 8px; padding-top: 10px; border-top: 3px solid var(--ink); font: 700 23px/1.15 var(--font-serif); }
.h-note { font: 400 13px/1 var(--font-sans); color: var(--muted); margin-left: 4px; }
.rank { margin: 0; padding: 0; list-style: none; }
.rank a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 36px; padding: 4px 0; border-top: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink); transition: color .16s, padding .22s var(--ease-out); }
.rank a:hover { color: var(--accent); padding-left: 5px; }
.rank a.is-on { color: var(--accent); font-weight: 600; }
.rank-name { display: inline-flex; align-items: center; gap: 9px; }
.side-news { margin: 0; padding: 0; list-style: none; }
.side-news li { padding: 8px 0; border-top: 1px solid var(--line); }
.front .side-title { margin: 0 0 2px; font: 500 15px/1.3 var(--font-sans); }
.side-note { margin: 0; font-size: 13px; line-height: 1.45; color: var(--muted); }
.fold { border-top: 1px solid var(--line); }
.fold summary { cursor: pointer; padding: 9px 0; font-size: 14px; font-weight: 600; }
.fold .legend { display: block; margin: 0 0 8px; font-size: 14px; }
.fold .legend dt { margin-top: 10px; font-weight: 600; }
.fold .legend dd { margin: 4px 0 0; line-height: 1.45; color: var(--ink-2); }
.fold .stub-list { display: grid; gap: 6px; margin: 0 0 8px; padding: 0; list-style: none; font-size: 14px; }

/* Defence startups: one list from every country on Live (India's alone on the India page), two columns wide, and a section of their own */
.startups-band { margin-bottom: 44px; }
.startup-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; margin: 0; padding: 0; list-style: none; border-top: 3px solid var(--ink); }
.startup-place { display: inline-flex; align-items: center; gap: 5px; vertical-align: -3px; }
.startup-item { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); }
.startup-item > div { min-width: 0; }
.startup-item .r-pic { flex: none; width: 112px; height: 74px; border-radius: var(--radius); }
.front .startup-title { margin: 0 0 5px; font: 700 20px/1.15 var(--font-serif); }
.front .startup-title a { color: var(--ink); }
.front .startup-title a:hover { color: var(--accent); }
.startup-note { margin: 2px 0 10px; color: var(--muted); font-size: 13px; }

/* One story: every report of it in order, and how each side carried it */
.story-link { font-size: 13px; font-weight: 600; white-space: nowrap; }
.front.story-page .page-head { position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; margin: 26px 0 14px; }
.story-page .page-eyebrow, .story-page .lede { display: none; }
.story-page h1.page-title { max-width: 26ch; font: 700 clamp(32px, 5vw, 56px)/1.03 var(--font-serif); }
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; margin-bottom: 40px; }
.story-line { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 10px; }
.story-first { margin: 0 0 12px; font-size: 15px; color: var(--ink-2); }
.story-text { margin: 0 0 16px; font-size: 17px; line-height: 1.5; }
.story-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 16px; }
.story-pic { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--plate); border-radius: var(--radius-lg); }
.story-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.story-block { margin-bottom: 40px; padding-top: 14px; border-top: 3px solid var(--ink); }
.story-block h2 { margin: 0 0 12px; font: 700 28px/1.1 var(--font-serif); }
.story-timeline { margin: 0 0 12px; padding: 0; list-style: none; }
.story-timeline li { position: relative; padding: 0 0 18px 22px; border-left: 2px solid var(--line-strong); }
.story-timeline li::before { content: ""; position: absolute; left: -6px; top: 6px; width: 10px; height: 10px; background: var(--bg); border: 2px solid var(--line-strong); border-radius: 50%; }
.story-timeline li.is-first::before { background: var(--accent); border-color: var(--accent); }
.story-timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.story-timeline p { margin: 0; }
.tl-when { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.tl-tag { padding: 1px 8px; background: var(--accent); color: var(--accent-ink); border-radius: var(--radius); font-weight: 600; }
.tl-gap { font-weight: 600; color: var(--ink-2); }
.story-timeline .tl-who { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 4px; font-weight: 600; }
.tl-who span { color: var(--muted); font-size: 13px; font-weight: 400; }
.story-timeline .tl-head { margin-top: 3px; font-size: 16px; }
.story-page .tl-head a, .story-related a { color: var(--ink); }
.story-page .tl-head a:hover, .story-related a:hover { color: var(--accent); }
.story-related { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 760px) {
  .story { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .story-pic { order: -1; }
}

/* Companies screen */
.company-block { margin: 0 0 34px; }
.company-block h2 { margin: 0 0 12px; }
.company-block .tbl { min-width: 0; }
.company-seen { margin: 6px 0 0; padding: 0; list-style: none; font-size: 13px; }
.company-seen li { margin-top: 4px; }
.company-acts { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px; }
.company-block a { color: var(--accent); }
.company-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }
.company-unsure { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.company-fix summary { cursor: pointer; font-size: 13px; }
.company-fix form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; margin-top: 8px; }
.company-gone { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.company-gone li { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* Filters and "Show 30 more" change this part of the Live page in place; the bar shows only when the server takes a moment. */
#stories { display: contents; }
@keyframes fetching { from { transform: scaleX(.05); } to { transform: scaleX(.9); } }
html.is-fetching body::after { content: ""; position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: 3px; background: var(--accent); transform-origin: left; animation: fetching 1.6s var(--ease-out) .15s both; }

/* motion: pages cross-fade, and reports rise gently as they scroll in */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .2s; }
@keyframes rise { from { opacity: .15; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@supports (animation-timeline: view()) {
  .report, .desk-card, .band-card { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(.front) { scroll-behavior: auto; }
  html.is-fetching body::after { animation: none; }
  .sig-list, .report, .desk-card, .band-card { animation: none; }
  .deck-tab.is-on .deck-bar i { transform: scaleX(1); }
  .lead-story.is-on .lead-pic img:not(.ctry), .lead-story.is-on .lead-head, .lead-story.is-on .lead-sides { animation: none; }
  .deck-pause { display: none; }
  .sig-run { overflow-x: auto; }
  .front *, .cmd-rail * { transition-duration: .01ms; }
  @view-transition { navigation: none; }
}

@media (max-width: 1340px) {
  .desk-row, .desk-row.is-world { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 24px; }
  .desk-card:nth-child(3n+1)::before { display: none; }
  .band-row { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .cmd-rail .nav > a, .cmd-rail .nav .nav-menu > a, .nav-menu-label { padding: 0 8px; font-size: 13.5px; }
  .cmd-rail .nav > a::before, .cmd-rail .nav .nav-menu > a::before { left: 8px; right: 8px; }
}
@media (max-width: 1100px) {
  :root { --chrome-h: 150px; }
  .cmd-rail { position: relative; flex-wrap: wrap; gap: 0 14px; padding: 10px 16px 3px; }
  .mast-search { order: 2; margin-left: auto; }
  .cmd-rail .nav { order: 3; flex: 0 0 100%; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
  .cmd-rail .nav > a, .cmd-rail .nav .nav-menu > a, .nav-menu-label { min-height: 42px; }
  /* no hover here, so the drop-down links join the sideways row: main screens first, then regions, then the desk tools */
  .nav-menu, .nav-drop, .nav-drop li { display: contents; }
  .nav-menu-label, .nav-caret, .nav-drop .nav-ico { display: none; }
  .mast-search { margin: 0 0 0 auto; height: 36px; }
  /* owner 2026-11-21: on a phone the bar folds behind a menu button (a checkbox, no script); opened, it lists the kinds
     of page, then places with their desks and countries */
  .nav-toggle { order: 2; display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; padding: 0;
    border: 1px solid var(--mast-line); border-radius: var(--radius); background: transparent; color: var(--mast-ink); cursor: pointer; }
  .nav-check:checked + .nav-toggle { border-color: var(--mast-accent); }
  .nav-check:focus-visible + .nav-toggle { outline: 2px solid var(--mast-accent); outline-offset: 2px; }
  .nav-check:not(:checked) ~ .nav { display: none; }
  .cmd-rail .nav { flex-basis: calc(100% + 32px); margin: 0 -16px; padding: 0 5px; }
  .nav-check:checked ~ .nav { position: absolute; top: 100%; left: 0; right: 0; z-index: 30; flex-direction: column; align-items: stretch; margin: 0;
    max-height: calc(100dvh - 110px); overflow: hidden auto; padding: 6px 16px 18px; background: var(--rail); border-bottom: 1px solid var(--mast-line); }
  .nav-check:checked ~ .nav .nav-menu { display: block; }
  .nav-check:checked ~ .nav > a, .nav-check:checked ~ .nav .nav-menu > a { min-height: 44px; padding: 0; }
  .nav-check:checked ~ .nav > a::before, .nav-check:checked ~ .nav .nav-menu > a::before { left: 0; right: auto; width: 24px; bottom: 6px; }
  .nav-check:checked ~ .nav .nav-drop.is-places { display: flex; flex-wrap: wrap; gap: 0 14px; position: static; min-width: 0; padding: 0 0 10px; border: 0; background: none; visibility: visible; opacity: 1; transform: none; }
  .nav-check:checked ~ .nav .nav-drop.is-places a { min-height: 32px; padding: 0; font-size: 14px; color: var(--mast-muted); }
  .nav-check:checked ~ .nav .nav-gap { display: block; flex: none; align-self: stretch; height: 1px; margin: 8px 0; border: 0; background: var(--mast-line); }
  .nav-check:not(:checked) ~ .nav .nav-drop.is-places { display: none; }
  .nav-check:checked ~ .nav .nav-kind { order: -2; } /* on a phone the kinds of page come first, the long list of places after */
  .nav-check:checked ~ .nav .nav-gap { order: -1; }
  .nav-menu .nav-drop a { order: 1; }
  .nav-menu-end .nav-drop a { order: 2; }
  .cmd-rail .nav .nav-drop a { flex: none; min-height: 42px; padding: 0 8px; border-radius: 0; font-size: 13.5px; color: var(--mast-muted); }
  .cmd-rail .nav .nav-drop a[aria-current="page"] { color: var(--mast-ink); font-weight: 600; }
  .nav-gap { display: none; }
  .topic-tabs { top: 0; }
  .lead-body, .desk-grid { grid-template-columns: minmax(0, 1fr); }
  .signal-strip, .status-bar { padding-left: 16px; padding-right: 16px; }
  .desk main:not(.map-full) { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 820px) {
  .desk-row, .desk-row.is-world { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .desk-card:nth-child(even)::before { display: block; }
  .desk-card:nth-child(odd)::before { display: none; }
}
@media (max-width: 640px) {
  .watch-bar { grid-template-columns: minmax(0, 1fr); }
  .sig-tag { display: none; }
  .sig-clock { padding-left: 0; border-left: 0; }
  /* owner 2026-11-21: on focus the box grew to 300px and fell to its own line; on a phone it fills what the logo leaves */
  /* owner 2026-11-21: beside the menu button the box had no room; on a phone it is an icon that opens across the bar */
  .mast-search, .mast-search:focus-within { position: relative; flex: none; width: 40px; min-width: 0; height: 40px; padding: 0; justify-content: center; }
  .mast-search input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
  .mast-search:focus-within { position: absolute; top: 0; bottom: 3px; left: 0; right: 0; z-index: 5; width: auto; height: auto; padding: 0 16px; border: 0; border-radius: 0; justify-content: flex-start; background: var(--rail); }
  .mast-search:focus-within input { position: static; opacity: 1; cursor: text; }
  .mast-search input { font-size: 16px; } /* below 16px, iPhones zoom the whole page on focus */
  .status-bar .sb-tele { display: flex; }
  .status-bar .sb-item, .status-bar .sb-item:first-child, .status-bar .sb-item:nth-child(n+4), .status-bar .sb-item:nth-child(3), .status-bar .sb-item:nth-child(even) {
    flex-direction: row; align-items: baseline; padding: 0; border: 0; grid-column: auto; }

  /* The phone front page: stories first. The ticker repeats the feed and costs a line of a small screen. */
  .front .signal-strip { display: none; }
  .watch-bar, .watch-bar:has(#list li) { grid-template-columns: minmax(0, 1fr) auto; gap: 0 10px; margin: 4px 0 8px; padding: 2px 0; }
  .watch-bar:has(#list li) { padding: 8px 10px; }
  .watch-bar .alert-slot { grid-column: 1; grid-row: 1; }
  .watch-bar .check-conn { grid-column: 2; grid-row: 1; }
  .watch-bar .slot-tools, .watch-bar:has(#list li) .slot-tools { grid-column: 1 / -1; grid-row: 2; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .watch-bar:has(#list li) .check-conn { grid-column: 1 / -1; grid-row: 1; }
  .watch-bar:has(#list li) .alert-slot { grid-column: 1 / -1; grid-row: 3; }
  .slot-tools > * { flex: none; }
  #notify { display: none; } /* Android browsers refuse page notifications without a service worker, so the button would promise nothing */

  /* The lead: progress above a full-width picture, then the story. Swipe moves between stories. */
  .lead-deck { display: flex; flex-direction: column; margin-bottom: 28px; }
  .deck-controls { order: -1; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; margin: 0; }
  .deck-tabs { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; }
  .deck-tab { display: flex; align-items: center; min-height: 40px; padding: 0; }
  .deck-bar { flex: 1; }
  .deck-tab-label, .deck-tab-head, .deck-pause-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .deck-pause { justify-content: center; width: 40px; min-height: 40px; padding: 0; border: 0; }
  .deck-slides { touch-action: pan-y; }
  .lead-story { display: flex; flex-direction: column; }
  .lead-body { display: contents; }
  .lead-pic { order: -1; width: auto; margin: 0 -16px 12px; border-radius: 0; max-height: none; }
  .front h2.lead-title { max-width: none; font-size: clamp(23px, 6.8vw, 27px); line-height: 1.06; }
  .lead-line { gap: 3px 10px; font-size: 13px; }
  .lead-text { display: none; }
  /* owner 2026-11-21: slides share one height, so a slide with "How outlets tell it" left a gap under every other one;
     on a phone the lead is picture and headline only, and the told band below carries the tellings */
  .lead-sides { display: none; }

  /* Bands that would stack for screens on end become rows to swipe; the next card shows at the edge to say so. */
  .desk-row, .desk-row.is-world, .band-row { grid-template-columns: none; grid-auto-flow: column; gap: 16px; margin: 0 -16px; padding: 12px 16px 8px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding: 0 16px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .desk-row { grid-auto-columns: 82%; }
  .band-row { grid-auto-columns: 86%; padding-top: 0; }
  .desk-card { padding: 0; scroll-snap-align: start; }
  .desk-card::before, .desk-card:nth-child(even)::before { display: none; }
  .band-card { scroll-snap-align: start; }
  .desk-card, .band-card { animation: none; } /* the scroll-linked rise reads the sideways scroller here and would stick half faded */
  .desk-more li:nth-child(n+3) { display: none; }
  .desks, .sides-band, .strip-block, .startups-band { margin-bottom: 28px; }
  .startup-list { grid-template-columns: minmax(0, 1fr); }
  .startup-item .r-pic { order: 1; width: 108px; height: 76px; margin-left: auto; }
  .sides-band { padding: 0; background: transparent; border: 0; border-radius: 0; }
  .strip { grid-auto-columns: 74%; margin: 0 -16px; padding: 0 16px 8px; scroll-padding: 0 16px; }
  .front .band-head { flex-wrap: wrap; margin-bottom: 10px; }
  .front .band-head h2 { font-size: 21px; }

  /* Trending and official posts come before the feed; the longer lists wait below it. */
  .desk-grid { display: flex; flex-direction: column; align-items: stretch; gap: 24px; }
  .front .live-side { display: contents; }
  .side-block:has(#trend-h) { order: -2; min-width: 0; }
  .side-block:has(#official-h) { order: -1; }
  .side-block:has(#official-h) .side-news li:nth-child(n+4) { display: none; }
  .side-block:has(#trend-h) .rank { display: flex; gap: 8px; margin: 0 -16px; padding: 2px 16px 4px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
  .side-block:has(#trend-h) .rank li { flex: none; }
  .side-block:has(#trend-h) .rank a { min-height: 40px; padding: 0 12px; background: var(--surface-2); border: 0; border-radius: 20px; white-space: nowrap; }
  .side-block:has(#trend-h) .rank a:hover { padding-left: 12px; }
  .side-block:not(:has(#trend-h)) .rank li:nth-child(n+6) { display: none; }
  .rank a { min-height: 44px; }

  /* The feed: a tight list. Details line across the top, headline beside a small picture. */
  .report { grid-template-columns: minmax(0, 1fr); gap: 5px; padding: 14px 0; border-top: 1px solid var(--line); }
  .report::before, .report::after { display: none; }
  .r-time { display: flex; gap: 8px; align-items: baseline; margin: 0; font-size: 13px; }
  .r-main { grid-template-columns: minmax(0, 1fr) 108px; gap: 6px 12px; }
  .r-text { display: contents; }
  .r-line { grid-column: 1 / -1; gap: 2px 10px; }
  .front h3.r-title { grid-column: 1; font-size: 18px; line-height: 1.15; }
  .r-main:not(:has(.r-pic)) .r-title { grid-column: 1 / -1; }
  .r-body, .front a.r-source { display: none; }
  .r-pic { grid-column: 2; grid-row: 2; width: 108px; height: 76px; border-radius: var(--radius); }
  .clip-mark { left: 4px; bottom: 4px; padding: 2px 5px 2px 3px; }
  .r-foot { grid-column: 1 / -1; margin-top: 2px; }
  .r-foot:not(:has(.chips)) { display: none; }
  .chips li:nth-child(n+3) { display: none; }
  .more { margin-left: 0; }

  /* Owner's report 2026-11-20: letters too big on a phone. One smaller scale for every heading on the public pages. */
  .desk h1.page-title { font-size: 30px; }
  .story-page h1.page-title { font-size: clamp(24px, 7vw, 28px); }
  .story-block h2 { font-size: 21px; }
  .front .side-block h2 { font-size: 20px; }
  .front a.desk-name, .front h3.band-title { font-size: 19px; }
  .front h3.desk-top { font-size: 18px; }
  .front h3.strip-title, .front .startup-title, .front h3.sides-title { font-size: 17px; }
}
/* fingers need bigger targets than a mouse does */
@media (pointer: coarse) {
  .tool, .front .utc-switch, .topic-tabs a, .deck-pause, .story-actions .btn { min-height: 40px; }
  .front .utc-switch { display: inline-flex; align-items: center; }
  .front a.chip { min-height: 36px; border-radius: 18px; }
  .front .alert .btn.small { min-height: 40px; }
}
@media print { .front .watch-bar, .front .topic-tabs, .front .live-side, .signal-strip { display: none; } .desk-grid { display: block; } .cmd-rail { position: static; } }
