:root{color-scheme:dark;font-family:"Microsoft YaHei UI","Microsoft YaHei","Segoe UI",sans-serif;font-size:16px;font-synthesis:none}
.deep-blue-command-center{--bg:#041132;--panel:#030f29;--panel-alt:#092353;--border:#205a88;--muted:#8faec8;--text:#eaf6ff;--accent:#32d8f4;--accent-dark:#105071;--gold:#f5d76e;--danger:#ffaaa8;--radius:2px;--success:#5ee6b1}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 50% 0,#103363 0,transparent 55%),linear-gradient(90deg,#ffffff02 1px,transparent 1px),linear-gradient(#ffffff02 1px,transparent 1px),var(--bg);background-size:auto,48px 48px,48px 48px,auto;color:var(--text);font-variant-numeric:tabular-nums}button,select{font:inherit}button{cursor:pointer;color:inherit}button:disabled,select:disabled{opacity:.43;cursor:not-allowed}button:focus-visible,select:focus-visible{outline:2px solid var(--gold);outline-offset:3px}button,select{transition:background .16s,border-color .16s,box-shadow .16s}select{background:#071e42;color:var(--text);border:1px solid #28618c;border-radius:2px;padding:8px 28px 8px 12px;min-height:38px;font-size:14px}select:enabled:hover{border-color:var(--accent)}h1,h2,h3,p{margin:0}[hidden]{display:none!important}::selection{background:#13688a;color:#fff}*{scrollbar-width:thin;scrollbar-color:#2a6597 #04122e}
.app-shell{min-height:100vh;max-width:2560px;padding:0 24px;margin:auto;display:flex;flex-direction:column;position:relative}.app-header{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:20px;align-items:center;min-height:98px;position:relative;isolation:isolate}.header-wings{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:#2c618c;stroke-width:1;pointer-events:none;z-index:-1}.header-wings .wing-highlight{stroke:#35bfe2;stroke-width:2}.header-wings .wing-ticks{stroke:#44cde9;stroke-width:3}.brand-context{display:flex;align-items:center;gap:16px;padding-bottom:8px}.brand{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding-bottom:8px}.brand h1{font-size:44px;line-height:1.25;letter-spacing:5px;font-weight:700;text-shadow:0 0 22px #2584e85c;white-space:nowrap}.eyebrow,.section-kicker{font-family:"Segoe UI",sans-serif;letter-spacing:1.8px;font-size:11px;font-weight:600;color:var(--muted)}.brand .eyebrow{font-size:11px;color:#82b6d6;letter-spacing:4px}.demo-badge{display:inline-flex;align-items:center;height:26px;padding:0 10px;border:1px solid #b49b4e88;color:var(--gold);background:#7c68221f;font-size:13px;white-space:nowrap}.local-tag{font-size:13px;color:#93b9d4;white-space:nowrap}.header-actions{display:flex;gap:12px;align-items:center;justify-content:flex-end;padding-bottom:8px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;border:1px solid #2b6b9a;border-radius:2px;padding:9px 16px;background:linear-gradient(180deg,#11345a,#0b2545);font-size:14px;line-height:20px;white-space:nowrap;font-weight:500}.button:enabled:hover{background:#17476d;border-color:#42badc;box-shadow:inset 0 0 16px #2187a62b}.button:enabled:active{background:#062846;transform:translateY(1px)}.button.primary{color:#ecfbff;background:linear-gradient(180deg,#107cad,#095783);border-color:#3ac4e3;box-shadow:inset 0 0 15px #2eb9dc26}.button.primary:enabled:hover{background:linear-gradient(180deg,#159bc7,#086a93);border-color:#86ecfb}.button.small{min-height:34px;padding:6px 12px;font-size:13px}.icon-button{width:42px;padding:0;font-size:27px;line-height:1}
.workspace-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:48px;border-bottom:1px solid #205a8877}.tabs{display:flex;gap:8px;align-self:stretch;align-items:center}.tab{position:relative;border:1px solid transparent;border-bottom:2px solid transparent;background:transparent;padding:10px 22px;min-height:40px;color:var(--muted);font-size:15px;line-height:20px;font-weight:500;letter-spacing:1px;white-space:nowrap}.tab:enabled:hover{background:#0a2c51;color:#e1f8ff}.tab.active{border-color:#276994;border-bottom-color:var(--accent);color:var(--accent);background:linear-gradient(180deg,#113960aa,#0b284899);box-shadow:inset 0 -7px 12px #1f9bb917}.tab.active:before{content:"";position:absolute;left:0;top:0;width:4px;height:4px;background:var(--accent)}.period-control{display:flex;gap:8px;align-items:center;white-space:nowrap}.period-control label{font-size:14px;color:var(--muted);margin-right:2px}.period-control select{min-width:88px;min-height:34px;padding-top:6px;padding-bottom:6px}.period-control #yearSelect{min-width:108px}.period-divider{color:#4983ad}.utility-actions{display:flex;gap:22px;align-items:center}.text-button{background:transparent;border:0;border-bottom:1px solid transparent;padding:7px 0;color:#b3cfe3;font-size:13px;line-height:20px;white-space:nowrap}.text-button:enabled:hover{color:var(--accent);border-bottom-color:#2e94b5}.text-button span{margin-left:6px;color:var(--accent)}.demo-notice{display:flex;align-items:center;gap:12px;min-height:34px;padding:5px 0;color:#afbbcb;font-size:12px;line-height:1.6}.notice-label{flex:none;padding:1px 8px;border-left:2px solid var(--gold);background:#9b7b1726;color:var(--gold);font-size:12px}.global-error{display:flex;align-items:center;justify-content:space-between;gap:20px;color:var(--danger);padding:12px 16px;background:#351b2d;border:1px solid #95485b;margin:8px 0;font-size:14px;line-height:1.7}
main{flex:1;min-width:0}.view{min-width:0}.section-intro{display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:62px;padding:10px 0}.section-intro .section-kicker{font-size:10px;letter-spacing:2px}.section-intro h2{font-size:23px;font-weight:600;margin-top:4px;letter-spacing:1px;line-height:1.2}.section-subtitle{font-size:15px;color:var(--muted);font-weight:400;margin-left:18px;letter-spacing:1px}.scope-note{color:#9dbed8;font-size:14px;white-space:nowrap}.scope-note span{margin:0 10px}.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:14px}.kpi{position:relative;min-width:0;min-height:140px;padding:16px 22px;border:1px solid var(--border);background:linear-gradient(120deg,#103257bb,#071b39b0 70%),var(--panel);isolation:isolate}.kpi:before{content:"";position:absolute;right:-1px;top:-1px;width:13px;height:13px;background:linear-gradient(45deg,transparent 46%,#4485ab 47%,#4485ab 52%,var(--bg) 53%);pointer-events:none}.kpi:after{content:"";position:absolute;bottom:-1px;left:-1px;width:52px;height:2px;background:var(--accent);opacity:.65;pointer-events:none}.kpi.featured{border-color:#299cc1;background:linear-gradient(120deg,#10507a99,#082242 80%),var(--panel)}.kpi.featured:after{width:100%;height:2px;background:linear-gradient(90deg,var(--accent),#2a6f9b55)}.kpi-top{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#c8e1f3;font-size:16px;line-height:22px;min-height:22px}.kpi-symbol{display:grid;place-items:center;width:28px;height:26px;color:#3cbce3;font-size:22px;font-family:"Segoe UI",sans-serif;line-height:1;background:#0e3f652b;border-bottom:1px solid #29688c}.kpi-value{display:flex;align-items:baseline;gap:8px;margin:8px 0;min-height:44px;line-height:44px;flex-wrap:wrap;row-gap:0}.kpi-value strong{font-family:"Bahnschrift","Segoe UI","Microsoft YaHei UI",sans-serif;font-size:40px;line-height:44px;letter-spacing:.1px;font-weight:600;overflow-wrap:anywhere;color:#eaf8ff;max-width:100%}.kpi-value>span{color:#9fc3dc;font-size:14px;line-height:20px;white-space:nowrap}.kpi.featured .kpi-value strong{color:var(--accent)}.kpi.leader .kpi-value strong{font-size:34px;letter-spacing:2px;color:var(--gold)}.kpi-bottom{display:flex;gap:8px;align-items:center;min-height:20px;color:var(--muted);font-size:13px;line-height:20px;overflow-wrap:anywhere}.dot{width:5px;height:5px;flex:none;display:inline-block;background:var(--accent)}
.main-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(360px,1fr);gap:14px}.panel{position:relative;min-width:0;border:1px solid var(--border);border-radius:2px;background:var(--panel);overflow:hidden}.panel:before{content:"";position:absolute;left:0;top:0;width:30px;height:3px;background:var(--accent);opacity:.8;pointer-events:none;z-index:2}.panel:after{content:"";position:absolute;right:0;bottom:0;width:26px;height:3px;background:#2d86b4;pointer-events:none;z-index:2}.panel-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;min-height:68px;flex:none;padding:12px 22px 10px;background:linear-gradient(90deg,#0d315385,#0a21492b);border-bottom:1px solid #16456c70}.panel-heading>div:first-child{min-width:0;display:flex;flex-direction:column-reverse;gap:3px}.panel-heading h3{font-size:21px;line-height:26px;letter-spacing:1px;font-weight:600;color:var(--gold)}.panel-heading .section-kicker{font-size:10px;line-height:13px;letter-spacing:1.7px;color:#6d98b9}.panel-note{font-size:13px;color:#99bdd9;white-space:nowrap}.map-panel{display:flex;flex-direction:column;height:500px;background:radial-gradient(ellipse at 45% 52%,#103e6450 0,#071a3970 54%,#030f29 90%)}.map-chart{width:100%;min-height:280px;flex:1;background:radial-gradient(ellipse at center,#0a3e5d1a,transparent 65%)}.map-footer{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;flex:none;padding:9px 22px 14px;color:#89acc7;font-size:12px;line-height:18px}.map-footer>span{display:flex;align-items:center;gap:8px}.legend-swatch{width:30px;height:7px;background:linear-gradient(90deg,#16416a,#32d8f4)}.ranking-panel{display:flex;flex-direction:column;height:500px}.ranking-table-head{display:flex;justify-content:space-between;color:#8eb1cd;font-size:12px;line-height:18px;margin:0 22px;padding:9px 0 8px;border-bottom:1px solid #1c486d;flex:none}.ranking-list{min-height:0;padding:0 14px;overflow:auto;flex:1}.ranking-row{display:grid;grid-template-columns:32px minmax(72px,1fr) minmax(154px,1.7fr);gap:8px;align-items:center;width:100%;border:0;border-bottom:1px solid #12395970;background:none;min-height:46px;padding:6px 8px;text-align:left}.ranking-row:enabled:hover{background:#0d3252}.ranking-row:focus-visible{outline-offset:-2px;background:#103955}.rank-number{font-family:"Bahnschrift","Segoe UI",sans-serif;font-size:17px;color:#73a0c1;font-weight:600}.ranking-row.top-three .rank-number{color:var(--gold)}.ranking-name{font-size:16px;white-space:nowrap}.ranking-value{text-align:right;position:relative;padding-bottom:8px;font-size:16px;white-space:nowrap;line-height:24px}.ranking-value small{font-size:12px;color:#90b5cf;margin-left:12px;display:inline-block;min-width:39px}.ranking-track{position:absolute;bottom:2px;right:0;width:100%;height:3px;background:#102e4e}.ranking-track>i{display:block;height:100%;background:linear-gradient(90deg,#155d96,#32d8f4)}.ranking-footer{padding:8px 22px;color:#84a8c5;font-size:12px;line-height:18px;border-top:1px solid #1b486d;flex:none}.trend-panel{grid-column:1/-1;display:flex;flex-direction:column;min-height:258px}.trend-panel .panel-heading{min-height:62px;padding-top:9px;padding-bottom:8px}.trend-key{display:flex;gap:8px;align-items:center;font-size:13px;color:#b8d8ec;white-space:nowrap}.trend-key i{width:17px;height:2px;background:var(--accent)}.trend-key span{margin-left:4px;color:var(--muted)}.trend-chart{height:158px;min-height:130px;width:100%;flex:1}.trend-footer{flex:none;font-size:12px;line-height:18px;color:#86a8c5;padding:0 22px 10px;min-height:28px}.chart-error{padding:28px;color:var(--danger);font-size:14px;line-height:1.8;text-align:center}.map-panel .chart-error{flex:1}.app-footer{display:flex;gap:20px;align-items:center;justify-content:space-between;min-height:42px;flex:none;padding:10px 0;font-size:12px;line-height:20px;color:#759ab9}.app-footer>span{overflow-wrap:anywhere}.footer-demo{font-family:"Segoe UI","Microsoft YaHei UI",sans-serif;letter-spacing:1.2px;white-space:nowrap;color:#b7b486}
.empty-state{min-height:570px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:36px 20px}.empty-state h2{font-size:30px;font-weight:500;letter-spacing:1px;margin:12px 0 18px}.empty-state p{font-size:16px;color:var(--muted);line-height:1.9}.empty-state .eyebrow{font-size:12px;letter-spacing:3px;color:#7cb9d7}.empty-actions{display:flex;gap:16px;margin-top:28px}.empty-footnote{font-size:13px;color:#789fbe;margin-top:22px}.empty-art{height:160px;width:235px;display:flex;align-items:center;justify-content:center;flex-direction:column;margin-bottom:30px;border:1px solid #286c9c;background:linear-gradient(145deg,#0e4166b0,#071b3d);box-shadow:9px 9px 0 #041732,10px 10px 0 #1e507b;position:relative}.empty-art:before{content:"";position:absolute;width:40px;height:3px;left:0;top:-1px;background:var(--accent)}.empty-bars{height:75px;display:flex;align-items:flex-end;gap:12px;padding-bottom:10px;border-bottom:1px solid #30739a}.empty-bars i{width:20px;background:linear-gradient(180deg,#32d8f4,#145c9a)}.empty-bars i:nth-child(1){height:23px;opacity:.45}.empty-bars i:nth-child(2){height:40px;opacity:.6}.empty-bars i:nth-child(3){height:33px;opacity:.75}.empty-bars i:nth-child(4){height:51px;opacity:.9}.empty-bars i:nth-child(5){height:63px}.empty-art>span{font-size:12px;letter-spacing:2px;color:#92bdd7;margin-top:17px}.loading-spinner{height:34px;width:34px;border:2px solid #205a88;border-top-color:var(--accent);border-radius:50%;animation:spin 1s linear infinite;margin-bottom:20px}@keyframes spin{to{transform:rotate(360deg)}}
.data-panel,.history-panel{margin-bottom:16px}.table-toolbar{padding:18px 22px;display:flex;gap:18px;align-items:center;justify-content:space-between;flex-wrap:wrap;border-bottom:1px solid var(--border);background:#09244877}.table-filters{display:flex;align-items:center;gap:18px}.table-filters label{display:flex;align-items:center;gap:10px;font-size:14px;color:#b0cde2}.table-filters select{font-size:14px;min-height:36px;padding:6px 26px 6px 10px}.table-summary{font-size:14px;color:var(--muted);line-height:1.6}.table-summary strong{font-weight:500;color:var(--accent)}.table-scroll{overflow:auto;max-height:calc(100vh - 420px);min-height:120px}table{border-collapse:collapse;width:100%;font-size:14px;line-height:1.6}th{position:sticky;top:0;background:#0c2d50;z-index:1;text-align:left;color:#a7cee5;font-weight:500;white-space:nowrap}th,td{padding:12px 22px;border-bottom:1px solid #183b5f}td{color:#c7dfef}tbody tr:nth-child(even){background:#0b24402e}tbody tr:hover{background:#0b31504d}td.numeric,th.numeric{text-align:right;white-space:nowrap;font-family:"Segoe UI",sans-serif}.empty-cell{text-align:center;color:var(--muted);height:180px}.note-cell{max-width:360px;overflow-wrap:anywhere;white-space:pre-wrap}.pagination{display:flex;justify-content:space-between;align-items:center;padding:14px 22px;color:var(--muted);font-size:13px;gap:16px}.pagination>div{display:flex;align-items:center;gap:18px}.status-chip{display:inline-flex;align-items:center;min-height:24px;white-space:nowrap;font-size:12px;line-height:18px;padding:2px 9px;border:1px solid #36627f;background:#17364c;color:#a6c0d2}.status-chip.success{background:#104339;color:var(--success);border-color:#317a67}.status-chip.failed{background:#442035;color:#ffb5b3;border-color:#984e65}.status-chip.cancelled{background:#29364a;color:#bdc8d7;border-color:#596a80}.history-panel td:first-child{white-space:nowrap}.history-panel td:last-child{max-width:550px;white-space:pre-wrap;overflow-wrap:anywhere}
.modal{color:var(--text);border:1px solid #3c93c1;padding:0;border-radius:2px;background:linear-gradient(140deg,#09284b,#05152f 60%);max-width:min(900px,calc(100vw - 48px));width:900px;max-height:calc(100vh - 56px);box-shadow:0 24px 100px #000b,0 0 0 5px #07172bb0}.modal[open]{display:flex;flex-direction:column}.modal::backdrop{background:#010917d9;backdrop-filter:blur(5px)}.modal-header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 26px;border-bottom:1px solid var(--border);background:linear-gradient(90deg,#123b61aa,#0b2145);flex:none;position:relative}.modal-header:before{content:"";position:absolute;left:0;top:0;width:60px;height:3px;background:var(--accent)}.modal-header h2{font-size:25px;font-weight:500;color:var(--gold);margin-top:5px}.close-button{border:1px solid #3978a0;border-radius:2px;width:34px;height:34px;background:#0b2846;color:#acd9ed;font-size:26px;line-height:28px;flex:none}.close-button:enabled:hover{background:#1e4b68;border-color:var(--accent)}.modal-content{overflow:auto;padding:22px 26px;min-height:100px}.modal-actions{display:flex;justify-content:flex-end;align-items:center;gap:12px;padding:16px 26px;border-top:1px solid var(--border);background:#06172d;flex:none}.modal-actions>span{margin-right:auto;font-size:13px;line-height:1.6;color:var(--muted);max-width:320px}.import-file{display:flex;gap:14px;align-items:center;line-height:1.7;margin-bottom:22px}.import-file>div{min-width:0}.file-icon{height:46px;width:40px;display:grid;place-items:center;border:1px solid #3a9dbc;color:var(--accent);background:#1042656b;font-family:"Segoe UI",sans-serif;font-size:22px;flex:none}.import-file strong{font-size:16px;font-weight:500;display:block;overflow-wrap:anywhere}.import-file p{font-size:13px;color:var(--muted);margin-top:4px}.preview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid var(--border);overflow:hidden;margin-bottom:20px}.preview-item{padding:18px 20px;background:#0b2949;border-bottom:1px solid var(--border)}.preview-item:nth-child(odd){border-right:1px solid var(--border)}.preview-item:nth-last-child(-n+2){border-bottom:0}.preview-item span{display:block;font-size:13px;color:var(--muted);margin-bottom:8px}.preview-item strong{font-family:"Segoe UI","Microsoft YaHei UI",sans-serif;font-size:28px;color:var(--accent);font-weight:500;line-height:1.5;overflow-wrap:anywhere}.preview-item strong.small-value{font-size:20px;color:#e3f2fc}.preview-item small{font-size:13px;color:var(--muted);margin-left:6px}.preview-notice{padding:14px 16px;background:#7460191f;border:1px solid #8c783b;font-size:14px;color:#d5d1b7;line-height:1.9;overflow-wrap:anywhere}.preview-notice strong{color:var(--gold);font-size:15px}.preview-months{font-size:13px;color:var(--muted);line-height:1.9;margin:14px 0 0}.validation-summary{color:var(--danger);font-size:15px;margin:0 0 14px;line-height:1.8}.error-table{max-height:330px;overflow:auto;border:1px solid #7a435b}.error-table th{background:#30233d;color:#edbdc5}.error-table th,.error-table td{padding:10px 12px}.error-table td{color:#e4c2d0;border-color:#57334c}.error-table td:last-child{white-space:pre-wrap;overflow-wrap:anywhere}.inline-error{padding:12px 14px;border:1px solid #98485a;background:#371c30;color:var(--danger);margin-top:15px;font-size:14px;line-height:1.7}.province-modal{width:820px}.province-overview{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:20px}.province-stat{padding:18px;background:#0c2c4b;border:1px solid #24668e;min-width:0}.province-stat>span{font-size:13px;color:var(--muted)}.province-stat strong{display:block;font-family:"Segoe UI",sans-serif;font-size:28px;line-height:1.4;color:var(--accent);font-weight:500;margin:10px 0;overflow-wrap:anywhere}.province-stat strong small{font-size:14px;margin-left:8px;display:inline-block}.province-stat p{font-size:13px;color:#9abbce;line-height:1.7}.detail-table{border:1px solid var(--border);overflow:hidden}.detail-table th,.detail-table td{padding:10px 18px}.detail-caption{font-size:13px;line-height:1.8;color:var(--muted);margin-bottom:14px}.muted{color:#7997b2!important}.toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);padding:14px 22px;border:1px solid #39b4c9;border-left:4px solid var(--accent);background:#0c304c;max-width:min(660px,calc(100vw - 48px));z-index:50;box-shadow:0 8px 36px #0009;color:#dcf6ff;font-size:14px;line-height:1.7}.toast.error{background:#3c2034;color:#ffd0d4;border-color:#b86378}
@media(min-width:1400px) and (min-height:900px){.app-shell{height:100vh;min-height:900px}.app-header{height:98px;min-height:98px;flex:none}.workspace-bar{height:48px;min-height:48px;flex:none}.demo-notice{height:34px;min-height:34px;flex:none}main{min-height:0}.view{height:100%;min-height:0}.view#dashboardView{display:flex;flex-direction:column}.section-intro{min-height:54px;height:54px;padding:7px 0;flex:none}.section-intro h2{font-size:22px}.kpi-grid{flex:none}.kpi{height:140px;min-height:140px}.main-grid{flex:1;min-height:0;grid-template-columns:minmax(0,1.8fr) minmax(480px,1fr);grid-template-rows:minmax(0,1fr) 234px}.map-panel{grid-column:1;grid-row:1/3;height:100%;min-height:0}.map-chart{min-height:200px}.ranking-panel{grid-column:2;grid-row:1;height:100%;min-height:0}.trend-panel{grid-column:2;grid-row:2;height:234px;min-height:234px}.trend-panel .panel-heading{min-height:62px;padding-left:18px;padding-right:18px;gap:8px}.trend-panel .panel-heading h3{font-size:19px;letter-spacing:.5px}.trend-chart{height:132px;min-height:132px}.trend-footer{padding-left:18px;padding-right:18px;min-height:38px;max-width:100%;font-size:12px}.app-footer{min-height:38px;height:38px;padding:8px 0}.empty-state{height:100%;min-height:0}.table-scroll{max-height:calc(100vh - 420px)}.history-panel .table-scroll{max-height:calc(100vh - 294px)}}
@media(max-width:1599px){.brand-context{gap:10px}.local-tag{font-size:12px}.brand h1{font-size:40px;letter-spacing:4px}.brand .eyebrow{font-size:10px;letter-spacing:3px}.utility-actions{gap:15px}.tabs{gap:4px}.tab{padding:10px 17px}.workspace-bar{gap:12px}.period-control{gap:5px}.period-control label{font-size:13px}.kpi{padding-left:18px;padding-right:18px}.kpi-value strong{font-size:34px;letter-spacing:0}.kpi-top{font-size:15px}.kpi-bottom{font-size:12px}.main-grid{grid-template-columns:minmax(0,1.6fr) minmax(360px,1fr)}.panel-heading{padding-left:18px;padding-right:18px}.panel-heading h3{font-size:20px}.scope-note{font-size:13px}}
@media(max-width:1399px){.app-shell{padding:0 20px}.brand-context{flex-direction:column;align-items:flex-start;gap:6px;transform:translateY(-12px)}.app-header{min-height:106px}.workspace-bar{flex-wrap:wrap;padding:0 0 8px;gap:6px 18px}.tabs{order:0}.period-control{order:1;margin-left:auto}.utility-actions{order:2;flex-basis:100%;justify-content:flex-end;gap:24px}.demo-notice{padding:8px 0;line-height:1.7}.section-intro{min-height:66px}.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kpi{min-height:142px}.kpi-value strong{font-size:40px}.kpi-top{font-size:16px}.kpi-bottom{font-size:13px}.map-panel,.ranking-panel{height:500px}.main-grid{grid-template-columns:minmax(0,1.7fr) minmax(360px,1fr)}.panel-note{font-size:12px}.panel-heading{gap:8px}.map-footer{font-size:12px;padding-left:18px;padding-right:18px}.app-footer{flex-wrap:wrap;gap:6px 18px;padding:12px 0}.footer-demo{margin-left:auto}.table-scroll{max-height:500px}}
@media(max-width:1100px){.brand h1{font-size:34px;letter-spacing:2px}.brand .eyebrow{font-size:10px;letter-spacing:2px}.header-actions{gap:8px}.header-actions .button{padding:8px 12px;font-size:13px}.header-actions .icon-button{padding:0;font-size:25px}.local-tag{font-size:11px}.demo-badge{font-size:12px}.main-grid{grid-template-columns:minmax(0,1fr)}.map-panel{height:560px}.ranking-panel{height:450px}.trend-panel{grid-column:auto;min-height:270px}.trend-chart{height:180px}.scope-note{max-width:240px;white-space:normal;text-align:right;line-height:1.7}.table-toolbar{padding:16px 18px}.table-filters{gap:12px;flex-wrap:wrap}.table-scroll th,.table-scroll td{padding:12px 18px}.modal-actions>span{max-width:270px}}
@media(max-width:760px){.app-shell{padding:0 14px}.app-header{grid-template-columns:1fr auto;gap:10px;padding:14px 0;min-height:136px}.brand{grid-column:1/-1;grid-row:1;padding:0}.brand h1{font-size:29px}.brand-context{grid-column:1;flex-direction:row;align-items:center;padding:0;transform:none}.header-actions{grid-column:2;padding:0}.header-wings{display:none}.local-tag{display:none}.workspace-bar{align-items:center}.tab{padding:8px 12px;font-size:14px}.period-control{margin-left:0}.period-control label{display:none}.utility-actions{justify-content:flex-start;gap:18px;flex-wrap:wrap}.text-button{font-size:12px}.demo-notice{font-size:12px;align-items:flex-start}.notice-label{margin-top:2px}.section-intro{align-items:flex-start}.section-intro h2{font-size:20px}.section-subtitle{display:block;margin:6px 0 0;font-size:14px}.scope-note{max-width:170px;font-size:12px}.kpi-grid{gap:10px}.kpi{padding:14px;min-height:142px}.kpi-top{font-size:14px}.kpi-symbol{display:none}.kpi-value strong{font-size:30px}.kpi.leader .kpi-value strong{font-size:28px}.kpi-bottom{font-size:12px}.map-panel{height:440px}.map-footer{flex-direction:column;gap:5px}.panel-heading{padding:12px 16px}.panel-heading h3{font-size:18px}.panel-note{font-size:11px}.ranking-row{grid-template-columns:30px minmax(65px,1fr) minmax(154px,1.7fr)}.trend-key{font-size:12px}.trend-key span{margin-left:0}.trend-footer{font-size:12px}.app-footer{font-size:11px}.empty-state{min-height:560px;padding:28px 8px}.empty-state h2{font-size:24px}.empty-state p{font-size:14px}.empty-actions{flex-wrap:wrap;justify-content:center}.empty-footnote{font-size:12px}.table-filters{align-items:center}.table-filters label{font-size:13px}.pagination{flex-wrap:wrap;padding:14px 16px}.modal{max-width:calc(100vw - 24px);max-height:calc(100vh - 24px)}.modal-header{padding:16px 18px}.modal-content{padding:18px}.modal-actions{padding:14px 18px;flex-wrap:wrap}.modal-actions>span{flex-basis:100%;max-width:none}.preview-item{padding:14px}.preview-item strong.small-value{font-size:17px}.province-overview{grid-template-columns:1fr}.province-stat strong{font-size:25px}.detail-table th,.detail-table td{padding:10px 12px}.error-table{font-size:13px}.toast{font-size:13px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
.kpi-symbol svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:square;stroke-linejoin:miter}

/* The map is the canvas of the dashboard; panels float above its outer edges. */
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.brand h1{letter-spacing:6px}.brand-context{transform:none}.app-header{flex:none;height:94px;min-height:94px}.brand{padding-bottom:4px}.workspace-bar{flex:none}.app-footer{border-top:1px solid #205a8844;color:#91acc4}
.view#dashboardView.map-stage{display:block;position:relative;isolation:isolate;min-height:600px;background:radial-gradient(ellipse at 50% 46%,#0c46714d 0,transparent 66%)}
.map-stage>.map-chart{position:absolute;inset:0;z-index:0;width:100%;height:100%;min-height:0;background:transparent}
.map-stage>.chart-error{position:absolute;left:36%;right:36%;top:40%;z-index:1;background:#061a36e6;border:1px solid #98485a}
.floating-left,.floating-right{position:absolute;top:18px;bottom:18px;width:clamp(320px,22vw,408px);display:flex;flex-direction:column;gap:16px;z-index:2;pointer-events:none;min-height:0}
.floating-left{left:0}.floating-right{right:0}
.floating-left>*,.floating-right>*{pointer-events:auto}
.map-stage .kpi,.map-stage .panel{background:linear-gradient(120deg,#0a2949dd,#04152bdd);border-color:#27628a99;box-shadow:0 12px 28px #01071466,inset 0 1px #4982ad1c;backdrop-filter:blur(8px)}
.map-stage .kpi{padding:18px 20px;min-height:128px;height:auto;flex:none}
.map-stage .kpi.featured{background:linear-gradient(120deg,#0e4468ed,#051a32dd);border-color:#36a9c4aa}
.map-stage .kpi-value{margin:12px 0 0;gap:8px;min-height:42px;line-height:42px}
.map-stage .kpi-value strong{font-size:clamp(28px,2.1vw,40px);line-height:1.2;white-space:nowrap;letter-spacing:0}
.map-stage .kpi-value>span{font-size:13px}.map-stage .kpi-top{font-size:16px}
.map-stage .kpi-bottom{margin-top:6px;font-size:12px;line-height:19px}
.side-kpis{display:grid;grid-template-columns:1fr 1fr;gap:12px;min-width:0;pointer-events:none}
.side-kpis>.kpi{pointer-events:auto;padding:16px 12px;min-height:152px}
.side-kpis .kpi-symbol{display:none}.side-kpis .kpi-top{font-size:13px;gap:0;white-space:nowrap}
.side-kpis .kpi-value{gap:4px;margin-top:12px;min-height:40px}.side-kpis .kpi-value strong{font-size:29px;letter-spacing:0}
.side-kpis .kpi-value>span{font-size:12px}.side-kpis .kpi-bottom{font-size:11px;line-height:18px;overflow-wrap:normal}
.map-stage .panel-heading{min-height:54px;padding:13px 18px 11px;gap:8px;background:linear-gradient(90deg,#14375766,transparent)}
.map-stage .panel-heading h3{font-size:19px;line-height:26px;letter-spacing:1px;color:#cbefff}
.map-stage .trend-panel{margin-top:auto;height:clamp(260px,34vh,380px);min-height:240px;flex:none}
.map-stage .trend-chart{height:auto;min-height:170px;flex:1}
.map-stage .ranking-panel{flex:1;height:auto;min-height:260px}
.map-stage .ranking-table-head{margin:0 16px;font-size:11px;padding:10px 0}
.map-stage .ranking-list{padding:0 10px}
.map-stage .ranking-row{grid-template-columns:25px minmax(58px,1fr) minmax(148px,1.7fr);gap:5px;padding:9px 6px;min-height:52px}
.map-stage .ranking-name,.map-stage .ranking-value{font-size:14px}.map-stage .ranking-value small{margin-left:8px;font-size:11px}
.map-scope{position:absolute;left:50%;top:18px;transform:translateX(-50%);font-size:12px;letter-spacing:2px;color:#88aec8;pointer-events:none;z-index:1}
@media(min-width:1201px){.app-shell{height:100vh;min-height:760px}main{min-height:0}.view{height:100%;min-height:0}.view#dashboardView.map-stage{height:100%;min-height:0}.app-footer{min-height:38px;padding:8px 0;flex-wrap:nowrap}.empty-state{height:100%;min-height:0}.section-intro{height:62px;min-height:62px}.table-scroll{max-height:calc(100vh - 340px)}.history-panel .table-scroll{max-height:calc(100vh - 260px)}}
@media(min-width:1201px) and (max-width:1399px){.workspace-bar{flex-wrap:nowrap;min-height:48px;padding:0;gap:10px}.utility-actions{order:2;flex-basis:auto;gap:12px}.tabs{gap:2px}.tab{padding:9px 11px;font-size:14px}.period-control{margin-left:0}.period-control label{display:none}.period-control select{min-width:78px}.period-control #yearSelect{min-width:100px}.text-button{font-size:12px}.map-stage .kpi{padding:14px 18px;min-height:116px}.side-kpis>.kpi{padding:14px 10px;min-height:140px}.map-stage .kpi-top{font-size:14px}.side-kpis .kpi-top{font-size:12px}.map-stage .kpi-value strong{font-size:29px}.side-kpis .kpi-value strong{font-size:27px}.map-stage .trend-panel{height:260px}.floating-left,.floating-right{top:14px;bottom:14px;gap:14px}.map-stage .ranking-row{min-height:48px}}
@media(max-width:1200px){.app-shell{height:auto;min-height:100vh}.view#dashboardView.map-stage{height:auto;min-height:0;padding-top:560px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}.map-stage>.map-chart{height:540px}.floating-left,.floating-right{position:static;width:auto;height:680px;min-height:0;gap:16px}.map-stage .trend-panel{height:310px;margin-top:auto}.map-stage .ranking-panel{min-height:0}.map-scope{top:16px;bottom:auto}.map-stage>.chart-error{top:220px;left:25%;right:25%}.app-footer{margin-top:16px}.map-stage .kpi-value strong{font-size:36px}.side-kpis .kpi-value strong{font-size:29px}.side-kpis .kpi-top{font-size:13px}}
@media(max-width:760px){.app-header{height:auto;min-height:136px}.brand h1{letter-spacing:2px}.view#dashboardView.map-stage{grid-template-columns:minmax(0,1fr);padding-top:460px}.map-stage>.map-chart{height:440px}.map-scope{top:16px}.floating-left,.floating-right{height:auto;min-height:0}.map-stage .trend-panel{margin-top:0;height:300px}.map-stage .ranking-panel{height:480px;flex:none}.map-stage .kpi-value strong{font-size:32px}.side-kpis .kpi-value strong{font-size:28px}}

/* Flat offline texture stays below the interactive geographic canvas. */
.map-stage>.map-surface{position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none}
.map-stage>.map-markers{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none}
.map-material-warning{position:absolute;bottom:64px;left:50%;transform:translateX(-50%);max-width:420px;z-index:3;padding:8px 12px;background:#10283bed;border:1px solid #ba9c55;color:#f5dca2;font-size:12px;line-height:18px;pointer-events:none}
@media(max-width:1200px){.map-stage>.map-surface,.map-stage>.map-markers{height:740px}.map-material-warning{bottom:auto;top:665px}}
.view#dashboardView.map-stage{background:#04132b}
.map-stage::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:url("../assets/map-atmosphere-v2-flat.png") center center/cover no-repeat;opacity:1;filter:brightness(1.5) contrast(1.08)}
.map-stage>.map-chart{z-index:1;background:transparent}

/* The nine-slice frame keeps its cut corners and hairlines crisp at every panel size. */
.deep-blue-command-center{--surface-frame:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320' viewBox='0 0 320 320'%3E%3Cdefs%3E%3ClinearGradient id='metal' x1='0' y1='0' x2='.6' y2='1'%3E%3Cstop stop-color='%2380b7cf'/%3E%3Cstop offset='.18' stop-color='%232b638b'/%3E%3Cstop offset='.65' stop-color='%23153456'/%3E%3Cstop offset='1' stop-color='%23598ca7'/%3E%3C/linearGradient%3E%3ClinearGradient id='edge'%3E%3Cstop stop-color='%2368d8f0'/%3E%3Cstop offset='1' stop-color='%23296e97'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M1 1H306L319 14V319H14L1 306Z' fill='none' stroke='url(%23metal)' stroke-width='1.4'/%3E%3Cpath d='M6 6H303L314 17V314H17L6 303Z' fill='none' stroke='%232d6284' stroke-opacity='.56' stroke-width='1'/%3E%3Cpath d='M20 1H89M306 1L319 14M231 319H299M1 306L14 319' fill='none' stroke='url(%23edge)' stroke-width='2'/%3E%3Cpath d='M21 6H55M265 314H299' fill='none' stroke='%238ac7df' stroke-opacity='.5' stroke-width='1'/%3E%3Cpath d='M291 1H295M299 1H303M17 319H21M25 319H29' fill='none' stroke='%2387bbd2' stroke-opacity='.7' stroke-width='2'/%3E%3C/svg%3E")}
.kpi,.panel,.map-stage .kpi,.map-stage .panel{border:1px solid transparent;border-image-source:var(--surface-frame);border-image-slice:20;border-image-width:20px;border-image-repeat:stretch;background:linear-gradient(135deg,#3e719519 0%,transparent 38%),linear-gradient(180deg,#0b2947f0,#05162eeb 80%);box-shadow:0 10px 26px #01091466,inset 0 1px #c5ecff0d,inset 0 -10px 20px #0008171a;isolation:isolate}
.map-stage .kpi,.map-stage .panel{backdrop-filter:blur(10px)}
.map-stage .kpi.featured{border-color:transparent;background:linear-gradient(125deg,#26587670,transparent 55%),linear-gradient(180deg,#0b3554f2,#062039ee);box-shadow:0 10px 26px #01091470,inset 0 1px #cbf8ff14,inset 0 -12px 24px #02112733}
.kpi::before,.panel::before{content:none}
.kpi::after,.panel::after,.kpi.featured::after{content:"";position:absolute;left:19px;right:auto;top:auto;bottom:1px;width:56px;height:2px;background:linear-gradient(90deg,#58c9e3bb,#286f9866);opacity:1;pointer-events:none;z-index:2}
.kpi.featured::after{width:88px;background:linear-gradient(90deg,#72e1f3,#327a9b99)}
.kpi-symbol{border:1px solid #37769c66;background:linear-gradient(135deg,#24507188,#0b2a4655);color:#8bdcf1;box-shadow:inset 0 1px #9ad8ef1c,inset 0 -2px #010c2355;clip-path:polygon(0 0,calc(100% - 5px) 0,100% 5px,100% 100%,5px 100%,0 calc(100% - 5px))}
.panel-heading,.map-stage .panel-heading{position:relative;background:linear-gradient(110deg,#24527477,#11344f44 45%,#061a3033);border-bottom:1px solid #35618266;box-shadow:inset 0 1px #afd8ec0d}
.panel-heading::before{content:"";position:absolute;left:1px;top:17px;bottom:17px;width:2px;background:linear-gradient(180deg,#8ce7f2,#2c759e);pointer-events:none}
.panel-heading::after{content:"";position:absolute;left:18px;right:18px;bottom:-1px;height:1px;background:linear-gradient(90deg,#71b6cc77,#2b5c7e44 65%,transparent);pointer-events:none}
.panel-heading h3,.map-stage .panel-heading h3{color:#d4f0fc;text-shadow:0 1px 2px #020b1d}
.ranking-table-head{border-bottom-color:#28516caa}
.ranking-row{border-bottom-color:#20415866}
.ranking-row:enabled:hover{background:linear-gradient(90deg,#27608244,#0a2b4944)}
.header-wings{stroke:#3c668a;filter:drop-shadow(0 2px 0 #010b24)}
.header-wings .wing-highlight{stroke:#60cde6;filter:drop-shadow(0 1px 2px #1594c333)}
.header-wings .wing-ticks{stroke:#5ca9c8}
.brand h1{color:#e6f5ff;text-shadow:0 2px 0 #1a4976,0 5px 12px #000a20,0 0 24px #20729e4d}
.workspace-bar{border-bottom-color:#3a6a8c66;box-shadow:0 1px 0 #01091eaa}
.map-scope{text-shadow:0 1px 4px #020a1f}
@media(max-width:1200px){.map-stage::before{bottom:auto;height:540px}}
@media(max-width:760px){.map-stage::before{height:440px}}

/* Reference-inspired frame and three-column command screen. Assets are local. */
@font-face{font-family:"Sales Title Heavy";src:url("../assets/hongshan-sales-title-heavy.woff2") format("woff2");font-weight:900;font-style:normal;font-display:swap}
body{background:#071a34}
.app-shell{padding:0 20px;background:transparent}
.app-header{height:66px;min-height:66px;isolation:isolate}
.app-header::before{content:"";position:absolute;inset:0 -20px;background:url("../assets/header-frame-v2.png") center 42%/100% 580% no-repeat;pointer-events:none;z-index:-1}
.header-wings{display:none}
.brand h1{font-family:"Sales Title Heavy","Microsoft YaHei UI","Microsoft YaHei",sans-serif;font-size:30px;line-height:40px;font-style:normal;letter-spacing:3px;font-weight:900;transform:skewX(-9deg);color:#f2fbff;text-shadow:0 2px 0 #4a96c4,0 4px 2px #032d52,0 0 14px #44a6ee55}
.brand{padding-bottom:8px}.brand-context,.header-actions{padding-bottom:8px}
.demo-badge{background:#112c47c9;font-size:11px;height:22px;padding:0 8px}
.header-actions .button{min-height:30px;padding:4px 12px;font-size:12px}.header-actions .icon-button{width:32px;padding:0;font-size:24px}
.contact-link{display:inline-flex;align-items:center;gap:9px;min-height:34px;max-width:100%;padding:3px 8px 3px 3px;border:1px solid transparent;border-radius:3px;background:#071c3980;color:#d9efff;text-decoration:none;font-size:13px;line-height:22px;white-space:nowrap;transition:background .16s,border-color .16s,color .16s}
.contact-link img{display:block;width:26px;height:26px;flex:none;object-fit:contain;border-radius:3px;background:#fff}
.contact-link:hover{color:#fff;background:#123e62d9;border-color:#399fc0}.contact-link:active{background:#092a49}.contact-link:focus-visible{outline:2px solid var(--gold);outline-offset:3px}.contact-link[aria-busy="true"]{cursor:progress;color:#a9cee4;border-color:#28618c}
.workspace-bar{height:42px;min-height:42px;gap:14px;background:#071a34c9;border-bottom-color:#3174ae55}
.tab{font-size:13px;min-height:32px;padding:6px 17px}.period-control label{font-size:12px}.period-control select{min-height:28px;padding:4px 24px 4px 9px;font-size:12px}.text-button{font-size:12px;padding:4px 0}
.app-footer{height:30px;min-height:30px;padding:5px 0;font-size:11px}
.view#dashboardView.map-stage{background:#061b35}
.map-stage::before{background-image:url("../assets/map-atmosphere-v3-reference.png");filter:brightness(.86) saturate(.8);opacity:1}
.floating-left,.floating-right{top:12px;bottom:10px;width:clamp(300px,23vw,440px);gap:14px}
.summary-rail{display:flex;flex-direction:column;gap:6px;flex:none;height:184px;pointer-events:auto}
.summary-line{height:32px;min-width:0;display:flex;align-items:center;gap:9px;padding:0 13px;border-left:3px solid #2ca4f0;border-bottom:1px solid #2886d899;background:#0b3b6dc9;font-size:13px;color:#ecf6ff}
.summary-line>span{white-space:nowrap}.summary-line>strong{margin-left:auto;font-family:Bahnschrift,"Segoe UI",sans-serif;font-style:italic;font-weight:700;font-size:19px;line-height:28px;white-space:nowrap;color:#a7d2ff;letter-spacing:1px}.summary-line>small{font-size:11px;color:#abc9e2;white-space:nowrap;min-width:22px}
.map-stage .panel{background:#051831cf;border:0;border-image:none;box-shadow:none;backdrop-filter:none;overflow:hidden}
.panel::after,.panel::before,.panel-heading::before,.panel-heading::after{display:none}
.panel-heading,.map-stage .panel-heading{height:36px;min-height:36px;max-height:36px;padding:5px 17px 5px 14px;border:0;background:url("../assets/panel-title-v1.png") center 50.6%/100% 360% no-repeat;box-shadow:none;position:relative}
.panel-heading h3,.map-stage .panel-heading h3{font-size:17px;line-height:26px;letter-spacing:.5px;font-style:italic;font-weight:800;color:#f0f9ff;text-shadow:0 1px 3px #073966}
.panel-note{font-size:11px;margin-right:12px;color:#afcfea}
.share-panel,.composition-panel{height:220px;min-height:200px;flex:none;display:flex;flex-direction:column}
.compact-chart{flex:1;min-height:150px;width:100%}
.coverage-panel,.top-province-panel{height:150px;min-height:150px;flex:none}
.coverage-content{padding:18px 20px 8px}.coverage-labels{display:flex;align-items:center;justify-content:space-between;font-size:13px;color:#d3e8f8}.coverage-labels strong{font-family:Bahnschrift,"Segoe UI",sans-serif;font-size:22px;color:#f1f8ff;font-weight:600;margin-left:6px}
.coverage-track{height:18px;margin-top:16px;background:#f0d66466;overflow:hidden}.coverage-track>div{height:100%;background:#29bff0;min-width:0;max-width:100%}.coverage-unit{text-align:right;color:#94afca;font-size:11px;margin-top:6px}
.map-stage .trend-panel{height:auto;min-height:220px;flex:1;margin:0;display:flex;flex-direction:column}.map-stage .trend-chart{height:auto;min-height:170px;flex:1}
.map-stage .ranking-panel{flex:1;height:auto;min-height:220px}.map-stage .ranking-table-head{font-size:11px;padding:8px 0}.map-stage .ranking-row{min-height:40px;padding:6px;grid-template-columns:24px minmax(55px,1fr) minmax(136px,1.7fr)}.map-stage .ranking-name,.map-stage .ranking-value{font-size:12px}.map-stage .ranking-value small{font-size:10px}
.ranking-empty{padding:24px 16px;color:#acc5d9;font-size:13px;line-height:1.8;text-align:center}
.map-stage .ranking-row.is-touring{background:linear-gradient(90deg,#bc902b55,#735f252b);box-shadow:inset 3px 0 #ffe38b,inset 0 0 18px #e6bd4b12;animation:dashboard-tour-row-appear .4s ease-out}
.map-stage .ranking-row.is-touring .ranking-name,.map-stage .ranking-row.is-touring .ranking-value,.map-stage .ranking-row.is-touring .rank-number{color:#fff0bb}
.map-stage .ranking-row.is-touring .ranking-track>i{background:linear-gradient(90deg,#a88639,#ffe38b)}
@keyframes dashboard-tour-row-appear{from{background-color:#d3ae515c}to{background-color:transparent}}
.sales-map-tooltip:has(.tour-podium-card){padding:0!important;border:0!important;background:transparent!important;box-shadow:0 10px 28px #010b2299!important}
.tour-podium-card{--podium-color:#ffe18a;--podium-border:#dcb35f;--podium-tint:#c4982d2b;width:300px;max-width:calc(100vw - 70px);padding:22px 21px 18px;background:#071a34 url("../assets/podium-card-frame-v2.png") center/103% 116% no-repeat;border:1px solid #2794db77;border-bottom-color:var(--podium-border);clip-path:polygon(0 8px,8px 0,calc(100% - 8px) 0,100% 8px,100% calc(100% - 8px),calc(100% - 8px) 100%,8px 100%,0 calc(100% - 8px));white-space:normal}
.tour-podium-card[data-rank="2"]{--podium-color:#d4edff;--podium-border:#8bbedb;--podium-tint:#a2c9e52b}
.tour-podium-card[data-rank="3"]{--podium-color:#f0bc91;--podium-border:#bc8861;--podium-tint:#bc79512b}
.podium-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:40px}
.podium-heading strong{font-size:19px;line-height:1.4;color:#f3faff}
.podium-medal{display:grid;place-items:center;flex:none;width:40px;height:42px;color:var(--podium-color);font:bold 24px Bahnschrift,"Segoe UI",sans-serif;background:linear-gradient(145deg,var(--podium-tint),#123858);border-top:2px solid var(--podium-border);clip-path:polygon(0 0,100% 0,100% 78%,50% 100%,0 78%)}
.podium-period{font-size:12px;color:#acc9df;line-height:20px;margin-top:5px}
.podium-amount{font:600 24px/1.6 Bahnschrift,"Segoe UI",sans-serif;color:var(--podium-color);white-space:nowrap;margin:2px 0 6px}
.podium-ranking{font-size:12px;line-height:1.7;color:#d3e5f4;padding-top:7px;border-top:1px solid var(--podium-border)}
.ranking-track i.negative,.top-province-track i.negative{background:#d590bb}.has-negative .ranking-value{color:#ecc5db}
#topProvinceBars{padding:12px 18px 8px}.top-province-row{display:grid;grid-template-columns:46px minmax(0,1fr) 85px;align-items:center;gap:9px;min-height:28px;font-size:12px}.top-province-name{color:#d7e9fa;grid-column:1;grid-row:1}.top-province-value{color:#dcefff;text-align:right;font-family:Bahnschrift,"Segoe UI",sans-serif;white-space:nowrap;grid-column:3;grid-row:1}.top-province-track{height:5px;background:#163758;grid-column:2;grid-row:1}.top-province-track>i{display:block;height:100%;background:#36d9ed;max-width:100%}.top-province-row:nth-child(2) .top-province-track>i:not(.negative){background:#39a0fa}.top-province-row:nth-child(3) .top-province-track>i:not(.negative){background:#f2d46b}
.center-metrics{position:absolute;left:calc(clamp(300px,23vw,440px) + 24px);right:calc(clamp(300px,23vw,440px) + 24px);top:14px;z-index:2;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;pointer-events:none}
.center-metric{padding:0 0 8px;border-bottom:1px solid #218fe180;min-width:0}.center-metric>span{font-size:12px;color:#d8eafb;display:block;white-space:nowrap}.center-metric>strong{display:block;font-family:Bahnschrift,"Segoe UI",sans-serif;color:#ffe56b;font-size:22px;font-style:italic;font-weight:700;margin-top:5px;line-height:28px;white-space:nowrap}.center-metric strong b{font-weight:700}.center-metric strong small{font-size:11px;font-style:normal;color:#afc8df}.center-metric:first-child>strong{font-size:15px;color:#bcdfff}
.sales-hero{position:absolute;left:calc(clamp(300px,23vw,440px) + 24px);right:calc(clamp(300px,23vw,440px) + 24px);top:92px;z-index:2;text-align:center;pointer-events:none}
.sales-hero::before{content:"";position:absolute;top:-52px;left:0;right:0;height:200px;z-index:-1;background:url("../assets/sales-hero-frame-v2.png") center/100% 100% no-repeat;opacity:.95;filter:brightness(1.65) saturate(1.3) drop-shadow(0 0 4px #3ab4eb80);pointer-events:none}
.sales-hero h2{font-size:17px;font-weight:500;line-height:24px;letter-spacing:2px}.hero-amount{display:flex;align-items:baseline;justify-content:center;gap:10px;line-height:1.2;margin:4px 0 7px}.hero-amount strong{font-family:Bahnschrift,"Segoe UI",sans-serif;font-style:italic;font-size:48px;letter-spacing:2px;color:#ffe865;text-shadow:0 0 22px #2f95c780;white-space:nowrap}.hero-amount>span{font-size:12px;color:#a8c8df}.hero-ytd{display:flex;align-items:baseline;justify-content:center;gap:10px;font-size:12px;color:#c4e4fb}.hero-ytd strong{font-family:Bahnschrift,"Segoe UI",sans-serif;font-size:23px;line-height:28px;color:#8edaff;white-space:nowrap}.hero-note{font-size:11px;line-height:17px;color:#a1bfd9;letter-spacing:.3px}
.map-scope{top:236px;font-size:11px;letter-spacing:2px;color:#a3cce3}
.south-sea-inset{position:absolute;z-index:2;pointer-events:none;border:1px solid #73d6f0a6;background:linear-gradient(145deg,#0b315b80,#071b3680);box-shadow:inset 0 0 12px #2584e824;display:flex;flex-direction:column}
.south-sea-inset canvas{display:block;width:100%;height:calc(100% - 20px);flex:none}
.south-sea-inset>span{display:block;height:20px;line-height:20px;text-align:center;color:#acd9ec;font-size:10px;letter-spacing:1px;border-top:1px solid #4588ad55}
.map-stage .map-legend{bottom:auto;transform:none;z-index:2}
.map-legend{position:absolute;bottom:10px;left:50%;transform:translateX(-50%);z-index:1;display:flex;gap:14px;pointer-events:none;font-size:11px;color:#a9c9dd;white-space:nowrap}.map-legend>span{display:inline-flex;align-items:center;gap:5px}.map-legend i{display:inline-block;width:10px;height:8px;border:1px solid #a1bbd455}.legend-negative{background:#d590bb}.legend-zero{background:#355571}.legend-missing{background:#424b59}
@media(min-width:1201px){.app-shell{height:100vh;min-height:1000px}.workspace-bar{flex-wrap:nowrap}.floating-left,.floating-right{min-height:0}}
@media(min-width:1201px) and (max-width:1599px){.app-shell{min-height:1000px}.floating-left,.floating-right{width:300px;gap:12px}.center-metrics,.sales-hero{left:318px;right:318px}.center-metrics{gap:8px}.center-metric>span{font-size:11px}.center-metric>strong{font-size:19px}.center-metric:first-child>strong{font-size:12px}.center-metric strong small{font-size:10px}.hero-amount strong{font-size:40px}.summary-line{padding:0 10px;gap:5px;font-size:12px}.summary-line>strong{font-size:16px;letter-spacing:0}.summary-line>small{font-size:10px}.brand h1{font-size:27px;letter-spacing:3px}.panel-heading h3,.map-stage .panel-heading h3{font-size:16px}.share-panel,.composition-panel{height:210px}.map-stage .ranking-row{grid-template-columns:22px minmax(42px,1fr) minmax(134px,1.7fr)}.map-stage .ranking-value small{margin-left:5px}.panel-note{margin-right:8px}}
@media(max-width:1200px){.app-shell{height:auto;min-height:100vh;padding:0 16px}.app-header{height:68px;min-height:68px}.app-header::before{inset:0 -16px}.brand h1{font-size:25px;letter-spacing:2px}.workspace-bar{height:auto;min-height:74px;flex-wrap:wrap}.view#dashboardView.map-stage{padding-top:760px;gap:16px}.map-stage>.map-chart,.map-stage::before{height:740px}.floating-left,.floating-right{width:auto;height:1000px;gap:14px}.center-metrics,.sales-hero{left:22px;right:22px}.center-metrics{top:18px;gap:18px}.sales-hero{top:100px}.center-metric>strong{font-size:24px}.center-metric:first-child>strong{font-size:18px}.map-stage .trend-panel{height:auto;min-height:240px;margin:0}.map-stage .ranking-panel{height:auto;min-height:260px}.map-legend{top:712px;bottom:auto}.map-scope{top:246px}.app-footer{height:auto;min-height:32px;flex-wrap:wrap}.summary-line{font-size:13px}.summary-line>strong{font-size:20px}}
@media(max-width:760px){.brand h1{font-size:24px}.app-header{height:124px;min-height:124px}.app-header::before{height:64px}.brand{padding-bottom:0}.brand-context,.header-actions{padding-bottom:0}.view#dashboardView.map-stage{grid-template-columns:1fr;padding-top:760px}.floating-left,.floating-right{height:1000px}.center-metrics{gap:8px;left:10px;right:10px}.center-metric>span{font-size:10px}.center-metric>strong{font-size:19px}.center-metric:first-child>strong{font-size:12px}.center-metric strong small{font-size:10px}.hero-amount strong{font-size:36px}.sales-hero{left:12px;right:12px}.map-stage>.map-chart,.map-stage::before{height:740px}.map-legend{gap:8px}}
@media(min-width:1201px) and (max-height:949px){
  .app-shell{min-height:760px}
  .floating-left,.floating-right{top:10px;bottom:10px;gap:10px}
  .summary-rail{height:134px;gap:4px}.summary-line{height:23.6px;font-size:11px}.summary-line>strong{font-size:15px;line-height:22px}.summary-line>small{font-size:10px}
  .share-panel,.composition-panel{height:166px;min-height:166px}.compact-chart{min-height:130px}
  .panel-heading,.map-stage .panel-heading{height:30px;min-height:30px;max-height:30px;padding-top:2px;padding-bottom:2px}.panel-heading h3,.map-stage .panel-heading h3{font-size:15px}
  .coverage-panel,.top-province-panel{height:112px;min-height:112px}.coverage-content{padding:10px 16px 5px}.coverage-labels{font-size:12px}.coverage-labels strong{font-size:19px}.coverage-track{height:13px;margin-top:9px}.coverage-unit{font-size:10px;margin-top:4px}
  #topProvinceBars{padding:6px 14px}.top-province-row{min-height:23px;font-size:11px;grid-template-columns:42px minmax(0,1fr) 78px}
  .map-stage .trend-panel,.map-stage .ranking-panel{min-height:160px}.map-stage .trend-chart{min-height:128px}.map-stage .ranking-table-head{padding:6px 0}.map-stage .ranking-row{min-height:36px;padding-top:4px;padding-bottom:4px}
  .sales-hero{top:80px}.hero-amount strong{font-size:38px}.sales-hero h2{font-size:15px}.hero-ytd strong{font-size:20px}.hero-note{font-size:10px;line-height:15px}.map-scope{top:210px}
  .sales-hero::before{top:-48px;height:180px}
}

/* Ambient motion belongs to decorative pixels; text and map coordinates stay still. */
.map-stage>.map-background-motion{position:absolute;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none;overflow:hidden;display:none}
.map-background-motion>div{position:absolute;pointer-events:none;animation-play-state:paused}
.map-background-motion>.background-texture{inset:-4%;background:url("../assets/map-atmosphere-v3-reference.png") center/cover no-repeat;opacity:.18}
.map-background-motion>.background-haze{inset:-15%;background:radial-gradient(ellipse at 25% 58%,#0aa7e34d,transparent 48%),radial-gradient(ellipse at 76% 28%,#2066dc59,transparent 44%),radial-gradient(ellipse at 58% 84%,#1d94bd40,transparent 36%);opacity:.68}
.map-background-motion>.background-stream{inset:-40%;background:linear-gradient(112deg,transparent 36%,#1885c70a 41%,#43d1f333 47%,#278cca1f 50%,transparent 56%,#2672ba14 66%,transparent 73%);opacity:.58}
.map-background-motion>.background-stars{inset:-80px;background-image:radial-gradient(circle,#b2eaffb3 0 1px,transparent 1.7px),radial-gradient(circle,#52caf08c 0 1px,transparent 1.8px),radial-gradient(circle,#8cd8ff80 0 .7px,transparent 1.5px);background-size:317px 241px,433px 353px,557px 389px;background-position:37px 29px,157px 113px,253px 191px;opacity:.62}
body:is([data-motion-state="running"],[data-motion-state="paused"]) .map-stage>.map-background-motion{display:block}
body:is([data-motion-state="running"],[data-motion-state="paused"]) .background-texture{animation:dashboard-background-texture 38s ease-in-out infinite alternate;animation-play-state:paused}
body:is([data-motion-state="running"],[data-motion-state="paused"]) .background-haze{animation:dashboard-background-haze 22s ease-in-out infinite alternate;animation-delay:-6s;animation-play-state:paused}
body:is([data-motion-state="running"],[data-motion-state="paused"]) .background-stream{animation:dashboard-background-stream 16s ease-in-out infinite alternate;animation-delay:-4s;animation-play-state:paused}
body:is([data-motion-state="running"],[data-motion-state="paused"]) .background-stars{animation:dashboard-background-stars 30s linear infinite alternate;animation-play-state:paused}
body[data-motion-state="running"] .map-background-motion>div{animation-play-state:running}
@keyframes dashboard-background-texture{from{transform:translate(-1.5%,1%)}to{transform:translate(1.5%,-1%)}}
@keyframes dashboard-background-haze{from{transform:translate(-5%,2%);opacity:.5}to{transform:translate(6%,-3%);opacity:.82}}
@keyframes dashboard-background-stream{from{transform:translateX(-18%);opacity:.35}to{transform:translateX(18%);opacity:.72}}
@keyframes dashboard-background-stars{from{transform:translate(0,0);opacity:.45}to{transform:translate(52px,-48px);opacity:.8}}
@media(max-width:1200px){.map-stage>.map-background-motion{height:740px;bottom:auto}}
body:is([data-motion-state="running"],[data-motion-state="paused"]) .app-header::after{
  content:"";position:absolute;left:8%;right:8%;bottom:4px;height:2px;pointer-events:none;
  background:linear-gradient(90deg,transparent,#43bdf16e 34%,#a8edffed 50%,#43bdf16e 66%,transparent) -80% 0/34% 100% no-repeat;
  filter:drop-shadow(0 0 3px #43bdf18c);opacity:0;
  animation:dashboard-edge-sweep 7.8s ease-in-out infinite;animation-play-state:paused;
}
body:is([data-motion-state="running"],[data-motion-state="paused"]) .panel-heading::after{
  content:"";display:block;position:absolute;left:9px;right:9px;bottom:1px;height:2px;pointer-events:none;
  background:linear-gradient(90deg,transparent,#55c7ed55 28%,#a8edffcc 50%,#55c7ed55 72%,transparent) -80% 0/30% 100% no-repeat;
  opacity:0;animation:dashboard-edge-sweep 6.8s ease-in-out infinite;animation-delay:var(--heading-motion-delay,0s);animation-play-state:paused;
}
.floating-left .panel:nth-of-type(2){--heading-motion-delay:-2.1s}
.floating-left .panel:nth-of-type(3){--heading-motion-delay:-4.3s}
.floating-right .panel:nth-of-type(1){--heading-motion-delay:-1.2s}
.floating-right .panel:nth-of-type(2){--heading-motion-delay:-3.4s}
.floating-right .panel:nth-of-type(3){--heading-motion-delay:-5.6s}
body:is([data-motion-state="running"],[data-motion-state="paused"]) .sales-hero::before{
  animation:dashboard-hero-breathe 5.6s ease-in-out infinite;animation-play-state:paused;
}
body[data-motion-state="running"] .app-header::after,
body[data-motion-state="running"] .panel-heading::after,
body[data-motion-state="running"] .sales-hero::before{animation-play-state:running}

/* A paused background must never leave a newly opened view or dialog faded out. */
body:is([data-motion-state="running"],[data-motion-state="paused"]) .view:not([hidden]){animation:dashboard-content-appear .32s ease-out}
body:is([data-motion-state="running"],[data-motion-state="paused"]) .modal[open]{animation:dashboard-content-appear .2s ease-out}
body[data-motion-state="running"] .coverage-track>div{transition:width .45s cubic-bezier(.22,.61,.36,1)}
.map-stage>.map-motion{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none;display:none}
body:is([data-motion-state="running"],[data-motion-state="paused"]) .map-stage>.map-motion{display:block}
.map-motion>.map-pulse{position:absolute;width:8px;height:8px;margin:-4px;border:1px solid var(--pulse-color,#66dfff);border-radius:50%;opacity:0;pointer-events:none;animation:dashboard-map-pulse 3.6s ease-out infinite;animation-delay:var(--pulse-delay,0s);animation-play-state:paused}
body[data-motion-state="running"] .map-motion>.map-pulse{animation-play-state:running}
.map-pulse>.map-tour-label{display:none}
.map-motion>.map-pulse.is-touring{width:32px;height:32px;margin:-16px;border:2px solid #fff1ad;background:radial-gradient(circle,#fff9da 0 3px,#f9da68aa 4px 6px,transparent 7px);box-shadow:0 0 16px #ffd64da6,inset 0 0 10px #ffe08a66;opacity:1;z-index:1;animation:dashboard-tour-appear .4s ease-out}
.map-pulse.is-touring::before,.map-pulse.is-touring::after{content:"";position:absolute;inset:-4px;border:2px solid #ffe28a;border-radius:50%;box-shadow:0 0 9px #ffd55780;opacity:0;animation:dashboard-tour-ring 2.2s ease-out infinite;animation-play-state:paused}
.map-pulse.is-touring::after{animation-delay:-1.1s}
body[data-motion-state="running"] .map-pulse.is-touring::before,body[data-motion-state="running"] .map-pulse.is-touring::after{animation-play-state:running}
.map-pulse.is-touring>.map-tour-label{display:block;position:absolute;left:50%;top:42px;transform:translateX(-50%);padding:5px 11px;border:1px solid #f4d475;border-radius:3px;background:linear-gradient(120deg,#302e1bf5,#071b32f5);box-shadow:0 3px 14px #00112abb,0 0 10px #e7ba3b2b;color:#fff1b7;font:600 13px/19px "Microsoft YaHei UI","Microsoft YaHei",sans-serif;letter-spacing:.5px;white-space:nowrap}
.map-pulse.is-touring>.map-tour-label::before{content:"";position:absolute;left:calc(50% - 3px);top:-4px;width:6px;height:6px;background:#f4d475;transform:rotate(45deg)}
@keyframes dashboard-tour-appear{from{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}
@keyframes dashboard-tour-ring{0%{transform:scale(.8);opacity:.9}80%,100%{transform:scale(2.05);opacity:0}}
@keyframes dashboard-edge-sweep{
  0%,8%{background-position:-80% 0;opacity:0}
  17%{opacity:.9}
  69%{opacity:.9}
  82%,100%{background-position:180% 0;opacity:0}
}
@keyframes dashboard-hero-breathe{0%,100%{opacity:.88}50%{opacity:1}}
@keyframes dashboard-content-appear{from{opacity:.88}to{opacity:1}}
@keyframes dashboard-map-pulse{0%{transform:scale(1);opacity:.65}85%,100%{transform:scale(2.5);opacity:0}}
@media(max-width:1200px){.map-stage>.map-motion{height:740px}}
@media(max-width:760px){body:is([data-motion-state="running"],[data-motion-state="paused"]) .app-header::after{top:60px;bottom:auto}}
