
.kpis{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
.audit-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0 18px;border-bottom:1px solid var(--line)}.audit-tabs button{border:0;border-radius:0;background:transparent;padding:10px 3px 13px;color:var(--muted);border-bottom:2px solid transparent}.audit-tabs button.selected{color:var(--blue);border-bottom-color:var(--blue);font-weight:600}.audit-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}.audit-filters .toolbar label{flex:1;min-width:160px}.audit-filters .toolbar input[type=search]{min-width:0}.audit-risk{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;padding:20px 0;border-bottom:1px solid var(--line)}.audit-risk:last-of-type{border-bottom:0}.audit-risk h3{margin:0}.audit-meta{color:var(--muted);font-size:12px;margin-top:8px;overflow-wrap:anywhere}.audit-diff{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:10px;overflow-wrap:anywhere}.audit-diff>span{color:var(--muted)}.audit-diff strong{font-weight:600}.audit-risk-actions{display:flex;flex-direction:column;gap:9px;align-items:end}.audit-log-table{min-width:1100px}.audit-log-table td{max-width:250px;white-space:normal;overflow-wrap:anywhere}.audit-cell-diff{min-width:140px;max-width:240px;white-space:pre-wrap;overflow-wrap:anywhere}.audit-config-table{min-width:780px}.audit-config-table td{white-space:normal;max-width:280px;overflow-wrap:anywhere}.audit-bars{height:180px;display:flex;gap:12px;align-items:end;margin:24px 0 14px}.audit-bars>div{display:flex;flex:1;min-width:0;flex-direction:column;align-items:center;justify-content:end;gap:6px;font-size:12px;font-variant-numeric:tabular-nums}.audit-bars i{width:min(30px,75%);display:block;background:var(--blue);border-radius:3px 3px 0 0}.audit-bars small{font-size:11px;white-space:nowrap}.audit-detail-top{margin:15px 0 20px}.audit-detail-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(290px,1fr);gap:20px}.audit-detail-grid>.card{align-self:start}.audit-defs{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:10px 0 20px}.audit-defs dt{font-size:11px;color:var(--muted)}.audit-defs dd{margin:6px 0;font-size:13px;overflow-wrap:anywhere}.audit-defs dd small{display:block}.audit-value{white-space:pre-wrap;max-width:230px;overflow-wrap:anywhere}.audit-detail-tabs{margin:8px 0 15px;border-bottom:1px solid var(--line);padding-bottom:10px}.audit-detail-grid form{display:grid;gap:15px}.audit-timeline{margin-top:26px}.audit-timeline small{display:block;margin:4px 0 8px}
@media(max-width:1100px){.audit-detail-grid{grid-template-columns:1fr}.audit-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.audit-risk{grid-template-columns:1fr;gap:12px}.audit-risk-actions{flex-direction:row;justify-content:space-between;align-items:center}.audit-filters .toolbar label{min-width:130px}.audit-tabs{gap:10px}.audit-tabs button{font-size:12px}.audit-bars{gap:6px}.audit-bars>div:nth-child(even) small{display:none}.audit-defs{grid-template-columns:1fr 1fr}.audit-detail-grid .card{min-width:0}.audit-value{max-width:160px}}
@media(max-width:700px){.workspace-two{grid-template-columns:1fr}.kpis{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.sidebar nav{overflow-y:hidden}}
:root{--bg:#f5f7fc;--panel:#fff;--text:#1c2942;--muted:#73829b;--line:#e4eaf4;--blue:#3969f6;--soft:#edf2ff;--green:#188467;--red:#c74458;--orange:#a86b14;font-family:Inter,"PingFang SC","Microsoft YaHei",sans-serif;color:var(--text);background:var(--bg);font-size:14px;color-scheme:light}
.workspace-two{display:grid;grid-template-columns:1fr 1fr;gap:20px}.workspace-two>.card{min-width:0}.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.quick-grid button{text-align:left;padding:16px;background:var(--bg)}.todo-list{display:flex;flex-direction:column;gap:8px}.todo-list button{text-align:left;display:flex;justify-content:space-between;white-space:normal;background:var(--bg);padding:14px}.daily-report{min-width:2800px}.daily-report th:first-child,.daily-report td:first-child{position:sticky;left:0;z-index:1;background:var(--panel);min-width:220px;max-width:270px;white-space:normal}.daily-report th:first-child{background:var(--bg);z-index:2}.daily-report td:nth-child(2){min-width:180px;max-width:280px;white-space:normal}td details{max-width:340px;white-space:normal;overflow-wrap:anywhere}.sidebar nav{overflow-y:auto;min-height:0;scrollbar-width:thin;flex:1}.sidebar .brand{padding-bottom:16px}.sidebar .nav-label{margin-top:15px}.sidebar .nav-button{padding:10px 12px}.sidebar .sidebar-foot{padding-top:12px}#mcp-config-text{width:100%;font-family:Consolas,monospace;font-size:12px}.choice-grid .check-label small{display:block}.check-label input[type=checkbox]{flex:none}.kpis{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}#link-choices{max-height:45vh;overflow:auto;margin-top:12px}.business-tabs{flex-wrap:wrap}
@media(max-width:900px){.workspace-two{grid-template-columns:1fr}.quick-grid{grid-template-columns:1fr 1fr}}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer;background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:9px 13px;white-space:nowrap}button:hover{border-color:var(--blue);color:var(--blue)}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--blue);outline-offset:3px}input,select,textarea{background:var(--panel);border:1px solid var(--line);border-radius:7px;padding:9px 11px;max-width:100%}input[type=checkbox]{accent-color:var(--blue)}textarea{resize:vertical;min-height:84px}label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:var(--muted)}a{color:var(--blue);text-decoration:none}h1,h2,h3,p{margin-top:0}h1{font-size:21px;margin-bottom:5px}h2{font-size:17px;margin-bottom:18px}h3{font-size:14px;margin-bottom:12px}small{font-size:11px}button.primary,.primary{background:var(--blue);color:#fff;border-color:var(--blue)}.quiet{border-color:transparent;background:transparent;color:var(--muted)}.link{background:transparent;border:0;padding:3px;color:var(--blue)}.danger{color:var(--red)}.muted,small{color:var(--muted)}.error{color:var(--red)}.wide{width:100%}[hidden]{display:none!important}.login-wrap{min-height:100vh;display:grid;place-items:center;padding:30px}.login-card{width:420px;max-width:100%;background:var(--panel);padding:36px;border:1px solid var(--line);border-radius:20px;box-shadow:0 16px 50px #223e7010}.login-card .brand-mark{margin-bottom:24px}.login-card label{margin:16px 0}.login-card small{display:block;line-height:1.8;margin-top:18px}.brand-mark{display:inline-grid;place-items:center;background:var(--blue);color:white;border-radius:10px;width:38px;height:38px;font-size:20px;font-weight:700}.sidebar{position:fixed;inset:0 auto 0 0;width:218px;background:var(--panel);border-right:1px solid var(--line);padding:26px 16px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:10px;padding:0 4px 30px}.brand strong{font-size:15px}.brand small{display:block;margin-top:5px}.sidebar nav{display:flex;flex-direction:column;gap:6px}.nav-label{margin:22px 12px 6px;color:var(--muted);font-size:11px}.nav-button{border:0;text-align:left;background:none;padding:12px 14px;font-size:13px;color:#65738d}.nav-button.active{background:var(--soft);color:var(--blue);font-weight:600}.sidebar-foot{margin-top:auto;color:var(--muted);font-size:10px;line-height:1.9;padding:20px 8px 0}main{margin-left:218px;min-width:0}.topbar{padding:24px 32px;background:var(--panel);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px}.topbar p{color:var(--muted);font-size:12px;margin:0}.top-actions{display:flex;align-items:center;gap:10px}.pill{display:inline-block;background:var(--soft);color:var(--blue);font-size:11px;border-radius:20px;padding:5px 9px;white-space:nowrap}.pill.warn{color:var(--orange);background:#fff4df}.pill.good{color:var(--green);background:#e8f6ef}.pill.bad{color:var(--red);background:#ffedf0}.business-tabs{display:flex;gap:8px;padding:22px 32px 0;flex-wrap:wrap}.business-tabs button{border-color:transparent;background:transparent}.business-tabs button.active,.tabs button.selected{background:var(--soft);color:var(--blue);border-color:#d6e0ff;font-weight:600}#content{padding:24px 32px 44px;min-width:0}.card{background:var(--panel);border:1px solid var(--line);border-radius:13px;padding:22px;margin-bottom:18px;min-width:0}.card h2{display:flex;gap:10px;align-items:center}.card h2:before{content:"";width:3px;height:17px;border-radius:2px;background:var(--blue)}.row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.between{justify-content:space-between}.toolbar{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin-bottom:16px}.toolbar label{min-width:118px}.toolbar input[type=search]{min-width:210px}.spacer{flex:1}.meta{display:flex;gap:16px;flex-wrap:wrap;font-size:12px;color:var(--muted);line-height:1.8}.notice{padding:13px 18px;border:1px solid #dce7ff;border-radius:8px;background:#eef5ff;color:#4a6b9b;font-size:12px;line-height:1.8;margin:14px 0}.notice.warn{background:#fff8eb;border-color:#f3e2bd;color:#92743f}#preview-notice{margin:16px 32px 0}.metric-group{border:1px solid #edf0f6;border-radius:9px;padding:14px;margin-top:13px;background:#fcfdff}.metric-group h3{font-size:11px;margin-bottom:12px;color:var(--muted)}.metric-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:9px}.metric{background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:14px;min-width:0;text-align:left}.metric.active{border-color:var(--blue);box-shadow:0 0 0 1px #3969f622}.metric small{display:block;font-size:11px}.metric strong{display:block;font-size:22px;line-height:1.8;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.metric .delta{font-size:10px;color:var(--muted);font-weight:400}.kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:20px}.kpi{background:var(--panel);padding:20px;border:1px solid var(--line);border-radius:12px}.kpi strong{display:block;font-size:27px;margin:12px 0 7px;font-variant-numeric:tabular-nums}.kpi small{display:block;line-height:1.7}.table-scroll{overflow:auto;max-width:100%;border:1px solid var(--line);border-radius:8px}table{border-collapse:collapse;width:100%;font-size:12px;text-align:left}th,td{padding:13px 14px;border-bottom:1px solid var(--line);white-space:nowrap}th{background:#f7f9fd;color:#718097;font-weight:500;position:sticky;top:0}td{line-height:1.6;vertical-align:top}td small{display:block}tr:last-child td{border-bottom:0}.num{text-align:right;font-variant-numeric:tabular-nums}.total-row{background:#f4f7ff;font-weight:600}.empty{text-align:center;padding:45px;color:var(--muted);line-height:1.9}.tabs{display:flex;gap:5px;flex-wrap:wrap}.tabs button{border-color:transparent;background:transparent}.store-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.store-card{margin-bottom:0}.store-card h2{margin-top:18px}.store-stats{display:flex;gap:30px;margin:22px 0;padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.store-stats strong{display:block;font-size:23px;margin-bottom:5px}.ledger{min-width:1800px}.ledger td:nth-child(2){font-weight:600}.ledger td{white-space:normal;min-width:110px;max-width:240px;overflow-wrap:anywhere}.ledger td:last-child{min-width:160px}.ledger th:nth-child(3),.ledger th:nth-child(4){min-width:115px}.pagination{display:flex;align-items:center;justify-content:end;gap:14px;margin-top:15px;font-size:12px;color:var(--muted)}dialog{border:1px solid var(--line);border-radius:16px;padding:0;width:min(900px,94vw);max-height:92vh;color:var(--text);background:var(--panel);box-shadow:0 20px 100px #14264035}dialog::backdrop{background:#16254066}.dialog-head{display:flex;align-items:center;justify-content:space-between;padding:20px 26px;border-bottom:1px solid var(--line);position:sticky;top:0;background:var(--panel);z-index:2}.dialog-head h2{margin:0}.dialog-head button{padding:3px 11px;font-size:22px}#dialog-body{padding:24px 26px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.form-grid .span{grid-column:1/-1}.check-label{flex-direction:row;align-items:center;color:var(--text);font-size:12px}.form-actions{display:flex;gap:10px;justify-content:flex-end;padding-top:24px;margin-top:15px;border-top:1px solid var(--line)}.attachment-field{background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:16px;min-width:0}.paste-zone{border:1px dashed #9ab3ff;background:var(--panel);border-radius:8px;width:100%;text-align:center;min-height:84px;margin:10px 0;display:grid;place-items:center;color:var(--muted);font-size:12px;padding:10px}.paste-zone img{max-width:100%;max-height:130px;object-fit:contain}.image-preview{max-width:100%;max-height:65vh;object-fit:contain;display:block;margin:0 auto}.attachment-field .row{gap:5px}.attachment-field .row button{font-size:11px}.chart{width:100%;height:250px;display:block}.chart text{fill:var(--muted);font-size:11px}.chart .gridline{stroke:var(--line);stroke-width:1}.chart .series{fill:none;stroke:var(--blue);stroke-width:2.4}.chart .prior{stroke:#a4b1ca;stroke-dasharray:5 4}.chart circle{fill:var(--blue)}.chart-legend{display:flex;justify-content:center;gap:24px;font-size:11px;color:var(--muted)}.stage-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.stage{background:var(--bg);padding:17px 12px;border-radius:8px}.stage strong{display:block;font-size:22px;margin-top:10px}.choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.choice-grid label{border:1px solid var(--line);border-radius:8px;padding:12px;min-width:0;overflow-wrap:anywhere}.definition-list dt{font-weight:600;margin-top:18px}.definition-list dd{margin:7px 0;color:var(--muted);line-height:1.8}.job-bar{display:flex;gap:15px;align-items:center;flex-wrap:wrap;padding:14px 0;font-size:12px}progress{accent-color:var(--blue);height:8px}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:#243551;color:white;border-radius:9px;padding:13px 22px;z-index:20;max-width:90vw;box-shadow:0 6px 24px #0003}.history-item{border-left:2px solid var(--line);padding:0 0 20px 18px;line-height:1.8}.pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;background:var(--bg);padding:14px;border-radius:8px}.status-text{margin-bottom:12px;color:var(--muted);font-size:12px}.loading{padding:80px;text-align:center;color:var(--muted)}.source-note{font-size:11px;color:var(--muted);line-height:1.8;margin-top:13px}.task-grid{display:grid;gap:12px}.task{border:1px solid var(--line);padding:16px;border-radius:9px}.badge-count{background:#fff0e7;color:#a6642d;border-radius:10px;padding:2px 7px;margin-left:8px;font-size:10px}
.form-actions{flex-wrap:wrap}.metric small,.metric .delta{white-space:normal;line-height:1.5}.metric{container-type:inline-size}.metric strong{font-size:clamp(15px,15cqi,22px);white-space:normal}.image-body{padding:24px}.image-modal{width:min(1100px,95vw)}
.mapping-notice{margin:18px 32px 0;padding:15px 20px;border:1px solid #f6d08b;border-radius:12px;background:#fff8e9;display:flex;align-items:center;justify-content:space-between;gap:18px;color:#80520a}.mapping-notice[hidden]{display:none}.mapping-notice strong{display:block;font-size:15px}.mapping-notice span{display:block;font-size:12px;margin-top:5px}.mapping-badge{display:inline-block;margin-left:8px;padding:1px 7px;border-radius:12px;background:#e74b38;color:#fff;font-size:11px}.mapping-job{display:block;color:var(--muted);margin-top:8px}@media(max-width:700px){.mapping-notice{margin:12px 12px 0;padding:12px;align-items:flex-start}.mapping-notice button{white-space:nowrap;font-size:12px}}
.history-report{min-width:2600px}.history-report th:first-child,.history-report td:first-child{position:sticky;left:0;background:var(--panel);z-index:1;min-width:150px}.history-report th:first-child{background:var(--bg);z-index:2}.history-report td:nth-child(2){min-width:220px;max-width:300px;white-space:normal}.history-report td:nth-child(3){min-width:180px;max-width:280px;white-space:normal}.history-controls input[type=checkbox]{width:auto;flex:0 0 auto}.history-controls .toolbar input[type=search]{min-width:0}.history-controls .check-label{white-space:nowrap}.history-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:1100px){.history-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.history-kpis{grid-template-columns:1fr}.history-controls .check-label{flex:0 0 auto}.history-controls .pagination{flex-wrap:wrap}}
/* Report-only controls: do not alter filters or forms on other workspace pages. */
.report-controls.card{padding:16px 20px;border-radius:12px}
.report-controls-head{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:14px}
.report-view-tabs{display:inline-flex;flex:none;gap:3px;background:#f1f4fa;padding:3px;border-radius:8px}
.report-view-tabs button{height:30px;padding:0 15px;background:transparent;border:0;border-radius:6px;color:#697992;font-size:12px}
.report-view-tabs button.selected{background:var(--panel);color:var(--blue);font-weight:600;box-shadow:0 1px 4px #233b6212}
.report-controls-meta{display:inline-flex;align-items:center;gap:7px;flex:none;color:#8995a9;font-size:11px;white-space:nowrap}
.report-filter-options{display:flex;align-items:center;flex-wrap:wrap;gap:8px;flex:1;min-width:0}
.report-controls .report-filter-check{display:inline-flex;flex:0 0 auto;flex-direction:row;align-items:center;gap:7px;min-width:0;min-height:30px;padding:5px 10px;border:1px solid #edf0f6;border-radius:6px;background:#fafbfe;color:#62718a;font-size:12px;line-height:18px;white-space:nowrap;cursor:pointer}
.report-controls .report-filter-check:has(input:checked){color:var(--blue);border-color:#d8e3ff;background:#f0f5ff}
.report-controls .report-filter-check input[type=checkbox]{width:14px;height:14px;min-width:14px;flex:0 0 14px;margin:0}
.report-controls-main{display:flex;align-items:end;gap:12px}
.report-filter-fields{display:flex;align-items:end;flex-wrap:wrap;gap:12px;flex:1;min-width:0}
.report-filter-fields>label{flex:1 1 140px;min-width:0;gap:6px;font-size:11px;color:#8794aa}
.report-filter-fields>.report-field-store{flex:1.1 1 175px;max-width:280px}
.report-filter-fields>.report-field-date{flex:.8 1 145px;max-width:190px}
.report-filter-fields>.report-field-view{flex:.8 1 140px;max-width:185px}
.report-filter-fields>.report-field-search{flex:1.5 1 220px}
.report-filter-fields select,.report-filter-fields input{height:38px;width:100%;min-width:0;padding:8px 11px;border-radius:7px;font-size:12px;color:#34455f}
.report-filter-fields select:hover,.report-filter-fields input:hover{border-color:#bdccef}
.report-search-box{position:relative;min-width:0}
.report-search-box input{padding-left:33px}
.report-search-box input::placeholder{color:#a0aabd}
.report-search-box svg{position:absolute;left:11px;top:11px;width:16px;height:16px;fill:none;stroke:#9ba8bc;stroke-width:1.7;pointer-events:none}
.report-filter-actions{display:flex;align-items:center;gap:8px;flex:none}
.report-filter-actions button{height:38px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 14px;font-size:12px;border-radius:7px}
.report-filter-actions svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:1050px){.report-controls-main{flex-wrap:wrap}.report-filter-fields{flex-basis:100%}.report-filter-actions{margin-left:auto}.report-filter-fields>.report-field-store,.report-filter-fields>.report-field-date,.report-filter-fields>.report-field-view{max-width:none}}
@media(max-width:700px){.report-controls.card{padding:14px}.report-controls-head{gap:10px;margin-bottom:14px}.report-view-tabs button{padding:0 12px}.report-controls-meta{margin-left:auto;font-size:10px;gap:5px}.report-filter-options{order:3;flex-basis:100%;gap:7px}.report-controls .report-filter-check{font-size:11px;padding:4px 8px}.report-filter-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px}.report-filter-fields>label{min-width:0;max-width:none;flex:none}.report-filter-fields>.report-field-search{grid-column:1/-1}.report-filter-actions{width:100%;margin-left:0}.report-filter-actions button{flex:1}}
@media(min-width:1280px){.metric-grid{grid-template-columns:repeat(7,minmax(0,1fr))}.metric{padding:11px}}
@media(min-width:1600px){#content,.business-tabs{max-width:1700px;margin:0 auto}}

/* Data presentation refresh, 2026-10-26. Retained business views and fields share their existing APIs. */
.clean-workspace{--bg:#f6f8fc;--panel:#fff;--text:#17243d;--muted:#7d8ba2;--line:#e8edf4;--blue:#3d64e8;--soft:#edf2ff;min-width:320px}
.clean-workspace .sidebar{width:238px;padding:25px 15px 18px;z-index:50}
.clean-workspace main{margin-left:238px;min-width:0}
.clean-workspace .brand{padding:2px 8px 24px;flex:none}
.clean-workspace .brand-mark{width:35px;height:35px;border-radius:10px;background:linear-gradient(140deg,#5d83f8,#3155d3);box-shadow:0 5px 14px #4a6ded30;font-size:19px;flex:none}
.clean-workspace .brand strong{font-size:14px;white-space:nowrap}
.clean-workspace .brand small{font-size:10px;color:#92a0b5}
.clean-workspace .sidebar nav{overflow-y:auto;overflow-x:hidden;min-height:0;flex:1;gap:0;scrollbar-width:thin}
.clean-workspace .nav-section{padding:0 0 16px}
.clean-workspace .nav-section-title{font-size:10px;letter-spacing:.07em;color:#99a4b5;padding:7px 12px}
.clean-workspace .nav-section .nav-button{width:100%;min-height:39px;margin:2px 0;padding:9px 12px;border-radius:8px;gap:11px;font-size:12px;color:#586880}
.clean-workspace .nav-button:hover{background:#f5f7fc;color:#3558cb}
.clean-workspace .nav-button.active{background:#edf2ff;color:#365ee0;font-weight:700}
.clean-workspace .nav-dot{width:17px;height:18px;border-radius:0;background:none;opacity:.8;text-align:center;font-size:16px;line-height:18px}
.clean-workspace .nav-dot::before{content:'▤'}
.clean-workspace [data-page=home]>.nav-dot::before{content:'▦'}
.clean-workspace [data-page=dashboard]>.nav-dot::before{content:'▥'}
.clean-workspace [data-page=monitor]>.nav-dot::before{content:'◷'}
.clean-workspace [data-page=balance]>.nav-dot::before{content:'¥'}
.clean-workspace [data-tool=targeting]>.nav-dot::before{content:'◎'}
.clean-workspace [data-tool=funnel]>.nav-dot::before{content:'↗'}
.clean-workspace [data-tool=traffic]>.nav-dot::before{content:'◈'}
.clean-workspace [data-page=diagnosis]>.nav-dot::before{content:'✦'}
.clean-workspace [data-page=memory]>.nav-dot::before{content:'◫'}
.clean-workspace [data-page=queue]>.nav-dot::before{content:'!'}
.clean-workspace [data-page=audit]>.nav-dot::before{content:'≡'}
.clean-workspace [data-page=health]>.nav-dot::before{content:'✚'}
.clean-workspace [data-page=stores]>.nav-dot::before{content:'▦'}
.clean-workspace [data-page=roi]>.nav-dot::before{content:'◉'}
.clean-workspace [data-page=mapping]>.nav-dot::before{content:'＋'}
.clean-workspace [data-page=settings]>.nav-dot::before{content:'◇'}
.clean-workspace [data-page=accounts]>.nav-dot::before{content:'▣'}
.clean-workspace [data-page=users]>.nav-dot::before{content:'♧'}
.clean-workspace [data-page=mcp]>.nav-dot::before{content:'⌘'}
.clean-workspace [data-page=system]>.nav-dot::before{content:'⚙'}
.clean-workspace .sidebar-foot{padding:15px 9px 0;margin-top:12px;border-top:1px solid var(--line);font-size:10px;flex:none}
.clean-workspace .topbar{padding:18px 32px;min-height:86px;gap:16px}
.clean-workspace .clean-page-heading{min-width:0;flex:1}
.clean-workspace .topbar h1{font-size:22px;font-weight:750;letter-spacing:-.025em;margin:0 0 5px;color:#1b2d4c}
.clean-workspace .topbar p{font-size:11px;color:#93a0b3;line-height:1.5}
.clean-workspace .top-actions{gap:10px;flex:none}
.clean-workspace .top-actions button{font-size:11px;padding:7px 11px}
.clean-workspace .business-tabs{padding:21px 32px 0;gap:7px}
.clean-workspace .business-tabs button{border-radius:7px;font-size:12px;padding:7px 13px}
.clean-workspace #content{padding:22px 32px 46px;max-width:1600px}
.clean-workspace .card{border-radius:12px;padding:19px 20px;box-shadow:0 3px 12px #193c7006;margin-bottom:17px}
.clean-workspace .card h2{font-size:14px;font-weight:750;color:#263650;line-height:1.5;margin-bottom:15px}
.clean-workspace .card h2::before{display:none}
.clean-workspace .card>.row:first-child{margin-bottom:14px}
.clean-workspace .card>.row:first-child h2{margin-bottom:0}
.clean-workspace button{font-size:12px;border-radius:7px;transition:background-color .15s,border-color .15s}
.clean-workspace input,.clean-workspace select{font-size:12px;background:#fafcfe;border-color:#e2e9f3}
.clean-workspace button.primary{box-shadow:0 3px 9px #3d64e81f}
.clean-workspace .tabs button{font-size:12px;padding:8px 12px}
.clean-workspace .notice{padding:11px 14px;font-size:11px;line-height:1.7;border-color:#e2eaf9;background:#f1f5fc;color:#62799c}
.clean-workspace .notice.warn{background:#fff8ec;border-color:#f4e7cc;color:#9b722f}
.clean-workspace .kpis{gap:14px;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));margin-bottom:19px}
.clean-workspace .kpi{padding:18px 19px;border-radius:11px;box-shadow:0 3px 12px #193c7006}
.clean-workspace .kpi strong{font-size:27px;letter-spacing:-.025em;color:#1b2d4c;margin:10px 0 6px}
.clean-workspace .kpi small{font-size:11px;line-height:1.6}
.clean-workspace .table-scroll{border-color:#edf1f6;border-radius:8px;overscroll-behavior-x:contain}
.clean-workspace table{font-size:12px}
.clean-workspace th{background:#f9fbfe;color:#8a98ae;font-weight:600;font-size:11px;padding:12px 14px}
.clean-workspace td{padding:13px 14px;border-color:#eef2f6;color:#53647d;vertical-align:middle}
.clean-workspace td strong{font-weight:700;color:#293c58}
.clean-workspace td.num{color:#283d5c}
.clean-workspace td small{font-size:10.5px;color:#93a0b3;line-height:1.6;margin-top:3px}
.clean-workspace tbody tr:hover td{background:#fbfcff}
.clean-workspace .pill{padding:4px 8px;font-size:10.5px;font-weight:650}
.clean-workspace .source-note,.clean-workspace .meta{font-size:11px;line-height:1.7}
.users-permissions-table{table-layout:fixed;min-width:760px}
.users-permissions-table th:nth-child(1){width:18%}.users-permissions-table th:nth-child(2){width:12%}.users-permissions-table th:nth-child(3){width:36%}.users-permissions-table th:nth-child(4){width:10%}.users-permissions-table th:nth-child(5){width:24%}
.users-permissions-table td{white-space:normal;overflow-wrap:anywhere}
.users-permissions-table .user-permission-actions{display:flex;gap:8px;flex-wrap:wrap}
.users-permissions-table .user-permission-actions button{white-space:nowrap;flex-shrink:0}
.user-store-list{max-width:100%}.user-store-list>summary{cursor:pointer;color:var(--blue);line-height:1.8;white-space:nowrap}
.user-store-list>summary:focus-visible{outline:2px solid var(--blue);outline-offset:4px;border-radius:4px}
.user-store-list-state::after{content:'展开查看';margin-left:10px;font-size:11px;color:var(--muted)}
.user-store-list[open] .user-store-list-state::after{content:'收起名单'}
.user-store-list ul{margin:10px 0 0;padding:10px 14px 10px 27px;max-height:190px;overflow-y:auto;overscroll-behavior:contain;white-space:normal;background:var(--bg);border:1px solid var(--line);border-radius:8px}
.user-store-list li{padding:3px 0;overflow-wrap:anywhere}
.clean-workspace .toolbar{gap:11px;margin-bottom:14px}
.clean-workspace .toolbar label{font-size:11px;gap:6px}
.clean-workspace .clean-overview-navigation{padding:11px 16px}
.clean-workspace .clean-overview-navigation>.row{margin-bottom:0}
.clean-workspace .clean-overview-navigation .muted{font-size:11px}
.clean-workspace .clean-scope-help{color:#8c9ab0;font-size:11px;margin:0 0 17px}
.clean-workspace .clean-scope-help>summary{cursor:pointer;padding:2px 2px}
.clean-workspace .clean-scope-help .notice{margin:10px 0 0}
.clean-workspace .workspace-two{gap:17px}
.clean-workspace .quick-grid{gap:9px}
.clean-workspace .quick-grid button{padding:12px;text-align:left;font-size:12px;background:#f8fafe}
.clean-workspace .todo-list button{padding:12px;font-size:12px;background:#f8fafe}
.clean-workspace .clean-primary-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:13px}
.clean-workspace .clean-primary-metrics .metric{padding:17px 18px;border-radius:10px;background:#fbfcff}
.clean-workspace .clean-primary-metrics .metric strong{font-size:27px;margin:5px 0;line-height:1.6;color:#1b2d4c}
.clean-workspace .clean-primary-metrics .metric.active{background:#f4f7ff;box-shadow:none}
.clean-workspace .clean-metric-details{margin-top:17px;border-top:1px solid #edf1f6;padding-top:13px}
.clean-workspace .clean-metric-details>summary,.clean-workspace .clean-chain-details>summary{cursor:pointer;font-size:12px;font-weight:700;color:#546987;line-height:1.7}
.clean-workspace .clean-metric-details>summary span,.clean-workspace .clean-chain-details>summary span{font-size:11px;font-weight:400;color:#98a5b8;margin-left:10px}
.clean-workspace .metric-group{border-color:#edf1f6;background:#fafcff}
.clean-workspace .metric-group .metric strong{font-size:21px}
.clean-workspace .clean-chain-details[open]>summary{margin-bottom:17px}
.clean-workspace .clean-chain-details .stage{background:#f8fafe}
.clean-workspace .clean-chain-details .stage strong{font-size:23px}
.clean-workspace .clean-chain-details .stage-grid{gap:12px}
.clean-workspace .clean-menu-toggle,.clean-workspace .clean-menu-close{display:none}
.clean-workspace .clean-nav-shade{position:fixed;inset:0;background:#16284166;z-index:60}
.clean-workspace .daily-report td:first-child,.clean-workspace .history-report td:first-child{box-shadow:1px 0 0 #e8edf4}
.clean-workspace .daily-report th:first-child,.clean-workspace .history-report th:first-child{background:#f9fbfe}
.clean-workspace .daily-report tr:hover td:first-child,.clean-workspace .history-report tr:hover td:first-child{background:#fbfcff}
.clean-workspace #content[data-page=dashboard] .table-scroll td:first-child{min-width:200px;max-width:330px;white-space:normal}
.clean-workspace .report-controls.card{padding:16px 19px}
.clean-workspace .report-controls .report-view-tabs{background:#f2f5fa}
.clean-workspace .report-controls-meta{color:#95a1b4}
.clean-workspace .report-filter-check{font-weight:400}
@media(min-width:1600px){.clean-workspace #content,.clean-workspace .business-tabs{max-width:1600px;margin:0 auto}}
@media(max-width:1100px){.clean-workspace #content{padding:22px 24px 42px}.clean-workspace .topbar{padding:18px 24px}.clean-workspace .business-tabs{padding-left:24px;padding-right:24px}.clean-workspace .clean-primary-metrics .metric strong{font-size:24px}}
@media(max-width:800px){
  .clean-workspace .sidebar{position:fixed;inset:0 auto 0 0;width:252px;height:100vh;height:100dvh;padding:22px 14px 16px;transform:translateX(-100%);transition:transform .2s;z-index:70;box-shadow:10px 0 35px #152c4420;display:flex}
  .clean-workspace.clean-nav-open{overflow:hidden}
  .clean-workspace.clean-nav-open .sidebar{transform:translateX(0)}
  .clean-workspace .sidebar nav{display:flex;flex-direction:column;overflow-y:auto;overflow-x:hidden;white-space:normal;gap:0}
  .clean-workspace .sidebar .nav-section{display:block;padding-bottom:15px}
  .clean-workspace .sidebar .nav-section-title{display:block;padding-top:8px}
  .clean-workspace .sidebar .sidebar-foot{display:block}
  .clean-workspace .sidebar .brand{padding-bottom:20px;gap:9px}
  .clean-workspace .clean-menu-close{display:inline-block;margin-left:auto;padding:2px 8px;font-size:23px;line-height:1.2}
  .clean-workspace main{margin-left:0;width:100%;min-width:0}
  .clean-workspace .clean-menu-toggle{display:inline-flex;align-items:center;justify-content:center;width:34px;height:36px;flex:none;font-size:19px;padding:5px}
  .clean-workspace .topbar{display:flex;align-items:center;min-height:74px;padding:13px 16px;gap:10px}
  .clean-workspace .topbar h1{font-size:19px;margin-bottom:4px}
  .clean-workspace .topbar p{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:48vw}
  .clean-workspace #content{padding:18px 16px 36px}
  .clean-workspace .business-tabs{padding:17px 16px 0}
  .clean-workspace .card{padding:17px 16px}
  .clean-workspace .toolbar input[type=search]{min-width:0;width:100%}
  .clean-workspace .toolbar label{min-width:120px;max-width:100%;flex:1}
  .clean-workspace .toolbar .check-label{min-width:0;flex:0 0 auto}
  .clean-workspace .workspace-two{grid-template-columns:1fr}
  .clean-workspace .kpis,.clean-workspace .history-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .clean-workspace .kpi strong{font-size:24px}
  .clean-workspace .clean-overview-navigation .muted{display:block;line-height:1.6}
  .clean-workspace .v3-query .toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .clean-workspace .v3-query .toolbar label{min-width:0}
  .clean-workspace .v3-query .toolbar select,.clean-workspace .v3-query .toolbar input{width:100%;min-width:0}
  .clean-workspace .report-filter-fields{gap:12px 10px}
  .clean-workspace .clean-primary-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .clean-workspace .clean-primary-metrics>.metric:only-child{grid-column:1/-1}
  .clean-workspace .clean-chain-details .stage-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .clean-workspace #preview-notice,.clean-workspace .mapping-notice{margin-left:16px;margin-right:16px}
}
@media(max-width:480px){
  .clean-workspace .top-actions{gap:4px}
  .clean-workspace .top-actions .pill{display:none}
  .clean-workspace .top-actions button{font-size:11px;padding:6px 7px}
  .clean-workspace #content{padding:16px 12px 32px}
  .clean-workspace .business-tabs{padding-left:12px;padding-right:12px;gap:4px}
  .clean-workspace .card{padding:16px 13px}
  .clean-workspace .kpis{gap:10px}
  .clean-workspace .kpi{padding:15px 13px}
  .clean-workspace .kpi strong{font-size:23px}
  .clean-workspace .clean-primary-metrics .metric{padding:14px 12px}
  .clean-workspace .clean-primary-metrics .metric strong{font-size:23px}
  .clean-workspace .clean-primary-metrics>.metric:last-child:nth-child(odd){grid-column:1/-1}
  .clean-workspace .quick-grid{grid-template-columns:1fr 1fr}
  .clean-workspace .report-controls.card{padding:14px 12px}
  .clean-workspace .table-scroll{border-radius:7px}
  .clean-workspace th,.clean-workspace td{padding:12px}
}
@media(prefers-reduced-motion:reduce){.clean-workspace .sidebar,.clean-workspace button{transition:none}}
@media(max-width:1050px){.sidebar{width:180px;padding:20px 10px}main{margin-left:180px}.topbar{padding:20px}.business-tabs{padding:18px 20px 0}#content{padding:20px}.metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.brand{gap:6px}.brand strong{font-size:13px}.store-grid{grid-template-columns:1fr}.top-actions{gap:5px}.stage-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){.sidebar{position:static;width:auto;padding:14px;border-right:0;border-bottom:1px solid var(--line)}.brand{padding-bottom:12px}.sidebar nav{flex-direction:row;overflow:auto;gap:3px}.nav-label,.sidebar-foot{display:none}.nav-button{padding:9px;font-size:12px}.brand small{display:none}main{margin-left:0}.topbar{padding:17px 15px;align-items:flex-start}.topbar h1{font-size:18px}.top-actions{flex-wrap:wrap;justify-content:end}.top-actions button{font-size:11px;padding:7px}.top-actions .pill{width:100%;text-align:right;background:none;padding:0}.business-tabs{padding:15px 12px 0;gap:2px}.business-tabs button{padding:8px;font-size:11px}#content{padding:16px 12px}.card{padding:16px;border-radius:10px}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.metric strong{font-size:19px}.kpis{grid-template-columns:1fr;gap:9px}.kpi{padding:15px}.kpi strong{font-size:24px;margin:7px 0}.toolbar label{flex:1;min-width:125px}.toolbar select,.toolbar input{width:100%}.form-grid,.choice-grid{grid-template-columns:1fr}.stage-grid{grid-template-columns:repeat(2,1fr)}#dialog-body{padding:18px}.dialog-head{padding:16px 18px}.form-grid .span{grid-column:auto}.chart{height:210px}.topbar p{font-size:10px;line-height:1.7}#preview-notice{margin:12px}#toast{bottom:15px}}
