:root{--navy:#102640;--navy-light:#1d3657;--ink:#10274b;--muted:#5d7496;--blue:#1674ff;--green:#08af73;--red:#ff4b48;--orange:#ff941b;--line:#dfE9f5;--canvas:#eff4fa;--sidebar:149px;--header:75px;--footer:48px;font-family:"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif;color:var(--ink);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--canvas);font-size:13px}button,input,select{font:inherit}button,a,select,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button{border:0;background:none}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:2px solid #258cff;outline-offset:3px}button:disabled{cursor:default}button .icon{flex:none}.icon{vertical-align:middle;flex-shrink:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}.green-text{color:var(--green)!important}.blue-text{color:#0067f3!important}.red-text{color:var(--red)!important}.orange-text{color:var(--orange)!important}.muted{color:#89909d!important}
.topbar{height:var(--header);background:radial-gradient(ellipse at 50% 130%,#124476 0,transparent 48%),linear-gradient(100deg,#10243c,#0e2849 64%,#213850);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 23px;position:fixed;top:0;left:0;right:0;z-index:20;border-bottom:1px solid #547591;box-shadow:0 2px 10px #0b284431}
.brand{display:flex;gap:10px;align-items:center;width:335px;flex-shrink:0}.brand>span{text-align:center}.brand-flask{width:39px;height:47px}.brand-copy{flex:1;min-width:0;display:grid;gap:6px;text-align:center}.brand strong{display:block;font-size:17px;font-weight:600;letter-spacing:.3px;word-break:keep-all}.brand small{display:block;width:75%;justify-self:center;color:#b0c2d8;font-size:10px;letter-spacing:1px;text-align:justify;text-align-last:justify;white-space:nowrap}.topbar-title{position:absolute;left:50%;transform:translateX(-50%);width:440px;height:75px;text-align:center;border-bottom:1px solid #49b7f0;border-radius:0 0 45px 45px;background:linear-gradient(0deg,#197bb322,transparent 60%);padding-top:9px}.topbar-title:before,.topbar-title:after{content:"";position:absolute;top:0;width:80px;height:65px;border-bottom:1px solid #3b98c7;pointer-events:none}.topbar-title:before{left:-30px;transform:skew(43deg);border-left:1px solid #3b98c7}.topbar-title:after{right:-30px;transform:skew(-43deg);border-right:1px solid #3b98c7}.topbar-title h1{font-size:27px;letter-spacing:7px;line-height:35px;margin:0;font-weight:650;text-shadow:0 2px 8px #6bb9ff33}.topbar-title p{font-size:11px;letter-spacing:2px;color:#c1dcf8;margin:3px 0 0}.topbar-tools{display:flex;align-items:center;gap:16px;z-index:1}.topbar-date{font-size:12px;white-space:nowrap}.plant-selector{position:relative;display:flex;align-items:center}.plant-selector select{appearance:none;background:#ffffff08;color:white;border:1px solid #8ca2ba70;border-radius:6px;height:32px;padding:0 32px 0 12px;width:90px}.plant-selector select option{color:var(--ink);background:white}.plant-selector .icon{position:absolute;right:9px;pointer-events:none;width:14px}.weather{display:flex;align-items:center;gap:8px}.weather>.icon{color:#bdd7f3;fill:none}.weather>.weather-sun{color:#ffcc51;fill:#ffcc51}.weather span{font-size:11px}.weather small{display:block;font-size:11px;margin-top:2px}.user-menu{display:flex;gap:9px;align-items:center;color:white;padding:0;font-size:12px}.avatar{display:flex;align-items:center;justify-content:center;border-radius:50%;width:39px;height:39px;background:linear-gradient(135deg,#e4efff,#97baf0);color:#517bb1;border:1px solid #dbebff}.account-popover{position:absolute;right:20px;top:65px;display:flex;flex-direction:column;gap:10px;min-width:230px;color:var(--ink);background:white;box-shadow:0 8px 25px #10264020;border:1px solid var(--line);border-radius:8px;padding:18px}.account-popover span{font-size:12px;color:var(--muted)}
.sidebar{position:fixed;left:0;top:var(--header);bottom:var(--footer);width:var(--sidebar);background:linear-gradient(115deg,#0d2544,#203753);color:#dbe7f8;border-right:1px solid #45627e;z-index:15;padding:10px 3px 12px 0;display:flex;flex-direction:column}.sidebar nav{display:flex;flex-direction:column;gap:5px}.nav-item{height:46px;display:flex;align-items:center;gap:15px;padding-left:22px;border-radius:0 7px 7px 0;position:relative;font-size:13px;white-space:nowrap}.nav-item>.icon{color:#bbcee6;width:19px;height:19px}.nav-item:hover{background:#ffffff08}.nav-item.is-active{background:linear-gradient(90deg,#1e8ff2,#194977 73%,#183e69);color:white;font-weight:500;box-shadow:0 0 20px #32a2ef18}.nav-item.is-active>.icon{color:#daedff;fill:#bbdcff20}.active-marker{position:absolute;left:0;top:0;bottom:0;width:3px;background:#67c3ff;box-shadow:0 0 10px #60cfff}.collapse-button{margin-top:auto;display:flex;align-items:center;gap:15px;color:#e1eafb;padding:10px 21px;font-size:12px}.nav-collapsed{--sidebar:66px}.is-collapsed .nav-item{padding-left:22px}.is-collapsed .nav-item span,.is-collapsed .collapse-button span{display:none}.is-collapsed .collapse-button{padding-left:22px}
.main-content{margin:var(--header) 0 var(--footer) var(--sidebar);padding:5px 14px 28px 12px;min-height:calc(100vh - var(--header) - var(--footer));background:radial-gradient(ellipse at 85% 15%,#d9e8f69c,transparent 65%),linear-gradient(110deg,#f2f6fb,#eff5fc)}
.overview{position:relative;margin:0 -6px;overflow:hidden;border:1px solid #cddff0;border-radius:11px;background:#dce9f2}.hero-top{height:240px;position:relative;overflow:hidden}.factory-photo{width:100%;height:100%;position:absolute;inset:0;filter:saturate(.84)}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,#122f4182,transparent 63%),linear-gradient(0deg,#e5eef815,transparent 50%)}.hero-copy{position:absolute;left:35px;top:18px;color:white;text-shadow:0 1px 3px #16344880}.hero-copy h2{font-size:26px;font-weight:600;letter-spacing:1px;margin:0 0 7px}.hero-copy p{font-size:20px;font-weight:500;margin:0;letter-spacing:1px}.hero-line{width:50px;height:3px;background:#59caff;margin-top:13px}.hero-status{display:inline-flex;align-items:center;gap:7px;margin-top:17px;border-radius:4px;background:#12314b79;padding:6px 9px;font-size:11px;color:#e2eef7;font-weight:400;text-shadow:none}.hero-status i{width:6px;height:6px;border-radius:50%;background:#f5b544;box-shadow:0 0 5px #f5b54455}.hero-status b{font-weight:400;color:#b2c9dd}.hero-motto{position:absolute;right:263px;top:16px;margin:0;color:#f4f8fc;font-family:"STKaiti","KaiTi",serif;font-size:23px;letter-spacing:2px;text-shadow:0 1px 3px #13375680;transform:rotate(-3deg)}.daily-brief{position:absolute;right:5px;top:5px;bottom:8px;width:230px;padding:15px 17px 7px;background:linear-gradient(125deg,#12273ad4,#071b2cd9);border:1px solid #bad5e452;border-radius:3px 6px 8px 8px;color:white;box-shadow:0 1px 8px #0c26362b}.brief-title{margin:0;font-size:15px}.brief-title>span{font-size:10px;color:#a7bdcf;float:right;margin-top:4px}.attention-button{display:flex;align-items:center;gap:10px;color:white;width:100%;padding:7px 0 15px;text-align:left;border-bottom:1px solid #91acbe36}.attention-button>strong{font-size:41px;line-height:1;color:#ff605b;font-weight:500}.attention-button>span:nth-child(2){font-size:14px}.attention-button small{display:block;font-size:10px;margin-top:4px;color:#b3c4d6}.attention-button small b{font-weight:400}.attention-icon{margin-left:auto;width:26px;height:26px;background:#ff5c55;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#76252a;font-weight:700;font-size:19px;box-shadow:0 0 15px #ff4b4840}.brief-metric{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #91acbe36;padding:14px 0;font-size:13px}.brief-metric>strong{color:#4db7ff;font-size:25px;font-weight:600}.brief-metric>strong small{font-size:17px}.brief-metric.staff{border:0;padding:16px 0 0;font-size:12px}.brief-metric.staff strong{font-size:17px;color:white}.brief-metric.staff strong small{font-size:11px}
.kpi-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:7px;padding:0 6px 0;height:140px;background:linear-gradient(0deg,#eff5fc,#d3e6efaf);position:relative}.kpi-card{background:linear-gradient(125deg,#fff,#f8fbffed);border:1px solid #deE9f6;border-radius:8px;padding:15px 15px 12px;text-align:left;position:relative;box-shadow:0 2px 7px #244c7904;min-width:0}.kpi-card:hover{border-color:#92bffc;box-shadow:0 4px 13px #164b8712}.kpi-title{font-size:13px;white-space:nowrap;font-weight:600;letter-spacing:.05px;margin-bottom:15px}.kpi-main{display:flex;align-items:center;gap:9px;white-space:nowrap}.kpi-icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;color:#fff;box-shadow:inset 0 -4px 8px #ffffff1f;position:relative;flex-shrink:0}.kpi-icon:before{content:"";position:absolute;left:4px;top:-8px;height:10px;width:2px;transform:rotate(-28deg);background:inherit;opacity:.7}.kpi-icon.green,.summary-icon.green{background:linear-gradient(135deg,#20c893,#08a769)}.kpi-icon.red,.summary-icon.red{background:linear-gradient(135deg,#ff7771,#ff343a)}.kpi-icon.orange,.summary-icon.orange{background:linear-gradient(135deg,#ffb340,#ff8711)}.kpi-icon.blue,.summary-icon.blue{background:linear-gradient(135deg,#398dff,#076bff)}.kpi-value{font-size:27px;letter-spacing:-1px;font-weight:600;line-height:1.2;font-family:"Arial Narrow",Arial,"PingFang SC",sans-serif}.kpi-value small{font-size:11px;letter-spacing:0;font-weight:400;padding-left:4px}.kpi-value small.percent{font-size:22px;font-weight:500;padding-left:0}.kpi-card:nth-child(2) .kpi-value{color:var(--red)}.kpi-card:nth-child(3) .kpi-value{color:var(--orange)}.kpi-meta{display:flex;align-items:center;justify-content:space-between;gap:4px;font-size:10px;color:#567095;margin-top:15px;white-space:nowrap}.kpi-meta b{font-weight:500;margin-left:2px}.kpi-state{font-size:9px;position:absolute;right:12px;top:39px;opacity:.8}.kpi-card:nth-child(8) .kpi-value small{position:absolute;right:14px;top:91px;color:var(--muted);font-size:10px}
.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.21fr) minmax(0,1.21fr) minmax(0,1fr);grid-template-rows:298px 166px;gap:10px;margin-top:12px}.panel{background:linear-gradient(130deg,#fff,#fbfdfff5);border:1px solid var(--line);border-radius:8px;box-shadow:0 2px 7px #244c7903;min-width:0}.panel-heading{height:46px;padding:0 17px;display:flex;align-items:center;justify-content:space-between}.panel-heading h2{font-size:16px;font-weight:600;margin:0;letter-spacing:.1px;white-space:nowrap}.panel-heading h2 span{font-weight:500}.text-button{display:inline-flex;align-items:center;color:#4b6488;font-size:11px;gap:2px;padding:5px 0}.text-button:hover{color:var(--blue)}.alert-panel{overflow:hidden}.alert-tabs{display:flex;gap:6px;padding:2px 15px 9px}.alert-tab{flex:1;padding:6px 5px;border-radius:7px;background:#f5f7fb;font-size:11px;white-space:nowrap;color:#435b7e}.alert-tab.is-active{color:#0068ff;background:#e1eeff;font-weight:500}.alert-tab:hover{background:#e6effb}.alert-table-wrap{padding:0 9px}.alert-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:11px}.alert-table th{text-align:left;font-size:10px;font-weight:400;color:#5f779b;background:#f2f5f9;height:29px}.alert-table th:first-child{width:15%;padding-left:9px;border-radius:4px 0 0 0}.alert-table th:nth-child(2){width:47%}.alert-table th:nth-child(3){width:23%}.alert-table th:last-child{width:15%;border-radius:0 4px 0 0}.alert-table td{height:33px;border-bottom:1px solid #edf2f8;white-space:nowrap}.alert-table td:first-child{padding-left:9px}.alert-table tbody tr:last-child td{border:0}.alert-table tbody tr{cursor:pointer}.alert-table tbody tr:hover{background:#eef6ff}.severity{display:inline-flex;justify-content:center;min-width:38px;line-height:21px;padding:0 4px;border-radius:4px;color:white;font-size:10px}.severity.red{background:linear-gradient(110deg,#ff746c,#ff454a)}.severity.orange{background:linear-gradient(110deg,#ffbf4f,#ff9c27)}.severity.green{background:#22b886}.alert-title{overflow:hidden;text-overflow:ellipsis;padding-right:5px;color:#263c60}.alert-table time{font-size:10px;color:#435675;letter-spacing:.1px}.event-status{font-size:10px;display:inline-flex;align-items:center;gap:4px}.event-status i{height:6px;width:6px;background:currentColor;border-radius:50%;display:inline-block}.event-status.green{color:#0bae76}.event-status.orange{color:#fa921d}.empty-state{text-align:center;color:var(--muted);padding:35px 10px}.trend-panel{overflow:hidden}.trend-panel .panel-heading{height:46px}.trend-panel #trend-container{padding:0 11px}
.ai-panel{grid-column:3;grid-row:1 / 3;display:flex;flex-direction:column;padding:0 15px 9px}.ai-panel .panel-heading{padding:0 1px;height:46px;flex-shrink:0}.ai-panel .panel-heading h2{font-size:20px}.demo-badge{font-size:10px;color:#8194af;padding:3px 6px;border:1px solid #e8eef6;border-radius:4px}.ai-tabs{display:flex;gap:5px;flex-shrink:0}.ai-tabs button{font-size:11px;background:#f4f7fb;color:#536789;flex:1;height:29px;border-bottom:2px solid transparent;border-radius:6px 6px 0 0}.ai-tabs button.is-active{background:#fff;color:#076fff;border-bottom-color:#297cff;font-weight:500}.ai-content{padding-top:18px;flex:1;overflow:auto;scrollbar-width:thin;min-height:0}.ai-welcome{display:flex;align-items:flex-start;gap:8px;margin-bottom:14px}.robot-avatar{width:47px;height:47px;flex-shrink:0;position:relative;border-radius:50%;background:radial-gradient(circle,#c7d8ff,#edf5ff 65%);display:flex;align-items:center;justify-content:center}.robot-avatar:after{content:"";position:absolute;width:20px;height:7px;background:#b9d0f7;border-radius:0 0 8px 8px;bottom:-3px}.robot-head{width:34px;height:27px;border:4px solid #c8dcff;border-radius:14px;background:#071f41;display:flex;align-items:center;justify-content:center;gap:8px;box-shadow:0 3px 7px #8aaae230}.robot-head i{width:5px;height:8px;background:#4dcbff;border-radius:50%;box-shadow:0 0 5px #4dcbff}.welcome-bubble{background:linear-gradient(120deg,#f0f6ff,#eaf2fe);border-radius:9px;padding:11px 12px;font-size:12px;line-height:1.75;position:relative;color:#233e69;flex:1}.welcome-bubble:before{content:"";position:absolute;left:-6px;top:14px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:7px solid #eff5ff}.welcome-bubble strong{font-weight:500}.welcome-bubble p{margin:1px 0 0}.suggestion-heading{font-size:12px;margin:7px 0 9px}.ai-suggestions{display:flex;flex-direction:column;gap:7px}.ai-suggestions button{display:flex;align-items:center;gap:9px;border:1px solid #dce8f9;background:linear-gradient(90deg,#fafcff,#f5f9ff);min-height:34px;padding:6px 8px;text-align:left;border-radius:5px;font-size:11px;color:#284575}.ai-suggestions button>.icon:last-child{margin-left:auto;color:#98acc6}.ai-suggestions button:hover{background:#eaf3ff;border-color:#9ac2ff}.ai-input{display:flex;align-items:center;border:1px solid #bcd7ff;border-radius:8px;padding:7px;margin-top:14px;background:#fff;flex-shrink:0;gap:5px;height:49px}.ai-input input{min-width:0;flex:1;border:0;outline:none;background:transparent;padding:0 5px;font-size:12px;color:#243d64}.ai-input input::placeholder{color:#a9b8cf}.ai-input button{background:#b8d5fc;width:32px;height:32px;border-radius:6px;display:flex;align-items:center;justify-content:center;color:white}.ai-input:focus-within{border-color:#5ba0ff}.ai-input:focus-within button{background:#2582f5}.ai-footnote{color:#8ca0ba;font-size:9px;text-align:center;padding-top:5px}.ai-answer{margin-top:15px;padding:13px;background:#f0f6ff;border:1px solid #dce9fc;border-radius:8px;font-size:11px;line-height:1.8;color:#29446e}.ai-answer .answer-label{display:inline-block;font-size:10px;color:#176bd5;background:#e1edff;border-radius:4px;padding:1px 6px;margin-bottom:8px}.ai-answer p{margin:5px 0}.ai-answer small{display:block;margin-top:8px;padding-top:7px;border-top:1px solid #dce7f5;color:#7085a5;font-size:10px}.ai-question-display{font-size:12px;line-height:1.6;margin-bottom:8px;color:#122f5b;font-weight:500}
.summary-grid{grid-column:1 / 3;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.summary-card{text-align:left;padding:15px 15px 13px;min-width:0}.summary-card:hover{border-color:#a8c9f8}.summary-heading{display:flex;align-items:center;gap:10px}.summary-icon{width:30px;height:30px;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:white}.summary-card:nth-child(3) .summary-icon{background:linear-gradient(135deg,#426590,#193656)}.summary-heading h3{font-size:13px;font-weight:600;white-space:nowrap;margin:0}.summary-chevron{margin-left:auto;color:#7796ba}.summary-metrics{display:grid;grid-template-columns:1fr 1fr;margin-top:13px}.summary-metrics>div{text-align:center;display:flex;flex-direction:column;gap:3px}.summary-metrics>div+div{border-left:1px solid #dbe7f7}.summary-metrics strong{font-size:21px;font-weight:550;line-height:1.2;font-family:Arial,"PingFang SC",sans-serif;letter-spacing:-.5px}.summary-metrics strong small{font-size:11px;margin-left:3px;font-weight:400;letter-spacing:0}.summary-metrics>div>span{font-size:11px}.summary-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:22px;font-size:10px;white-space:nowrap;color:#5e759a}.summary-bottom b{font-size:12px;font-weight:400;margin-left:4px}.sparkline{width:43%;height:28px;overflow:visible}
.footer{position:fixed;bottom:0;left:0;right:0;height:var(--footer);z-index:21;background:linear-gradient(100deg,#e7eef7,#f7faff 65%,#eaf1f9);border-top:1px solid #dce7f2;display:flex;align-items:center;justify-content:space-between;padding:0 23px;font-size:11px;letter-spacing:.6px;color:#1d385c;gap:15px}.footer-brand{display:flex;align-items:center;gap:10px}.footer-brand .icon{color:#0daf75;fill:#0daf7520}.source-button{font-size:10px;letter-spacing:0;display:flex;gap:5px;align-items:center;color:#67809d;margin-left:auto}.demo-dot{width:5px;height:5px;border-radius:50%;background:#6da6e3}.footer-values{white-space:nowrap;letter-spacing:1px}
.drawer-overlay{position:fixed;inset:0;background:#071d3959;backdrop-filter:blur(2px);z-index:40;display:flex;justify-content:flex-end}.drawer{width:min(540px,100vw);height:100%;background:#f6f9fe;box-shadow:-10px 0 50px #06173020;display:flex;flex-direction:column}.drawer-header{background:white;padding:26px 25px 20px;border-bottom:1px solid var(--line);display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.drawer-header h2{font-size:20px;margin:4px 0 7px}.drawer-header p{color:var(--muted);font-size:12px;margin:0}.drawer-close{color:var(--muted);padding:6px;border-radius:5px}.drawer-close:hover{background:#e8f0fc}.drawer-content{padding:24px;overflow:auto;font-size:13px}.drawer-section{background:white;border:1px solid var(--line);border-radius:9px;padding:20px;margin-bottom:16px}.drawer-section h3{font-size:14px;margin:0 0 16px}.drawer-section p{line-height:1.8;color:#455e7e}.drawer-value{font-size:42px;font-family:Arial,sans-serif;color:var(--blue);font-weight:600;margin-bottom:14px}.drawer-value small{font-size:17px;margin-left:7px}.detail-pairs{display:grid;grid-template-columns:100px 1fr;gap:14px;font-size:12px;line-height:1.6;margin:0}.detail-pairs dt{color:var(--muted)}.detail-pairs dd{margin:0}.evidence-list{margin:0;padding-left:19px;font-size:12px;line-height:1.9;color:#455e7e}.source-list{padding:0;margin:0;list-style:none}.source-list li+li{border-top:1px solid var(--line)}.source-list li{padding:15px 0}.source-list strong{display:flex;justify-content:space-between;gap:10px;font-size:13px}.source-list p{font-size:11px;margin:7px 0 0;color:var(--muted)}.drawer-alerts{display:flex;flex-direction:column;gap:10px}.drawer-alerts>button{text-align:left;padding:15px;border:1px solid var(--line);border-radius:8px;background:white}.drawer-alerts>button div{display:flex;gap:10px;align-items:center}.drawer-alerts>button p{font-size:11px;color:var(--muted);margin-bottom:0}.drawer-note{font-size:11px;color:#7d91ae;line-height:1.7}.primary-button{display:inline-flex;padding:10px 22px;border-radius:6px;background:#197afa;color:white;font-size:13px}.placeholder-page{padding:16px}.placeholder-top{display:flex;justify-content:space-between;color:var(--muted);font-size:12px;margin-bottom:20px}.placeholder-panel{min-height:65vh;text-align:center;padding:12vh 30px}.placeholder-icon{width:92px;height:92px;background:#e7f1ff;color:#4086ed;border-radius:22px;display:flex;align-items:center;justify-content:center;margin:0 auto 25px}.placeholder-panel h2{font-size:25px}.placeholder-panel p{color:#4d678c}.placeholder-description{max-width:490px;margin:18px auto 30px;font-size:13px;line-height:1.8}.notice-state{display:flex;align-items:center;gap:10px;padding:12px 16px;border:1px solid #d7e7fa;background:#f4f9ff;border-radius:6px;font-size:12px;color:#496687}.notice-state.error{background:#fff4f4;border-color:#ffe1df;color:#bb4545}.notice-state.stale{background:#fff9ef;border-color:#ffe4b7;color:#9b6b18}
@media(min-width:1750px){:root{--sidebar:168px;--header:82px;--footer:48px}.topbar-title{height:82px;padding-top:12px}.brand{width:370px}.brand strong{font-size:19px}.topbar-title h1{font-size:29px}.topbar-tools{gap:21px}.topbar-date{font-size:13px}.main-content{padding:7px 18px 26px 14px}.hero-top{height:260px}.hero-copy h2{font-size:29px}.hero-copy p{font-size:22px}.daily-brief{width:255px;padding:17px 20px}.brief-metric{padding:19px 0}.hero-motto{right:297px;top:22px;font-size:25px}.kpi-grid{height:146px;gap:9px}.kpi-card{padding:17px 18px}.kpi-title{font-size:15px}.kpi-main{gap:12px}.kpi-value{font-size:32px}.kpi-value small.percent{font-size:24px}.kpi-icon{height:45px;width:45px}.kpi-meta{font-size:12px}.kpi-state{font-size:10px}.dashboard-grid{grid-template-rows:minmax(310px,calc((100vh - 554px)*.64)) minmax(166px,calc((100vh - 554px)*.36));gap:12px}.nav-item{height:49px;font-size:14px}.panel-heading h2{font-size:18px}.alert-tabs{padding-bottom:12px}.alert-tab{font-size:12px}.alert-table td{height:38px;font-size:12px}.alert-table th{font-size:11px;height:32px}.alert-table time,.event-status{font-size:11px}.summary-card{padding:18px 19px}.summary-heading h3{font-size:15px}.summary-metrics{margin-top:17px}.summary-metrics strong{font-size:25px}.summary-metrics>div>span{font-size:12px}.summary-bottom{margin-top:25px;font-size:12px}.ai-panel{padding:0 18px 12px}.welcome-bubble{font-size:13px;padding:14px}.ai-suggestions button{font-size:12px;height:39px}.suggestion-heading{font-size:13px}.ai-footnote{font-size:10px}}
@media(min-width:1101px) and (max-width:1439px){:root{--sidebar:137px;--header:68px;--footer:36px}.topbar{padding:0 17px}.brand{gap:7px;width:300px}.brand strong{font-size:15px}.brand small{font-size:9px}.brand-flask{width:33px}.topbar-title{width:330px;height:68px;padding-top:9px;left:48%}.topbar-title h1{font-size:23px;letter-spacing:5px}.topbar-title p{font-size:9px;letter-spacing:1.3px}.topbar-tools{gap:11px}.topbar-date{font-size:10px}.weather{gap:5px}.user-menu{gap:6px;font-size:11px}.avatar{height:32px;width:32px}.plant-selector select{width:80px;height:30px;font-size:11px}.nav-item{height:39px;font-size:12px;padding-left:20px;gap:12px}.sidebar nav{gap:2px}.main-content{padding:5px 10px 15px}.hero-top{height:185px}.hero-copy{left:25px;top:14px}.hero-copy h2{font-size:23px}.hero-copy p{font-size:17px}.hero-status{margin-top:11px;font-size:10px}.hero-line{margin-top:10px}.hero-motto{font-size:20px;right:233px;top:15px}.daily-brief{width:205px;padding:10px 14px;bottom:6px}.brief-title{font-size:13px}.attention-button{padding:5px 0 10px}.attention-button>strong{font-size:34px}.attention-button>span:nth-child(2){font-size:12px}.attention-icon{height:22px;width:22px;font-size:16px}.brief-metric{padding:9px 0;font-size:11px}.brief-metric>strong{font-size:22px}.brief-metric.staff{padding-top:10px;font-size:11px}.brief-metric.staff>strong{font-size:15px}.kpi-grid{height:118px;gap:6px}.kpi-card{padding:12px 10px}.kpi-title{font-size:11px;margin-bottom:14px}.kpi-icon{width:33px;height:33px}.kpi-icon>.icon{width:21px;height:21px}.kpi-value{font-size:24px}.kpi-value small{font-size:10px;padding-left:3px}.kpi-value small.percent{font-size:18px}.kpi-main{gap:7px}.kpi-meta{font-size:9px;margin-top:13px}.kpi-state{top:32px;right:10px;font-size:8px}.kpi-card:nth-child(8) .kpi-value small{top:77px;right:11px;font-size:9px}.dashboard-grid{grid-template-rows:248px 136px;gap:8px;margin-top:9px}.panel-heading{height:39px;padding:0 13px}.panel-heading h2{font-size:14px}.trend-panel .panel-heading{height:39px}.alert-tabs{padding:0 10px 7px;gap:5px}.alert-tab{font-size:10px;padding:5px 3px}.alert-table th{height:25px;font-size:9px}.alert-table td{height:28px;font-size:10px}.alert-table th:nth-child(2){width:44%}.alert-table th:nth-child(3){width:24%}.alert-table th:last-child{width:17%}.alert-table time,.event-status{font-size:9px}.severity{min-width:32px;line-height:18px;font-size:9px}.trend-panel #trend-container{padding:0 6px}.ai-panel{padding:0 11px 8px}.ai-panel .panel-heading{height:39px}.ai-panel .panel-heading h2{font-size:17px}.ai-tabs button{font-size:10px;height:25px}.ai-content{padding-top:13px}.ai-welcome{gap:7px;margin-bottom:11px}.robot-avatar{height:39px;width:39px}.robot-head{transform:scale(.85)}.welcome-bubble{font-size:10px;padding:9px;line-height:1.7}.suggestion-heading{font-size:11px;margin-bottom:8px}.ai-suggestions{gap:6px}.ai-suggestions button{min-height:29px;font-size:10px;padding:5px 7px;gap:7px}.ai-input{height:42px;margin-top:9px;padding:6px}.ai-input input{font-size:11px}.ai-input button{height:28px;width:28px}.ai-footnote{font-size:8px;padding-top:4px}.summary-card{padding:12px 12px 10px}.summary-heading{gap:8px}.summary-heading h3{font-size:11px}.summary-icon{width:26px;height:26px}.summary-metrics{margin-top:9px}.summary-metrics strong{font-size:19px}.summary-metrics>div>span{font-size:10px}.summary-bottom{margin-top:16px;font-size:9px;gap:4px}.summary-bottom b{font-size:10px}.sparkline{height:23px}.footer{font-size:10px;padding:0 20px}.footer-values{font-size:10px;letter-spacing:.3px}.footer-update{display:none}}
@media(max-width:1100px){:root{--sidebar:68px;--header:68px;--footer:37px}.brand{width:auto}.brand strong{font-size:14px}.brand small{font-size:8px}.topbar-title{width:300px;height:68px;left:48%}.topbar-title h1{font-size:22px;letter-spacing:4px}.topbar-title p{font-size:9px;letter-spacing:1px}.topbar-tools{gap:12px}.topbar-date,.weather,.user-menu>span:nth-child(2){display:none}.sidebar .nav-item{height:42px;padding-left:23px}.sidebar .nav-item span,.sidebar .collapse-button span{display:none}.sidebar nav{gap:0}.collapse-button{padding-left:22px}.hero-motto{display:none}.hero-top{height:225px}.hero-copy{left:25px}.hero-copy h2{font-size:24px}.hero-copy p{font-size:16px;max-width:350px;line-height:1.6}.kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));height:auto;padding-bottom:6px}.kpi-card{height:132px}.dashboard-grid{grid-template-columns:1fr 1fr;grid-template-rows:298px 166px auto}.ai-panel{grid-column:1 / 3;grid-row:3;min-height:450px}.ai-content{max-height:450px}.ai-suggestions{display:grid;grid-template-columns:1fr 1fr}.summary-grid{grid-column:1 / 3;grid-row:2}.footer-values{display:none}.source-button{margin-left:auto}.footer{font-size:10px}}
/* Keep the full company name clear of the cockpit title on tablets. */
@media(min-width:641px) and (max-width:900px){
  .topbar-title{position:static;transform:none;flex:1;min-width:0;width:auto;height:auto;margin:0 12px;padding-top:0;border:0;border-radius:0;background:none}
  .topbar-title:before,.topbar-title:after{display:none}
  .topbar-title h1{font-size:clamp(16px,2.2vw,20px);letter-spacing:1px;line-height:1.5;white-space:nowrap}
  .topbar-title p{display:none}
}
@media(max-width:640px){:root{--sidebar:0px;--header:66px;--footer:38px}.topbar{padding:0 13px}.brand{gap:5px;min-width:0;flex-shrink:1;margin-right:8px}.brand-flask{width:28px;height:35px}.brand strong{font-size:12px;letter-spacing:0;line-height:1.35}.brand small{font-size:clamp(6px,1.9vw,7px);letter-spacing:0}.topbar-title{display:none}.topbar-tools{gap:9px}.plant-selector select{width:79px;font-size:11px;height:29px}.avatar{height:30px;width:30px}.user-menu>.icon{display:none}.sidebar{display:none}.main-content{padding:8px 10px 20px}.overview{margin:0}.hero-top{height:238px}.hero-copy{left:15px;top:18px}.hero-copy h2{font-size:21px}.hero-copy p{font-size:12px;letter-spacing:0}.hero-status{font-size:9px;margin-top:8px}.hero-line{margin-top:8px;height:2px;width:40px}.daily-brief{top:auto;left:9px;right:9px;bottom:9px;height:87px;width:auto;display:grid;grid-template-columns:1.05fr 1fr 1fr;gap:10px;padding:11px 13px;border-radius:7px;align-items:center}.brief-title{display:none}.attention-button{padding:0;border:0;gap:7px}.attention-button>strong{font-size:33px}.attention-button>span:nth-child(2){font-size:10px}.attention-button small{font-size:8px;margin-top:3px}.attention-icon{display:none}.brief-metric{padding:0 0 0 10px;border:0;border-left:1px solid #91acbe36;display:flex;flex-direction:column;gap:5px;font-size:9px}.brief-metric>strong{font-size:22px}.brief-metric.staff{padding:0 0 0 10px;border-left:1px solid #91acbe36;font-size:9px}.brief-metric.staff strong{font-size:17px}.brief-metric.staff strong small{display:block;font-size:10px}.kpi-grid{grid-template-columns:1fr 1fr;gap:7px;padding:7px}.kpi-card{height:125px;padding:13px}.kpi-title{font-size:12px;margin-bottom:13px}.kpi-value{font-size:25px}.kpi-icon{height:35px;width:35px}.kpi-meta{font-size:9px}.kpi-state{top:33px}.kpi-card:nth-child(8) .kpi-value small{top:80px}.dashboard-grid{display:flex;flex-direction:column;gap:9px}.alert-panel{height:298px}.trend-panel{min-height:298px}.summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.summary-card{height:160px;padding:13px 12px}.summary-heading{gap:7px}.summary-heading h3{font-size:11px}.summary-metrics strong{font-size:20px}.summary-metrics>div>span{font-size:10px}.summary-bottom{font-size:9px;margin-top:21px;gap:4px}.summary-bottom b{font-size:10px}.summary-icon{height:27px;width:27px}.ai-panel{order:4;min-height:445px;padding-bottom:10px}.ai-suggestions{display:flex}.welcome-bubble{font-size:12px}.footer{padding:0 11px;font-size:9px;letter-spacing:0;gap:8px}.footer-brand{gap:5px}.footer-brand>.icon{width:17px}.footer-update,.source-button>.icon{display:none}.source-button{font-size:9px;white-space:nowrap}.drawer-header{padding:20px}.drawer-content{padding:17px}.placeholder-page{padding:9px}.placeholder-top{font-size:10px;gap:8px}.placeholder-panel{padding:12vh 18px}.placeholder-description{font-size:12px}.trend-panel .panel-heading{padding:0 12px}}
/* Screenshot refinement: preserve the reference's compact layout and readable data. */
.factory-photo{object-fit:cover;object-position:center 28%}
.trend-panel #trend-container{height:calc(100% - 46px)}
@media(min-width:1440px) and (max-width:1749px){.main-content{padding-top:1px}.hero-top{height:243px}.dashboard-grid{margin-top:10px}.kpi-title{font-size:14px}.kpi-meta{font-size:11px}.alert-table{font-size:12px}.alert-table th{font-size:11px}.alert-table time,.event-status{font-size:11px}.alert-tab{font-size:12px}.ai-suggestions button{font-size:12px}.suggestion-heading{font-size:13px}.welcome-bubble{font-size:13px}.summary-heading h3{font-size:14px}.summary-metrics>div>span{font-size:12px}.summary-bottom{font-size:11px}.footer{font-size:12px}}
@media(min-width:1101px) and (max-width:1439px){.trend-panel #trend-container{height:calc(100% - 39px)}}
@media(min-width:1750px){.dashboard-grid{grid-template-rows:minmax(310px,calc((100vh - 594px)*.64)) minmax(166px,calc((100vh - 594px)*.36))}}
@media(min-width:1101px) and (max-width:1439px) and (max-height:800px){.hero-top{height:155px}.hero-copy h2{font-size:22px}.hero-copy p{font-size:16px}.hero-status{margin-top:8px}.hero-motto{top:12px;font-size:18px}.daily-brief{padding:8px 13px}.attention-button{padding:4px 0 7px}.attention-button>strong{font-size:29px}.attention-button small{margin-top:2px}.brief-metric{padding:6px 0}.brief-metric.staff{padding-top:7px}.brief-metric>strong{font-size:20px}.brief-metric.staff>strong{font-size:14px}.kpi-grid{height:108px}.kpi-card{padding-top:9px}.kpi-title{margin-bottom:12px}.kpi-meta{margin-top:10px}.kpi-state{top:29px}.kpi-card:nth-child(8) .kpi-value small{top:68px}.dashboard-grid{grid-template-rows:234px 124px}.trend-panel .trend-widget{height:184px}.trend-panel .trend-widget .trend-svg{height:155px}.sidebar nav{gap:1px}.nav-item{height:36px}.summary-card{padding-top:10px}.summary-metrics{margin-top:8px}.summary-bottom{margin-top:12px}.ai-content{padding-top:10px}.ai-welcome{margin-bottom:9px}.welcome-bubble{padding:7px 9px}.ai-input{height:38px}.ai-input button{width:26px;height:26px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* 今日提示卡片：老板要求先隐藏（恢复时删除此行即可） */
.daily-brief{display:none!important}

#account-tools { display: contents; }
@media (min-width: 1101px) {
  .topbar {
    display: grid;
    grid-template-columns: minmax(max-content, 1fr) minmax(175px, min(24vw, 440px)) minmax(max-content, 1fr);
  }
  .topbar-title { position: relative; left: auto; transform: none; width: auto; }
  .topbar-tools { justify-self: end; }
}
@media (min-width: 1101px) and (max-width: 1749px) {
  .topbar-date > span { display: block; }
  .topbar-date .demo-clock-note { display: inline-block; margin: 2px 0 0; padding: 2px 5px; }
}
.nav-item:not(.is-active) .active-marker { display: none; }
.sidebar nav { min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #536b88 transparent; }
.sidebar nav > .nav-item, .sidebar .collapse-button { flex-shrink: 0; }

.topbar-tools .weather { flex-shrink: 0; padding: 0; text-align: left; }
@media (max-width: 1100px) {
  .topbar-tools .weather { display: flex; }
  .topbar-tools .weather > span { display: none; }
}
.drawer.weather-drawer { width: min(580px, 100vw); }
.weather-drawer .drawer-header { align-items: center; padding: 21px 24px 15px; border: 0; background: transparent; }
.weather-drawer .drawer-header h2 { margin: 0; }
.weather-drawer .drawer-content { padding-top: 0; }

.weather-current-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding: 22px 28px;
  border-radius: 16px;
  color: #fff;
  background: radial-gradient(ellipse at 85% 0%, #245d88, transparent 70%), var(--navy);
}
.weather-current-value { display: block; font-size: clamp(44px, 7vw, 64px); font-weight: 600; line-height: 1; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.weather-current-value span { margin-left: 4px; font-size: .42em; vertical-align: top; letter-spacing: 0; }
.weather-current-reading p { margin: 9px 0 4px; font-size: 16px; font-weight: 600; }
.weather-current-reading time { color: #bdd7f3; font-size: 12px; }
.weather-current-panel > .icon { flex: none; width: clamp(68px, 14vw, 108px); height: auto; color: #d1e8ff; stroke-width: 1.3; }
.weather-current-panel > .weather-sun { color: #ffe0a3; }

.weather-forecast-table {
  width: 100%;
  table-layout: fixed;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.weather-week-date { width: 70px; }
.weather-week-condition { width: 29%; }
.weather-week-number { width: 59px; }
.weather-forecast-table th, .weather-forecast-table td { padding: 8px 10px; text-align: left; }
.weather-forecast-table thead { background: #ecf4fb; color: var(--muted); font-size: 11px; }
.weather-forecast-table thead th:first-child { color: var(--ink); font-size: 14px; }
.weather-forecast-table tbody tr > * { border-top: 1px solid var(--line); }
.weather-forecast-table tbody th { padding-left: 13px; white-space: nowrap; }
.weather-forecast-table .weather-week-today { background: #f5faff; }
.weather-forecast-table time, .weather-forecast-table small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; font-weight: 400; }
.weather-forecast-table tbody .weather-week-low, .weather-forecast-table tbody .weather-week-high { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.weather-forecast-table tbody .weather-week-low { color: #305e8a; }
.weather-forecast-table tbody .weather-week-high { color: #805128; }
.weather-forecast-condition { display: flex; align-items: center; gap: 6px; overflow-wrap: anywhere; }
.weather-forecast-condition .icon { flex: none; color: #4775a2; }
.weather-week-track { position: relative; display: block; height: 5px; border-radius: 4px; background: #e7eff7; }
.weather-week-range, .weather-week-point { position: absolute; top: 0; height: 100%; border-radius: inherit; }
.weather-week-range { left: var(--range-start); width: var(--range-width); background: linear-gradient(90deg, #5badef, #edb46f); }
.weather-week-point { left: clamp(0px, calc(var(--range-start) - 2.5px), calc(100% - 5px)); width: 5px; background: #548dc1; }
.weather-forecast-issued { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; margin: 12px 2px 0; color: var(--muted); font-size: 11px; }

@media (max-width: 640px) {
  .weather-drawer .drawer-header { padding: 17px 16px 12px; }
  .weather-drawer .drawer-content { padding-inline: 14px; }
  .weather-current-panel { padding: 18px 20px; }
  .weather-week-date { width: 59px; }
  .weather-week-condition { width: 31%; }
  .weather-week-number { width: 48px; }
  .weather-forecast-table th, .weather-forecast-table td { padding: 8px 5px; }
  .weather-forecast-table tbody th { padding-left: 8px; }
  .weather-forecast-condition { gap: 4px; }
  .weather-forecast-condition .icon { width: 17px; }
}
