.country-workspace-hero{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px 28px;border-bottom:1px solid #d8ddd8;background:linear-gradient(110deg,#eef2e8,#f7ead2)}
.country-workspace-hero h2{margin:3px 0;font-size:30px}.country-workspace-hero h2 span{display:block;margin-top:3px;color:#68786e;font:600 12px "Space Grotesk",sans-serif}
#countryModal{width:min(1380px,96vw);height:auto;max-height:92vh;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}#countryModal>.modal-close{position:sticky;top:12px;right:12px;float:right;z-index:20}#countryModalContent{position:relative;isolation:isolate;display:block;width:100%;height:auto;min-height:0;overflow:visible}.country-spotlight-bg{--spot-x:50%;--spot-y:42%;position:sticky;z-index:-1;top:0;width:100%;height:min(92vh,860px);margin-bottom:min(-92vh,-860px);overflow:hidden;pointer-events:none;background:#17382e;opacity:0;transition:opacity .45s ease}.country-spotlight-bg.is-ready{opacity:1}.country-spotlight-bg>div{position:absolute;inset:-18px;background-image:linear-gradient(rgba(20,47,39,.18),rgba(20,47,39,.18)),var(--country-bg);background-position:center;background-size:cover}.country-spotlight-blur{filter:blur(12px);transform:scale(1.045);opacity:.72}.country-spotlight-clear{opacity:0;transition:opacity .2s ease;-webkit-mask-image:radial-gradient(circle 150px at var(--spot-x) var(--spot-y),#000 0,#000 54%,rgba(0,0,0,.93) 66%,rgba(0,0,0,.52) 82%,transparent 100%);mask-image:radial-gradient(circle 150px at var(--spot-x) var(--spot-y),#000 0,#000 54%,rgba(0,0,0,.93) 66%,rgba(0,0,0,.52) 82%,transparent 100%)}.country-spotlight-bg.is-revealing .country-spotlight-clear{opacity:1}.country-workspace-hero,.country-workspace{position:relative;z-index:1}
.country-workspace-progress{display:grid;grid-template-columns:auto minmax(180px,310px);align-items:center;gap:14px;min-width:min(380px,42vw);padding:12px 16px;background:#285a49;color:#fff}.country-workspace-progress>div:first-child{display:grid}.country-workspace-progress b{font-size:26px}.country-workspace-progress span{font-size:10px}.country-workspace-progress-track{height:10px;overflow:hidden;background:rgba(255,255,255,.24)}.country-workspace-progress-track i{display:block;height:100%;background:#f0cf81;transition:width .25s ease}
.country-workspace{display:grid;grid-template-columns:210px minmax(0,1fr);min-height:680px;overflow:visible}
.country-workspace-nav{position:sticky;top:0;display:grid;align-content:start;align-self:start;gap:4px;max-height:86vh;padding:14px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:auto;scrollbar-gutter:stable;touch-action:pan-y;background:#e6ede5;border-right:1px solid #c8d3cb}
.country-workspace-nav button{display:flex;justify-content:space-between;align-items:center;width:100%;padding:11px 12px;border:0;background:transparent;color:#315448;text-align:left;font:inherit;font-size:13px;font-weight:800;cursor:pointer}
.country-workspace-nav button:hover{background:#d5e2d8}.country-workspace-nav button.active{background:#285a49;color:#fff}.country-workspace-nav i{font-style:normal}
.country-workspace-main{min-width:0;padding:22px 25px 60px;overflow:visible;background:rgba(251,250,245,.9);backdrop-filter:blur(3px)}.country-workspace-panel{width:100%;min-width:0;box-sizing:border-box}.country-workspace-panel[hidden]{display:none!important}
.country-panel-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px;padding-bottom:14px;border-bottom:1px solid #d8ddd8}.country-panel-heading h3{margin:3px 0 5px;font-size:24px}.country-panel-heading p{margin:0}
.country-section-mastery{flex:0 0 auto;padding:9px 12px;border:1px solid #6b8d7e;background:#fff;color:#315a4a;font:inherit;font-size:12px;font-weight:900;cursor:pointer}.country-section-mastery.mastered{border-color:#285a49;background:#285a49;color:#fff}
.country-workspace-panel .country-yuque{margin:0}.country-workspace-panel .country-hero.compact{margin:0 0 18px}.country-panel-wiki,#wikiResults{display:grid;grid-template-columns:minmax(0,1fr)!important;gap:14px;width:100%;max-width:none;min-height:130px}.country-panel-wiki>.wiki-loading{grid-column:1/-1}.country-panel-wiki .wiki-result,#wikiResults .wiki-result{display:grid!important;grid-template-columns:minmax(180px,240px) minmax(0,1fr)!important;gap:22px;width:100%!important;max-width:none!important;height:auto;min-height:190px;margin:0!important;box-sizing:border-box;padding:20px;border:1px solid #d5ddd7;background:#fff}.country-panel-wiki .wiki-result>div,#wikiResults .wiki-result>div{min-width:0}.country-panel-wiki .wiki-result p,#wikiResults .wiki-result p{overflow-wrap:anywhere;line-height:1.85}.country-panel-wiki .wiki-result img,#wikiResults .wiki-result img{width:100%;height:170px;object-fit:cover}.country-workspace-panel .country-learning{margin:0}.country-workspace-panel .country-map iframe{min-height:420px}
.country-open-map-panel{margin-top:16px;padding:11px 14px;border:0;background:#285a49;color:#fff;font:inherit;font-weight:800;cursor:pointer}
.country-inline-notes{margin-top:24px;padding:18px;border:1px solid #c8d6cd;background:#eef3ed}.country-inline-note-head{display:flex;justify-content:space-between;align-items:center;gap:15px}.country-inline-note-head h4{margin:3px 0;font-size:19px}.country-inline-note-head>span{padding:5px 9px;background:#d8e5dc;color:#315a4a;font-size:11px;font-weight:900}.country-inline-note-list{display:grid;gap:8px;margin:14px 0}.country-inline-note-list article{padding:12px;background:#fff;border-left:3px solid #5d8875}.country-inline-note-list p{margin:0 0 6px;white-space:pre-wrap}.country-inline-note-list img{display:block;max-width:220px;max-height:150px;margin-top:8px;object-fit:cover}.country-inline-note-list small{color:#75847b}.country-inline-note-empty{color:#6d7b73}.country-inline-note-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.country-inline-note-form textarea{min-height:72px;padding:10px;border:1px solid #9baca2;background:#fff;font:inherit;resize:vertical}.country-inline-note-form button{padding:10px 13px;border:0;background:#285a49;color:#fff;font:inherit;font-weight:800;cursor:pointer}
html[data-theme="night"] .country-workspace-hero{background:linear-gradient(110deg,#16251f,#26352d);border-color:#3b5047}html[data-theme="night"] .country-workspace-nav{background:#15231d;border-color:#3b5047}html[data-theme="night"] .country-workspace-nav button{color:#cce0d6}html[data-theme="night"] .country-workspace-nav button:hover{background:#263a31}html[data-theme="night"] .country-workspace-main{background:#111b17;color:#e2ebe6}html[data-theme="night"] .country-panel-heading{border-color:#3b5047}html[data-theme="night"] .country-section-mastery{background:#1d3028;color:#cce0d6;border-color:#557064}html[data-theme="night"] .country-inline-notes{background:#18261f;border-color:#3b5047}html[data-theme="night"] .country-inline-note-list article,html[data-theme="night"] .country-inline-note-form textarea{background:#101a16;color:#e2ebe6;border-color:#52665d}
@media(max-width:780px){#countryModal{width:96vw}.country-workspace-hero{align-items:flex-start;padding:18px;flex-direction:column}.country-workspace-progress{width:100%;min-width:0;box-sizing:border-box}.country-workspace{grid-template-columns:1fr}.country-workspace-nav{grid-auto-flow:column;grid-auto-columns:max-content;overflow-x:auto;overflow-y:hidden;border-right:0;border-bottom:1px solid #c8d3cb}.country-workspace-nav button{width:auto}.country-workspace-main{padding:18px}.country-panel-heading{align-items:stretch;flex-direction:column}.country-section-mastery{align-self:flex-start}.country-inline-note-form{grid-template-columns:1fr}.country-panel-wiki .wiki-result{grid-template-columns:1fr}.country-panel-wiki .wiki-result img{height:210px}}
.country-spotlight-bg{margin-bottom:calc(-1 * min(92vh,860px))}
.country-spotlight-bg{--wash-x:0px;--wash-y:0px;background:linear-gradient(135deg,#f3f1e9 0%,#e7ebe3 52%,#f4efe5 100%)}.country-spotlight-bg::before,.country-spotlight-bg::after{content:"";position:absolute;inset:0;pointer-events:none}.country-spotlight-bg::before{z-index:2;opacity:.48;background-image:radial-gradient(circle at 18% 22%,rgba(111,142,111,.13) 0 1px,transparent 2px),radial-gradient(circle at 72% 64%,rgba(113,90,61,.09) 0 1px,transparent 2px),linear-gradient(96deg,rgba(255,255,255,.34),transparent 28% 72%,rgba(255,255,255,.25));background-size:17px 19px,23px 21px,100% 100%;mix-blend-mode:multiply}.country-spotlight-bg::after{z-index:3;background:linear-gradient(90deg,rgba(247,245,237,.72),transparent 14% 86%,rgba(247,245,237,.68)),linear-gradient(rgba(247,245,237,.44),transparent 18% 78%,rgba(247,245,237,.5))}.country-spotlight-bg>div{transition:transform .55s cubic-bezier(.2,.7,.2,1),opacity .3s ease;background-repeat:no-repeat;background-position:center;background-size:cover;transform:translate3d(var(--wash-x),var(--wash-y),0) scale(1.035)}.country-spotlight-blur{opacity:.67;filter:blur(12px) saturate(.72) contrast(.91);-webkit-mask-image:radial-gradient(ellipse 88% 74% at 54% 44%,#000 0 48%,rgba(0,0,0,.88) 62%,rgba(0,0,0,.42) 78%,transparent 96%);mask-image:radial-gradient(ellipse 88% 74% at 54% 44%,#000 0 48%,rgba(0,0,0,.88) 62%,rgba(0,0,0,.42) 78%,transparent 96%);mix-blend-mode:multiply}.country-spotlight-clear{z-index:1;filter:saturate(.82) contrast(.94);mix-blend-mode:multiply;-webkit-mask-image:radial-gradient(ellipse 185px 155px at var(--spot-x) var(--spot-y),#000 0 42%,rgba(0,0,0,.94) 57%,rgba(0,0,0,.68) 72%,rgba(0,0,0,.25) 88%,transparent 100%);mask-image:radial-gradient(ellipse 185px 155px at var(--spot-x) var(--spot-y),#000 0 42%,rgba(0,0,0,.94) 57%,rgba(0,0,0,.68) 72%,rgba(0,0,0,.25) 88%,transparent 100%)}.country-workspace-hero{background:linear-gradient(110deg,rgba(238,242,232,.91),rgba(247,234,210,.88));backdrop-filter:blur(7px)}.country-workspace-nav{background:rgba(230,237,229,.9);backdrop-filter:blur(7px)}.country-workspace-main{background:rgba(251,250,245,.86);backdrop-filter:blur(5px)}html[data-theme="night"] .country-spotlight-bg{background:linear-gradient(135deg,#17221d,#26312a 55%,#191d1a)}html[data-theme="night"] .country-spotlight-bg::after{background:linear-gradient(90deg,rgba(16,25,21,.66),transparent 16% 84%,rgba(16,25,21,.66))}html[data-theme="night"] .country-workspace-main{background:rgba(17,27,23,.88)}@media(prefers-reduced-motion:reduce){.country-spotlight-bg,.country-spotlight-bg>div,.country-spotlight-clear{transition:none!important}.country-spotlight-bg>div{transform:scale(1.035)}}
.country-admin-map{height:650px!important;min-height:650px!important;overflow:hidden}.country-admin-map .leaflet-control-layers{font-size:13px;line-height:1.65}.country-admin-map .leaflet-control-layers-expanded{padding:9px 11px}.country-admin-map .leaflet-interactive{cursor:pointer}.country-admin-map .leaflet-control-attribution svg,.country-admin-map .leaflet-attribution-flag{width:auto!important;height:auto!important;max-width:48px!important;max-height:24px!important;min-height:0!important}.city-map-card:has(.city-wiki-card){grid-column:1/-1}.city-wiki-card{display:grid!important;grid-template-columns:minmax(180px,240px) minmax(0,1fr)!important;gap:22px!important;width:100%!important;max-width:none!important;line-height:1.8}.city-wiki-card img{width:100%!important;height:170px!important;object-fit:cover}.reference-wiki-result,.reference-inline-wiki{display:grid!important;grid-template-columns:1fr!important;width:100%!important}.reference-inline-wiki article,.reference-wiki-result article{display:grid!important;grid-template-columns:minmax(160px,220px) minmax(0,1fr)!important;width:100%!important;max-width:none!important;box-sizing:border-box}@media(max-width:780px){.country-admin-map{height:500px!important;min-height:500px!important}.city-wiki-card,.reference-inline-wiki article,.reference-wiki-result article,#wikiResults .wiki-result{grid-template-columns:1fr!important}}
