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

/* src/reader/base.css */
:root {
  --font-ui:
    "DM Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  --font-editorial:
    "Newsreader",
    Georgia,
    "Times New Roman",
    serif;
  --font-mono:
    "Roboto Mono",
    "SFMono-Regular",
    Consolas,
    monospace;
  --paper: #f4f1ea;
  --paper-deep: #ebe6db;
  --surface: #fbfaf6;
  --surface-raised: #ffffff;
  --ink: #17191c;
  --ink-soft: #4f545c;
  --ink-faint: #7d817f;
  --line: #d8d2c7;
  --line-strong: #b9b1a4;
  --signal: #175cd3;
  --signal-soft: #e5eefc;
  --signal-strong: #0b46aa;
  --live: #d1432f;
  --success: #177245;
  --shadow-soft: 0 12px 38px rgba(42, 35, 25, 0.07);
  --shadow-float: 0 24px 70px rgba(35, 31, 24, 0.16);
  --radius-xs: 5px;
  --radius-sm: 9px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --header-height: 68px;
}
html[data-theme=dark] {
  --paper: #161715;
  --paper-deep: #0f100f;
  --surface: #1d1f1d;
  --surface-raised: #242724;
  --ink: #f2efe7;
  --ink-soft: #b8b5ad;
  --ink-faint: #83867f;
  --line: #363a35;
  --line-strong: #535950;
  --signal: #7ca9ff;
  --signal-soft: #1c2d49;
  --signal-strong: #a9c5ff;
  --live: #ff7a67;
  --success: #74c998;
  --shadow-soft: 0 14px 42px rgba(0, 0, 0, 0.2);
  --shadow-float: 0 28px 78px rgba(0, 0, 0, 0.42);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  background: var(--paper);
}
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(
      90deg,
      transparent 0,
      transparent calc(50% - 0.5px),
      rgba(23, 25, 28, 0.025) 50%,
      transparent calc(50% + 0.5px)),
    var(--paper);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button,
input {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--signal) 38%, transparent);
  outline-offset: 3px;
}
button {
  color: inherit;
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: #fff;
  background: var(--signal-strong);
  transform: translateY(-140%);
  transition: transform 160ms ease;
}
.skip-link:focus {
  transform: translateY(0);
}
.app-shell {
  min-height: 100vh;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  height: var(--header-height);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
  background: color-mix(in srgb, var(--paper) 91%, transparent);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}
.topbar-inner {
  width: min(1680px, 100%);
  height: 100%;
  margin: 0 auto;
  padding: 0 26px;
  display: grid;
  grid-template-columns: 260px minmax(260px, 620px) auto;
  align-items: center;
  gap: 26px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}
.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: var(--font-editorial);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.04em;
  background: var(--ink);
  color: var(--paper);
}
.brand-copy {
  min-width: 0;
}
.brand-name {
  display: block;
  font-size: 15px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand-status {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--live) 12%, transparent);
}
.global-search {
  position: relative;
}
.global-search svg {
  position: absolute;
  top: 50%;
  left: 14px;
  width: 16px;
  height: 16px;
  color: var(--ink-faint);
  transform: translateY(-50%);
  pointer-events: none;
}
.global-search input {
  width: 100%;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 72px 0 42px;
  color: var(--ink);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
  font-size: 13px;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}
.global-search input::placeholder {
  color: var(--ink-faint);
}
.global-search input:hover,
.global-search input:focus {
  border-color: color-mix(in srgb, var(--signal) 48%, var(--line));
  background: var(--surface-raised);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--signal) 8%, transparent);
  outline: 0;
}
.search-kbd {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink-faint);
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: 9px;
}
.top-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 6px;
  padding-right: 54px;
}
.header-account-mount {
  position: fixed;
  top: max(14px, env(safe-area-inset-top));
  right: max(26px, env(safe-area-inset-right));
  z-index: 81;
  display: inline-flex;
  align-items: center;
  height: 40px;
}
.icon-button,
.text-button,
.segment-button,
.nav-button,
.filter-button,
.article-action,
.drawer-close,
.mobile-menu-button {
  border: 0;
  background: transparent;
  cursor: pointer;
}
.icon-button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink-soft);
  transition:
    color 150ms ease,
    background 150ms ease,
    transform 150ms ease;
}
.icon-button:hover {
  color: var(--ink);
  background: var(--paper-deep);
  transform: translateY(-1px);
}
.icon-button svg {
  width: 18px;
  height: 18px;
}
.mobile-menu-button {
  display: none;
}
.workspace {
  width: min(1680px, 100%);
  margin: 0 auto;
  padding: 28px 26px 70px;
  display: grid;
  grid-template-columns: 222px minmax(0, 1fr) 294px;
  gap: 38px;
  align-items: start;
}
.sidebar,
.brief-rail {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  max-height: calc(100vh - var(--header-height) - 54px);
  overflow: auto;
  scrollbar-width: none;
}
.sidebar::-webkit-scrollbar,
.brief-rail::-webkit-scrollbar {
  display: none;
}
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.sidebar-section {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.sidebar-section:last-child {
  border-bottom: 0;
}
.section-label {
  margin: 0 0 10px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.edition-card {
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--surface) 72%, transparent);
}
.edition-date {
  color: var(--ink);
  font-family: var(--font-editorial);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.035em;
}
.edition-meta {
  margin-top: 5px;
  color: var(--ink-faint);
  font-size: 11px;
  line-height: 1.5;
}
.sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.nav-button,
.filter-button {
  width: 100%;
  min-height: 36px;
  padding: 8px 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  font-size: 12px;
  text-align: left;
  transition: color 150ms ease, background 150ms ease;
}
.nav-button:hover,
.filter-button:hover {
  color: var(--ink);
  background: color-mix(in srgb, var(--paper-deep) 74%, transparent);
}
.nav-button.active,
.filter-button.active {
  color: var(--signal-strong);
  background: var(--signal-soft);
  font-weight: 600;
}
.nav-name,
.filter-name {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.nav-indicator {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border: 1px solid currentColor;
  border-radius: 50%;
}
.nav-button.active .nav-indicator {
  background: currentColor;
}
.count-badge {
  min-width: 24px;
  padding: 2px 6px;
  border-radius: 999px;
  color: var(--ink-faint);
  background: color-mix(in srgb, var(--surface-raised) 72%, transparent);
  font-family: var(--font-mono);
  font-size: 9px;
  text-align: center;
}
.nav-button.active .count-badge,
.filter-button.active .count-badge {
  color: var(--signal-strong);
  background: color-mix(in srgb, var(--signal) 10%, var(--surface-raised));
}
.date-list {
  display: grid;
  gap: 5px;
}
.date-button {
  width: 100%;
  display: grid;
  grid-template-columns: 46px 1fr 22px;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 7px;
  padding: 6px 8px;
  color: var(--ink-faint);
  background: transparent;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 9px;
  transition: color 150ms ease, background 150ms ease;
}
.date-button:hover,
.date-button.active {
  color: var(--ink);
  background: var(--paper-deep);
}
.date-meter {
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--line);
}
.date-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--ink-faint);
}
.date-button.active .date-meter span {
  background: var(--signal);
}
.main-column {
  min-width: 0;
}
.masthead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  padding: 2px 0 22px;
  border-bottom: 2px solid var(--ink);
}
.masthead-kicker {
  margin-bottom: 8px;
  color: var(--live);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.masthead-title {
  margin: 0;
  font-family: var(--font-editorial);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.055em;
}
.masthead-deck {
  max-width: 590px;
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.65;
}
.masthead-meta {
  min-width: 120px;
  padding-bottom: 4px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.7;
  text-align: right;
  text-transform: uppercase;
}
.lead-story {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(220px, 0.55fr);
  gap: 34px;
  padding: 31px 0 34px;
  border-bottom: 1px solid var(--line-strong);
}
.lead-main {
  min-width: 0;
}
.story-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.eyebrow-primary {
  color: var(--signal-strong);
  font-weight: 600;
}
.source-verification {
  padding: 2px 6px;
  border: 1px solid color-mix(in srgb, var(--success) 34%, var(--line));
  border-radius: 999px;
  color: var(--success);
  background: color-mix(in srgb, var(--success) 7%, transparent);
  font-size: 8px;
  font-weight: 600;
}
.lead-title {
  margin: 0;
  max-width: 960px;
  font-family: var(--font-editorial);
  font-size: clamp(31px, 4.1vw, 54px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.045em;
}
.lead-title a,
.article-title a {
  color: inherit;
  text-decoration: none;
}
.lead-title a:hover,
.article-title a:hover {
  color: var(--signal-strong);
}
.lead-summary {
  max-width: 780px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}
.lead-actions,
.card-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}
.lead-actions {
  margin-top: 21px;
}
.text-button,
.article-action {
  min-height: 34px;
  padding: 7px 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  font-size: 10px;
  font-weight: 600;
  transition:
    color 150ms ease,
    border-color 150ms ease,
    background 150ms ease,
    transform 150ms ease;
}
.text-button:hover,
.article-action:hover {
  color: var(--ink);
  border-color: var(--line-strong);
  background: var(--surface-raised);
  transform: translateY(-1px);
}
.text-button.primary {
  border-color: var(--signal);
  color: #fff;
  background: var(--signal);
}
.text-button.primary:hover {
  border-color: var(--signal-strong);
  background: var(--signal-strong);
}
.text-button.saved,
.article-action.saved {
  color: var(--signal-strong);
  border-color: color-mix(in srgb, var(--signal) 35%, var(--line));
  background: var(--signal-soft);
}
.lead-aside {
  align-self: stretch;
  padding-left: 22px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
}
.lead-quote {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-editorial);
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.lead-quote::before {
  content: "\201c";
  display: block;
  height: 26px;
  color: var(--signal);
  font-size: 46px;
  line-height: 1;
}
.signal-score {
  display: grid;
  gap: 7px;
}
.score-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
}
.score-row strong {
  color: var(--ink);
  font-size: 11px;
}
.score-meter {
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--line);
}
.score-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--signal);
}
.feed-toolbar {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}
.feed-heading {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.feed-heading h2 {
  margin: 0;
  font-family: var(--font-editorial);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.feed-heading span {
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
}
.view-segment {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
}
.segment-button {
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 8px;
  text-transform: uppercase;
}
.segment-button.active {
  color: var(--ink);
  background: var(--surface-raised);
  box-shadow: 0 1px 5px rgba(30, 27, 20, 0.08);
}
.feed-list {
  display: grid;
}
.feed-list.grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 26px;
}
.article-card {
  position: relative;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 20px;
  padding: 23px 0 24px;
  border-bottom: 1px solid var(--line);
  transition:
    background 160ms ease,
    padding 160ms ease,
    margin 160ms ease;
}
.article-card:hover,
.article-card.keyboard-focus {
  margin-inline: -14px;
  padding-inline: 14px;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--surface) 72%, transparent);
}
.feed-list.grid .article-card {
  grid-template-columns: 1fr;
  align-content: start;
  gap: 12px;
  min-height: 286px;
}
.article-index {
  padding-top: 3px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.04em;
}
.feed-list.grid .article-index {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.article-body {
  min-width: 0;
}
.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 8px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}
.article-source {
  color: var(--ink-soft);
  font-weight: 600;
}
.article-title {
  margin: 0;
  font-family: var(--font-editorial);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.032em;
}
.feed-list.grid .article-title {
  font-size: 27px;
}
.article-summary {
  margin: 9px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.68;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 13px;
}
.article-tag {
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1;
}
.card-actions {
  align-self: start;
}
.feed-list.grid .card-actions {
  margin-top: auto;
  align-self: end;
}
.article-action {
  width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  border-radius: 50%;
}
.article-action svg,
.text-button svg {
  width: 14px;
  height: 14px;
}
.empty-state {
  margin-top: 24px;
  padding: 54px 28px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  text-align: center;
  background: color-mix(in srgb, var(--surface) 58%, transparent);
}
.empty-state h3 {
  margin: 0;
  font-family: var(--font-editorial);
  font-size: 29px;
  letter-spacing: -0.03em;
}
.empty-state p {
  margin: 8px auto 18px;
  max-width: 440px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.6;
}
.brief-rail {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.rail-card {
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--surface) 72%, transparent);
}
.rail-card.prominent {
  color: #f8f6f0;
  border-color: #1b3153;
  background: #142844;
}
.rail-card .section-label {
  margin-bottom: 13px;
}
.rail-card.prominent .section-label {
  color: #a7bfdf;
}
.brief-list {
  display: grid;
  gap: 13px;
  counter-reset: brief;
}
.brief-item {
  position: relative;
  padding-left: 25px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.55;
  cursor: pointer;
}
.rail-card.prominent .brief-item {
  color: #dbe5f3;
}
.brief-item::before {
  counter-increment: brief;
  content: counter(brief, decimal-leading-zero);
  position: absolute;
  top: 1px;
  left: 0;
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 8px;
}
.rail-card.prominent .brief-item::before {
  color: #7fa9df;
}
.entity-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.entity-button {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: transparent;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 8px;
  transition:
    color 150ms ease,
    border-color 150ms ease,
    background 150ms ease;
}
.entity-button:hover,
.entity-button.active {
  color: var(--signal-strong);
  border-color: color-mix(in srgb, var(--signal) 40%, var(--line));
  background: var(--signal-soft);
}
.source-bars {
  display: grid;
  gap: 11px;
}
.source-bar-label {
  display: flex;
  justify-content: space-between;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 8px;
  text-transform: uppercase;
}
.source-bar-track {
  height: 5px;
  margin-top: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--line);
}
.source-bar-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--signal);
}
.drawer-backdrop,
.help-backdrop,
.mobile-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(17, 18, 17, 0.42);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  animation: fade-in 150ms ease;
}
.article-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 210;
  width: min(620px, 92vw);
  height: 100vh;
  overflow: auto;
  padding: 26px clamp(24px, 4vw, 54px) 54px;
  border-left: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-float);
  animation: drawer-in 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 44px;
}
.drawer-brand {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.drawer-close {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface-raised);
}
.drawer-close:hover {
  border-color: var(--line-strong);
}
.drawer-close svg {
  width: 16px;
  height: 16px;
}
.drawer-eyebrow {
  color: var(--signal-strong);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.drawer-title {
  margin: 13px 0 0;
  font-family: var(--font-editorial);
  font-size: clamp(34px, 6vw, 51px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.047em;
}
.drawer-summary {
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.78;
}
.drawer-quote {
  margin: 28px 0;
  padding: 19px 0 19px 22px;
  border-left: 3px solid var(--signal);
  color: var(--ink);
  font-family: var(--font-editorial);
  font-size: 22px;
  line-height: 1.45;
}
.drawer-section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.drawer-section h3 {
  margin: 0 0 11px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.drawer-section p,
.drawer-section li {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
}
.drawer-section ul {
  margin: 0;
  padding-left: 20px;
}
.drawer-footer {
  display: flex;
  gap: 8px;
  margin-top: 32px;
}
.feedback-prompt p,
.feedback-privacy,
.feedback-state {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.65;
}
.feedback-actions,
.feedback-center-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.feedback-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 220;
  width: min(500px, calc(100vw - 32px));
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  color: var(--ink);
  background: var(--surface);
  box-shadow: var(--shadow-float);
  transform: translate(-50%, -50%);
  animation: dialog-in 180ms ease;
}
.feedback-dialog .drawer-head {
  margin-bottom: 18px;
}
.feedback-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 20px 0 14px;
}
.feedback-stats div {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--surface-raised) 62%, transparent);
}
.feedback-stats strong,
.feedback-stats span {
  display: block;
}
.cloud-sync-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--surface-raised) 62%, transparent);
}
.cloud-sync-card strong,
.cloud-state,
.cloud-sync-note {
  display: block;
}
.cloud-sync-card strong {
  font-size: 12px;
}
.cloud-state,
.cloud-sync-note {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.45;
}
.cloud-sync-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}
.text-button.danger {
  color: var(--danger, #a63737);
}
@media (max-width: 620px) {
  .cloud-sync-card {
    align-items: stretch;
    flex-direction: column;
  }
  .cloud-sync-actions {
    justify-content: flex-start;
  }
}
.feedback-stats strong {
  font-family: var(--font-editorial);
  font-size: 24px;
}
.feedback-stats span {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 10px;
}
.text-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
}
.help-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 220;
  width: min(440px, calc(100vw - 32px));
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-float);
  transform: translate(-50%, -50%);
  animation: dialog-in 180ms ease;
}
.help-title {
  margin: 0;
  font-family: var(--font-editorial);
  font-size: 30px;
  letter-spacing: -0.035em;
}
.shortcut-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 11px 16px;
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 12px;
}
.shortcut-grid kbd {
  min-width: 26px;
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-bottom-color: var(--line-strong);
  border-radius: 6px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: 9px;
  text-align: center;
}
.loading-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.loading-lockup {
  display: grid;
  place-items: center;
  gap: 18px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.loading-mark {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--font-editorial);
  font-size: 20px;
  animation: breathe 1.8s ease-in-out infinite;
}
.mobile-nav {
  display: none;
}
.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 300;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--surface-raised);
  box-shadow: var(--shadow-soft);
  font-size: 11px;
  animation: toast-in 180ms ease;
  display: flex;
  align-items: center;
  gap: 10px;
}
.toast button {
  padding: 0;
  border: 0;
  color: var(--signal-strong);
  background: transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes drawer-in {
  from {
    transform: translateX(24px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes dialog-in {
  from {
    transform: translate(-50%, -48%) scale(0.985);
    opacity: 0;
  }
  to {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}
@keyframes toast-in {
  from {
    transform: translateY(8px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes breathe {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.055);
  }
}
@media (max-width: 1320px) {
  .workspace {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 34px;
  }
  .brief-rail {
    display: none;
  }
  .topbar-inner {
    grid-template-columns: 225px minmax(220px, 560px) auto;
  }
}
@media (max-width: 920px) {
  :root {
    --header-height: 62px;
  }
  .topbar-inner {
    grid-template-columns: 1fr auto;
    padding: 0 16px;
    gap: 10px;
  }
  .brand-status,
  .global-search,
  .top-actions .icon-button[data-desktop-only=true] {
    display: none;
  }
  .header-account-mount {
    top: max(11px, env(safe-area-inset-top));
    right: max(16px, env(safe-area-inset-right));
  }
  .mobile-menu-button {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
  }
  .mobile-menu-button svg {
    width: 19px;
    height: 19px;
  }
  .workspace {
    display: block;
    padding: 22px 16px 92px;
  }
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 260;
    width: min(330px, 88vw);
    height: 100vh;
    max-height: none;
    padding: 24px 22px 70px;
    overflow: auto;
    background: var(--surface);
    box-shadow: var(--shadow-float);
    transform: translateX(-105%);
    transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .masthead {
    display: block;
    padding-top: 4px;
  }
  .masthead-title {
    font-size: clamp(40px, 13vw, 62px);
  }
  .masthead-meta {
    margin-top: 16px;
    text-align: left;
  }
  .lead-story {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 25px;
  }
  .lead-aside {
    padding: 19px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
  .lead-title {
    font-size: clamp(34px, 10vw, 49px);
  }
  .feed-list.grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .article-card,
  .feed-list.grid .article-card {
    grid-template-columns: 1fr auto;
    min-height: 0;
    gap: 13px;
  }
  .article-index,
  .feed-list.grid .article-index {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
  }
  .article-title,
  .feed-list.grid .article-title {
    font-size: 25px;
  }
  .mobile-nav {
    position: fixed;
    left: 50%;
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 100;
    width: calc(100% - 28px);
    max-width: 460px;
    height: 56px;
    padding: 5px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--line);
    border-radius: 18px;
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    box-shadow: 0 12px 40px rgba(25, 22, 16, 0.17);
    backdrop-filter: blur(18px);
    transform: translateX(-50%);
  }
  .mobile-nav button {
    display: grid;
    place-items: center;
    gap: 1px;
    border: 0;
    border-radius: 13px;
    color: var(--ink-faint);
    background: transparent;
    font-family: var(--font-mono);
    font-size: 7px;
    text-transform: uppercase;
  }
  .mobile-nav button.active {
    color: var(--signal-strong);
    background: var(--signal-soft);
  }
  .mobile-nav svg {
    width: 17px;
    height: 17px;
  }
}
@media (max-width: 560px) {
  .brand-copy {
    display: none;
  }
  .top-actions {
    gap: 2px;
  }
  .lead-actions,
  .drawer-footer,
  .feedback-center-actions {
    align-items: stretch;
    flex-wrap: wrap;
  }
  .lead-actions .text-button,
  .drawer-footer .text-button,
  .feedback-center-actions .text-button {
    flex: 1;
  }
  .feedback-dialog {
    padding: 20px;
  }
  .feedback-stats div {
    padding: 10px;
  }
  .feed-toolbar {
    align-items: flex-end;
  }
  .feed-heading {
    display: block;
  }
  .feed-heading span {
    display: block;
    margin-top: 4px;
  }
  .article-card:hover,
  .article-card.keyboard-focus {
    margin-inline: -7px;
    padding-inline: 7px;
  }
  .article-card,
  .feed-list.grid .article-card {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .article-summary {
    -webkit-line-clamp: 4;
  }
  .article-drawer {
    width: 100vw;
    padding-inline: 21px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
.review-screen {
  min-height: calc(100vh - 2.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--header-height) 24px 40px;
  background: var(--paper);
}
.review-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 120px;
  color: var(--ink-soft);
  font-family: var(--font-ui);
}
.review-center h3 {
  margin: 0;
  font-family: var(--font-editorial);
  font-size: 22px;
  color: var(--ink);
}
.review-center p {
  margin: 0;
  font-size: 14px;
  text-align: center;
  max-width: 320px;
  line-height: 1.7;
}
.review-topbar {
  width: 100%;
  max-width: 560px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.review-progress {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 600;
}
.review-progress-secondary {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--ink-faint);
  text-transform: uppercase;
}
.review-stack {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.review-card {
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 32px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-raised);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 16px;
  cursor: grab;
  transition: box-shadow 280ms ease, opacity 280ms ease;
  animation: review-card-enter 220ms ease;
}
.review-card.dragging {
  cursor: grabbing;
  box-shadow: var(--shadow-float);
  transition: none;
}
@keyframes review-card-enter {
  from {
    transform: translateY(12px) scale(0.97);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}
.rv-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
}
.rv-card-source {
  color: var(--signal-strong);
  font-weight: 600;
}
.rv-card-date {
  color: var(--ink-faint);
}
.rv-card-title {
  margin: 0;
  font-family: var(--font-editorial);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.rv-card-summary {
  flex: 1;
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
  overflow: hidden;
}
.rv-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.rv-card-scores {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.rv-score-row {
  display: grid;
  grid-template-columns: 72px 1fr 32px;
  align-items: center;
  gap: 10px;
  margin-bottom: 7px;
}
.rv-score-label {
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--ink-faint);
  text-transform: uppercase;
  text-align: right;
}
.rv-score-track {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--line);
}
.rv-score-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--signal);
}
.rv-score-value {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--ink-soft);
  text-align: right;
}
.rv-card-hint {
  position: absolute;
  top: 50%;
  padding: 6px 14px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 120ms ease;
  pointer-events: none;
}
.rv-card-hint.left {
  left: -72px;
  color: var(--live);
  transform: translateY(-50%);
}
.rv-card-hint.right {
  right: -72px;
  color: var(--success);
  transform: translateY(-50%);
}
.review-actions {
  display: flex;
  gap: 20px;
  margin-top: 32px;
  align-items: center;
}
.review-action-button {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--surface-raised);
  font-family: var(--font-ui);
  font-size: 10px;
  cursor: pointer;
  transition:
    transform 140ms ease,
    border-color 140ms ease,
    background 140ms ease;
}
.review-action-button:hover {
  transform: translateY(-2px);
}
.review-action-button.accept {
  border-color: color-mix(in srgb, var(--success) 40%, var(--line));
  color: var(--success);
}
.review-action-button.accept:hover {
  background: color-mix(in srgb, var(--success) 8%, transparent);
  border-color: var(--success);
}
.review-action-button.reject {
  border-color: color-mix(in srgb, var(--live) 40%, var(--line));
  color: var(--live);
}
.review-action-button.reject:hover {
  background: color-mix(in srgb, var(--live) 8%, transparent);
  border-color: var(--live);
}
.review-action-button.skip {
  border-color: var(--line);
  color: var(--ink-faint);
}
.review-action-button.skip:hover {
  background: var(--surface);
  border-color: var(--ink-faint);
}
.review-summary {
  max-width: 440px;
  margin-top: 60px;
  text-align: center;
}
.rv-summary-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 32px;
}
.rv-stat {
  padding: 20px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-raised);
}
.rv-stat strong {
  display: block;
  font-family: var(--font-editorial);
  font-size: 38px;
  letter-spacing: -0.03em;
  line-height: 1;
}
.rv-stat span {
  display: block;
  margin-top: 6px;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
}
.rv-stat.accept strong {
  color: var(--success);
}
.rv-stat.reject strong {
  color: var(--live);
}
.rv-stat.skip strong {
  color: var(--ink-faint);
}
.rv-summary-note {
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}
.rv-summary-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}
@media (max-width: 920px) {
  .review-screen {
    padding: 16px 16px 120px;
  }
  .review-stack {
    height: 420px;
    max-width: 100%;
  }
  .review-card {
    padding: 24px 20px;
  }
  .rv-card-title {
    font-size: 21px;
  }
  .rv-card-hint.left {
    left: 10px;
  }
  .rv-card-hint.right {
    right: 10px;
  }
}

/* src/reader/interactions.css */
:root {
  --header-shadow: 0 8px 24px rgba(42, 35, 25, 0.07);
  --card-hover: color-mix(in srgb, var(--surface) 62%, transparent);
}
html {
  scrollbar-gutter: stable;
}
html[data-theme=dark] {
  --header-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
  --card-hover: color-mix(in srgb, var(--surface-raised) 46%, transparent);
}
body {
  background: var(--paper);
  font-feature-settings: "kern" 1, "liga" 1;
  overscroll-behavior-y: contain;
}
button,
a,
input {
  touch-action: manipulation;
}
.visually-hidden {
  position: fixed;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.topbar {
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    backdrop-filter 220ms ease;
}
body.is-scrolled .topbar {
  border-bottom-color: color-mix(in srgb, var(--line) 44%, transparent);
  background: color-mix(in srgb, var(--paper) 50%, transparent);
  box-shadow: var(--header-shadow);
  backdrop-filter: blur(24px) saturate(122%);
  -webkit-backdrop-filter: blur(24px) saturate(122%);
}
.brand-status,
.search-kbd,
.masthead-kicker,
.signal-score {
  display: none;
}
.brand {
  gap: 10px;
}
.brand-name {
  font-family: var(--font-editorial);
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
}
.brand-mark {
  box-shadow: none;
  transition: transform 150ms ease;
}
.brand:hover .brand-mark {
  transform: rotate(-2deg);
}
.global-search {
  display: block;
}
.top-actions .mobile-reader-search[hidden] {
  display: none;
}
.global-search input {
  border-color: color-mix(in srgb, var(--line) 84%, transparent);
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  box-shadow: none;
}
.global-search input:focus {
  border-color: color-mix(in srgb, var(--signal) 42%, var(--line));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--signal) 7%, transparent);
}
.icon-button:active,
.text-button:active,
.article-action:active,
.segment-button:active,
.nav-button:active,
.filter-button:active {
  transform: scale(0.98);
}
.workspace {
  gap: 32px;
  padding-top: 28px;
}
.sidebar {
  gap: 21px;
}
.sidebar-section {
  padding-bottom: 18px;
}
.section-label {
  margin-bottom: 8px;
  letter-spacing: 0.09em;
}
.nav-button,
.filter-button,
.date-button {
  min-height: 34px;
}
.nav-button.active,
.filter-button.active {
  background: color-mix(in srgb, var(--signal-soft) 64%, transparent);
  outline: none;
}
.count-badge {
  background: transparent;
}
.masthead {
  padding: 1px 0 20px;
  border-bottom-width: 1px;
}
.masthead-title {
  font-size: clamp(36px, 4.7vw, 62px);
  line-height: 0.98;
  letter-spacing: -0.048em;
  text-wrap: balance;
}
.masthead-deck {
  max-width: 560px;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
  text-wrap: pretty;
}
.masthead-meta {
  min-width: 0;
  padding-bottom: 2px;
  line-height: 1.55;
  letter-spacing: 0;
  text-transform: none;
}
.masthead-meta span {
  display: block;
}
.masthead-meta span + span {
  margin-top: 3px;
}
.lead-story {
  gap: 30px;
  padding: 28px 0 30px;
}
.story-eyebrow {
  margin-bottom: 10px;
}
.lead-title {
  max-width: 900px;
  font-size: clamp(31px, 3.8vw, 50px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.lead-title a,
.article-title a {
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
  transition: color 150ms ease, text-decoration-color 150ms ease;
}
.lead-title a:hover,
.article-title a:hover {
  text-decoration-color: color-mix(in srgb, var(--signal) 34%, transparent);
}
.lead-summary {
  max-width: 760px;
  margin-top: 15px;
  font-size: 15px;
  line-height: 1.68;
  text-wrap: pretty;
}
.lead-actions {
  margin-top: 18px;
}
.lead-aside {
  padding: 0 0 0 24px;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.lead-quote {
  font-size: 18px;
  line-height: 1.43;
  text-wrap: pretty;
}
.lead-quote::before {
  height: 22px;
  opacity: 0.72;
}
.text-button,
.article-action {
  box-shadow: none;
}
.text-button:not(.primary) {
  background: transparent;
}
.feed-toolbar {
  min-height: 54px;
}
.feed-heading h2 {
  font-size: 22px;
}
.view-segment {
  padding: 2px;
  background: transparent;
  box-shadow: none;
}
.segment-button {
  padding: 5px 10px;
}
.article-card {
  isolation: isolate;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 18px;
  padding: 21px 0 22px;
  transition: none;
}
@supports (content-visibility: auto) {
  .article-card {
    content-visibility: auto;
    contain-intrinsic-size: 170px;
  }
  .feed-list.grid .article-card {
    contain-intrinsic-size: 280px;
  }
}
.article-card::before {
  content: "";
  position: absolute;
  inset: 5px -12px;
  z-index: -1;
  border-radius: 10px;
  background: var(--card-hover);
  opacity: 0;
  transition: opacity 150ms ease;
}
.article-card:hover,
.article-card.keyboard-focus {
  margin-inline: 0;
  padding-inline: 0;
  background: transparent;
}
.article-card:hover::before,
.article-card.keyboard-focus::before,
.article-card:focus-within::before {
  opacity: 1;
}
.article-meta {
  gap: 6px;
  margin-bottom: 7px;
}
.article-meta .source-verification {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.article-title {
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.028em;
  text-wrap: pretty;
}
.article-summary {
  max-width: 76ch;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.64;
  -webkit-line-clamp: 2;
  text-wrap: pretty;
}
.feed-list.list .article-tags {
  display: none;
}
.article-tag {
  border: 0;
  padding: 2px 0;
  background: transparent;
}
.article-tag + .article-tag::before {
  content: "\b7";
  margin-right: 5px;
}
.article-action {
  border-color: transparent;
  background: transparent;
}
.article-action:hover,
.article-action.saved {
  border-color: var(--line);
}
.rail-card,
.rail-card.prominent {
  padding: 16px 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  box-shadow: none;
}
.rail-card:first-child {
  padding-top: 0;
  border-top: 0;
}
.rail-card.prominent .section-label,
.rail-card.prominent .brief-item {
  color: var(--ink-soft);
}
.brief-item {
  padding-left: 23px;
  font-size: 12px;
  line-height: 1.54;
  text-wrap: pretty;
  transition: color 140ms ease;
}
.brief-item:hover,
.brief-item:focus-visible,
.rail-card.prominent .brief-item:hover,
.rail-card.prominent .brief-item:focus-visible {
  color: var(--ink);
}
.entity-cloud {
  gap: 5px 10px;
}
.entity-button {
  min-height: 24px;
  padding: 2px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.entity-button:hover,
.entity-button.active {
  color: var(--signal-strong);
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-drawer {
  background: var(--surface);
  overscroll-behavior: contain;
}
.drawer-head {
  margin-bottom: 32px;
}
.drawer-title {
  font-size: clamp(34px, 5.4vw, 48px);
  line-height: 1.07;
  letter-spacing: -0.041em;
  text-wrap: balance;
}
.drawer-summary,
.drawer-section p,
.drawer-section li {
  text-wrap: pretty;
}
.drawer-section {
  margin-top: 24px;
  padding-top: 20px;
}
.mobile-search-backdrop {
  position: fixed;
  inset: 0;
  z-index: 420;
  display: grid;
  align-items: start;
  padding: max(82px, calc(env(safe-area-inset-top) + 70px)) 16px max(24px, env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--ink) 28%, transparent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 170ms ease;
}
.mobile-search-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-search-panel {
  width: min(600px, 100%);
  margin: 0 auto;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-float);
  transform: translateY(-6px);
  transition: transform 170ms ease;
}
.mobile-search-backdrop.open .mobile-search-panel {
  transform: translateY(0);
}
.mobile-search-row {
  display: grid;
  grid-template-columns: 1fr 44px;
  gap: 8px;
}
.mobile-search-field {
  position: relative;
}
.mobile-search-field svg {
  position: absolute;
  top: 50%;
  left: 14px;
  width: 17px;
  height: 17px;
  color: var(--ink-faint);
  transform: translateY(-50%);
  pointer-events: none;
}
.mobile-search-field input {
  width: 100%;
  height: 44px;
  padding: 0 14px 0 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--surface-raised);
  outline: 0;
}
.mobile-search-field input:focus {
  border-color: color-mix(in srgb, var(--signal) 46%, var(--line));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--signal) 8%, transparent);
}
.mobile-search-close {
  width: 44px;
  height: 44px;
  align-self: center;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--ink-soft);
  background: transparent;
  cursor: pointer;
}
.mobile-search-close svg {
  width: 16px;
  height: 16px;
}
body.mobile-search-active,
body.overlay-active {
  overflow: hidden;
}
@media (hover: hover) and (pointer: fine) {
  .article-card .card-actions {
    opacity: 0.48;
    transition: opacity 140ms ease;
  }
  .article-card:hover .card-actions,
  .article-card:focus-within .card-actions,
  .article-card.keyboard-focus .card-actions {
    opacity: 1;
  }
}
@media (max-width: 1320px) {
  .workspace {
    gap: 28px;
  }
}
@media (max-width: 920px) {
  body.is-scrolled .topbar {
    background: color-mix(in srgb, var(--paper) 50%, transparent);
  }
  .workspace {
    padding-top: 22px;
  }
  .masthead-meta {
    margin-top: 13px;
  }
  .lead-aside {
    padding: 18px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
  .article-card,
  .feed-list.grid .article-card {
    grid-template-columns: 1fr auto;
  }
  .icon-button,
  .mobile-menu-button,
  .article-action,
  .drawer-close,
  .mobile-nav button {
    min-width: 44px;
    min-height: 44px;
  }
  .nav-button,
  .filter-button,
  .date-button {
    min-height: 44px;
  }
  .mobile-nav {
    border-color: color-mix(in srgb, var(--line) 72%, transparent);
    background: color-mix(in srgb, var(--surface) 88%, transparent);
  }
}
@media (max-width: 560px) {
  .masthead-title {
    line-height: 1;
  }
  .masthead-deck {
    font-size: 13.5px;
  }
  .lead-story {
    padding-top: 24px;
  }
  .lead-title {
    line-height: 1.08;
  }
  .article-card::before {
    inset-inline: -7px;
  }
  .article-summary {
    -webkit-line-clamp: 3;
  }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  body.is-scrolled .topbar {
    background: color-mix(in srgb, var(--paper) 90%, transparent);
  }
  .mobile-search-backdrop {
    background: rgba(17, 18, 17, 0.58);
  }
}
@media (forced-colors: active) {
  .article-card::before {
    border: 1px solid CanvasText;
    background: Canvas;
  }
  .nav-button.active,
  .filter-button.active,
  .segment-button.active,
  .article-action.saved {
    outline: 2px solid Highlight;
    outline-offset: 1px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .article-card::before,
  .mobile-search-backdrop,
  .mobile-search-panel,
  .topbar,
  .brand-mark {
    transition: none !important;
  }
}

/* src/reader/edition.css */
.app-shell[data-product-model=magazine-edition] {
  --publication-width: 1080px;
  --reading-width: 740px;
}
.app-shell[data-product-model=magazine-edition] .topbar-inner {
  width: min(1500px, 100%);
  grid-template-columns: minmax(230px, 300px) minmax(0, 1fr) auto auto;
  gap: 24px;
}
.app-shell[data-product-model=magazine-edition] .brand {
  min-width: 0;
}
.app-shell[data-product-model=magazine-edition] .brand-name {
  overflow: hidden;
  font-family: var(--font-editorial);
  font-size: 28px;
  font-weight: 600;
  line-height: .92;
  letter-spacing: -0.045em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.app-shell[data-product-model=magazine-edition] .brand-status {
  gap: 5px;
  margin-top: 2px;
  letter-spacing: 0.035em;
  text-transform: none;
}
.app-shell[data-product-model=magazine-edition] .status-dot {
  width: 4px;
  height: 4px;
  background: var(--signal);
  box-shadow: none;
}
.publication-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(13px, 1.45vw, 22px);
  min-width: 0;
}
.publication-nav a,
.publication-nav button {
  padding: 7px 0;
  border: 0;
  color: var(--ink-soft);
  background: transparent;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color 150ms ease;
}
.publication-nav a:hover,
.publication-nav a:focus-visible,
.publication-nav button:hover,
.publication-nav button:focus-visible {
  color: var(--ink);
}
.app-shell[data-product-model=magazine-edition] .global-search {
  width: 40px;
  height: 40px;
  justify-self: end;
  transition: width 180ms ease;
}
.app-shell[data-product-model=magazine-edition] .global-search input {
  width: 40px;
  height: 40px;
  padding: 0;
  border-color: transparent;
  color: transparent;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
}
.app-shell[data-product-model=magazine-edition] .global-search svg {
  left: 12px;
}
.app-shell[data-product-model=magazine-edition] .global-search .search-kbd {
  display: none;
}
.app-shell[data-product-model=magazine-edition] .global-search:focus-within {
  width: min(320px, 28vw);
}
.app-shell[data-product-model=magazine-edition] .global-search:focus-within input {
  width: 100%;
  padding: 0 16px 0 40px;
  border-color: var(--line);
  color: var(--ink);
  background: var(--surface-raised);
  cursor: text;
}
.app-shell[data-product-model=magazine-edition] .top-actions {
  gap: 3px;
  padding-right: 54px;
}
.app-shell[data-product-model=magazine-edition] .top-actions .icon-button {
  width: 36px;
  height: 36px;
}
.app-shell[data-product-model=magazine-edition] .top-actions .nf-mode-launcher {
  width: auto;
  min-width: 68px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
}
.nf-mode-launcher-label {
  font: 700 9px/1 var(--font-mono, monospace);
  letter-spacing: .08em;
}
.app-shell[data-product-model=magazine-edition] .nf-mode-launcher[data-newsflow-role=editor],
.app-shell[data-product-model=magazine-edition] .nf-mode-launcher[data-newsflow-role=chief] {
  border-color: color-mix(in srgb, var(--signal) 55%, var(--line));
  color: var(--signal);
}
.app-shell[data-product-model=magazine-edition] .mobile-menu-button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink-soft);
}
.app-shell[data-product-model=magazine-edition] .workspace {
  width: min(1380px, 100%);
  grid-template-columns: minmax(0, 1fr) 252px;
  gap: clamp(42px, 5vw, 76px);
  padding: 38px 34px 88px;
}
.app-shell[data-product-model=magazine-edition] .main-column {
  width: min(var(--publication-width), 100%);
  margin-inline: auto;
}
.app-shell[data-product-model=magazine-edition] .sidebar {
  position: fixed;
  z-index: 140;
  inset: 0 auto 0 0;
  width: min(360px, calc(100vw - 42px));
  max-height: none;
  padding: 24px 24px 42px;
  overflow-y: auto;
  color: var(--ink);
  background: var(--surface-raised);
  box-shadow: var(--shadow-float);
  transform: translateX(-105%);
  transition: transform 220ms ease;
}
.app-shell[data-product-model=magazine-edition] .sidebar.open {
  transform: translateX(0);
}
.filter-drawer-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 3px solid var(--ink);
}
.filter-drawer-heading .section-label {
  margin-bottom: 5px;
}
.filter-drawer-heading strong {
  font-family: var(--font-editorial);
  font-size: 26px;
  line-height: 1;
}
.filter-drawer-heading button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-soft);
  background: transparent;
  font-size: 24px;
  cursor: pointer;
}
.app-shell[data-product-model=magazine-edition] .sidebar-section {
  padding: 22px 0;
}
.app-shell[data-product-model=magazine-edition] .edition-identity-section,
.edition-identity-card {
  display: none;
}
.app-shell[data-product-model=magazine-edition] .brief-rail {
  top: calc(var(--header-height) + 42px);
  max-height: calc(100vh - var(--header-height) - 68px);
}
.app-shell[data-product-model=magazine-edition] .masthead {
  grid-template-columns: minmax(0, 1fr) 170px;
  align-items: end;
  gap: 48px;
  padding: 30px 0 31px;
  border-top: 1px solid var(--ink);
  border-bottom: 5px double var(--ink);
}
.app-shell[data-product-model=magazine-edition] .masthead-kicker {
  margin-bottom: 14px;
  color: var(--ink-faint);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.app-shell[data-product-model=magazine-edition] .masthead-title {
  max-width: 900px;
  font-size: clamp(55px, 7vw, 90px);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.058em;
}
.app-shell[data-product-model=magazine-edition] .masthead-deck {
  max-width: 660px;
  margin-top: 18px;
  color: var(--ink-soft);
  font-family: var(--font-editorial);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.48;
}
.app-shell[data-product-model=magazine-edition] .masthead-meta {
  padding-bottom: 1px;
  line-height: 1.85;
  text-align: left;
}
.masthead-sections {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 19px;
  color: var(--ink-faint);
  font-size: 12px;
}
.masthead-sections button {
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  cursor: pointer;
}
.masthead-sections button:hover,
.masthead-sections button:focus-visible {
  color: var(--signal-strong);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.latest-edition-panel {
  margin: 0 0 44px;
  padding: clamp(42px, 6vw, 70px) 0 38px;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  box-shadow: none;
}
.issue-topline,
.issue-footer,
.archive-date,
.storyline-meta {
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.7;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.issue-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-strong);
}
.issue-topline > span:first-child {
  color: var(--signal-strong);
  font-weight: 600;
}
.issue-hero-copy {
  max-width: 930px;
  padding: clamp(35px, 5vw, 58px) 0 clamp(28px, 4vw, 42px);
}
.issue-hero-copy h2,
.archive-heading h2 {
  margin: 0;
  font-family: var(--font-editorial);
  font-weight: 600;
  letter-spacing: -0.045em;
}
.issue-hero-copy h2 {
  max-width: 900px;
  font-size: clamp(48px, 6.2vw, 76px);
  line-height: 0.98;
}
.issue-standfirst {
  max-width: var(--reading-width);
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-family: var(--font-editorial);
  font-size: clamp(20px, 2.25vw, 26px);
  line-height: 1.46;
}
.issue-cover-action {
  margin-top: 26px;
  padding: 0 0 3px;
  border: 0;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.issue-cover-action:hover,
.issue-cover-action:focus-visible {
  color: var(--signal-strong);
  border-color: currentColor;
}
.issue-judgment-band {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 28px;
  padding: 25px 0 28px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.issue-judgment-band .section-label {
  margin: 2px 0 0;
}
.issue-judgment-band p {
  max-width: 760px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.8;
}
.issue-signals {
  padding-top: 30px;
}
.issue-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
}
.issue-section-heading > span:last-child {
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 400;
}
.issue-signal-link {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  width: 100%;
  padding: 18px 0 19px;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.issue-signal-link > span:first-child {
  padding-top: 3px;
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 9px;
}
.issue-signal-link > span:last-child {
  max-width: 780px;
  font-family: var(--font-editorial);
  font-size: clamp(24px, 3vw, 31px);
  line-height: 1.12;
}
.issue-signal-link:hover > span:last-child,
.issue-signal-link:focus-visible > span:last-child {
  color: var(--signal-strong);
}
.issue-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
}
.issue-footer button,
.archive-heading button,
.storyline-all {
  padding: 0;
  border: 0;
  color: var(--ink-soft);
  background: transparent;
  font: inherit;
  cursor: pointer;
}
.issue-empty h2 {
  margin: 10px 0;
  font-family: var(--font-editorial);
  font-size: 42px;
}
.post-issue-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding: 10px 0 15px;
  border-bottom: 1px solid var(--line-strong);
}
.post-issue-intro .section-label {
  margin-bottom: 5px;
  color: var(--ink-faint);
}
.post-issue-intro p {
  max-width: 620px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.55;
}
.post-issue-status {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 8.5px;
  white-space: nowrap;
}
.app-shell[data-product-model=magazine-edition] .lead-story {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding: 23px 0 38px;
  border-bottom: 1px solid var(--line-strong);
}
.app-shell[data-product-model=magazine-edition] .story-eyebrow {
  margin-bottom: 10px;
}
.app-shell[data-product-model=magazine-edition] .eyebrow-primary {
  color: var(--signal-strong);
}
.app-shell[data-product-model=magazine-edition] .source-verification,
.app-shell[data-product-model=magazine-edition] .signal-score {
  display: none;
}
.app-shell[data-product-model=magazine-edition] .lead-title {
  max-width: 810px;
  font-size: clamp(30px, 4vw, 43px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}
.app-shell[data-product-model=magazine-edition] .lead-summary {
  max-width: var(--reading-width);
  margin-top: 15px;
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 1.68;
}
.app-shell[data-product-model=magazine-edition] .lead-actions {
  margin-top: 18px;
}
.app-shell[data-product-model=magazine-edition] .lead-aside {
  display: none;
}
.app-shell[data-product-model=magazine-edition] .feed-toolbar {
  min-height: 72px;
  padding-top: 16px;
  border-top: 4px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.app-shell[data-product-model=magazine-edition] .feed-heading h2 {
  font-size: 32px;
}
.app-shell[data-product-model=magazine-edition] .view-segment {
  display: none;
}
.app-shell[data-product-model=magazine-edition] .feed-list.grid,
.app-shell[data-product-model=magazine-edition] .feed-list.list {
  grid-template-columns: 1fr;
  gap: 0;
}
.app-shell[data-product-model=magazine-edition] .article-card,
.app-shell[data-product-model=magazine-edition] .feed-list.grid .article-card {
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 20px;
  min-height: 0;
  padding: 24px 0 26px;
  border-radius: 0;
}
.app-shell[data-product-model=magazine-edition] .article-card:hover,
.app-shell[data-product-model=magazine-edition] .article-card.keyboard-focus {
  margin-inline: 0;
  padding-inline: 0;
  background: transparent;
}
.app-shell[data-product-model=magazine-edition] .article-index {
  color: var(--signal);
  font-size: 9px;
}
.app-shell[data-product-model=magazine-edition] .article-card[data-channel-id=ccus-energy-transition] .article-index,
.app-shell[data-product-model=magazine-edition] .issue-signal-link[data-channel-id=ccus-energy-transition] > span:first-child {
  color: var(--live);
}
.app-shell[data-product-model=magazine-edition] .article-card[data-channel-id=ai-infrastructure] .article-index,
.app-shell[data-product-model=magazine-edition] .issue-signal-link[data-channel-id=ai-infrastructure] > span:first-child {
  color: var(--signal);
}
.app-shell[data-product-model=magazine-edition] .feed-list.grid .article-index {
  display: block;
}
.app-shell[data-product-model=magazine-edition] .article-title,
.app-shell[data-product-model=magazine-edition] .feed-list.grid .article-title {
  max-width: 760px;
  font-size: clamp(23px, 2.8vw, 30px);
  line-height: 1.1;
}
.app-shell[data-product-model=magazine-edition] .article-summary {
  max-width: 720px;
  -webkit-line-clamp: 2;
}
.app-shell[data-product-model=magazine-edition] .article-tags {
  display: none;
}
.app-shell[data-product-model=magazine-edition] .article-meta span:last-child {
  display: none;
}
.app-shell[data-product-model=magazine-edition] .card-actions,
.app-shell[data-product-model=magazine-edition] .feed-list.grid .card-actions {
  align-self: start;
  margin-top: 0;
  opacity: 0.28;
  transition: opacity 150ms ease;
}
.app-shell[data-product-model=magazine-edition] .article-card:hover .card-actions,
.app-shell[data-product-model=magazine-edition] .article-card:focus-within .card-actions {
  opacity: 1;
}
.storyline-rail {
  padding: 0;
  border: 0;
  border-top: 4px solid var(--ink);
  background: transparent;
  box-shadow: none;
}
.storyline-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 16px;
  border-bottom: 1px solid var(--ink);
}
.storyline-heading .section-label {
  margin-bottom: 6px;
}
.storyline-heading h2 {
  margin: 0;
  font-family: var(--font-editorial);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.05;
}
.storyline-heading > span {
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 10px;
}
.storyline-list {
  display: grid;
}
.storyline-item {
  width: 100%;
  padding: 20px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.storyline-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  letter-spacing: 0;
  text-transform: none;
}
.movement {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.02em;
  text-transform: none;
}
.movement.strengthened {
  color: var(--success);
}
.movement.weakened,
.movement.complicated {
  color: var(--live);
}
.movement.evidence_added {
  color: var(--signal);
}
.storyline-item h3 {
  margin: 12px 0 8px;
  font-family: var(--font-editorial);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.1;
}
.storyline-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.62;
}
.storyline-open {
  display: block;
  margin-top: 12px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 8px;
}
.storyline-item:hover .storyline-open {
  color: var(--ink);
}
.storyline-all {
  width: 100%;
  padding: 16px 0;
  border-bottom: 1px solid var(--ink);
  text-align: left;
  font-family: var(--font-mono);
  font-size: 9px;
}
.edition-archive {
  margin-top: 70px;
  padding: 28px 0 80px;
  border-top: 4px solid var(--ink);
}
.archive-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--ink);
}
.archive-heading h2 {
  margin-top: 7px;
  font-size: clamp(31px, 4vw, 46px);
}
.archive-heading button {
  padding-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 9px;
}
.archive-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 140px;
  gap: 20px;
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
}
.archive-number {
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 10px;
}
.archive-row h3 {
  margin: 0 0 6px;
  font-family: var(--font-editorial);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.12;
}
.archive-row p {
  max-width: 680px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.58;
}
.archive-date {
  text-align: right;
}
.edition-overlay {
  position: fixed;
  z-index: 180;
  inset: 0;
  background: rgba(11, 12, 11, 0.42);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.edition-panel {
  position: fixed;
  z-index: 190;
  inset: 0 0 0 auto;
  width: min(560px, 100%);
  overflow-y: auto;
  color: var(--ink);
  background: var(--surface-raised);
  box-shadow: var(--shadow-float);
}
.edition-panel-head {
  position: sticky;
  top: 0;
  z-index: 2;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 30px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-raised) 94%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.edition-panel-head button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  color: var(--ink-soft);
  background: transparent;
  font-size: 24px;
  cursor: pointer;
}
.edition-panel-head button:hover {
  background: var(--paper-deep);
}
.edition-panel-body {
  padding: 46px 40px 80px;
}
.edition-panel-body > h2 {
  margin: 17px 0 14px;
  font-family: var(--font-editorial);
  font-size: clamp(38px, 7vw, 58px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.panel-question {
  margin: 0 0 38px;
  color: var(--ink-soft);
  font-family: var(--font-editorial);
  font-size: 20px;
  line-height: 1.45;
}
.edition-panel-body section {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.edition-panel-body section p,
.edition-panel-body section li {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
}
.edition-panel-body section ul {
  margin: 12px 0 0;
  padding-left: 19px;
}
.archive-panel-list {
  margin-top: 38px;
  border-top: 3px solid var(--ink);
}
.archive-panel-list article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.archive-panel-list article > span,
.archive-panel-list small {
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 9px;
}
.archive-panel-list h3 {
  margin: 0 0 7px;
  font-family: var(--font-editorial);
  font-size: 24px;
  line-height: 1.12;
}
.archive-panel-list p {
  margin: 0 0 10px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.6;
}
.app-shell[data-product-model=magazine-edition] .mobile-nav[data-edition-layer=magazine] a,
.app-shell[data-product-model=magazine-edition] .mobile-nav[data-edition-layer=magazine] button {
  min-height: 54px;
  display: grid;
  place-items: center;
  border: 0;
  color: var(--ink-faint);
  background: transparent;
  font-family: var(--font-ui);
  font-size: 9px;
  text-decoration: none;
  cursor: pointer;
}
@media (max-width: 1240px) {
  .app-shell[data-product-model=magazine-edition] .topbar-inner {
    grid-template-columns: minmax(210px, 260px) minmax(0, 1fr) auto auto;
    gap: 18px;
  }
  .publication-nav {
    gap: 13px;
  }
  .publication-nav a,
  .publication-nav button {
    font-size: 10px;
  }
}
@media (max-width: 1100px) {
  .app-shell[data-product-model=magazine-edition] .topbar-inner {
    grid-template-columns: minmax(220px, 1fr) auto auto;
  }
  .publication-nav {
    display: none;
  }
  .app-shell[data-product-model=magazine-edition] .workspace {
    grid-template-columns: minmax(0, 1fr);
    width: min(1100px, 100%);
  }
  .app-shell[data-product-model=magazine-edition] .brief-rail {
    display: none;
  }
}
@media (max-width: 920px) {
  .app-shell[data-product-model=magazine-edition] .workspace {
    padding: 26px 22px 90px;
  }
  .app-shell[data-product-model=magazine-edition] .masthead {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .app-shell[data-product-model=magazine-edition] .masthead-meta {
    text-align: left;
  }
  .post-issue-intro,
  .issue-footer,
  .archive-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .post-issue-status {
    white-space: normal;
  }
  .archive-date {
    text-align: left;
  }
}
@media (max-width: 720px) {
  .app-shell[data-product-model=magazine-edition] .topbar-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    padding-inline: 16px;
  }
  .app-shell[data-product-model=magazine-edition] .global-search,
  .app-shell[data-product-model=magazine-edition] .top-actions [data-desktop-only=true] {
    display: none;
  }
  .app-shell[data-product-model=magazine-edition] .top-actions {
    padding-right: 0;
  }
  .app-shell[data-product-model=magazine-edition] .brand-name {
    font-size: 23px;
  }
  .app-shell[data-product-model=magazine-edition] .workspace {
    padding-inline: 17px;
  }
  .app-shell[data-product-model=magazine-edition] .masthead {
    padding: 20px 0 25px;
  }
  .app-shell[data-product-model=magazine-edition] .masthead-title {
    font-size: clamp(45px, 14vw, 62px);
    line-height: 0.94;
  }
  .app-shell[data-product-model=magazine-edition] .masthead-deck {
    font-size: 18px;
  }
  .masthead-sections {
    margin-top: 15px;
    font-size: 11px;
  }
  .latest-edition-panel {
    padding: 36px 0 32px;
    margin-bottom: 34px;
  }
  .issue-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
  .issue-hero-copy {
    padding: 31px 0 27px;
  }
  .issue-hero-copy h2 {
    font-size: clamp(38px, 11vw, 52px);
  }
  .issue-standfirst {
    margin-top: 18px;
    font-size: 19px;
  }
  .issue-judgment-band {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 22px 0;
  }
  .issue-signal-link {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 9px;
  }
  .issue-signal-link > span:last-child {
    font-size: clamp(23px, 7vw, 29px);
  }
  .post-issue-intro {
    gap: 13px;
    padding: 8px 0 13px;
  }
  .app-shell[data-product-model=magazine-edition] .lead-story {
    padding: 20px 0 32px;
  }
  .app-shell[data-product-model=magazine-edition] .lead-title {
    font-size: clamp(29px, 8.8vw, 39px);
  }
  .app-shell[data-product-model=magazine-edition] .lead-actions {
    flex-wrap: wrap;
  }
  .app-shell[data-product-model=magazine-edition] .article-card,
  .app-shell[data-product-model=magazine-edition] .feed-list.grid .article-card {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 12px;
  }
  .app-shell[data-product-model=magazine-edition] .card-actions {
    grid-column: 2;
    opacity: 1;
  }
  .archive-row {
    grid-template-columns: 35px 1fr;
  }
  .archive-date {
    grid-column: 2;
  }
  .edition-panel-body {
    padding: 36px 24px 72px;
  }
}
@media (max-width: 620px) {
  .app-shell[data-product-model=magazine-edition] .feed-heading {
    display: block;
  }
  .app-shell[data-product-model=magazine-edition] .feed-heading span {
    display: block;
    margin-top: 5px;
  }
}
@media (hover: none) {
  .app-shell[data-product-model=magazine-edition] .card-actions,
  .app-shell[data-product-model=magazine-edition] .feed-list.grid .card-actions {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .app-shell[data-product-model=magazine-edition] .sidebar,
  .app-shell[data-product-model=magazine-edition] .global-search {
    transition: none;
  }
}
.is-latest-hidden {
  display: none;
}

/* src/reader/magazine.css */
.app-shell[data-product-model=magazine-edition] #latest-change,
.app-shell[data-product-model=magazine-edition] #current-issue,
.app-shell[data-product-model=magazine-edition] #editorial-desk,
.app-shell[data-product-model=magazine-edition] .edition-archive {
  scroll-margin-top: calc(var(--header-height) + 24px);
}
.app-shell[data-product-model=magazine-edition] .masthead-title,
.app-shell[data-product-model=magazine-edition] .lead-title,
.app-shell[data-product-model=magazine-edition] .issue-hero-copy h2,
.app-shell[data-product-model=magazine-edition] .archive-heading h2,
.edition-panel-body > h2,
.storyline-index-item strong {
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.app-shell[data-product-model=magazine-edition] .masthead-deck,
.app-shell[data-product-model=magazine-edition] .lead-summary,
.app-shell[data-product-model=magazine-edition] .issue-standfirst,
.app-shell[data-product-model=magazine-edition] .article-summary,
.panel-question {
  text-wrap: pretty;
}
.app-shell[data-product-model=magazine-edition] .masthead-meta[data-magazine-polished=true] {
  display: grid;
  gap: 2px;
}
.app-shell[data-product-model=magazine-edition] .masthead-meta[data-magazine-polished=true] span {
  display: block;
}
.app-shell[data-product-model=magazine-edition] .nf-brand-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.app-shell[data-product-model=magazine-edition] .nf-brand-row .brand-name {
  min-width: 0;
}
.app-shell[data-product-model=magazine-edition] .nf-data-date {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 18px;
  padding: 1px 6px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink-faint);
  background: color-mix(in srgb, var(--surface-raised) 72%, transparent);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.035em;
  white-space: nowrap;
}
.app-shell[data-product-model=magazine-edition] .global-search:not(:focus-within) input::placeholder {
  color: transparent;
  opacity: 0;
}
.app-shell[data-product-model=magazine-edition] .global-search:focus-within input::placeholder {
  color: var(--ink-faint);
  opacity: 1;
}
.post-issue-intro[data-empty=true] {
  border-bottom-style: dashed;
}
.post-issue-intro[data-empty=true] .section-label,
.post-issue-intro[data-empty=true] .movement {
  color: var(--ink-faint);
}
.publication-nav a,
.publication-nav button,
.issue-footer button,
.archive-heading button,
.storyline-all {
  text-underline-offset: 5px;
}
.publication-nav a:hover,
.publication-nav a:focus-visible,
.publication-nav button:hover,
.publication-nav button:focus-visible,
.issue-footer button:hover,
.issue-footer button:focus-visible,
.archive-heading button:hover,
.archive-heading button:focus-visible,
.storyline-all:hover,
.storyline-all:focus-visible {
  text-decoration: underline;
}
.app-shell[data-product-model=magazine-edition] .sidebar,
.edition-panel {
  overscroll-behavior: contain;
}
.edition-overlay {
  animation: magazine-overlay-in 150ms ease both;
}
.edition-panel {
  animation: magazine-panel-in 220ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.storyline-index-panel {
  width: min(680px, 100%);
}
.storyline-index-list {
  margin-top: 34px;
  border-top: 3px solid var(--ink);
}
.storyline-index-item {
  width: 100%;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 24px;
  align-items: start;
  gap: 18px;
  padding: 24px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: color 150ms ease, background 150ms ease;
}
.storyline-index-item:hover,
.storyline-index-item:focus-visible {
  color: var(--signal-strong);
  background: color-mix(in srgb, var(--signal-soft) 26%, transparent);
}
.storyline-index-number,
.storyline-index-meta,
.storyline-index-arrow {
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.6;
}
.storyline-index-copy {
  min-width: 0;
  display: grid;
  gap: 7px;
}
.storyline-index-copy strong {
  font-family: var(--font-editorial);
  font-size: clamp(23px, 3vw, 30px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.storyline-index-copy > span:last-child {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.62;
}
.storyline-index-arrow {
  padding-top: 24px;
  text-align: right;
  transition: transform 150ms ease, color 150ms ease;
}
.storyline-index-item:hover .storyline-index-arrow,
.storyline-index-item:focus-visible .storyline-index-arrow {
  color: currentColor;
  transform: translateX(3px);
}
.storyline-index-empty {
  padding: 28px 0;
  color: var(--ink-soft);
}
.app-shell[data-product-model=magazine-edition] .top-actions > [data-action=feedback-center],
.app-shell[data-product-model=magazine-edition] .top-actions > [data-action=open-editorial-office],
.app-shell[data-product-model=magazine-edition] .top-actions > [data-action=help] {
  display: none;
}
.app-shell[data-product-model=magazine-edition] .nf-mode-trigger {
  min-height: 34px;
  gap: 0;
  padding: 5px 2px;
  border: 0;
  border-radius: 0;
  color: var(--ink-soft);
  background: transparent;
}
.app-shell[data-product-model=magazine-edition] .nf-mode-trigger > span {
  display: none;
}
.app-shell[data-product-model=magazine-edition] .nf-mode-trigger > strong {
  font-size: 10px;
  font-weight: 500;
}
.app-shell[data-product-model=magazine-edition] .nf-mode-trigger:hover,
.app-shell[data-product-model=magazine-edition] .nf-mode-trigger:focus-visible {
  color: var(--ink);
  border-color: transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.app-shell[data-product-model=magazine-edition] .lead-actions {
  gap: 16px;
}
.app-shell[data-product-model=magazine-edition] .lead-actions .text-button {
  min-height: 30px;
  padding: 4px 0;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  color: var(--ink-soft);
  background: transparent;
  box-shadow: none;
}
.app-shell[data-product-model=magazine-edition] .lead-actions .text-button.primary {
  color: var(--ink);
  background: transparent;
}
.app-shell[data-product-model=magazine-edition] .lead-actions .text-button:hover,
.app-shell[data-product-model=magazine-edition] .lead-actions .text-button:focus-visible {
  color: var(--signal-strong);
  border-bottom-color: currentColor;
  background: transparent;
  transform: none;
}
.app-shell[data-product-model=magazine-edition] .lead-actions [data-action=feedback-hide] {
  display: none;
}
.app-shell[data-product-model=magazine-edition] .article-action {
  border-color: transparent;
  background: transparent;
}
.app-shell[data-product-model=magazine-edition] [data-edition-layer=section-view] .issue-hero-copy {
  padding: 20px 0 8px;
}
.app-shell[data-product-model=magazine-edition] [data-edition-layer=section-view] .issue-hero-copy > h2,
.app-shell[data-product-model=magazine-edition] [data-edition-layer=section-view] .issue-hero-copy > .issue-standfirst {
  display: none;
}
.app-shell[data-product-model=magazine-edition] [data-edition-layer=section-view] .issue-topline button {
  padding: 0;
  border: 0;
  color: var(--ink-soft);
  background: transparent;
  font-family: var(--font-ui);
  font-size: 10px;
  cursor: pointer;
}
.app-shell[data-product-model=magazine-edition] [data-edition-layer=section-view] .issue-topline button:hover,
.app-shell[data-product-model=magazine-edition] [data-edition-layer=section-view] .issue-topline button:focus-visible {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.app-shell[data-product-model=magazine-edition] .issue-section-heading .masthead-sections {
  margin-top: 0;
  font-size: 10px;
  font-weight: 400;
}
.app-shell[data-product-model=magazine-edition] .issue-section-heading .masthead-sections button[aria-pressed=true] {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}
html[data-theme=dark] .edition-overlay {
  background: rgba(0, 0, 0, 0.58);
}
@media (hover: none) {
  .app-shell[data-product-model=magazine-edition] .card-actions,
  .app-shell[data-product-model=magazine-edition] .feed-list.grid .card-actions {
    opacity: 1;
  }
}
@media (max-width: 920px) {
  .app-shell[data-product-model=magazine-edition] .masthead-meta[data-magazine-polished=true] {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 16px;
    padding-top: 15px;
    border-top: 1px solid var(--line);
  }
  .app-shell[data-product-model=magazine-edition] .lead-actions {
    gap: 12px;
  }
}
@media (max-width: 720px) {
  .app-shell[data-product-model=magazine-edition] {
    overflow-x: clip;
  }
  .app-shell[data-product-model=magazine-edition] .workspace {
    width: 100%;
    max-width: 100%;
    padding-top: 20px;
  }
  .app-shell[data-product-model=magazine-edition] .main-column,
  .app-shell[data-product-model=magazine-edition] .feed-list,
  .app-shell[data-product-model=magazine-edition] .article-body {
    min-width: 0;
    max-width: 100%;
  }
  .app-shell[data-product-model=magazine-edition] .masthead {
    gap: 17px;
    padding: 16px 0 23px;
  }
  .app-shell[data-product-model=magazine-edition] .masthead-kicker {
    margin-bottom: 10px;
  }
  .app-shell[data-product-model=magazine-edition] .masthead-title {
    font-size: clamp(43px, 13vw, 60px);
    line-height: 0.92;
  }
  .app-shell[data-product-model=magazine-edition] .masthead-deck {
    margin-top: 15px;
    font-size: 17px;
    line-height: 1.48;
  }
  .post-issue-intro {
    gap: 14px;
    padding: 13px 0;
  }
  .post-issue-status {
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .app-shell[data-product-model=magazine-edition] .lead-story {
    gap: 25px;
    padding: 24px 0 38px;
  }
  .app-shell[data-product-model=magazine-edition] .lead-title {
    font-size: clamp(32px, 9.5vw, 44px);
    line-height: 1;
  }
  .app-shell[data-product-model=magazine-edition] .lead-summary {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.55;
  }
  .app-shell[data-product-model=magazine-edition] .lead-actions {
    flex-wrap: wrap;
  }
  .latest-edition-panel {
    margin-bottom: 40px;
    padding: 30px 0;
  }
  .issue-hero-copy h2 {
    font-size: clamp(38px, 11vw, 52px);
  }
  .issue-standfirst {
    margin: 20px 0 27px;
    font-size: 19px;
  }
  .app-shell[data-product-model=magazine-edition] [data-edition-layer=section-view] .issue-hero-copy {
    padding: 12px 0 4px;
  }
  .app-shell[data-product-model=magazine-edition] .feed-toolbar {
    min-height: 68px;
    padding-top: 14px;
  }
  .app-shell[data-product-model=magazine-edition] .article-card,
  .app-shell[data-product-model=magazine-edition] .feed-list.grid .article-card {
    grid-template-columns: 28px minmax(0, 1fr);
    column-gap: 11px;
    row-gap: 8px;
    width: 100%;
    min-width: 0;
    padding: 21px 0 23px;
  }
  .app-shell[data-product-model=magazine-edition] .article-index {
    grid-column: 1;
    min-width: 0;
  }
  .app-shell[data-product-model=magazine-edition] .article-body {
    grid-column: 2;
  }
  .app-shell[data-product-model=magazine-edition] .article-meta {
    min-width: 0;
    flex-wrap: wrap;
    gap: 5px 9px;
  }
  .app-shell[data-product-model=magazine-edition] .article-source {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .app-shell[data-product-model=magazine-edition] .article-title,
  .app-shell[data-product-model=magazine-edition] .feed-list.grid .article-title {
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
    text-wrap: pretty;
  }
  .app-shell[data-product-model=magazine-edition] .article-summary {
    max-width: 100%;
    -webkit-line-clamp: 3;
  }
  .app-shell[data-product-model=magazine-edition] .card-actions,
  .app-shell[data-product-model=magazine-edition] .feed-list.grid .card-actions {
    grid-column: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 4px;
    width: auto;
    margin-top: 2px;
    opacity: 1;
  }
  .edition-panel-head {
    min-height: 60px;
    padding: 0 max(18px, env(safe-area-inset-right)) 0 20px;
  }
  .edition-panel-body {
    padding: 31px 20px calc(70px + env(safe-area-inset-bottom));
  }
  .edition-panel-body > h2 {
    font-size: clamp(35px, 11vw, 48px);
  }
  .storyline-index-item {
    grid-template-columns: 30px minmax(0, 1fr) 18px;
    gap: 12px;
    padding: 21px 0;
  }
  .storyline-index-copy strong {
    font-size: 23px;
  }
  .storyline-index-arrow {
    padding-top: 22px;
  }
}
@media (max-width: 430px) {
  .app-shell[data-product-model=magazine-edition] .brand-status {
    display: none;
  }
  .app-shell[data-product-model=magazine-edition] .masthead-meta[data-magazine-polished=true] {
    gap: 4px 10px;
    font-size: 8px;
  }
  .app-shell[data-product-model=magazine-edition] .article-card,
  .app-shell[data-product-model=magazine-edition] .feed-list.grid .article-card {
    grid-template-columns: 24px minmax(0, 1fr);
    column-gap: 9px;
  }
  .app-shell[data-product-model=magazine-edition] .article-title,
  .app-shell[data-product-model=magazine-edition] .feed-list.grid .article-title {
    font-size: 22px;
    line-height: 1.12;
  }
  .app-shell[data-product-model=magazine-edition] .lead-actions {
    gap: 10px 14px;
  }
}
@media print {
  .topbar,
  .sidebar,
  .brief-rail,
  .mobile-nav,
  .lead-actions,
  .card-actions,
  .membership-widget,
  .edition-overlay,
  .edition-panel {
    display: none !important;
  }
  body,
  .app-shell,
  .workspace,
  .main-column {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #000 !important;
    background: #fff !important;
  }
  .masthead,
  .lead-story,
  .latest-edition-panel,
  .article-card,
  .edition-archive {
    break-inside: avoid;
  }
}
@media (forced-colors: active) {
  .storyline-index-item:hover,
  .storyline-index-item:focus-visible {
    outline: 2px solid CanvasText;
  }
}
@media (prefers-reduced-motion: reduce) {
  .edition-overlay,
  .edition-panel,
  .storyline-index-arrow {
    animation: none;
    transition: none;
  }
}
@keyframes magazine-overlay-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes magazine-panel-in {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* src/reader/navigation.css */
@media (max-width: 920px) {
  .app-shell[data-product-model=magazine-edition] .mobile-menu-button svg {
    display: none;
  }
  .app-shell[data-product-model=magazine-edition] .mobile-menu-button::before {
    content: "";
    width: 19px;
    height: 19px;
    background: currentColor;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 6h16M7 12h10m-7 6h4' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 6h16M7 12h10m-7 6h4' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
  }
  .app-shell[data-product-model=magazine-edition] .mobile-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* src/reader/reading.css */
#newsflow-reading-surface-root[hidden] {
  display: none;
}
body.nf-reading-open {
  overflow: hidden;
}
#newsflow-reading-surface-root:not([hidden])::before {
  content: "";
  position: fixed;
  z-index: 319;
  inset: 0;
  background: rgba(20, 20, 18, 0.18);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  animation: nf-reading-backdrop-in 150ms ease both;
}
.nf-reading-shell {
  position: fixed;
  z-index: 320;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(760px, 54vw);
  min-width: 520px;
  overflow-y: auto;
  overscroll-behavior: contain;
  color: var(--ink);
  border-left: 1px solid var(--line);
  background: var(--surface-raised);
  box-shadow: -24px 0 72px rgba(35, 31, 24, 0.18);
  animation: nf-reading-sheet-in 220ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.nf-reading-progress {
  position: sticky;
  z-index: 4;
  top: 0;
  height: 2px;
  overflow: hidden;
  background: transparent;
}
.nf-reading-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left center;
}
.nf-reading-header {
  position: sticky;
  z-index: 3;
  top: 2px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-raised) 94%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.nf-reading-header-inner {
  width: 100%;
  min-height: 62px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
}
.nf-reading-back,
.nf-reading-share {
  border: 0;
  padding: 0;
  color: var(--ink-soft);
  background: transparent;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
}
.nf-reading-back {
  justify-self: start;
}
.nf-reading-share {
  justify-self: end;
}
.nf-reading-back:hover,
.nf-reading-back:focus-visible,
.nf-reading-share:hover,
.nf-reading-share:focus-visible {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 5px;
}
.nf-reading-publication {
  min-width: 0;
  text-align: center;
}
.nf-reading-publication strong,
.nf-reading-publication span {
  display: block;
}
.nf-reading-publication strong {
  overflow: hidden;
  font-family: var(--font-editorial);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nf-reading-publication span {
  margin-top: 3px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.nf-reading-layout {
  width: 100%;
  margin: 0;
  padding: clamp(38px, 5vw, 58px) clamp(34px, 5vw, 58px) 88px;
}
.nf-reading-article {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}
.nf-reading-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 13px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.5;
}
.nf-reading-meta span:first-child {
  color: var(--signal-strong);
  font-weight: 600;
}
.nf-reading-article h1 {
  margin: 18px 0 0;
  font-family: var(--font-editorial);
  font-size: clamp(38px, 4.3vw, 56px);
  font-weight: 600;
  line-height: 1.01;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.nf-reading-standfirst {
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-family: var(--font-editorial);
  font-size: clamp(19px, 2vw, 22px);
  line-height: 1.52;
  text-wrap: pretty;
}
.nf-reading-byline {
  margin-top: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--ink);
  color: var(--ink-faint);
  font-family: var(--font-ui);
  font-size: 10px;
}
.nf-reading-section {
  padding: 34px 0 0;
}
.nf-reading-section + .nf-reading-section {
  margin-top: 34px;
  border-top: 1px solid var(--line);
}
.nf-reading-section h2 {
  margin: 0 0 15px;
  font-family: var(--font-editorial);
  font-size: clamp(26px, 2.7vw, 32px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.nf-reading-section > p {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.76;
}
.nf-reading-evidence blockquote {
  margin: 22px 0;
  padding: 3px 0 3px 20px;
  border-left: 2px solid var(--signal);
  color: var(--ink-soft);
  font-family: var(--font-editorial);
  font-size: 20px;
  line-height: 1.52;
}
.nf-reading-evidence .nf-reading-provenance {
  margin-top: 22px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.7;
}
.nf-reading-inline-link {
  display: inline-block;
  margin-top: 13px;
  color: var(--signal-strong);
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
}
.nf-reading-inline-link:hover,
.nf-reading-inline-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.nf-reading-storylines,
.nf-reading-related {
  border-top: 2px solid var(--ink);
}
.nf-reading-storylines button,
.nf-reading-related button {
  width: 100%;
  padding: 18px 0;
  display: grid;
  gap: 6px;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.nf-reading-storylines strong,
.nf-reading-related strong {
  font-family: var(--font-editorial);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.12;
}
.nf-reading-storylines span,
.nf-reading-related span {
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.6;
}
.nf-reading-storylines button:hover strong,
.nf-reading-related button:hover strong,
.nf-reading-storylines button:focus-visible strong,
.nf-reading-related button:focus-visible strong {
  color: var(--signal-strong);
}
.nf-reading-adjacent {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 54px;
  padding-top: 22px;
  border-top: 4px double var(--ink);
}
.nf-reading-adjacent button {
  padding: 0;
  display: grid;
  gap: 7px;
  border: 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.nf-reading-adjacent button:last-child {
  text-align: right;
}
.nf-reading-adjacent span {
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 8px;
}
.nf-reading-adjacent strong {
  font-family: var(--font-editorial);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.16;
}
.nf-reading-adjacent button:hover strong,
.nf-reading-adjacent button:focus-visible strong {
  color: var(--signal-strong);
}
.nf-share-backdrop {
  position: fixed;
  z-index: 8;
  inset: 0;
  background: rgba(17, 18, 17, 0.48);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.nf-share-dialog {
  position: fixed;
  z-index: 9;
  top: 50%;
  left: 50%;
  width: min(470px, calc(100vw - 30px));
  max-height: min(840px, calc(100vh - 30px));
  overflow: auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-raised);
  box-shadow: var(--shadow-float);
  transform: translate(-50%, -50%);
}
.nf-share-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
.nf-share-head span {
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .09em;
}
.nf-share-head h2 {
  margin: 5px 0 0;
  font-family: var(--font-editorial);
  font-size: 30px;
  line-height: 1;
}
.nf-share-head button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-soft);
  font-size: 24px;
  cursor: pointer;
}
.nf-share-dialog > p {
  margin: 16px 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.6;
}
.nf-share-preview {
  display: grid;
  place-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.nf-share-preview canvas {
  width: min(100%, 300px);
  height: auto;
  display: block;
  box-shadow: 0 12px 34px rgba(30, 26, 18, .13);
}
.nf-share-actions {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}
.nf-share-actions button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}
.nf-share-actions .nf-share-primary {
  border-color: var(--signal);
  color: #fff;
  background: var(--signal);
}
.nf-share-dialog small {
  display: block;
  margin-top: 12px;
  overflow: hidden;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 1040px) {
  .nf-reading-shell {
    width: min(700px, 72vw);
    min-width: 0;
  }
}
@media (max-width: 720px) {
  #newsflow-reading-surface-root:not([hidden])::before {
    display: none;
  }
  .nf-reading-shell {
    left: 0;
    right: auto;
    width: 100vw;
    max-width: none;
    min-width: 0;
    border-left: 0;
    box-shadow: none;
    animation: none;
  }
  .nf-reading-header-inner {
    min-height: 58px;
    padding: 0 16px;
    gap: 9px;
  }
  .nf-reading-back,
  .nf-reading-share {
    font-size: 9px;
  }
  .nf-reading-publication strong {
    font-size: 14px;
  }
  .nf-reading-publication span {
    display: none;
  }
  .nf-reading-layout {
    padding: 34px 18px calc(82px + env(safe-area-inset-bottom));
  }
  .nf-reading-article h1 {
    margin-top: 15px;
    font-size: clamp(36px, 10.5vw, 48px);
    line-height: 1;
  }
  .nf-reading-standfirst {
    margin-top: 19px;
    font-size: 19px;
  }
  .nf-reading-byline {
    margin-top: 20px;
    padding-bottom: 21px;
  }
  .nf-reading-section {
    padding-top: 30px;
  }
  .nf-reading-section + .nf-reading-section {
    margin-top: 30px;
  }
  .nf-reading-section h2 {
    font-size: 27px;
  }
  .nf-reading-section > p {
    font-size: 16px;
    line-height: 1.72;
  }
  .nf-reading-evidence blockquote {
    padding-left: 16px;
    font-size: 19px;
  }
  .nf-reading-storylines strong,
  .nf-reading-related strong {
    font-size: 21px;
  }
  .nf-reading-adjacent {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 48px;
  }
  .nf-reading-adjacent button:last-child {
    text-align: left;
  }
  .nf-share-dialog {
    padding: 20px;
  }
  .nf-share-actions {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nf-reading-shell,
  #newsflow-reading-surface-root:not([hidden])::before {
    animation: none;
  }
}
@media print {
  #newsflow-reading-surface-root:not([hidden])::before {
    display: none;
  }
  .nf-reading-header {
    position: static;
  }
  .nf-reading-back,
  .nf-reading-share,
  .nf-reading-adjacent,
  .nf-share-dialog,
  .nf-share-backdrop {
    display: none;
  }
  .nf-reading-shell {
    position: static;
    width: auto;
    min-width: 0;
    overflow: visible;
    border: 0;
    box-shadow: none;
  }
  body.nf-reading-open {
    overflow: visible;
  }
}
@keyframes nf-reading-backdrop-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes nf-reading-sheet-in {
  from {
    opacity: 0;
    transform: translateX(22px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* src/reader.css */
