:root {
  --ink: #0b2028;
  --ink-2: #17353d;
  --navy: #061922;
  --navy-2: #0b2d35;
  --paper: #f3efe6;
  --card: #fffdf8;
  --line: #d8d3c7;
  --muted: #6e7979;
  --teal: #0c8e82;
  --teal-dark: #08645d;
  --mint: #a8ddcd;
  --acid: #d6ef6f;
  --amber: #e9b351;
  --coral: #e36c52;
  --blue: #5a92b2;
  --violet: #8a79a9;
  --white: #fff;
  --shadow: 0 28px 70px rgba(8, 30, 38, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
button, select { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible {
  outline: 3px solid rgba(214, 239, 111, .72);
  outline-offset: 2px;
}
a { color: inherit; }
h1, h2, h3, h4, p { margin-top: 0; }

.hero {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 20%, rgba(24, 154, 139, .42), transparent 31%),
    radial-gradient(circle at 12% 86%, rgba(90, 146, 178, .16), transparent 27%),
    linear-gradient(135deg, #05151d 4%, #092a33 61%, #0b443f 135%);
}
.hero::after {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  right: -118px;
  bottom: -220px;
  border: 1px solid rgba(214, 239, 111, .38);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(214, 239, 111, .03),
    0 0 0 140px rgba(214, 239, 111, .02);
}
.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
}
.topbar, .hero-content {
  position: relative;
  z-index: 1;
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  border-bottom: 1px solid rgba(255, 255, 255, .15);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--navy);
  background: var(--acid);
  border-radius: 50%;
  font: 800 12px/1 monospace;
}
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: rgba(255, 255, 255, .68);
  font-size: 14px;
  text-decoration: none;
}
.nav-links a:hover { color: var(--acid); }
.case-pill {
  padding: 8px 13px;
  color: var(--acid);
  border: 1px solid rgba(214, 239, 111, .52);
  border-radius: 999px;
  font: 700 11px/1 monospace;
  letter-spacing: 1.5px;
}
.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 480px;
  gap: 52px;
  align-items: end;
  padding: 62px 0 76px;
}
.eyebrow, .section-kicker {
  margin: 0 0 18px;
  color: var(--teal);
  font: 700 11px/1.2 monospace;
  letter-spacing: 2.3px;
}
.hero .eyebrow { color: var(--acid); }
h1 {
  margin-bottom: 20px;
  font-size: clamp(50px, 5.4vw, 76px);
  line-height: .98;
  letter-spacing: -4px;
}
h1 span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .62);
}
.hero-copy {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, .68);
  font-size: 16px;
  line-height: 1.7;
}
.hero-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.hero-meta div {
  min-height: 112px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .055);
  backdrop-filter: blur(12px);
}
.hero-meta span, .hero-meta small {
  display: block;
  color: rgba(255, 255, 255, .5);
  font-size: 12px;
}
.hero-meta strong {
  display: block;
  margin: 17px 0 6px;
  color: var(--acid);
  font: 500 27px/1 monospace;
}

.filter-dock {
  position: relative;
  z-index: 5;
  width: min(1320px, calc(100% - 64px));
  margin: -28px auto 0;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.filter-inner {
  display: grid;
  grid-template-columns: 1.25fr 2fr 1fr 1.05fr 1fr auto;
  gap: 14px;
  align-items: end;
  padding: 16px 20px 14px;
}
.filter-inner label, .period-filter {
  display: grid;
  gap: 8px;
}
.filter-inner label > span, .period-filter > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.1px;
}
.filter-inner select, .search-box input {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0 12px;
  color: var(--ink);
  background: #f8f6f0;
  border: 1px solid var(--line);
  border-radius: 0;
}
.segmented {
  display: inline-flex;
  min-height: 42px;
  padding: 3px;
  background: #ece8df;
}
.segmented button, .metric-switch button {
  padding: 8px 12px;
  color: var(--muted);
  background: transparent;
  border: 0;
  font-size: 12px;
  white-space: nowrap;
}
.segmented button.active {
  color: var(--white);
  background: var(--teal-dark);
}
.reset-button {
  height: 42px;
  padding: 0 17px;
  color: var(--teal-dark);
  background: transparent;
  border: 1px solid var(--teal);
  white-space: nowrap;
}
.reset-button:hover { color: var(--white); background: var(--teal-dark); }
.scope-line {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.scope-line strong { color: var(--teal-dark); }
.scope-line span { color: var(--muted); }

.section {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
  padding: 72px 0;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  align-items: end;
  margin-bottom: 26px;
}
.section-heading h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: -2px;
}
.section-note {
  max-width: 450px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.section-heading.light h2 { color: var(--white); }
.section-heading.light .section-note { color: rgba(255, 255, 255, .55); }

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.kpi-card {
  position: relative;
  min-height: 142px;
  padding: 20px;
  background: rgba(255, 255, 255, .44);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.kpi-card::before {
  content: attr(data-index);
  position: absolute;
  top: 23px;
  right: 23px;
  color: #9ea4a0;
  font: 11px/1 monospace;
}
.kpi-label { color: var(--muted); font-size: 13px; }
.kpi-value {
  display: block;
  margin: 20px 0 9px;
  font: 600 36px/1 monospace;
  letter-spacing: -2px;
}
.kpi-value small {
  margin-left: 5px;
  font-size: 12px;
  letter-spacing: 0;
}
.kpi-change {
  display: flex;
  gap: 5px;
  align-items: center;
  color: var(--teal-dark);
  font-size: 12px;
  line-height: 1.5;
}
.kpi-change.down { color: var(--coral); }
.kpi-change.neutral { color: var(--muted); }
.delta-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 5px;
  background: rgba(12, 142, 130, .1);
  font: 700 10px/1 monospace;
}
.down .delta-chip { background: rgba(227, 108, 82, .1); }

.panel {
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(8, 30, 38, .05);
}
.trend-panel { margin-top: 22px; }
.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: start;
  margin-bottom: 24px;
}
.panel-label {
  display: block;
  margin-bottom: 8px;
  color: var(--teal);
  font: 700 10px/1 monospace;
  letter-spacing: 1.5px;
}
.panel-head h3 { margin: 0; font-size: 20px; letter-spacing: -.5px; }
.metric-switch {
  display: inline-flex;
  padding: 3px;
  background: #ece8df;
}
.chart-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
}
.metric-switch button.active {
  color: var(--white);
  background: var(--teal-dark);
}
.trend-chart { min-height: 360px; }
.trend-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.trend-chart text { fill: var(--muted); font-size: 11px; }
.trend-chart .grid-line { stroke: #ddd8ce; stroke-width: 1; }
.trend-chart .axis-label { fill: var(--ink); font: 700 10px/1 monospace; letter-spacing: 1px; }
.trend-chart .growth-zero-line { stroke: #a9a397; stroke-width: 1.2; stroke-dasharray: 3 4; }
.trend-chart .value-bar { fill: rgba(12, 142, 130, .64); transition: fill .18s ease; }
.trend-chart .value-bar:hover { fill: var(--teal-dark); }
.trend-chart .growth-yoy-line { fill: none; stroke: var(--amber); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.trend-chart .growth-pop-line { fill: none; stroke: #487da1; stroke-width: 2.5; stroke-dasharray: 8 6; stroke-linejoin: round; stroke-linecap: round; }
.trend-chart .growth-yoy-dot { fill: var(--card); stroke: var(--amber); stroke-width: 2; }
.trend-chart .growth-pop-dot { fill: var(--card); stroke: #487da1; stroke-width: 2; }
.trend-foot {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.trend-foot p { max-width: 700px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.legend { display: flex; gap: 18px; color: var(--muted); font-size: 12px; }
.legend span { display: inline-flex; gap: 6px; align-items: center; }
.legend b { font-weight: 500; }
.legend i { width: 17px; height: 3px; }
.legend-current { height: 8px !important; background: rgba(12, 142, 130, .72); }
.legend-yoy { background: var(--amber); }
.legend-pop { height: 0 !important; border-top: 2px dashed #487da1; }

.amount-section { padding-top: 30px; }
.amount-kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin-bottom: 20px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.amount-kpi-card {
  position: relative;
  min-height: 142px;
  padding: 19px;
  background: var(--card);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.amount-kpi-index {
  position: absolute;
  top: 21px;
  right: 21px;
  color: #a1a6a1;
  font: 10px/1 monospace;
}
.amount-kpi-label { color: var(--muted); font-size: 12px; }
.amount-kpi-card > strong {
  display: block;
  margin: 21px 0 9px;
  font: 600 27px/1.05 monospace;
  letter-spacing: -1px;
}
.amount-kpi-card > strong small { margin-left: 4px; font-size: 10px; letter-spacing: 0; }
.amount-kpi-card p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.45; }
.amount-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.amount-panel-note { max-width: 260px; color: var(--muted); font-size: 10px; line-height: 1.5; text-align: right; }
.amount-nature-chart { display: grid; }
.amount-nature-header, .amount-nature-row {
  display: grid;
  grid-template-columns: minmax(140px, 1.05fr) minmax(180px, 1.25fr) .72fr .8fr;
  gap: 18px;
  align-items: center;
}
.amount-nature-header {
  padding: 0 10px 11px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 10px;
}
.amount-nature-row {
  min-height: 58px;
  padding: 10px;
  border-bottom: 1px solid #e7e2d9;
  font: 500 10px/1.3 monospace;
}
.amount-nature-row:last-child { border-bottom: 0; }
.amount-nature-name strong, .amount-nature-name small { display: block; }
.amount-nature-name strong { color: var(--ink); font: 600 12px/1.3 sans-serif; }
.amount-nature-name small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.amount-coverage {
  display: grid;
  grid-template-columns: 1fr 43px;
  gap: 9px;
  align-items: center;
}
.amount-coverage > i {
  display: block;
  height: 7px;
  overflow: hidden;
  background: #e9e4da;
}
.amount-coverage > i b { display: block; height: 100%; background: var(--teal); }
.amount-coverage > strong { color: var(--teal-dark); font: 600 9px/1 monospace; text-align: right; }
.amount-quality { display: grid; }
.amount-quality-row {
  display: grid;
  grid-template-columns: 30px 1fr 54px;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.quality-step { color: #a7aaa4; font: 700 9px/1 monospace; }
.quality-main strong, .quality-main small { display: block; }
.quality-main strong { font-size: 12px; }
.quality-main small { margin-top: 4px; color: var(--muted); font-size: 9px; line-height: 1.4; }
.quality-main > i { display: block; height: 5px; margin-top: 9px; background: #ebe6dc; }
.quality-main > i b { display: block; min-width: 1px; height: 100%; background: var(--teal); }
.amount-quality-row:nth-child(3) .quality-main > i b { background: var(--amber); }
.amount-quality-row:nth-child(4) .quality-main > i b { background: var(--mint); }
.amount-quality-row:nth-child(5) .quality-main > i b { background: var(--acid); box-shadow: inset 0 0 0 1px #9bad3f; }
.quality-value { text-align: right; }
.quality-value strong, .quality-value small { display: block; }
.quality-value strong { font: 600 13px/1 monospace; }
.quality-value small { margin-top: 5px; color: var(--muted); font: 8px/1 monospace; }
.amount-warning {
  margin-top: 18px;
  padding: 15px 16px;
  color: #654b19;
  background: rgba(233, 179, 81, .14);
  border-left: 3px solid var(--amber);
}
.amount-warning strong { font-size: 11px; }
.amount-warning p { margin: 7px 0 0; font-size: 10px; line-height: 1.6; }

.portfolio-section, .entities-section {
  width: 100%;
  max-width: none;
  padding-left: max(32px, calc((100% - 1320px) / 2));
  padding-right: max(32px, calc((100% - 1320px) / 2));
  color: var(--white);
  background:
    linear-gradient(125deg, rgba(12, 142, 130, .11), transparent 34%),
    var(--navy);
}
.entities-section { padding-top: 52px; padding-bottom: 52px; }
.entities-section .section-heading {
  align-items: center;
  margin-bottom: 16px;
}
.entities-section .section-heading h2 { font-size: clamp(30px, 3.4vw, 44px); }
.entities-section .section-note { max-width: 560px; font-size: 12px; line-height: 1.5; }
.portfolio-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 20px;
}
.dark-panel {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .13);
  background: rgba(255, 255, 255, .04);
}
.dark-panel .panel-head h3 { color: var(--white); }
.panel-meta { color: rgba(255, 255, 255, .46); font-size: 11px; }
.bar-list { display: grid; gap: 14px; }
.bar-row {
  display: grid;
  grid-template-columns: minmax(110px, 170px) 1fr 74px;
  gap: 14px;
  align-items: center;
}
.bar-row button {
  min-width: 0;
  padding: 0;
  color: rgba(255, 255, 255, .78);
  background: none;
  border: 0;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bar-row button:hover, .bar-row.active button { color: var(--acid); }
.bar-track {
  position: relative;
  height: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, .09);
}
.bar-fill {
  display: block;
  height: 100%;
  min-width: 2px;
  background: var(--teal);
  transition: width .3s ease;
}
.bar-row:nth-child(2n) .bar-fill { background: #4eaa9f; }
.bar-row:nth-child(3n) .bar-fill { background: var(--mint); }
.bar-row strong {
  color: var(--white);
  font: 600 11px/1 monospace;
  text-align: right;
}
.bar-row small { display: block; margin-top: 4px; color: rgba(255, 255, 255, .42); font-size: 9px; }
.mix-panel { margin-top: 20px; }
.company-mix { display: grid; gap: 16px; }
.mix-row {
  display: grid;
  grid-template-columns: 160px 1fr 72px;
  gap: 16px;
  align-items: center;
}
.mix-row button {
  padding: 0;
  color: rgba(255, 255, 255, .78);
  background: none;
  border: 0;
  text-align: left;
}
.mix-row button:hover, .mix-row.active button { color: var(--acid); }
.mix-track {
  display: flex;
  height: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, .07);
}
.mix-segment { min-width: 1px; transition: width .3s ease; }
.type-design { background: #0f9789; }
.type-survey { background: #5a92b2; }
.type-epc { background: #e9b351; }
.type-other { background: #8a79a9; }
.mix-row > strong { color: var(--white); font: 500 11px/1 monospace; text-align: right; }
.mix-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 22px;
  color: rgba(255, 255, 255, .5);
  font-size: 10px;
}
.mix-legend span { display: inline-flex; gap: 6px; align-items: center; }
.mix-legend i { width: 9px; height: 9px; }

.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(350px, .72fr);
  gap: 20px;
}
.map-panel {
  min-height: 630px;
  padding: 20px;
  color: var(--white);
  background: var(--navy);
}
.map-topline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.breadcrumb { color: var(--acid); font: 700 12px/1 monospace; letter-spacing: 1px; }
.map-legend {
  display: flex;
  gap: 10px;
  align-items: center;
  color: rgba(255, 255, 255, .45);
  font-size: 10px;
}
.map-legend-scale { display: flex; gap: 5px; align-items: center; }
.map-legend-scale span { display: grid; gap: 4px; justify-items: center; }
.map-legend-scale i {
  display: block;
  width: 29px;
  height: 8px;
  border: 1px solid rgba(255, 255, 255, .16);
}
.map-legend-scale b { color: rgba(255, 255, 255, .48); font: 7px/1 monospace; }
.map-stage { position: relative; min-height: 520px; }
.map-stage svg { display: block; width: 100%; height: auto; }
.province-shape {
  stroke: rgba(255, 255, 255, .34);
  stroke-width: 1.2;
  cursor: pointer;
  transition: opacity .18s, stroke .18s, filter .18s;
}
.province-shape.no-projects { opacity: .58; }
.province-shape:hover { filter: brightness(1.25); stroke: var(--white); stroke-width: 2; }
.province-shape.selected { filter: drop-shadow(0 0 9px rgba(214, 239, 111, .76)); stroke: var(--acid); stroke-width: 3; }
.province-label {
  fill: rgba(255, 255, 255, .66);
  font-size: 8px;
  pointer-events: none;
}
.province-label.strong { fill: rgba(255, 255, 255, .88); font-size: 9px; font-weight: 700; }
.province-marker { pointer-events: none; }
.province-bubble {
  fill: rgba(5, 29, 36, .76);
  stroke: var(--acid);
  stroke-width: 1.5;
  filter: drop-shadow(0 5px 8px rgba(0, 0, 0, .28));
}
.province-count { fill: var(--acid); font: 700 9px/1 monospace; pointer-events: none; }
.map-tooltip {
  position: absolute;
  z-index: 4;
  min-width: 145px;
  padding: 12px 14px;
  color: var(--white);
  background: rgba(4, 20, 26, .94);
  border: 1px solid rgba(214, 239, 111, .45);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .25);
  pointer-events: none;
}
.map-tooltip strong, .map-tooltip span { display: block; }
.map-tooltip span { margin-top: 6px; color: rgba(255, 255, 255, .58); font-size: 10px; }
.map-focus {
  display: grid;
  grid-template-columns: auto repeat(5, minmax(0, 1fr));
  gap: 8px;
  align-items: stretch;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .13);
}
.map-focus > span { align-self: center; padding-right: 7px; color: rgba(255, 255, 255, .45); font-size: 9px; }
.map-focus button {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 2px 7px;
  padding: 9px;
  color: rgba(255, 255, 255, .78);
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .1);
  text-align: left;
}
.map-focus button:not(:disabled):hover { border-color: var(--acid); }
.map-focus button:disabled { cursor: default; }
.map-focus button b { grid-row: span 2; color: var(--acid); font: 700 10px/1.5 monospace; }
.map-focus button strong { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.map-focus button small { color: rgba(255, 255, 255, .42); font-size: 7px; white-space: nowrap; }
.region-side {
  padding: 22px;
  background: var(--card);
  border: 1px solid var(--line);
}
.region-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 28px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.region-stat {
  padding: 15px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.region-stat span, .region-stat small { display: block; color: var(--muted); font-size: 11px; }
.region-stat strong { display: block; margin: 9px 0 4px; font: 600 25px/1 monospace; }
.ranking-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 700;
}
.ranking-head small { color: var(--muted); font-weight: 400; }
.region-ranking { display: grid; }
.region-row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 14px 2px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.region-row:hover, .region-row.active { background: rgba(12, 142, 130, .06); }
.region-row .rank { color: #a6a69f; font: 700 10px/1 monospace; }
.region-name strong, .region-name span { display: block; }
.region-name strong { font-size: 12px; }
.region-name span { margin-top: 4px; color: var(--muted); font-size: 9px; }
.region-bar { display: block; height: 3px; margin-top: 7px; background: #ebe6dd; }
.region-bar b { display: block; height: 100%; background: var(--teal); }
.region-delta { font: 700 10px/1 monospace; color: var(--teal-dark); }
.region-delta.down { color: var(--coral); }

.entity-table-shell {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, .13);
  scrollbar-color: rgba(214, 239, 111, .5) rgba(255, 255, 255, .06);
}
.entity-toolbar {
  display: flex;
  align-items: center;
  margin: 0 0 8px;
  padding: 7px 10px;
  color: rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .13);
}
.entity-toolbar > div span,
.entity-toolbar > div small { display: block; }
.entity-toolbar > div span { color: var(--acid); font-size: 11px; font-weight: 700; }
.entity-toolbar > div small { margin-top: 3px; color: rgba(255, 255, 255, .48); font-size: 10px; }
.entity-table {
  width: 100%;
  min-width: 1424px;
  border-collapse: collapse;
  table-layout: fixed;
}
.entity-table th:nth-child(1) { min-width: 210px; width: 210px; }
.entity-table th:nth-child(2) { min-width: 145px; width: 145px; }
.entity-table th:nth-child(3),
.entity-table th:nth-child(7),
.entity-table th:nth-child(11) { min-width: 88px; }
.entity-table th:nth-child(4),
.entity-table th:nth-child(6),
.entity-table th:nth-child(8),
.entity-table th:nth-child(10) { min-width: 80px; }
.entity-table th:nth-child(5),
.entity-table th:nth-child(9) { min-width: 110px; }
.entity-table th:nth-child(12) { min-width: 115px; }
.entity-table th:nth-child(13) { min-width: 150px; }
.entity-table th {
  padding: 8px 9px;
  color: rgba(255, 255, 255, .48);
  background: #0b2b34;
  border-bottom: 1px solid rgba(255, 255, 255, .13);
  font-size: 10px;
  font-weight: 500;
  text-align: left;
  letter-spacing: .5px;
  white-space: nowrap;
}
.entity-table th small { color: rgba(255, 255, 255, .32); font-size: 8px; font-weight: 400; }
.entity-sort-header {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 0;
  color: rgba(255, 255, 255, .58);
  background: transparent;
  border: 0;
  font: inherit;
  letter-spacing: inherit;
  white-space: nowrap;
}
.entity-sort-header:hover,
.entity-sort-header.active { color: var(--acid); }
.entity-sort-header i { color: var(--acid); font: 700 11px/1 monospace; font-style: normal; }
.entity-table th:nth-child(5) .entity-sort-header,
.entity-table th:nth-child(9) .entity-sort-header,
.entity-table th:nth-child(12) .entity-sort-header {
  line-height: 1.25;
  white-space: normal;
}
.entity-table td {
  padding: 8px 9px;
  color: rgba(255, 255, 255, .72);
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  font: 600 10px/1.25 monospace;
  white-space: nowrap;
}
.entity-table tr { cursor: pointer; }
.entity-table tbody tr:hover, .entity-table tbody tr.active { background: rgba(214, 239, 111, .06); }
.entity-table th:first-child,
.entity-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  box-shadow: 1px 0 rgba(255, 255, 255, .13);
}
.entity-table th:first-child { z-index: 3; background: #0b2b34; }
.entity-table td:first-child { background: #061d25; }
.entity-table tbody tr:hover td:first-child,
.entity-table tbody tr.active td:first-child { background: #102d32; }
.entity-table td:first-child strong, .entity-table td:first-child span { display: block; }
.entity-table td:first-child strong { color: var(--white); font-size: 12px; }
.entity-table td:first-child span {
  margin-top: 2px;
  overflow: hidden;
  color: rgba(255, 255, 255, .4);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.up { color: var(--mint) !important; }
.down { color: #ef8b74 !important; }
.neutral { color: rgba(255, 255, 255, .42) !important; }
.entity-bar {
  display: grid;
  grid-template-columns: minmax(78px, 1fr) auto;
  gap: 8px;
  align-items: center;
}
.entity-bar i {
  display: block;
  height: 5px;
  background: var(--teal);
}
.numeric-cell { color: rgba(255, 255, 255, .78) !important; }
.delta-cell { font-weight: 700 !important; }
.amount-cell { color: #d7f1e7 !important; }
.coverage-cell,
.estimate-cell { color: var(--acid) !important; }
.structure-cell strong, .structure-cell span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.structure-cell strong { color: rgba(255, 255, 255, .78); font-size: 10px; }
.structure-cell span { margin-top: 3px; color: rgba(255, 255, 255, .4); font-size: 8px; }

.ledger-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 18px;
}
.search-box {
  display: grid;
  gap: 8px;
  width: min(520px, 100%);
}
.search-box span { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: 1px; }
.ledger-actions { display: flex; gap: 16px; align-items: center; color: var(--muted); font-size: 11px; }
.ledger-actions button {
  padding: 8px 12px;
  color: var(--teal-dark);
  background: transparent;
  border: 1px solid var(--line);
}
.ledger-shell {
  overflow-x: auto;
  background: var(--card);
  border: 1px solid var(--line);
}
.project-table {
  width: 100%;
  min-width: 1040px;
  border-collapse: collapse;
}
.project-table th {
  padding: 14px 15px;
  color: var(--muted);
  background: #f0ece3;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  font-weight: 500;
  text-align: left;
}
.project-table td {
  padding: 14px 15px;
  border-bottom: 1px solid #e7e2d9;
  font-size: 11px;
  vertical-align: top;
}
.project-table td:first-child { white-space: nowrap; }
.project-main strong, .project-main span { display: block; }
.project-main strong { max-width: 470px; line-height: 1.5; }
.project-main strong a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.project-main span { margin-top: 5px; color: var(--teal-dark); font-size: 9px; }
.tag {
  display: inline-block;
  margin: 0 4px 4px 0;
  padding: 3px 6px;
  color: var(--teal-dark);
  background: rgba(12, 142, 130, .09);
  font-size: 9px;
}
.nature-tag { color: #79530e; background: rgba(233, 179, 81, .16); }
.amount-note { display: block; margin-top: 4px; color: var(--muted); font-size: 8px; }
.estimated-amount {
  display: block;
  margin-top: 5px;
  color: #9a6b11;
  font-size: 9px;
  line-height: 1.4;
}
.verified-amount {
  display: block;
  margin-top: 5px;
  color: var(--teal-dark);
  font: 700 8px/1.3 monospace;
}
.table-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 14px 16px;
  color: var(--muted);
  font-size: 10px;
}
.pagination { display: flex; gap: 6px; }
.pagination button {
  min-width: 32px;
  height: 30px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
}
.pagination button:disabled { cursor: not-allowed; opacity: .35; }
.pagination strong { display: grid; place-items: center; min-width: 65px; font: 500 10px/1 monospace; }

.methodology {
  display: grid;
  grid-template-columns: .65fr 1.35fr;
  gap: 42px;
  align-items: start;
}
.methodology h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 50px);
  letter-spacing: -2px;
}
.method-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.method-grid article {
  min-height: 154px;
  padding: 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.method-grid article > span { color: var(--teal); font: 700 10px/1 monospace; }
.method-grid h3 { margin: 22px 0 8px; font-size: 16px; }
.method-grid p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.source-row {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.source-row span {
  padding: 6px 9px;
  color: var(--muted);
  border: 1px solid var(--line);
  font: 9px/1 monospace;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px max(32px, calc((100% - 1320px) / 2));
  color: rgba(255, 255, 255, .44);
  background: #04151c;
  font: 9px/1.4 monospace;
  letter-spacing: 1px;
}

.empty-state {
  padding: 50px 24px;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
}

@media (max-width: 1160px) {
  .nav-links { display: none; }
  .hero-content { grid-template-columns: 1fr 390px; gap: 45px; }
  .filter-inner { grid-template-columns: repeat(3, 1fr); }
  .period-filter { grid-column: span 2; }
  .kpi-grid { grid-template-columns: repeat(3, 1fr); }
  .kpi-card:nth-child(n+4) { min-height: 136px; }
  .amount-kpi-grid { grid-template-columns: repeat(3, 1fr); }
  .amount-layout { grid-template-columns: 1fr; }
  .map-layout { grid-template-columns: 1fr; }
  .region-side { display: grid; grid-template-columns: 310px 1fr; gap: 25px; align-items: start; }
  .region-summary { margin-bottom: 0; }
}

@media (max-width: 880px) {
  .topbar, .hero-content, .filter-dock, .section { width: min(100% - 36px, 1320px); }
  .hero-content { grid-template-columns: 1fr; padding-top: 74px; }
  .hero-meta { max-width: 520px; }
  h1 { letter-spacing: -3px; }
  .section { padding: 58px 0; }
  .portfolio-section, .entities-section {
    width: 100%;
    padding-left: 18px;
    padding-right: 18px;
  }
  .section-heading { display: grid; gap: 16px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .amount-section { padding-top: 24px; }
  .region-side { display: block; }
  .region-summary { margin-bottom: 28px; }
  .methodology { grid-template-columns: 1fr; gap: 34px; }
  .source-row { grid-column: 1; }
}

@media (max-width: 680px) {
  .topbar { height: 74px; }
  .brand > span:last-child { display: none; }
  .hero-content { padding: 48px 0 62px; }
  .hero-meta { grid-template-columns: 1fr 1fr; }
  .filter-inner { grid-template-columns: 1fr; }
  .period-filter { grid-column: auto; }
  .segmented { width: 100%; overflow-x: auto; }
  .segmented button { flex: 1 0 auto; }
  .scope-line { align-items: flex-start; flex-direction: column; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .amount-kpi-grid { grid-template-columns: 1fr 1fr; }
  .kpi-card { min-height: 136px; padding: 18px; }
  .kpi-value { font-size: 30px; }
  .panel { padding: 20px; }
  .panel-head { align-items: flex-start; flex-direction: column; }
  .metric-switch { width: 100%; }
  .metric-switch button { flex: 1; }
  .chart-controls { width: 100%; }
  .trend-chart { min-height: 330px; overflow-x: auto; }
  .trend-chart svg { min-width: 720px; }
  .trend-foot, .ledger-toolbar { align-items: flex-start; flex-direction: column; }
  .portfolio-section, .entities-section { padding-top: 54px; padding-bottom: 54px; }
  .dark-panel { padding: 20px; }
  .bar-row { grid-template-columns: 105px 1fr 62px; gap: 9px; }
  .mix-row { grid-template-columns: 108px 1fr 48px; gap: 9px; }
  .map-panel { min-height: auto; padding: 14px; }
  .map-stage { min-height: auto; }
  .map-topline { align-items: flex-start; flex-direction: column; }
  .map-legend { align-items: flex-start; flex-direction: column; }
  .map-focus { grid-template-columns: 1fr 1fr; }
  .map-focus > span { grid-column: 1 / -1; }
  .amount-nature-panel { overflow-x: auto; }
  .amount-nature-chart { min-width: 640px; }
  .amount-nature-header, .amount-nature-row { grid-template-columns: 145px 190px 120px 125px; }
  .entity-toolbar { align-items: stretch; flex-wrap: wrap; }
  .entity-toolbar > div { width: 100%; }
  .entity-toolbar label { flex: 1; }
  .entity-toolbar select { width: 100%; min-width: 0; }
  .method-grid { grid-template-columns: 1fr; }
  footer { align-items: flex-start; flex-direction: column; }
}
