.app-shell .stage3-workspace.editing-data{position:fixed;z-index:30;inset:0;display:grid;grid-template-columns:minmax(360px,42%) minmax(0,58%);grid-template-rows:minmax(0,1fr);gap:0;width:100vw;height:100dvh;padding:clamp(12px,2vw,26px);overflow:hidden;background:#17345399}@media(min-width:981px){.app-shell .stage3-workspace.editing-data{width:125vw;height:125dvh}}.app-shell .stage3-workspace.editing-data .stage3-page{display:flex;flex-direction:column;height:100%;width:auto;min-width:0;min-height:0;max-width:none;margin:0;padding:16px;overflow:hidden;border:1px solid #d5e2f0;border-right:0;border-radius:16px 0 0 16px;background:#f9fbff}.app-shell .stage3-workspace.editing-data .stage3-workbar{flex:none;flex-wrap:wrap;min-height:0;gap:8px 12px;padding-bottom:10px;margin-bottom:0}.app-shell .stage3-workspace.editing-data .stage3-workbar-title h1{font-size:18px}.app-shell .stage3-workspace.editing-data .stage3-workbar-title .eyebrow{display:block}.app-shell .stage3-workspace.editing-data .stage3-workbar-title small{display:none}.app-shell .stage3-workspace.editing-data .stage3-metric-picker{margin-left:0}.app-shell .stage3-workspace.editing-data .stage3-workbar-actions{margin-left:auto}.app-shell .stage3-workspace.editing-data .stage3-workbar-actions button{display:none}.app-shell .stage3-workspace.editing-data .stage3-layout{display:grid;grid-template-columns:minmax(0,1fr);flex:1;min-height:0;gap:0}.app-shell .stage3-workspace.editing-data .stage3-controls{display:none}.app-shell .stage3-workspace.editing-data .stage3-map-card{display:flex;flex-direction:column;height:100%;min-height:0;padding:8px;overflow:hidden}.app-shell .stage3-workspace.editing-data .stage3-map{flex:1 1 auto;width:100%;height:100%;min-height:0;aspect-ratio:auto}.app-shell .stage3-workspace.editing-data .data-dock:not([hidden]){display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden;border:1px solid #d5e2f0;border-radius:0 16px 16px 0;background:#fff}.app-shell .stage3-workspace.editing-data .data-dock-heading{position:relative;flex:none;min-height:56px;padding:10px 18px;border-bottom:1px solid #dfe8f2;box-shadow:none}.app-shell .stage3-workspace.editing-data .data-dock-heading strong{font-size:16px}.app-shell .stage3-workspace.editing-data .data-dock-heading span{display:inline}.app-shell .stage3-workspace.editing-data .data-dock-heading button{margin-left:auto}.app-shell .stage3-workspace.editing-data .data-page-embedded{flex:1;width:100%;min-height:0;max-width:none;margin:0;padding:0 18px 18px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}.app-shell .stage3-workspace.editing-data .data-editor-tabs{position:sticky;top:0;z-index:6;display:flex;gap:5px;padding:12px 0 10px;border-bottom:1px solid #e3ebf4;background:#fff}.app-shell .stage3-workspace.editing-data .data-editor-tabs button{min-width:0;padding:8px 12px;border:0;border-radius:8px;background:transparent;color:#607690;font-size:12px;font-weight:700}.app-shell .stage3-workspace.editing-data .data-editor-tabs button[aria-selected=true]{color:#1e61bd;background:#eaf3ff}.app-shell .stage3-workspace.editing-data .data-editor-tabs button:disabled{opacity:.5;cursor:not-allowed}.app-shell .stage3-workspace.editing-data .data-editor-tabs button[data-check-status=valid]{color:#14764c;background:#e8f7ee}.app-shell .stage3-workspace.editing-data .data-editor-tabs button[data-check-status=invalid]{color:#b43b45;background:#fff0f0}.app-shell .stage3-workspace.editing-data .data-editor-tabs button[data-check-status]:is(:hover,[aria-selected=true]){box-shadow:inset 0 0 0 1px currentColor}.app-shell .stage3-workspace.editing-data .data-grid{display:block;padding-top:14px}.app-shell .stage3-workspace.editing-data .data-primary,.app-shell .stage3-workspace.editing-data .data-side{display:block;min-width:0}.app-shell .stage3-workspace.editing-data .data-side>*+*{margin-top:14px}.app-shell .stage3-workspace.editing-data .data-grid .panel{padding:15px}.app-shell .stage3-workspace.editing-data .import-panel textarea{height:150px;min-height:100px}.app-shell .stage3-workspace.editing-data .metric-format-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.app-shell .stage3-workspace.editing-data .metric-format{display:flex;flex-direction:column;align-items:stretch;gap:6px;min-width:0;padding:9px;border:1px solid #e3ebf4;border-radius:8px;background:#fbfdff}.app-shell .stage3-workspace.editing-data .metric-format strong{min-width:0}.app-shell .stage3-workspace.editing-data .metric-format label{display:grid;gap:4px}.app-shell .stage3-workspace.editing-data .metric-format select{width:100%;min-width:0}.app-shell .stage3-workspace.editing-data .table-scroll{max-height:min(58dvh,600px);overflow:auto}.app-shell .stage3-workspace.editing-data .editable-table{width:max-content;min-width:100%}.app-shell .stage3-workspace.editing-data .editable-table th,.app-shell .stage3-workspace.editing-data .editable-table td{padding:7px 5px}.app-shell .stage3-workspace.editing-data .editable-table .actions-col{width:61px;min-width:61px;padding-inline:4px;vertical-align:middle}.app-shell .stage3-workspace.editing-data .editable-table .row-number-col{width:40px;min-width:40px;text-align:center;vertical-align:middle}.app-shell .stage3-workspace.editing-data .editable-table td.region-col,.app-shell .stage3-workspace.editing-data .editable-table th.region-col{min-width:138px}.app-shell .stage3-workspace.editing-data .editable-table td.metric-col,.app-shell .stage3-workspace.editing-data .editable-table th.metric-col,.app-shell .stage3-workspace.editing-data .editable-table td.data-col,.app-shell .stage3-workspace.editing-data .editable-table th.data-col{min-width:110px}.app-shell .stage3-workspace.editing-data .editable-table .match-col{min-width:142px;max-width:142px;vertical-align:middle}.app-shell .stage3-workspace.editing-data .editable-table .match-col select{width:132px;min-width:0;max-width:100%;padding-inline:6px;font-size:11px}.app-shell .stage3-workspace.editing-data .editable-table .row-actions{gap:3px}.app-shell .stage3-workspace.editing-data .editable-table .row-actions button{display:grid;place-items:center;width:24px;height:26px;padding:0;line-height:1;font-size:17px}.app-shell .stage3-workspace.editing-data .editable-table .row-actions .delete-row{color:#c73c48;border-color:#eebec2}.app-shell .stage3-workspace.editing-data .editable-table td.region-col input{box-sizing:border-box;width:128px;min-width:128px;max-width:128px}.app-shell .stage3-workspace.editing-data .editable-table td.metric-col input,.app-shell .stage3-workspace.editing-data .editable-table td.data-col input{box-sizing:border-box;width:100px;min-width:100px;max-width:100px}.app-shell .stage3-workspace.editing-data .data-page-embedded .data-side>.scope-note{display:none}@media(min-width:981px)and (max-width:1400px){.app-shell .stage3-workspace.editing-data{grid-template-columns:minmax(360px,36%) minmax(0,64%)}}@media(max-width:980px){.app-shell .stage3-workspace.editing-data{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(300px,56%) minmax(0,44%)}.app-shell .stage3-workspace.editing-data .stage3-page{border-right:1px solid #d5e2f0;border-bottom:0;border-radius:14px 14px 0 0}.app-shell .stage3-workspace.editing-data .data-dock:not([hidden]){border-radius:0 0 14px 14px}.app-shell .stage3-workspace.editing-data .stage3-workbar{padding-bottom:5px}.app-shell .stage3-workspace.editing-data .stage3-data-status{display:none}}@media(max-width:650px){.app-shell .stage3-workspace.editing-data{padding:6px;grid-template-rows:minmax(220px,37%) minmax(0,63%)}.app-shell .stage3-workspace.editing-data .stage3-page{padding:8px}.app-shell .stage3-workspace.editing-data .stage3-workbar-title .eyebrow{display:none}.app-shell .stage3-workspace.editing-data .stage3-workbar-title h1{font-size:15px}.app-shell .stage3-workspace.editing-data .data-dock-heading{padding:8px 10px}.app-shell .stage3-workspace.editing-data .data-dock-heading span{display:none}.app-shell .stage3-workspace.editing-data .data-page-embedded{padding:0 10px 12px}.app-shell .stage3-workspace.editing-data .data-editor-tabs button{padding:7px 9px;font-size:11px}.app-shell .stage3-workspace.editing-data .metric-format-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:440px){.app-shell .stage3-workspace.editing-data .metric-format-grid{grid-template-columns:minmax(0,1fr)}}:root{font-family:Microsoft YaHei,PingFang SC,sans-serif;color:#20344d;background:#f4f7fb}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}p{line-height:1.55}.app-nav{height:72px;background:#fff;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;align-items:center;padding:0 max(28px,calc((100vw - 1440px)/2));gap:20px}.brand{display:flex;align-items:center;gap:12px}.brand-mark{display:grid;place-items:center;width:37px;height:37px;border-radius:10px;background:#1e60d4;color:#fff;font-weight:800}.brand strong{display:block;font-size:15px}.brand small{display:block;color:#77869a;font-size:10px;letter-spacing:.05em;margin-top:2px}.nav-actions{display:flex;gap:8px}.nav-tab{border:0;background:transparent;padding:11px 16px;border-radius:8px;color:#5b6c80;font-size:13px}.nav-tab.active{background:#eaf2ff;color:#1459c4;font-weight:700}.nav-tab:hover{background:#eef3fa}main{max-width:1440px;margin:0 auto;padding:28px}.page-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px}.data-page{max-width:1440px;margin:0 auto;padding:28px}#data-editor:not([hidden]){border-top:1px solid #dfe7f1}.eyebrow{color:#2364cc;font-weight:700;letter-spacing:.08em;font-size:12px;margin:0 0 6px}.page-heading h1{margin:0;font-size:29px}.page-heading p:last-child{margin:8px 0 0;color:#66778e;font-size:13px}.stage-badge{background:#e9f7f1;color:#168563;border:1px solid #cbe8db;padding:7px 12px;border-radius:30px;font-size:12px;white-space:nowrap}.step-strip{display:flex;gap:26px;border-bottom:1px solid #dce5ef;margin-bottom:22px;color:#8a98a9;font-size:13px}.step-strip span{padding:0 0 14px}.step-strip .current{color:#1d5fd3;border-bottom:2px solid #1d5fd3;font-weight:700}.data-grid{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:18px;align-items:start}.data-primary,.data-side{display:grid;gap:18px;min-width:0}.data-primary{grid-template-columns:minmax(0,1fr)}.preview-panel{min-width:0}.panel,.map-card,.workspace aside{background:#fff;border:1px solid #dfe7f1;border-radius:12px;box-shadow:0 4px 20px #1e3d6410}.panel{padding:20px}.panel-title{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px}.panel-title>div{display:flex;gap:10px;align-items:center}.panel-title h2{font-size:16px;margin:0}.panel-title p{font-size:12px;color:#77889a;margin:0}.section-number{display:grid;place-items:center;min-width:27px;height:27px;padding:0 5px;border-radius:8px;background:#eaf2ff;color:#2364cc;font-size:12px;font-weight:700}.field-label{font-size:13px;font-weight:700;display:block;margin-bottom:8px}.import-panel textarea{display:block;width:100%;resize:vertical;min-height:145px;border:1px solid #d5dfeb;border-radius:8px;padding:12px 14px;background:#fbfcfe;line-height:1.6;font-size:13px;white-space:pre}.import-actions{display:flex;align-items:center;gap:13px;margin-top:14px}.import-actions>span{color:#91a0b1;font-size:12px}.import-actions button,.file-pick{background:#2466cf;color:#fff;border:1px solid #2466cf;border-radius:8px;padding:9px 14px;font-size:13px;font-weight:700}.file-pick{display:inline-block;background:#fff;color:#2466cf;position:relative;overflow:hidden;cursor:pointer}.file-pick input{position:absolute;inset:0;opacity:0;cursor:pointer}.help-text{font-size:12px;color:#6c7f94;margin:11px 0 0}.inline-field{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:700}.inline-field select,.metric-format select,.editable-table select{min-width:130px;padding:7px 9px;border-radius:6px;border:1px solid #cdd9e7;background:#fff;color:#253b55}.import-panel>.inline-field{margin-top:14px}.mapping-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#f6f9fd;border:1px solid #e5ebf4;padding:12px;border-radius:8px}.mapping-hint{font-size:12px;color:#728298}.metric-controls{display:flex;gap:16px;flex-wrap:wrap;padding:14px 0}.metric-choice{display:flex;align-items:center;gap:5px;font-size:12px}.metric-choice input{accent-color:#2466cf}.metric-format{display:flex;gap:16px;align-items:center;flex-wrap:wrap;padding:9px 0;border-top:1px solid #eef2f6;font-size:12px}.metric-format strong{min-width:90px}.metric-format label{display:flex;gap:7px;align-items:center;color:#64748b}.row-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:12px 0 8px;color:#718399;font-size:11px}.row-toolbar>div{display:flex;gap:7px}.row-toolbar button,.row-actions button{border:1px solid #c8d8ee;border-radius:6px;background:#fff;color:#2364cc;padding:5px 9px;font-size:11px;white-space:nowrap}.row-toolbar button:hover,.row-actions button:hover{background:#edf4ff}.row-actions{display:flex;gap:5px}.row-actions .delete-row{color:#aa4a51;border-color:#eed0d2}.table-scroll{overflow-x:auto;overflow-y:auto;max-height:480px;border:1px solid #e1e8f1;border-radius:8px}.table-scroll::-webkit-scrollbar{height:12px;width:12px}.table-scroll::-webkit-scrollbar-thumb{background:#c4d2e3;border:3px solid #f6f9fc;border-radius:8px}.editable-table,.result-scroll table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}.editable-table{width:max-content;min-width:100%}.editable-table th,.editable-table td,.result-scroll th,.result-scroll td{border-bottom:1px solid #eaf0f6;padding:8px;vertical-align:top}.editable-table thead,.result-scroll thead{position:sticky;top:0;background:#f6f9fc;z-index:1}.editable-table th{white-space:nowrap;color:#62768d;font-weight:700}.editable-table th em{font-style:normal;font-size:10px;border-radius:4px;padding:2px 5px;margin-left:5px;background:#eaf2ff;color:#2b67b9}.editable-table td input{min-width:90px;width:100%;max-width:170px;border:1px solid transparent;background:transparent;padding:5px 6px;border-radius:5px}.editable-table td input:hover,.editable-table td input:focus{border-color:#abc7ed;background:#fff;outline:none}.editable-table td.cell-error input{border-color:#e69696;background:#fff8f8}.editable-table small{display:block;font-size:10px;max-width:180px;line-height:1.5}.error{color:#b43b45}.warning{color:#9c6e10}.empty-text{color:#8493a4;font-size:12px;margin:0}.editable-table tbody tr{height:52px}.editable-table tbody th,.editable-table tbody td{vertical-align:middle}.editable-table tbody td:has(.cell-issue-anchor){position:relative}.editable-table tbody td:has(.cell-issue-anchor) input{padding-right:20px}.cell-issue-anchor{position:absolute;right:8px;top:50%;transform:translateY(-50%)}.cell-issue-marker{display:grid;place-items:center;width:16px;height:16px;padding:0;border:1px solid currentColor;border-radius:50%;background:#fff;font-size:10px;line-height:1;font-weight:800;cursor:pointer}.cell-issue-marker.error{color:#bb3843}.cell-issue-marker.warning{color:#a16d16}.cell-issue-popover{width:max-content;max-width:min(300px,calc(100vw - 16px));padding:8px 10px;border:1px solid #d4deeb;border-radius:8px;background:#fff;box-shadow:0 8px 24px #17375b28}.cell-issue-popover p{max-width:280px;margin:3px 0;font-size:11px;line-height:1.45;white-space:normal}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-bottom:12px}.stat-grid>div{display:flex;flex-direction:column;align-items:center;background:#f6f9fc;border-radius:8px;padding:10px 4px}.stat-grid strong{font-size:21px;color:#254363}.stat-grid span{font-size:11px;color:#8392a4}.duplicate-box{border:1px solid #f0d8a4;background:#fffaf0;border-radius:8px;padding:12px;margin:10px 0}.duplicate-box h3{font-size:13px;margin:0 0 6px}.duplicate-box p{font-size:12px;margin:4px 0}.decision-buttons{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.decision-buttons button{font-size:11px;color:#5e6670;border:1px solid #d7dde5;background:#fff;padding:6px 8px;border-radius:5px}.decision-buttons button.chosen{color:#145ac0;border-color:#8ab4ed;background:#eaf2ff}.issue-list{max-height:220px;overflow:auto}.issue-list p{border-left:2px solid currentColor;padding-left:8px;margin:8px 0;font-size:11px}.success-text{font-size:12px;color:#168563;font-weight:700}.result-panel .inline-field{margin:12px 0}.result-scroll{max-height:430px;overflow:auto;border:1px solid #e1e8f1;border-radius:8px}.result-scroll td{white-space:nowrap}.result-scroll td:last-child{color:#75889d}.scope-note{color:#7d8da0;font-size:11px;margin:0;padding:0 6px}main>header:not(.page-heading){margin-bottom:24px}main>header:not(.page-heading) h1{font-size:26px;margin:4px 0 10px}main>header:not(.page-heading) p:last-child{font-size:13px;color:#687b90}.data-page>header:not(.page-heading){margin-bottom:24px}.data-page>header:not(.page-heading) h1{font-size:26px;margin:4px 0 10px}.data-page>header:not(.page-heading) p:last-child{font-size:13px;color:#687b90}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:20px;align-items:start}.map-card{padding:12px}.map{width:100%;aspect-ratio:3/2;min-height:380px}.workspace aside{padding:20px;display:flex;flex-direction:column;gap:16px}.workspace aside h2{font-size:18px;margin:0}.workspace aside label{display:flex;gap:8px;align-items:center;font-size:13px}.workspace aside button{border:0;border-radius:7px;padding:10px 12px;background:#1756a9;color:#fff}.workspace aside [role=status]{font-size:12px;color:#486079;margin:0}.stage2-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.9fr);gap:18px;align-items:start}.stage2-controls,.stage2-preview{min-width:0}.stage2-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.stage2-fields label,.stage2-values,.stage2-zero label,.stage2-manual-row label{display:flex;flex-direction:column;gap:6px;color:#596d85;font-size:12px;font-weight:700}.stage2-fields select,.stage2-values textarea,.stage2-zero input:not([type=checkbox]),.stage2-manual-row input,.stage2-color-grid input{width:100%;min-width:0;border:1px solid #cdd9e7;border-radius:7px;background:#fff;color:#253b55;padding:8px 10px}.stage2-values{margin-top:16px}.stage2-values textarea{resize:vertical;min-height:72px;font-family:Consolas,monospace;line-height:1.5}.stage2-zero{display:grid;grid-template-columns:110px 130px minmax(0,1fr);gap:12px;align-items:end;margin:18px 0;padding:14px;border:1px solid #e1e8f1;border-radius:8px;background:#f8fbff}.stage2-zero input[type=color]{width:60px;height:36px;padding:3px;cursor:pointer}.stage2-zero .stage2-check{flex-direction:row;align-items:center;padding-bottom:9px}.stage2-manual{margin:18px 0;border-top:1px solid #e9eff6;padding-top:14px}.stage2-manual h3,.stage2-colors h3,.stage2-preview h3{font-size:14px;margin:0 0 10px}.stage2-manual-row{display:grid;grid-template-columns:70px repeat(2,minmax(0,1fr));gap:10px;align-items:center;margin:8px 0;font-size:12px}.stage2-manual-row>span{color:#50647b;font-weight:700}.stage2-colors{margin-top:18px;border-top:1px solid #e9eff6;padding-top:14px}.stage2-subheading{display:flex;justify-content:space-between;align-items:center;gap:10px}.stage2-subheading button{border:1px solid #c8d8ee;background:#fff;color:#2364cc;border-radius:6px;padding:6px 9px;font-size:11px}.stage2-color-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.stage2-color-grid label{display:grid;grid-template-columns:24px 56px minmax(0,1fr);align-items:center;gap:6px;font-size:11px;color:#60748d;white-space:nowrap}.stage2-color-dot,.stage2-swatch{display:inline-block;width:22px;height:22px;border:1px solid #b7c4d2;border-radius:4px;vertical-align:middle;flex:none}.stage2-color-grid input{padding:6px;font-size:11px;font-family:Consolas,monospace}.stage2-summary{background:#edf5ff;color:#2458a0;border-radius:8px;padding:10px 12px;font-size:13px;font-weight:700}.stage2-issues p{font-size:12px;margin:6px 0}.stage2-legend{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 22px}.stage2-legend>div{display:flex;gap:6px;align-items:center;border:1px solid #e2e9f2;border-radius:7px;padding:6px 8px;font-size:11px;white-space:nowrap}.stage2-table-scroll{overflow:auto;max-height:420px;border:1px solid #e1e8f1;border-radius:8px}.stage2-table-scroll table{width:100%;border-collapse:collapse;font-size:11px}.stage2-table-scroll th,.stage2-table-scroll td{padding:9px;border-bottom:1px solid #eaf0f6;white-space:nowrap;text-align:left}.stage2-table-scroll thead{position:sticky;top:0;background:#f6f9fc}.stage2-table-scroll code{margin-left:6px;color:#4e6074}.stage2-preview>.scope-note{margin-top:16px}.stage3-source{margin:0 0 15px;border:1px solid #cce0f6;background:#edf5ff;color:#265c9e;border-radius:8px;padding:9px 12px;font-size:12px}.stage3-heading-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.stage3-heading-actions button{border:1px solid #a9c9f1;background:#fff;color:#1c62c8;padding:8px 12px;border-radius:8px;font-size:12px;font-weight:700}.stage3-data-return{max-width:1440px;margin:0 auto;padding:15px 28px 0;display:flex;justify-content:space-between;align-items:center;color:#31537c;font-size:13px;font-weight:700}.stage3-data-return button{border:1px solid #a9c9f1;border-radius:8px;padding:8px 13px;background:#fff;color:#1c62c8;font-size:12px;font-weight:700}.stage3-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:18px;align-items:start}.stage3-map-card{min-width:0}.stage3-map{width:100%;aspect-ratio:3/2;min-height:390px}.stage3-values{margin-top:12px;padding:12px;border-top:1px solid #e2e9f2}.stage3-values>p{color:#5e7186;font-size:12px;margin:0 0 9px}.stage3-value-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.stage3-value-list>div{display:flex;align-items:center;gap:7px;color:#334b67;font-size:12px;background:#f8fafc;border:1px solid #e7edf4;border-radius:7px;padding:8px}.stage3-controls{display:grid;gap:13px}.stage3-controls>.panel-title{margin-bottom:1px}.stage3-controls>label{display:flex;flex-direction:column;gap:6px;color:#5a6e86;font-size:12px;font-weight:700}.stage3-controls select,.stage3-controls input[type=color],.stage3-controls input[type=text],.stage3-controls input[type=number],.stage3-controls .stage3-zero input:not([type=checkbox]),.stage3-color-grid input{width:100%;min-width:0;border:1px solid #cedae8;border-radius:7px;background:#fff;color:#253b55;padding:8px 10px}.stage3-controls input[type=color]{height:39px;padding:3px;cursor:pointer}.stage3-checks{border-top:1px solid #e7edf4;border-bottom:1px solid #e7edf4;padding:10px 0;display:grid;gap:8px}.stage3-checks label{display:flex;align-items:center;gap:7px;color:#4e637b;font-size:12px}.stage3-checks input{accent-color:#2364cc}.stage3-class-summary{margin:0;padding:8px 10px;border-radius:7px;background:#edf5ff;color:#265c9e;font-size:12px;font-weight:700}.stage3-palette,.stage3-manual,.stage3-colors{border-top:1px solid #e7edf4;padding-top:12px}.stage3-palette h3,.stage3-manual h3,.stage3-colors h3{margin:0;font-size:13px}.stage3-palette .stage2-subheading span{color:#8495a9;font-size:11px}.stage3-palette-popover{width:286px;max-width:calc(100vw - 16px);padding:10px;border:1px solid #cbd9e9;border-radius:10px;background:#fff;box-shadow:0 14px 34px #203b5d35}.stage3-palette-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.stage3-palette-grid button{display:flex;flex-direction:column;gap:6px;text-align:left;border:1px solid #d8e2ee;border-radius:8px;background:#fff;padding:8px;color:#52677f;font-size:11px}.stage3-palette-grid button.selected{border-color:#2970db;box-shadow:0 0 0 1px #2970db;color:#1958b7;font-weight:700}.stage3-palette-strip{display:flex;overflow:hidden;width:100%;height:15px;border-radius:4px}.stage3-palette-strip i{flex:1}.stage3-zero{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:10px;border:1px solid #e4ebf3;border-radius:8px;background:#f8fbff}.stage3-zero label{display:flex;flex-direction:column;gap:5px;color:#5a6e86;font-size:11px;font-weight:700}.stage3-zero label:last-child{grid-column:1/-1}.stage3-zero .stage3-check{flex-direction:row;align-items:center;font-weight:400}.stage3-zero .stage3-check input{accent-color:#2364cc}.stage3-manual .help-text{margin:7px 0 10px}.stage3-manual-row{display:grid;grid-template-columns:55px 1fr 1fr;gap:6px;align-items:center;margin-top:7px;color:#5f738a;font-size:11px}.stage3-manual-row input{padding:6px}.stage3-color-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.stage3-color-grid label{display:grid;grid-template-columns:22px 1fr;gap:5px;align-items:center;color:#5f738a;font-size:11px}.stage3-color-grid input{grid-column:1/-1;font-family:Consolas,monospace;font-size:11px;padding:6px}.stage3-text-settings{border-top:1px solid #e7edf4;padding-top:12px}.stage3-text-settings h3{font-size:13px;margin:0 0 10px}.stage3-text-settings>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.stage3-text-settings label{display:flex;flex-direction:column;gap:5px;color:#5a6e86;font-size:11px;font-weight:700}.stage3-text-settings input{width:100%;min-width:0;border:1px solid #cedae8;border-radius:7px;color:#253b55;padding:8px 10px}.stage3-legend-editor{border-top:1px solid #e7edf4;padding-top:12px}.stage3-legend-editor summary{color:#275caa;cursor:pointer;font-size:12px;font-weight:700}.stage3-legend-editor label{display:flex;flex-direction:column;gap:5px;margin-top:9px;color:#5a6e86;font-size:11px}.stage3-legend-editor input{width:100%;min-width:0;border:1px solid #cedae8;border-radius:7px;padding:7px 9px}.stage3-legend-editor-list{max-height:min(220px,30dvh);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;padding-right:4px}.stage3-legend-title{border-top:1px solid #e7edf4;padding-top:12px}.stage3-legend-title input:disabled{color:#8292a5;background:#f7f9fc}.stage3-name-format{display:flex;flex-direction:column;gap:8px}.stage3-name-format h3,.stage3-text-settings h3,.stage3-boundary-settings h3{margin:0;color:#20344d;font-size:14px;font-weight:700;line-height:1.35}.stage3-text-settings h3,.stage3-boundary-settings h3{margin-bottom:10px}.stage3-boundary-settings{border-top:1px solid #e7edf4;padding-top:12px}.stage3-boundary-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stage3-boundary-fields>label{display:flex;flex-direction:column;gap:5px;min-width:0;color:#5a6e86;font-size:11px;font-weight:700}.stage3-background-field{grid-column:1/-1}.stage3-issues p{margin:4px 0;font-size:11px}@media(max-width:980px){.data-grid{grid-template-columns:1fr}.data-side{grid-template-columns:1fr 1fr}.workspace{grid-template-columns:1fr}}@media(max-width:980px){.stage2-grid,.stage3-layout{grid-template-columns:1fr}}@media(max-width:650px){main{padding:18px}.app-nav{height:auto;padding:12px 18px;align-items:flex-start;flex-direction:column}.nav-actions{flex-wrap:wrap}.page-heading{flex-direction:column}.data-side{grid-template-columns:1fr}.step-strip{gap:12px;font-size:11px}.panel{padding:15px}.panel-title,.mapping-bar{align-items:flex-start;flex-direction:column}.map,.stage3-map{min-height:280px}.stage2-fields,.stage2-color-grid,.stage3-value-list{grid-template-columns:1fr}.stage2-zero{grid-template-columns:1fr 1fr}}.app-shell{min-height:100dvh}.dev-nav{position:relative;align-self:center}.dev-nav>summary{list-style:none;cursor:pointer;border-radius:8px;padding:11px 16px;color:#61748c;font-size:13px}.dev-nav>summary::-webkit-details-marker{display:none}.dev-nav>summary:after{content:"⌄";margin-left:8px}.dev-nav[open]>summary,.dev-nav>summary:hover{background:#eef3fa;color:#1d5fc3}.dev-nav>div{position:absolute;top:calc(100% + 8px);right:0;z-index:20;display:grid;gap:3px;width:190px;padding:8px;border:1px solid #dce6f1;border-radius:12px;background:#fff;box-shadow:0 12px 32px #17375b21}.dev-nav .nav-tab{text-align:left;white-space:nowrap}.stage3-page{max-width:1440px;margin:0 auto;padding:20px 28px 28px}.stage3-workbar{display:flex;align-items:center;gap:20px;min-height:66px;padding:0 0 16px}.stage3-workbar-title{min-width:240px}.stage3-workbar-title .eyebrow{display:block;margin:0 0 3px}.stage3-workbar-title h1{margin:0;font-size:22px;letter-spacing:.01em;line-height:1.3}.stage3-workbar-title small{display:block;color:#a36b29;font-size:11px;margin-top:4px}.stage3-metric-picker{display:flex;align-items:center;gap:9px;margin-left:auto;font-size:12px;font-weight:700;color:#5c7088;white-space:nowrap}.stage3-metric-picker select{min-width:125px;border:1px solid #cbd9e9;border-radius:8px;padding:8px 10px;color:#253b55;background:#fff}.stage3-workbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;min-width:0}.stage3-data-status{color:#67809b;font-size:11px;line-height:1.35;text-align:right;max-width:190px}.stage3-data-status.warning{color:#a56724;font-weight:700}.stage3-workbar-actions button,.data-dock-heading button{border:1px solid #1e62c9;background:#2166d2;color:#fff;padding:9px 14px;border-radius:8px;font-size:12px;font-weight:700;white-space:nowrap}.stage3-layout{align-items:stretch}.stage3-controls{align-self:start;max-height:calc(100dvh - 122px);overflow:auto;scrollbar-width:thin;align-content:start;grid-auto-rows:max-content}.stage3-controls:not(.detail-ranges) .stage3-detail-ranges,.stage3-controls:not(.detail-labels) .stage3-detail-labels,.stage3-controls:not(.detail-legend) .stage3-detail-legend,.stage3-controls.is-detail .stage3-quick-only{display:none}.stage3-controls .panel-title{flex-direction:row;align-items:center}.stage3-controls .panel-title h2{font-size:16px}.stage3-palette-current{display:flex;align-items:center;gap:12px;width:100%;border:1px solid #d4e1f0;border-radius:9px;padding:8px;color:#2864b3;background:#fff;font-size:11px;white-space:nowrap}.stage3-palette-current .stage3-palette-strip{flex:1;height:20px}.stage3-palette-current:hover{background:#eaf3ff}.stage3-settings-switch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;border-bottom:1px solid #e2e9f2}.stage3-settings-switch button{min-width:0;padding:2px 4px 10px;border:0;border-bottom:2px solid transparent;background:transparent;color:#71869f;font-size:13px;font-weight:700;cursor:pointer}.stage3-settings-switch button[aria-pressed=true]{border-bottom-color:#246bd5;color:#1e5fc0}.stage3-detail-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;border-radius:8px;background:#edf3fb;padding:3px}.stage3-detail-tabs button{min-width:0;border:0;border-radius:6px;padding:4px 2px;background:transparent;color:#58708d;font-size:12px;font-weight:700;white-space:nowrap}.stage3-detail-tabs button[aria-pressed=true]{color:#1959b5;background:#fff;box-shadow:0 1px 4px #1d4d891a}.stage3-checks{grid-template-columns:repeat(2,minmax(0,1fr))}.stage3-value-list{grid-template-columns:repeat(6,minmax(0,1fr));margin-top:10px}.stage3-value-list>div{min-width:0;padding:6px 7px;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stage3-value-list>div .stage2-swatch{flex:none}.stage3-values summary{color:#5f758e;cursor:pointer;font-size:11px}.stage3-controls .stage3-issues{padding:8px;border-radius:7px;background:#fff8ef}.stage3-palette .stage2-subheading{margin-bottom:10px}.stage3-palette-grid .stage3-palette-more{grid-column:1/-1;min-height:52px;align-items:center;justify-content:center;border-style:dashed;color:#2765b7;font-weight:700}.stage3-palette-back{border:0;padding:3px 0;background:transparent;color:#2765b7;font-size:11px;font-weight:700}.stage3-custom-palette>p{margin:4px 0 9px;color:#71869f;font-size:10px}@media(max-width:650px){.stage3-value-list{grid-template-columns:repeat(2,minmax(0,1fr))}}.stage3-workspace.editing-data{height:calc(100dvh - 72px);display:grid;grid-template-rows:minmax(0,62%) minmax(0,38%);overflow:hidden}.editing-data .stage3-page{display:flex;flex-direction:column;width:100%;min-height:0;overflow:hidden;padding-top:9px;padding-bottom:8px}.editing-data .stage3-workbar{flex:none;min-height:58px;padding-bottom:7px}.editing-data .stage3-workbar-title h1{font-size:18px}.editing-data .stage3-workbar-title .eyebrow,.editing-data .stage3-workbar-title small{display:none}.editing-data .stage3-layout{flex:1;min-height:0;grid-template-columns:minmax(0,1fr) 300px}.editing-data .stage3-map-card{position:relative;display:flex;flex-direction:column;min-height:0;height:100%;overflow:hidden}.editing-data .stage3-map{flex:1;min-height:0;height:100%;aspect-ratio:auto}.editing-data .stage3-map-stage{flex:1;min-height:0;aspect-ratio:auto}.stage3-compact-legend{position:absolute;right:12px;bottom:10px;z-index:2;max-width:150px;max-height:80%;overflow:auto;display:grid;gap:5px;padding:7px 8px;border:1px solid #dce5ef;border-radius:7px;background:#ffffffec;box-shadow:0 2px 8px #17375b12}.stage3-compact-legend>div{display:flex;align-items:center;gap:5px;min-width:0;color:#394e67;font-size:10px;line-height:1.25}.stage3-compact-legend i{flex:none;width:10px;height:10px;border:1px solid #b1becd;border-radius:2px}.stage3-compact-legend span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.editing-data .stage3-map-card>.scope-note,.editing-data .stage3-values{display:none}.editing-data .stage3-controls{max-height:100%;min-height:0;align-self:stretch;padding:14px}.editing-data .stage3-controls .stage3-class-summary{display:none}.data-dock{min-height:0;overflow-y:auto;overflow-x:hidden;background:#f5f8fc;border-top:1px solid #ccdbea;overscroll-behavior:contain;scrollbar-width:thin}.data-dock-heading{position:sticky;top:0;z-index:5;display:flex;align-items:center;gap:12px;min-height:48px;padding:7px max(28px,calc((100vw - 1384px)/2));border-bottom:1px solid #e0e8f2;background:#fff;box-shadow:0 2px 7px #17375b0b}.data-dock-heading strong{font-size:13px;color:#244460;white-space:nowrap}.data-dock-heading span{color:#7a8fa5;font-size:11px}.data-dock-heading button{margin-left:auto;padding:6px 10px;background:#fff;color:#2868c1;white-space:nowrap}.data-page-embedded{padding:14px 28px 24px}.data-page-embedded .data-grid{grid-template-columns:minmax(0,1fr) 270px;gap:13px}.data-page-embedded .data-primary,.data-page-embedded .data-side{gap:13px}.data-page-embedded .panel{padding:15px}.data-page-embedded .import-panel textarea{min-height:75px;height:75px}.data-page-embedded .table-scroll{max-height:360px}.data-page-embedded .result-scroll{max-height:260px}.data-page-embedded .data-side>.scope-note{display:none}@media(max-width:1050px){.stage3-workbar{flex-wrap:wrap}.stage3-metric-picker{margin-left:auto}.stage3-workspace.editing-data{grid-template-rows:minmax(0,60%) minmax(0,40%)}.editing-data .stage3-layout{grid-template-columns:minmax(0,1fr) 260px}.data-page-embedded .data-grid{grid-template-columns:minmax(0,1fr) 230px}}@media(max-width:980px){.editing-data .stage3-layout{grid-template-columns:minmax(0,1fr)}.editing-data .stage3-controls{display:none}.data-page-embedded .data-grid{grid-template-columns:1fr}.data-page-embedded .data-side{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.stage3-page{padding:14px 14px 22px}.stage3-workbar-title{min-width:0}.stage3-workbar-title h1{font-size:19px}.stage3-workbar{gap:8px 12px}.stage3-metric-picker{margin-left:0}.stage3-workbar-actions{margin-left:auto}.stage3-data-status{display:none}.stage3-workspace.editing-data{height:calc(100dvh - 115px);grid-template-rows:minmax(0,54%) minmax(0,46%)}.editing-data .stage3-page{padding:8px 10px}.editing-data .stage3-workbar-title h1{font-size:15px}.editing-data .stage3-metric-picker{font-size:10px}.editing-data .stage3-metric-picker select{min-width:82px;padding:5px}.editing-data .stage3-workbar-actions button{padding:6px 9px}.editing-data .stage3-map{min-height:0}.data-dock-heading{padding:7px 12px}.data-dock-heading span{display:none}.data-page-embedded{padding:12px}.data-page-embedded .data-side{grid-template-columns:1fr}}@media(min-width:981px){.stage3-workspace:not(.editing-data) .stage3-page{display:flex;flex-direction:column;height:calc(100dvh - 72px);min-height:620px;padding:10px 28px 12px}.stage3-workspace:not(.editing-data) .stage3-page>.stage3-workbar{flex:none;min-height:72px;margin-bottom:8px;padding-bottom:4px}.stage3-workspace:not(.editing-data) .stage3-layout{flex:1;min-height:0}.stage3-workspace:not(.editing-data) .stage3-map-card{display:flex;flex-direction:column;height:100%;min-height:0}.stage3-workspace:not(.editing-data) .stage3-map{flex:1;min-height:0;height:100%;aspect-ratio:auto}.stage3-workspace:not(.editing-data) .stage3-map-stage{flex:1;min-height:0;aspect-ratio:auto}.stage3-workspace:not(.editing-data) .stage3-controls{align-self:stretch;height:100%;max-height:none;min-height:0}}.stage3-canvas-actions{display:flex;justify-content:flex-end;gap:6px;padding:1px 2px 3px}.stage3-canvas-actions button{border:1px solid #d5e2f1;border-radius:6px;background:#f9fbfe;color:#315c8d;padding:4px 8px;font-size:11px;font-weight:700}.stage3-canvas-actions button:hover{background:#eaf3ff}.stage3-map-stage{position:relative;width:100%;min-height:390px;aspect-ratio:3/2}.stage3-map-stage .stage3-map{position:absolute;inset:0;width:100%;height:100%;min-height:0;aspect-ratio:auto}.stage3-inset-overlay{position:absolute;z-index:3;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.stage3-inset-overlay:active{cursor:grabbing}.stage3-inset-overlay:focus-visible{outline:2px solid #2364cc;outline-offset:3px}.stage3-workbar-actions .stage3-sample-action{border-color:#c8d9ed;background:#fff;color:#2861ae}.stage3-empty-hint{margin:0;padding:9px 10px;border-radius:7px;background:#f4f7fb;color:#687e97;font-size:11px}.stage3-color-field{display:flex;flex-direction:column;gap:5px;min-width:0;color:#5a6e86;font-size:11px;font-weight:700}.stage3-zero .stage3-color-field{grid-column:1/-1}.stage3-color-item{min-width:0;color:#5f738a;font-size:11px}.stage3-color-item>span{display:block;margin-bottom:4px}.stage3-map-card{position:relative}.stage3-controls{--stage3-heading-size:14px;--stage3-field-size:12px;--stage3-value-size:12px;--stage3-heading-gap:12px;--stage3-field-gap:5px;--stage3-section-gap:10px;--stage3-control-height:37px;display:flex;flex-direction:column;gap:10px;overflow:hidden}.stage3-settings-switch,.stage3-subnav-slot{flex:none}.stage3-subnav-slot{height:36px}.stage3-subnav-slot .stage3-detail-tabs{height:100%}.stage3-subnav-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:8px;height:100%;min-width:0}.stage3-export-actions,.stage3-project-actions{min-width:0;height:100%}.stage3-project-file-input{display:none}.stage3-export-trigger{display:grid;grid-template-columns:14px minmax(0,1fr) 10px;align-items:center;justify-items:center;gap:5px;box-sizing:border-box;width:100%;height:36px;padding:0 8px;border:1px solid #c8d9ed;border-radius:7px;background:#fff;color:#2462b6;font-family:inherit;font-size:12px;font-weight:700;white-space:nowrap}.stage3-export-trigger svg{display:block;flex:none}.stage3-export-trigger span:not(.stage3-export-chevron){min-width:0;overflow:hidden;text-overflow:ellipsis}.stage3-export-trigger:hover,.stage3-export-trigger[aria-expanded=true]{background:#eaf3ff}.stage3-export-trigger:disabled{opacity:.65}.stage3-export-chevron{font-size:15px;line-height:1}.stage3-project-status,.stage3-export-status{position:fixed;right:20px;bottom:20px;z-index:50;max-width:min(360px,calc(100vw - 40px));padding:9px 12px;border:1px solid #c8d9ed;border-radius:8px;background:#fff;color:#315b89;box-shadow:0 8px 24px #17375b24;font-size:12px;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stage3-controls:has(.stage3-project-status) .stage3-export-status{bottom:68px}.stage3-export-popover{display:grid;gap:2px;width:236px;padding:7px;border:1px solid #d5e2f0;border-radius:10px;background:#fff;box-shadow:0 12px 32px #17375b2b}.stage3-export-popover button{display:grid;gap:3px;width:100%;padding:9px 11px;border:0;border-radius:7px;background:transparent;color:#203d60;font-family:inherit;text-align:left}.stage3-export-popover button:hover:not(:disabled),.stage3-export-popover button:focus-visible{background:#ecf4ff}.stage3-export-popover button:disabled{color:#91a2b5}.stage3-export-popover button strong{font-size:12px;font-weight:700}.stage3-export-popover button small{color:#7288a1;font-size:11px}.stage3-export-popover p{margin:5px 7px 7px;color:#bb443b;font-size:11px}.stage3-map-package-separator{height:1px;margin:3px 5px;background:#e5edf6}.stage3-export-popover .stage3-map-package-current{margin:3px 10px 5px;color:#667e99;line-height:1.4;overflow-wrap:anywhere}.stage3-controls-body{display:flex;flex:1;flex-direction:column;gap:var(--stage3-section-gap);min-height:0;min-width:0;overflow:hidden}.stage3-controls.is-quick .stage3-controls-body,.stage3-controls.detail-labels .stage3-controls-body{overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable}.stage3-controls h3{margin:0;color:#20344d;font-size:var(--stage3-heading-size);font-weight:700;line-height:1.35}.stage3-controls select,.stage3-controls .color-picker-trigger{min-height:var(--stage3-control-height);color:#253b55;font-family:inherit;font-size:var(--stage3-value-size);font-weight:700}.stage3-controls .color-picker-value{font:inherit}.stage3-controls input:not([type=checkbox]):not([type=color]){color:#253b55;font-family:inherit;font-size:var(--stage3-value-size);font-weight:700}.stage3-quick-rules,.stage3-quick-display{display:flex;flex-direction:column;gap:7px;min-width:0}.stage3-quick-rules>h3,.stage3-quick-display>h3{margin-bottom:calc(var(--stage3-heading-gap) - 7px)}.stage3-quick-rules>label,.stage3-quick-display>.stage3-legend-title,.stage3-text-settings label,.stage3-boundary-fields>label,.stage3-zero label:not(.stage3-check){display:flex;flex-direction:column;gap:var(--stage3-field-gap);color:#5a6e86;font-size:var(--stage3-field-size);font-weight:700}.stage3-quick-rules .stage3-class-summary{padding:6px 9px}.stage3-palette{flex:none;margin:0;padding-top:9px}.stage3-palette .stage2-subheading{margin-bottom:var(--stage3-heading-gap)}.stage3-color-field,.stage3-color-item>span{color:#5a6e86;font-size:var(--stage3-field-size);font-weight:700}.stage3-color-field{gap:var(--stage3-field-gap)}.stage3-quick-display{border-top:1px solid #e7edf4;padding-top:9px}.stage3-quick-display .stage3-checks{border:0;padding:3px 0}.stage3-quick-display .stage3-legend-title{border:0;padding-top:2px}.stage3-zero-section{display:flex;flex:none;flex-direction:column;gap:10px;min-width:0}.stage3-zero-toggle{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:24px;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}.stage3-zero-toggle:hover{color:#1e5fc0}.stage3-zero-toggle:focus-visible{outline:2px solid #246bd5;outline-offset:3px;border-radius:2px}.stage3-zero-toggle span{color:#6b819a;font-size:17px;font-weight:400;line-height:1}.stage3-zero{flex:none;gap:6px;padding:8px 9px}.stage3-zero label:last-child{margin-top:2px}.stage3-controls.detail-ranges .stage3-manual-combined,.stage3-controls.detail-ranges .stage3-colors{display:flex;flex:1 1 0;flex-direction:column;min-height:130px;min-width:0;overflow:hidden;margin:0;padding-top:9px}.stage3-manual-combined{border-top:1px solid #e7edf4}.stage3-manual-combined .stage2-subheading{flex:none;margin-bottom:4px}.stage3-manual-combined .help-text{flex:none;margin:4px 0 8px;font-size:11px;line-height:1.45}.stage3-manual-list,.stage3-color-grid,.stage3-legend-editor-list{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-gutter:stable}.stage3-manual-list{display:flex;flex-direction:column;gap:6px;padding-right:3px}.stage3-manual-head,.stage3-manual-combined .stage3-manual-row{display:grid;grid-template-columns:42px 107px minmax(0,1fr);align-items:center;column-gap:8px;min-width:0}.stage3-manual-head{flex:none;margin-bottom:10px;color:#6b819a;font-size:11px;font-weight:700}.stage3-manual-head>*:last-child{padding-left:3px}.stage3-manual-combined .stage3-manual-row{flex:none;min-height:31px;margin:0}.stage3-manual-row>span{color:#5a6e86;font-size:var(--stage3-field-size);font-weight:700}.stage3-manual-bounds{display:grid;grid-template-columns:minmax(0,1fr) 11px minmax(0,1fr);align-items:center;gap:3px;min-width:0}.stage3-manual-bounds>span{color:#6b819a;text-align:center;font-size:11px}.stage3-controls .stage3-manual-bounds input[type=number]{box-sizing:border-box;width:100%;min-width:0;height:29px;padding:2px 3px;border-radius:6px;text-align:center;font-variant-numeric:tabular-nums;appearance:textfield}.stage3-manual-bounds input[type=number]::-webkit-inner-spin-button,.stage3-manual-bounds input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.stage3-manual-color,.stage3-manual-color .color-picker{min-width:0}.stage3-manual-color .color-picker-main{gap:2px}.stage3-controls .stage3-manual-color .color-picker-trigger.compact{display:grid;place-items:center;flex:none;box-sizing:border-box;width:30px;height:30px;min-height:0;padding:0;border:0;border-radius:50%;background:transparent;box-shadow:none}.stage3-manual-color .color-picker-trigger.compact:hover,.stage3-manual-color .color-picker-trigger.compact[aria-expanded=true]{border:0;box-shadow:none}.stage3-manual-color .color-picker-trigger.compact:focus-visible{outline:2px solid #246bd5;outline-offset:1px}.stage3-manual-color .color-picker-dot{width:24px;height:24px}.stage3-controls .stage3-manual-color .color-picker-hex{flex:1;box-sizing:border-box;width:100%;min-width:0;height:30px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;font-family:inherit;font-size:11px;font-weight:700}.stage3-controls .stage3-manual-color .color-picker-hex:focus-visible{outline:0;box-shadow:0 2px #246bd5}.stage3-colors .stage2-subheading{margin-bottom:var(--stage3-heading-gap)}.stage3-color-grid{align-content:start;grid-auto-rows:max-content;margin-top:0;padding-right:3px}@media(max-width:380px){.stage3-manual-head,.stage3-manual-combined .stage3-manual-row{grid-template-columns:38px 98px minmax(0,1fr);column-gap:6px}}.stage3-name-format{gap:var(--stage3-heading-gap)}.stage3-controls .stage3-text-settings h3,.stage3-controls .stage3-boundary-settings h3{margin-bottom:var(--stage3-heading-gap)}.stage3-controls.detail-legend .stage3-text-settings.stage3-detail-legend{border-top:0;padding-top:0}.stage3-manual h3+.help-text{margin-top:var(--stage3-heading-gap)}.stage3-color-item{min-width:0}.stage3-controls.detail-legend .stage3-text-settings{flex:none}.stage3-legend-editor>button{border:0;background:transparent;color:#275caa;cursor:pointer;font-size:12px;font-weight:700;padding:0;text-align:left}.stage3-controls.detail-legend .stage3-legend-editor.is-open{display:flex;flex:1;flex-direction:column;min-height:0;overflow:hidden}.stage3-controls.detail-legend .stage3-legend-editor.is-open>button,.stage3-controls.detail-legend .stage3-legend-editor.is-open>.help-text{flex:none}.stage3-controls.detail-legend .stage3-legend-editor-list{flex:1;height:auto;max-height:none}.stage3-controls.detail-legend .stage3-legend-editor-list label{gap:var(--stage3-field-gap);color:#5a6e86;font-size:var(--stage3-field-size);font-weight:700}@media(min-width:981px)and (max-height:640px){.stage3-controls.is-quick .stage3-quick-rules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 8px}.stage3-controls.is-quick .stage3-quick-rules>h3{grid-column:1/-1;margin-bottom:7px}.stage3-controls.is-quick .stage3-quick-rules>.stage3-class-summary,.stage3-controls.is-quick .stage3-quick-rules>label:last-child{grid-column:1/-1}.stage3-controls.is-quick .stage3-quick-rules>label:last-child{display:grid;grid-template-columns:60px minmax(0,1fr);align-items:center}.stage3-controls.is-quick .stage3-quick-display .stage3-legend-title{display:grid;grid-template-columns:54px minmax(0,1fr);align-items:center;gap:6px}.stage3-controls.detail-ranges .stage3-zero-section{gap:8px}.stage3-controls.detail-ranges .stage3-zero .stage3-color-field{grid-column:1;grid-row:1}.stage3-controls.detail-ranges .stage3-zero label:last-child{grid-column:2;grid-row:1;margin-top:0}.stage3-controls.detail-ranges .stage3-zero .stage3-check{grid-column:1/-1;grid-row:2;margin-top:0}.stage3-controls.detail-ranges .stage3-manual-combined{padding-top:7px}.stage3-controls.detail-ranges .stage3-manual-combined .stage2-subheading{margin-bottom:2px}.stage3-controls.detail-ranges .stage3-manual-combined .help-text{margin:2px 0 4px}.stage3-controls.detail-ranges .stage3-manual-head{margin-bottom:4px}.stage3-controls.detail-ranges .stage3-manual-list{gap:5px}}@media(min-width:981px)and (max-height:608px){.stage3-controls.is-quick{--stage3-heading-gap:8px;--stage3-section-gap:8px;--stage3-control-height:34px;gap:8px;padding-block:14px}.stage3-controls.is-quick .stage3-quick-rules>h3{margin-bottom:4px}.stage3-controls.is-quick .stage3-class-summary{padding-block:4px}.stage3-controls.is-quick .stage3-palette,.stage3-controls.is-quick .stage3-quick-display{padding-top:7px}.stage3-controls.is-quick .stage3-palette-current{padding-block:6px}.stage3-controls.is-quick .stage3-checks{gap:6px;padding-block:2px}}.stage3-values-trigger{align-self:flex-start;flex:none;margin-top:5px;padding:2px 6px;border:0;background:transparent;color:#426a9e;font-size:11px;cursor:pointer}.stage3-values-trigger:hover{color:#1d62c1;text-decoration:underline}.stage3-values-panel{position:absolute;z-index:8;left:12px;right:12px;bottom:36px;display:flex;flex-direction:column;max-height:min(360px,55%);min-height:0;padding:10px;border:1px solid #c9d9ea;border-radius:10px;background:#fff;box-shadow:0 12px 32px #17375b2b}.stage3-values-panel header{flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:6px;color:#203f66;font-size:13px}.stage3-values-panel header button{border:0;background:transparent;color:#607b97;font-size:20px;line-height:1}.stage3-value-list{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;grid-template-columns:repeat(6,minmax(0,1fr));align-content:start;margin:0;padding-right:4px;scrollbar-gutter:stable}.stage3-value-list>div{display:flex;gap:4px;flex-wrap:wrap;align-content:center;min-height:49px;padding:5px;overflow:hidden;white-space:normal;font-size:10px}.stage3-value-list>div .stage2-swatch{width:14px;height:14px}.stage3-region-name{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.stage3-value-list>div strong{flex:none}.stage3-value-list>div small{flex-basis:100%;padding-left:18px;color:#73869a;font-size:9px;white-space:nowrap}.editing-data .stage3-values-trigger,.editing-data .stage3-values-panel{display:none}@media(max-width:1300px){.stage3-value-list{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:650px){.stage3-value-list{grid-template-columns:repeat(2,minmax(0,1fr))}.stage3-values-panel{max-height:50%}}.public-help{align-self:center;padding:9px 12px;border:0;background:transparent;color:#426a9e;font-size:13px;cursor:pointer}.public-help:hover{color:#1d62c1}.map-intro-backdrop{position:fixed;z-index:1000;inset:0;display:grid;place-items:center;padding:20px;background:#132b47a8}.map-intro-dialog{position:relative;width:min(620px,100%);max-height:min(720px,calc(100dvh - 40px));overflow:auto;padding:34px;border:1px solid #d6e2f1;border-radius:18px;background:#fff;box-shadow:0 24px 70px #122c4d40;color:#203a57}.map-intro-close{position:absolute;top:13px;right:15px;width:34px;height:34px;border:0;border-radius:8px;background:transparent;color:#69809a;font-size:26px;line-height:1;cursor:pointer}.map-intro-close:hover{background:#eef4fb;color:#203a57}.map-intro-eyebrow{margin:0 0 7px;color:#2469d5;font-size:13px;font-weight:700}.map-intro-dialog h2{margin:0 0 12px;font-size:26px;line-height:1.35}.map-intro-lead{margin:0;color:#536e89;font-size:15px;line-height:1.75}.map-intro-features{display:grid;gap:10px;margin:23px 0}.map-intro-features>div{display:flex;align-items:baseline;gap:12px;padding:12px 15px;border:1px solid #e0e9f5;border-radius:10px;background:#f7faff}.map-intro-features strong{flex:none;min-width:115px;color:#244c7a;font-size:14px}.map-intro-features span{color:#58728c;font-size:13px;line-height:1.55}.map-intro-footer{display:flex;align-items:center;justify-content:space-between;gap:16px}.map-intro-footer span{color:#72869d;font-size:12px;line-height:1.5}.map-intro-footer button{flex:none;padding:10px 21px;border:1px solid #2166d2;border-radius:9px;background:#2166d2;color:#fff;font-size:14px;font-weight:700;cursor:pointer}.map-intro-footer button:hover{background:#195bbf}.map-intro-footer button:focus-visible,.map-intro-close:focus-visible,.public-help:focus-visible{outline:2px solid #78aaf0;outline-offset:2px}@media(max-width:620px){.map-intro-dialog{padding:28px 20px 22px}.map-intro-dialog h2{font-size:22px}.map-intro-features>div{display:block}.map-intro-features span{display:block;margin-top:4px}.map-intro-footer{align-items:stretch;flex-direction:column}}@media(min-width:981px){.app-shell{position:absolute;top:0;left:0;width:125%;min-height:125dvh;transform:scale(.8);transform-origin:top left}.stage3-workspace:not(.editing-data) .stage3-page{height:calc(125dvh - 72px)}.floating-panel{zoom:.8}}
