/* A 12px gutter joins 6 equal metric columns and 2 equal chart columns. */
body[data-view="dashboard"]{background:#f3f6f8;color:#21313c;font-family:"Microsoft YaHei","Segoe UI",sans-serif;font-variant-numeric:tabular-nums}
body[data-view="dashboard"] .sidebar{background:#f3f6f8;color:#283f4c;border-right:1px solid #e3e8ec}
body[data-view="dashboard"] .brand,body[data-view="dashboard"] .side-bottom{color:#243f4f}
body[data-view="dashboard"] .brand small,body[data-view="dashboard"] .side-bottom small,body[data-view="dashboard"] .nav-group{color:#526573}
body[data-view="dashboard"] .brandmark{background:#176b86;color:white;box-shadow:none;border-radius:6px}
body[data-view="dashboard"] #navigation button{color:#405360;border:0;background:transparent;display:flex;align-items:center;gap:10px}
body[data-view="dashboard"] #navigation button.active{background:#e5eaed;color:#173848;border:0;box-shadow:none}
body[data-view="dashboard"] .side-extra{color:#526573}
body[data-view="dashboard"] .workspace>header{height:48px;background:#f3f6f8;border:0}
body[data-view="dashboard"] .demo-strip{padding:3px 16px;min-height:0}
body[data-view="dashboard"] .db-bar{padding:3px 16px;min-height:30px}
body[data-view="dashboard"] .db-bar button{min-height:24px;padding:2px 8px}
body[data-view="dashboard"] #content{background:#fff;margin:8px 12px 8px 8px;padding:18px;border:1px solid #e5e9ed;border-radius:16px;max-width:none}
body[data-view="dashboard"] .page-title{margin-bottom:12px;gap:12px;align-items:center}
body[data-view="dashboard"] .page-title h1{font-size:24px;margin:0 0 4px}
body[data-view="dashboard"] .page-title .subtitle{font-size:12px;color:#526573}
body[data-view="dashboard"] button{box-shadow:none}
.cp-root{--cp-accent:#176b86;--cp-muted:#526573;font-size:13px;line-height:1.45}
.cp-root section{margin-top:0}
.cp-icon{width:16px;height:16px;flex-shrink:0;vertical-align:middle}
body[data-view="dashboard"] .side-bottom strong{color:#324d5d}
.cp-trend text{font-size:17px!important}
.cp-root button,.page-title [data-cockpit-export],.page-title .cp-source{font-size:12px;display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:5px 9px;border:1px solid #d5dfe5;border-radius:6px;background:#fff;color:#283f4c;cursor:pointer}
.cp-root button:hover,.cp-drill:hover,.cp-source:hover{background:#f1f6f8;border-color:#a6b9c4}
.cp-root button:focus-visible,.cp-root input:focus-visible,.cp-root select:focus-visible,.cp-drill:focus-visible{outline:2px solid #176b86;outline-offset:2px}
.cp-filters{display:flex;gap:8px;align-items:center;padding:0 0 12px;flex-wrap:wrap}
.cp-filters input,.cp-filters select{font:inherit;padding:6px 8px;border:1px solid #c9d5dd;border-radius:6px;min-height:34px;min-width:0;background:#fff;color:#263e4d}
.cp-search{position:relative;flex:1;min-width:180px;max-width:300px}.cp-search input{width:100%;padding-left:30px}.cp-search svg{position:absolute;left:9px;top:9px;color:#647685}
.cp-filters select{max-width:180px}.cp-scope{color:#526573;font-size:11px;margin-left:auto}
.cp-date{position:relative}.cp-date summary{cursor:pointer;padding:7px 10px;border:1px solid #c9d5dd;border-radius:6px;font-size:12px}.cp-date>div{position:absolute;top:38px;left:0;z-index:15;width:270px;padding:16px;background:white;border:1px solid #d5dfe5;border-radius:8px;box-shadow:0 8px 24px #20304020}.cp-date label{display:block;margin-bottom:10px}.cp-date input{width:100%;margin-top:4px}.cp-date small{color:#526573}
.cp-kpis,.cp-secondary{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));border:1px solid #e3e9ed;border-radius:8px;margin-bottom:12px;overflow:hidden}
.cp-root .cp-metric{display:flex;align-items:stretch;flex-direction:column;border:0;border-right:1px solid #e3e9ed;border-radius:0;padding:12px 14px;gap:5px;text-align:left;min-width:0;background:#fff}
.cp-metric:last-child{border-right:0}.cp-metric>span{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#526573;gap:4px}.cp-metric>span svg{width:12px;height:12px;color:#607380}
.cp-metric strong{font-size:27px;font-weight:600;line-height:1.2;color:#233947}.cp-metric strong small{font-size:12px;font-weight:400;margin-left:5px;color:#526573}.cp-metric>small{font-size:11px;color:#526573;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cp-metric.cp-risk strong{color:#aa3428}
.cp-secondary .cp-metric{padding:8px 14px}.cp-secondary .cp-metric strong{font-size:20px}.cp-secondary .cp-metric>small{font-size:11px}
.cp-charts,.cp-bottom{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:12px;margin-bottom:12px}
.cp-panel{border:1px solid #e3e9ed;border-radius:8px;padding:12px 14px;background:#fff;min-width:0;box-shadow:none}.cp-panel-head{display:flex;justify-content:space-between;gap:8px;align-items:start;margin-bottom:8px}.cp-panel h2{font-size:14px;margin:0 0 3px;font-weight:600}.cp-panel-head small,.cp-caption{color:#526573;font-size:11px}.cp-panel-head>button{flex-shrink:0;border:0;padding:0;min-height:24px;font-size:11px}.cp-panel-head .cp-source .cp-icon{width:12px;height:12px}
.cp-trend{width:100%;height:132px;display:block}.cp-trend text{font-size:11px;fill:#526573;font-family:inherit}.cp-legend{display:flex;align-items:center;gap:5px;font-size:11px;white-space:nowrap;color:#526573}.cp-legend i{width:7px;height:7px;background:#176b86;display:inline-block}.cp-legend i.bad{background:#b84939;margin-left:5px}.cp-months{display:flex;justify-content:space-between;gap:2px}.cp-root .cp-months button{padding:2px;min-height:26px;flex:1;border:0;font-size:11px;color:#526573}.cp-caption{margin:4px 0 0;line-height:1.5}
.cp-bars{display:grid;gap:3px}.cp-root .cp-bars button{display:grid;grid-template-columns:minmax(120px,1.2fr) minmax(60px,1fr) 24px;border:0;padding:5px 0;gap:12px;text-align:left;min-height:27px}.cp-bars span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cp-bars i{height:6px;background:#eef2f4;border-radius:2px;overflow:hidden}.cp-bars b{display:block;height:100%;background:#176b86}.cp-bars strong{text-align:right;font-weight:500}
.cp-cost{display:flex;gap:28px;align-items:center;justify-content:center;min-height:102px}.cp-ring{width:86px;height:86px;border:6px solid #edf1f3;border-radius:50%;display:grid;place-items:center;color:#526573;text-align:center;flex-shrink:0}.cp-ring small{display:block;font-size:11px;margin-top:2px}.cp-cost dl{margin:0;min-width:170px}.cp-cost dl>div{display:flex;justify-content:space-between;gap:36px;border-bottom:1px solid #f0f3f5;padding:6px 0}.cp-cost dt{color:#526573}.cp-cost dd{margin:0;font-variant-numeric:tabular-nums}
.cp-empty{font-size:12px;color:#526573;padding:24px 0;text-align:center}
.cp-alerts{display:flex;gap:10px}.cp-root .cp-alerts button{flex:1;border:0;border-right:1px solid #e3e9ed;padding:8px 5px;align-items:center;text-align:left;gap:8px}.cp-alerts button:last-child{border-right:0}.cp-alerts span{flex:1}.cp-alerts small{display:block;color:#526573;font-size:11px;margin-top:5px}.cp-alerts b{white-space:nowrap;font-size:15px}
.cp-issues{display:grid;gap:2px}.cp-root .cp-issues button{display:flex;gap:10px;width:100%;border:0;border-bottom:1px solid #eef2f4;border-radius:0;min-height:30px;padding:4px 0;text-align:left}.cp-issues b{font-size:11px;font-weight:500;white-space:nowrap}.cp-issues span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cp-issues small{color:#a64e24;white-space:nowrap}
.cp-table-wrap{overflow:auto;max-width:100%}.cp-table{width:100%;border-collapse:collapse;font-size:12px}.cp-table th,.cp-table td{padding:7px 8px;border-bottom:1px solid #edf1f4;text-align:left;background:white;white-space:normal}.cp-table th{font-size:11px;color:#526573;font-weight:500}.cp-table td small{display:block;font-size:11px;color:#526573;margin-top:3px}.cp-table th.cp-num,.cp-table td.cp-num{text-align:right}.cp-table td:first-child{min-width:150px}.cp-table td b{font-weight:500}.cp-progress{width:90px;height:4px;border-radius:3px;background:#e9eff2}.cp-progress i{height:100%;display:block;background:#176b86;border-radius:3px}.cp-root .cp-table button{font-size:11px;border:0;padding:0 3px}.cp-pages{display:flex;align-items:center;justify-content:flex-end;gap:8px;font-size:12px;padding-top:8px}
.cp-queue{margin-top:12px;font-size:12px;color:#526573}.cp-queue summary{cursor:pointer;padding:9px 0}.cp-queue .quality-workbench{margin:0;box-shadow:none}.cp-queue .quality-workbench h2{font-size:14px}
.cp-detail-tools,.cp-detail-tabs{display:flex;gap:8px;margin:12px 0;flex-wrap:wrap}.cp-detail-tools input{flex:1;min-width:180px;padding:9px;border:1px solid #c9d5dd;border-radius:6px}.cp-source-list section{border-bottom:1px solid #e3e9ed;padding:10px 0}.cp-source-list h3{font-size:15px}.cp-source-list h3 small{font-size:12px;color:#526573;margin-left:8px}.cp-source-list dl{font-size:13px}.cp-source-list dd{margin-left:0;color:#526573}
@media(min-width:1200px){.cp-charts{grid-template-columns:1.65fr 1fr 1fr 1fr}.cp-panel-head{flex-wrap:wrap}.cp-cost{gap:8px;flex-wrap:wrap;min-height:150px}.cp-cost dl{min-width:130px}.cp-trend-panel .cp-panel-head{flex-wrap:wrap}.cp-root .cp-bars button{grid-template-columns:1fr 22px;gap:4px;min-height:40px}.cp-bars button>span{white-space:normal}.cp-bars button>i{grid-row:2;grid-column:1/-1;height:4px}.cp-bars button>strong{grid-column:2;grid-row:1}.cp-bottom{grid-template-columns:1fr 1fr}.cp-root .cp-months{flex-wrap:wrap}.cp-root .cp-months button{flex:0 0 15%;min-height:24px}.cp-table th,.cp-table td{padding:5px 8px}}
@media(max-width:1100px){.cp-kpis,.cp-secondary{grid-template-columns:repeat(3,minmax(0,1fr))}.cp-metric:nth-child(3){border-right:0}.cp-metric:nth-child(-n+3){border-bottom:1px solid #e3e9ed}.cp-charts,.cp-bottom{grid-template-columns:1fr 1fr}.cp-panel-head{flex-wrap:wrap}.cp-cost{gap:12px}.cp-cost dl{min-width:120px}.cp-alerts{display:grid}}
@media(max-width:640px){body[data-view="dashboard"] #content{padding:12px;margin:4px;border-radius:8px}body[data-view="dashboard"] .page-title{align-items:start}.cp-kpis,.cp-secondary{grid-template-columns:repeat(2,minmax(0,1fr))}.cp-metric:nth-child(3){border-right:1px solid #e3e9ed}.cp-metric:nth-child(2n){border-right:0}.cp-metric:nth-child(-n+4){border-bottom:1px solid #e3e9ed}.cp-root .cp-metric{padding:12px}.cp-metric strong{font-size:26px}.cp-metric>small{white-space:normal;font-size:12px}.cp-charts,.cp-bottom{grid-template-columns:1fr}.cp-root button{min-height:44px;font-size:13px}.cp-root input,.cp-root select{min-height:44px;font-size:14px}.cp-filters .cp-search{max-width:none;flex-basis:100%}.cp-filters select{flex:1;max-width:48%}.cp-filters .cp-scope{width:100%;font-size:12px}.cp-date>div{left:-80px}.cp-panel{padding:12px}.cp-panel h2{font-size:16px}.cp-panel-head small,.cp-caption,.cp-legend{font-size:12px}.cp-months{flex-wrap:wrap}.cp-root .cp-months button{min-height:38px;flex:0 0 15%;font-size:12px}.cp-root .cp-bars button{min-height:44px}.cp-cost{min-height:120px}.cp-table{min-width:650px}.cp-table th,.cp-table td{font-size:13px}.cp-issues b{font-size:12px}.cp-root .cp-issues button{flex-wrap:wrap}.cp-issues span{min-width:100px}.cp-alerts small{font-size:12px}}

.cp-month-tools{display:flex;gap:6px;align-items:center;justify-content:space-between;font-size:11px;margin-top:4px}.cp-month-tools select{padding:3px 4px;font:inherit;min-width:0;min-height:28px}.cp-month-tools label{display:flex;gap:6px;align-items:center}.cp-root .cp-month-tools button{padding:2px 6px;min-height:28px}
