/* CONTEXT — «Сигнал редакции» (Editorial Signal Desk)
   Ink · paper · signal red · asymmetric desk composition */

@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=IBM+Plex+Sans:wght@400;500;600;700&family=Newsreader:opsz,wght@6..72,400;6..72,500;6..72,600;6..72,700&display=swap");

:root {
  --ink: #0A1220;
  --ink-soft: #243044;
  --muted: #5A6A7E;
  --paper: #E4E9F0;
  --paper-deep: #D5DCE6;
  --sheet: #F4F6FA;
  --line: #C9D1DC;
  --line-strong: #9AA8BA;
  --signal: #C1121F;
  --signal-soft: #F8E8E9;
  --navy: #123A5C;
  --navy-hover: #0C2A44;
  --navy-tint: #E4EEF6;
  --ok: #1B6B3A;
  --ok-soft: #E6F4EC;
  --warn: #9A5B00;
  --warn-soft: #F8EFDD;
  --bad: #A11C1C;
  --bad-soft: #F8E8E8;

  --bg: var(--paper);
  --surface: var(--sheet);
  --surface-subtle: #EEF1F6;
  --text: var(--ink);
  --text-muted: var(--muted);
  --border: var(--line);
  --primary: var(--navy);
  --primary-hover: var(--navy-hover);
  --primary-soft: var(--navy-tint);
  --success: var(--ok);
  --success-bg: var(--ok-soft);
  --warning: var(--warn);
  --warning-bg: var(--warn-soft);
  --danger: var(--bad);
  --danger-bg: var(--bad-soft);
  --info: var(--navy);
  --info-bg: var(--navy-tint);

  --radius: 2px;
  --radius-sm: 2px;
  --shadow: none;
  --sidebar-w: 168px;
  --font: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Newsreader", "Times New Roman", Georgia, serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --max: 1180px;
  --max-public: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text);
  background-color: var(--paper);
  background-image:
    linear-gradient(90deg, transparent 71px, rgba(154, 168, 186, 0.28) 71px, rgba(154, 168, 186, 0.28) 72px, transparent 72px),
    radial-gradient(circle at 1px 1px, rgba(10, 18, 32, 0.035) 1px, transparent 0);
  background-size: auto, 18px 18px;
  background-attachment: fixed;
  overflow-x: clip;
  max-width: 100vw;
}
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--signal); text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}
h1, h2, h3 {
  margin: 0 0 var(--space-3);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--ink);
}
h1 { font-size: clamp(1.75rem, 2.4vw, 2.35rem); font-weight: 600; }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.1rem; font-family: var(--font); font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0 0 var(--space-3); }
.muted { color: var(--text-muted); font-size: 13px; }
.tabular { font-variant-numeric: tabular-nums; font-family: var(--font-mono); font-size: 0.92em; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--signal);
  margin: 0 0 10px;
}
.kicker::before {
  content: "";
  width: 18px; height: 2px;
  background: var(--signal);
}
.rule {
  height: 1px; background: var(--line); border: 0; margin: var(--space-5) 0;
}
.rule-strong { height: 2px; background: var(--ink); }

/* ---------- Public shell ---------- */
.public-shell { min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); }
.public-header {
  background: var(--sheet);
  border-bottom: 3px solid var(--ink);
  position: sticky; top: 0; z-index: 20;
}
.public-header::after {
  content: "";
  display: block;
  height: 3px;
  background: var(--signal);
}
.public-header-inner {
  max-width: var(--max-public);
  margin: 0 auto;
  padding: 18px 24px 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px 24px;
  align-items: end;
}
.brand {
  display: flex; flex-direction: column; gap: 4px;
  color: var(--ink); text-decoration: none; font-weight: 700;
  min-width: 0;
}
.brand:hover { text-decoration: none; color: var(--ink); }
.brand-name {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand-name .bs { color: var(--signal); }
.brand-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: uppercase;
}
.public-nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.public-nav a:not(.btn) {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  overflow: hidden;
}
.lang-switch a {
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--muted);
  background: var(--sheet);
}
.lang-switch a.active {
  background: var(--ink);
  color: #fff;
}
.lang-switch a:hover { text-decoration: none; }
.public-main {
  flex: 1;
  max-width: var(--max-public);
  width: 100%;
  margin: 0 auto;
  padding: 28px 24px 56px;
  min-width: 0;
}
.public-footer {
  border-top: 1px solid var(--line);
  padding: 18px 24px 28px;
  text-align: left;
  max-width: var(--max-public);
  margin: 0 auto;
  width: 100%;
  color: var(--muted);
  font-size: 12px;
  font-family: var(--font-mono);
}

/* Public reader — Telegram-style post */
.reader-post { max-width: 560px; margin: 0 auto; min-width: 0; }
.reader-back { margin-bottom: 16px; }
.reader-tg .tg-preview {
  min-height: 0;
  padding: 20px 16px;
}
.reader-tg .tg-bubble {
  font-size: 15.5px;
  line-height: 1.5;
  padding: 16px 18px;
  border-radius: 12px 12px 4px 12px;
}

/* Public news feed + article (editorial news layout) */
.feed-head {
  margin-bottom: 8px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--ink);
}
.feed-head h1 {
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  line-height: 1.08;
  margin: 0;
  max-width: 18ch;
}
.story-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 8px;
}
.story-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  min-width: 0;
  align-items: start;
}
.story-item.has-thumb {
  grid-template-columns: 140px minmax(0, 1fr);
}
.story-thumb {
  width: 140px;
  height: 88px;
  overflow: hidden;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.story-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.story-item-body { min-width: 0; }
.story-item:hover { text-decoration: none; color: inherit; }
.story-item:hover .story-item-title { color: var(--signal); }
.story-item-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 10px;
}
.story-item-meta time {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}
.story-item-title {
  font-family: var(--font);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.story-cat {
  display: inline-block;
  background: var(--signal);
  color: #fff;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
  line-height: 1.2;
}
.story-region {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.story-article {
  max-width: 720px;
  margin: 0 auto;
  min-width: 0;
  padding: 8px 0 48px;
}
.story-back {
  margin: 0 0 20px;
  font-size: 13px;
  font-weight: 600;
}
.story-header { margin-bottom: 28px; }
.story-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 16px;
}
.story-time {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}
.story-title {
  font-family: var(--font);
  font-size: clamp(1.75rem, 4.5vw, 2.55rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 16px;
  overflow-wrap: anywhere;
}
.story-dek {
  font-size: 1.15rem;
  line-height: 1.45;
  color: var(--ink-soft);
  font-style: italic;
  margin: 0;
  max-width: 40em;
}
.story-hero {
  margin: 0 0 28px;
  border: 1px solid var(--line);
  background: var(--paper-deep);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  max-height: 360px;
  width: 100%;
}
.story-hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.story-body {
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--ink);
}
.story-body p {
  margin: 0 0 1.15em;
  max-width: 40em;
}
.story-body p:last-child { margin-bottom: 0; }

/* Public masthead / digest layout */
.masthead {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.7fr);
  gap: 28px 40px;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 2px solid var(--ink);
}
.masthead-copy h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  margin: 0 0 12px;
  max-width: 16ch;
}
.masthead-copy .lead {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 42ch;
  margin: 0;
  line-height: 1.45;
}
.masthead-aside {
  border-left: 1px solid var(--line);
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: flex-end;
}
.masthead-stat {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  align-items: baseline;
}
.masthead-stat .num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
}
.masthead-stat .lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.method-rail {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px 24px;
  padding: 18px 0 22px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.method-rail h2 {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.method-rail p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  max-width: 62ch;
}
.digest-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 0 32px;
  align-items: start;
}
.digest-lead { border-right: 1px solid var(--line); padding-right: 28px; }
.digest-stack { display: flex; flex-direction: column; }
.event-feature {
  padding: 8px 0 20px;
}
.event-feature h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin: 8px 0 12px;
  line-height: 1.15;
}
.event-feature h2 a { color: var(--ink); }
.event-feature h2 a:hover { color: var(--signal); }
.event-feature .event-summary {
  font-size: 1.05rem;
  line-height: 1.5;
  -webkit-line-clamp: 5;
}
.event-row {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.event-row:first-child { border-top: 0; padding-top: 4px; }
.event-row h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 6px 0 8px;
}
.event-row h3 a { color: var(--ink); }
.event-row h3 a:hover { color: var(--signal); }
.event-row .event-summary {
  font-size: 13.5px;
  -webkit-line-clamp: 2;
  color: var(--ink-soft);
}

/* Empty digest — editorial desk, not a void */
.desk-empty {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 28px;
  margin-top: 8px;
}
.desk-empty-main {
  padding: 4px 0;
}
.desk-empty-main h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  margin: 0 0 12px;
  max-width: 18ch;
}
.desk-empty-main p { color: var(--ink-soft); max-width: 40ch; }
.pipeline-preview {
  border: 1px solid var(--ink);
  background: var(--sheet);
  padding: 0;
}
.pipeline-preview .ph {
  padding: 10px 14px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--ink);
}
.pipeline-preview ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
.pipeline-preview li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-soft);
}
.pipeline-preview li:last-child { border-bottom: 0; }
.pipeline-preview li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--signal);
  padding-top: 2px;
}

/* ---------- Admin shell ---------- */
.admin-shell {
  min-height: 100vh;
  display: flex;
  background: var(--paper);
}
.sidebar {
  width: var(--sidebar-w);
  background: var(--ink);
  color: #D7DEE8;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  flex-shrink: 0;
}
.sidebar-brand {
  padding: 18px 14px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.sidebar-brand a {
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  display: block;
  line-height: 1.1;
}
.sidebar-brand a:hover { text-decoration: none; color: #fff; }
.sidebar-brand a .bs { color: #FF6B6B; }
.sidebar-brand .sub {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(215, 222, 232, 0.55);
}
.sidebar-nav {
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
}
.sidebar-nav a {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: center;
  gap: 6px;
  padding: 9px 10px;
  border-radius: 0;
  color: rgba(215, 222, 232, 0.72);
  font-weight: 500;
  font-size: 13px;
  text-decoration: none;
  border-left: 2px solid transparent;
}
.sidebar-nav a::before {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(215, 222, 232, 0.35);
}
.sidebar-nav a[href*="dashboard"]::before { content: "01"; }
.sidebar-nav a[href*="news"]::before,
.sidebar-nav a[href*="candidates"]::before { content: "02"; }
.sidebar-nav a[href*="publications"]::before { content: "03"; }
.sidebar-nav a[href*="sources"]::before { content: "04"; }
.sidebar-nav a[href*="training"]::before { content: "05"; }
.sidebar-nav a[href*="settings"]::before { content: "06"; }
.sidebar-nav a:hover {
  background: rgba(255,255,255,0.06);
  color: #fff;
  text-decoration: none;
}
.sidebar-nav a.active {
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-weight: 600;
  border-left-color: var(--signal);
}
.sidebar-nav a.active::before { color: #FF8A8A; }
.sidebar-footer {
  padding: 12px 14px 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tg-status {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px;
  font-family: var(--font-mono);
  color: rgba(215, 222, 232, 0.65);
  line-height: 1.3;
}
.tg-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #E8A317;
  flex-shrink: 0;
}
.tg-dot.ok { background: #3DCF7A; }
.sidebar-footer .logout {
  font-size: 12px; font-weight: 500;
  color: rgba(215, 222, 232, 0.55);
}
.sidebar-footer .logout:hover { color: #fff; }
.admin-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.admin-topbar {
  background: transparent;
  border-bottom: 1px solid var(--line);
  padding: 16px 28px 14px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.admin-topbar h1 {
  margin: 0;
  font-size: 1.65rem;
  font-family: var(--font-display);
}
.admin-content {
  padding: 20px 28px 48px;
  max-width: var(--max);
  width: 100%;
}
.mobile-nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--sheet);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font: inherit; cursor: pointer; color: var(--text);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 8px 14px;
  border-radius: 2px;
  font: inherit; font-size: 13px; font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.btn:hover { text-decoration: none; }
.btn:disabled, .btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.btn-primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-primary:hover { background: var(--signal); border-color: var(--signal); color: #fff; }
.btn-secondary {
  background: transparent; color: var(--ink);
  border-color: var(--line-strong);
}
.btn-secondary:hover { background: var(--sheet); color: var(--ink); border-color: var(--ink); }
.btn-ghost { background: transparent; color: var(--muted); border-color: transparent; }
.btn-ghost:hover { background: transparent; color: var(--ink); text-decoration: underline; }
.btn-danger { background: var(--signal); color: #fff; border-color: var(--signal); }
.btn-sm { padding: 5px 10px; font-size: 12px; }
.btn-lg { padding: 11px 18px; font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: var(--space-3); }

/* ---------- Surfaces: rules & sheets, not SaaS cards ---------- */
.panel, .card {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  border-top: 2px solid var(--ink);
  padding: 16px 0 8px;
  margin-bottom: var(--space-5);
}
.panel > h2:first-child,
.panel > .page-header:first-child {
  margin-top: 0;
}
.card {
  border-top: 1px solid var(--line);
  padding: 14px 0;
  margin-bottom: 0;
}
.page-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px; flex-wrap: wrap; margin-bottom: var(--space-4);
}
.page-header .lead { color: var(--text-muted); margin: 4px 0 0; max-width: 52ch; }

/* Desk strip — dense editorial metrics */
.desk-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  margin-bottom: var(--space-5);
  border: 1px solid var(--ink);
  background: var(--ink);
}
.desk-cell {
  padding: 12px 14px 11px;
  border-right: 1px solid rgba(255,255,255,0.12);
  min-width: 0;
  background: transparent;
  color: #E8ECF2;
}
.desk-cell:last-child { border-right: 0; }
.desk-cell .label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(232, 236, 242, 0.5);
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.desk-cell .value {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: #fff;
}
.desk-cell .hint {
  font-size: 11px;
  color: rgba(232, 236, 242, 0.45);
  margin-top: 4px;
  font-family: var(--font-mono);
}

.grid-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-bottom: var(--space-5);
  border: 1px solid var(--line);
  background: var(--sheet);
}
.metric-card {
  padding: 14px;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  border-top: 0;
  margin: 0;
}
.metric-card:last-child { border-right: 0; }
.metric-card .label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 6px;
}
.metric-card .value {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.metric-card .hint { font-size: 11px; color: var(--muted); margin-top: 4px; }

.funnel {
  display: flex; flex-direction: column; gap: 0;
  font-variant-numeric: tabular-nums;
}
.funnel-row {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: 16px;
  row-gap: 2px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.funnel-row:last-child { border-bottom: 0; }
.funnel-row .n {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.2;
  color: var(--ink);
  white-space: nowrap;
}
.funnel-row .n.tabular { font-size: 1.15rem; }
.funnel-row > span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}
.funnel-row .arrow { display: none; }

.activity-log {
  margin: 10px 0 0;
  padding: 10px 12px;
  background: var(--sheet);
  border: 1px solid rgba(10, 18, 32, 0.1);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.45;
  max-height: 9.5rem;
  overflow: auto;
}
.activity-log .activity-empty { color: var(--muted); }
.activity-log .activity-line {
  display: grid;
  grid-template-columns: 4.6rem max-content minmax(0, 1fr);
  gap: 8px;
  padding: 2px 0;
}
.activity-log .activity-line .ts { color: var(--muted); }
.activity-log .activity-line .st { text-transform: lowercase; }
.activity-log .activity-line .st.running { color: var(--signal, #c0392b); }
.activity-log .activity-line .st.success,
.activity-log .activity-line .st.ok { color: #1a7a4c; }
.activity-log .activity-line .st.idle,
.activity-log .activity-line .st.skipped { color: var(--muted); }
.activity-log .activity-line .st.failed,
.activity-log .activity-line .st.dead_letter { color: var(--signal, #c0392b); }
.activity-log .activity-line .msg { min-width: 0; overflow-wrap: anywhere; }

.cost-meter { margin: 12px 0; }
.cost-bar {
  height: 4px; background: var(--line); border-radius: 0; overflow: hidden;
}
.cost-bar > span {
  display: block; height: 100%; width: var(--pct, 0%);
  background: var(--ink); border-radius: 0;
}
.topbar-row { display: flex; align-items: center; gap: 12px; margin: 0; flex-wrap: wrap; }
.sidebar-brand .sub { margin-top: 4px; }
.cost-bar.warn > span { background: var(--warn); }
.cost-bar.danger > span { background: var(--signal); }

.status-rail {
  display: flex; flex-wrap: wrap; gap: 8px 16px;
  padding: 10px 0 4px;
  font-family: var(--font-mono);
  font-size: 12px;
}

/* ---------- Status badges — tight, not pill candy ---------- */
.badge, .status-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 7px;
  border-radius: 0;
  font-size: 11px; font-weight: 600;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  white-space: nowrap;
}
.status-badge.ok, .status-badge.success, .truth-good {
  background: var(--ok-soft); color: var(--ok); border-color: #B7DCC6;
}
.status-badge.warn, .truth-mid {
  background: var(--warn-soft); color: var(--warn); border-color: #E8D4A8;
}
.status-badge.bad, .status-badge.danger, .truth-bad {
  background: var(--bad-soft); color: var(--bad); border-color: #E8B8B8;
}
.status-badge.info {
  background: var(--navy-tint); color: var(--navy); border-color: #B8CFE3;
}
.status-badge.muted {
  background: transparent; color: var(--muted); border-color: var(--line);
}
.tag {
  display: inline-block;
  font-size: 10px; font-weight: 600;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  margin-right: 10px;
  border-bottom: 1px solid var(--line-strong);
}

/* ---------- Forms ---------- */
label { display: block; font-size: 12px; font-weight: 600; margin: 0 0 6px; color: var(--ink); letter-spacing: 0.02em; }
input, select, textarea {
  width: 100%;
  font: inherit;
  padding: 9px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--sheet);
  color: var(--text);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 2px rgba(10, 18, 32, 0.08);
  outline: none;
}
.field { margin-bottom: 14px; }
.field-hint { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.chip-group { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex; align-items: center;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--sheet);
  font-size: 12px; font-weight: 500;
  cursor: pointer;
  user-select: none;
}
.chip:has(input:checked), .chip.active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
.chip.auto-publish-toggle {
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
}
.chip.auto-publish-toggle:not(.active):not(:has(input:checked)) {
  background: var(--sheet);
  color: var(--ink);
  border-color: var(--line-strong);
}
.chip input { width: auto; margin: 0 6px 0 0; accent-color: var(--ink); }

/* ---------- Alerts ---------- */
.alert {
  padding: 11px 14px;
  border-radius: 0;
  margin-bottom: var(--space-4);
  font-size: 13.5px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--ink);
  background: var(--sheet);
}
.alert-info { border-left-color: var(--navy); background: var(--navy-tint); color: var(--navy); }
.alert-warn { border-left-color: var(--warn); background: var(--warn-soft); color: #6B3F00; }
.alert-danger { border-left-color: var(--signal); background: var(--bad-soft); color: #6B1212; }
.alert-success { border-left-color: var(--ok); background: var(--ok-soft); color: #14532D; }

.empty-state {
  text-align: left;
  padding: 18px 0;
  color: var(--text-muted);
  border-top: 1px dashed var(--line);
}
.empty-state.panel {
  border-top: 2px solid var(--ink);
  padding-top: 16px;
}
.empty-state h3 {
  color: var(--text);
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

/* ---------- Event / news rows ---------- */
.event-card {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: 16px 0;
  margin-bottom: 0;
  box-shadow: none;
}
.event-card:first-of-type { border-top: 0; }
.event-card-head {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-bottom: 6px;
}
.event-meta {
  display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center;
  margin: 8px 0;
  font-size: 12px; color: var(--text-muted);
  font-family: var(--font-mono);
}
.event-summary {
  color: var(--ink-soft);
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.source-list { list-style: none; padding: 0; margin: 8px 0 0; }
.source-list li {
  font-size: 13px;
  padding: 3px 0;
  display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline;
}
.source-list .src-meta { color: var(--text-muted); font-size: 11px; font-family: var(--font-mono); }

/* ---------- Tables ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--sheet);
  margin-bottom: var(--space-4);
}
.table-wrap.panel {
  border-top: 1px solid var(--line);
  padding: 0;
}
table.data {
  width: 100%; border-collapse: collapse; font-size: 13.5px;
}
table.data th {
  text-align: left;
  font-size: 10px; font-weight: 600;
  font-family: var(--font-mono);
  color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-subtle);
}
table.data td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.data tr:last-child td { border-bottom: 0; }
table.data tr:hover td { background: rgba(18, 58, 92, 0.03); }

/* ---------- Tabs / filters ---------- */
.tabs {
  display: flex; gap: 0; border-bottom: 2px solid var(--ink);
  margin-bottom: var(--space-4); flex-wrap: wrap;
}
.tabs a, .tabs button {
  padding: 10px 14px;
  border: 0; background: none;
  font: inherit; font-weight: 600; font-size: 13px;
  color: var(--muted); cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  text-decoration: none;
}
.tabs a:hover, .tabs button:hover { color: var(--ink); text-decoration: none; }
.tabs a.active, .tabs button.active { color: var(--ink); border-bottom-color: var(--signal); }

.filter-bar {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end;
  margin-bottom: var(--space-4);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.filter-bar .field { margin: 0; min-width: 140px; }
.filter-chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  margin-bottom: var(--space-4);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  max-width: 100%;
}
.filter-chips a {
  padding: 10px 14px;
  border-radius: 0;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  background: transparent;
  font-size: 13px; font-weight: 600; color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  flex: 0 0 auto;
}
.filter-chips a.active, .filter-chips a:hover {
  border-bottom-color: var(--signal);
  color: var(--ink);
  background: transparent;
  text-decoration: none;
}

/* ---------- Pipeline live status ---------- */
.pipeline-status {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 10px 0 4px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--muted);
  background: var(--sheet);
  font-size: 13px;
}
.pipeline-status .pl-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--muted); flex: 0 0 auto;
}
.pipeline-status .pl-state { font-weight: 700; color: var(--ink); }
.pipeline-status .pl-body { min-width: 0; }
.pipeline-working { border-left-color: var(--ok); }
.pipeline-working .pl-dot { background: var(--ok); animation: pl-pulse 1.4s ease-in-out infinite; }
.pipeline-done { border-left-color: var(--navy); }
.pipeline-done .pl-dot { background: var(--navy); }
.pipeline-idle { border-left-color: var(--warn); }
.pipeline-idle .pl-dot { background: var(--warn); }
.pipeline-disabled { border-left-color: var(--bad); }
.pipeline-disabled .pl-dot { background: var(--bad); }
@keyframes pl-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ---------- Telegram preview ---------- */
.tg-preview {
  background: #D6E4EC;
  border-radius: 0;
  padding: 16px;
  min-height: 200px;
  border: 1px solid var(--line);
}
.tg-bubble {
  background: #fff;
  border-radius: 8px 8px 2px 8px;
  padding: 12px 14px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
  font-size: 14px;
  line-height: 1.45;
  color: #111;
  white-space: pre-wrap;
  word-break: break-word;
}
.tg-bubble b, .tg-bubble strong { font-weight: 700; }
.tg-bubble a { color: #168acd; }
.editor-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding-top: 8px;
}
.editor-split textarea {
  min-height: 280px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.45;
}
.digest-preview {
  margin: 0;
  padding: 12px 14px;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.45;
  background: var(--sheet);
  border: 1px solid var(--rule, #c5ccd8);
  border-radius: 2px;
  max-height: 420px;
  overflow: auto;
}

/* ---------- Login — branded split ---------- */
.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  background: var(--paper);
}
.login-hero {
  background: var(--ink);
  color: #E8ECF2;
  padding: clamp(32px, 6vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.login-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--signal);
}
.login-hero .brand-name {
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}
.login-hero .brand-tag { color: rgba(232, 236, 242, 0.55); }
.login-hero-quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.25;
  max-width: 16ch;
  margin: 40px 0;
  font-weight: 500;
}
.login-hero-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(232, 236, 242, 0.45);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.login-card {
  width: 100%;
  max-width: none;
  background: var(--sheet);
  border: 0;
  border-radius: 0;
  padding: clamp(32px, 6vw, 64px) clamp(24px, 5vw, 56px);
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.login-card .brand { display: none; }
.login-card h1 {
  font-size: 1.85rem;
  margin-bottom: 8px;
}
.btn-block { width: 100%; }
.login-card .back-link { margin-top: 20px; }
.rating-btns { display: flex; flex-direction: column; gap: 6px; }
.rating-btns .btn { justify-content: flex-start; width: 100%; border-radius: 2px; }

.pair-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--line);
  background: var(--sheet);
}
.pair-grid > * {
  padding: 16px;
  border-right: 1px solid var(--line);
}
.pair-grid > *:last-child { border-right: 0; }
.progress-bar {
  height: 3px; background: var(--line); border-radius: 0; overflow: hidden;
  margin: 8px 0 4px;
}
.progress-bar > span { display: block; height: 100%; width: var(--pct, 0%); background: var(--signal); }
.rating-btns label.btn { cursor: pointer; }
.rating-btns label.btn:has(input:checked) {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
.rating-btns input { width: auto; margin-right: 8px; accent-color: var(--ink); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; }
.desk-split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: 32px;
  margin-bottom: var(--space-5);
}
.details-block { margin-top: 12px; }
.details-block summary {
  cursor: pointer; font-weight: 600; font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(10, 18, 32, 0.55);
  display: none; align-items: center; justify-content: center; z-index: 50; padding: 16px;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--sheet); border-radius: 0;
  padding: 24px; max-width: 420px; width: 100%;
  border: 1px solid var(--line);
  box-shadow: 0 24px 48px rgba(10, 18, 32, 0.2);
}

.status-checked, .status-confirmed, .status-supported { color: var(--success); }
.status-disputed, .status-refuted { color: var(--danger); }
.status-unverified, .status-in_progress { color: var(--warning); }

.claim {
  border-left: 3px solid var(--line);
  padding: 10px 14px; margin: 10px 0;
  background: var(--sheet); border-radius: 0;
}
.claim.status-confirmed, .claim.status-supported { border-left-color: var(--ok); }
.claim.status-refuted, .claim.status-disputed { border-left-color: var(--signal); }

.scoreboard {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 16px 0 24px;
  border: 1px solid var(--line);
  background: var(--sheet);
}
.score-box {
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  padding: 14px 16px;
  text-align: left;
  min-width: 0;
}
.score-box:last-child { border-right: 0; }
.score-box .num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 4px;
}

/* Training session focus */
.session-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--ink);
}
.session-bar-compact {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--paper);
  padding-top: 4px;
  margin-bottom: 12px;
  align-items: center;
}
.training-desk {
  scroll-margin-top: 12px;
  outline: none;
}
#training-pairwise {
  scroll-margin-top: 72px;
}
.training-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.85fr);
  gap: 28px;
  align-items: start;
}
.training-focus {
  border-top: 2px solid var(--ink);
  padding-top: 16px;
}
.training-focus h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: 12px;
}
.training-actions {
  position: sticky;
  top: 16px;
  border: 1px solid var(--line);
  background: var(--sheet);
  padding: 16px;
}

/* Issue archive (publications) */
.issue-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--ink);
}
.issue-head h2 { margin: 0; font-size: 1.85rem; }
.archive-list { border-top: 1px solid var(--line); }
.archive-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  font-size: 14px;
}
.archive-item .date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 1100px) {
  .desk-strip { grid-template-columns: repeat(3, 1fr); }
  .desk-cell:nth-child(3) { border-right: 0; }
  .desk-cell:nth-child(n+4) { border-top: 1px solid var(--line); }
  .grid-metrics { grid-template-columns: repeat(2, 1fr); }
  .metric-card:nth-child(2n) { border-right: 0; }
  .metric-card:nth-child(n+3) { border-top: 1px solid var(--line); }
  .scoreboard { grid-template-columns: repeat(2, 1fr); }
  .score-box:nth-child(2n) { border-right: 0; }
  .score-box:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 960px) {
  body {
    background: var(--paper);
  }
  .admin-shell { flex-direction: column; }
  .sidebar {
    position: fixed; inset: 0 auto 0 0; z-index: 40;
    transform: translateX(-105%);
    transition: transform 0.2s ease;
    box-shadow: 8px 0 32px rgba(10,18,32,0.25);
  }
  .sidebar.open { transform: translateX(0); }
  .mobile-nav-toggle { display: inline-flex; }
  .admin-content { padding: 16px; }
  .admin-topbar { padding: 14px 16px; }
  .editor-split, .pair-grid, .two-col, .desk-split,
  .masthead, .digest-grid, .desk-empty, .training-stage,
  .login-page { grid-template-columns: 1fr; }
  .masthead-aside {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 16px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }
  .digest-lead { border-right: 0; padding-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 8px; }
  .method-rail { grid-template-columns: 1fr; gap: 8px; }
  .pair-grid > * { border-right: 0; border-bottom: 1px solid var(--line); }
  .pair-grid > *:last-child { border-bottom: 0; }
  .login-hero { min-height: 220px; padding: 28px 24px; }
  .login-hero-quote { margin: 24px 0 16px; }
  .archive-item { grid-template-columns: 1fr; gap: 4px; }
  table.data.mobile-cards thead { display: none; }
  table.data.mobile-cards, table.data.mobile-cards tbody,
  table.data.mobile-cards tr, table.data.mobile-cards td { display: block; width: 100%; }
  table.data.mobile-cards tr {
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    padding: 12px 0;
    margin-bottom: 0;
  }
  table.data.mobile-cards td {
    border: 0; padding: 4px 0;
  }
  table.data.mobile-cards td::before {
    content: attr(data-label);
    display: block; font-size: 10px; font-weight: 600;
    font-family: var(--font-mono);
    color: var(--text-muted); text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
  }
}
@media (max-width: 600px) {
  body {
    background-attachment: scroll;
    background-image:
      radial-gradient(circle at 1px 1px, rgba(10, 18, 32, 0.035) 1px, transparent 0);
    background-size: 18px 18px;
  }
  .public-main { padding: 16px 14px 36px; }
  .public-header-inner {
    padding: 12px 14px 10px;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
  }
  .brand-name { font-size: 1.35rem; }
  .brand-tag { font-size: 10px; }
  .public-nav { gap: 8px; }
  .public-nav .btn { white-space: nowrap; }
  .public-footer { padding: 14px 14px 22px; word-break: break-word; }
  .desk-strip, .grid-metrics { grid-template-columns: 1fr 1fr; }
  .desk-cell:nth-child(2n) { border-right: 0; }
  .desk-cell:nth-child(n+3) { border-top: 1px solid var(--line); }
  .masthead { gap: 16px; padding-bottom: 16px; margin-bottom: 16px; }
  .masthead-copy h1 {
    max-width: none;
    font-size: clamp(1.55rem, 8vw, 2rem);
    overflow-wrap: anywhere;
  }
  .masthead-copy .lead { max-width: none; font-size: 0.98rem; }
  .masthead-aside {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 18px;
  }
  .masthead-stat .num { font-size: 1.45rem; }
  .event-feature h2,
  .event-row h3 { overflow-wrap: anywhere; word-break: break-word; }
  .event-feature .event-summary,
  .event-row .event-summary { overflow-wrap: anywhere; }
  .filter-chips { margin-left: -14px; margin-right: -14px; padding: 0 14px; }
  .feed-head h1 { max-width: none; }
  .story-item { padding: 18px 0; }
  .story-item.has-thumb { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
  .story-thumb { width: 96px; height: 64px; }
  .story-hero { max-height: 220px; }
  .story-item-title { font-size: 1.12rem; }
  .story-article { padding-bottom: 32px; }
  .story-title { font-size: clamp(1.45rem, 7vw, 1.9rem); }
  .story-dek { font-size: 1.02rem; }
  .story-body { font-size: 1.02rem; }
}
