/* Approved energy-crop theme. Official palette: SDG 7 #FCC30B, SDG 12 #BF8B2E, SDG 13 #3F7E44.
   Existing overview nature artwork is reused; no font, JS, or data dependency is added. */
html body[data-map-theme="sdg-nature"]{position:relative;isolation:isolate;background:#e9f6fd!important;color:#163d59}
html body[data-map-theme="sdg-nature"]::before{content:"";display:block!important;position:absolute;inset:0 0 auto;width:100%;height:clamp(1200px,110vw,1700px);z-index:-1;pointer-events:none;background:linear-gradient(180deg,#eaf8ff3d 0%,transparent 22%,transparent 82%,#e9f6fd 100%),url('/assets/ndc-nature-v127.webp') center top/cover no-repeat;opacity:1;filter:none;transform:none}
body[data-map-theme="sdg-nature"] .sdg-preview-note{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 20px;margin:0 0 12px;padding:11px 16px;background:#fffef4;border:1px solid #e0d7ad;border-left:4px solid #fcc30b;border-radius:12px;color:#284b35;font-size:13px;box-shadow:0 3px 10px #22472f0a}
.sdg-preview-note strong{display:block;font-size:15px}.sdg-preview-note span{font-size:12px;color:#5b6b5e}.sdg-preview-note nav{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.sdg-preview-note a{color:#285d3c;text-decoration:underline;text-underline-offset:3px}.sdg-preview-note details{position:relative}.sdg-preview-note summary{cursor:pointer;min-height:36px;align-content:center}.sdg-preview-note details>div{position:absolute;right:0;z-index:20;min-width:180px;background:white;border:1px solid #c3d6c6;border-radius:10px;padding:8px;box-shadow:0 6px 16px #173b3026}.sdg-preview-note details a{display:block;padding:10px}
html body[data-map-theme="sdg-nature"] .panel{background:linear-gradient(145deg,#fffffff5,#f4faf1f5)!important;border-color:#ccddc9!important;box-shadow:0 4px 0 #bacfb970,0 8px 18px #1f4f2f13,inset 0 1px #fff!important}
html body[data-map-theme="sdg-nature"] .panel h2{color:#254f38!important}
html body[data-map-theme="sdg-nature"] .stat{border-color:#cedfca;background:linear-gradient(145deg,#fff,#eef6e9);box-shadow:0 3px 0 #bfd6ba,0 6px 12px #244c2a0d}
html body[data-map-theme="sdg-nature"] .stat strong{color:#3f7e44!important}
html body[data-map-theme="sdg-nature"] .stat:nth-child(2){background:linear-gradient(145deg,#fff,#fff8de)}
html body[data-map-theme="sdg-nature"] .stat:nth-child(3){background:linear-gradient(145deg,#fff,#e3f0e1)}
html body[data-map-theme="sdg-nature"] .stat:nth-child(4){background:linear-gradient(145deg,#fff,#f7efdd)}
html body[data-map-theme="sdg-nature"] .map{background:transparent!important;border-color:transparent!important;box-shadow:none!important}
html body[data-map-theme="sdg-nature"] .map .maphead{color:#103e63!important;background:#eff9ffdf;border-radius:12px;padding:10px 12px;text-shadow:0 1px #fff}
html body[data-map-theme="sdg-nature"] .map svg{filter:drop-shadow(0 7px 4px #21412d38)}
body[data-map-theme="sdg-nature"] .map .provincepath{stroke:#fff;stroke-width:.9;stroke-linejoin:round}
body[data-map-theme="sdg-nature"] .map a>rect{fill:#075174;stroke:#e6f8ff}
body[data-map-theme="sdg-nature"] .map .pin{stroke:#fff;stroke-width:2}
body[data-map-theme="sdg-nature"] .map a>line{stroke:#fff;stroke-width:1.5}
body[data-map-theme="sdg-nature"] .map .maplabel,body[data-map-theme="sdg-nature"] .map .mapvalue{fill:white}
body[data-map-theme="sdg-nature"] .map a:focus-visible{outline:none}
body[data-map-theme="sdg-nature"] .map a:focus-visible>rect{stroke:#173c30;stroke-width:4}
body[data-map-theme="sdg-nature"] .map a:hover>rect{fill:#0b628e}
body[data-map-theme="sdg-nature"] .map .attribution{background:#075174d9!important}
body[data-map-theme="sdg-nature"] .sdg-context{margin:0 12px 12px;padding:12px;background:#fffffff2;border:1px solid #d5e2c7;border-radius:13px;color:#234932}
.sdg-context h3{margin:0 0 10px;font-size:13px;line-height:1.5;text-align:center}
.sdg-wheel-centered{display:flex;justify-content:center;margin:0 0 10px}
.sdg-wheel-centered img{display:block;width:44px;height:44px;object-fit:contain}
.sdg-goal-label{font-size:11px;line-height:1.3;font-weight:700;color:#234932}
.sdg-goals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.sdg-goals>div{display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center;font-size:11px;line-height:1.6}
.sdg-goals b{display:grid;place-items:center;width:35px;height:35px;border-radius:7px;font:800 20px/1 system-ui,sans-serif}
.sdg-goals .sdg-7{background:#fcc30b;color:#27352a}.sdg-goals .sdg-12{background:#bf8b2e;color:#182b20}.sdg-goals .sdg-13{background:#3f7e44;color:white}
.sdg-context p{margin:10px 0 0;padding-top:9px;border-top:1px solid #e1e9d7;font-size:10px;line-height:1.7;color:#57684e;text-align:center}
body[data-map-theme="sdg-nature"] .shell>p[role=status]{background:#f6faf1!important;color:#39583d!important}
body[data-map-theme="sdg-nature"] .map-data-details{color:#3f6045}
@media(max-width:850px){.sdg-preview-note span{display:none}.sdg-preview-note nav{gap:10px;font-size:11px}.sdg-preview-note strong{font-size:13px}.sdg-context{margin-inline:8px!important;padding:10px!important}.sdg-goals{gap:6px}.sdg-goals>div{font-size:10px}.sdg-goals b{width:30px;height:30px;font-size:18px}}

@media(max-width:600px){html body[data-map-theme="sdg-nature"]::before{height:2200px}}

/* Approved iPhone landscape layout: the map remains centered; detail panels fill the next rows. */
@media (min-width:581px) and (max-width:1000px) and (max-height:500px) and (orientation:landscape){
 html body[data-map-theme="sdg-nature"][data-map-layout] .shell{padding-inline:max(12px,env(safe-area-inset-left)) max(12px,env(safe-area-inset-right))}
 html body[data-map-theme="sdg-nature"][data-map-layout] .grid{row-gap:16px!important}
 html body[data-map-theme="sdg-nature"][data-map-layout] .grid>.col{display:contents!important}
 html body[data-map-theme="sdg-nature"][data-map-layout] .grid>.col>section{grid-column:1/-1!important;min-width:0;width:100%;margin:0!important}
 html body[data-map-theme="sdg-nature"][data-map-layout] .left>section:first-child{grid-column:1!important;grid-row:1!important}
 html body[data-map-theme="sdg-nature"][data-map-layout] .center>#map{grid-column:2!important;grid-row:1!important}
 html body[data-map-theme="sdg-nature"][data-map-layout] .left>section:nth-child(2){grid-column:3!important;grid-row:1!important}
 html body[data-map-theme="sdg-nature"][data-map-layout] #report{grid-row:2!important}
 html body[data-map-theme="sdg-nature"][data-map-layout] .right>section:first-child{grid-row:3!important}
 html body[data-map-theme="sdg-nature"][data-map-layout] .left>section:nth-child(3){grid-row:4!important}
 html body[data-map-theme="sdg-nature"][data-map-layout] .right>section:nth-child(2){grid-row:5!important}
 html body[data-map-theme="sdg-nature"][data-map-layout] .right>section:nth-child(3){grid-row:6!important}
 html body[data-map-theme="sdg-nature"][data-map-layout] .right>section:nth-child(4){grid-row:7!important}
 html body[data-map-theme="sdg-nature"][data-map-layout] #report table{width:100%;min-width:600px;table-layout:auto;font-size:13px}
 html body[data-map-theme="sdg-nature"][data-map-layout] #report th,
 html body[data-map-theme="sdg-nature"][data-map-layout] #report td{padding:10px 8px;white-space:normal;line-height:1.5}
 html body[data-map-theme="sdg-nature"][data-map-layout] .right>section:first-child{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 html body[data-map-theme="sdg-nature"][data-map-layout] .right>section:first-child>h2,
 html body[data-map-theme="sdg-nature"][data-map-layout] .right>section:first-child>.footnote{grid-column:1/-1;margin:0}
 html body[data-map-theme="sdg-nature"][data-map-layout] .ranking{display:grid;grid-template-columns:28px minmax(0,1fr);align-content:start;align-items:start;gap:8px;padding:12px;background:#ffffffb8;border:1px solid #d6e5da;border-radius:12px}
 html body[data-map-theme="sdg-nature"][data-map-layout] .ranking .ranknum{grid-column:1;grid-row:1}
 html body[data-map-theme="sdg-nature"][data-map-layout] .ranking .rankinfo{grid-column:2;grid-row:1;width:auto}
 html body[data-map-theme="sdg-nature"][data-map-layout] .ranking .thumb{grid-column:2;grid-row:2;width:100%!important;height:72px!important;min-height:0}
 html body[data-map-theme="sdg-nature"][data-map-layout] .donutrow{grid-template-columns:140px minmax(0,1fr);align-items:center;gap:24px}
 html body[data-map-theme="sdg-nature"][data-map-layout] .legend{font-size:14px}
 html body[data-map-theme="sdg-nature"][data-map-layout] .cropbar{font-size:14px}
 html body[data-map-theme="sdg-nature"][data-map-layout] .noteitem{font-size:14px;line-height:1.7}
 html body[data-map-theme="sdg-nature"][data-map-layout] .grid>.right>section>h2,
 html body[data-map-theme="sdg-nature"][data-map-layout] #report>h2,
 html body[data-map-theme="sdg-nature"][data-map-layout] .left>section:nth-child(3)>h2{font-size:18px!important}
}
