
/* V18: scoped improvements on the approved Model A. */
:root{--d17-footer:#103b2f;--d17-footerText:#ffffff;--d18-header-position:sticky}
html{scroll-padding-top:125px}body{background:var(--d17-paper);color:var(--d17-text)}
body>.he-header,.app:not(.admin-app)>.he-header{position:var(--d18-header-position)!important;top:0;z-index:1000}
.he-brand .v18-official-logo{height:65px;width:auto;max-width:300px;object-fit:contain;display:block}.he-brand:has(.v18-official-logo){display:flex!important;min-width:90px!important;align-items:center}
.app:not(.admin-app) .site-footer,body>.p-footer,body>footer{background:var(--d17-footer)!important;color:var(--d17-footerText)!important}
.app:not(.admin-app) .site-footer *,body>.p-footer *,body>footer *{color:var(--d17-footerText)!important;border-color:color-mix(in srgb,var(--d17-footerText) 22%,transparent)!important}
.app:not(.admin-app) .site-footer a:hover,body>.p-footer a:hover{text-decoration:underline}
.v17-explorer .ref-bottom>a{background:var(--d17-surface)!important;color:var(--d17-text)!important;border:1px solid #c9d7cb!important;min-height:180px;overflow:hidden;border-top:3px solid var(--d17-accent)!important}
.v17-explorer .ref-bottom>a>div{background:var(--d17-surface)!important;position:relative;z-index:2;width:100%}.v17-explorer .ref-bottom .ref-atlas{display:none!important}.v17-explorer .ref-bottom h2,.v17-explorer .ref-bottom p,.v17-explorer .ref-bottom svg{color:var(--d17-text)!important}.v17-explorer .ref-bottom a:hover{box-shadow:0 7px 22px #163b2d12;transform:translateY(-2px)}
.v18-edition-select{display:grid;gap:7px;font:12px var(--d17-body);margin:10px 0 18px}.v18-edition-select select{width:100%;padding:9px;background:var(--d17-surface);color:var(--d17-text);border:1px solid #cbd6ca}
.v18-open-strip{border-top:1px solid #d7dece;background:#eef2eb!important}.he-strip-intro>a{color:#85631d!important}.he-top-list{min-width:0}.he-slide-control{display:flex;gap:10px;align-items:center;width:auto!important;max-width:250px;bottom:24px!important;right:24px!important}.he-slide-control button{background:#103b2fe6;color:white;border:1px solid #c1d2c4;font:13px Arial;padding:5px 8px;cursor:pointer}.he-slide-control>span{font-size:12px}.he-hero-caption{padding-bottom:60px!important}
.v16-home .v18-story-rail{display:flex!important;gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;padding-bottom:12px;overscroll-behavior-inline:contain}.v16-home .v18-story-rail .v16-story{flex:0 0 calc((100% - 72px)/4);width:calc((100% - 72px)/4);display:flex!important;flex-direction:column;min-width:0}.v16-home .v18-story-rail .v16-story-image{height:190px!important;min-height:190px!important;width:100%!important;aspect-ratio:auto;display:block!important;overflow:hidden}.v16-home .v18-story-rail img{width:100%;height:100%;object-fit:cover}.v18-story-rail .v16-story-copy{display:flex;flex:1;flex-direction:column}.v18-story-rail .v16-story h3{font-size:23px;line-height:1.28;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;min-height:118px}.v18-story-rail .v16-story p{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.v18-story-rail .v16-read{margin-top:auto}.v18-carousel-controls{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin-top:12px}.v18-carousel-controls button,.v18-map-zoom button{cursor:pointer;padding:8px 14px;border:1px solid #c4d0c1;background:white;color:#163f30}.v18-carousel-controls button:disabled{opacity:.45}
.v18-world-map{margin:40px auto;padding:30px;background:var(--d17-surface);border:1px solid #d2dccf;border-top:3px solid var(--d17-accent);color:var(--d17-text)}.v18-map-page{margin-top:45px;margin-bottom:55px}.v18-map-heading{display:flex;gap:25px;justify-content:space-between;align-items:center}.v18-map-heading h2{font:42px var(--d17-heading);margin:8px 0}.v18-map-heading p{margin-top:0;color:var(--d17-muted)}.v18-map-heading>a{white-space:nowrap}.v18-map-controls{display:flex;gap:18px;flex-wrap:wrap;margin:20px 0}.v18-map-controls label{flex:1;min-width:180px;display:grid;gap:7px;font:12px var(--d17-body)}.v18-map-controls select{padding:12px;color:var(--d17-text);border:1px solid #cbd6ca;background:var(--d17-paper);width:100%}.v18-map-stats{display:grid;grid-template-columns:repeat(3,1fr);padding:18px 0;border-block:1px solid #e1e6dc;gap:20px}.v18-map-stats>div{display:grid;gap:6px}.v18-map-stats strong{font:32px var(--d17-heading)}.v18-map-stats span{font-size:12px;color:var(--d17-muted)}.v18-map-stage{position:relative;background:#f6f8f4;overflow:hidden;margin:20px 0 10px}.v18-map-stage svg{display:block;width:100%;max-height:500px;touch-action:pan-y}.v18-map-stage path{cursor:pointer;transition:fill .15s}.v18-map-stage path:hover,.v18-map-stage path:focus{fill:#d4ad4c;outline:none;stroke:#786020;stroke-width:1.2}.v18-map-stage path.selected{fill:#d4ad4c;stroke:#6b5115;stroke-width:1}.v18-map-zoom{display:flex;position:absolute;top:12px;right:12px;z-index:1;gap:4px}.v18-map-legend{display:flex;align-items:center;gap:15px;flex-wrap:wrap;padding:12px;font-size:11px}.v18-map-legend>span:first-child{display:flex;align-items:center;gap:6px}.v18-map-legend i{display:inline-block;width:12px;height:12px;background:#e7e9e3;border:1px solid #abb7ac}.v18-map-gradient{width:100px;height:10px;background:linear-gradient(90deg,#c1e1d5,#31775e)}.v18-country-results{border-top:1px solid #d7dece;padding-top:14px}.v18-country-results h3{font:26px var(--d17-heading);margin:8px 0}.v18-map-table{overflow-x:auto;max-height:460px}.v18-map-table table{width:100%;border-collapse:collapse;font-size:14px;background:white;color:var(--d17-text)}.v18-map-table th{background:#eef2eb;text-align:left}.v18-map-table td,.v18-map-table th{padding:12px;border-bottom:1px solid #e1e6dc}.v18-map-table td a{color:#145b46}.v18-map-table th:first-child{width:100px}
.editorial-page .editorial-masthead{background:#103b2f}.editorial-page .editorial-cover-copy h1,.editorial-page .editorial-cover-copy p,.editorial-page .editorial-cover-copy .eyebrow{color:#fff!important}.editorial-page .editorial-cover-shade{background:linear-gradient(90deg,#103b2ff5,#103b2f22)!important}.editorial-page .editorial-reading{font-family:var(--d17-body)!important;font-size:var(--d17-bodySize)!important;line-height:1.85;color:var(--d17-text)}.editorial-page .rich-article *{font-family:inherit!important;color:inherit}.editorial-page .rich-article h1,.editorial-page .rich-article h2,.editorial-page .rich-article h3{font-family:var(--d17-heading)!important}.editorial-cover-copy{z-index:2}
.v18-overall-method .v18-method-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:24px 0;padding:24px;background:#eef2eb}.v18-method-facts>div{display:grid;gap:6px}.v18-method-facts strong{font:34px var(--d17-heading)}.v18-overall-method .rich-article{font:var(--d17-bodySize)/1.85 var(--d17-body);color:var(--d17-text)}.v18-overall-method .rich-article div,.v18-overall-method .rich-article section{width:auto!important;max-width:100%!important;position:static!important;background:transparent!important;padding:0!important;border:0!important}.v18-overall-method .rich-article h2{font:30px var(--d17-heading);margin:30px 0 16px}.v18-overall-method .rich-article h3{font:24px var(--d17-heading)}.v18-overall-method .rich-article table{border-collapse:collapse;width:100%;font:14px var(--d17-body)}.v18-overall-method td,.v18-overall-method th{padding:12px;border:1px solid #cbd6ca}
.v18-collection-intro{height:220px;position:relative;overflow:hidden;border-radius:4px;margin-bottom:28px;background:#103b2f}.v18-collection-intro>img{width:100%;height:100%;object-fit:cover}.v18-collection-intro>div{position:absolute;inset:0;padding:36px;background:linear-gradient(90deg,#103b2ff5,#103b2f22);color:white;display:flex;flex-direction:column;justify-content:end}.v18-collection-intro .eyebrow{color:#e3c980!important}.v18-collection-intro p{font:26px Georgia;max-width:600px;margin:10px 0 0;color:white!important}.v18-content-card{overflow:hidden}.v18-content-card .v18-cover{width:calc(100% + 48px);max-width:none;height:200px;object-fit:cover;margin:-24px -24px 24px;border-radius:0}.v18-scholar-avatar{width:72px;height:72px;border-radius:50%;background:#edf2e9;border:1px solid #cfdbcb;display:grid;place-items:center;font:38px Georgia;color:#225341;margin-bottom:18px}.v18-scholar-metrics{display:flex;flex-wrap:wrap;font-size:12px;gap:8px;margin-bottom:18px}.v18-scholar-metrics span{padding:6px 10px!important;border:0!important;background:#edf2e9;color:#225341}.v18-article-cover{width:100%;height:350px;object-fit:cover;margin-bottom:12px}.v18-reading-time{font-size:13px;color:var(--d17-muted);border-bottom:1px solid #d6dece;padding-bottom:18px}.p-article .p-prose{font-family:var(--d17-body);line-height:1.9}.p-heading h1{line-height:1.12}.v18-brand-preview{display:block;max-width:260px;height:75px;object-fit:contain;margin:10px 0}.v18-editor-controls label{margin-bottom:16px}.v18-link-row{display:flex;gap:12px;align-items:center}.v18-link-row label{flex:1;min-width:0}.v18-link-row input{width:100%}
@media(max-width:1000px){.v16-home .v18-story-rail .v16-story{flex-basis:calc((100% - 24px)/2);width:calc((100% - 24px)/2)}.v18-world-map{padding:22px}.v18-map-heading h2{font-size:34px}.he-brand .v18-official-logo{height:55px;max-width:220px}}
@media(max-width:600px){.v16-home .v18-story-rail .v16-story{flex-basis:88%;width:88%}.v18-map-heading{display:block}.v18-map-stats{gap:10px}.v18-map-stats strong{font-size:24px}.v18-map-stats span{font-size:10px}.v18-world-map{padding:16px;margin-block:26px}.v18-map-controls{gap:10px}.v18-map-controls label{min-width:125px}.v18-map-stage{margin-inline:-10px}.v18-map-zoom{position:static;padding:8px}.v18-map-legend{font-size:10px;gap:7px}.v18-map-stage svg{min-height:220px}.v18-link-row{display:block}.v18-overall-method .v18-method-facts{padding:14px;gap:8px}.v18-method-facts strong{font-size:24px}.v18-method-facts span{font-size:10px}.v18-article-cover{height:220px}.he-brand .v18-official-logo{height:48px;max-width:195px}.v18-collection-intro>div{padding:20px}.v18-collection-intro p{font-size:23px}.he-slide-control{right:12px!important}}
@media(prefers-reduced-motion:reduce){.v18-story-rail{scroll-behavior:auto!important}.v18-map-stage path{transition:none}}
/* Explicit light control contrast, overriding legacy terminal select rules. */
.v18-world-map .v18-map-controls label{color:var(--d17-text)!important}.v18-world-map .v18-map-controls select,.v17-explorer .v18-edition-select select{background:var(--d17-surface)!important;color:var(--d17-text)!important}.v18-world-map .v18-map-heading p,.v18-world-map .small-note{color:var(--d17-muted)!important}.v18-world-map .v18-map-table a{color:var(--d17-text)!important}

.v18-topic-tags{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}.v18-topic-tags span{background:#edf2e9;color:#225341!important;padding:5px 8px;border:1px solid #d4dece;font-size:11px}.v18-figure-context{display:flex;gap:24px;align-items:flex-start;background:var(--d17-surface);padding:24px;border:1px solid #d1ddcf;margin:15px 0 25px}.v18-figure-context .v18-scholar-avatar{flex-shrink:0}.v18-figure-context h2{font:25px var(--d17-heading);margin:8px 0}.v18-figure-context p{font-size:14px}@media(max-width:600px){.v18-figure-context{display:block}}

.v18-publication-preview{display:block;width:260px;max-width:100%;height:150px;object-fit:cover;margin:15px 0}
