/* Approved sky, navy and teal dashboard. Scoped to the home overview. */
.ndc-dashboard-shell {
  --ndc-navy:#063267; --ndc-teal:#007f76;
  color:var(--ndc-navy);border-color:#bfeaff;padding:24px 20px 16px;
  background:#164e48 url('/assets/forest-dashboard.webp') center/cover no-repeat;
  box-shadow:0 18px 48px #073f5a26;
}
.ndc-dashboard-shell::before {
  background:linear-gradient(180deg,#9bddff 0,#eaf8ffed 9%,#eaf8ff00 31%,#002f3340 100%);
}
.ndc-dashboard-shell .ndc-dashboard-heading {
  align-items:center;gap:20px;margin-bottom:22px;padding:6px 8px 28px;
  position:relative;isolation:isolate;
}
.ndc-dashboard-heading::before {
  content:"";position:absolute;z-index:-1;inset:-30px -30px -2px;
  background:linear-gradient(180deg,#c6edffa8,#e6f6ffd9 62%,transparent),url('/assets/ndc-header-panorama-v1.webp') center bottom/cover no-repeat;
}
.ndc-dashboard-shell .ndc-dashboard-heading h2 {
  color:var(--ndc-navy);font-size:clamp(23px,2.7vw,42px);line-height:1.4;
  font-weight:850;text-shadow:0 1px 1px #ffffffb3;margin:4px 0;
}
.ndc-dashboard-shell .ndc-dashboard-heading .eyebrow {
  color:var(--ndc-navy);font-size:clamp(10px,.95vw,14px);font-weight:800;letter-spacing:.1em;
}
.ndc-dashboard-shell .ndc-dashboard-heading>div>p:last-child {
  color:#183d64;font-size:clamp(12px,1.25vw,18px);line-height:1.6;white-space:normal;
}
.ndc-dashboard-shell .ndc-hero-link,.ndc-dashboard-shell .ndc-plan-button {
  background:linear-gradient(115deg,#00bdab 0,#008cba 42%,#034992 100%);
  border:1px solid #e9ffff;border-radius:18px;min-height:48px;
  box-shadow:inset 0 2px 5px #ffffff55,0 0 0 2px #5ee6ff80,0 7px 18px #005b8580;
  color:#fff!important;font-size:clamp(12px,1.2vw,18px);font-weight:800;
}
.ndc-dashboard-shell .ndc-dashboard-scroll {overflow:visible;padding:3px;}
.ndc-dashboard-shell .ndc-dashboard-grid {
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr) minmax(0,1fr);
  min-width:0;gap:14px;align-items:stretch;
}
.ndc-dashboard-shell .ndc-dashboard-column {flex:initial;min-width:0;order:initial;}
.ndc-dashboard-shell .ndc-target-column {gap:12px;grid-template-rows:auto auto 1fr;}
.ndc-dashboard-shell .ndc-glass-card,.ndc-dashboard-shell .ndc-plan-column {
  position:relative;overflow:visible;color:var(--ndc-navy);
  border:1px solid #eaffff;border-radius:22px;
  background:linear-gradient(140deg,#effbfff5,#e6f6fff5 60%,#e3fbf7f2);
  box-shadow:inset 0 0 0 7px #b1eaff70,inset 0 2px 0 #fff,0 8px 20px #03395938,0 0 0 2px #8cddf95e;
  padding:clamp(14px,1.5vw,23px);backdrop-filter:blur(10px);
}
.ndc-dashboard-shell .ndc-goal-achieved {border:1px solid #eaffff;}
.ndc-dashboard-shell .ndc-goal-year {color:var(--ndc-navy);font-size:clamp(16px,1.6vw,25px);margin:2px 0 12px;letter-spacing:0;}
.ndc-dashboard-shell .ndc-metric-row {
  display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;
  gap:4px 10px;padding:8px 9px;margin:6px 0 0;
  border-radius:12px;background:linear-gradient(90deg,#d8f3ffbd,#ffffff70);
}
.ndc-dashboard-shell .ndc-metric-row>span {font-size:clamp(12px,1.3vw,19px);font-weight:800;}
.ndc-dashboard-shell .ndc-metric-row>strong {
  display:inline-flex;align-items:baseline;gap:5px;white-space:nowrap;
  color:var(--ndc-teal);font-size:inherit;line-height:1.1;text-shadow:0 2px #fff;
  letter-spacing:-.025em;
}
.ndc-dashboard-shell .ndc-metric-number {font-size:clamp(36px,4.15vw,64px);font-weight:850;font-variant-numeric:tabular-nums;}
.ndc-dashboard-shell .ndc-metric-unit {font-size:clamp(13px,1.5vw,23px);font-weight:800;letter-spacing:-.04em;}
.ndc-dashboard-shell .ndc-goal-current-row>strong {color:#0753a0;}
.ndc-achievement-badge {font-size:clamp(9px,.8vw,12px);color:#08427c;background:#baf0fd;border:1px solid #a4e8f6;border-radius:12px;padding:7px 9px;margin-left:auto;white-space:nowrap;}
.ndc-dashboard-shell .ndc-card-line {font-size:clamp(12px,1.15vw,18px);gap:8px;line-height:1.5;margin:5px 0;}
.ndc-dashboard-shell .ndc-card-line b {color:var(--ndc-navy);font-weight:800;white-space:nowrap;}
.ndc-dashboard-shell .ndc-card-line.ndc-progress-exact b {color:var(--ndc-teal);}
.ndc-dashboard-shell .ndc-progress-track {height:16px;background:#cde9ed;box-shadow:inset 0 2px 4px #0b7d9320;border:1px solid #acdeed;}
.ndc-dashboard-shell .ndc-progress-track span {background:linear-gradient(90deg,#0067ca,#00a9d7 55%,#14c797);box-shadow:inset 0 2px 3px #ffffff90;}
.ndc-dashboard-shell .ndc-progress-exact {border-color:#bddce8;}
.ndc-dashboard-shell .ndc-exceeded-line b {color:#063d98;}
.ndc-dashboard-shell .ndc-mini-note {background:#fff8e6;color:#44506a;font-size:clamp(10px,.9vw,13px);line-height:1.6;margin-top:10px;}
.ndc-dashboard-shell .ndc-national-card {overflow:hidden;}
.ndc-dashboard-shell .ndc-national-card::after {background:radial-gradient(circle at 35% 35%,#b7ebeb,#8fd6e24d);width:135px;height:135px;right:-28px;bottom:-35px;}
.ndc-dashboard-shell .ndc-national-badge {background:linear-gradient(120deg,#008b7e,#006d82);font-size:clamp(11px,1.1vw,16px);box-shadow:inset 0 1px 3px #ffffff55;}
.ndc-dashboard-shell .ndc-national-card>strong {color:#007d68;font-size:clamp(36px,3.7vw,57px);font-weight:850;margin-top:9px;}
.ndc-dashboard-shell .ndc-national-card p,.ndc-dashboard-shell .ndc-national-card a {font-size:clamp(11px,1.05vw,16px);line-height:1.6;color:var(--ndc-navy);}
.ndc-dashboard-shell .ndc-national-card a {display:inline-block;padding:3px 10px;border:1px solid #91d2f4;background:#e2f6ff;border-radius:9px;text-decoration:none;}
.ndc-dashboard-shell .ndc-map-column {
  min-height:640px;overflow:visible;border:1px solid #d6faff;
  background:linear-gradient(180deg,#007b9b57,#00363e8c 55%,#002c367d);
  box-shadow:inset 0 0 0 5px #5dd4ff28,0 0 0 2px #5ddaff80,0 10px 25px #002f5670;
  color:#fff;
}
.ndc-dashboard-shell .ndc-map-title {margin:14px 13px 0;padding:14px 12px;border:1px solid #9ee5ff70;border-radius:22px;background:linear-gradient(135deg,#00688a99,#0c4e6c70);box-shadow:inset 0 1px 2px #ffffff20;}
.ndc-dashboard-shell .ndc-map-title b {font-size:clamp(16px,1.65vw,25px);line-height:1.5;}
.ndc-dashboard-shell .ndc-map-title small {font-size:clamp(10px,1.15vw,17px);color:#e6faff;line-height:1.5;}
.ndc-dashboard-shell .ndc-map-pin {flex-shrink:0;width:32px;height:32px;background:linear-gradient(135deg,#ffd933,#f6a400);}
.ndc-dashboard-shell .ndc-map-stage {padding:10px 8px;min-height:450px;}
.ndc-dashboard-shell .ndc-map-art {width:100%;max-width:470px;height:460px;margin-inline:auto;}
.ndc-dashboard-shell .ndc-map-art>img {height:100%;width:100%;}
.ndc-dashboard-shell .ndc-saraburi-callout {top:43%;right:7%;left:auto;width:46%;max-width:230px;padding:12px 14px;gap:0;border:1.5px solid #abf6ff;background:linear-gradient(140deg,#f7feff,#def5ff);box-shadow:inset 0 0 0 3px #99e9ff50,0 5px 14px #003e6370;}
.ndc-dashboard-shell .ndc-saraburi-callout::before {border-color:#49deed;}
.ndc-dashboard-shell .ndc-saraburi-callout b {font-size:clamp(13px,1.4vw,21px);color:var(--ndc-navy);line-height:1.5;}
.ndc-dashboard-shell .ndc-saraburi-callout small {font-size:clamp(17px,2vw,30px);color:#0753a0;overflow-wrap:normal;line-height:1.25;}
.ndc-dashboard-shell .ndc-callout-unit {font-size:.8em;white-space:nowrap;}
.ndc-dashboard-shell .ndc-map-summary {font-size:clamp(10px,1.05vw,16px);line-height:1.5;background:#002d3bb0;border-radius:0 0 20px 20px;}
.ndc-dashboard-shell .ndc-map-rank-legend {font-size:clamp(9px,.9vw,13px);background:#003544c9;}
.ndc-dashboard-shell .ndc-plan-column {padding:14px;}
.ndc-dashboard-shell .ndc-plan-head {padding:8px 0 14px;border-color:#bedeea;}
.ndc-dashboard-shell .ndc-card-kicker {color:var(--ndc-navy);font-size:clamp(12px,1.35vw,20px);letter-spacing:0;}
.ndc-dashboard-shell .ndc-plan-head h3 {font-size:clamp(14px,1.5vw,22px);color:var(--ndc-navy);line-height:1.5;}
.ndc-dashboard-shell .ndc-plan-head>span {background:linear-gradient(140deg,#00b394,#007f88);border:2px solid #e9ffff;box-shadow:0 0 0 4px #8be7ed60,inset 0 2px 5px #ffffff55;flex-shrink:0;}
.ndc-dashboard-shell .ndc-sector-list {gap:8px;margin:10px 0 13px;}
.ndc-dashboard-shell .ndc-sector-row {grid-template-columns:40px minmax(0,1fr) 12px;gap:9px;padding:10px 9px;border:1px solid #e2f6ff;border-radius:16px;background:linear-gradient(120deg,#fff,#f7fcff);color:var(--ndc-navy)!important;min-height:64px;box-shadow:0 3px 8px #075d8420;}
.ndc-dashboard-shell .ndc-sector-row strong {font-size:clamp(11px,1.05vw,16px);line-height:1.45;color:var(--ndc-navy);font-weight:800;}
.ndc-dashboard-shell .ndc-sector-row small {display:block;font-size:clamp(9px,.85vw,13px);line-height:1.5;color:#526580;}
.ndc-dashboard-shell .ndc-sector-row>b {color:#008eaa;font-size:26px;}
.ndc-dashboard-shell .ndc-sector-icon {width:40px;height:43px;color:#eaffff;border:2px solid #fff;border-radius:13px;background:linear-gradient(145deg,#08c4ba,#008ba6 55%,#0064a4);box-shadow:0 0 0 3px #a2e7f46b,inset 0 2px 5px #ffffff80,0 3px 4px #005b8226;}
.ndc-sector-icon svg {width:26px;height:26px;}
.ndc-dashboard-shell [data-ndc-theme="energy"] .ndc-sector-icon {color:#fff168;background:linear-gradient(145deg,#1bafdb,#0067b2);}
.ndc-dashboard-shell [data-ndc-theme="agriculture"] .ndc-sector-icon,.ndc-dashboard-shell [data-ndc-theme="lulucf"] .ndc-sector-icon {color:#c6ff86;background:linear-gradient(145deg,#03cbb6,#008e92 60%,#006d91);}
.ndc-dashboard-shell [data-ndc-theme="waste"] .ndc-sector-icon {color:#b6fa78;}
.ndc-dashboard-shell .ndc-dashboard-footnote {color:#f0fbff;background:#003d50cc;font-size:clamp(10px,.95vw,14px);}
.ndc-dashboard-shell :is(a,button):focus-visible {outline:3px solid #ffdd65;outline-offset:4px;}
/* Tiny decorative stars are layered above surfaces, away from labels. */
.ndc-glint {position:absolute!important;display:block!important;width:10px;height:10px;z-index:5;pointer-events:none;background:#fff;clip-path:polygon(50% 0,60% 39%,100% 50%,60% 61%,50% 100%,40% 61%,0 50%,40% 39%);filter:drop-shadow(0 0 3px #b4f6ff);animation:ndc-twinkle 5.5s ease-in-out infinite;}
.ndc-glint-top-left {left:2px;top:1px;animation-delay:-2.2s;}
.ndc-glint-top-right {right:16px;top:9px;animation-delay:-.6s;}
.ndc-glint-result-edge {left:9px;top:-4px;animation-delay:-3.4s;}
.ndc-glint-national-edge {left:8px;top:0;animation-delay:-1.8s;}
.ndc-glint-map-top {left:6px;top:-4px;animation-delay:-2.5s;}
.ndc-glint-map-title {right:9px;top:100px;animation-delay:-3.5s;}
.ndc-glint-map-bottom-left {left:-3px;bottom:8px;animation-delay:-.9s;}
.ndc-glint-map-bottom-right {right:4px;bottom:3px;animation-delay:-3.9s;}
.ndc-glint-callout-top {right:4px;top:0;animation-delay:-1.1s;}
.ndc-glint-callout-bottom {right:26px;bottom:-4px;animation-delay:-4.2s;}
.ndc-glint-plan-middle {right:-4px;top:40%;animation-delay:-2.9s;}
@keyframes ndc-twinkle {0%,100%{opacity:.35;transform:scale(.65)}50%{opacity:1;transform:scale(1.1)}}
@media (min-width:721px) and (max-width:1100px) {
  .ndc-dashboard-shell {padding:17px 11px 12px;}
  .ndc-dashboard-shell .ndc-dashboard-grid {gap:10px;}
  .ndc-dashboard-shell .ndc-dashboard-heading {display:flex;flex-direction:row;align-items:center;}
  .ndc-dashboard-shell .ndc-dashboard-heading>.ndc-hero-link {width:auto!important;min-width:0;flex-shrink:0;font-size:12px;padding:9px;}
  .ndc-dashboard-shell .ndc-glass-card {padding:15px 12px;}
  .ndc-dashboard-shell .ndc-metric-row {gap:3px 6px;padding:7px 5px;}
  .ndc-dashboard-shell .ndc-metric-unit {font-size:13px;}
  .ndc-dashboard-shell .ndc-metric-number {font-size:38px;}
  .ndc-achievement-badge {font-size:9px;padding:4px 6px;}
  .ndc-dashboard-shell .ndc-map-column {min-height:620px;}
  .ndc-dashboard-shell .ndc-map-title {padding:11px 8px;margin:11px 8px 0;gap:8px;}
  .ndc-dashboard-shell .ndc-map-pin {width:24px;height:24px;}
  .ndc-dashboard-shell .ndc-map-art {height:430px;}
  .ndc-dashboard-shell .ndc-map-stage {min-height:430px;}
  .ndc-dashboard-shell .ndc-saraburi-callout {right:5%;padding:8px;width:47%;}
  .ndc-dashboard-shell .ndc-saraburi-callout::before {left:-34px;width:37px;}
  .ndc-dashboard-shell .ndc-saraburi-callout::after {left:-42px;}
  .ndc-dashboard-shell .ndc-saraburi-callout small {font-size:17px;}
  .ndc-dashboard-shell .ndc-map-summary {padding:9px;gap:5px;flex-wrap:wrap;}
  .ndc-dashboard-shell .ndc-plan-column {padding:11px 9px;}
  .ndc-dashboard-shell .ndc-sector-row {grid-template-columns:29px minmax(0,1fr) 8px;gap:6px;padding:9px 6px;}
  .ndc-dashboard-shell .ndc-sector-icon {width:28px;height:33px;border-radius:10px;}
  .ndc-sector-icon svg {width:21px;height:21px;}
  .ndc-dashboard-shell .ndc-plan-head {gap:7px;}
  .ndc-dashboard-shell .ndc-plan-head>span {width:30px;height:33px;}
}
@media (max-width:720px) {
  .ndc-dashboard-shell {margin-inline:0;padding:18px 12px 12px;}
  .ndc-dashboard-shell .ndc-dashboard-heading {display:flex;flex-direction:column;align-items:flex-start;padding:0 3px 18px;margin-bottom:14px!important;}
  .ndc-dashboard-shell .ndc-dashboard-heading h2 {font-size:25px;line-height:1.45;}
  .ndc-dashboard-shell .ndc-dashboard-heading .eyebrow {font-size:10px;}
  .ndc-dashboard-shell .ndc-dashboard-heading>div>p:last-child {font-size:13px;line-height:1.6;white-space:normal;}
  .ndc-dashboard-shell .ndc-dashboard-heading>.ndc-hero-link {width:100%!important;align-self:stretch;box-sizing:border-box;margin-top:8px;font-size:15px;}
  .ndc-dashboard-shell .ndc-dashboard-grid {grid-template-columns:minmax(0,1fr);gap:16px;}
  .ndc-dashboard-shell .ndc-target-column {gap:12px;}
  .ndc-dashboard-shell .ndc-goal-year {font-size:21px;}
  .ndc-dashboard-shell .ndc-metric-row>span {font-size:16px;}
  .ndc-dashboard-shell .ndc-metric-number {font-size:52px;}
  .ndc-dashboard-shell .ndc-metric-unit {font-size:19px;}
  .ndc-achievement-badge {font-size:11px;padding:6px;}
  .ndc-dashboard-shell .ndc-card-line {font-size:15px;}
  .ndc-dashboard-shell .ndc-mini-note {font-size:12px;}
  .ndc-dashboard-shell .ndc-national-card>strong {font-size:48px;}
  .ndc-dashboard-shell .ndc-national-card p,.ndc-dashboard-shell .ndc-national-card a {font-size:14px;}
  .ndc-dashboard-shell .ndc-national-badge {font-size:14px;}
  .ndc-dashboard-shell .ndc-map-column {min-height:580px;}
  .ndc-dashboard-shell .ndc-map-title b {font-size:21px;}
  .ndc-dashboard-shell .ndc-map-title small {font-size:13px;}
  .ndc-dashboard-shell .ndc-map-stage {min-height:440px;}
  .ndc-dashboard-shell .ndc-map-art {height:440px;max-width:400px;}
  .ndc-dashboard-shell .ndc-saraburi-callout b {font-size:17px;}
  .ndc-dashboard-shell .ndc-saraburi-callout small {font-size:22px;}
  .ndc-dashboard-shell .ndc-saraburi-callout {right:4%;width:47%;padding:10px;}
  .ndc-dashboard-shell .ndc-map-summary {font-size:11px;padding:10px;gap:7px;}
  .ndc-dashboard-shell .ndc-map-rank-legend {font-size:10px;}
  .ndc-dashboard-shell .ndc-card-kicker {font-size:17px;}
  .ndc-dashboard-shell .ndc-plan-head h3 {font-size:20px;}
  .ndc-dashboard-shell .ndc-sector-row strong {font-size:15px;}
  .ndc-dashboard-shell .ndc-sector-row small {font-size:12px;}
  .ndc-dashboard-shell .ndc-sector-row {min-height:72px;grid-template-columns:40px minmax(0,1fr) 12px;}
  .ndc-dashboard-shell .ndc-plan-button {font-size:15px;}
}
@media (max-width:370px) {
  .ndc-dashboard-shell .ndc-metric-number {font-size:44px;}
  .ndc-dashboard-shell .ndc-metric-unit {font-size:16px;}
}
@media (prefers-reduced-motion:reduce) {.ndc-glint {animation:none;opacity:.8;}}
@media print {.ndc-glint {display:none!important}.ndc-dashboard-shell {background:#fff;box-shadow:none;}}
