:root{--bg:#f4f7fb;--line:#e3eaf3;--cyan:#2563eb;--blue:#2563eb;--text:#172b4d;--muted:#7b8da6;--good:#09996b;--warn:#cc8216}
body{background:#f4f7fb;color:#172b4d;font-size:13px;font-variant-numeric:tabular-nums}body:before{display:none}
.shell{padding:12px 20px 8px;grid-template-rows:48px 44px 104px minmax(0,1fr) 20px;gap:12px;height:100dvh}
.header{border:0}.brand{width:auto;font-size:22px;letter-spacing:0;color:#162d50;text-shadow:none}.brand:before{content:'▦';color:#2563eb;font-size:28px;margin-right:10px}.title{display:none}.clock{width:auto;display:flex;gap:14px;align-items:center;color:#76879c}.clock strong{font-size:16px;color:#243e60}.clock small{margin:0}.private-entry{font-size:11px;border-color:#dce5f1;color:#76879c;margin:0;padding:5px 9px}.private-entry:hover{color:#2563eb;border-color:#93b8ff;box-shadow:none}
button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #2563eb;outline-offset:2px}
.global-filter{display:flex;align-items:center;gap:12px;padding:6px 14px;background:#fff;border:1px solid #e0e8f2;border-radius:8px;min-width:0}.global-filter>label{font-size:12px;color:#536580;white-space:nowrap}.global-filter .product-tabs{margin:0;gap:0;background:#f7f9fd;border:1px solid #e2e9f4;border-radius:5px;overflow:hidden}.product-period-tab,.product-scope-tab,.cancel-period-tab,.period-tab,.trend-tab,.trend-apply{background:#f8faff;color:#657a98;border:1px solid #dce6f3;border-radius:4px;font:12px 'Microsoft YaHei';padding:5px 9px!important;box-shadow:none}.product-period-tab.active,.product-scope-tab.active,.period-tab.active,.trend-tab.active{background:#2563eb;color:#fff;border-color:#2563eb;box-shadow:none}.global-filter .product-period-tab{border:0;border-radius:0;padding:6px 16px!important}.global-date-label{color:#647896;font-size:12px;white-space:nowrap}.global-actions{display:flex;gap:8px;margin-left:auto}.quiet-button{background:#fff;border:1px solid #dce5f2;color:#516d93;border-radius:5px;padding:5px 10px;font:12px 'Microsoft YaHei';white-space:nowrap}.quiet-button:hover{background:#eef4ff;color:#2563eb}.product-date-wrap{font-size:12px}.range-trigger,.hero-time-filter .range-trigger{background:#fff;color:#4f6b8e;border:1px solid #dbe5f2;font:12px 'Microsoft YaHei';height:28px;box-shadow:none}.range-trigger:hover,.product-date-wrap.active .range-trigger{color:#2563eb;border-color:#8bb3ff;box-shadow:none}.range-popover{background:#fff;border-color:#dbe5f2;box-shadow:0 12px 40px #193c6e26;color:#637a97;max-width:calc(100vw - 16px)}.range-title{color:#294569}.range-title b{color:#2563eb}.range-help{color:#8292aa;font-size:10px}.range-chip{background:#f7f9fd;color:#42618a;border-color:#e1e8f2}.range-chip:hover{color:#2563eb;border-color:#86adf7}.range-chip.start,.range-chip.end{background:#2563eb;color:#fff;border-color:#2563eb;box-shadow:none}.range-chip.between{background:#e9f1ff;color:#2457b2;border-color:#c9ddff}.range-actions button{background:#f0f5ff;color:#2563eb;border-color:#cddfff}
.summary-row{display:grid;grid-template-columns:1.15fr repeat(3,1fr);gap:12px;min-height:0}.panel{background:#fff;border:1px solid #e0e8f2;border-radius:9px;box-shadow:0 2px 5px #28436603}.panel:before,.panel:after{display:none}.summary-row>.hero,.summary-row>.channel{padding:12px 20px;display:flex;justify-content:center;align-items:flex-start;text-align:left;flex-direction:column;background:#fff}.summary-row>.hero{background:linear-gradient(110deg,#edf4ff,#fff)}.hero-inner{width:100%;transform:none}.eyebrow,.channel-name{font-size:13px;letter-spacing:0;color:#526784;font-weight:600}.hero-num{font-size:38px;letter-spacing:0;font-weight:750;color:#1e51c9;background:none;text-shadow:none;line-height:1.15}.unit{font-size:12px;color:#69819d;margin-left:5px}.hero-sub{font-size:10px;margin-top:4px;color:#8191a7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hero-sub #heroTime{color:#8191a7}.hero-sub .pulse{display:none}.hero-time-filter{display:none}.channel-num,.channel:nth-child(n) .channel-num{font-size:34px;line-height:1.15;color:#2357cb;margin:3px 0;font-weight:700}.compare{font-size:10px;color:#8b9bb0}.up{color:#09996b!important}.down{color:#e45468!important}.flat{color:#8192a9!important}
.grid{grid-template-columns:minmax(0,35fr) minmax(0,29fr) minmax(0,36fr)!important;gap:12px}.column{gap:12px}.left{display:block}.center{grid-template-rows:minmax(230px,1.1fr) minmax(175px,.85fr) 84px}.right{display:block}.panel-head{height:44px;min-height:44px;padding:0 16px;color:#20385b;border-color:#edf1f7;font-size:16px;font-style:normal;font-weight:700;letter-spacing:0}.panel-head i{display:none}
.hour-panel{height:100%;display:flex;flex-direction:column;padding:15px 16px 10px}.hour-panel-top{display:flex;align-items:center;justify-content:space-between;gap:7px}.hour-panel h2{font-size:17px;font-weight:700}.hour-sources{display:flex;gap:0;border:1px solid #dce5f2;border-radius:5px;overflow:hidden}.hour-sources button{border:0;border-right:1px solid #e4eaf4;background:#f8faff;color:#667c9a;padding:5px 8px;font:11px 'Microsoft YaHei'}.hour-sources button:last-child{border:0}.hour-sources button.active{background:#2563eb;color:#fff}.hour-caption{font-size:11px;color:#8292a9;margin:6px 0 11px;min-height:16px}.hour-scroll{min-height:0;overflow:auto;flex:1;scrollbar-width:thin;scrollbar-color:#c9d6e7 transparent}.hour-table{border-collapse:collapse;table-layout:fixed;width:100%;font-size:12px}.hour-table th{height:28px;font-size:11px;background:#f4f7fc;color:#7d8fa9;text-align:right;position:sticky;top:0;font-weight:500;z-index:1}.hour-table th:first-child{width:34%;text-align:left;padding-left:8px}.hour-table th:nth-child(2){width:18%}.hour-table th:nth-child(3){width:23%}.hour-table th:nth-child(4){width:25%;padding-right:7px}.hour-table td{height:clamp(20px,2.13vh,26px);border-bottom:1px solid #eff3f8;text-align:right;white-space:nowrap}.hour-table td:first-child{text-align:left;padding-left:8px;color:#4a6387;font-size:11px}.hour-table td:last-child{padding-right:7px}.hour-table tbody tr:nth-child(even){background:#fafbfd}.hour-table .current-hour{background:#eaf2ff!important}.hour-table .current-hour td{color:#2563eb;font-weight:650}.hour-table .day-part{color:#8b9ab0;margin-right:5px;font-size:10px}.hour-table .future td{color:#a1aec0;font-weight:400;font-size:11px}.hour-foot{font-size:10px;color:#8a9bb3;margin-top:8px;line-height:1.5}.hour-coverage{color:#b88627}
.cancel-panel{display:flex;flex-direction:column}.cancel-panel .panel-head{height:44px;font-size:16px;letter-spacing:0}.cancel-panel .product-tabs{display:none}.business-label{font-size:13px;color:#344d71;padding:8px 17px 4px;font-weight:600}.business-label:before{content:'';display:inline-block;width:3px;height:13px;background:#2563eb;margin-right:7px;vertical-align:-2px}.capacity-values{grid-template-columns:repeat(3,1fr);gap:0;padding:4px 15px 0}.capacity-values>div{border-right:1px solid #e8edf6}.capacity-values>div:nth-child(3){border:0}.capacity-values span,.cancel-values span{font-size:11px;color:#7d8fa9}.capacity-values strong{font-size:24px;color:#2563eb;padding-top:3px}.capacity-values>div:last-child{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;background:#edf4ff;margin:10px 0 4px;padding:6px 12px;border:0;border-radius:5px}.capacity-values>div:last-child strong{font-size:23px;padding:0}.capacity-values>div:last-child span{color:#4b6f9b;font-size:12px}.cancel-values{grid-template-columns:1fr 1fr;gap:0;padding:3px 15px 0}.cancel-values strong{color:#e35369;font-size:22px;padding-top:2px}.cancel-values>div:last-child{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;border-radius:5px;background:#fff1f4;margin:8px 0 0;padding:5px 12px}.cancel-values>div:last-child strong{padding:0}.cancel-note{font-size:10px;color:#91a0b5;padding:8px 14px;margin-top:auto}
.trend-panel{display:flex;flex-direction:column;overflow:visible}.trend-head{flex-wrap:wrap;gap:5px;align-content:center;padding:6px 14px;height:auto;min-height:46px;border-bottom:0}.trend-heading{font-size:15px}.trend-heading:after{content:'独立日期';font-size:9px;font-weight:400;color:#2563eb;background:#edf4ff;border-radius:4px;padding:2px 4px;margin-left:6px}.trend-controls{flex-wrap:wrap;justify-content:flex-end;gap:3px}.trend-tab,.trend-apply{font-size:10px;padding:4px 6px!important}.trend-custom.open{flex-basis:100%;justify-content:flex-end}.trend-custom input{color:#49678d;background:#fff;color-scheme:light;border-color:#dce6f3;width:106px;font-size:10px}.trend-range{position:static;display:block;background:none;color:#8b9ab0;padding:0;font-size:10px;margin-top:4px}.canvas-wrap{flex:1;min-height:70px;height:auto;padding:5px 10px 9px}.chart-tip{background:#fffffff5;border-color:#c9d9ef;color:#456185;box-shadow:0 6px 20px #23436d22;font-size:11px}.chart-tip b{color:#2563eb}
.period-summaries{display:grid;grid-template-columns:1fr 1fr;gap:10px;min-height:0}.period-summaries .panel-head{display:none}.period-summaries .period-card{height:100%;padding:10px 13px;display:block}.period-main strong{font-size:24px;color:#2563eb;margin-top:2px}.period-main span{font-size:10px;color:#8b9bb2}.period-main span:last-child{font-size:9px}.period-side{display:none}
.product-panel{height:100%;display:flex;flex-direction:column}.product-panel .panel-head{height:51px;min-height:51px;flex-wrap:nowrap;padding:8px 16px;gap:8px}.product-panel .panel-title{font-size:17px;letter-spacing:0}.product-panel .product-scope-tabs{margin-left:auto;gap:2px}.product-scope-tab,.capacity-setting-btn{font-size:11px!important;padding:5px 8px!important}.capacity-setting-btn{background:#fff;color:#7388a7;border-color:#dce5f2;box-shadow:none;margin-left:3px}.capacity-setting-btn:hover{box-shadow:none;color:#2563eb;border-color:#9bbcff}.product-panel .product-list{height:auto;flex:1;min-height:0;padding:4px 15px 12px;overflow:auto;scrollbar-color:#ced9e9 transparent}.product-summary{font-size:11px;color:#8293aa;margin:2px 0 12px;display:flex;flex-wrap:wrap;line-height:1.6}.product-summary-total{font-size:12px;color:#365f9b;margin-left:auto}.product-table{border-collapse:collapse;width:100%;table-layout:fixed;font-size:12px}.product-table th{font-size:10px;color:#7489a8;font-weight:500;background:#f3f7fc;position:sticky;top:0;z-index:1;height:30px;text-align:right}.product-table th:first-child{width:6%;text-align:center}.product-table th:nth-child(2){width:24%;text-align:left}.product-table th:nth-child(n+3){width:17.5%;padding-right:7px}.product-table td{height:36px;border-bottom:1px solid #edf2f8;text-align:right;padding-right:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-table td:first-child{color:#9aaac0;text-align:center;padding:0;font-size:11px}.product-table td:nth-child(2){text-align:left}.product-table td:last-child{font-weight:700;color:#254a80}.product-table tr:nth-child(even){background:#fafcfe}.category-link{color:#405d82;background:none;border:0;text-align:left;font:12px 'Microsoft YaHei';max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.category-link:hover{color:#2563eb;text-decoration:underline}.product-empty{color:#8b9bb2;font-size:12px}
.capacity-summary{font-size:11px;color:#8191a9}.capacity-summary strong{color:#285ca8;text-align:left}.capacity-list-head{font-size:10px;color:#8497b0;border-color:#e8eef6}.capacity-row{border-color:#edf2f8;grid-template-columns:22px minmax(60px,1fr) 116px 80px;gap:5px}.capacity-name{font-size:12px;color:#436083}.capacity-output b{font-size:12px;color:#284c7c}.capacity-output small{font-size:10px;color:#8c9db4}.capacity-status.good{background:#ecfbf4;color:#0b996b;border-color:#c4ebdb}.capacity-status.bad{background:#fff7eb;color:#bf842c;border-color:#f2dfb7}.capacity-status.empty{background:#f2f5fa;color:#8b9db3;border-color:#e2e8f1}
.footer{font-size:10px;color:#96a4b8}.footer #status{color:#09996b}.status-warn{color:#bd8229!important}.modal-mask{background:#142b494d;backdrop-filter:blur(3px);z-index:1500}.product-modal,.capacity-modal{background:#fff;border-color:#dce6f3;border-radius:10px;box-shadow:0 20px 80px #1b385533;color:#35527a}.modal-head{border-color:#e5ebf4}.modal-head h2{font-size:18px;color:#284b7b;letter-spacing:0}.modal-head span{color:#8c9fb8}.modal-close{background:#f6f9ff;border-color:#dce6f3;color:#55759c}.modal-foot,.capacity-help{border-color:#e6edf6;color:#8c9eb6;font-size:11px}.sub-row{border-color:#edf2f8}.sub-name{color:#3e5e87}.sub-qty{color:#2555a0}.sub-rank{color:#99acc7}.capacity-edit-head{background:#f4f7fc;border-color:#e5ecf6;color:#6e88aa}.capacity-edit-row{border-color:#e9eff7}.capacity-edit-name{color:#3f5f89}.capacity-input{background:#fff;border-color:#dce5f2;color:#2f5587}.capacity-actions{border-color:#e6edf6}.capacity-action{background:#f6f9ff;border-color:#d3e2f6;color:#4d709b}.capacity-action.primary{background:#2563eb;border-color:#2563eb;color:#fff}.platform-modal .mix{height:auto;overflow:auto;padding:18px;gap:14px}.platform-modal .mix-name{color:#507096}.platform-modal .mix-val{color:#28518a}.mix-track{background:#eaf0fa;height:8px}.mix-bar{background:linear-gradient(90deg,#2563eb,#69a8ff);box-shadow:none}.mix-sub{color:#91a3bc}.legacy-comparison{display:none}
@media(min-height:950px){.center{grid-template-rows:minmax(300px,1.1fr) minmax(230px,.85fr) 92px}.hour-table td{height:clamp(24px,2.45vh,30px)}.capacity-values strong{font-size:28px}.capacity-values{padding-top:12px}.cancel-values{padding-top:12px}.business-label{padding-top:14px}}
@media(max-width:1450px){.shell{padding:9px 12px 6px;gap:9px;grid-template-rows:40px 42px 94px minmax(0,1fr) 18px}.brand{font-size:18px}.grid,.summary-row{gap:9px}.hour-panel{padding:12px 10px 8px}.hour-panel h2{font-size:15px}.hour-sources button{padding:4px 6px;font-size:10px}.hour-table{font-size:11px}.hour-table td:first-child{font-size:10px;padding-left:3px}.hour-table .day-part{font-size:9px;margin-right:3px}.hour-table th{font-size:9px}.product-panel .panel-title{font-size:15px}.product-panel .panel-head{padding:6px 10px;gap:4px}.product-scope-tab,.capacity-setting-btn{font-size:10px!important;padding:4px 6px!important}.product-panel .product-list{padding:4px 10px 10px}.product-table{font-size:11px}.category-link{font-size:11px}.product-table td{height:31px}.product-summary{font-size:10px}.center{gap:9px;grid-template-rows:minmax(224px,1.15fr) minmax(160px,.85fr) 78px}.hero-num{font-size:33px}.channel-num,.channel:nth-child(n) .channel-num{font-size:29px}.global-filter{gap:8px}.global-filter .product-period-tab{padding:6px 10px!important}.global-date-label{font-size:11px}.capacity-values strong{font-size:21px}.cancel-values strong{font-size:20px}.panel-head{font-size:14px}.trend-controls{margin-left:0}.trend-head{padding:6px 10px}.trend-heading{font-size:13px}.trend-heading:after{font-size:8px}.capacity-values span{font-size:10px}.footer{font-size:9px}}
@media(max-width:1100px){html,body{overflow:auto}.shell{height:auto;min-height:100dvh;grid-template-rows:42px auto 100px auto 22px}.grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}.right{grid-column:1/-1;height:540px}.left{height:680px}.center{height:680px}.global-filter{flex-wrap:wrap}.global-actions{margin-left:auto}.global-date-label{display:none}.summary-row>.hero,.summary-row>.channel{padding:10px}.hero-num{font-size:29px}.channel-num,.channel:nth-child(n) .channel-num{font-size:26px}.compare{font-size:9px}.hour-table td{height:23px}.footer>div:first-child{display:none}.header .clock small{display:none}.hero-sub{font-size:9px}}
@media(max-height:900px) and (min-width:1101px){.center{grid-template-rows:minmax(268px,1.2fr) minmax(130px,.8fr) 76px}.cancel-panel .panel-head{height:34px;min-height:34px;font-size:14px}.cancel-panel .business-label{padding:6px 16px 3px;font-size:12px;line-height:16px}.cancel-panel .capacity-values{padding:1px 14px 0}.cancel-panel .capacity-values strong{font-size:21px;padding-top:1px;line-height:25px}.cancel-panel .capacity-values span{font-size:10px;line-height:14px}.cancel-panel .capacity-values>div:last-child{margin:6px 0 2px;padding:3px 10px}.cancel-panel .capacity-values>div:last-child strong{font-size:21px;line-height:25px}.cancel-panel .cancel-values{padding:0 14px;line-height:14px}.cancel-panel .cancel-values span{font-size:10px}.cancel-panel .cancel-values strong{font-size:19px;line-height:23px;padding:0}.cancel-panel .cancel-values>div:last-child{padding:3px 10px;margin-top:5px}.cancel-panel .cancel-note{padding:4px 12px;font-size:9px;line-height:13px}.trend-heading:after{display:none}.trend-controls{margin-left:auto}.trend-range{font-size:9px}.trend-head{min-height:42px}.canvas-wrap{padding-top:0}}
