/* NTB Intelligence — final institutional blue system */
:root{
  --navy:#10243d;
  --navy-2:#173957;
  --emerald:#2f6b9a;
  --emerald-2:#4f8dba;
  --mint:#d9e8f2;
  --aqua:#79add2;
  --blue:#4f8dba;
  --paper:#eef5fa;
  --ink:#152c43;
  --muted:#5d7890;
  --line:#d7e4ed;
}

body{background:linear-gradient(180deg,#eef5fa 0%,#f7fafc 36%,#eef5fa 100%)}
.sidebar{background:linear-gradient(180deg,#10243d 0%,#091a2d 100%)}
.nav-link.active{background:linear-gradient(90deg,rgba(79,141,186,.34),rgba(79,141,186,.07))}
.eyebrow,.section-kicker,.pulse-intro a,.chart-note-row a,.source-open,.inline-link{color:#2f6b9a}
.filter-panel,.card,.kpi-card,.tourism-pulse,.analysis-card,.section-block{min-width:0}
.section-label-row,.card-heading,.warehouse-card-heading,.opportunity-evidence-head{flex-wrap:wrap}
.section-label-row>*,.card-heading>*,.warehouse-card-heading>*{min-width:0}

/* Positive/official analytical states use blue. Gold remains an editorial accent. */
.status-tag.official,.warehouse-status:not(.pending):not(.qualified){color:#245a83!important;background:#e8f2f8!important;border-color:#c9dce9!important}
.status-tag.calculated{color:#2f6b9a!important;background:#edf5fa!important;border-color:#d4e5ef!important}
.change.positive,.kpi-trend.up{color:#2f6b9a!important}
.as-of-dot,.live-dot,.assistant-online i,.insight-status i,.derived-badge i{background:#4f8dba!important;box-shadow:0 0 0 4px rgba(79,141,186,.12)!important}
.map-marker.has-data .marker-pin,.map-marker.city .marker-pin{--bubble-color:#4f8dba!important;background:#4f8dba!important}
.legend-dot.aqua{background:#79add2!important}
.investment-progress-track i,.quality-bar i{background:linear-gradient(90deg,#2f6b9a,#79add2)!important}

/* Charts: coherent blue scale, legible typography, no halo/ghost text. */
.chart-viz svg text,.warehouse-feature-chart svg text,.warehouse-chart svg text,.opportunity-chart svg text,.trade-chart-viz svg text,.extension-svg text,.intelligence-svg text{
  font-family:"DM Sans",Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  font-weight:500;
  text-shadow:none!important;
  stroke:none!important;
  paint-order:normal!important;
  filter:none!important;
}
.chart-axis-text,.chart-row-label,.warehouse-axis-label,.warehouse-unit-label,.warehouse-bar-label,.warehouse-bar-period{fill:#587a95!important}
.chart-value-label,.warehouse-bar-value{fill:#173957!important;font-weight:750!important}
.warehouse-bar{fill:#2f6b9a!important}
.warehouse-bar-row:hover .warehouse-bar{fill:#4f8dba!important}
.warehouse-domain-track .bps{background:#2f6b9a!important}
.warehouse-domain-track .kl{background:#79add2!important}
.warehouse-kpi-mark,.warehouse-archive-item.verified>i{background:#2f6b9a!important;box-shadow:0 0 0 5px rgba(47,107,154,.11)!important}
.warehouse-kpi .mark-1{background:#4f8dba!important}
.warehouse-kpi .mark-3{background:#79add2!important}

/* Layout guards for the denser analytical workspace. */
.warehouse-controls>*{min-width:0}
.warehouse-archive-list>.warehouse-empty{grid-column:1/-1}
.warehouse-bottom-grid>*{min-width:0}
.data-viz-grid>*,.two-column>*,.opportunity-chart-grid>*,.governance-grid>*{min-width:0}
.annual-report-feature,.annual-report-actionbar,.annual-report-identity,.annual-report-actions{min-width:0}

/* WhatsApp retains the official brand green as the sole non-risk green. */
.whatsapp-toggle,.whatsapp-start{
  background:#25d366!important;
  border-color:#25d366!important;
  color:#fff!important;
  box-shadow:0 13px 32px rgba(37,211,102,.28)!important;
}
.whatsapp-toggle:hover,.whatsapp-start:hover{background:#1ebe5d!important;border-color:#1ebe5d!important;box-shadow:0 16px 36px rgba(37,211,102,.34)!important}
.whatsapp-panel-kicker{color:#128c7e!important}

@media(max-width:1180px){
  .warehouse-bottom-grid{grid-template-columns:1fr!important}
  .warehouse-controls{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .warehouse-controls .warehouse-metric-control{grid-column:1/-1!important}
}
@media(max-width:760px){
  .section-label-row,.card-heading,.warehouse-card-heading{align-items:flex-start;flex-direction:column}
  .warehouse-controls{grid-template-columns:1fr!important}
  .warehouse-controls .warehouse-metric-control,.warehouse-view-switch{grid-column:1!important;width:100%}
  .warehouse-view-switch{justify-content:center}
  .annual-report-actions{width:100%}
}
