/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.start{inset-inline-start:var(--spacing)}.grid{display:grid}.table{display:table}.resize{resize:both}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}}:root{--ink:#14213a;--muted:#71809b;--line:#e4e9f1;--surface:#fff;--blue:#246bfd;--navy:#0f2451;--bg:#f3f6fb}*{box-sizing:border-box}html,body{background:var(--bg);min-height:100%;color:var(--ink);margin:0}body{font-family:Microsoft YaHei,PingFang SC,Noto Sans CJK SC,Arial,sans-serif}button,input{font:inherit}button{cursor:pointer}.dashboard{background:radial-gradient(circle at 12% 0%, #f9fbff 0, transparent 28%), var(--bg);width:100%;min-height:100vh;padding:18px 24px 12px}.topbar{justify-content:space-between;align-items:center;gap:24px;min-height:66px;display:flex}.brand-lockup{align-items:center;gap:14px;display:flex}.brand-mark{background:var(--navy);border-radius:11px;justify-content:center;align-items:flex-end;gap:3px;width:38px;height:38px;padding:8px;display:flex;position:relative;box-shadow:0 8px 20px #0f24512e}.brand-mark span{background:#fff;border-radius:4px;width:5px}.brand-mark span:first-child{opacity:.72;height:9px}.brand-mark span:nth-child(2){background:#7aa2ff;height:17px}.brand-mark span:nth-child(3){opacity:.9;height:13px}.eyebrow{letter-spacing:.14em;color:#6d84b2;margin:0 0 3px;font-size:9px;font-weight:800;line-height:1.3}h1{letter-spacing:.02em;margin:0;font-size:clamp(21px,1.6vw,29px)}h2{color:#1d2b46;margin:0;font-size:15px}.header-actions{align-items:center;gap:9px;display:flex}.sync-state{align-items:center;gap:9px;margin-right:6px;display:flex}.sync-state>div{flex-direction:column;display:flex}.sync-state b{font-size:11px}.sync-state small{color:var(--muted);margin-top:2px;font-size:9px}.status-dot{background:#1bb87a;border-radius:50%;width:8px;height:8px;box-shadow:0 0 0 4px #1bb87a1f}.sync-state.failed .status-dot{background:#e44f4f;box-shadow:0 0 0 4px #e44f4f1f}.btn{border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:7px;min-height:34px;padding:0 13px;font-size:11px;font-weight:700;transition:all .2s;display:inline-flex}.btn:disabled{opacity:.58;cursor:wait}.btn.ghost{color:#40506d;background:var(--surface);border-color:var(--line)}.btn.ghost:hover{border-color:#b9c6dc}.btn.primary{color:#fff;background:var(--blue);box-shadow:0 6px 14px #246bfd30}.btn.primary:hover{background:#1259e8;transform:translateY(-1px)}.export-group{display:flex}.export-toast{z-index:50;color:#fff;background:#173e99;border-radius:8px;padding:9px 13px;font-size:10px;font-weight:700;position:fixed;top:74px;right:24px;box-shadow:0 10px 26px #122f6e38}.export-group .btn:first-child{border-radius:8px 0 0 8px}.export-group .split{border-left-color:#ffffff4d;border-radius:0 8px 8px 0;min-width:45px;padding:0 8px}.icon{justify-content:center;align-items:center;width:15px;height:15px;font-size:16px;line-height:1;display:inline-flex}.icon-alert{border:1.5px solid;border-radius:50%;width:16px;font-size:10px;font-weight:900}.kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:12px 0;display:grid}.kpi-card{background:#fffffff5;border:1px solid #e8ecf3;border-radius:13px;min-height:94px;padding:14px 18px;position:relative;overflow:hidden;box-shadow:0 7px 22px #2234590b}.kpi-card p{color:#697892;margin:0;font-size:10px;font-weight:700}.kpi-value{letter-spacing:-.025em;color:#172643;margin:5px 0 2px;font-size:clamp(22px,2vw,32px);font-weight:800;line-height:1.05}.kpi-value small{color:#71809b;letter-spacing:0;margin-left:7px;font-size:10px;font-weight:700}.kpi-card>span{color:#9aa5b6;font-size:9px}.kpi-accent{opacity:.13;border-radius:0 0 0 68px;width:68px;height:68px;position:absolute;top:0;right:0}.accent-1{background:#246bfd}.accent-2{background:#16a085}.accent-3{background:#f3b61f}.accent-4{background:#7c5cfc}.filterbar{border:1px solid var(--line);background:#fffffff5;border-radius:11px;align-items:center;gap:9px;min-height:46px;padding:6px;display:flex}.search-field{color:#7d8aa1;background:#f8fafe;border:1px solid #dfe5ee;border-radius:7px;align-items:center;gap:5px;width:180px;height:32px;padding:0 9px;display:flex}.search-field input{width:100%;color:var(--ink);background:0 0;border:0;outline:0;font-size:10px}.filter-summary{color:#53627c;background:#edf3ff;border:0;border-radius:7px;height:32px;padding:0 11px;font-size:10px}.filter-summary b{color:var(--blue)}.divider{vertical-align:middle;background:#ccd7e9;width:1px;height:12px;margin:0 10px;display:inline-block}.chevron{margin-left:10px}.active-chips{flex:1;gap:6px;display:flex}.selected-chip,.muted-chip{color:#5a6880;background:#f4f6fa;border:0;border-radius:999px;padding:5px 9px;font-size:9px}.selected-chip{color:#8e6208;background:#fff4d9}.selected-chip span{margin-left:6px}.text-btn,.alert-btn{color:#60708d;background:0 0;border:0;border-radius:7px;align-items:center;gap:5px;height:32px;padding:0 10px;font-size:10px;display:inline-flex}.alert-btn{color:#c44e37;background:#fff4f1}.alert-btn b{color:#fff;background:#df6248;border-radius:99px;justify-content:center;align-items:center;min-width:17px;height:17px;font-size:9px;display:inline-flex}.drawer{border:1px solid var(--line);background:#fff;border-radius:11px;grid-template-columns:1.15fr 1fr;gap:18px;margin-top:9px;padding:13px 15px;display:grid;box-shadow:0 15px 34px #142a5214}.drawer-title{color:#34435e;justify-content:space-between;margin-bottom:8px;font-size:10px;display:flex}.drawer-title button{color:var(--blue);background:0 0;border:0;font-size:9px}.option-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px 8px;display:grid}.option-grid label,.province-options label{color:#5d6b83;white-space:nowrap;align-items:center;gap:5px;font-size:9px;display:flex}.option-grid input,.province-options input{accent-color:var(--blue);width:12px;height:12px}.option-grid i{border-radius:2px;width:7px;height:7px}.province-options{grid-template-columns:repeat(7,minmax(0,1fr));gap:6px 8px;display:grid}.anomaly-drawer{display:block}.anomaly-head{justify-content:space-between;align-items:flex-start;margin-bottom:10px;display:flex}.anomaly-head>span{color:#677690;background:#f1f5fc;border-radius:6px;padding:5px 9px;font-size:9px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:9px}th{text-align:left;color:#77849a;background:#f6f8fb;padding:7px 9px}td{color:#43516a;border-bottom:1px solid #edf0f5;padding:7px 9px}.record-pill{background:#f1f4f9;border-radius:5px;margin:2px 5px 2px 0;padding:3px 6px;display:inline-block}.audit-note{color:#7a879c;margin:9px 0 0;font-size:9px}.visual-grid{grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:12px;min-height:max(680px,100dvh - 72px);margin-top:12px;display:grid;position:relative}.cooperation-section,.sales-section{margin-top:20px}.sales-heading h2{font-size:19px}.sales-actions{align-items:center;gap:10px;display:flex}.sales-actions>span{color:#7a879c;font-size:9px}.sales-panel{min-height:660px;padding:15px;position:relative}.sales-kpis{flex:none;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;display:grid}.sales-kpis article{background:linear-gradient(145deg,#fbfcff,#f5f8fd);border:1px solid #e7ebf3;border-radius:10px;min-width:0;padding:11px 13px}.sales-kpis p{color:#71809b;text-overflow:ellipsis;white-space:nowrap;margin:0 0 5px;font-size:9px;font-weight:700;overflow:hidden}.sales-kpis b{color:#1d2b46;letter-spacing:-.02em;font-size:clamp(15px,1.5vw,22px)}.sales-kpis b.positive{color:#109268}.sales-kpis b.negative{color:#d84f4f}.sales-chart-note{color:#8a96a9;text-align:right;padding:9px 2px 0;font-size:8px}.sales-chart{width:100%;height:540px;min-height:540px}.sales-status{color:#71809b;flex-direction:column;justify-content:center;align-items:center;font-size:10px;display:flex;position:absolute;inset:0}.sales-error b{color:#c44e37;font-size:13px}.sales-error p{text-align:center;max-width:520px;margin:6px 0 12px}.sales-warning{color:#8e6208;background:#fff9e9;border:1px solid #f2dca9;border-radius:7px;margin-bottom:8px;padding:8px 10px;font-size:9px}.sales-warning button{color:#246bfd;background:0 0;border:0;margin-left:8px;padding:0;font-weight:700}.section-heading{justify-content:space-between;align-items:center;gap:18px;min-height:46px;padding:0 4px;display:flex}.section-heading h2{font-size:19px}.cooperation-summary{flex-wrap:wrap;justify-content:flex-end;gap:7px;display:flex}.cooperation-summary span,.cooperation-audit span{color:#65738c;border:1px solid var(--line);background:#fff;border-radius:6px;padding:5px 8px;font-size:9px}.cooperation-summary b{color:var(--blue)}.cooperation-grid{margin-top:6px}.cooperation-audit{color:#7a879c;flex-wrap:wrap;gap:6px;padding:8px 2px 0;display:flex}.cooperation-audit span{background:#f8faff}.panel{border:1px solid var(--line);background:#fffffff7;border-radius:13px;flex-direction:column;min-width:0;min-height:0;padding:15px 15px 10px;display:flex;overflow:hidden;box-shadow:0 8px 24px #2132530b}.panel-head{justify-content:space-between;align-items:flex-start;height:38px;display:flex}.panel-note{color:#8592a8;background:#f6f8fb;border-radius:5px;padding:4px 7px;font-size:8px}.chart{flex:auto;width:100%;height:auto;min-height:0}.brand-legend{border-top:1px solid #f0f2f6;flex-wrap:wrap;align-content:flex-start;gap:4px 8px;min-height:55px;padding:5px 4px 4px;display:flex}.brand-legend button{color:#63718a;white-space:nowrap;background:0 0;border:0;border-radius:4px;align-items:center;gap:4px;padding:2px 4px;font-size:8px;line-height:1.3;display:inline-flex}.brand-legend button:hover{background:#f5f7fb}.brand-legend button.off{opacity:.3;text-decoration:line-through}.brand-legend i{border-radius:2px;flex:none;width:7px;height:7px}.bar-chart{flex:auto;height:auto;min-height:0}.tip-title{margin-bottom:4px;font-size:13px;font-weight:800}.tip-kpi{color:#8db1ff;margin-bottom:7px;font-size:19px;font-weight:800}.tip-kpi small{color:#b8c2d6;font-size:10px;font-weight:500}.tip-row{justify-content:space-between;gap:20px;min-width:190px;padding:2px 0;font-size:10px;display:flex}.tip-row span{align-items:center;display:flex}.tip-row i{border-radius:2px;width:7px;height:7px;margin-right:5px}.has-empty .panel{opacity:.22;filter:grayscale(.5);pointer-events:none}.empty-state{z-index:5;background:#f9fbfee8;border:1px dashed #cdd5e3;border-radius:13px;flex-direction:column;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.empty-state>div{color:#9aa7ba;font-size:36px}.empty-state h2{margin:7px 0 3px}.empty-state p{color:#7c899e;margin:0 0 12px;font-size:10px}footer{color:#8a96a9;justify-content:space-between;gap:20px;min-height:37px;padding:9px 2px 0;font-size:8px;display:flex}footer p{margin:0}footer b{color:#57647a}.loading-screen{color:#71809b;flex-direction:column;justify-content:center;align-items:center;min-height:100vh;font-size:12px;display:flex}.loading-mark{border:3px solid #dce5f4;border-top-color:var(--blue);border-radius:50%;width:28px;height:28px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.exporting{width:1920px;padding:28px 34px 20px}.exporting .no-export{display:none!important}.exporting .visual-grid{min-height:690px}.exporting .chart{height:610px}.exporting .brand-legend button{font-size:10px}.export-long .visual-grid{grid-template-columns:1fr}.export-long .map-panel .chart{height:700px}.export-long .bar-chart{height:1180px}.export-long .visual-grid{min-height:auto}@media (width<=1050px){.dashboard{padding:14px}.topbar{align-items:flex-start}.header-actions{flex-wrap:wrap;justify-content:flex-end}.sync-state{justify-content:flex-end;width:100%}.visual-grid{grid-template-columns:1fr;min-height:0}.chart{flex:0 0 540px;height:540px;min-height:540px}.bar-chart{flex:0 0 560px;height:560px;min-height:560px}.drawer{grid-template-columns:1fr}}@media (width<=680px){.dashboard{padding:11px}.topbar{flex-direction:column}.header-actions{justify-content:flex-start;width:100%}.sync-state{order:3;justify-content:flex-start;width:auto;margin-top:4px}.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kpi-card{min-height:86px;padding:13px}.filterbar{flex-wrap:wrap}.search-field{width:100%}.active-chips{order:4;width:100%}.option-grid{grid-template-columns:repeat(2,1fr)}.province-options{grid-template-columns:repeat(4,1fr)}.visual-grid{min-height:0}.section-heading{flex-direction:column;align-items:flex-start}.sales-heading{gap:8px}.sales-actions{justify-content:space-between;width:100%}.sales-panel{min-height:625px;padding:10px 6px 6px}.sales-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.sales-kpis article{padding:9px}.sales-kpis b{font-size:15px}.sales-chart-note{padding-right:5px}.sales-chart{height:500px;min-height:500px}.cooperation-summary{justify-content:flex-start}.panel{padding:12px 8px 8px}.panel-note{display:none}.chart{flex-basis:420px;height:420px;min-height:420px}.bar-chart{flex-basis:520px;height:520px;min-height:520px}footer{flex-direction:column;gap:4px}}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}
