:root,
[data-theme="paper"] {
  --bg-page: #f6f3ec;
  --bg-surface: #efeae0;
  --bg-elevated: #ffffff;
  --ink-primary: #141413;
  --ink-secondary: #3d3b37;
  --ink-muted: #706d65;
  --rule-heavy: #141413;
  --rule-medium: #aba496;
  --rule-light: #dcd6c8;
  --accent-editorial: #9e2a2b;
  --accent-amber: #9a5b13;
  --accent-slate: #2b4c65;
}

[data-theme="dark"] {
  --bg-page: #111110;
  --bg-surface: #181816;
  --bg-elevated: #1f1f1c;
  --ink-primary: #ece9e1;
  --ink-secondary: #b8b3a8;
  --ink-muted: #7d7970;
  --rule-heavy: #ece9e1;
  --rule-medium: #45433e;
  --rule-light: #2a2926;
  --accent-editorial: #e05a5b;
  --accent-amber: #d9933f;
  --accent-slate: #6da3cc;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-page);
  color: var(--ink-primary);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.page-frame {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 1.75rem;
}

a {
  color: inherit;
  text-decoration: none;
}

.hidden {
  display: none !important;
}

/* TOP UTILITY FOLIO */
.utility-folio {
  border-bottom: 1px solid var(--rule-light);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  color: var(--ink-muted);
  padding: 0.5rem 0;
}

.folio-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.folio-left,
.folio-center,
.folio-right {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.folio-sep {
  color: var(--rule-medium);
}

.posture-label {
  color: var(--ink-muted);
}

.posture-value {
  font-weight: 600;
  color: var(--ink-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.folio-stat strong {
  color: var(--ink-primary);
  font-weight: 600;
}

.text-action-btn {
  background: none;
  border: none;
  color: var(--ink-secondary);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  cursor: pointer;
  padding: 0.1rem 0.25rem;
  border-bottom: 1px solid transparent;
}

.text-action-btn:hover {
  color: var(--ink-primary);
  border-bottom-color: var(--ink-primary);
}

/* MASTHEAD */
.masthead {
  padding-top: 1.4rem;
}

.masthead-grid {
  display: grid;
  grid-template-columns: 250px 1fr 250px;
  align-items: center;
  gap: 1.5rem;
  padding-bottom: 1.35rem;
  border-bottom: 3px double var(--rule-heavy);
}

.masthead-ear {
  font-size: 0.76rem;
  color: var(--ink-secondary);
  line-height: 1.4;
}

.ear-left {
  border-right: 1px solid var(--rule-light);
  padding-right: 1.1rem;
}

.ear-right {
  border-left: 1px solid var(--rule-light);
  padding-left: 1.1rem;
  text-align: right;
}

.ear-kicker {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  margin-bottom: 0.3rem;
}

.masthead-center {
  text-align: center;
}

.paper-title {
  font-family: 'Newsreader', Georgia, 'Times New Roman', serif;
  font-size: clamp(2.7rem, 5.2vw, 4.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 0.98;
  color: var(--ink-primary);
}

.paper-subline {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
  margin-top: 0.55rem;
}

.subline-dot {
  margin: 0 0.45rem;
}

/* READING FORMAT SWITCH */
.format-Minimal-switch {
  display: inline-flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.view-btn {
  background: transparent;
  border: 1px solid var(--rule-light);
  color: var(--ink-secondary);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  transition: all 0.12s ease;
}

.view-btn:hover {
  border-color: var(--rule-heavy);
  color: var(--ink-primary);
}

.view-btn.active {
  background: var(--ink-primary);
  color: var(--bg-page);
  border-color: var(--ink-primary);
  font-weight: 500;
}

/* SECTION NAVIGATION BAR */
.section-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--rule-heavy);
  flex-wrap: wrap;
}

.topic-tabs {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  overflow-x: auto;
}

.topic-tab {
  background: none;
  border: none;
  color: var(--ink-secondary);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.2rem 0;
  white-space: nowrap;
  position: relative;
}

.topic-tab:hover {
  color: var(--ink-primary);
}

.topic-tab.active {
  color: var(--ink-primary);
  font-weight: 700;
}

.topic-tab.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.58rem;
  height: 2px;
  background: var(--ink-primary);
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.search-field input {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule-medium);
  color: var(--ink-primary);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  padding: 0.22rem 0.2rem;
  width: 200px;
  outline: none;
}

.search-field input:focus {
  border-bottom-color: var(--ink-primary);
}

.minimal-select {
  background: transparent;
  border: 1px solid var(--rule-light);
  color: var(--ink-secondary);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  padding: 0.2rem 0.45rem;
  cursor: pointer;
}

/* DESK BAR */
.desk-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--rule-light);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  overflow-x: auto;
}

.desk-label {
  color: var(--ink-muted);
  font-weight: 600;
  white-space: nowrap;
}

.source-pills {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.source-pill {
  background: none;
  border: none;
  color: var(--ink-secondary);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.71rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.1rem 0;
  border-bottom: 1px solid transparent;
}

.source-pill:hover,
.source-pill.active {
  color: var(--ink-primary);
  font-weight: 600;
  border-bottom-color: var(--ink-primary);
}

.source-count {
  color: var(--ink-muted);
  font-size: 0.66rem;
}

/* LOADING SHEET */
.loading-sheet {
  padding: 4rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--rule-light);
}

.loading-headline {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.5rem;
  font-style: italic;
  margin-bottom: 0.4rem;
}

.loading-sub {
  color: var(--ink-muted);
  font-size: 0.85rem;
}

/* BROADSHEET 3-COLUMN LAYOUT */
.editorial-main {
  padding-top: 1.5rem;
  padding-bottom: 4rem;
}

.broadsheet-grid {
  display: grid;
  grid-template-columns: 280px 1fr 310px;
  gap: 0;
  align-items: start;
}

.col-briefing {
  padding-right: 1.5rem;
  border-right: 1px solid var(--rule-light);
}

.col-center {
  padding: 0 1.75rem;
}

.col-docket {
  padding-left: 1.5rem;
  border-left: 1px solid var(--rule-light);
}

.col-header h2,
.col-header h3 {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.15;
  margin-top: 0.15rem;
}

.section-kicker {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent-editorial);
  text-transform: uppercase;
  display: block;
}

.col-deck {
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin: 0.35rem 0 1rem;
  line-height: 1.45;
}

.editorial-rule {
  height: 1px;
  background: var(--rule-light);
  margin: 1.4rem 0;
}

/* LEFT COLUMN: THE MORNING FIVE */
.morning-five-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.flash-item {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule-light);
  cursor: pointer;
}

.flash-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.flash-item:hover .flash-headline {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.flash-item-top {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.67rem;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.28rem;
}

.flash-num {
  font-weight: 600;
  color: var(--ink-secondary);
}

.flash-headline {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.28;
  color: var(--ink-primary);
  margin-bottom: 0.35rem;
}

.flash-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.66rem;
  color: var(--ink-muted);
}

/* SEVERITY LABELS (EDITORIAL TYPOGRAPHIC STYLE) */
.sev-pill {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sev-CRITICAL {
  color: var(--accent-editorial);
}

.sev-HIGH {
  color: var(--accent-amber);
}

.sev-MEDIUM {
  color: var(--accent-slate);
}

.sev-INFO {
  color: var(--ink-muted);
}

/* CENTER COLUMN: LEAD STORY */
.lead-story-card {
  padding-bottom: 1.65rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--rule-heavy);
  cursor: pointer;
}

.lead-kicker-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  color: var(--ink-muted);
  margin-bottom: 0.55rem;
  flex-wrap: wrap;
}

.lead-title {
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(1.95rem, 3vw, 2.75rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin-bottom: 0.85rem;
  color: var(--ink-primary);
}

.lead-story-card:hover .lead-title {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

.lead-summary {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.16rem;
  line-height: 1.55;
  color: var(--ink-secondary);
  margin-bottom: 1.1rem;
}

.digest-callout {
  background: var(--bg-surface);
  border-top: 1px solid var(--rule-medium);
  border-bottom: 1px solid var(--rule-medium);
  padding: 0.85rem 1.05rem;
  margin-bottom: 0.9rem;
}

.digest-callout-title {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  margin-bottom: 0.4rem;
}

.digest-callout ul {
  padding-left: 1.1rem;
  font-size: 0.88rem;
  color: var(--ink-primary);
}

.digest-callout li + li {
  margin-top: 0.3rem;
}

/* SUB LEDGER BAR */
.sub-ledger-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 0.5rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--rule-medium);
}

.ledger-count {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  color: var(--ink-muted);
}

/* CENTER DISPATCH STREAM (2-COLUMN EDITORIAL GRID) */
.dispatch-stream {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 1.6rem;
  row-gap: 1.4rem;
}

.article-card {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.article-card:hover .card-title {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.card-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  color: var(--ink-muted);
  margin-bottom: 0.4rem;
}

.card-badges {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.source-tag {
  font-weight: 600;
  color: var(--ink-secondary);
}

.card-title {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.24rem;
  font-weight: 600;
  line-height: 1.24;
  margin-bottom: 0.5rem;
  color: var(--ink-primary);
}

.card-summary {
  font-size: 0.86rem;
  color: var(--ink-secondary);
  line-height: 1.52;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-cve-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.6rem;
}

.cve-badge {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.67rem;
  padding: 0.08rem 0.4rem;
  border: 1px solid var(--rule-medium);
  color: var(--ink-secondary);
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  color: var(--ink-muted);
  padding-top: 0.35rem;
}

.card-actions {
  display: flex;
  gap: 0.65rem;
}

.mini-btn {
  background: none;
  border: none;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  color: var(--ink-secondary);
  cursor: pointer;
  padding: 0;
}

.mini-btn:hover,
.mini-btn.bookmarked {
  color: var(--accent-editorial);
  text-decoration: underline;
}

/* RIGHT COLUMN: CISA KEV DOCKET & INDEXES */
.kev-docket-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.kev-item {
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--rule-light);
}

.kev-top {
  display: flex;
  justify-content: space-between;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  margin-bottom: 0.2rem;
}

.kev-cve {
  font-weight: 600;
  color: var(--accent-editorial);
}

.kev-date {
  color: var(--ink-muted);
}

.kev-product {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-primary);
  margin-bottom: 0.15rem;
}

.kev-name {
  font-size: 0.78rem;
  color: var(--ink-secondary);
  line-height: 1.4;
}

/* REFERENCED CVEs & COVERAGE LEDGER */
.cve-index-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.6rem;
}

.cve-chip {
  background: var(--bg-surface);
  border: 1px solid var(--rule-medium);
  padding: 0.2rem 0.5rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  color: var(--ink-primary);
  cursor: pointer;
}

.cve-chip:hover {
  border-color: var(--rule-heavy);
}

.cve-chip-count {
  color: var(--ink-muted);
  margin-left: 0.25rem;
}

/* FRONT-PAGE CROSSWORD TEASER */
.crossword-teaser {
  cursor: pointer;
}

.mini-grid-preview {
  display: grid;
  grid-template-columns: repeat(7, 26px);
  gap: 0;
  border: 1.5px solid var(--rule-heavy);
  width: fit-content;
  margin-bottom: 0.75rem;
}

.mini-grid-preview span {
  width: 26px;
  height: 26px;
  border: 1px solid var(--rule-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--bg-elevated);
  color: var(--ink-primary);
}

.mini-grid-preview span.blk {
  background: var(--ink-primary);
}

.teaser-play-link {
  background: none;
  border: none;
  padding: 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--accent-editorial);
  cursor: pointer;
}

.crossword-teaser:hover .teaser-play-link {
  text-decoration: underline;
}

/* VIEW 4: THE CYBER TIMES DAILY CROSSWORD */
.crossword-sheet {
  max-width: 1080px;
  margin: 0 auto;
}

.crossword-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 1.15rem;
  border-bottom: 2px solid var(--rule-heavy);
  flex-wrap: wrap;
}

.cw-header-left h2 {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 2.1rem;
  font-weight: 600;
  line-height: 1.1;
  margin: 0.15rem 0 0.25rem;
}

.cw-subtitle {
  color: var(--ink-secondary);
  font-size: 0.9rem;
}

.cw-header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cw-edition-picker {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.cw-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  color: var(--ink-muted);
}

.cw-timer {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--rule-medium);
  background: var(--bg-surface);
}

.cw-toolbar {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.cw-tool-btn {
  background: transparent;
  border: 1px solid var(--rule-medium);
  color: var(--ink-primary);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  padding: 0.3rem 0.65rem;
  cursor: pointer;
  transition: all 0.12s ease;
}

.cw-tool-btn:hover {
  background: var(--ink-primary);
  color: var(--bg-page);
  border-color: var(--ink-primary);
}

.cw-active-clue-bar {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--rule-medium);
  padding: 0.7rem 1rem;
  margin-bottom: 1.6rem;
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
}

.cw-active-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--accent-editorial);
  white-space: nowrap;
}

.cw-active-text {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink-primary);
}

.cw-workspace {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: start;
}

.cw-grid {
  display: grid;
  grid-template-columns: repeat(7, 56px);
  grid-template-rows: repeat(7, 56px);
  border: 2.5px solid var(--rule-heavy);
  background: var(--rule-heavy);
  gap: 1px;
  user-select: none;
}

.cw-cell {
  position: relative;
  width: 56px;
  height: 56px;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.cw-cell.black-cell {
  background: var(--ink-primary);
  cursor: default;
}

.cw-cell.in-word {
  background: var(--bg-surface);
}

.cw-cell.active-cell {
  background: #e6d7a8;
  color: #141413;
}

[data-theme="dark"] .cw-cell.active-cell {
  background: #4a3f22;
  color: #f6f3ec;
}

.cw-cell-num {
  position: absolute;
  top: 3px;
  left: 4px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.62rem;
  line-height: 1;
  color: var(--ink-muted);
  pointer-events: none;
}

.cw-cell-letter {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.45rem;
  font-weight: 600;
  padding-top: 6px;
  color: inherit;
}

.cw-cell.cell-wrong .cw-cell-letter {
  color: var(--accent-editorial);
  text-decoration: line-through;
}

.cw-cell.cell-verified .cw-cell-letter {
  color: var(--accent-slate);
}

.cw-solved-banner {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--rule-heavy);
  background: var(--bg-surface);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  text-align: center;
}

.cw-clues-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}

.cw-clue-heading {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding-bottom: 0.45rem;
  margin-bottom: 0.75rem;
  border-bottom: 1.5px solid var(--rule-heavy);
}

.cw-clue-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cw-clue-item {
  padding: 0.4rem 0.55rem;
  font-size: 0.86rem;
  line-height: 1.42;
  cursor: pointer;
  border-left: 2px solid transparent;
}

.cw-clue-item:hover {
  background: var(--bg-surface);
}

.cw-clue-item.active-clue {
  background: var(--bg-surface);
  border-left-color: var(--accent-editorial);
  font-weight: 600;
}

.cw-clue-num {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  margin-right: 0.4rem;
}

.coverage-ledger {
  margin-top: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.t-bar-row {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px dotted var(--rule-light);
}

.t-bar-label {
  display: flex;
  justify-content: space-between;
  color: var(--ink-secondary);
}

.t-bar-track {
  display: none;
}

/* VIEW 2: EXECUTIVE BRIEF */
.executive-sheet {
  max-width: 860px;
  margin: 0 auto;
}

.sheet-header {
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--rule-heavy);
}

.sheet-header h2 {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  margin: 0.2rem 0 0.35rem;
}

.sheet-header p {
  color: var(--ink-secondary);
}

.tldr-ledger {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.tldr-card {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule-light);
  cursor: pointer;
}

.tldr-card h3 {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0.35rem 0 0.5rem;
}

.tldr-bullets {
  padding-left: 1.2rem;
  color: var(--ink-secondary);
  font-size: 0.92rem;
}

.tldr-bullets li + li {
  margin-top: 0.3rem;
}

/* VIEW 3: CHRONOLOGICAL WIRE */
.wire-sheet {
  border-top: 2px solid var(--rule-heavy);
}

.wire-table-head,
.wire-row {
  display: grid;
  grid-template-columns: 90px 95px 150px 1fr 80px;
  gap: 1rem;
  align-items: baseline;
  padding: 0.65rem 0.5rem;
}

.wire-table-head {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--rule-heavy);
}

.wire-row {
  border-bottom: 1px solid var(--rule-light);
  cursor: pointer;
  font-size: 0.88rem;
}

.wire-row:hover {
  background: var(--bg-surface);
}

.wire-time {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.74rem;
  color: var(--ink-muted);
}

.wire-headline {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 500;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.align-right {
  text-align: right;
}

/* READER SHEET MODAL */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 14, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 100;
}

.reader-sheet {
  background: var(--bg-page);
  border: 1px solid var(--rule-heavy);
  max-width: 680px;
  width: 100%;
  padding: 2.25rem;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
}

.reader-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--rule-light);
}

.reader-kicker-group {
  display: flex;
  gap: 0.6rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
}

.reader-close {
  background: none;
  border: none;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  color: var(--ink-secondary);
  cursor: pointer;
}

.reader-headline {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.16;
  margin-bottom: 0.5rem;
}

.reader-byline {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  color: var(--ink-muted);
  margin-bottom: 1.25rem;
}

.reader-digest {
  background: var(--bg-surface);
  border-top: 1px solid var(--rule-medium);
  border-bottom: 1px solid var(--rule-medium);
  padding: 1rem 1.15rem;
  margin-bottom: 1.25rem;
}

.reader-digest-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent-editorial);
  margin-bottom: 0.45rem;
}

.reader-digest-list {
  padding-left: 1.15rem;
  font-size: 0.92rem;
}

.reader-digest-list li + li {
  margin-top: 0.35rem;
}

.reader-body {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--ink-secondary);
  margin-bottom: 1.25rem;
}

.reader-cves {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.reader-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--rule-light);
  gap: 1rem;
  flex-wrap: wrap;
}

.reader-primary-link {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-primary);
  border-bottom: 1px solid var(--ink-primary);
  padding-bottom: 0.1rem;
}

.reader-clip-btn {
  background: transparent;
  border: 1px solid var(--rule-medium);
  color: var(--ink-secondary);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.74rem;
  padding: 0.45rem 0.85rem;
  cursor: pointer;
}

/* TOAST */
.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--ink-primary);
  color: var(--bg-page);
  padding: 0.65rem 1rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  z-index: 120;
}

/* COLOPHON FOOTER */
.colophon {
  border-top: 3px double var(--rule-heavy);
  padding: 1.5rem 0 2.5rem;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.colophon-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.colophon a {
  color: var(--ink-primary);
  text-decoration: underline;
}

.colophon-shortcuts {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
}

kbd {
  font-family: 'IBM Plex Mono', monospace;
  border: 1px solid var(--rule-medium);
  padding: 0.05rem 0.3rem;
  font-size: 0.66rem;
}

/* RESPONSIVE */
@media (max-width: 1120px) {
  .broadsheet-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .col-briefing,
  .col-center,
  .col-docket {
    padding: 0;
    border: none;
  }
  .cw-workspace {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .masthead-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .ear-left,
  .ear-right {
    border: none;
    padding: 0;
    text-align: center;
  }
  .format-Minimal-switch {
    justify-content: center;
  }
  .dispatch-stream,
  .cw-clues-columns {
    grid-template-columns: 1fr;
  }
  .cw-grid {
    grid-template-columns: repeat(7, 42px);
    grid-template-rows: repeat(7, 42px);
  }
  .cw-cell {
    width: 42px;
    height: 42px;
  }
  .wire-table-head {
    display: none;
  }
  .wire-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
  .hide-mobile {
    display: none;
  }
}
