/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Platform layer ── */
#platform { background: var(--bg); min-height: 100vh; }

/* ── Design tokens ── */
:root {
  /* Surface depth */
  --bg:          #070a12;
  --bg-surface:  #0b0f18;
  --bg-card:     #0e1520;
  --bg-hover:    #131c28;

  /* Borders */
  --border:      #172030;
  --border-mid:  #1e2d40;
  --border-hi:   #26374e;

  /* Typography */
  --text:        #dce6f2;
  --text-sec:    #788fa8;
  --text-dim:    #394f64;

  /* Accent */
  --accent:      #3b82f6;
  --accent-lo:   #60a5fa;
  --accent-dim:  rgba(59, 130, 246, 0.09);

  /* Intensity scale for pressure fields */
  --int-critical: #f87171;
  --int-high:     #fbbf24;
  --int-mid:      #60a5fa;
  --int-low:      #475569;

  /* Radii */
  --radius:      6px;
  --radius-lg:   10px;
}

/* ── Base ── */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Links ── */
a { color: var(--accent-lo); text-decoration: none; }
a:hover { color: var(--accent); text-decoration: underline; }

/* env-nav tab styles removed — replaced by .env-switcher dropdown in shell.css */

/* ── Main layout ── */
#main-wrapper {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.5rem 6rem;
}

/* ── Editions / history tab bar ── */
.history-nav {
  position: sticky;
  top: 52px;
  z-index: 90;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 0 1.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.history-nav::-webkit-scrollbar { display: none; }

.history-nav-inner {
  display: flex;
  align-items: stretch;
  max-width: 820px;
  margin: 0 auto;
  min-width: min-content;
}

.history-nav-label {
  display: flex;
  align-items: center;
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding-right: 1rem;
  margin-right: 0.25rem;
  border-right: 1px solid var(--border);
  white-space: nowrap;
  flex-shrink: 0;
}

.history-pill {
  flex-shrink: 0;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-dim);
  font-size: 0.69rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0.7rem 1rem;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  transition: color 0.15s, border-color 0.15s;
  line-height: 1;
}
.history-pill:hover { color: var(--text-sec); }
.history-pill.active {
  color: var(--text);
  border-bottom-color: var(--accent);
  font-weight: 600;
}

/* ─────────────────────────────────────────────────────────────── */
/* Brief Header — editorial product opening                        */
/* ─────────────────────────────────────────────────────────────── */

.brief-header {
  padding: 2.75rem 0 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.25rem;
}

.brief-header-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.brief-env-tag {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.brief-type-sep {
  color: var(--text-dim);
  font-size: 0.62rem;
}

.brief-type-tag {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.brief-date {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 0.625rem;
}

.brief-signal-count {
  font-size: 0.73rem;
  color: var(--text-dim);
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}

/* Hide the raw markdown h1 — replaced by .brief-header via JS */
#content > h1 { display: none; }

/* ─────────────────────────────────────────────────────────────── */
/* Signal Pressure section                                         */
/* ─────────────────────────────────────────────────────────────── */

#pressure-section {
  padding: 2.25rem 0 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}

.pressure-section-header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.pressure-section-title {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-dim);
}

.pressure-section-count {
  font-size: 0.6rem;
  color: var(--text-dim);
  opacity: 0.55;
  font-variant-numeric: tabular-nums;
}

/* ── Pressure chips ── */
.pressure-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.pressure-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: inherit;
  font-size: 0.73rem;
  font-weight: 500;
  color: var(--text-sec);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.38rem 0.7rem 0.38rem 0.575rem;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  line-height: 1;
  letter-spacing: -0.005em;
}
.pressure-chip:hover {
  border-color: var(--border-hi);
  color: var(--text);
  background: var(--bg-hover);
}
.pressure-chip.active {
  border-color: var(--accent);
  color: var(--text);
  background: var(--accent-dim);
}

/* Intensity indicator */
.chip-indicator {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--chip-color, var(--text-dim));
}
.pressure-chip--critical .chip-indicator { --chip-color: var(--int-critical); }
.pressure-chip--high .chip-indicator     { --chip-color: var(--int-high); }
.pressure-chip--mid .chip-indicator      { --chip-color: var(--int-mid); }
.pressure-chip--low .chip-indicator      { --chip-color: var(--int-low); }

.chip-label { font-weight: 500; }

.chip-meta {
  font-size: 0.65rem;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
  padding-left: 0.4rem;
  border-left: 1px solid var(--border-mid);
}
.pressure-chip.active .chip-meta {
  color: var(--accent-lo);
  border-left-color: rgba(59, 130, 246, 0.22);
}

/* ── Pressure detail panel ── */
.pressure-detail { display: none; }
.pressure-detail.open {
  display: block;
  margin-top: 0.75rem;
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
}

.pressure-detail-inner {
  padding: 1.375rem 1.5rem 1.5rem;
}

.pressure-detail-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.125rem;
  border-bottom: 1px solid var(--border);
}

.pressure-detail-title {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.pressure-detail-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.pressure-detail-parent {
  font-size: 0.67rem;
  color: var(--text-dim);
  letter-spacing: 0.01em;
}

.pressure-detail-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  padding-top: 0.125rem;
}

.pressure-detail-trend {
  display: inline-flex;
  align-items: center;
  gap: 0.2em;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.25em 0.6em;
}

.pressure-detail-count {
  font-size: 0.67rem;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.pressure-detail-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--text-dim);
  border-radius: 4px;
  font-size: 0.78rem;
  line-height: 1;
  transition: color 0.12s, background 0.12s;
  flex-shrink: 0;
}
.pressure-detail-close:hover {
  color: var(--text-sec);
  background: var(--bg-hover);
}

/* ── Evidence list ── */
.evidence-list {
  display: flex;
  flex-direction: column;
}

.evidence-label {
  font-size: 0.59rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  margin-bottom: 0.875rem;
}

.evidence-item {
  padding: 0 0 1rem 1rem;
  border-left: 2px solid var(--signal-accent, var(--border-mid));
  margin-bottom: 1rem;
}
.evidence-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

.evidence-summary {
  font-size: 0.84rem;
  color: var(--text-sec);
  line-height: 1.6;
  margin-bottom: 0.25rem;
}

.evidence-rationale {
  font-size: 0.76rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 0.3rem;
}

.evidence-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.375rem;
}

.evidence-source {
  font-size: 0.68rem;
  color: var(--accent-lo);
  text-decoration: none;
}
.evidence-source:hover {
  color: var(--accent);
  text-decoration: underline;
}

.evidence-relevance {
  font-size: 0.63rem;
  color: var(--text-dim);
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}

/* ── Universal pressure detail additions ── */

/* Domain badge */
.pressure-domain-badge {
  display: inline-block;
  font-size: 0.59rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.18em 0.55em;
  border-radius: 3px;
  margin-top: 0.2rem;
  border: 1px solid currentColor;
  opacity: 0.75;
}
.pressure-domain-badge--GEOPOLITICAL                    { color: #f87171; }
.pressure-domain-badge--ECONOMIC_AND_CAPITAL            { color: #fbbf24; }
.pressure-domain-badge--REGULATORY_AND_POLITICAL        { color: #fb923c; }
.pressure-domain-badge--SUPPLY_CHAIN_AND_INFRASTRUCTURE { color: #a78bfa; }
.pressure-domain-badge--TECHNOLOGY_AND_DIGITAL          { color: #60a5fa; }
.pressure-domain-badge--ENVIRONMENTAL_AND_RESOURCE      { color: #4ade80; }
.pressure-domain-badge--LABOUR_AND_SOCIAL               { color: #34d399; }
.pressure-domain-badge--MARKET_AND_COMPETITIVE          { color: #22d3ee; }

/* Env manifestation row */
.pressure-env-manifestation {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0 0.75rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.875rem;
}
.pressure-env-label {
  font-size: 0.59rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--text-dim);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 0.15em 0.5em;
  flex-shrink: 0;
}
.pressure-env-field {
  font-size: 0.78rem;
  color: var(--text-sec);
}

/* Strength bar */
.pressure-strength-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.625rem 0 0.875rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.875rem;
}
.pressure-strength-label {
  font-size: 0.59rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--text-dim);
  flex-shrink: 0;
  width: 4.5rem;
}
.pressure-strength-track {
  flex: 1;
  height: 4px;
  background: var(--border-mid);
  border-radius: 2px;
  overflow: hidden;
}
.pressure-strength-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.3s ease;
}
.pressure-strength-pct {
  font-size: 0.67rem;
  font-variant-numeric: tabular-nums;
  color: var(--text-sec);
  flex-shrink: 0;
  width: 2.5rem;
  text-align: right;
}
.pressure-velocity-pill {
  font-size: 0.59rem;
  color: var(--text-dim);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.15em 0.55em;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Metrics block — de-emphasised, anchored to bottom of detail panel */
.pressure-metrics-block {
  padding: 0.75rem 0 0;
  border-top: 1px solid var(--border);
  margin-top: 0.875rem;
  opacity: 0.8;
}
.pressure-metrics-block .pressure-strength-row {
  padding: 0;
  border-bottom: none;
  margin-bottom: 0.35rem;
}
.pressure-metrics-block .pressure-strength-row:last-of-type {
  margin-bottom: 0;
}
.pressure-momentum-fill {
  background: #60a5fa;
}
.pressure-signal-depth {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.6rem;
  flex-wrap: wrap;
}
.pressure-confidence-pill {
  font-size: 0.59rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.18em 0.55em;
  border-radius: 10px;
  border: 1px solid currentColor;
  white-space: nowrap;
  flex-shrink: 0;
}
.pressure-confidence-pill--high     { color: #4ade80; }
.pressure-confidence-pill--building { color: #fbbf24; }
.pressure-confidence-pill--early    { color: var(--text-dim); }
.pressure-confidence-pill--none     { color: var(--text-dim); }
.pressure-signal-note {
  font-size: 0.62rem;
  color: var(--text-dim);
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}

/* Narrative sections — prominent prose, leads the detail panel */
.pressure-narrative-section {
  padding-bottom: 0.875rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.875rem;
}
.pressure-narrative-text {
  font-size: 0.83rem;
  color: var(--text-sec);
  line-height: 1.72;
  margin: 0.3rem 0 0;
}
.pressure-env-field-subtitle {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin: 0.25rem 0 0.2rem;
}

/* Legacy — kept for any path still using these class names */
.pressure-why-section {
  padding-bottom: 0.875rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.875rem;
}
.pressure-why-text {
  font-size: 0.8rem;
  color: var(--text-sec);
  line-height: 1.65;
  margin: 0;
}

/* Linked entities */
.pressure-entities-section {
  margin-top: 0.875rem;
  padding-top: 0.875rem;
  border-top: 1px solid var(--border);
}
.pressure-entity-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0;
}
.pressure-entity-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: var(--text-sec);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.2rem 0.5rem;
  white-space: nowrap;
}
.pressure-entity-tag--company { border-color: rgba(96,165,250,.3);  color: #93c5fd; }
.pressure-entity-tag--person  { border-color: rgba(167,139,250,.3); color: #c4b5fd; }
.pressure-entity-tag--topic   { border-color: rgba(52,211,153,.3);  color: #6ee7b7; }
.pressure-entity-count {
  font-size: 0.62rem;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
  padding-left: 0.2rem;
  border-left: 1px solid var(--border-mid);
}

/* ─────────────────────────────────────────────────────────────── */
/* Brief cards                                                      */
/* ─────────────────────────────────────────────────────────────── */

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.625rem 2rem;
  margin-bottom: 0.75rem;
}

.card h2 {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  padding-bottom: 1.125rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

/* ── Executive Summary — editorial lead ── */
.card.card--summary {
  background: #090e18;
  border-color: var(--border-mid);
  padding-top: 1.875rem;
  position: relative;
  overflow: hidden;
}
.card.card--summary::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent) 0%, transparent 70%);
  opacity: 0.5;
}
.card.card--summary h2 {
  color: var(--accent);
  opacity: 0.75;
  border-bottom-color: var(--border);
}
.card.card--summary > p {
  font-size: 0.97rem;
  color: #8ba5be;
  line-height: 1.8;
  max-width: 70ch;
}

/* ── Signal items — editorial list, no boxes ── */
/*
  Signal items are paragraphs whose first child is <strong>.
  We use pure typographic separation: thin rules + generous padding.
  No background, no border-left — the text does the work.
*/
.card p:has(> strong:first-child) {
  margin-bottom: 0;
  padding: 1.125rem 0;
  border-bottom: 1px solid var(--border);
}
/* Remove top padding from first signal item (h2 margin handles space) */
.card h2 + p:has(> strong:first-child) {
  padding-top: 0;
}
/* Remove bottom border from last signal item */
.card p:has(> strong:first-child):last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.card p:has(> strong:first-child) > strong:first-child {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.325rem;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

/* ── Regular paragraphs ── */
.card p {
  color: var(--text-sec);
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
  line-height: 1.7;
}
.card p:last-child { margin-bottom: 0; }

/* ── Lists ── */
.card ul {
  list-style: none;
  padding: 0;
}
.card ul li {
  position: relative;
  padding: 0.6rem 0 0.6rem 1.125rem;
  font-size: 0.875rem;
  color: var(--text-sec);
  border-bottom: 1px solid var(--border);
  line-height: 1.6;
}
.card ul li:last-child { border-bottom: none; }
.card ul li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--text-dim);
  line-height: 1.7;
  font-size: 0.875rem;
}

/* ── Footer ── */
footer {
  background: transparent;
  margin-top: 2rem;
}
footer .sh-footer-inner { color: var(--text-dim); }

/* ── Loading / empty / error ── */
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40vh;
  color: var(--text-dim);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.empty-state {
  padding: 5rem 2rem;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.875rem;
  line-height: 1.7;
}
.empty-state strong {
  color: var(--text-sec);
  font-weight: 600;
}

.error {
  padding: 5rem 2rem;
  text-align: center;
  color: #f87171;
  font-size: 0.875rem;
}

/* ── Geo Exposure Section ── */
#geo-exposure-section {
  border-bottom: 1px solid var(--border);
}

/* Toggle button — always visible header row, matches pressure section header */
.geo-toggle {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.5rem 0 0.6rem;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}
.geo-toggle:hover .geo-section-title { color: var(--text-sec); }

.geo-toggle-icon {
  font-size: 0.55rem;
  color: var(--text-dim);
  width: 9px;
  flex-shrink: 0;
  line-height: 1;
}

.geo-section-title {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  transition: color 0.15s;
}

.geo-section-sep {
  font-size: 0.6rem;
  color: var(--text-dim);
  opacity: 0.35;
}

.geo-section-count {
  font-size: 0.6rem;
  color: var(--text-dim);
  opacity: 0.55;
  font-variant-numeric: tabular-nums;
}

/* Preview strip — compact chips shown only in collapsed state */
.geo-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  padding-bottom: 1.25rem;
}

/* Expanded body */
.geo-section-body {
  padding-bottom: 1.25rem;
}

.geo-roles {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.geo-role-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.geo-role-label {
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  min-width: 90px;
  flex-shrink: 0;
}

.geo-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.geo-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-sec);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.25rem 0.55rem;
  line-height: 1;
  letter-spacing: -0.005em;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.12s, color 0.12s;
}
.geo-chip:hover {
  border-color: var(--border-hi);
  color: var(--text);
}
.geo-chip--active {
  border-color: rgba(110, 209, 232, 0.45);
  color: var(--text);
  background: rgba(110, 209, 232, 0.06);
}

.geo-chip-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(110, 209, 232, 0.55);
  flex-shrink: 0;
}

.geo-chip-count {
  font-size: 0.6rem;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
  padding-left: 0.3rem;
  border-left: 1px solid var(--border-mid);
}

.geo-relationships {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--border);
  margin-bottom: 0.7rem;
}

.geo-rel-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.65rem;
  color: var(--text-dim);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.22rem 0.5rem;
  line-height: 1;
  white-space: nowrap;
}

.geo-rel-from { color: var(--text-sec); font-weight: 500; }
.geo-rel-arrow { opacity: 0.4; font-size: 0.6rem; }
.geo-rel-type { color: var(--text-dim); font-style: italic; }
.geo-rel-to { color: rgba(110, 209, 232, 0.75); font-weight: 500; }

/* Evidence panel — shown on chip click */
.geo-evidence-panel {
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  margin-top: 0.5rem;
  overflow: hidden;
}

.geo-ev-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border);
}

.geo-ev-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.geo-ev-close {
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 0.75rem;
  line-height: 1;
  padding: 2px 4px;
  font-family: inherit;
}
.geo-ev-close:hover { color: var(--text); }

.geo-ev-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.geo-ev-item {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border);
}
.geo-ev-item:last-child { border-bottom: none; }

.geo-ev-meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.35rem;
}

.geo-ev-role {
  font-size: 0.63rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(110, 209, 232, 0.8);
}

.geo-ev-conf {
  font-size: 0.63rem;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
  background: var(--bg-hover);
  padding: 1px 5px;
  border-radius: 3px;
}

.geo-ev-type {
  font-size: 0.6rem;
  color: var(--text-dim);
  opacity: 0.7;
  font-style: italic;
}

.geo-ev-text {
  font-size: 0.73rem;
  color: var(--text-sec);
  line-height: 1.45;
  margin-bottom: 0.35rem;
  font-style: italic;
}
.geo-ev-signal { font-style: normal; color: var(--text-sec); }

.geo-ev-source {
  display: inline-block;
  font-size: 0.65rem;
  color: var(--accent-lo);
  text-decoration: none;
}
.geo-ev-source:hover { color: var(--accent); text-decoration: underline; }

/* ── Responsive ── */
@media (max-width: 640px) {
  #main-wrapper { padding: 0 1rem 5rem; }
  .card { padding: 1.25rem 1.25rem; border-radius: var(--radius); }
  .env-switcher-btn { max-width: 140px; font-size: 0.71rem; }
  .history-nav { top: 48px; }
  .brief-date { font-size: 1.4rem; letter-spacing: -0.03em; }
  .brief-header { padding: 2rem 0 1.5rem; }
  .pressure-detail-inner { padding: 1rem 1.125rem; }
}
