dialog.region-drawer{box-sizing:border-box;position:fixed;inset:0 0 0 auto;margin:auto 0;width:min(500px,100vw);height:100dvh;max-height:100dvh;max-width:100vw;padding:0;border:1px solid #796747;background:#172735;color:#f4ebd5;box-shadow:-12px 0 48px #0b172d40;overflow:auto;overscroll-behavior:contain;font:15px/1.5 "PingFang SC","Microsoft Yahei",sans-serif;color-scheme:dark}
.region-drawer::backdrop{background:#0e1a2860}
.profile-head{position:relative;padding:22px 60px 16px 23px;border-left:5px solid #e58d43;background:linear-gradient(120deg,#304250,#1f303e);border-bottom:1px solid #756649}
.profile-type,.profile-head label,.profile-source{color:#d3c29e;font-size:12px}.region-drawer h2{margin:2px 0 5px;color:#f3d18e;font:600 clamp(28px,4vw,42px)/1.2 Georgia,"Songti SC",serif}.profile-head p{font-size:14px;margin:0 0 10px}.profile-head select{display:inline-block;width:auto;max-width:100%;border:1px solid #697780;background:#203342;color:white;padding:4px 8px;font-size:14px}
.region-drawer .close-profile{position:absolute;right:14px;top:14px;width:38px;height:38px;padding:0;border:1px solid #9a825a;border-radius:50%;background:#203342;color:#efd596;font-size:26px;line-height:1}.profile-body{padding:0 20px 24px}.profile-body h3,.profile-groups summary{color:#efd191;font:600 16px/1.4 Georgia,"Songti SC",serif;margin:19px 0 9px}.profile-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.profile-cards>div{background:#111f2a;border:1px solid #5b5a50;border-top:3px solid var(--accent,#e7bc6f);border-radius:6px;padding:8px;color:var(--accent,#e7bc6f);min-width:0}.profile-cards>div:nth-child(3n + 2){--accent:#8ac9b3}.profile-cards>div:nth-child(3n){--accent:#98c6ec}.profile-cards strong,.profile-cards span{display:block}.profile-cards strong{font-size:17px;font-variant-numeric:tabular-nums}.profile-cards small,.profile-cards span{color:#d5d5cd;font-size:11px}.structure>div{margin:8px 0}.structure>div>div{display:flex;justify-content:space-between}.structure i{display:block;height:6px;border-radius:5px;background:linear-gradient(to right,#cda85f var(--share),#34434d var(--share))}.structure>div:nth-child(2) i{filter:hue-rotate(90deg)}.profile-groups details{border-bottom:1px solid #43525b;padding:0 0 8px}.profile-groups summary{cursor:pointer;margin:13px 0 6px}.profile-groups table{width:100%;table-layout:fixed;font-size:13px}.profile-groups thead{background:#233745;color:#e7d3aa}.profile-groups th,.profile-groups td{white-space:normal;overflow-wrap:anywhere;padding:7px 3px;border-bottom:1px dashed #46545d;text-align:right}.profile-groups th:first-child{text-align:left;width:40%}.profile-source{margin:16px 0 0}.open-profile{font-weight:650}.region-drawer :focus-visible{outline:2px solid #efbb62;outline-offset:2px}
#map-controls{display:flex;align-items:center;gap:7px;flex-wrap:wrap;background:#1c303f;padding:9px 12px;color:#f2dba6;border-top:1px solid #7d704f;font-size:13px}#map-controls button,#map-controls input[type=search],#map-controls summary{border:1px solid #786b51;background:#142633;color:#f4e4be;border-radius:6px;padding:5px 9px;font:inherit}#map-controls .atlas-search{display:flex;gap:4px}#map-controls input[type=search]{width:180px}#map-controls input::placeholder{color:#c9bea6}#map-controls details{position:relative;border:0;padding:0}#map-controls fieldset{position:absolute;z-index:5;top:100%;left:0;width:max-content;max-width:80vw;border:1px solid #9b8354;background:#182c3a;color:#fff;padding:9px 12px;box-shadow:0 5px 12px #0005;border-radius:6px}#map-controls fieldset legend{display:none}#map-controls fieldset label{display:flex;align-items:center;gap:8px;color:#efdfba;padding:5px 0}#map-controls fieldset input{width:auto;margin:0;accent-color:#d6b66f}#map-controls .map-message{color:#f2dfac}.transport-line{fill:none;stroke-width:1;vector-effect:non-scaling-stroke}.air-route{stroke:#93679d;opacity:.4}.hub{stroke:#fdf9e7;stroke-width:.45}.hub.ports{fill:#00729b}.hub.airports{fill:#aa5825}.map-stage{position:relative}.map-readout{position:absolute;bottom:6px;left:7px;pointer-events:none;max-width:90%;padding:3px 7px;border-radius:4px;background:#162936ed;color:#ffedc9;font-size:12px}.map-readout:empty{display:none}.map svg,#plot svg{touch-action:pan-y}.country:focus-visible{stroke:#f2a723;stroke-width:2px}.hub:hover{stroke:#132b34;stroke-width:1}.province-shape:hover{stroke:#ca8a31;stroke-width:2}.map-controls-note{font-size:12px;color:#66746f}@media(max-width:650px){#map-controls fieldset{position:static}#map-controls input[type=search]{width:145px}}
.market-pin{pointer-events:none}.market-pin rect{fill:#182a32;stroke:#caad6e;stroke-width:.8}.market-pin text{font:5px/1 sans-serif;fill:#fff1cc}.atlas-expanded-body{overflow:hidden}#atlas.atlas-expanded{position:fixed;inset:0;z-index:50;overflow:auto;background:#f3f4ec;margin:0;padding:10px;max-width:none;border:0;border-radius:0}#atlas.atlas-expanded .board,#atlas.atlas-expanded .spread{max-width:none}#atlas.atlas-expanded .paper{min-height:65vh}#atlas.atlas-expanded .board:has(.aside){grid-template-columns:minmax(0,4fr) minmax(220px,1fr)}@media(max-width:760px){#atlas.atlas-expanded .board:has(.aside){grid-template-columns:1fr}#atlas.atlas-expanded .paper{min-height:0}}
dialog.region-drawer{z-index:80;width:min(40vw,480px)}
.profile-extra section{margin:16px 0}.profile-extra table{width:100%;table-layout:fixed;font-size:12px;border-collapse:collapse}
.profile-extra thead{background:#243848;color:#f1d79d}.profile-extra td,.profile-extra th{padding:6px 2px;white-space:normal;overflow-wrap:anywhere;text-align:right;border-bottom:1px solid #40525e}
.profile-extra th:first-child{text-align:left}.profile-extra p,.profile-extra a{font-size:12px;color:#c9d5db}.profile-extra a{text-underline-offset:3px}
@media(min-width:801px){body.profile-open{padding-right:min(40vw,480px)}body.profile-open #atlas.atlas-expanded{right:min(40vw,480px)}body.profile-open .spread,body.profile-open .board:has(.aside){grid-template-columns:minmax(0,1fr)}body.profile-open .spread aside,body.profile-open .board .aside{display:none}}
@media(max-width:800px){dialog.region-drawer{inset:auto 0 0;width:100%;height:55dvh;border-radius:14px 14px 0 0}.profile-open{padding-bottom:55dvh}.profile-open #atlas.atlas-expanded{bottom:55dvh}.region-drawer .profile-head{padding:10px 48px 9px 12px}.region-drawer .profile-head h2{font-size:25px}.region-drawer .profile-body{padding:0 12px 18px}}
.region-drawer .profile-head{position:sticky;top:0;z-index:2}.profile-picks{display:flex;flex-wrap:wrap;gap:6px 12px}.profile-picks label{display:flex;align-items:center;gap:5px}.profile-picks select{min-width:60px;max-width:125px}
@media(max-width:800px){.profile-picks select{max-width:95px}.profile-head p{font-size:12px}.profile-head label{font-size:11px}}
.map-stage .map-overview{position:absolute;z-index:1;right:8px;bottom:8px;width:clamp(90px,11vw,144px);padding:3px 5px;border:1px solid #ac976b;border-radius:6px;background:#172936f2;color:#f2dfae;box-shadow:0 2px 6px #16283833}.map-overview summary{font-size:11px;line-height:1.4;font-weight:500;cursor:pointer}.map-stage .map-overview svg{display:block;width:100%;height:auto;cursor:crosshair;background:#203644}.map-overview:not([open]) svg,.map-overview[hidden]{display:none}.map-overview path{fill:#879c8e;stroke:#344e50;stroke-width:.85}.map-overview .visible-area{stroke:#ffe09a;stroke-width:1.3;vector-effect:non-scaling-stroke}.market-pin.current rect{fill:#54472a;stroke:#ffe29c}.market-pin.comparison rect{fill:#4a302c;stroke:#e8a789}.map-stage .map-readout{max-width:65%}
.metric-ribbon{display:grid;grid-template-columns:minmax(60px,auto) repeat(4,minmax(0,1fr));align-items:stretch;border-top:1px solid #8e7959;border-bottom:1px solid #415260;background:#172b38;color:#f4dfb2}.metric-ribbon>span{align-self:center;padding:6px 13px;font:600 17px Georgia,"Songti SC",serif}.metric-ribbon button{border:0;border-left:1px solid #43505a;border-bottom:3px solid transparent;border-radius:0;background:transparent;padding:6px 10px;text-align:left;color:#f3e6c8}.metric-ribbon button:hover,.metric-ribbon button[aria-pressed=true]{background:#2b404d;border-bottom-color:#d2aa61}.metric-ribbon button:disabled{opacity:.48}.metric-ribbon small,.metric-ribbon strong{display:block;overflow-wrap:anywhere}.metric-ribbon small{color:#c9d0c8;font-size:11px}.metric-ribbon strong{font-size:16px;font-variant-numeric:tabular-nums}.metric-ribbon button:nth-child(3) strong{color:#a4d1b8}.metric-ribbon button:nth-child(4) strong{color:#e5bb96}.metric-ribbon button:nth-child(5) strong{color:#a8d1e5}
@media(max-width:650px){.metric-ribbon{grid-template-columns:repeat(4,minmax(0,1fr))}.metric-ribbon>span{grid-column:1/-1;padding:3px 8px;font-size:13px}.metric-ribbon button{padding:4px 5px}.metric-ribbon strong{font-size:12px}.metric-ribbon small{font-size:10px}}
#atlas.atlas-expanded #plot>svg,#atlas.atlas-expanded #map{touch-action:none}#plot:focus-visible,#map:focus-visible{outline:2px solid #b77e24;outline-offset:-2px}
details.ai-estimates{margin:6px 0;background:#f0f4ee;border:1px solid #b8c9bd;border-radius:7px;padding:9px 13px;color:#243d39}.ai-estimates>summary{font-weight:650}.ai-estimates>label{display:flex;gap:7px;align-items:center;margin:8px 0;font-size:14px}.ai-estimates input{width:auto;margin:0}.ai-estimates p{font-size:12px;margin:5px 0}.estimate-report details{margin:3px 0;border:0;padding:0}.estimate-report summary{font-size:13px}.cycle-reading{font-size:14px;line-height:1.6}

.profile-ai{display:flex;align-items:center;gap:12px;margin:10px 0 0}.profile-ai label{display:flex;align-items:center;gap:4px;color:#eedcb3;font-size:13px}.profile-ai input{margin:0;width:auto}.profile-ai button{background:transparent;color:#eedcb3;border:0;text-decoration:underline;font-size:12px}

.region-drawer [hidden]{display:none!important}.profile-drill{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:14px 0}.profile-drill label{display:flex;align-items:center;gap:7px;color:#edd399;font-size:13px}.profile-drill select,.profile-drill button{border:1px solid #91805c;background:#203443;color:#f6e7be;border-radius:6px;padding:6px 8px;max-width:100%;font:inherit}
.profile-economy section{margin:16px 0}.profile-economy table{border-collapse:collapse;width:100%;font-size:13px;font-variant-numeric:tabular-nums}.profile-economy thead{background:#223646;color:#ead09a}.profile-economy th,.profile-economy td{padding:7px 4px;border-bottom:1px dashed #46545d;white-space:normal;text-align:right}.profile-economy th:first-child{text-align:left}.profile-economy p,.profile-economy a{font-size:12px;color:#d7c7a7}.city-pin{cursor:pointer}.city-pin circle{fill:#e7bb63;stroke:#162f3b}.city-pin:focus circle,.city-pin:hover circle{fill:white;stroke:#a75d28}.city-pin text{font-family:sans-serif;fill:#132e32;paint-order:stroke;stroke:#f4eed9;stroke-width:2px}
@media(max-width:640px){.region-drawer .profile-head{position:relative}.profile-body{padding:0 12px 22px}}
.profile-drill a{font-size:13px;color:#edcf90}.profile-drill select{max-width:210px}.profile-economy{clear:both}

.scenario-launch{border-block:1px solid #9daea3;margin:12px 0 18px}.scenario-launch a{display:grid;grid-template-columns:minmax(80px,.2fr) 1fr auto;align-items:center;gap:16px;padding:16px 12px;color:#183e3c;text-decoration:none;background:#fcfbf6}.scenario-launch a+a{border-top:1px solid #d4ddd4}.scenario-launch a:is(:hover,:focus-visible){background:#eaf0e9}.scenario-launch span{font-size:13px;color:#52695e}.scenario-launch strong{font-size:clamp(15px,2vw,19px);font-weight:600}.scenario-launch b{font-size:20px;color:#637b5c}#operating-tool>summary{cursor:pointer;padding:10px 0;font-weight:600}#operating-tool[open]>summary{margin-bottom:12px}
@media(max-width:600px){.scenario-launch a{grid-template-columns:1fr auto;gap:3px 10px}.scenario-launch span{grid-column:1}.scenario-launch strong{grid-column:1}.scenario-launch b{grid-column:2;grid-row:1/3}}
