:root {
  color-scheme: light;
  --bg: #f6efe2;
  --page: #f6efe2;
  --paper: #fffdf8;
  --paper-2: #f3eadc;
  --paper-3: #e9dfcf;
  --panel: var(--paper);
  --surface-warm: #fbf5ea;
  --surface-blue: #eef3f7;
  --ink: #172235;
  --text: var(--ink);
  --muted: #5b6675;
  --muted-2: #737c88;
  --white: #fffdf8;
  --line: rgba(42, 56, 75, 0.17);
  --line-strong: rgba(42, 56, 75, 0.30);
  --gold: #a86813;
  --gold-soft: #7d5218;
  --amber: #c78324;
  --copper: #b26135;
  --navy: #1e3149;
  --slate: #40566f;
  --steel: #627386;
  --red: #b55245;
  --cyan: #2d7585;
  --green: #397453;
  --blue: #2f5f8f;
  --focus: #1f66b1;
  --focus-ring: rgba(31, 102, 177, .25);
  --shadow: 0 22px 60px rgba(44, 36, 24, .12);
  --shadow-soft: 0 12px 32px rgba(44, 36, 24, .08);
  --radius: 8px;
  --radius-sm: 6px;
  --radius-lg: 12px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --motion-fast: 140ms ease;
  --motion-med: 220ms ease;
  --confidence-high: #276749;
  --confidence-medium: #8a5a15;
  --confidence-open: #9f3f33;
  --status-live: #2f6f50;
  --status-review: #8a5a15;
  --status-exclude: #8d3e36;
  --max: 1240px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #111820;
  --page: #111820;
  --paper: #17212c;
  --paper-2: #1f2b38;
  --paper-3: #263342;
  --panel: var(--paper);
  --surface-warm: #1b2531;
  --surface-blue: #142131;
  --ink: #f4efe5;
  --text: var(--ink);
  --muted: #bdc7d0;
  --muted-2: #98a6b3;
  --white: #f4efe5;
  --line: rgba(244, 239, 229, .15);
  --line-strong: rgba(244, 239, 229, .28);
  --gold: #dfb35c;
  --gold-soft: #f2d491;
  --amber: #d49a43;
  --copper: #d18456;
  --navy: #d8e4ef;
  --slate: #b7c7d5;
  --steel: #94a4b3;
  --shadow: 0 22px 60px rgba(0, 0, 0, .30);
  --shadow-soft: 0 12px 32px rgba(0, 0, 0, .22);
}

* { box-sizing: border-box; }
html {
  max-width: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  max-width: 100%;
  overflow-x: clip;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% -8%, rgba(45, 117, 133, 0.13), transparent 29rem),
    radial-gradient(circle at 92% 4%, rgba(168, 104, 19, 0.13), transparent 25rem),
    linear-gradient(180deg, #faf6ed 0%, var(--page) 54%, #efe5d5 100%);
  font-family: var(--sans);
  line-height: 1.55;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(42, 56, 75, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 56, 75, .035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

a { color: inherit; }
img,
svg,
video,
canvas,
iframe {
  max-width: 100%;
}
img,
video {
  height: auto;
}
button, input { font: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(255,255,255,.65), 0 10px 30px rgba(44, 36, 24, .06);
}
.nav-shell {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 76px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 820;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(231, 197, 108, 0.52);
  border-radius: 50%;
  color: var(--gold-soft);
  font-family: var(--serif);
  font-size: 15px;
  background: rgba(231, 197, 108, 0.08);
  box-shadow: inset 0 0 0 4px rgba(0,0,0,.24);
}
.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}
.nav-links a {
  min-height: 44px;
  padding: 9px 10px;
  border-radius: 8px;
  color: #c5c9cb;
  text-decoration: none;
  font-size: 14px;
  font-weight: 680;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
  background: rgba(255,255,255,.065);
}
.nav-links .nav-support {
  margin-left: 6px;
  border: 1px solid rgba(231, 197, 108, 0.36);
  color: var(--gold-soft);
  background: rgba(231, 197, 108, 0.08);
}
.nav-links .nav-member {
  margin-left: 6px;
  border: 1px solid rgba(231, 197, 108, 0.45);
  color: var(--gold-soft);
}
.menu-button {
  display: none;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: var(--paper);
  cursor: pointer;
}

.page-shell {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}
.hero {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  display: grid;
  align-items: center;
  padding: 86px 0 76px;
  border-bottom: 1px solid var(--line);
}
.hero::after {
  content: "SOURCE / TIMELINE / RECEIPT / CONFIDENCE";
  position: absolute;
  right: -6px;
  bottom: 18px;
  color: rgba(255,255,255,.085);
  font-size: clamp(16px, 2.4vw, 34px);
  font-weight: 900;
  letter-spacing: .09em;
  white-space: nowrap;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: end;
}
.kicker, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.kicker::before, .eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
.hero h1, .page-hero h1 {
  margin: 0;
  max-width: 930px;
  font-family: var(--serif);
  font-size: clamp(54px, 8.4vw, 118px);
  font-weight: 500;
  line-height: .9;
  letter-spacing: -.055em;
}
.hero h1 em {
  color: var(--gold-soft);
  font-weight: 500;
}
.hero-lede {
  max-width: 760px;
  margin: 28px 0 0;
  color: #c3c8ca;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
}
.hero-actions, .button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.button-row form { margin: 0; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 17px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255,255,255,.04);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  white-space: normal;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.button:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.42);
  background: rgba(255,255,255,.075);
}
.button.primary {
  border-color: var(--gold);
  background: var(--gold);
  color: #17140b;
}
.button.ghost { color: var(--gold-soft); border-color: rgba(231,197,108,.36); }
.button[aria-disabled="true"], button:disabled {
  opacity: .48;
  cursor: not-allowed;
  transform: none;
}
.hero-note {
  padding: 22px;
  border-top: 2px solid var(--gold);
  background: linear-gradient(145deg, rgba(231,197,108,.085), rgba(255,255,255,.025));
}
.hero-note .label {
  color: var(--gold-soft);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero-note p {
  margin: 11px 0 0;
  color: #c5c9cb;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.48;
}

.section {
  padding: 84px 0;
  border-bottom: 1px solid var(--line);
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}
.section-head h2, .content h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.035em;
}
.section-head p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
}
.text-link {
  color: var(--gold-soft);
  font-weight: 800;
  text-decoration: none;
}
.text-link:hover { text-decoration: underline; }

.breadcrumb-nav {
  width: min(var(--max), calc(100% - 36px));
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumb-nav ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb-nav li {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.breadcrumb-nav li + li::before {
  content: "/";
  color: #70787b;
  margin-right: 8px;
}

.breadcrumb-nav a {
  color: var(--gold-soft);
  font-weight: 800;
  text-decoration: none;
}

.breadcrumb-nav a:hover {
  color: var(--white);
}

.breadcrumb-nav [aria-current="page"] {
  color: #d9dde0;
  overflow-wrap: anywhere;
}

.dispatch-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.dispatch-card {
  position: relative;
  min-height: 292px;
  grid-column: span 4;
  overflow: hidden;
  min-width: 0;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(160deg, rgba(255,255,255,.055), rgba(255,255,255,.012)),
    var(--paper);
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease;
}
.dispatch-card:first-child { grid-column: span 7; }
.dispatch-card:nth-child(2) { grid-column: span 5; }
.dispatch-card:hover { transform: translateY(-4px); border-color: rgba(231,197,108,.44); }
.dispatch-card::after {
  content: "↗";
  position: absolute;
  right: 22px;
  top: 18px;
  color: var(--gold);
  font-size: 22px;
}
.dispatch-card.current-work-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.dispatch-card.current-work-card::after { content: none; }
.dispatch-card.current-work-card .button-row {
  margin-top: auto;
  padding-top: 20px;
}
.dispatch-card .number {
  display: block;
  color: #71797e;
  font-family: var(--serif);
  font-size: 42px;
}
.dispatch-card h3 {
  max-width: 520px;
  margin: 26px 0 10px;
  font-family: var(--serif);
  font-size: clamp(28px, 3.1vw, 46px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.03em;
}
.dispatch-card p { max-width: 580px; margin: 0; color: var(--muted); }
.card-date,
.card-url {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.card-url { overflow-wrap: anywhere; }
.card-meta, .chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
}
.badge, .chip {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #bfc5c8;
  background: rgba(255,255,255,.025);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.badge.receipt { border-color: rgba(231,197,108,.38); color: var(--gold-soft); }
.badge.open { border-color: rgba(217,109,95,.42); color: #efad9f; }
.badge.live { border-color: rgba(120,189,145,.4); color: #a5d9b6; }

.stack-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.stack-card {
  min-width: 0;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}
.stack-card h3 {
  margin: 10px 0 8px;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
}
.stack-card > p { margin: 0; color: var(--muted); }
.stack-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0;
}
.metric {
  padding: 12px;
  border-left: 1px solid var(--line-strong);
  background: rgba(255,255,255,.018);
}
.metric span {
  display: block;
  color: #7e878c;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.metric strong {
  display: block;
  margin-top: 5px;
  color: #d9ddde;
  font-size: 14px;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 16px;
}
.feature-panel {
  min-width: 0;
  min-height: 390px;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(115,201,207,.09), rgba(255,255,255,.018));
}
.feature-panel.gold { background: linear-gradient(145deg, rgba(231,197,108,.11), rgba(255,255,255,.018)); }
.feature-panel h2 {
  max-width: 700px;
  margin: 13px 0 18px;
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 70px);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.04em;
}
.feature-panel p { max-width: 640px; color: #bdc3c5; font-size: 17px; }
.content .feature-panel h2 {
  max-width: 860px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
}
.article-meta {
  margin: 18px 0 0;
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.info-card[href] {
  display: block;
  color: inherit;
  text-decoration: none;
}
.info-card[href]:hover {
  border-color: rgba(231,197,108,.44);
  transform: translateY(-2px);
}
.info-card img {
  display: block;
  margin: 0 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-2);
}
.quote {
  margin: 0;
  padding: 0 0 0 24px;
  border-left: 2px solid var(--gold);
  font-family: var(--serif);
  font-size: clamp(30px, 4.3vw, 58px);
  line-height: 1.08;
}

.membership-card {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 0;
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(231,197,108,.38);
  border-radius: 14px;
  background: var(--paper);
}
.membership-price {
  padding: 42px;
  background: linear-gradient(150deg, rgba(231,197,108,.16), rgba(255,255,255,.025));
}
.membership-price h3 {
  margin: 14px 0 4px;
  font-family: var(--serif);
  font-size: 46px;
  font-weight: 500;
}
.price {
  color: var(--gold-soft);
  font-size: 30px;
  font-weight: 850;
}
.membership-benefits { padding: 42px; }
.clean-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}
.clean-list li {
  padding: 12px 0 12px 25px;
  border-bottom: 1px solid var(--line);
  position: relative;
  color: #cbd0d2;
}
.clean-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 900;
}

.page-hero {
  padding: 88px 0 62px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(58px, 8vw, 104px); }
.page-hero .lede {
  max-width: 790px;
  margin: 26px 0 0;
  color: #bdc3c5;
  font-size: 20px;
}
.content {
  max-width: 930px;
  padding: 68px 0 92px;
}
.content.wide { max-width: none; }
.editorial-navigation,
.editorial-support {
  margin-top: 52px;
  border: 1px solid rgba(231,197,108,.28);
  border-radius: 12px;
  padding: clamp(22px, 4vw, 34px);
  background: linear-gradient(145deg, rgba(231,197,108,.09), rgba(255,255,255,.018));
}
.editorial-navigation h2,
.editorial-support h2 {
  margin: 0 0 12px;
}
.editorial-navigation p,
.editorial-support p {
  max-width: 820px;
}
.content h2 { margin-top: 62px; font-size: clamp(34px, 4.6vw, 56px); }
.content h2:first-child { margin-top: 0; }
.content h3 {
  margin: 34px 0 10px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
}
.content p, .content li { color: #bec4c6; font-size: 17px; }
.content strong { color: var(--ink); }
.content blockquote {
  margin: 36px 0;
  padding: 22px 26px;
  border-left: 2px solid var(--gold);
  color: var(--ink);
  background: rgba(231,197,108,.055);
  font-family: var(--serif);
  font-size: 27px;
}
.prose-grid, .three-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0;
}
.three-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.info-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
}
.info-card h3 { margin: 8px 0 10px; }
.info-card p { margin: 0; font-size: 15px; }
.route-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}
.route-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
  text-decoration: none;
}
.route-link:hover { border-color: rgba(231,197,108,.42); }
.route-link span { color: var(--muted); font-size: 13px; }

.timeline {
  margin: 30px 0;
  padding: 0;
  list-style: none;
  border-left: 1px solid var(--line-strong);
}
.timeline li {
  position: relative;
  padding: 0 0 30px 28px;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}
.timeline time {
  display: block;
  color: var(--gold-soft);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.timeline strong { display: block; margin-top: 4px; font-size: 19px; }

.search-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}
.search-row { display: flex; gap: 10px; }
.search-row input {
  flex: 1;
  min-width: 0;
  min-height: 52px;
  padding: 12px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--ink);
  background: #07090a;
}
.search-row button {
  min-height: 52px;
  padding: 12px 19px;
  border: 1px solid var(--gold);
  border-radius: 8px;
  color: #17140b;
  background: var(--gold);
  font-weight: 900;
  cursor: pointer;
}
.search-status { min-height: 24px; margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.search-results { display: grid; gap: 10px; margin-top: 16px; }
.result-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper-2);
}
.result-card h3 { margin: 0 0 7px; font-size: 19px; }
.result-card p { margin: 0; color: var(--muted); font-size: 14px; white-space: pre-wrap; }
.result-card a { display: inline-block; margin-top: 10px; color: var(--gold-soft); font-weight: 800; }

.notice {
  padding: 20px;
  border: 1px solid rgba(231,197,108,.32);
  border-radius: 10px;
  background: rgba(231,197,108,.065);
}
.notice.red {
  border-color: rgba(217,109,95,.34);
  background: rgba(217,109,95,.06);
}
.notice p { margin: 0; color: #c9cdcf; }
.table-wrap {
  overflow-x: auto;
  margin: 28px 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}
.status-table {
  max-width: 100%;
}
main,
section,
article,
.page-shell,
.content,
.section,
.section-head,
.hero-grid,
.split,
.route-list,
.route-link,
.dispatch-grid,
.dispatch-card,
.prose-grid,
.info-card,
.stack-grid,
.stack-card,
.membership-card,
.membership-price,
.membership-benefits,
.feature-panel,
.footer-grid,
.footer-links,
.search-row,
.result-card,
.notice {
  min-width: 0;
}
.route-link,
.dispatch-card,
.info-card,
.stack-card,
.feature-panel,
.result-card,
.notice,
.footer-links a,
pre,
code {
  overflow-wrap: break-word;
}
.signal-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}
.signal-table th,
.signal-table td {
  padding: 15px;
  border-bottom: 1px solid var(--line);
  color: #c9cdcf;
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}
.signal-table th {
  color: var(--ink);
  background: rgba(231,197,108,.065);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.signal-table tr:last-child td { border-bottom: 0; }

.site-footer {
  padding: 52px 0 34px;
  background: #050607;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 42px;
}
.footer-grid h2 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
}
.footer-grid p { margin: 0; color: var(--muted); font-size: 14px; }
.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
}
.footer-links a { color: #c5c9cb; text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--gold-soft); }
.disclaimer {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: #828a8e;
  font-size: 12px;
}

.gah-consent-banner,
.gah-consent-panel {
  position: fixed;
  z-index: 120;
  left: 18px;
  right: 18px;
  bottom: 18px;
}
.gah-consent-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(10, 12, 13, 0.96);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.54);
}
.gah-consent-banner strong,
.gah-consent-card h2 {
  display: block;
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 15px;
}
.gah-consent-banner p {
  margin: 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 13px;
}
.gah-consent-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.gah-consent-button,
.gah-consent-reopen {
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}
.gah-consent-button.primary {
  border-color: var(--gold);
  background: var(--gold);
  color: #17140b;
}
.gah-consent-reopen {
  position: fixed;
  z-index: 110;
  right: 18px;
  bottom: 18px;
  opacity: 0.82;
}
.gah-consent-banner + .gah-consent-reopen,
.gah-consent-panel + .gah-consent-reopen {
  display: none;
}
.gah-consent-panel {
  display: grid;
  place-items: end center;
  top: 0;
  background: rgba(0, 0, 0, 0.52);
}
.gah-consent-card {
  width: min(520px, 100%);
  margin-bottom: 16px;
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #0a0c0d;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.54);
}
.gah-consent-card label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  color: #d5d9db;
  font-size: 14px;
}
.gah-consent-card input {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}

.video-hero,
.video-watch-hero {
  min-height: 0;
  padding: 72px 0 58px;
  border-bottom: 1px solid var(--line);
}

.video-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 16px;
  align-items: stretch;
}

.video-side-panel {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}

.video-side-panel h2 {
  margin: 16px 0 12px;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
}

.video-side-panel p,
.video-watch p {
  color: var(--muted);
}

.video-facts {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
}

.video-facts div {
  padding: 12px;
  border-left: 1px solid var(--line-strong);
  background: rgba(255,255,255,.025);
}

.video-facts dt {
  color: #7e878c;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.video-facts dd {
  margin: 4px 0 0;
  color: #d9ddde;
  font-weight: 760;
}

.video-featured {
  min-height: 100%;
}

.video-feature-card,
.video-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.video-card::after {
  content: none;
}

.video-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #050607;
}

.video-card-grid .dispatch-card:first-child,
.video-card-grid .dispatch-card:nth-child(2) {
  grid-column: span 4;
}

.video-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.video-empty {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}

.video-watch {
  display: grid;
  gap: 30px;
}

.video-player-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #000;
  aspect-ratio: 16 / 9;
}

.video-player-shell iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 980px) {
  .menu-button { display: inline-grid; place-items: center; }
  .nav-links {
    display: none;
    position: absolute;
    left: 18px;
    right: 18px;
    top: 68px;
    max-height: calc(100vh - 88px);
    overflow-y: auto;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 253, 248, .98);
    box-shadow: 0 25px 70px rgba(44,36,24,.16);
  }
  .nav-links.open { display: grid; }
  .nav-links .nav-support,
  .nav-links .nav-member { margin-left: 0; }
  .hero-grid, .split, .membership-card, .footer-grid, .video-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-note { max-width: 640px; }
  .dispatch-card, .dispatch-card:first-child, .dispatch-card:nth-child(2) { grid-column: span 6; }
  .three-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .page-shell { width: min(100% - 24px, var(--max)); }
  .nav-shell { padding: 0 12px; }
  .hero { padding: 64px 0 58px; }
  .hero::after { display: none; }
  .hero h1, .page-hero h1 { font-size: clamp(48px, 15vw, 75px); }
  .hero-lede, .page-hero .lede { font-size: 17px; }
  .hero-actions .button, .button-row .button, .button-row form { width: 100%; }
  .section { padding: 62px 0; }
  .section-head { display: block; }
  .section-head p { margin-top: 14px; }
  .dispatch-card, .dispatch-card:first-child, .dispatch-card:nth-child(2) { grid-column: span 12; min-height: 250px; }
  .stack-grid, .prose-grid, .route-list, .clean-list { grid-template-columns: 1fr; }
  .stack-metrics { grid-template-columns: 1fr 1fr; }
  .membership-price, .membership-benefits { padding: 26px; }
  .page-hero { padding: 65px 0 46px; }
  .content { padding: 50px 0 72px; }
  .search-row { display: grid; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .status-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .status-table th,
  .status-table td {
    min-width: 145px;
  }
  .gah-consent-banner {
    display: grid;
    align-items: start;
  }
  .gah-consent-actions {
    justify-content: stretch;
  }
  .gah-consent-button {
    flex: 1 1 150px;
  }
  .gah-consent-reopen {
    right: 12px;
    bottom: 12px;
  }
}

/* GAH-VISUAL-RELAUNCH-001: shared newsroom surface, counters, time, and motion. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 200;
  transform: translateY(-150%);
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
}

.skip-link:focus {
  transform: translateY(0);
}

.skip-anchor {
  position: relative;
  top: -96px;
  display: block;
}

html[data-theme="dark"] body {
  background:
    radial-gradient(circle at 12% -8%, rgba(65, 134, 151, 0.18), transparent 29rem),
    radial-gradient(circle at 92% 4%, rgba(223, 179, 92, 0.14), transparent 25rem),
    linear-gradient(180deg, #111820 0%, #121a23 58%, #0f151d 100%);
}

html[data-theme="dark"] .site-header {
  background: rgba(23, 33, 44, .92);
  box-shadow: 0 1px 0 rgba(255,255,255,.05), 0 12px 34px rgba(0,0,0,.22);
}

.brand {
  color: var(--navy);
}

.brand-mark {
  position: relative;
  border-color: rgba(168, 104, 19, .42);
  color: var(--gold-soft);
  background: linear-gradient(145deg, rgba(168, 104, 19, .12), rgba(47, 95, 143, .08));
  box-shadow: inset 0 0 0 4px rgba(255,253,248,.76), 0 10px 20px rgba(44, 36, 24, .10);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(47, 95, 143, .18);
  border-radius: 50%;
  opacity: .72;
  animation: gahPulse 4.8s ease-in-out infinite;
}

html[data-theme="dark"] .brand,
html[data-theme="dark"] .breadcrumb-nav [aria-current="page"] {
  color: var(--ink);
}

.nav-links a {
  color: var(--slate);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--navy);
  background: rgba(47, 95, 143, .08);
}

html[data-theme="dark"] .nav-links a:hover,
html[data-theme="dark"] .nav-links a[aria-current="page"] {
  color: var(--ink);
}

.nav-links .nav-support,
.nav-links .nav-member {
  border-color: rgba(168, 104, 19, .34);
  color: var(--gold-soft);
  background: rgba(168, 104, 19, .08);
}

.theme-toggle {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper);
  cursor: pointer;
  font-weight: 850;
}

.theme-toggle:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-soft);
}

.global-status {
  border-top: 1px solid var(--line);
  background: rgba(246, 239, 226, .82);
}

html[data-theme="dark"] .global-status {
  background: rgba(17, 24, 32, .84);
}

.global-status .page-shell {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 14px;
  padding: 10px 0;
  align-items: center;
}

.status-metrics,
.local-time-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.status-pill,
.local-time-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, .66);
  color: var(--slate);
  font-size: 12px;
  font-weight: 780;
}

html[data-theme="dark"] .status-pill,
html[data-theme="dark"] .local-time-pill {
  background: rgba(255, 255, 255, .045);
  color: var(--muted);
}

.status-pill strong,
.local-time-pill strong {
  color: var(--navy);
}

html[data-theme="dark"] .status-pill strong,
html[data-theme="dark"] .local-time-pill strong {
  color: var(--ink);
}

.hero {
  min-height: 680px;
  border-bottom-color: var(--line);
  background:
    radial-gradient(circle at 20% 0%, rgba(47, 95, 143, .13), transparent 32rem),
    linear-gradient(120deg, rgba(255, 253, 248, .82), rgba(238, 243, 247, .72)),
    linear-gradient(180deg, transparent, rgba(168, 104, 19, .06));
}

.hero::after {
  color: rgba(47, 95, 143, .08);
}

.hero h1,
.page-hero h1,
.section-head h2,
.content h2,
.feature-panel h2,
.stack-card h3,
.dispatch-card h3,
.footer-grid h2 {
  color: var(--navy);
}

html[data-theme="dark"] .hero h1,
html[data-theme="dark"] .page-hero h1,
html[data-theme="dark"] .section-head h2,
html[data-theme="dark"] .content h2,
html[data-theme="dark"] .feature-panel h2,
html[data-theme="dark"] .stack-card h3,
html[data-theme="dark"] .dispatch-card h3,
html[data-theme="dark"] .footer-grid h2 {
  color: var(--ink);
}

.kicker,
.eyebrow {
  color: var(--gold-soft);
  letter-spacing: .12em;
}

.hero-lede,
.page-hero .lede,
.feature-panel p,
.section-head p,
.content p,
.content li,
.stack-card > p,
.dispatch-card p,
.footer-grid p,
.notice p {
  color: var(--muted);
}

.button,
.btn,
.bob-button {
  border-color: var(--line-strong);
  color: var(--navy);
  background: rgba(255, 253, 248, .78);
  box-shadow: none;
}

.button:hover,
.btn:hover,
.bob-button:hover {
  border-color: rgba(47, 95, 143, .32);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.button.primary,
.btn.primary,
.bob-button.primary,
.gah-consent-button.primary,
.search-row button {
  border-color: var(--navy);
  background: var(--navy);
  color: #fffdf8;
}

.button.ghost,
.text-link,
.result-card a,
.breadcrumb-nav a,
.footer-links a:hover {
  color: var(--gold-soft);
}

.section {
  border-bottom-color: var(--line);
}

.hero-note,
.dispatch-card,
.stack-card,
.feature-panel,
.info-card,
.route-link,
.metric,
.search-panel,
.result-card,
.notice,
.table-wrap,
.membership-card,
.video-side-panel,
.video-empty,
.editorial-support,
.source-card,
.ledger-dl div,
.faq-item,
.stat-card,
.panel,
.bb-card,
.bb-panel,
.bb-result,
.bb-person-card,
.bob-evidence-wall {
  border-color: var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.dispatch-card,
.feature-panel,
.hero-note {
  background:
    linear-gradient(145deg, rgba(47, 95, 143, .065), rgba(168, 104, 19, .045)),
    var(--paper);
}

.feature-panel.gold,
.editorial-support,
.notice {
  background:
    linear-gradient(145deg, rgba(168, 104, 19, .095), rgba(255, 253, 248, .52)),
    var(--paper);
}

html[data-theme="dark"] .dispatch-card,
html[data-theme="dark"] .feature-panel,
html[data-theme="dark"] .hero-note,
html[data-theme="dark"] .feature-panel.gold,
html[data-theme="dark"] .editorial-support,
html[data-theme="dark"] .notice,
html[data-theme="dark"] .stack-card,
html[data-theme="dark"] .info-card,
html[data-theme="dark"] .route-link,
html[data-theme="dark"] .metric,
html[data-theme="dark"] .search-panel,
html[data-theme="dark"] .result-card,
html[data-theme="dark"] .table-wrap,
html[data-theme="dark"] .membership-card,
html[data-theme="dark"] .video-side-panel,
html[data-theme="dark"] .video-empty,
html[data-theme="dark"] .panel,
html[data-theme="dark"] .bb-card,
html[data-theme="dark"] .bb-panel,
html[data-theme="dark"] .bb-result,
html[data-theme="dark"] .bb-person-card,
html[data-theme="dark"] .bob-evidence-wall {
  background: var(--paper);
}

.badge,
.chip,
.pill,
.tag,
.bb-chip,
.bb-tag,
.bb-status,
.bb-filter {
  border-color: var(--line);
  color: var(--slate);
  background: rgba(47, 95, 143, .06);
}

.badge.receipt,
.bb-status.verified,
.pill.verified,
.tag.fact {
  border-color: rgba(57, 116, 83, .34);
  color: var(--confidence-high);
  background: rgba(57, 116, 83, .08);
}

.badge.open,
.bb-status.gap,
.pill.unresolved,
.tag.limit,
.notice.red {
  border-color: rgba(181, 82, 69, .34);
  color: var(--confidence-open);
  background: rgba(181, 82, 69, .08);
}

.badge.live,
.bb-status.review,
.pill.disputed {
  border-color: rgba(138, 90, 21, .34);
  color: var(--confidence-medium);
  background: rgba(138, 90, 21, .08);
}

.dispatch-card .number {
  color: rgba(47, 95, 143, .26);
}

.route-link span,
.card-date,
.card-url,
.metric span,
.signal-table td,
.clean-list li,
.video-watch p,
.video-side-panel p,
.video-facts dt,
.bb-card p,
.bb-panel p,
.bb-result p,
.bb-person-card p,
.bb-panel li {
  color: var(--muted);
}

.metric strong,
.video-facts dd,
.content strong,
.clean-list li::before {
  color: var(--navy);
}

.quote,
.content blockquote {
  color: var(--navy);
  border-left-color: var(--gold);
  background: rgba(168, 104, 19, .06);
}

.search-row input,
.bb-search-form input,
.bb-search-form select {
  color: var(--ink);
  background: var(--paper);
}

.signal-table th,
.matrix th,
.evidence-table th {
  color: var(--navy);
  background: rgba(47, 95, 143, .08);
}

.site-footer {
  background: #ebe0cf;
  border-top: 1px solid var(--line);
}

html[data-theme="dark"] .site-footer {
  background: #101720;
}

.footer-links a {
  color: var(--slate);
}

.disclaimer {
  color: var(--muted-2);
}

.gah-consent-banner,
.gah-consent-card {
  background: rgba(255, 253, 248, .96);
  box-shadow: var(--shadow);
}

html[data-theme="dark"] .gah-consent-banner,
html[data-theme="dark"] .gah-consent-card {
  background: rgba(23, 33, 44, .97);
}

.hero-visual-stage {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255,255,255,.72), rgba(238,243,247,.88)),
    radial-gradient(circle at 22% 18%, rgba(168,104,19,.18), transparent 20rem);
  box-shadow: var(--shadow);
}

.gah-insignia {
  position: absolute;
  top: 28px;
  left: 28px;
  width: 118px;
  height: 118px;
  border: 1px solid rgba(168,104,19,.34);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 34px;
  letter-spacing: .04em;
  background: rgba(255,253,248,.72);
}

.gah-insignia::before,
.gah-insignia::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(47,95,143,.22);
  border-radius: 50%;
}

.gah-insignia::after {
  inset: -10px;
  border-color: rgba(168,104,19,.22);
  animation: gahPulse 5.8s ease-in-out infinite;
}

.document-film {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 52px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  transform: rotate(-2deg);
}

.document-frame {
  min-height: 176px;
  border: 1px solid rgba(42,56,75,.16);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(181,82,69,.18) 0 6px, transparent 6px),
    repeating-linear-gradient(0deg, transparent 0 17px, rgba(42,56,75,.12) 18px),
    #fffaf1;
  box-shadow: 0 18px 38px rgba(44, 36, 24, .13);
  animation: gahFloat 7.5s ease-in-out infinite;
}

.document-frame:nth-child(2) {
  transform: translateY(-24px) rotate(2deg);
  animation-delay: -2s;
}

.document-frame:nth-child(3) {
  transform: translateY(16px) rotate(-1deg);
  animation-delay: -4s;
}

.flight-path {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.flight-path::before {
  content: "";
  position: absolute;
  left: 14%;
  right: 12%;
  top: 46%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(47,95,143,.52), rgba(168,104,19,.60), transparent);
  transform: rotate(-13deg);
}

.timeline-markers {
  position: absolute;
  right: 26px;
  top: 26px;
  display: grid;
  gap: 8px;
  width: min(260px, 44%);
}

.timeline-marker {
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,253,248,.78);
  color: var(--slate);
  font-size: 12px;
  font-weight: 820;
}

.timeline-marker strong {
  display: block;
  color: var(--navy);
  font-size: 13px;
}

.activity-feed {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.activity-item {
  display: grid;
  grid-template-columns: minmax(96px, .24fr) minmax(0, 1fr);
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.activity-item time {
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 900;
}

.activity-item strong {
  color: var(--navy);
}

.activity-item span {
  color: var(--muted);
}

html.gah-pdf-lite-document {
  background: var(--bg) !important;
}

.gah-pdf-lite-shell {
  min-height: 100%;
  overflow: auto !important;
  background:
    radial-gradient(circle at 14% 8%, rgba(185, 128, 41, 0.14), transparent 30%),
    linear-gradient(180deg, var(--bg) 0%, var(--page) 100%),
    var(--bg) !important;
  color: var(--text) !important;
}

.gah-pdf-lite-shell #bar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 247, 239, 0.94) !important;
  border-bottom: 1px solid var(--line) !important;
  box-shadow: var(--shadow-soft);
}

.gah-pdf-lite-shell #title {
  color: var(--navy) !important;
}

.gah-pdf-lite-shell #stage {
  min-height: calc(100vh - 300px);
  height: auto !important;
  background:
    linear-gradient(180deg, rgba(42, 74, 104, 0.08), rgba(185, 128, 41, 0.10)),
    var(--paper-2) !important;
}

.gah-pdf-lite-shell #msg {
  color: var(--accent-strong) !important;
}

.gah-pdf-lite-shell #bar button,
.gah-pdf-lite-shell #bar a {
  min-height: 44px;
  border: 1px solid var(--line-strong) !important;
  background: var(--panel) !important;
  color: var(--text) !important;
  box-shadow: 0 8px 22px rgba(44, 36, 24, .08);
}

.gah-pdf-lite-shell #bar a.main {
  background: var(--accent) !important;
  border-color: var(--accent-strong) !important;
  color: var(--navy) !important;
}

.gah-pdf-lite-shell canvas {
  box-shadow: var(--shadow);
}

@keyframes gahPulse {
  0%, 100% { transform: scale(.98); opacity: .45; }
  50% { transform: scale(1.05); opacity: .95; }
}

@keyframes gahFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .button:hover,
  .dispatch-card:hover,
  .info-card[href]:hover {
    transform: none;
  }
}

@media (max-width: 980px) {
  .global-status .page-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .status-metrics,
  .local-time-panel {
    display: grid;
    grid-template-columns: 1fr;
  }
  .status-pill,
  .local-time-pill {
    width: 100%;
  }
  .hero-visual-stage {
    min-height: 330px;
  }
  .gah-insignia {
    width: 92px;
    height: 92px;
    font-size: 26px;
  }
  .document-film {
    grid-template-columns: 1fr;
    left: 22%;
    right: 8%;
    bottom: 26px;
  }
  .document-frame {
    min-height: 82px;
  }
  .timeline-markers {
    right: 12px;
    top: 130px;
    width: 62%;
  }
  .activity-item {
    grid-template-columns: 1fr;
  }
}

.phang-news-hero {
  position: relative;
}

.phang-event-card h3 a,
.phang-timeline a {
  color: inherit;
  text-decoration: none;
}

.phang-event-card h3 a:hover,
.phang-timeline a:hover {
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.phang-timeline {
  display: grid;
  gap: var(--space-4);
}

.timeline-card {
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
  padding: var(--space-5);
}

.timeline-card time {
  display: inline-flex;
  margin-bottom: var(--space-2);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: 0;
}

.timeline-card h3 {
  margin: 0 0 var(--space-2);
  font-size: clamp(1.05rem, 1rem + .35vw, 1.35rem);
}

.timeline-card p {
  color: var(--muted);
}

/* GAH-PRESENCE-001 */
.presence-pill {
  white-space: nowrap;
}

.presence-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 999px;
  background: currentColor;
  opacity: .42;
}

.presence-pill[data-presence-state="live"] .presence-dot {
  background: #26824a;
  opacity: 1;
  box-shadow: 0 0 0 3px rgba(38, 130, 74, .13);
}

.presence-pill[data-presence-state="connecting"] .presence-dot {
  animation: gah-presence-pulse 1.4s ease-in-out infinite;
}

.presence-pill[data-presence-state="unavailable"] {
  opacity: .72;
}

@keyframes gah-presence-pulse {
  0%, 100% {
    opacity: .28;
  }

  50% {
    opacity: 1;
  }
}

/* GAH_ASK_GAH_WIDGET_STYLES_V1 */
.ask-gah {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(calc(18px + var(--ask-gah-clearance, 0px)), env(safe-area-inset-bottom));
  z-index: 2147482000;
  font-family: inherit;
}

.ask-gah__launcher {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.6rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: #111820;
  color: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  cursor: pointer;
}

.ask-gah__launcher span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: #d8b35f;
  color: #111820;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.ask-gah__panel {
  position: absolute;
  right: 0;
  bottom: 62px;
  width: min(410px, calc(100vw - 28px));
  max-height: min(680px, calc(100vh - 100px));
  overflow: auto;
  padding: 1rem;
  border: 1px solid var(--line, rgba(128, 128, 128, 0.35));
  border-radius: 18px;
  background: var(--surface, #fff);
  color: var(--ink, #17202a);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.ask-gah__panel[hidden] {
  display: none;
}

.ask-gah__header,
.ask-gah__form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ask-gah__header h2 {
  margin: 0;
  font-size: 1.35rem;
}

.ask-gah__eyebrow {
  margin: 0 0 0.15rem;
  color: var(--muted, #66717d);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ask-gah__close {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line, #ccd1d6);
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font-size: 1.5rem;
  cursor: pointer;
}

.ask-gah__intro,
.ask-gah__note {
  color: var(--muted, #66717d);
}

.ask-gah__intro {
  margin: 0.75rem 0;
}

.ask-gah__note {
  margin: 0.9rem 0 0;
  font-size: 0.78rem;
}

.ask-gah__quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.ask-gah__quick-actions button {
  padding: 0.42rem 0.65rem;
  border: 1px solid var(--line, #ccd1d6);
  border-radius: 999px;
  background: var(--surface-alt, rgba(128, 128, 128, 0.08));
  color: inherit;
  cursor: pointer;
}

.ask-gah__form {
  display: grid;
  gap: 0.5rem;
}

.ask-gah__form label {
  font-size: 0.82rem;
  font-weight: 700;
}

.ask-gah__form textarea {
  box-sizing: border-box;
  width: 100%;
  resize: vertical;
  min-height: 92px;
  padding: 0.72rem;
  border: 1px solid var(--line, #bbc2c9);
  border-radius: 10px;
  background: var(--surface, #fff);
  color: inherit;
  font: inherit;
}

.ask-gah__form-row span {
  color: var(--muted, #66717d);
  font-size: 0.78rem;
}

.ask-gah__submit {
  min-width: 80px;
  padding: 0.55rem 0.85rem;
  border: 0;
  border-radius: 9px;
  background: #b98d34;
  color: #111820;
  font-weight: 800;
  cursor: pointer;
}

.ask-gah__submit:disabled {
  cursor: progress;
  opacity: 0.6;
}

.ask-gah__status {
  min-height: 1.3rem;
  margin-top: 0.85rem;
  font-size: 0.84rem;
  font-weight: 700;
}

.ask-gah__response {
  margin-top: 0.45rem;
}

.ask-gah__response h3 {
  margin: 0.75rem 0 0.45rem;
  font-size: 1rem;
}

.ask-gah__answer {
  white-space: pre-wrap;
}

.ask-gah__results {
  display: grid;
  gap: 0.65rem;
  margin: 0.7rem 0 0;
  padding: 0;
  list-style: none;
}

.ask-gah__results li {
  display: grid;
  gap: 0.18rem;
  padding: 0.65rem;
  border: 1px solid var(--line, #d4d8dc);
  border-radius: 10px;
}

.ask-gah__results li span {
  color: var(--muted, #66717d);
  font-size: 0.82rem;
}

.ask-gah__results a {
  color: var(--accent, #9b6c16);
  font-weight: 750;
}

.ask-gah__error {
  color: #b42318;
}

@media (max-width: 620px) {
  .ask-gah {
    right: max(10px, env(safe-area-inset-right));
    bottom: max(calc(10px + var(--ask-gah-clearance, 0px)), env(safe-area-inset-bottom));
  }

  .ask-gah__panel {
    position: fixed;
    right: 8px;
    bottom: calc(70px + var(--ask-gah-clearance, 0px));
    left: 8px;
    width: auto;
    max-height: calc(100vh - 90px - var(--ask-gah-clearance, 0px));
    border-radius: 16px;
  }

  .ask-gah__launcher strong {
    display: none;
  }

  .ask-gah__launcher {
    padding: 0.52rem;
  }
}

