/* Industry Atlas / Knowledge Graph Visual Polish v2
   Loaded after /database/explorer.css on /database/ only.
   Preserves HydropureWater brand tokens (#142D6D, #3182CE, #0693E3, #d42427). */

.gx-wrap {
  max-width: 1340px;
  padding: 36px clamp(20px, 4.5vw, 56px) 64px;
}

/* ── Hero Header ── */
.gx-heading {
  position: relative;
  padding-bottom: 4px;
}
.gx-heading::before {
  content: "INTERACTIVE INDUSTRY ATLAS · SOURCE-LINKED GRAPH";
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1D4ED8;
  background: linear-gradient(90deg, #EBF5FF 0%, #F0F7FF 100%);
  border: 1px solid #C8DFF6;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.gx-heading h1 {
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 800;
  letter-spacing: -0.032em;
  line-height: 1.1;
  color: #0F2357;
  margin: 0 0 12px;
}
.gx-heading p {
  color: #4A637D;
  font-size: 16px;
  line-height: 1.65;
  max-width: 70ch;
}

/* ── Journey Pills ── */
.gx-journeys {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin: 22px 0 20px;
}
.gx-journeys a,
.gx-journeys button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  padding: 9px 15px;
  min-height: 40px;
  border-radius: 999px;
  border: 1px solid #D3E1EF;
  background: #FFFFFF;
  color: #142D6D;
  box-shadow: 0 1px 2px rgba(15, 35, 87, 0.04);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}
.gx-journeys a:hover,
.gx-journeys button:hover {
  border-color: #3182CE;
  background: #F4F9FF;
  color: #0F2357;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(20, 45, 109, 0.1);
}
.gx-journeys button[data-explore] {
  background: linear-gradient(135deg, #142D6D 0%, #1E4499 100%);
  color: #FFFFFF;
  border-color: #142D6D;
  box-shadow: 0 3px 10px rgba(20, 45, 109, 0.22);
}
.gx-journeys button[data-explore]::after {
  content: "→";
  font-size: 13px;
  opacity: 0.9;
}
.gx-journeys button[data-explore]:hover {
  background: linear-gradient(135deg, #0F2357 0%, #193A85 100%);
  color: #FFFFFF;
  border-color: #0F2357;
  box-shadow: 0 6px 16px rgba(20, 45, 109, 0.28);
}

/* ── Control Toolbar ── */
.gx-bar {
  position: relative;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 12px;
  margin-bottom: 12px;
  background: #FFFFFF;
  border: 1px solid #D5E2F0;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(20, 45, 109, 0.05);
}
body.graph-dark .gx-bar {
  background: #0F1D3D;
  border-color: #243C72;
  box-shadow: 0 4px 18px rgba(4, 10, 26, 0.35);
}
.gx-bar input[type="search"] {
  flex: 1 1 260px;
  max-width: 390px;
  min-height: 40px;
  padding: 8px 14px 8px 36px;
  border: 1px solid #CFDDE9;
  border-radius: 10px;
  font-size: 13.5px;
  background: #F8FBFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235B7394' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") no-repeat 12px center;
  color: #142D6D;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}
.gx-bar input[type="search"]:focus {
  outline: none;
  border-color: #0693E3;
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(6, 147, 227, 0.16);
}
body.graph-dark .gx-bar input[type="search"] {
  background-color: #0A1530;
  border-color: #2A437A;
  color: #EBF3FF;
}
body.graph-dark .gx-bar input[type="search"]::placeholder {
  color: #7D95BC;
}

.gx-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 7px 13px;
  border: 1px solid #CFDDE9;
  background: #FFFFFF;
  color: #142D6D;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.gx-toggle:hover {
  background: #F1F7FE;
  border-color: #3182CE;
}
.gx-zoom {
  font-size: 18px;
  font-weight: 600;
  min-width: 40px;
  padding: 4px 10px;
}
body.graph-dark .gx-toggle {
  background: #14254E;
  color: #DCE8FA;
  border-color: #2B457E;
}
body.graph-dark .gx-toggle:hover {
  background: #1B3166;
  border-color: #4EA8F5;
  color: #FFFFFF;
}

/* ── Anchored Search Dropdown ── */
.gx-search-drop {
  position: absolute;
  z-index: 50;
  background: #FFFFFF;
  border: 1px solid #CBDCEB;
  border-radius: 12px;
  box-shadow: 0 14px 36px rgba(15, 35, 87, 0.18);
  max-height: 320px;
  overflow: auto;
  width: 380px;
  max-width: calc(100vw - 40px);
  padding: 4px;
}
body.graph-dark .gx-search-drop {
  background: #102046;
  border-color: #2B457E;
  box-shadow: 0 16px 40px rgba(2, 7, 20, 0.55);
}
.gx-search-drop button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 42px;
  text-align: left;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #142D6D;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.gx-search-drop button:hover,
.gx-search-drop button.gx-drop-active {
  background: #EDF5FE;
}
.gx-search-drop button .gx-drop-label {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gx-search-drop button .gx-drop-type {
  flex: 0 0 auto;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 2px 8px;
  border-radius: 999px;
  background: #EEF4FA;
  color: #3B5578;
}
body.graph-dark .gx-search-drop button {
  color: #EBF3FF;
}
body.graph-dark .gx-search-drop button:hover,
body.graph-dark .gx-search-drop button.gx-drop-active {
  background: #1A3163;
}
body.graph-dark .gx-search-drop button .gx-drop-type {
  background: #1B3266;
  color: #A8C5EC;
}

/* ── Filter & Legend Strip inside Canvas ── */
.gx-stage-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding: 10px 14px;
  border-bottom: 1px solid #E3ECF5;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
}
body.graph-dark .gx-stage-head {
  background: rgba(12, 23, 52, 0.9);
  border-bottom-color: #1E3466;
}
.gx-filters {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.gx-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  min-height: 32px;
  border-radius: 999px;
  border: 1px solid #D4E1EE;
  background: #F6FAFE;
  color: #365072;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.gx-filter-chip:hover {
  border-color: #3182CE;
  color: #142D6D;
  background: #EBF4FF;
}
.gx-filter-chip[aria-pressed="true"] {
  background: #142D6D;
  color: #FFFFFF;
  border-color: #142D6D;
  box-shadow: 0 2px 6px rgba(20, 45, 109, 0.2);
}
body.graph-dark .gx-filter-chip {
  background: #13244B;
  border-color: #274077;
  color: #B6CCE9;
}
body.graph-dark .gx-filter-chip:hover {
  border-color: #54B3FF;
  color: #FFFFFF;
}
body.graph-dark .gx-filter-chip[aria-pressed="true"] {
  background: #0693E3;
  border-color: #38B6FF;
  color: #FFFFFF;
}

.gx-legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-size: 11.5px;
  color: #4E6784;
}
body.graph-dark .gx-legend {
  color: #9EB6D9;
}
.gx-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.gx-legend-line {
  width: 20px;
  height: 0;
  border-top: 2px solid #3182CE;
  display: inline-block;
}
.gx-legend-line.dashed {
  border-top-style: dashed;
  border-top-color: #6366F1;
}
.gx-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.gx-legend-dot.case { background: #059669; }
.gx-legend-dot.std { background: #D97706; }
.gx-legend-dot.res { background: #4F46E5; }
.gx-legend-dot.news { background: #0284C7; }

/* ── Main Canvas Frame ── */
.gx-canvas {
  background-color: #F9FCFF;
  background-image: radial-gradient(#D8E4F0 1px, transparent 1px);
  background-size: 18px 18px;
  border: 1px solid #CADAE9;
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 8px 30px rgba(20, 45, 109, 0.07);
  overflow: hidden;
}
body.graph-dark .gx-canvas {
  background-color: #081229;
  background-image: radial-gradient(#1A2F5E 1px, transparent 1px);
  background-size: 18px 18px;
  border-color: #21376B;
  box-shadow: 0 12px 36px rgba(2, 6, 18, 0.45);
}
.gx-canvas-scroll {
  overflow-x: auto;
  padding: 12px 10px 6px;
  scrollbar-color: #93B2CF #ECF3FA;
  scrollbar-width: thin;
}
body.graph-dark .gx-canvas-scroll {
  scrollbar-color: #2D4A85 #0D1B3B;
}
.gx-hint {
  padding: 10px 16px 12px;
  border-top: 1px solid #E3ECF5;
  background: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  color: #536C87;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
body.graph-dark .gx-hint {
  background: rgba(12, 23, 52, 0.9);
  border-top-color: #1E3466;
  color: #9AB3D6;
}

/* ── SVG Swimlanes & Typography ── */
#gxSvg {
  display: block;
  width: 100%;
  min-width: 1080px;
  height: auto;
}
.gx-lane {
  fill: rgba(255, 255, 255, 0.72);
  stroke: #DFEAFA;
  stroke-width: 1;
}
.gx-lane-head-bg {
  fill: #EEF5FC;
}
.gx-col-head {
  font-size: 12.5px;
  fill: #10265C;
  font-weight: 750;
  letter-spacing: -0.01em;
}
.gx-lane-count {
  font-size: 10.5px;
  fill: #5B7391;
  font-weight: 600;
}
body.graph-dark .gx-lane {
  fill: rgba(16, 30, 64, 0.72);
  stroke: #1D3365;
}
body.graph-dark .gx-lane-head-bg {
  fill: #132550;
}
body.graph-dark .gx-col-head {
  fill: #E6F0FF;
}
body.graph-dark .gx-lane-count {
  fill: #8EA8CE;
}

/* ── SVG Edges ── */
.gx-edge {
  fill: none;
  stroke: #6495C9;
  stroke-opacity: 0.25;
  stroke-width: 1.35;
  stroke-linecap: round;
  pointer-events: none;
  transition: stroke-opacity 0.2s ease, stroke-width 0.2s ease, stroke 0.2s ease;
}
.gx-edge-research {
  stroke: #6366F1;
  stroke-dasharray: 5 4;
  stroke-opacity: 0.3;
}
.gx-edge-pend {
  stroke: #0284C7;
  stroke-dasharray: 3 4;
  stroke-opacity: 0.26;
}
.gx-edge-dim {
  stroke-opacity: 0.045;
}
.gx-edge-active {
  stroke: #0693E3 !important;
  stroke-opacity: 0.96 !important;
  stroke-width: 2.6 !important;
}
.gx-edge-active.gx-edge-research {
  stroke: #4F46E5 !important;
}
body.graph-dark .gx-edge {
  stroke: #60A5FA;
  stroke-opacity: 0.24;
}
body.graph-dark .gx-edge-research {
  stroke: #818CF8;
  stroke-opacity: 0.34;
}
body.graph-dark .gx-edge-pend {
  stroke: #38BDF8;
  stroke-opacity: 0.28;
}
body.graph-dark .gx-edge-dim {
  stroke-opacity: 0.05;
}
body.graph-dark .gx-edge-active {
  stroke: #38BDF8 !important;
  stroke-opacity: 1 !important;
}
body.graph-dark .gx-edge-active.gx-edge-research {
  stroke: #A5B4FC !important;
}

/* Remove ugly browser rectangular focus outline on SVG nodes/edges */
#gxSvg .gx-svg-node:focus,
#gxSvg .gx-edge-hit:focus {
  outline: none;
}
#gxSvg .gx-svg-node:focus-visible .gx-node-box {
  stroke: #0693E3;
  stroke-width: 2.8;
}

/* ── SVG Nodes ── */
.gx-svg-node {
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.gx-node-dim {
  opacity: 0.22;
}
.gx-node-box {
  fill: #FFFFFF;
  stroke: #C4D6E8;
  stroke-width: 1.2;
  transition: stroke 0.16s ease, stroke-width 0.16s ease, fill 0.16s ease;
}
.gx-svg-node:hover .gx-node-box,
.gx-svg-node.gx-sel .gx-node-box {
  stroke: #0693E3;
  stroke-width: 2.3;
}
.gx-svg-node.gx-sel .gx-node-ring {
  opacity: 1;
}
.gx-node-ring {
  fill: none;
  stroke: rgba(6, 147, 227, 0.26);
  stroke-width: 5;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}
body.graph-dark .gx-node-box {
  fill: #13244A;
  stroke: #2E4B86;
}
body.graph-dark .gx-svg-node:hover .gx-node-box,
body.graph-dark .gx-svg-node.gx-sel .gx-node-box {
  stroke: #5AC8FA;
  stroke-width: 2.3;
}
body.graph-dark .gx-node-ring {
  stroke: rgba(90, 200, 250, 0.25);
}

/* Node text */
.gx-node-label {
  font-size: 12.2px;
  fill: #142D6D;
  font-weight: 650;
  font-family: inherit;
  pointer-events: none;
}
body.graph-dark .gx-node-label {
  fill: #E6F0FF;
}
.gx-node-ref {
  font-size: 12.5px;
  fill: #0F2357;
  font-weight: 750;
  pointer-events: none;
}
.gx-node-sub {
  font-size: 10.5px;
  fill: #546D8A;
  font-weight: 500;
  pointer-events: none;
}
body.graph-dark .gx-node-ref {
  fill: #F0F6FF;
}
body.graph-dark .gx-node-sub {
  fill: #9DB5D8;
}

/* Type-specific semantic styling */
.type-industry .gx-node-box {
  fill: url(#gxGradIndustry);
  stroke: #142D6D;
  stroke-width: 1.2;
}
.type-industry:hover .gx-node-box,
.type-industry.gx-sel .gx-node-box {
  stroke: #38BDF8;
  stroke-width: 2.4;
}
.type-industry .gx-node-label {
  fill: #FFFFFF;
  font-weight: 700;
}
body.graph-dark .type-industry .gx-node-box {
  fill: url(#gxGradIndustryDark);
  stroke: #3B82F6;
}
body.graph-dark .type-industry .gx-node-label {
  fill: #FFFFFF;
}

.gx-country-disc {
  fill: #E7F1FC;
  stroke: #C2DAF4;
  stroke-width: 1;
}
.gx-country-code {
  fill: #142D6D;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
  pointer-events: none;
}
body.graph-dark .gx-country-disc {
  fill: #1C366B;
  stroke: #375DA8;
}
body.graph-dark .gx-country-code {
  fill: #DCEBFF;
}

.type-region .gx-node-box {
  fill: #F7FAFE;
  stroke: #9CB8D4;
  stroke-dasharray: 4 3;
}
body.graph-dark .type-region .gx-node-box {
  fill: #0F1E40;
  stroke: #3A578F;
}

.type-pollutant .gx-node-box {
  fill: #F0F9FF;
  stroke: #7DD3FC;
}
body.graph-dark .type-pollutant .gx-node-box {
  fill: #0F2B46;
  stroke: #0284C7;
}

.type-process .gx-node-box {
  fill: #FFFFFF;
  stroke: #A7D4F5;
}
body.graph-dark .type-process .gx-node-box {
  fill: #13264D;
  stroke: #2D6CB2;
}

.type-technology .gx-node-box {
  fill: #F8FAFF;
  stroke: #93B4E8;
}
body.graph-dark .type-technology .gx-node-box {
  fill: #142654;
  stroke: #3B6FD4;
}

.type-case .gx-node-box {
  fill: #FFFFFF;
  stroke: #A7DFC6;
}
body.graph-dark .type-case .gx-node-box {
  fill: #112A3E;
  stroke: #1F7A5C;
}

.type-regulation .gx-node-box {
  fill: #FFFDF7;
  stroke: #E8C988;
  stroke-dasharray: 4 3;
}
body.graph-dark .type-regulation .gx-node-box {
  fill: #242138;
  stroke: #B48332;
}

.type-research .gx-node-box {
  fill: #FAF9FF;
  stroke: #C4C2F7;
}
body.graph-dark .type-research .gx-node-box {
  fill: #1B2050;
  stroke: #6366F1;
}

.type-news .gx-node-box,
.type-news_report .gx-node-box {
  fill: #F5FAFF;
  stroke: #9ECAEF;
  stroke-dasharray: 3 3;
}
body.graph-dark .type-news .gx-node-box,
body.graph-dark .type-news_report .gx-node-box {
  fill: #102447;
  stroke: #2B6CB0;
}

.gx-pill-bg { pointer-events: none; }
.gx-pill-txt {
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  pointer-events: none;
}

/* ── Caption Footer Bar ── */
.gx-caption {
  display: flex;
  gap: 8px 20px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  color: #4D6682;
  font-size: 12.5px;
  margin-top: 12px;
  padding: 2px 4px;
}
#gxSelection {
  font-weight: 600;
  color: #142D6D;
}
body.graph-dark .gx-caption {
  color: #9BB3D4;
}
body.graph-dark #gxSelection {
  color: #DCEBFF;
}

/* ── Elevated Preview Drawer (Light + Dark 100% Fixed) ── */
.gx-preview {
  position: fixed;
  top: 116px;
  right: 58px;
  width: 410px;
  max-width: calc(100vw - 80px);
  max-height: calc(100vh - 138px);
  background: #FFFFFF;
  color: #182E4C;
  border: 1px solid #C8DAEC;
  border-top: 4px solid #142D6D;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(10, 24, 58, 0.22), 0 2px 8px rgba(10, 24, 58, 0.08);
  z-index: 65;
  padding: 22px 22px 24px;
}
.gx-preview p {
  color: #2C435F;
  line-height: 1.6;
}
.gx-preview .gx-type-badge {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  background: #EBF4FF;
  color: #142D6D;
  margin-bottom: 8px;
}
.gx-preview h3 {
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: #0F2357;
  margin: 0 34px 6px 0;
}
.gx-close {
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F1F6FB;
  color: #365072;
  font-size: 20px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.gx-close:hover {
  background: #E1EDF9;
  color: #0F2357;
}
.gx-rel {
  border-radius: 10px;
  background: #F5F9FE;
  border: 1px solid #D6E4F2;
  padding: 11px 13px;
  transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}
.gx-rel:hover {
  background: #EBF4FF;
  border-color: #0693E3;
  transform: translateX(2px);
}
.gx-btn {
  border-radius: 9px;
  transition: filter 0.15s ease, transform 0.15s ease, background-color 0.15s ease;
}
.gx-btn:hover {
  filter: brightness(0.96);
  transform: translateY(-1px);
}

/* Dark Canvas Preview Overrides (High Contrast WCAG AA+) */
body.graph-dark .gx-preview {
  background: #0E1B3B;
  border-color: #28427D;
  border-top-color: #38BDF8;
  color: #E6F0FF;
  box-shadow: 0 24px 60px rgba(2, 6, 18, 0.65);
}
body.graph-dark .gx-preview h3 {
  color: #F4F8FF;
}
body.graph-dark .gx-preview p,
body.graph-dark .gx-preview td,
body.graph-dark .gx-preview b,
body.graph-dark .gx-preview strong {
  color: #E2EDFF;
}
body.graph-dark .gx-preview .sub,
body.graph-dark .gx-preview .gx-h,
body.graph-dark .gx-preview .gx-ev blockquote {
  color: #B4C8E6;
}
body.graph-dark .gx-preview .gx-type-badge {
  background: #1B3368;
  color: #8DD4FF;
}
body.graph-dark .gx-close {
  background: #172B59;
  color: #CFE0FA;
}
body.graph-dark .gx-close:hover {
  background: #233E7A;
  color: #FFFFFF;
}
body.graph-dark .gx-rel {
  background: #152854;
  border-color: #2B4682;
  color: #E8F2FF;
}
body.graph-dark .gx-rel:hover {
  background: #1C356C;
  border-color: #54B3FF;
}
body.graph-dark .gx-btn.g {
  background: #172B58;
  color: #E4F0FF;
  border-color: #2E4B8A;
}
body.graph-dark .gx-btn.g:hover {
  background: #203970;
}
body.graph-dark .gx-ev {
  background: #132349;
  border-color: #274077;
  color: #DCE9FC;
}
body.graph-dark .gx-ev blockquote {
  border-left-color: #3A5BA0;
}
body.graph-dark .gx-more,
body.graph-dark .gx-separate,
body.graph-dark .gx-fact-details {
  border-color: #253D73;
}

/* ── Mobile Responsive Polish ── */
@media (max-width: 700px) {
  .gx-wrap {
    padding: 22px 14px 44px;
  }
  .gx-heading::before {
    font-size: 10px;
    padding: 4px 10px;
  }
  .gx-journeys {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    margin: 16px -14px 14px;
    padding-inline: 14px;
  }
  .gx-journeys::-webkit-scrollbar {
    display: none;
  }
  .gx-journeys a,
  .gx-journeys button {
    flex: 0 0 auto;
    white-space: nowrap;
    min-height: 38px;
    padding: 8px 13px;
    font-size: 12.5px;
  }
  .gx-bar {
    padding: 10px;
    gap: 6px;
    border-radius: 12px;
  }
  .gx-stage-head {
    padding: 8px 10px;
  }
  .gx-legend {
    font-size: 11px;
    gap: 6px 10px;
  }
  .gx-preview {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    max-height: 62dvh;
    border-radius: 18px 18px 0 0;
    padding: 20px 16px max(20px, env(safe-area-inset-bottom));
  }
  .gx-preview::before {
    content: "";
    display: block;
    width: 38px;
    height: 4px;
    border-radius: 999px;
    background: #CBD9E8;
    margin: -8px auto 14px;
  }
  body.graph-dark .gx-preview::before {
    background: #334F8C;
  }
}

/* ══════════════════════════════════════════════════════════════════
   ATLAS V3 — Hero KPIs, 6-Industry Strip, Interactive World Map,
   Docked Country Deep-Dive Inspector & Contextual Buyer CTA
   ══════════════════════════════════════════════════════════════════ */

.gxa-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 4px 0 22px;
}
.gxa-kpi-card {
  background: #FFFFFF;
  border: 1px solid #D5E3F2;
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 2px 8px rgba(15, 35, 87, 0.04);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.gxa-kpi-lbl {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #56708E;
}
.gxa-kpi-val {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0F2357;
  font-variant-numeric: tabular-nums;
  line-height: 1.18;
}
.gxa-kpi-sub {
  font-size: 11.5px;
  color: #627B98;
}
body.graph-dark .gxa-kpi-card {
  background: #0F1D3D;
  border-color: #243C72;
}
body.graph-dark .gxa-kpi-lbl,
body.graph-dark .gxa-kpi-sub {
  color: #96B0D6;
}
body.graph-dark .gxa-kpi-val {
  color: #F0F6FF;
}

/* ── Mode Bar & 12-Industry Selector Strip ── */
.gxa-stage {
  margin-bottom: 28px;
}
.gxa-mode-bar {
  background: #FFFFFF;
  border: 1px solid #D4E2F0;
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 14px;
  box-shadow: 0 2px 10px rgba(15, 35, 87, 0.04);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
body.graph-dark .gxa-mode-bar {
  background: #0F1D3D;
  border-color: #243C72;
}
.gxa-mode-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.gxa-mode-badge {
  font-size: 11.5px;
  font-weight: 700;
  color: #3B597D;
  background: #F0F6FD;
  border: 1px solid #D5E4F4;
  padding: 4px 11px;
  border-radius: 999px;
}
body.graph-dark .gxa-mode-badge {
  background: #152852;
  border-color: #284582;
  color: #9EC5F8;
}
.gxa-mode-tabs {
  display: inline-flex;
  align-self: flex-start;
  background: #EEF4FB;
  border: 1px solid #D8E5F2;
  border-radius: 11px;
  padding: 3px;
  gap: 4px;
  flex-wrap: wrap;
}
body.graph-dark .gxa-mode-tabs {
  background: #14254E;
  border-color: #28427D;
}
.gxa-mode-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 650;
  color: #2B456A;
  text-decoration: none;
  transition: all 0.15s ease;
}
.gxa-mode-tab:hover {
  color: #0F2357;
  background: rgba(255, 255, 255, 0.65);
  text-decoration: none;
}
.gxa-mode-tab.active {
  background: #FFFFFF;
  color: #1D4ED8;
  box-shadow: 0 1px 5px rgba(15, 35, 87, 0.1);
}
body.graph-dark .gxa-mode-tab {
  color: #BDD2F0;
}
body.graph-dark .gxa-mode-tab.active {
  background: #1E3A7A;
  color: #FFFFFF;
}

.gxa-sector-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding-bottom: 2px;
}
.gxa-sector-strip::-webkit-scrollbar { display: none; }
.gxa-sector-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  min-height: 32px;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid #D3E1EF;
  background: #F8FBFF;
  color: #284266;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
  transition: all 0.15s ease;
}
.gxa-sector-pill:hover {
  border-color: #3182CE;
  color: #0F2357;
  background: #EEF6FF;
}
.gxa-sector-pill.active {
  background: #142D6D;
  color: #FFFFFF;
  border-color: #142D6D;
  box-shadow: 0 2px 8px rgba(20, 45, 109, 0.2);
}
.gxa-sec-cnt {
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  padding: 1px 7px;
  border-radius: 999px;
  background: #E7F0FA;
  color: #466182;
}
.gxa-sector-pill.active .gxa-sec-cnt {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}
body.graph-dark .gxa-sector-pill {
  background: #13244B;
  border-color: #274077;
  color: #C7D9F4;
}
body.graph-dark .gxa-sector-pill.active {
  background: #2563EB;
  border-color: #60A5FA;
  color: #FFFFFF;
}
body.graph-dark .gxa-sec-cnt {
  background: #1C3366;
  color: #9BB5DC;
}

/* ── Split World Map + Docked Country Inspector ── */
.gxa-split {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(330px, 0.95fr);
  gap: 16px;
  align-items: start;
}
.gxa-map-card,
.gxa-inspector {
  background: #FFFFFF;
  border: 1px solid #CADAE9;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(15, 35, 87, 0.06);
  overflow: hidden;
}
body.graph-dark .gxa-map-card,
body.graph-dark .gxa-inspector {
  background: #0D1936;
  border-color: #21376B;
  box-shadow: 0 12px 34px rgba(2, 6, 18, 0.45);
}

.gxa-card-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 11px 14px;
  border-bottom: 1px solid #E2ECF6;
}
body.graph-dark .gxa-card-toolbar {
  border-bottom-color: #1D3365;
}
.gxa-region-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.gxa-chip {
  min-height: 31px;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid #D3E1EF;
  background: #F6FAFE;
  color: #324E72;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
  transition: all 0.14s ease;
}
.gxa-chip:hover {
  border-color: #3182CE;
  color: #0F2357;
}
.gxa-chip.active {
  background: #142D6D;
  color: #FFFFFF;
  border-color: #142D6D;
}
body.graph-dark .gxa-chip {
  background: #13244B;
  border-color: #274077;
  color: #B9CFE9;
}
body.graph-dark .gxa-chip.active {
  background: #0693E3;
  border-color: #38BDF8;
  color: #FFFFFF;
}

.gxa-zoom-grp {
  display: inline-flex;
  border: 1px solid #CFDDE9;
  border-radius: 8px;
  overflow: hidden;
  background: #F8FBFF;
}
body.graph-dark .gxa-zoom-grp {
  border-color: #28427D;
  background: #13244B;
}
.gxa-zbtn {
  min-height: 31px;
  min-width: 33px;
  padding: 0 9px;
  border: 0;
  border-right: 1px solid #CFDDE9;
  background: transparent;
  color: #142D6D;
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}
.gxa-zbtn:last-child { border-right: 0; }
.gxa-zbtn:hover { background: #EBF4FF; }
body.graph-dark .gxa-zbtn {
  color: #E2EDFF;
  border-right-color: #28427D;
}
body.graph-dark .gxa-zbtn:hover { background: #1B3368; }

.gxa-map-stage {
  position: relative;
  background: radial-gradient(circle at 50% 35%, #F9FCFF 0%, #EDF5FC 100%);
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
body.graph-dark .gxa-map-stage {
  background: radial-gradient(circle at 50% 35%, #0D1A3B 0%, #081229 100%);
}
#gxWorldMapSvg {
  width: 100%;
  height: auto;
  display: block;
}
.gxa-grat {
  fill: none;
  stroke: #D6E4F2;
  stroke-width: 0.55;
  stroke-dasharray: 3 4;
}
body.graph-dark .gxa-grat {
  stroke: #1B3160;
}
.gxa-land {
  fill: #E4ECF4;
  stroke: #FFFFFF;
  stroke-width: 0.65;
  transition: fill 0.18s ease, stroke 0.18s ease, stroke-width 0.18s ease;
}
.gxa-land.covered { cursor: pointer; }
.gxa-land.tier-1 { fill: #BFDBFE; }
.gxa-land.tier-2 { fill: #60A5FA; }
.gxa-land.tier-3 { fill: #2563EB; }
.gxa-land.tier-4 { fill: #142D6D; }
.gxa-land.covered:hover {
  stroke: #0693E3;
  stroke-width: 1.5;
  filter: brightness(1.06);
}
.gxa-land.selected {
  stroke: #F59E0B !important;
  stroke-width: 2.1 !important;
  filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.45));
}
body.graph-dark .gxa-land {
  fill: #182B54;
  stroke: #0D1936;
}
body.graph-dark .gxa-land.tier-1 { fill: #1E3A7A; }
body.graph-dark .gxa-land.tier-2 { fill: #2563EB; }
body.graph-dark .gxa-land.tier-3 { fill: #0EA5E9; }
body.graph-dark .gxa-land.tier-4 { fill: #38BDF8; }

.gxa-pin { cursor: pointer; }
.gxa-pin-pulse {
  fill: none;
  stroke: #F59E0B;
  stroke-width: 1.6;
  opacity: 0.75;
  transform-box: fill-box;
  transform-origin: center;
  animation: gxaPulse 2.6s ease-out infinite;
}
.gxa-pin-core {
  fill: #F59E0B;
  stroke: #FFFFFF;
  stroke-width: 1.5;
}
@keyframes gxaPulse {
  0% { transform: scale(0.8); opacity: 0.85; }
  100% { transform: scale(2.2); opacity: 0; }
}

.gxa-map-tooltip {
  position: absolute;
  pointer-events: none;
  z-index: 25;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border: 1px solid #C4D7EA;
  border-radius: 11px;
  padding: 9px 12px;
  box-shadow: 0 12px 32px rgba(15, 35, 87, 0.16);
  min-width: 185px;
  max-width: 250px;
}
body.graph-dark .gxa-map-tooltip {
  background: rgba(14, 27, 59, 0.96);
  border-color: #2B4682;
  color: #EBF3FF;
}
.gxa-tt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}
.gxa-tt-head strong { font-size: 13px; color: #0F2357; }
body.graph-dark .gxa-tt-head strong { color: #FFFFFF; }
.gxa-tt-iso {
  font-size: 10px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
  background: #EEF4FB;
  color: #1D4ED8;
}
body.graph-dark .gxa-tt-iso { background: #1C356C; color: #93C5FD; }
.gxa-tt-stat { font-size: 11.5px; color: #365072; }
body.graph-dark .gxa-tt-stat { color: #C5D8F2; }

.gxa-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 10px 14px;
  border-top: 1px solid #E2ECF6;
  background: #F8FBFF;
  font-size: 11.5px;
  color: #556E8B;
}
body.graph-dark .gxa-card-footer {
  background: #0F1D3D;
  border-top-color: #1E3466;
  color: #9BB3D6;
}
.gxa-heat-legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px 11px;
}
.gxa-leg-title { font-weight: 700; color: #142D6D; }
body.graph-dark .gxa-leg-title { color: #DCEBFF; }
.gxa-sw-pair {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.gxa-sw {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  border: 1px solid rgba(15, 35, 87, 0.14);
  display: inline-block;
}
.gxa-sw.sw-0 { background: #E4ECF4; }
.gxa-sw.sw-1 { background: #BFDBFE; }
.gxa-sw.sw-2 { background: #60A5FA; }
.gxa-sw.sw-3 { background: #2563EB; }
.gxa-sw.sw-4 { background: #142D6D; }
.gxa-pin-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #F59E0B;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.28);
  display: inline-block;
}
.gxa-leg-sep {
  width: 1px;
  height: 13px;
  background: #CBD9E8;
}

/* ── Docked Country Inspector ── */
.gxa-inspector {
  padding: 18px;
  max-height: 620px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.gxa-insp-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid #E2ECF6;
}
body.graph-dark .gxa-insp-head { border-bottom-color: #1E3466; }
.gxa-eyebrow-sm {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 9px;
  border-radius: 999px;
  background: #EBF4FF;
  color: #1D4ED8;
  margin-bottom: 5px;
}
body.graph-dark .gxa-eyebrow-sm { background: #1B3368; color: #8DD4FF; }
.gxa-insp-title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #0F2357;
  line-height: 1.2;
}
body.graph-dark .gxa-insp-title { color: #F4F8FF; }
.gxa-insp-sub {
  margin: 4px 0 0;
  font-size: 12.5px;
  color: #556E8B;
}
body.graph-dark .gxa-insp-sub { color: #A6BFE0; }
.gxa-insp-close {
  border: 1px solid #D4E2F0;
  background: #F6FAFE;
  color: #365072;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  flex: 0 0 auto;
}
body.graph-dark .gxa-insp-close {
  background: #162955;
  border-color: #2A4580;
  color: #DCEBFF;
}

.gxa-insp-sec {
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid #E2ECF6;
}
.gxa-insp-sec:first-of-type { border-top: 0; margin-top: 0; }
body.graph-dark .gxa-insp-sec { border-top-color: #1E3466; }
.gxa-sec-title {
  margin: 0 0 9px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #58718F;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.gxa-sec-title > span:last-child {
  white-space: nowrap;
  flex-shrink: 0;
}
body.graph-dark .gxa-sec-title { color: #96B0D6; }

.gxa-market-list {
  display: grid;
  gap: 7px;
}
.gxa-market-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 1px solid #DCE7F3;
  background: #F8FBFF;
  border-radius: 11px;
  padding: 9px 11px;
  text-align: left;
  cursor: pointer;
  transition: all 0.14s ease;
}
.gxa-market-btn:hover {
  border-color: #3182CE;
  background: #EEF6FF;
  transform: translateY(-1px);
}
body.graph-dark .gxa-market-btn {
  background: #122349;
  border-color: #253E75;
}
body.graph-dark .gxa-market-btn:hover {
  background: #1A3163;
  border-color: #4EA8F5;
}
.gxa-iso {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #E8F1FC;
  border: 1px solid #C6DBF2;
  color: #142D6D;
  font-size: 10.5px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
body.graph-dark .gxa-iso {
  background: #1B3368;
  border-color: #31549B;
  color: #93C5FD;
}
.gxa-m-meta { flex: 1 1 auto; min-width: 0; }
.gxa-m-meta strong {
  display: block;
  font-size: 13px;
  color: #0F2357;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.graph-dark .gxa-m-meta strong { color: #F0F6FF; }
.gxa-m-meta > span {
  display: block;
  font-size: 11px;
  color: #5C7493;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.graph-dark .gxa-m-meta > span { color: #96B0D6; }
.gxa-m-num {
  font-size: 12.5px;
  font-weight: 800;
  color: #1D4ED8;
  font-variant-numeric: tabular-nums;
}
body.graph-dark .gxa-m-num { color: #60A5FA; }
.gxa-tag-gold {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 800;
  background: #FEF3C7;
  color: #B45309;
  padding: 1px 6px;
  border-radius: 4px;
  margin-left: 4px;
  vertical-align: middle;
}
body.graph-dark .gxa-tag-gold {
  background: rgba(245, 158, 11, 0.22);
  color: #FCD34D;
}

/* Industry Coverage Progress Bars inside Country Deep-Dive */
.gxa-bar-row {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 9px;
  margin-bottom: 7px;
  cursor: pointer;
  padding: 3px 4px;
  border-radius: 6px;
}
.gxa-bar-row:hover { background: #EEF5FC; }
.gxa-bar-row.is-active {
  background: #E8F2FF;
  outline: 1px solid #93C5FD;
}
body.graph-dark .gxa-bar-row:hover { background: #172B59; }
body.graph-dark .gxa-bar-row.is-active {
  background: #1B3368;
  outline: 1px solid #3B82F6;
}
.gxa-bar-lbl { font-size: 11.5px; font-weight: 650; color: #2D466B; }
body.graph-dark .gxa-bar-lbl { color: #C7D9F4; }
.gxa-bar-track {
  display: block;
  height: 8px;
  background: #E8F0F8;
  border-radius: 999px;
  overflow: hidden;
}
body.graph-dark .gxa-bar-track { background: #1A2F5E; }
.gxa-bar-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #0693E3, #2563EB);
}
.gxa-bar-val {
  font-size: 11.5px;
  font-weight: 750;
  color: #0F2357;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
body.graph-dark .gxa-bar-val { color: #EBF3FF; }

.gxa-equip-card {
  border: 1px solid #CFE0F2;
  border-left: 3.5px solid #0693E3;
  background: linear-gradient(135deg, #F6FAFF 0%, #EEF6FF 100%);
  border-radius: 10px;
  padding: 11px 12px;
}
body.graph-dark .gxa-equip-card {
  background: linear-gradient(135deg, #112247 0%, #162C5B 100%);
  border-color: #27437E;
  border-left-color: #38BDF8;
}
.gxa-equip-card h4 {
  margin: 0 0 4px;
  font-size: 12.5px;
  color: #0F2357;
}
body.graph-dark .gxa-equip-card h4 { color: #F0F6FF; }
.gxa-equip-card p {
  margin: 0 0 8px;
  font-size: 11.5px;
  color: #466080;
  line-height: 1.48;
}
body.graph-dark .gxa-equip-card p { color: #A6BFE0; }
.gxa-equip-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 700;
  color: #1D4ED8;
  text-decoration: none;
}
.gxa-equip-link:hover { text-decoration: underline; }
body.graph-dark .gxa-equip-link { color: #60A5FA; }

.gxa-dos-card {
  border: 1px solid #DCE7F3;
  border-left: 3.5px solid #4F46E5;
  background: #F8FBFF;
  border-radius: 10px;
  padding: 11px;
  margin-bottom: 9px;
}
body.graph-dark .gxa-dos-card {
  background: #122349;
  border-color: #253E75;
  border-left-color: #818CF8;
}
.gxa-dos-card h4 { margin: 0 0 4px; font-size: 13px; color: #0F2357; }
body.graph-dark .gxa-dos-card h4 { color: #F0F6FF; }
.gxa-dos-card p { margin: 0 0 7px; font-size: 11.5px; color: #556E8B; line-height: 1.5; }
body.graph-dark .gxa-dos-card p { color: #A6BFE0; }
.gxa-fact-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 7px;
}
.gxa-fact-chip {
  font-size: 10.5px;
  background: #FFFFFF;
  border: 1px solid #D5E3F2;
  border-radius: 5px;
  padding: 2px 7px;
  color: #2C4568;
}
body.graph-dark .gxa-fact-chip {
  background: #0D1936;
  border-color: #28427D;
  color: #D2E3FA;
}

.gxa-guide-item {
  display: block;
  padding: 8px 10px;
  border: 1px solid #DCE7F3;
  border-radius: 8px;
  background: #F8FBFF;
  margin-bottom: 6px;
  text-decoration: none;
}
.gxa-guide-item:hover { border-color: #3182CE; background: #EEF6FF; text-decoration: none; }
body.graph-dark .gxa-guide-item { background: #122349; border-color: #253E75; }
.gxa-guide-item strong { display: block; font-size: 12px; color: #0F2357; line-height: 1.4; }
body.graph-dark .gxa-guide-item strong { color: #EBF3FF; }
.gxa-guide-item span { display: block; margin-top: 2px; font-size: 10.5px; color: #5C7493; }
body.graph-dark .gxa-guide-item span { color: #96B0D6; }

.gxa-insp-acts {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 12px;
}

/* ── Section Divider before Pathway Graph ── */
.gxa-section-divider {
  margin: 26px 0 14px;
  padding-top: 20px;
  border-top: 1px solid #D9E5F2;
}
body.graph-dark .gxa-section-divider { border-top-color: #1F3568; }
.gxa-section-divider h2 {
  margin: 4px 0 6px;
  font-size: clamp(20px, 2.3vw, 26px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #0F2357;
}
body.graph-dark .gxa-section-divider h2 { color: #F0F6FF; }
.gxa-section-divider p {
  margin: 0;
  font-size: 14px;
  color: #536C87;
  max-width: 72ch;
}
body.graph-dark .gxa-section-divider p { color: #9EB6D9; }

/* ── Contextual Buyer CTA Band ── */
.gxa-cta-band {
  margin: 32px 0 12px;
}
.gxa-cta-card {
  background: linear-gradient(135deg, #0E2356 0%, #173B87 60%, #1D56B8 100%);
  color: #FFFFFF;
  border-radius: 18px;
  padding: 26px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: 0 12px 32px rgba(14, 35, 86, 0.18);
}
.gxa-cta-eyebrow {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #7DD3FC;
  margin-bottom: 6px;
}
.gxa-cta-card h2 {
  margin: 0 0 6px;
  font-size: clamp(19px, 2.1vw, 24px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}
.gxa-cta-card p {
  margin: 0;
  max-width: 64ch;
  font-size: 13.5px;
  color: #DBEAFE;
  line-height: 1.58;
}
.gxa-cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.gxa-btn-crimson {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 18px;
  border-radius: 9px;
  background: #D42427;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(212, 36, 39, 0.32);
}
.gxa-btn-crimson:hover { background: #B71B1E; color: #FFFFFF; text-decoration: none; }
.gxa-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 16px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.gxa-btn-outline:hover { background: rgba(255, 255, 255, 0.12); color: #FFFFFF; text-decoration: none; }

@media (max-width: 1040px) {
  .gxa-split { grid-template-columns: 1fr; }
  .gxa-inspector { max-height: none; }
}
@media (max-width: 700px) {
  .gxa-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .gxa-kpi-val { font-size: 22px; }
  .gxa-map-stage { min-height: 260px; }
  .gxa-cta-card { padding: 20px 18px; }
}
