@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/source-serif-4-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/source-serif-4-latin-400-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/source-serif-4-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/source-serif-4-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/source-sans-3-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/source-sans-3-latin-400-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/source-sans-3-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/source-sans-3-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  --navy: #0b1c2c;
  --navy-2: #12263a;
  --gold: #c9a84c;
  --gold-2: #e0c36a;
  --cream: #f4efe4;
  --paper: #faf8f3;
  --ink: #1a1a1a;
  --muted: #5c6b7a;
  --line: rgba(201, 168, 76, 0.28);
  --max: 1120px;
  --pad: 24px;
}
@media (min-width: 900px) {
  :root { --pad: 40px; }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  font-family: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  background: var(--paper); color: var(--ink); line-height: 1.65; font-size: 18px;
}
a { color: var(--navy); }
a:hover { color: #8a6e22; }

/* ---- shared grid: every container shares one max-width and one left/right
   inset, so header, body, cards and footer all line up on the same edge. ---- */
.nav, .hero-inner, .wrap, .article, .foot {
  max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad);
}

header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 28, 44, 0.97);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--cream); }
.brand-wordmark { height: 32px; width: auto; }
@media (min-width: 640px) {
  .brand-wordmark { height: 40px; }
}
.brand .kicker {
  display: none;
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold);
}
@media (min-width: 640px) {
  .brand .kicker { display: inline; }
}
.nav-links {
  display: flex; flex-wrap: wrap; gap: 10px 18px; list-style: none; align-items: center;
}
.nav-links a {
  color: var(--cream); text-decoration: none;
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px;
}
.nav-links a:hover { color: var(--gold); }
.nav-toggle-input { display: none; }
.nav-toggle-btn { display: none; }

/* ---- hero: plain navy on every size (hero.jpg's own baked-in text
   collides with the headline at both mobile and 1440px widths — see
   build notes). Height capped, not left to balloon past its content. ---- */
.hero {
  position: relative; min-height: 60vh; max-height: 640px;
  background-color: var(--navy);
  color: var(--cream); display: flex; align-items: flex-end;
}
.hero-inner {
  position: relative; z-index: 1; width: 100%; padding-top: 44px; padding-bottom: 34px;
  /* .hero-inner is a flex *item* (its parent uses align-items:flex-end
     for bottom alignment), so unlike the other shared-grid containers
     it doesn't fill its row by default — margin:auto would center it
     on content width instead of aligning to the grid's left edge. */
}
.hero-inner-split { display: flex; align-items: flex-end; gap: 48px; }
.hero-main { flex: 1 1 auto; min-width: 0; }
.hero-latest { display: none; }
@media (min-width: 1100px) {
  .hero-latest {
    display: block; flex: 0 0 320px; align-self: stretch;
    border: 1px solid var(--gold); padding: 24px; margin-bottom: 4px;
  }
}
.hero-latest-kicker {
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px;
}
.hero-latest h3 { font-size: 20px; margin-bottom: 8px; }
.hero-latest h3 a { color: var(--cream); text-decoration: none; }
.hero-latest h3 a:hover { color: var(--gold-2); }
.hero-latest-summary {
  font-size: 14px; color: #c7cfd7; margin-bottom: 12px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hero-latest-link {
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; color: var(--gold-2); text-decoration: none;
}
.hero-latest-link:hover { text-decoration: underline; }
.gold-rule { display: block; width: 100%; max-width: 420px; height: 10px; color: var(--gold); margin: 14px 0; }
footer .gold-rule { max-width: 100%; margin: 0 0 18px; opacity: 0.6; }
.eyebrow {
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}
.hero h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.1; font-weight: 600; max-width: 900px; }
.hero .lede { margin-top: 18px; max-width: 46ch; font-size: 20px; color: #e8e0d0; }
.hero .meta-small {
  margin-top: 14px; font-size: 13px; color: #b9c2cc;
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
}
.hero-actions { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; text-decoration: none;
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 12px 18px; border-radius: 2px; font-weight: 700;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-ghost { border: 1px solid var(--gold); color: var(--cream); }
.btn-outline { border: 1px solid var(--navy); color: var(--navy); }

.wrap { padding-top: 64px; padding-bottom: 64px; }
.section-kicker {
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: #8a6e22; margin-bottom: 8px;
}

/* ---- one heading scale, one weight, consistent rhythm (more space
   above a heading than below it) everywhere. ---- */
h1 { font-size: clamp(28px, 6vw, 40px); line-height: 1.15; font-weight: 600; margin-bottom: 20px; }
h2 { font-size: clamp(20px, 4vw, 28px); line-height: 1.2; font-weight: 600; margin: 48px 0 16px; }
h3 { font-size: clamp(17px, 3vw, 21px); font-weight: 600; margin: 28px 0 10px; }
h2:first-child, h3:first-child { margin-top: 0; }
p { margin-bottom: 14px; }
ul + p, ol + p, table + p { margin-top: 16px; }
.band-navy { background: var(--navy); color: var(--cream); }
.band-navy h2, .band-navy h3 { color: var(--cream); }
.band-navy .section-kicker { color: var(--gold); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
/* Task 17 item 12: Home's "Publications" list — only the newest piece
   (above, in .grid-2) gets a large card; the rest is this compact row. */
.compact-pub-list { list-style: none; display: flex; flex-direction: column; }
.compact-pub-item { padding: 16px 0; border-bottom: 1px solid #e6dfd0; }
.compact-pub-item .label {
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #8a6e22; margin-bottom: 6px;
}
.compact-pub-item h3 { font-size: 17px; margin: 0 0 4px; }
.compact-pub-item h3 a { text-decoration: none; }
.compact-pub-item h3 a:hover, .compact-pub-item h3 a:focus { text-decoration: underline; }
.compact-pub-item .meta { margin-bottom: 4px; }
.compact-pub-item .summary {
  margin: 0; color: var(--muted); font-size: 14px;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid #e6dfd0; padding: 22px; }
.card.featured { grid-column: 1 / -1; }
.card .label {
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #8a6e22; margin-bottom: 8px;
}
.card h2 { font-size: 22px; margin: 0 0 10px; }
.card h2 a { text-decoration: none; }
.card h2 a:hover, .card h2 a:focus { text-decoration: underline; }
.card .meta { margin-bottom: 10px; }
.card p.summary { flex: 1; }
.card .links { margin-top: auto; padding-top: 10px; }

.article { padding-top: 48px; padding-bottom: 80px; }
/* Gareth review item 9: the reading column was pinned to the left of
   the 1120px grid, leaving the right ~45% empty on wide screens.
   Center it instead; tables (and the table-scroll wrapper) are
   deliberately excluded so they can use the full grid width.
   Publication pages (.pub-article) are excluded too — Task 17 item 7
   gives them a Contents rail instead of centering. */
.article:not(.pub-article) > p, .article:not(.pub-article) > ul, .article:not(.pub-article) > ol,
.article:not(.pub-article) > .meta, .article:not(.pub-article) > h1,
.article:not(.pub-article) > h2, .article:not(.pub-article) > h3, .article:not(.pub-article) > blockquote,
.article:not(.pub-article) > .footnotes-sep, .article:not(.pub-article) > .footnotes {
  max-width: 720px; margin-left: auto; margin-right: auto;
}
.article h1 { margin: 8px 0 20px; }
.article .meta {
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  font-size: 13px; color: var(--muted); margin-bottom: 28px; padding-bottom: 16px; border-bottom: 1px solid #e6dfd0;
}
.res-list { list-style: none; }
.res-list li { padding: 14px 0; border-bottom: 1px solid #e6dfd0; }
.res-list a { text-decoration: none; font-weight: 600; }
.res-list a:hover, .res-list a:focus { text-decoration: underline; }
.res-list a::after { content: " ↗"; font-weight: 400; color: var(--muted); text-decoration: none; }
.res-list .src {
  display: block; font-size: 13px; color: var(--muted);
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
}
img { max-width: 100%; height: auto; }
img.full { width: 100%; height: auto; display: block; }
.caption {
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  font-size: 12px; color: var(--muted); margin: 8px 0 24px;
}
footer {
  background: var(--navy); color: #9aabba; padding: 27px 0; font-size: 14px;
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
}
.foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
footer a { color: var(--gold); text-decoration: none; }
.svg-frame { background: var(--navy); padding: 18px; }
.q-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.q-tile { background: #fff; border: 1px solid #e6dfd0; padding: 16px 14px; border-top: 3px solid #c9892a; }
.q-tile.red { border-top-color: #8a2f2f; }
.q-tile .state {
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: #8a6e22; margin-bottom: 6px;
}
.q-tile h3 { font-size: 16px; margin: 0 0 8px; }
.q-tile p { font-size: 14px; color: var(--muted); margin: 0; }
.stack { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #e6dfd0; }
.stack-col { padding: 22px; }
.stack-col + .stack-col { border-left: 1px solid #e6dfd0; }
.stack-col.dark { background: var(--navy); color: var(--cream); }
.stack-col.dark h3 { color: var(--cream); }
.banner-forum {
  background: var(--gold); color: var(--navy);
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  font-size: 13px; text-align: center; padding: 10px 16px;
}
.banner-forum a { color: var(--navy); font-weight: 700; }
table { border-collapse: collapse; font-size: 15px; width: 100%; }
.num-table { width: 100%; }
/* Every markdown-rendered table (publications) is wrapped by the
   table_open/table_close renderer rules in build.mjs — a visible
   "scroll" hint below 700px, since a plain overflow-x:auto table
   gives no clue that a Grade/last column exists off-screen. */
.table-scroll-wrap { margin: 16px 0 8px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll-hint {
  display: none; font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  font-size: 12px; color: #8a6e22; margin-bottom: 6px;
}
@media (max-width: 700px) {
  .table-scroll-hint { display: block; }
}

/* ---- Executive summary stat tiles (Pacific Starbase only) ---- */
.stat-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 20px 0;
}
@media (min-width: 900px) {
  .stat-tiles { grid-template-columns: repeat(4, 1fr); }
}
.stat-tile {
  background: var(--navy);
  border: 1px solid var(--gold);
  padding: 16px;
  text-align: center;
}
.stat-tile-value {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
}
.stat-tile-label {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--cream);
}

/* ---- Publication pages: Contents rail replaces centering (Task 17
   items 6-8) ---- */
.pub-pdf-row { display: flex; align-items: center; gap: 14px; margin: 18px 0 28px; }
.pub-pdf-pages {
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  font-size: 13px; color: var(--muted);
}
.pub-article { flex: 1; min-width: 0; }
/* Q9: generated paragraph numbers n.m -- never in the source */
.pnum {
  color: var(--gold-2); font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  font-size: 12px; font-weight: 700; margin-right: 4px;
}
.pub-rail { display: none; }
@media (min-width: 1200px) {
  .pub-layout { display: flex; gap: 40px; align-items: flex-start; }
  .pub-rail {
    display: block; flex: 0 0 240px; position: sticky; top: 88px;
    max-height: calc(100vh - 108px); overflow-y: auto; background: var(--paper);
  }
  /* Item 8: tables span the reading column plus the rail width, so
     table widths are consistent regardless of where the rail sits —
     the rail (opaque background, painted after .pub-article in
     document order) covers whatever a table's breakout overlaps. */
  .pub-article .table-scroll-wrap { margin-right: calc(-240px - 40px); }
}
.pub-rail-kicker {
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #8a6e22; margin-bottom: 10px;
}
.pub-toc { list-style: none; display: flex; flex-direction: column; gap: 2px; margin-bottom: 20px; }
.pub-toc a {
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  font-size: 13px; text-decoration: none; color: var(--muted); display: block;
  padding: 5px 0 5px 10px; border-left: 2px solid transparent;
}
.pub-toc a:hover { color: var(--navy); }
.pub-toc a.active { color: var(--navy); font-weight: 600; border-left-color: var(--gold); }
.pub-rail-pdf { display: block; text-align: center; }
th, td {
  text-align: left; padding: 8px 10px; border-bottom: 1px solid #e6dfd0; vertical-align: top;
  font-variant-numeric: tabular-nums;
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
}
th { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: #8a6e22; }
.r { font-size: 0.72em; vertical-align: super; line-height: 0; text-decoration: none; }
#notes { margin-top: 40px; padding-top: 18px; border-top: 1px solid #e6dfd0; }
#notes h2 { margin-top: 0; }
#notes ol { margin-left: 22px; }
#notes li { margin-bottom: 8px; font-size: 16px; }
#notes .ret { font-size: 13px; text-decoration: none; }
.said { padding: 16px 0; border-bottom: 1px solid #e6dfd0; }
.said .when {
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #8a6e22;
}
:target { background: #f4e8c4; }
@media (max-width: 820px) {
  .grid-2, .q-grid, .stack { grid-template-columns: 1fr; }
  .card.featured { grid-column: auto; }
  .stack-col + .stack-col { border-left: 0; border-top: 1px solid #e6dfd0; }
}
@media (max-width: 640px) {
  .nav-toggle-btn {
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
    width: 44px; height: 44px; cursor: pointer;
  }
  .nav-toggle-btn span { display: block; width: 22px; height: 2px; background: var(--cream); }
  .nav-links {
    display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0;
    width: 100%; margin-top: 8px; padding: 8px 0; border-top: 1px solid var(--line);
    /* Item 13: the dropdown is a solid panel, not a near-transparent
       sliver the hero shows through — header's own background is
       rgba(...,0.97), barely distinct from the hero behind it. */
    background: var(--navy);
  }
  .nav-toggle-input:checked ~ .nav-links { display: flex; }
  .nav-links a { width: 100%; padding: 10px 4px; }
  .hero { min-height: 0; max-height: none; }
  /* Item 14: shrink the sticky header after scrolling. */
  header { transition: padding 0.15s ease; }
  header.scrolled .nav { padding-top: 6px; padding-bottom: 6px; }
  header.scrolled .brand-wordmark { height: 26px; transition: height 0.15s ease; }
  .hero-inner { padding-top: 32px; }
}

/* ---- Signals sidebar / full page (Task 3) ---- */
.with-sidebar { display: block; }
.main-col { min-width: 0; }
.signals-sidebar { display: none; }
@media (min-width: 1200px) {
  .with-sidebar { display: flex; align-items: flex-start; gap: 40px; }
  .main-col { flex: 1; min-width: 0; }
  .signals-sidebar {
    display: block; flex: 0 0 320px; position: sticky; top: 88px;
    max-height: calc(100vh - 108px); overflow-y: auto;
  }
  /* The sidebar covers the same ground as "This week" — don't show both. */
  .this-week { display: none; }
}
.signals-sidebar[hidden], .signals-page[data-empty="true"] .signal-list { display: none; }
.signals-sidebar h2 { margin-top: 0; font-size: 20px; }
.signal-list { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.signal-list-compact { gap: 14px; }
.signal-item {
  position: relative; display: flex; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid #e6dfd0;
  transition: background-color 0.1s ease;
}
.signal-item:hover { background-color: rgba(201, 168, 76, 0.07); }
/* Identity slot — always a badge/icon tile, never an article photo
   (an article's photo can picture someone other than the speaker). */
.signal-avatar {
  flex: 0 0 64px; width: 64px; height: 64px; border-radius: 2px;
  background: var(--navy); display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  font-size: 11px; letter-spacing: 0.04em; font-weight: 700;
}
/* Optional article-preview image, right side, never the identity slot. */
.signal-preview {
  flex: 0 0 96px; width: 96px; height: 64px; object-fit: cover; border-radius: 4px;
  align-self: flex-start;
}
@media (max-width: 480px) {
  .signal-preview { display: none; }
}
.signal-body { min-width: 0; flex: 1; }
.signal-top { display: flex; flex-wrap: wrap; gap: 0 6px; font-size: 14px; font-weight: 600; }
.signal-org {
  font-weight: 400; color: var(--muted);
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif; font-size: 12px; align-self: center;
}
.signal-date {
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: #8a6e22; margin: 4px 0 6px;
}
.signal-platform { color: var(--muted); }
.signal-grade {
  display: inline-block; border: 1px solid var(--muted); border-radius: 2px;
  width: 15px; height: 15px; line-height: 13px; text-align: center; font-size: 10px;
}
.signal-summary { font-size: 14px; margin-bottom: 6px; }
/* Stretched-link pattern (Signals UX): the one real <a> per item
   (wrapping the summary) gets an ::after expanded to cover the whole
   positioned ancestor (.signal-item / .this-week-item /
   .chronology-entry), so a tap anywhere on the entry — entity name,
   thumbnail, summary — opens the source. One link, one tab stop. */
.stretched-link { color: inherit; text-decoration: none; }
.stretched-link:hover, .stretched-link:focus { text-decoration: underline; }
.stretched-link::after { content: ""; position: absolute; inset: 0; }
.stretched-link:focus-visible::after { outline: 2px solid var(--gold); outline-offset: -2px; }
.signal-more { margin-top: 4px; font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif; font-size: 13px; }
.signal-footnote {
  margin-top: 18px; font-size: 12px; color: var(--muted);
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
}

/* ---- "This week" strip (Home, Task 5) ---- */
.this-week[hidden] { display: none; }
.this-week { padding: 18px 0 0; min-height: 480px; }
.this-week h2 { margin: 0 0 10px; font-size: 20px; }
.this-week-list { list-style: none; display: flex; flex-direction: column; gap: 0; }
.this-week-item {
  position: relative; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px;
  padding: 10px 0; border-bottom: 1px solid #e6dfd0; font-size: 14px;
  transition: background-color 0.1s ease;
}
.this-week-item:hover { background-color: rgba(201, 168, 76, 0.07); }
.this-week-date {
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: #8a6e22; flex: 0 0 auto;
}
.this-week-entity { font-weight: 600; flex: 0 0 auto; }
.this-week-summary { display: inline-block; color: var(--muted); flex: 1 1 320px; min-width: 0; }
.this-week-more { margin-top: 8px; font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif; font-size: 13px; }

/* ---- Dates / chronology.html (Task 6) ---- */
.chronology-month { margin: 28px 0 10px; font-size: 16px; color: var(--muted); }
.chronology-entries { list-style: none; display: flex; flex-direction: column; gap: 0; margin: 0 0 8px; }
.chronology-entry {
  position: relative; padding: 12px 0; border-bottom: 1px solid #e6dfd0;
  transition: background-color 0.1s ease;
}
.chronology-entry:hover { background-color: rgba(201, 168, 76, 0.07); }
.chronology-entry-date {
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: #8a6e22;
}
.chronology-entry-entity { font-weight: 600; margin-left: 8px; }
.chronology-entry-summary { margin: 4px 0 6px; font-size: 14px; }
.chronology-empty { color: var(--muted); }
.chronology-timeline { min-height: 700px; }
.chronology-statements { margin-top: 12px; min-height: 600px; }
.chronology-archive-link { margin-top: 28px; font-size: 13px; color: var(--muted); }

.signals-page .signal-list { margin-top: 24px; min-height: 700px; }
.signals-controls {
  display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: end;
  padding: 16px; background: #fff; border: 1px solid #e6dfd0; margin-top: 20px;
}
.signals-controls label {
  display: flex; flex-direction: column; gap: 4px;
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: #8a6e22;
}
.signals-controls select, .signals-controls input[type="search"] {
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px; padding: 8px 10px; border: 1px solid #c9bfa8; border-radius: 2px;
  background: #fff; min-height: 38px;
}
.signals-controls input[type="search"] { min-width: 220px; }
.signals-empty { font-style: italic; color: var(--muted); padding: 24px 0; }
.signals-count {
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  font-size: 13px; color: var(--muted); margin-top: 10px;
}

/* Q4 (gala, 2026-11-24): "AI1" misreads as "All" in some sans faces. */
.ai1{font-family:"Source Serif 4","Iowan Old Style",Georgia,serif;font-variant-numeric:lining-nums}
