:root {
  color-scheme: light;
  --color-bg: #f4f7fb;
  --color-bg-soft: #f8fafc;
  --color-surface: #ffffff;
  --color-surface-subtle: #fbfcfe;
  --color-ink: #101828;
  --color-muted: #667085;
  --color-border: #d8dee8;
  --color-brand: #1f3f73;
  --color-brand-deep: #12284b;
  --color-accent: #2c5f93;
  --color-signal: #8f4a45;
  --color-risk-low: #3f7d5b;
  --color-risk-watch: #a97022;
  --color-risk-high: #b94a42;
  --color-risk-critical: #7f2630;
  --color-console-bg: #0b111c;
  --color-console-surface: #14233a;
  --color-console-surface-2: #1c2d49;
  --color-console-border: #2e4364;
  --color-console-text: #e2e8f0;
  --color-console-muted: #a8b6ca;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 18px;
  --space-6: 24px;
  --space-7: 28px;
  --space-8: 32px;
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 999px;
  --shadow-panel: 0 8px 22px rgba(31, 63, 115, 0.08);
  --shadow-card: 0 3px 12px rgba(31, 63, 115, 0.06);
  --shadow-hover: 0 8px 18px rgba(31, 63, 115, 0.12);

  /* Legacy aliases kept while the current static app is migrated component by component. */
  --ink: var(--color-ink);
  --muted: var(--color-muted);
  --line: var(--color-border);
  --panel: var(--color-surface);
  --bg: var(--color-bg);
  --navy: var(--color-brand);
  --blue: var(--color-accent);
  --cyan: var(--color-signal);
  --green: var(--color-risk-low);
  --amber: var(--color-risk-watch);
  --red: var(--color-risk-high);
  --deep-red: var(--color-risk-critical);
  --shadow: var(--shadow-panel);
  --soft-shadow: var(--shadow-card);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(31, 63, 115, 0.07), transparent 340px),
    var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
}

button,
select {
  font: inherit;
}

.shell {
  min-height: 100vh;
}

.ui-panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-panel);
}

.ui-panel[data-tone="console"],
.workspace-shell .ui-panel {
  background: var(--color-console-surface);
  border-color: var(--color-console-border);
  color: var(--color-console-text);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
}

.ui-panel__header {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  align-items: flex-start;
  padding: var(--space-5) var(--space-5) var(--space-3);
  border-bottom: 1px solid var(--color-border);
}

.workspace-shell .ui-panel__header {
  border-bottom-color: var(--color-console-border);
}

.ui-card {
  background: var(--color-surface-subtle);
  border: 1px solid var(--color-border);
  padding: var(--space-4);
  box-shadow: var(--shadow-card);
}

.ui-card[data-clickable="true"],
.ui-clickable {
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.ui-card[data-clickable="true"]:hover,
.ui-clickable:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
  border-color: #a8b8c9;
}

.ui-badge {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  border: 1px solid var(--color-border);
  background: var(--color-bg-soft);
  border-radius: var(--radius-pill);
  padding: 4px 9px;
  color: var(--color-muted);
  font-size: 11px;
  font-weight: 650;
}

.ui-badge[data-tone="high"] {
  border-color: rgba(185, 74, 66, 0.28);
  color: var(--color-risk-high);
  background: rgba(185, 74, 66, 0.07);
}

.ui-badge[data-tone="watch"] {
  border-color: rgba(169, 112, 34, 0.28);
  color: var(--color-risk-watch);
  background: rgba(169, 112, 34, 0.08);
}

.ui-badge[data-tone="stable"] {
  border-color: rgba(63, 125, 91, 0.28);
  color: var(--color-risk-low);
  background: rgba(63, 125, 91, 0.08);
}

.ui-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-2);
}

.ui-tab {
  min-height: 54px;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.8);
  color: var(--color-ink);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  cursor: pointer;
  font-weight: 700;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.ui-tab:hover,
.ui-tab.active {
  background: var(--color-surface);
  border-color: #9db2c8;
  color: var(--color-accent);
  box-shadow: var(--shadow-panel);
}

.ui-tab.active {
  border-bottom: 4px solid var(--color-accent);
}

.risk-bar {
  height: 8px;
  background: #e7edf4;
  margin-top: var(--space-2);
  overflow: hidden;
}

.risk-bar__fill {
  display: block;
  height: 100%;
  background: var(--color-accent);
}

.workspace-shell {
  display: grid;
  grid-template-columns: minmax(520px, 1.35fr) minmax(380px, 0.8fr);
  gap: var(--space-5);
  align-items: stretch;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 28px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 5;
}

.eyebrow,
.panel-kicker,
.brief-label {
  margin: 0 0 4px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: 26px;
}

h2 {
  margin-bottom: 0;
  font-size: 18px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.topbar button,
.control-row select {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 6px;
  padding: 7px 10px;
}

main {
  padding: 24px 28px 36px;
  max-width: 1500px;
  margin: 0 auto;
}

.hero-band {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(480px, 0.95fr);
  gap: 20px;
  align-items: stretch;
  margin-bottom: 18px;
}

.brief {
  background:
    linear-gradient(135deg, rgba(31, 63, 115, 0.96), rgba(18, 40, 75, 0.9)),
    var(--color-brand);
  color: #fff;
  padding: 28px;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brief h2 {
  max-width: 840px;
  font-size: 30px;
  line-height: 1.25;
  margin-bottom: 12px;
}

.brief p:last-child {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.metric {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 18px;
  box-shadow: var(--shadow);
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 8px;
}

.metric strong {
  font-size: 30px;
}

.control-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.control-row label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.view-switcher {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.view-tab {
  min-height: 54px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  border-radius: 6px;
  padding: 10px 12px;
  cursor: pointer;
  font-weight: 700;
  text-align: center;
  box-shadow: var(--soft-shadow);
}

.view-tab:hover,
.view-tab.active {
  background: #fff;
  border-color: #9db2c8;
  color: var(--blue);
  box-shadow: var(--shadow);
}

.view-tab.active {
  border-bottom: 4px solid var(--blue);
}

.view-panel {
  display: none;
}

.view-panel.active {
  display: block;
}

.globe-board {
  min-height: 430px;
  margin-bottom: 18px;
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(360px, 1.3fr) minmax(260px, 0.68fr);
  gap: 18px;
  align-items: stretch;
  background:
    linear-gradient(135deg, rgba(9, 26, 45, 0.96), rgba(20, 52, 91, 0.92)),
    #0f243f;
  color: #fff;
  overflow: hidden;
  border: 1px solid rgba(216, 224, 234, 0.24);
  border-radius: var(--radius-md);
}

.globe-copy,
.globe-feed {
  padding: 24px;
  align-self: center;
}

.globe-copy h2 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.28;
}

.globe-copy p,
.globe-feed p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.globe-stage {
  position: relative;
  min-height: 430px;
}

#riskGlobe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
}

.globe-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.7);
  background: radial-gradient(circle, rgba(31, 111, 235, 0.18), transparent 64%);
}

.globe-fallback.hidden {
  display: none;
}

.globe-legend {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.globe-legend span,
.globe-hotspot {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.globe-legend i,
.globe-hotspot i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
  flex: 0 0 auto;
}

.globe-feed {
  border-left: 1px solid rgba(216, 224, 234, 0.18);
}

#globeHotspots {
  display: grid;
  gap: 12px;
}

.globe-hotspot {
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(216, 224, 234, 0.16);
}

.globe-hotspot strong {
  display: block;
  margin-bottom: 4px;
}

.globe-hotspot em {
  color: rgba(255, 255, 255, 0.62);
  font-style: normal;
  font-size: 12px;
}

.action-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) repeat(3, minmax(150px, 0.34fr));
  gap: 14px;
  margin-bottom: 18px;
}

.action-card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 16px;
  box-shadow: var(--soft-shadow);
  min-height: 126px;
  text-align: left;
}

.action-card.priority {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(236, 244, 252, 0.94)),
    #fff;
  border-left: 5px solid var(--blue);
}

.action-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 10px;
}

.action-card strong {
  display: block;
  font-size: 32px;
  margin-bottom: 8px;
}

.action-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 13px;
}

.clickable-card,
.country-node,
.watch-item,
.event-item,
.governance-item {
  cursor: pointer;
}

.clickable-card:hover,
.watch-item:hover,
.event-item:hover,
.governance-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(20, 52, 91, 0.14);
  border-color: #a8b8c9;
}

.overview-grid,
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(360px, 0.75fr);
  gap: 18px;
  margin-bottom: 18px;
}

.workspace-grid {
  grid-template-columns: minmax(520px, 1.35fr) minmax(380px, 0.8fr);
  align-items: stretch;
}

.workspace-panel {
  background: #1e293b;
  border-color: #334155;
  color: #e2e8f0;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
}

.workspace-panel .panel-head {
  border-bottom-color: #334155;
}

.workspace-panel h2 {
  color: #e2e8f0;
}

.workspace-panel .status-pill {
  background: #263344;
  border-color: #475569;
  color: #94a3b8;
}

.geo-map {
  position: relative;
  min-height: 590px;
  margin: 16px 18px 20px;
  overflow: hidden;
  border: 1px solid #334155;
  border-radius: 12px;
  background:
    linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 52% 46%, rgba(59, 130, 246, 0.18), transparent 42%),
    #0f172a;
  background-size: 44px 44px, 44px 44px, auto, auto;
}

.geo-map::before {
  content: "";
  position: absolute;
  inset: 42px 30px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 45% 48% 42% 45%;
  pointer-events: none;
}

.world-map-outline {
  position: absolute;
  inset: 34px 28px;
  z-index: 0;
  width: calc(100% - 56px);
  height: calc(100% - 68px);
  pointer-events: none;
}

.world-map-outline__land path {
  fill: rgba(42, 111, 151, 0.2);
  stroke: rgba(71, 105, 137, 0.28);
  stroke-width: 0.65;
  vector-effect: non-scaling-stroke;
}

.world-map-outline__lines path {
  fill: none;
  stroke: rgba(203, 213, 225, 0.24);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.geo-node,
.geo-disabled {
  position: absolute;
  z-index: 2;
  transform: translate(-50%, -50%);
  border: 1px solid #334155;
  border-left: 4px solid var(--green);
  background: #1e293b;
  color: #e2e8f0;
  border-radius: 12px;
  min-width: 126px;
  padding: 9px 10px;
  text-align: left;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
}

.geo-node {
  cursor: pointer;
  transition: transform 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease;
}

.geo-disabled {
  z-index: 3;
}

.geo-node:hover,
.geo-node.active {
  transform: translate(-50%, -52%);
  border-color: #f97316;
  box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.38), 0 10px 24px rgba(0, 0, 0, 0.34);
}

.geo-node.risk-high {
  border-left-color: #ef4444;
}

.geo-node.risk-watch {
  border-left-color: #f97316;
}

.geo-node.risk-stable {
  border-left-color: #22c55e;
}

.geo-node strong,
.geo-node span,
.geo-disabled strong,
.geo-disabled span {
  display: block;
}

.geo-node strong,
.geo-disabled strong {
  margin-bottom: 4px;
  font-size: 14px;
}

.geo-node span,
.geo-disabled span {
  color: #94a3b8;
  font-size: 11px;
  line-height: 1.35;
}

.geo-disabled {
  cursor: not-allowed;
  opacity: 0.56;
  border-left-color: #64748b;
  background: rgba(30, 41, 59, 0.66);
}

.map-note {
  position: absolute;
  left: 18px;
  bottom: 16px;
  margin: 0;
  color: #64748b;
  font-size: 12px;
}

.workspace-panel .country-profile {
  color: #e2e8f0;
}

.workspace-panel .profile-row,
.workspace-panel .event-item,
.workspace-panel .governance-item {
  background: #263344;
  border-color: #334155;
  color: #e2e8f0;
}

.workspace-panel .profile-row span,
.workspace-panel .event-meta,
.workspace-panel .governance-item p {
  color: #94a3b8;
}

.workspace-panel .bar {
  background: #0f172a;
  border-radius: 999px;
}

.workspace-panel .score-ring {
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.08);
}

.watchlist-panel {
  margin-bottom: 18px;
}

.watchlist {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 14px 18px 18px;
}

.watch-item {
  border: 1px solid var(--line);
  background: #fbfdff;
  padding: 12px;
  min-height: 112px;
  display: grid;
  gap: 8px;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.watch-item strong {
  font-size: 16px;
}

.watch-item span,
.watch-item p {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
}

.watch-score {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.watch-score b {
  font-size: 22px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 18px 12px;
  border-bottom: 1px solid var(--line);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  border: 1px solid var(--line);
  background: #f8fafc;
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--muted);
  font-size: 12px;
}

.risk-map {
  padding: 16px 18px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 10px;
  min-height: 470px;
  align-content: start;
}

.risk-map.geo-map {
  display: block;
  grid-template-columns: none;
  padding: 0;
  min-height: 590px;
  align-content: normal;
}

.country-node {
  border: 1px solid var(--line);
  background: #f8fafc;
  border-left: 5px solid var(--green);
  min-height: 74px;
  padding: 10px;
  text-align: left;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.country-node:hover,
.country-node.active {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(20, 52, 91, 0.16);
  border-color: #9db2c8;
}

.country-node strong,
.country-node span {
  display: block;
}

.country-node strong {
  font-size: 15px;
  margin-bottom: 5px;
}

.country-node span {
  color: var(--muted);
  font-size: 12px;
}

.risk-high {
  border-left-color: var(--red);
}

.risk-watch {
  border-left-color: var(--amber);
}

.risk-stable {
  border-left-color: var(--green);
}

.country-profile {
  padding: 18px;
}

.score-block {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.score-ring {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  background: var(--green);
}

.profile-list,
.event-list,
.governance-list {
  display: grid;
  gap: 12px;
  padding: 16px 18px 20px;
}

.governance-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0;
}

.profile-list {
  padding: 0;
}

.cbee-v1-transparency {
  display: grid;
  gap: 12px;
  margin: 4px 0 16px;
  padding: 14px;
  border: 1px solid rgba(45, 115, 156, 0.32);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(238, 248, 255, 0.95), rgba(250, 253, 255, 0.96));
}

.cbee-v1-transparency--pending {
  border-style: dashed;
}

.cbee-v1-transparency__head,
.cbee-v1-transparency__facts {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.cbee-v1-transparency h3,
.cbee-v1-transparency p {
  margin: 0;
}

.cbee-v1-transparency__facts {
  justify-content: flex-start;
}

.cbee-v1-transparency__facts span {
  color: var(--muted);
  font-size: 12px;
}

.cbee-v1-transparency__facts span + span::before {
  content: "·";
  margin-right: 10px;
  color: var(--line-strong);
}

.profile-row,
.event-item,
.governance-item {
  border: 1px solid var(--line);
  background: #fbfdff;
  padding: 13px;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.profile-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  color: inherit;
  text-align: left;
  font: inherit;
}

.profile-row span,
.event-meta,
.governance-item p {
  color: var(--muted);
  font-size: 12px;
}

.country-report-link {
  display: grid;
  gap: 5px;
  width: 100%;
  margin-top: 14px;
  border: 1px solid var(--color-border);
  background: linear-gradient(180deg, #ffffff, #f7f9fc);
  color: var(--color-text);
  padding: 14px;
  text-align: left;
  font: inherit;
}

.country-report-link span {
  color: var(--color-brand);
  font-size: 12px;
  font-weight: 700;
}

.country-report-link strong {
  font-size: 16px;
}

.country-report-link p {
  margin: 0;
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.55;
}

.bar {
  height: 8px;
  background: #e7edf4;
  margin-top: 8px;
  overflow: hidden;
}

.bar i {
  display: block;
  height: 100%;
  background: var(--blue);
}

.event-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.event-item h3,
.governance-item h3 {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.38;
}

.event-item p {
  grid-column: 1 / -1;
  margin: 0;
  color: #475569;
  line-height: 1.56;
}

.topic-grid {
  grid-template-columns: minmax(0, 1.55fr) minmax(250px, 0.75fr);
}

.topic-timeline {
  display: grid;
  gap: 0;
}

.topic-timeline__item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line, rgba(26, 45, 68, 0.14));
}

.topic-timeline__item:first-child {
  border-top: 0;
  padding-top: 0;
}

.topic-timeline__item > span {
  color: var(--muted, #6d7c8e);
  font-size: 12px;
  line-height: 1.5;
}

.topic-timeline__item h3 {
  margin: 0;
  font-size: 16px;
}

.topic-timeline__item p {
  margin: 8px 0;
  color: var(--muted, #6d7c8e);
  font-size: 14px;
  line-height: 1.7;
}

.topic-timeline__item a {
  color: var(--navy, #173c70);
  font-size: 13px;
  font-weight: 700;
}

.topic-channel-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.topic-trigger-list {
  margin: 0 0 22px;
  padding-left: 18px;
  color: #52677a;
  font-size: 13px;
  line-height: 1.65;
}

.topic-trigger-list li + li {
  margin-top: 7px;
}

.published-report-list {
  display: grid;
  gap: 10px;
}

.published-report-link {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface-subtle);
  color: inherit;
  text-decoration: none;
}

.published-report-link:hover {
  border-color: #9db2c8;
  box-shadow: var(--shadow-card);
}

.published-report-link span,
.published-report-link em {
  color: var(--color-muted);
  font-size: 12px;
  font-style: normal;
}

.published-report-link strong {
  color: var(--color-brand);
  font-size: 14px;
  line-height: 1.45;
}

@media (max-width: 760px) {
  .topic-grid {
    grid-template-columns: 1fr;
  }

  .topic-timeline__item {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

.event-action {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
}

.event-action b {
  color: var(--ink);
}

.severity {
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 12px;
  color: #fff;
  background: var(--amber);
  align-self: start;
}

.severity.high,
.severity.critical {
  background: var(--red);
}

.severity.medium {
  background: var(--amber);
}

.severity.low {
  background: var(--green);
}

.governance-item {
  border-left: 5px solid var(--amber);
}

.governance-item.hot {
  border-left-color: var(--red);
}

.empty-state {
  color: var(--muted);
  padding: 18px;
}

.modal-shell {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
}

.modal-shell.open {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 23, 38, 0.48);
}

.detail-modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(760px, calc(100vw - 32px));
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(12, 23, 38, 0.28);
}

.modal-close {
  position: sticky;
  top: 12px;
  float: right;
  z-index: 2;
  margin: 12px 12px 0 0;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.modal-body {
  padding: 24px;
}

.modal-body h2 {
  margin-bottom: 10px;
  font-size: 24px;
}

.modal-body h3 {
  margin: 18px 0 8px;
  font-size: 16px;
}

.modal-body p {
  color: #475569;
  line-height: 1.6;
}

.modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 18px;
}

.modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.modal-card {
  border: 1px solid var(--line);
  background: #f8fafc;
  padding: 12px;
}

.modal-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 6px;
}

.modal-card strong {
  font-size: 22px;
}

.country-report-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.country-report-grid .modal-card p {
  margin: 0;
  font-size: 14px;
}

.modal-list {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.modal-list article {
  border: 1px solid var(--line);
  padding: 12px;
  background: #fbfdff;
}

@media (max-width: 980px) {
  .hero-band,
  .overview-grid,
  .content-grid,
  .action-grid,
  .globe-board,
  .view-switcher {
    grid-template-columns: 1fr;
  }

  .globe-stage,
  #riskGlobe {
    min-height: 360px;
  }

  .globe-feed {
    border-left: none;
    border-top: 1px solid rgba(216, 224, 234, 0.18);
  }

  .watchlist {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brief h2 {
    font-size: 24px;
  }

  main {
    padding: 18px;
  }

  .modal-grid {
    grid-template-columns: 1fr;
  }

  .country-report-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .topbar {
    position: static;
    flex-direction: column;
    align-items: flex-start;
  }

  .metric-strip {
    grid-template-columns: 1fr;
  }

  .watchlist {
    grid-template-columns: 1fr;
  }

  .risk-map {
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  }
}

/* Consulting product design layer */
:root {
  --color-bg: #f6f8fb;
  --color-bg-soft: #fbfcfe;
  --color-surface: #ffffff;
  --color-surface-subtle: #f8fafc;
  --color-ink: #111827;
  --color-muted: #667085;
  --color-border: #e3e8f0;
  --color-brand: #1f3f73;
  --color-brand-deep: #12284b;
  --color-accent: #2c5f93;
  --color-signal: #8f4a45;
  --color-risk-low: #3f7d5b;
  --color-risk-watch: #a97022;
  --color-risk-high: #b94a42;
  --color-risk-critical: #762331;
  --color-console-bg: #f8fafc;
  --color-console-surface: #ffffff;
  --color-console-surface-2: #f3f6fa;
  --color-console-border: #dfe5ed;
  --color-console-text: #111827;
  --color-console-muted: #667085;
  --shadow-panel: 0 1px 2px rgba(16, 24, 40, 0.035);
  --shadow-card: 0 1px 1px rgba(16, 24, 40, 0.025);
  --shadow-hover: 0 8px 20px rgba(31, 63, 115, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 248, 251, 0.98) 340px),
    var(--color-bg);
  color: var(--color-ink);
  letter-spacing: 0;
}

.shell {
  background:
    linear-gradient(90deg, rgba(31, 63, 115, 0.024) 1px, transparent 1px),
    linear-gradient(180deg, rgba(31, 63, 115, 0.02) 1px, transparent 1px);
  background-size: 64px 64px;
}

.topbar {
  min-height: 62px;
  padding: 10px 32px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(18px);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 170px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 28px;
  object-fit: contain;
  object-position: center;
  flex: 0 0 auto;
  mix-blend-mode: multiply;
}

.brand-copy {
  display: grid;
  gap: 0;
  min-width: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.site-nav a {
  color: #344054;
  text-decoration: none;
  border-radius: var(--radius-sm);
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 650;
}

.site-nav a:hover {
  background: #f2f5f9;
  color: var(--color-brand);
}

.topbar-actions {
  gap: 7px;
  margin-left: 10px;
  font-size: 12px;
}

.topbar-actions #dataUpdated {
  border-right: 1px solid var(--color-border);
  padding-right: 12px;
}

.primary-action,
.ghost-action,
.topbar button,
.control-row select {
  border-radius: var(--radius-sm);
  min-height: 32px;
}

.primary-action,
.ghost-action {
  border: 1px solid var(--color-border);
  padding: 7px 11px;
  cursor: pointer;
  font-weight: 650;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.primary-action {
  background: var(--color-brand);
  border-color: var(--color-brand);
  color: #fff;
}

.primary-action:hover {
  background: var(--color-brand-deep);
}

.ghost-action {
  background: #fff;
  color: var(--color-brand);
}

.ghost-action:hover {
  background: #f4f7fb;
}

.eyebrow,
.panel-kicker,
.brief-label {
  color: #5f7491;
  font-size: 10px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 680;
}

h1 {
  font-size: 13px;
  font-weight: 720;
  color: var(--color-brand);
}

h2 {
  color: var(--color-ink);
  font-weight: 680;
}

main {
  max-width: 1440px;
  padding: 28px 32px 48px;
}

.module-page main {
  display: grid;
  gap: 18px;
}

.page-hero {
  display: grid;
  gap: 10px;
  padding: 24px 26px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: none;
}

.page-hero h2 {
  max-width: 920px;
  font-size: 26px;
  line-height: 1.24;
  font-weight: 680;
}

.page-hero p {
  max-width: 920px;
  margin-bottom: 0;
  color: var(--color-muted);
  line-height: 1.68;
}

.index-state-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  max-width: 1320px;
  margin: 0 auto var(--space-5);
  padding: var(--space-5) var(--space-6);
  border-left: 3px solid var(--color-accent);
}

.index-state-panel__copy {
  min-width: 0;
}

.index-state-panel__copy h2 {
  margin-bottom: var(--space-2);
}

.index-state-panel__copy p:last-child {
  margin-bottom: 0;
  color: var(--color-muted);
}

.index-state-panel__report {
  display: grid;
  gap: 3px;
  min-width: 228px;
  text-align: left;
  border-radius: var(--radius-sm);
}

.index-state-panel__report span {
  color: var(--color-muted);
  font-size: 12px;
}

.index-state-panel__report strong {
  color: var(--color-brand);
  font-size: 14px;
}

@media (max-width: 720px) {
  .index-state-panel {
    align-items: stretch;
    flex-direction: column;
    gap: var(--space-4);
    padding: var(--space-5);
  }

  .index-state-panel__report {
    min-width: 0;
  }
}

a.view-tab,
a.ui-tab {
  display: grid;
  place-items: center;
  text-decoration: none;
}

.hero-band {
  grid-template-columns: minmax(420px, 1fr) minmax(440px, 0.82fr);
  gap: 0;
  border: 1px solid var(--color-border);
  background: #fff;
  box-shadow: var(--shadow-panel);
  margin-bottom: 14px;
}

.brief {
  min-height: 260px;
  padding: 36px;
  background: #fff;
  color: var(--color-ink);
  border-right: 1px solid var(--color-border);
}

.brief h2 {
  max-width: 780px;
  color: #101828;
  font-size: 36px;
  line-height: 1.16;
  font-weight: 760;
  margin-bottom: 14px;
}

.brief p:last-child,
.brief #globalSubBrief {
  max-width: 720px;
  color: #475467;
  font-size: 15px;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.metric-strip {
  gap: 0;
  border-left: 0;
}

.metric {
  min-height: 130px;
  display: grid;
  align-content: center;
  border: 0;
  border-left: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  box-shadow: none;
  background: #fbfcfe;
}

.metric:nth-child(3),
.metric:nth-child(4) {
  border-bottom: 0;
}

.metric span {
  color: #667085;
}

.metric strong {
  color: #101828;
  font-size: 34px;
  font-weight: 760;
}

.today-brief {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
  padding: 20px;
  border: 1px solid var(--color-border);
  background: #fff;
  box-shadow: var(--shadow-panel);
}

.today-brief__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.today-brief__head h2 {
  margin-top: 4px;
  font-size: 22px;
}

.today-focus {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.today-card {
  width: 100%;
  min-height: 166px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  text-align: left;
  background: #fbfcfe;
}

.today-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #667085;
  font-size: 12px;
}

.today-card strong {
  color: #101828;
  font-size: 15px;
  line-height: 1.48;
}

.today-card p {
  color: #475467;
  font-size: 13px;
  line-height: 1.62;
}

.today-card em {
  margin-top: auto;
  color: #667085;
  font-size: 12px;
  font-style: normal;
}

.intelligence-note,
.method-section,
.about-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(420px, 1fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 16px;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-panel);
}

.intelligence-note h2,
.method-section h2,
.about-section h2,
.contact-section h2 {
  font-size: 19px;
  line-height: 1.42;
}

.intelligence-note p,
.about-section p,
.contact-section p,
.method-card p {
  color: #667085;
  line-height: 1.68;
}

.view-switcher {
  display: flex;
  gap: 0;
  margin: 22px 0 0;
  padding: 4px;
  background: #eef2f7;
  border: 1px solid var(--color-border);
  box-shadow: none;
}

.ui-tab,
.view-tab {
  min-height: 42px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: #475467;
  box-shadow: none;
  font-size: 13px;
  font-weight: 680;
}

.ui-tab:hover,
.view-tab:hover,
.ui-tab.active,
.view-tab.active {
  background: #fff;
  border-color: transparent;
  color: #101828;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08);
}

.ui-tab.active,
.view-tab.active {
  border-bottom: 0;
}

.control-row {
  justify-content: space-between;
  margin: 10px 0 18px;
  padding: 10px 12px;
  border-color: var(--color-border);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-card);
}

.control-row label {
  color: #667085;
}

.control-row select {
  background: #fff;
  border-color: #d0d7e2;
}

.ui-panel,
.panel,
.action-card,
.watch-item,
.event-item,
.governance-item,
.profile-row,
.modal-card,
.modal-list article,
.method-card {
  border-radius: var(--radius-md);
}

.ui-panel,
.panel {
  background: rgba(255, 255, 255, 0.94);
  border-color: var(--color-border);
  box-shadow: var(--shadow-panel);
}

.ui-panel[data-tone="console"],
.workspace-shell .ui-panel,
.workspace-panel {
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--color-border);
  color: var(--color-ink);
  box-shadow: var(--shadow-panel);
}

.ui-panel__header,
.panel-head,
.workspace-panel .panel-head {
  border-bottom-color: var(--color-border);
  padding: 16px 18px 12px;
}

.workspace-panel h2,
.workspace-panel .country-profile {
  color: var(--color-ink);
}

.workspace-panel .status-pill {
  background: #f8fafc;
  border-color: var(--color-border);
  color: #667085;
}

.globe-board {
  min-height: 430px;
  grid-template-columns: minmax(260px, 0.72fr) minmax(390px, 1.28fr) minmax(260px, 0.68fr);
  gap: 0;
  background: rgba(255, 255, 255, 0.94);
  color: var(--color-ink);
  border-color: var(--color-border);
  box-shadow: var(--shadow-panel);
  backdrop-filter: blur(8px);
}

.globe-copy,
.globe-feed {
  padding: 24px;
}

.globe-copy {
  border-right: 1px solid var(--color-border);
}

.globe-copy h2 {
  color: #101828;
  font-size: 24px;
  font-weight: 680;
  letter-spacing: 0;
}

.globe-copy p,
.globe-feed p,
.globe-legend span,
.globe-hotspot {
  color: #667085;
}

.globe-stage {
  background:
    linear-gradient(90deg, rgba(31, 63, 115, 0.03) 1px, transparent 1px),
    linear-gradient(180deg, rgba(31, 63, 115, 0.026) 1px, transparent 1px),
    #f7f9fc;
  background-size: 42px 42px;
  border-right: 1px solid var(--color-border);
}

.globe-fallback {
  color: #667085;
  background: transparent;
}

.globe-feed {
  border-left: 0;
}

.globe-hotspot {
  border-bottom-color: var(--color-border);
  width: 100%;
  border-top: 0;
  border-right: 0;
  border-left: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  padding: 10px 0;
  transition: background 160ms ease, color 160ms ease;
}

.globe-hotspot:hover {
  background: rgba(31, 63, 115, 0.025);
}

.globe-hotspot em {
  color: #667085;
}

.action-grid {
  grid-template-columns: minmax(340px, 1fr) repeat(3, minmax(160px, 0.32fr));
  gap: 10px;
}

.action-card {
  min-height: 110px;
  background: #fff;
  border-color: var(--color-border);
  box-shadow: var(--shadow-card);
}

.action-card.priority {
  background: #fff;
  border-left: 1px solid var(--color-border);
}

.action-card.priority::before {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  margin-bottom: 14px;
  background: var(--color-accent);
}

.action-card strong {
  color: #101828;
}

.clickable-card:hover,
.watch-item:hover,
.event-item:hover,
.governance-item:hover,
.ui-clickable:hover {
  transform: translateY(-1px);
  border-color: #b8c4d3;
  box-shadow: var(--shadow-hover);
}

.geo-map {
  min-height: 560px;
  margin: 16px 18px 20px;
  border-radius: var(--radius-md);
  border-color: var(--color-border);
  background:
    linear-gradient(rgba(31, 63, 115, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 63, 115, 0.028) 1px, transparent 1px),
    #f7f9fc;
  background-size: 42px 42px, 42px 42px, auto;
}

.geo-map::before {
  border-color: rgba(31, 63, 115, 0.1);
}

.world-map-outline__land path {
  fill: rgba(31, 63, 115, 0.105);
  stroke: rgba(31, 63, 115, 0.18);
}

.world-map-outline__lines path {
  stroke: rgba(70, 112, 145, 0.18);
}

.geo-node,
.geo-disabled {
  border-radius: var(--radius-sm);
  border-color: #d5dde8;
  background: rgba(255, 255, 255, 0.94);
  color: #101828;
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.08);
}

.geo-node:hover,
.geo-node.active {
  border-color: #9db0c9;
  box-shadow: 0 0 0 2px rgba(36, 84, 166, 0.16), 0 10px 24px rgba(17, 24, 39, 0.12);
}

.geo-node span,
.geo-disabled span,
.workspace-panel .profile-row span,
.workspace-panel .event-meta,
.workspace-panel .governance-item p {
  color: #667085;
}

.geo-disabled {
  background: rgba(243, 246, 250, 0.86);
}

.geo-node {
  width: 11px;
  min-width: 11px;
  height: 11px;
  padding: 0;
  border: 2px solid #fff;
  border-left-width: 2px;
  border-radius: 999px;
  background: var(--green);
  overflow: visible;
}

.geo-node.risk-high {
  background: var(--red);
  border-left-color: #fff;
}

.geo-node.risk-watch {
  background: var(--amber);
  border-left-color: #fff;
}

.geo-node.risk-stable {
  background: var(--green);
  border-left-color: #fff;
}

.geo-node:hover,
.geo-node.active {
  z-index: 8;
  transform: translate(-50%, -50%) scale(1.28);
  border-color: #fff;
}

.geo-node strong {
  position: absolute;
  left: 18px;
  top: 50%;
  min-width: 82px;
  margin: 0;
  transform: translateY(-50%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.96);
  padding: 5px 7px;
  color: var(--color-text);
  font-size: 11px;
  line-height: 1.1;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 8px 18px rgba(31, 63, 115, 0.1);
  transition: opacity 0.12s ease;
}

.geo-node span {
  display: none;
}

.geo-node:hover strong,
.geo-node.active strong {
  opacity: 1;
}

.geo-disabled {
  min-width: 94px;
  padding: 7px 8px;
  opacity: 0.72;
}

.map-note {
  color: #667085;
}

.score-ring {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  box-shadow: none;
  font-weight: 760;
}

.workspace-panel .score-ring {
  box-shadow: none;
}

.workspace-panel .profile-row,
.workspace-panel .event-item,
.workspace-panel .governance-item,
.profile-row,
.event-item,
.governance-item,
.watch-item {
  background: #fbfcfe;
  border-color: var(--color-border);
  color: var(--color-ink);
}

.workspace-panel .bar,
.bar,
.risk-bar {
  height: 7px;
  border-radius: var(--radius-pill);
  background: #e9eef5;
}

.watchlist {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.event-list {
  gap: 10px;
}

.event-item {
  grid-template-columns: minmax(0, 1fr) auto;
}

.event-item p {
  color: #475467;
}

.event-action {
  border-top: 1px solid var(--color-border);
  padding-top: 10px;
}

.severity,
.ui-badge {
  border-radius: var(--radius-pill);
  border-color: var(--color-border);
  background: #f8fafc;
  color: #475467;
}

.severity.high,
.severity.critical,
.ui-badge[data-tone="high"] {
  background: #fff4f2;
  color: var(--color-risk-high);
  border-color: rgba(176, 58, 50, 0.28);
}

.severity.medium,
.ui-badge[data-tone="watch"] {
  background: #fff7e8;
  color: var(--color-risk-watch);
  border-color: rgba(166, 111, 32, 0.28);
}

.severity.low,
.ui-badge[data-tone="stable"] {
  background: #eef8f3;
  color: var(--color-risk-low);
  border-color: rgba(47, 128, 98, 0.28);
}

.method-section,
.about-section,
.contact-section {
  margin-top: 18px;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.method-card {
  padding: 16px;
  background: #fff;
  border: 1px solid var(--color-border);
}

.method-card span {
  display: block;
  margin-bottom: 18px;
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 720;
}

.method-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
}

.method-card p {
  margin: 0;
  font-size: 13px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.detail-modal {
  border-radius: var(--radius-md);
  box-shadow: 0 28px 80px rgba(17, 24, 39, 0.22);
}

.modal-backdrop {
  background: rgba(17, 24, 39, 0.42);
  backdrop-filter: blur(3px);
}

.modal-body {
  padding: 28px;
}

.modal-body h2 {
  color: #101828;
  font-size: 25px;
  line-height: 1.28;
}

.modal-list article,
.modal-card {
  border-radius: var(--radius-md);
  background: #fbfcfe;
}

.globe-board.first-screen {
  min-height: min(680px, calc(100vh - 110px));
  margin-bottom: 14px;
  grid-template-columns: minmax(260px, 0.62fr) minmax(460px, 1.48fr) minmax(280px, 0.68fr);
}

.first-screen .globe-copy {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.first-screen .globe-copy h2 {
  font-size: 30px;
  line-height: 1.18;
}

.first-screen .globe-stage,
.first-screen #riskGlobe {
  min-height: min(680px, calc(100vh - 110px));
}

.first-screen .globe-feed {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-band {
  grid-template-columns: minmax(380px, 0.8fr) minmax(520px, 1fr);
}

.brief {
  min-height: 190px;
}

.brief h2 {
  font-size: 28px;
}

.report-link {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  min-height: 36px;
  border: 1px solid var(--color-brand);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  background: var(--color-brand);
  color: #fff;
  text-decoration: none;
  font-weight: 650;
}

.report-link--button {
  cursor: pointer;
  font: inherit;
}

.report-main {
  max-width: 1180px;
}

.report-shell {
  display: grid;
  gap: 14px;
}

.report-hero,
.report-section,
.report-side {
  padding: 22px;
}

.report-hero {
  position: relative;
  overflow: hidden;
}

.report-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.report-brand img {
  width: 58px;
  height: 46px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.report-brand span {
  display: grid;
  gap: 2px;
  color: var(--color-muted);
  font-size: 12px;
}

.report-brand strong {
  color: var(--color-brand);
  font-size: 14px;
}

.report-brand em {
  font-style: normal;
}

.report-hero h2 {
  max-width: 920px;
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 14px;
}

.report-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.36fr);
  gap: 14px;
}

.report-section {
  min-height: 160px;
}

.report-section p:last-child {
  color: #475467;
  line-height: 1.75;
  font-size: 15px;
}

.report-dossier-list {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding-left: 20px;
  color: #475467;
  line-height: 1.7;
}

.report-pending,
.topic-current-state {
  margin: 14px 0;
  padding: 14px;
  border-left: 3px solid var(--color-accent);
  background: #faf7ef;
}

.report-pending .report-dossier-list,
.topic-current-state .report-dossier-list { margin-top: 7px; }
.topic-current-state p { margin: 7px 0 0; }
.topic-current-state b { display: block; margin-top: 12px; color: var(--color-ink); font-size: 13px; }

.report-dossier-views,
.report-action-plan { display: grid; gap: 10px; margin-top: 12px; }
.report-dossier-views article,
.report-action-plan article { padding: 12px 14px; border: 1px solid var(--color-border); border-radius: 6px; background: #fbfcfd; }
.report-dossier-views strong,
.report-action-plan strong { color: var(--color-ink); font-size: 14px; }
.report-dossier-views p { margin: 6px 0 0; }
.report-dossier-views small { display: block; margin-top: 7px; color: var(--color-muted); font-size: 12px; }
.report-action-plan article { border-left: 3px solid #6f8ba4; }
.report-action-plan .report-dossier-list { margin-top: 6px; }

.report-side {
  grid-row: span 3;
}

.report-side dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.report-side dt {
  color: var(--color-muted);
  font-size: 12px;
}

.report-side dd {
  margin: 0 0 6px;
  color: var(--color-ink);
  line-height: 1.5;
}

.report-side a {
  color: var(--color-accent);
}

.report-loading {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-muted);
}

@media (max-width: 1080px) {
  .topbar {
    flex-wrap: wrap;
  }

  .site-nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    overflow-x: auto;
  }

  .hero-band,
  .intelligence-note,
  .method-section,
  .about-section,
  .contact-section,
  .globe-board,
  .action-grid,
  .today-focus {
    grid-template-columns: 1fr;
  }

  .brief {
    border-right: 0;
    border-bottom: 1px solid var(--color-border);
  }

  .metric {
    border-left: 0;
  }

  .globe-copy,
  .globe-stage {
    border-right: 0;
    border-bottom: 1px solid var(--color-border);
  }

  .method-grid {
    grid-template-columns: 1fr;
  }

  .globe-board.first-screen,
  .first-screen .globe-stage,
  .first-screen #riskGlobe {
    min-height: 420px;
  }

  .report-grid {
    grid-template-columns: 1fr;
  }

  .report-side {
    grid-row: auto;
  }
}

@media (max-width: 720px) {
  main {
    padding: 18px 14px 34px;
  }

  .topbar {
    padding: 14px;
  }

  .topbar-actions {
    width: 100%;
    flex-wrap: wrap;
    margin-left: 0;
  }

  .topbar-actions #dataUpdated {
    width: 100%;
    border-right: 0;
    padding-right: 0;
  }

  .brief {
    padding: 24px;
  }

  .brief h2 {
    font-size: 28px;
  }

  .hero-actions,
  .contact-actions {
    justify-content: flex-start;
  }

  .view-switcher {
    overflow-x: auto;
  }

  .view-tab {
    min-width: 128px;
  }

  .control-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .control-row label {
    justify-content: space-between;
  }

  .metric-strip,
  .watchlist {
    grid-template-columns: 1fr;
  }
}

/* Executive polish layer: keep structure stable, refine the final visual surface. */
.topbar {
  box-shadow: 0 1px 0 rgba(31, 63, 115, 0.03);
}

.brand-lockup {
  min-width: 150px;
}

.brand-mark {
  width: 32px;
  height: 26px;
}

.brand-copy .eyebrow {
  margin-bottom: 0;
  color: #6d7f97;
  font-size: 10px;
}

.brand-copy h1 {
  color: var(--color-brand);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.1;
}

.primary-action,
.ghost-action,
.report-link {
  border-radius: 5px;
  font-size: 12px;
  box-shadow: none;
}

.primary-action,
.report-link {
  background: #193762;
  border-color: #193762;
}

.ghost-action {
  background: rgba(255, 255, 255, 0.62);
}

.page-hero,
.ui-panel,
.workspace-panel,
.globe-board,
.report-hero,
.report-section,
.report-side {
  border-color: rgba(31, 63, 115, 0.13);
}

.page-hero,
.report-hero {
  box-shadow: none;
}

.page-hero h2,
.globe-copy h2,
.report-hero h2 {
  letter-spacing: 0;
}

.globe-board.first-screen {
  min-height: min(650px, calc(100vh - 96px));
}

.first-screen .globe-stage,
.first-screen #riskGlobe {
  min-height: min(650px, calc(100vh - 96px));
}

.first-screen .globe-copy h2 {
  font-size: 29px;
  font-weight: 680;
}

.globe-legend span {
  font-size: 12px;
}

.globe-hotspot b {
  color: #475467;
  font-weight: 680;
}

.homepage-governance {
  margin: 0 0 14px;
  padding: 20px 22px 22px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-panel);
}

.homepage-governance__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.homepage-governance__head h2 {
  color: var(--color-ink);
  font-size: 20px;
}

.homepage-governance__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.homepage-governance__item {
  min-height: 132px;
  color: var(--color-ink);
  text-decoration: none;
}

.homepage-governance__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 680;
}

.homepage-governance__item strong {
  display: block;
  min-height: 38px;
  font-size: 14px;
  line-height: 1.45;
}

.homepage-governance__item p {
  margin: 8px 0 0;
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.5;
}

.event-topics-panel {
  margin-bottom: 14px;
}

.event-topics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 16px 18px 18px;
}

.event-topic-card {
  display: block;
  min-height: 164px;
  color: var(--color-ink);
  text-decoration: none;
}

.event-topic-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  color: var(--color-muted);
  font-size: 12px;
}

.event-topic-card h3 {
  margin: 16px 0 8px;
  font-size: 16px;
  line-height: 1.4;
}

.event-topic-card p {
  min-height: 38px;
  margin: 0;
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.5;
}

.event-topic-card em {
  display: block;
  margin-top: 14px;
  color: var(--color-muted);
  font-size: 12px;
  font-style: normal;
}

.event-evidence {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 0;
  color: var(--color-muted);
  font-size: 12px;
}

.event-evidence b {
  color: var(--color-ink);
  font-weight: 680;
}

.topic-timeline__item small {
  display: block;
  margin-top: 7px;
  color: var(--color-muted);
  font-size: 12px;
}

.governance-item.focused {
  border-color: var(--color-accent);
  box-shadow: inset 3px 0 0 var(--color-accent);
}

.workspace-panel .score-ring,
.score-ring {
  width: 78px;
  height: 78px;
  font-size: 24px;
  font-weight: 720;
}

.score-block {
  gap: 14px;
  margin-bottom: 16px;
}

.profile-row,
.event-item,
.governance-item,
.watch-item {
  border-radius: 6px;
  padding: 12px;
  box-shadow: none;
}

.profile-row strong,
.event-item h3,
.governance-item h3 {
  font-weight: 680;
}

.workspace-panel .bar,
.bar,
.risk-bar {
  height: 5px;
  background: #edf1f6;
}

.country-report-link {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  align-items: center;
  margin-top: 12px;
  padding: 12px;
  border-radius: 6px;
  background: #fff;
  box-shadow: none;
}

.country-report-link span {
  grid-column: 1 / -1;
  color: #6d7f97;
  font-size: 11px;
}

.country-report-link strong {
  font-size: 14px;
  font-weight: 680;
}

.country-report-link p {
  grid-column: 1 / -1;
  font-size: 12px;
}

.geo-disabled {
  font-size: 11px;
  opacity: 0.58;
}

.map-note {
  font-size: 12px;
}

.report-main {
  max-width: 1120px;
}

.report-hero {
  padding: 26px 28px;
}

.report-brand {
  margin-bottom: 18px;
}

.report-brand img {
  width: 46px;
  height: 36px;
}

.report-hero h2 {
  font-size: 30px;
  font-weight: 680;
}

.report-hero > p:last-child {
  max-width: 920px;
  color: #475467;
  line-height: 1.72;
}

.report-section,
.report-side {
  padding: 20px 22px;
  box-shadow: none;
}

.report-section {
  min-height: 142px;
}

.report-section p:last-child {
  font-size: 14px;
}

.report-side .modal-grid {
  gap: 10px;
}

.report-side .modal-card {
  padding: 12px;
  box-shadow: none;
}

.report-side .modal-card strong {
  font-size: 20px;
  font-weight: 700;
}

@media (max-width: 980px) {
  .topbar {
    align-items: flex-start;
  }

  .brand-lockup {
    min-width: 138px;
  }
}

@media (max-width: 720px) {
  .topbar {
    gap: 12px;
    padding: 12px 14px;
  }

  .brand-mark {
    width: 30px;
    height: 24px;
  }

  .brand-lockup {
    width: auto;
  }

  .site-nav {
    width: 100%;
    order: 3;
    justify-content: space-between;
  }

  .site-nav a {
    padding: 6px 5px;
    font-size: 12px;
  }

  .topbar-actions {
    width: auto;
    order: 2;
  }

  .topbar-actions #dataUpdated {
    width: auto;
    font-size: 11px;
  }

  .first-screen .globe-copy h2 {
    font-size: 28px;
  }
}

@media (max-width: 1080px) {
  .globe-board.first-screen {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .first-screen .globe-copy,
  .first-screen .globe-stage {
    border-right: 0;
    border-bottom: 1px solid var(--color-border);
  }

  .first-screen .globe-stage,
  .first-screen #riskGlobe {
    min-height: 360px;
  }

  .first-screen .globe-feed {
    min-height: 136px;
  }
}

@media (max-width: 720px) {
  .homepage-governance {
    padding: 18px 16px;
  }

  .homepage-governance__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .homepage-governance__grid {
    grid-template-columns: 1fr;
  }

  .event-topics-grid {
    grid-template-columns: 1fr;
    padding: 14px;
  }
}
