:root{--ink:#172b2a;--text:#536c6a;--muted:#748784;--border:#dfe7e4;--bg:#f4f7f5;--green:#16816c;--green-dark:#0d6655;--blue:#4a74c3;--red:#bd4e40;--amber:#ad721c;--radius:12px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none;font-size:14px}*{box-sizing:border-box}body{margin:0;line-height:1.5}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit}button:disabled{opacity:.55;cursor:wait}a{color:var(--green);text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #2b9d8650;outline-offset:3px}.icon{width:19px;height:19px;display:block;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.app-shell{min-height:100vh}.site-header{background:#fff;border-bottom:1px solid var(--border)}.header-inner{max-width:1600px;min-height:80px;margin:auto;padding:0 38px;display:flex;align-items:center;gap:22px}.brand{display:flex;align-items:center;gap:9px;color:var(--ink);font-weight:740;font-size:24px;letter-spacing:-1px;white-space:nowrap}.brand-mark{width:34px;height:36px;color:#fff;background:var(--green);border-radius:9px;display:grid;place-items:center}.brand-mark .icon{width:25px;height:25px}.brand-dot{color:#a9c7bf;font-weight:350;margin-left:4px}.header-separator{width:1px;height:22px;background:var(--border)}.product-label{font-size:10px;letter-spacing:1.4px;color:#81948e;font-weight:600;max-width:85px;line-height:1.6}.site-header nav{display:flex;align-items:stretch;align-self:stretch;margin-left:16px;gap:24px;white-space:nowrap}.nav-item{position:relative;background:none;border:0;padding:0;font-size:13px;font-weight:500;color:#778985;display:flex;align-items:center;gap:5px}.nav-item:hover{color:var(--ink)}.nav-item.active{color:var(--green);font-weight:650}.nav-item.active:after{content:"";height:3px;position:absolute;bottom:0;left:0;right:0;background:var(--green);border-radius:3px 3px 0 0}.new-pill{font-size:8px;font-weight:700;letter-spacing:.5px;background:#e7f3ed;color:#36836d;padding:1px 4px;border-radius:3px}.header-tools{margin-left:auto;display:flex;align-items:center;gap:13px}.status-dot{display:inline-block;width:6px;height:6px;background:var(--green);border-radius:50%;flex-shrink:0}.preview-badge{display:inline-flex;align-items:center;gap:7px;border:1px solid #e6deca;background:#fcfaf3;color:#8b743c;border-radius:6px;padding:6px 9px;font-size:11px;white-space:nowrap}.preview-badge .status-dot{background:#b69b5b}.preview-badge.connected{background:#ebf7f0;color:var(--green);border-color:#cfe9dc}.preview-badge.connected .status-dot{background:var(--green)}.icon-button{display:grid;place-items:center;background:none;border:0;border-radius:6px;color:#79918b;padding:7px}.icon-button:hover{background:#eff5f1}.main-shell{max-width:1600px;margin:auto}.workspace-bar{display:flex;align-items:center;justify-content:space-between;gap:15px;color:#84958f;font-size:11px;padding:15px 38px 0}.workspace-bar>span{display:flex;align-items:center;gap:7px}.workspace-bar strong{font-weight:500;color:#5c746b}.slash{color:#c0cdc5;margin:0 4px}main{padding:34px 38px 24px;min-height:calc(100vh - 180px)}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:29px}.eyebrow{font-size:10px;font-weight:650;letter-spacing:1.8px;color:#698078;margin-bottom:9px}h1{font-size:36px;line-height:1.2;font-weight:600;letter-spacing:-1.4px;margin:0}.title-dot{display:none}.page-heading p{color:#73847e;font-size:14px;line-height:1.7;margin:10px 0 0}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:7px;padding:11px 16px;font-size:12px;font-weight:600;line-height:20px;white-space:nowrap;transition:background .15s}.button .icon{width:16px;height:16px}.button.primary{background:var(--green);color:white;box-shadow:0 2px 2px #17463a0d}.button.primary:hover{background:var(--green-dark)}.button.outline{background:white;border-color:#dce5df;color:#536f64}.button.outline:hover{background:#f4f8f5}.button.small{padding:7px 11px;font-size:11px}.text-button{display:inline-flex;align-items:center;gap:6px;background:none;border:0;color:#688575;font-size:11px;padding:0;line-height:20px;font-weight:500}.text-button:hover{color:var(--green)}.text-button .icon{height:14px;width:14px}.forecast-context{display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:12px;margin-bottom:21px;padding-bottom:16px;border-bottom:1px solid var(--border);color:#819288}.forecast-context>div{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.forecast-context strong{font-weight:550;color:#516d5f}.context-icon .icon{width:15px;height:15px}.context-divider{height:13px;width:1px;background:#d5dfd7;margin:0 3px}.operational-banner{display:flex;align-items:center;gap:13px;border:1px solid #edd9c8;border-radius:8px;background:#fffaf3;padding:13px 16px;margin-bottom:22px;font-size:12px;color:#866440}.operational-banner>.icon{color:#bc874c;width:18px;height:18px}.operational-banner strong{font-weight:650;color:#785734}.operational-banner .text-button{margin-left:auto;flex-shrink:0;color:#997043}.operational-banner.healthy{background:#f0f8f3;border-color:#d3e9db;color:#5d806b}.operational-banner.healthy strong{color:#367552}.operational-banner.healthy .icon{color:#438563}.metrics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:26px}.metric-card{background:white;border:1px solid var(--border);border-radius:10px;padding:19px 21px 17px}.metric-label{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#6d8377;font-weight:500;gap:8px}.metric-icon{display:grid;place-items:center;height:28px;width:28px;border-radius:7px;background:#f1f6f3;color:#688777;flex-shrink:0}.metric-icon .icon{height:17px;width:17px}.metric-icon.amber{color:#ac8652;background:#fbf6ed}.metric-icon.green{color:#3e9473;background:#edf7f1}.metric-icon.purple{color:#7d8d9c;background:#f0f3f8}.metric-value{font-size:34px;font-weight:580;letter-spacing:-1.5px;display:flex;align-items:baseline;gap:7px;line-height:1.2;margin:12px 0 16px;font-variant-numeric:tabular-nums}.metric-value small{font-size:14px;font-weight:400;color:#8c9c92;letter-spacing:0}.metric-foot{display:flex;align-items:center;gap:5px;font-size:10px;color:#8a9a8f;flex-wrap:wrap}.mini-dot{width:4px;height:4px;border-radius:50%;display:inline-block;flex-shrink:0}.blue-dot{background:#7c9ab0}.green-dot{background:#68a589}.purple-dot{background:#91a4b3}.tiny-badge{display:inline-block;background:#f0f4f1;border-radius:4px;color:#85988b;font-size:10px;padding:2px 6px;white-space:nowrap}.tiny-badge.warning{background:#fbf1db;color:#a77e34}.tiny-badge.success{background:#eaf5ee;color:#568965}.tiny-badge.danger{background:#fbece6;color:#b56d56}.muted{color:#94a196}.dashboard-grid{display:grid;grid-template-columns:minmax(0,2.4fr) minmax(290px,1fr);gap:22px;margin-bottom:25px}.panel{background:white;border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;min-width:0}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:23px 24px 0}.panel-heading h2{display:flex;align-items:center;gap:7px;font-size:16px;font-weight:600;letter-spacing:-.3px;margin:0}.panel-heading p{font-size:12px;color:#89978d;margin:5px 0 0;line-height:1.7}.chart-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:22px 24px 0}.chart-mode-control{display:flex;gap:3px;padding:3px;background:#f0f4f1;border:1px solid #e7eee7;border-radius:6px}.chart-mode-control button{border:0;border-radius:4px;color:#88998b;background:none;font-size:11px;font-weight:500;padding:6px 10px}.chart-mode-control button.selected{background:white;box-shadow:0 1px 3px #213c2e10;color:#406e51}.subtle-tag{font-size:10px;color:#8a9a8f;border:1px solid #e4ebe4;border-radius:4px;padding:4px 7px;background:#fcfdfb;white-space:nowrap}.chart-legend{display:flex;align-items:center;gap:19px;margin:20px 24px 0;color:#829286;font-size:10px}.chart-legend>span:not(.chart-unit),.schedule-legend>span,.scenario-legend>span{display:flex;align-items:center;gap:6px}.legend-dot{width:6px;height:6px;display:inline-block;border-radius:50%;flex-shrink:0}.demand-dot{background:#247e6a}.storage-dot{background:#7e9bb6}.legend-dash{width:13px;display:inline-block;border-top:1px dashed #94ac9a}.legend-box{width:8px;height:8px;background:#fcf1d8;border:1px solid #efdbaa;display:inline-block;border-radius:2px}.chart-unit{margin-left:auto;color:#91a194;font-size:10px}.chart-container{padding:18px 18px 0;position:relative}.chart-container>svg{display:block;width:100%;height:auto;overflow:visible}.chart-container text,.scenario-chart-wrap text{font-family:inherit;font-size:11px;fill:#8d9d91}.chart-tooltip{position:absolute;z-index:5;background:#1b3830;color:#f1f8f3;box-shadow:0 6px 20px #173d2c20;border-radius:7px;padding:12px 14px;min-width:155px;font-size:11px;pointer-events:none}.chart-tooltip strong{display:block;font-size:17px;font-weight:550;margin:5px 0}.chart-tooltip small{font-size:10px;color:#b5d2c1}.chart-footer{padding:17px 24px 20px;font-size:10px;color:#90a091;display:flex;align-items:flex-start;gap:7px;border-top:1px solid #f0f3ed;margin-top:13px}.chart-footer>.icon{width:13px;height:13px;flex-shrink:0;margin-top:1px}.dispatch-panel .panel-heading{gap:8px}.dispatch-panel .panel-heading p{font-size:11px}#hour-picker{font-size:11px;padding:6px 7px;background:#f6f9f5;border:1px solid #e1e9df;color:#648267;max-width:100px}.dispatch-state{display:flex;align-items:center;justify-content:center;gap:7px;font-size:12px;font-weight:550;background:#f3f7fb;color:#67849b;border:1px solid #e1e9f1;margin:24px 24px 0;border-radius:6px;padding:11px}.dispatch-state .status-dot{background:#7d97b1}.dispatch-state.storage{background:#edf6ef;border-color:#d6e9d9;color:#558c60}.dispatch-state.storage .status-dot{background:#70a778}.power-flow{display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;margin:24px 24px 0}.power-node{display:flex;flex-direction:column;align-items:center;text-align:center;min-width:0;color:#b3bdb2}.node-icon{width:52px;height:52px;border-radius:9px;border:1px solid #e3e9e0;background:#f9fbf7;display:grid;place-items:center;margin-bottom:11px}.node-icon .icon{width:26px;height:26px}.power-node strong{font-size:11px;font-weight:550;color:#839880;white-space:nowrap}.power-node small{font-size:9px;color:#a2af9a;margin-top:4px;white-space:nowrap}.power-node.active{color:#708eae}.power-node.active .node-icon{background:#f1f6fa;border-color:#dce8ee}.power-node.storage-active{color:#4e9460}.power-node.storage-active .node-icon{background:#eef7ed;border-color:#d5e8d2}.flow-path{display:flex;align-items:center;margin-top:-42px}.flow-line{height:1px;flex:1;background:#e1e8dc;position:relative}.flow-line.active{background:#a2b4c4}.flow-line.storage-active{background:#9ac59b}.flow-line.active:after,.flow-line.storage-active:after{content:"";position:absolute;right:30%;top:-2px;width:5px;height:5px;background:#7f9bb3;border-radius:50%}.flow-line.storage-active:after{background:#6da576}.flow-junction{height:26px;width:26px;display:grid;place-items:center;color:#a3b49c;border:1px solid #e3eadc;border-radius:6px;background:white;flex-shrink:0}.flow-junction .icon{width:13px;height:13px}.load-destination{background:#f7f9f4;border:1px solid #e8ede2;border-radius:7px;margin:24px 24px 0;padding:13px;display:flex;align-items:center;gap:10px;color:#93a88a}.load-destination strong{display:block;color:#768e6b;font-size:12px;font-weight:550}.load-destination small{display:block;color:#9aa98d;font-size:10px;margin-top:3px}.load-check{margin-left:auto;color:#b2c3a9}.load-check .icon{height:16px;width:16px}.soc-header{display:flex;align-items:center;justify-content:space-between;margin:24px 24px 9px;font-size:11px;color:#90a181}.soc-header strong{color:#718e64;font-size:13px;font-weight:600}.soc-track{height:7px;background:#edf2e7;border-radius:8px;position:relative;margin:0 24px}.soc-fill{height:100%;border-radius:8px;background:#8db585;width:0;transition:width .2s}.soc-reserve{position:absolute;width:2px;height:11px;background:#b7c5aa;top:-2px;left:20%}.dispatch-reason{font-size:10px;line-height:1.8;color:#91a183;margin:12px 24px 24px}.schedule-panel{margin-bottom:25px}.schedule-legend{display:flex;gap:16px;font-size:10px;color:#87977e}.hour-schedule{display:grid;grid-template-columns:repeat(24,minmax(0,1fr));gap:7px;padding:28px 24px 22px}.hour-button{border:0;background:none;border-radius:4px;display:flex;flex-direction:column;align-items:center;gap:9px;padding:0;min-width:0}.hour-bar{width:100%;height:31px;border-radius:4px;background:#e2eaf0;border:1px solid #d6e0e8;position:relative}.hour-button.storage .hour-bar{background:#dfeddf;border-color:#cfe3ce}.hour-button.overload .hour-bar:after{content:"";position:absolute;width:4px;height:4px;border-radius:50%;background:#bb8c51;left:calc(50% - 2px);top:13px}.hour-button.selected .hour-bar{background:#9db2c6;border-color:#8ca5bc;box-shadow:0 0 0 2px white,0 0 0 3px #bfccd6}.hour-button.selected.storage .hour-bar{background:#86b08a;border-color:#78a47b;box-shadow:0 0 0 2px white,0 0 0 3px #b5d0b5}.hour-button small{font-size:9px;color:#9aa68f}.hour-button.selected small{color:#617f55;font-weight:650}.hour-button:hover .hour-bar{filter:brightness(.96)}.schedule-summary{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid #edf1e8;padding:14px 24px;font-size:11px;color:#879b79}.simulation-caption{display:flex;align-items:center;gap:6px;font-size:10px;color:#a0ae92}.simulation-caption .icon{width:13px;height:13px}.bottom-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:22px}.count-bubble{font-size:10px;line-height:17px;min-width:21px;text-align:center;background:#f8f1e5;border:1px solid #efe0c8;color:#a98a52;border-radius:5px}.icon-muted{color:#96a78a}#insights-list{padding:22px 24px}.insight{display:flex;align-items:flex-start;gap:12px;padding:18px 0;border-bottom:1px solid #edf1e6}.insight:first-child{padding-top:0}.insight:last-child{padding-bottom:0;border:0}.insight-icon{display:grid;place-items:center;width:31px;height:31px;border-radius:7px;background:#f2f6ec;color:#96ad7f;flex-shrink:0}.insight-icon .icon{width:16px;height:16px}.insight-icon.warning{background:#fbf4e6;color:#b99b60}.insight-icon.danger{background:#fbefea;color:#c58f72}.insight-icon.green{background:#edf6ea;color:#85a878}.insight h3{font-size:12px;font-weight:600;margin:0 0 5px;color:#5c7751}.insight p{font-size:11px;line-height:1.8;color:#97a88a;margin:0}.insight-time{margin-left:auto;font-size:9px;color:#a6b197;flex-shrink:0;white-space:nowrap}.rules-panel .panel-heading{margin-bottom:23px}.rules-lock{color:#9eb88b}.rule-item{display:flex;gap:13px;margin:0 24px 21px}.rule-number{display:grid;place-items:center;border:1px solid #e7eddd;background:#fafcf6;border-radius:6px;width:27px;height:27px;font-size:10px;color:#9eb48c;flex-shrink:0}.rule-item strong{display:block;font-size:12px;font-weight:550;color:#7d966c}.rule-item p{font-size:11px;margin:4px 0 0;color:#a0b08d}.rules-footer{border-top:1px solid #edf1e5;padding:15px 24px;display:flex;align-items:center;gap:6px;color:#a1b18f;font-size:10px}.rules-footer .icon{height:13px;width:13px;color:#9bbc88}.page-footnote{display:flex;justify-content:space-between;gap:18px;font-size:10px;color:#8da08b;padding-top:24px}.page-footnote .text-button{font-size:10px;white-space:nowrap}.app-footer{border-top:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 38px;font-size:10px;color:#96a891}.footer-divider{color:#becbb5;margin:0 7px}.loading-state{display:flex;align-items:center;justify-content:center;gap:14px;min-height:240px;color:var(--text)}.spinner{border:2px solid #dceade;border-top-color:var(--green);border-radius:50%;height:18px;width:18px;display:inline-block;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.error-banner{color:#a65841;background:#fff5ee;border:1px solid #f1d8c9;border-radius:7px;padding:13px 16px;font-size:12px;line-height:1.8;margin:14px 0 20px}.skip-link{position:absolute;top:-100px;left:15px;z-index:200;background:white;padding:12px;border:2px solid var(--green)}.skip-link:focus{top:15px}.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}.full-width{width:100%}
/* Data views */
.table-scroll{overflow:auto;margin-top:23px}table{width:100%;border-collapse:collapse;text-align:left;font-variant-numeric:tabular-nums}.table-scroll th{background:#f6f8f3;color:#8b9d7e;font-size:11px;font-weight:500;padding:14px 18px;border-block:1px solid #e7eddf;white-space:nowrap}.table-scroll td{font-size:12px;padding:16px 18px;border-bottom:1px solid #edf1e5;color:#849b74;white-space:nowrap}.table-scroll td:first-child{color:#5f7d4b}.table-scroll tr:hover{background:#fafcf6}.source-pill{display:inline-flex;align-items:center;gap:6px;background:#f0f4f7;color:#7893ac;padding:4px 7px;font-size:10px;border-radius:5px}.source-pill .mini-dot{background:currentColor}.source-pill.storage{background:#edf5e8;color:#90a979}.table-footer{display:flex;justify-content:space-between;align-items:center;padding:17px 24px;font-size:11px;color:#a1b08e}.filter-control{display:flex;gap:3px;background:#f2f6ec;border:1px solid #e7eede;border-radius:6px;padding:3px}.filter-control button{border:0;background:none;font-size:11px;color:#9aae86;border-radius:4px;padding:6px 10px}.filter-control button.selected{background:white;color:#758f5a;box-shadow:0 1px 3px #35462110}.empty-state{padding:55px 20px;text-align:center;font-size:13px;color:#a0af8b}.history-list{padding:14px 24px}.history-item{display:flex;align-items:center;gap:15px;padding:18px;width:100%;text-align:left;background:white;border:1px solid #e6edda;border-radius:9px;margin:12px 0}.history-item:hover{background:#fbfdf7;border-color:#bfceab}.history-icon{padding:11px;border-radius:8px;background:#f1f7e9;color:#a3ba85}.history-info strong{font-size:13px;font-weight:550;display:block;color:#6f8c52}.history-info small{font-size:11px;color:#a6b68e;display:block;margin-top:5px}.history-stats{margin-left:auto;display:flex;align-items:center;gap:30px;font-size:12px;color:#8eaa6e}.history-stats small{font-size:10px;color:#afbf95;display:block;margin-top:4px}.history-item>.icon{color:#bacba0;width:17px}.panel-note{padding:16px 24px;background:#fbfdf7;border-top:1px solid #e8efdc;color:#a4b58b;font-size:11px;line-height:1.8}.model-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:22px}.model-body{padding:26px 24px}.model-title{display:flex;align-items:center;gap:14px;margin-bottom:25px}.model-logo{display:grid;place-items:center;width:46px;height:46px;border-radius:10px;background:#f0f8e8;color:#a6bf83;flex-shrink:0}.model-title h3{font-size:16px;font-weight:550;margin:0;color:#79964c}.model-title p{font-size:11px;color:#acbc92;margin:5px 0 0}.model-stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;border-block:1px solid #e9f0dc;padding:20px 0;margin-bottom:20px}.model-stat-grid small{display:block;font-size:11px;color:#a8ba89}.model-stat-grid strong{font-size:28px;line-height:1.4;font-weight:550;color:#7a994b;display:block;margin-top:7px;letter-spacing:-.6px}.model-stat-grid strong span{font-size:11px;color:#afc091}.informative-note{display:flex;gap:9px;padding:14px;border-radius:7px;background:#f6faee;border:1px solid #eaf2db;color:#a8bd84}.informative-note>.icon{width:16px;height:16px;flex-shrink:0;margin-top:2px}.informative-note p{font-size:11px;line-height:1.9;margin:0}.subheading{font-size:13px;font-weight:550;color:#8eaa60;margin:25px 0 12px}.detail-row{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid #edf3e1;padding:12px 0;font-size:11px;color:#b0c08d}.detail-row strong{font-weight:500;color:#92ad64;text-align:right}.connection-box{background:#fbfdf6;border:1px dashed #dfeacb;border-radius:9px;padding:25px;text-align:center;margin-bottom:24px}.connection-box>.icon{height:30px;width:30px;margin:0 auto 14px;color:#b1c994}.connection-box h3{font-size:15px;font-weight:550;color:#91ad61;margin:0 0 8px}.connection-box p{font-size:12px;line-height:1.8;color:#b0c28d;margin:0}.setup-steps{padding-left:23px;margin:0 0 24px;color:#b6ca94}.setup-steps li{margin-bottom:20px;padding-left:7px}.setup-steps strong{font-size:12px;font-weight:550;color:#9bb86d}.setup-steps p{font-size:11px;line-height:1.9;color:#bacb9b;margin:5px 0 0}.benchmark-panel{margin-top:24px}.benchmark-body{padding:22px 24px}.benchmark-row{display:grid;grid-template-columns:1.2fr 1fr 80px;gap:20px;align-items:center;font-size:12px;padding:14px 0;border-bottom:1px solid #edf2e1}.benchmark-row:last-child{border:0}.benchmark-row>strong{font-weight:500;display:flex;align-items:center;gap:8px}.benchmark-bar{height:7px;background:#eef4e3;border-radius:8px;overflow:hidden}.benchmark-bar span{height:100%;display:block;background:#b2c68d;border-radius:8px}.benchmark-row.selected .benchmark-bar span{background:var(--green)}.benchmark-value{text-align:right;font-variant-numeric:tabular-nums;color:#8da96a}.benchmark-caption{font-size:11px;line-height:1.8;color:#a6bc89;margin:18px 0 0}.section-heading{display:flex;justify-content:space-between;gap:20px;margin:40px 0 21px}.section-heading h2{font-size:26px;letter-spacing:-.7px;font-weight:550;margin:0}.section-heading p{font-size:13px;color:#8fa77e;margin:8px 0 0}.research-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.research-card{display:flex;flex-direction:column;border:1px solid var(--border);border-radius:10px;padding:22px;background:white;transition:border-color .2s}.research-card:hover{border-color:#b1c39f}.research-type{font-size:9px;letter-spacing:1px;color:#a5b98c;font-weight:550}.research-card h3{font-size:17px;line-height:1.5;font-weight:550;letter-spacing:-.2px;color:#6b8b4e;margin:16px 0 10px}.research-card p{font-size:12px;line-height:1.8;color:#a2b78a;margin:0 0 23px}.research-card>span:last-child{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:10px;line-height:1.7;color:#a2b887;border-top:1px solid #eaf0df;padding-top:14px;margin-top:auto}.research-card .icon{width:13px;height:13px;flex-shrink:0}
/* Scenario workbench */
.scenario-intro{display:flex;align-items:center;gap:14px;border:1px solid #e0e9d7;background:#fbfdf7;border-radius:9px;padding:18px 20px;margin-bottom:23px;color:#a0b783}.scenario-intro>.icon{width:23px;height:23px;flex-shrink:0}.scenario-intro p{font-size:12px;line-height:1.9;margin:0;color:#92a978}.scenario-intro strong{color:#718d57;font-weight:600}.scenario-intro .subtle-tag{margin-left:auto}.scenario-layout{display:grid;grid-template-columns:310px minmax(0,1fr);align-items:start;gap:22px}.scenario-form{padding:24px}.scenario-form>label{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:#90aa6f;margin-bottom:13px}.scenario-form>label strong{color:#7e9e54;font-weight:550}.scenario-form input[type=range]{width:100%;padding:0;accent-color:var(--green);border:0}.range-labels{display:flex;justify-content:space-between;color:#bdcc9d;font-size:10px;margin:7px 0 30px}.scenario-inputs{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-bottom:24px}.scenario-inputs label{font-size:11px;color:#aac08c}.scenario-inputs input{display:block;width:100%;margin-top:6px}.scenario-form .button{margin-top:10px}.scenario-legend{display:flex;align-items:center;gap:15px;font-size:10px;color:#b0c494}.scenario-chart-wrap{padding:25px 18px 0}.scenario-chart-wrap svg{width:100%;height:auto;display:block}.scenario-comparison{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #eaf1dc;margin-top:18px;padding:22px 24px;gap:22px}.scenario-comparison small{display:block;font-size:11px;color:#b6c894}.scenario-comparison strong{font-size:24px;letter-spacing:-.7px;color:#91ad5f;display:block;font-weight:550;margin:8px 0 5px}.scenario-comparison span{font-size:10px;color:#a8c184}.capacity-recommendation{margin-top:20px;border:1px solid #dcebd0;border-radius:9px;background:#f3faee;padding:20px;color:#9bbd78;display:flex;align-items:flex-start;gap:12px}.capacity-recommendation>.icon{flex-shrink:0;margin-top:2px}.capacity-recommendation h3{font-size:14px;font-weight:550;color:#7a9f51;margin:0 0 7px}.capacity-recommendation p{font-size:12px;line-height:1.9;color:#a6bf8c;margin:0}.scenario-disclaimer{font-size:11px;line-height:1.9;color:#b9caa0;margin:18px 4px}
/* Input workspace */
input,textarea,select{background:white;border:1px solid #dae5d1;color:#7c9860;border-radius:6px;padding:10px 11px;max-width:100%}input,select{font-size:13px}textarea{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px;line-height:1.8;display:block;width:100%;resize:vertical}textarea::placeholder{color:#c3d2ac}dialog{width:min(780px,calc(100vw - 32px));max-height:calc(100vh - 40px);background:white;color:var(--ink);padding:0;border:1px solid #e2eace;border-radius:13px;box-shadow:0 25px 100px #28421735}dialog::backdrop{background:#1c332d75;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:28px 30px 24px;border-bottom:1px solid var(--border)}.dialog-heading h2{font-size:26px;font-weight:550;letter-spacing:-.7px;margin:0 0 7px}.dialog-heading p{font-size:13px;color:#8da279;margin:0}.dialog-body{padding:25px 30px}.input-tabs{display:flex;gap:4px;background:#f3f7ed;padding:4px;border:1px solid #e8f0dd;border-radius:8px;margin-bottom:24px}.input-tabs button{border:0;background:none;padding:11px;display:flex;align-items:center;justify-content:center;gap:8px;flex:1;border-radius:5px;color:#9db683;font-size:12px}.input-tabs button.selected{background:white;box-shadow:0 1px 3px #39512410;color:#809f60}.input-tabs .icon{width:16px;height:16px}.upload-zone{display:flex;flex-direction:column;align-items:center;gap:10px;padding:29px;border:1.5px dashed #d1e1bc;border-radius:9px;background:#fcfef8;text-align:center;cursor:pointer}.upload-zone:hover,.upload-zone.dragging{background:#f4faee;border-color:#a4c084}.upload-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:10px;background:#eff6e5;color:#afc98d;margin-bottom:3px}.upload-zone strong{font-size:14px;font-weight:550;color:#91ad65;overflow-wrap:anywhere}.upload-zone>span:not(.upload-icon):not(.button){font-size:11px;color:#b1c594}.upload-zone .button{margin-top:5px}.or-divider{display:flex;align-items:center;gap:12px;color:#b9cc99;font-size:11px;margin:22px 0}.or-divider:before,.or-divider:after{content:"";height:1px;background:#e9f1db;flex:1}.input-label{font-size:12px;color:#a4be7e;display:block;font-weight:500;margin-bottom:8px}.input-help{font-size:11px;line-height:1.8;color:#b6cb94;margin:9px 0 14px}.forecast-options{border-top:1px solid #e5efda;margin-top:24px;padding-top:20px}.forecast-options select{width:100%;display:block;margin-top:9px}.forecast-options .input-help{margin-bottom:0}.battery-options{border-top:1px solid #e5efda;padding-top:19px;margin-top:22px}.battery-options summary{display:flex;gap:8px;align-items:center;font-size:12px;color:#a3c17d;cursor:pointer}.battery-options summary .icon{width:17px;height:17px}.battery-options summary .muted{margin-left:auto}.battery-input-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:22px}.battery-input-grid label{font-size:11px;color:#a5c282}.battery-input-grid input{display:block;width:100%;margin-top:7px}.dialog-footer{border-top:1px solid #e4efd7;background:#fcfef8;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 30px}.dialog-footer>span{display:flex;align-items:center;gap:7px;font-size:10px;color:#b1c993}.dialog-footer>span .icon{width:13px;height:13px}.manual-intro{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px;font-size:12px;color:#afc58d}.manual-intro label{font-size:10px;color:#a7c081}.manual-intro input{display:block;font-size:12px;margin-top:5px}.manual-table-scroll{max-height:350px;overflow:auto;border:1px solid #e1eecf;border-radius:7px}.manual-table th{padding:12px;background:#f8fcef;position:sticky;top:0;z-index:1;font-size:11px;color:#b0c88e;font-weight:500}.manual-table td{border-top:1px solid #e7f0d9;padding:7px 10px;font-size:12px;color:#abc487}.manual-table input{width:100%;min-width:55px;padding:6px 8px;font-size:12px}.manual-table td:first-child{white-space:nowrap}.toast{position:fixed;z-index:300;bottom:25px;left:50%;transform:translateX(-50%);background:#274738;color:#eaf4e6;border-radius:8px;box-shadow:0 4px 20px #21382020;padding:15px 23px;font-size:12px;max-width:calc(100vw - 28px);text-align:center}
/* Readable type and neutral secondary text across every view. */
.insight h3,.rule-item strong,.model-title h3,.subheading,.connection-box h3,.setup-steps strong,.history-info strong,.capacity-recommendation h3,.scenario-comparison strong,.research-card h3{color:#36534a}.insight p,.rule-item p,.rules-footer,.detail-row,.connection-box p,.setup-steps p,.model-title p,.informative-note,.panel-note,.benchmark-caption,.research-card p,.research-card>span:last-child,.scenario-intro p,.capacity-recommendation p,.scenario-disclaimer,.input-help,.manual-intro,.dialog-heading p{color:#7a8d80}.detail-row strong,.benchmark-value,.scenario-form>label,.scenario-form>label strong,.scenario-inputs label,.input-label,.battery-input-grid label,.battery-options summary,.manual-intro label,.manual-table td,.manual-table th,input,textarea,select,.table-scroll td,.table-scroll td:first-child{color:#5f786b}.scenario-form .range-labels,.scenario-comparison small,.scenario-comparison span,.model-stat-grid small,.history-info small,.table-footer{color:#8b9d8b}.model-stat-grid strong{color:#345c4b}.research-type{color:#78917d}.source-pill.storage{color:#5b8968}.manual-table th{background:#f7faf2}.upload-zone strong{color:#4f7761}.input-tabs button{color:#7a987d}.input-tabs button.selected{color:#386c51}
@media(min-width:1440px){main{padding:40px 48px 28px}.workspace-bar{padding-inline:48px}.header-inner{padding-inline:48px}.page-heading h1{font-size:40px}.metric-value{font-size:38px}.dashboard-grid{grid-template-columns:minmax(0,2.5fr) minmax(320px,1fr)}.panel-heading h2{font-size:17px}.dispatch-panel .panel-heading p{font-size:12px}.chart-legend{font-size:11px}.chart-footer{font-size:11px}.power-node strong{font-size:12px}.power-node small{font-size:10px}.dispatch-state{font-size:13px}.dispatch-reason{font-size:11px}.soc-header{font-size:12px}.hour-button small{font-size:10px}.metric-foot{font-size:11px}}
@media(max-width:1250px){.header-inner{gap:14px;padding-inline:28px}.product-label,.header-separator{display:none}.site-header nav{gap:21px;margin-left:18px}.new-pill{display:none}.dashboard-grid{grid-template-columns:minmax(0,1.9fr) minmax(280px,1fr)}main{padding-inline:28px}.workspace-bar{padding-inline:28px}.metric-card{padding:18px 17px}.metric-label{font-size:11px}.metric-value{font-size:31px}.metric-foot{font-size:9px}.panel-heading{padding-inline:21px}.chart-controls,.chart-legend{margin-inline:21px}.chart-legend{gap:13px;font-size:9px}.panel-heading p{font-size:11px}.dispatch-panel .panel-heading h2{font-size:15px}}
@media(max-width:1060px){.dashboard-grid{grid-template-columns:1fr}.dispatch-panel{display:grid;grid-template-columns:1fr 1fr;column-gap:35px;padding:0 0 15px}.dispatch-panel .panel-heading{grid-column:1}.dispatch-state{grid-column:1;margin-top:18px}.power-flow{grid-column:2;grid-row:1/span 3;margin-top:27px;margin-right:35px}.load-destination{grid-column:2;grid-row:3;margin-top:8px;margin-right:35px}.soc-header,.soc-track,.dispatch-reason{grid-column:1}.soc-header{margin-top:16px}.dispatch-reason{margin-bottom:10px}.chart-container{padding-top:22px}.header-tools .icon-button{display:none}.header-tools{gap:0}.site-header nav{gap:20px}.nav-item{font-size:12px}.brand{font-size:22px}.hour-schedule{gap:5px}.hour-button small{font-size:8px}.schedule-summary{font-size:10px}.model-grid{grid-template-columns:1fr}.research-grid{grid-template-columns:repeat(2,1fr)}.scenario-layout{grid-template-columns:280px minmax(0,1fr)}.scenario-form{padding:22px}.scenario-form>label{font-size:11px}.scenario-comparison{padding:18px;gap:13px}.scenario-comparison strong{font-size:20px}.scenario-comparison small{font-size:10px}}
@media(max-width:860px){.header-inner{min-height:76px;flex-wrap:wrap;padding:20px 26px 0;gap:0 20px}.brand{order:0}.header-tools{order:1;margin-left:auto}.site-header nav{order:2;width:100%;min-height:53px;margin-left:0;gap:26px}.nav-item{font-size:13px}.new-pill{display:inline}.workspace-bar{padding-top:16px}.page-heading h1{font-size:34px}.page-heading p{max-width:420px;font-size:13px}.metric-label{font-size:11px}.metric-icon{height:22px;width:22px}.metric-icon .icon{width:14px;height:14px}.metric-value{font-size:30px}.metric-foot{font-size:9px;min-height:25px}.metric-card{padding:17px 15px 14px}.metrics-grid{gap:12px}.metric-value small{font-size:12px}.dashboard-grid{gap:22px}.bottom-grid{grid-template-columns:1fr}.insight h3,.rule-item strong{font-size:13px}.insight p,.rule-item p{font-size:12px}.rules-panel .rule-item{margin-bottom:18px}.hour-schedule{grid-template-columns:repeat(12,minmax(0,1fr));gap:17px 9px}.hour-button small{font-size:10px}.hour-bar{height:28px}.schedule-summary{font-size:11px}.scenario-layout{grid-template-columns:1fr}.scenario-form{display:grid;grid-template-columns:1fr 1fr;gap:0 25px}.scenario-form>label{grid-column:1;font-size:12px}.scenario-form>input,.scenario-form>.range-labels{grid-column:1}.scenario-inputs{grid-column:2;grid-row:1/span 6;align-content:start}.scenario-form>.button{grid-row:7;align-self:end}.scenario-form .error-banner{grid-column:1/-1}.scenario-comparison strong{font-size:27px}.scenario-comparison small{font-size:12px}.scenario-intro .subtle-tag{display:none}.operational-banner{font-size:11px}.history-stats{gap:15px}.history-stats>span:last-child{display:none}}
@media(max-width:640px){.header-inner{padding:17px 18px 0}.brand{font-size:23px}.brand-mark{width:31px;height:33px}.site-header nav{gap:24px;overflow-x:auto;min-height:54px;scrollbar-width:none}.site-header nav::-webkit-scrollbar{display:none}.nav-item{font-size:12px;flex-shrink:0}.nav-item .new-pill{display:none}.preview-badge{font-size:10px;padding:5px 7px}.workspace-bar{padding:14px 18px 0;font-size:10px}.workspace-bar>span:last-child{display:none}main{padding:27px 18px 22px}.page-heading{align-items:flex-start;gap:12px}.page-heading h1{font-size:29px;letter-spacing:-1px}.page-heading p{font-size:12px;max-width:300px;margin-top:9px;line-height:1.7}.page-heading .button{font-size:11px;padding:9px 12px;margin-top:27px}.eyebrow{font-size:9px;letter-spacing:1.5px}.forecast-context{align-items:flex-start;font-size:11px;gap:13px}.forecast-context>div{gap:6px}.forecast-context .context-divider{display:none}.forecast-context #sample-label{width:100%;padding-left:21px;font-size:10px}.forecast-context .text-button{font-size:10px;white-space:nowrap}.metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.metric-card{padding:18px}.metric-label{font-size:12px}.metric-icon{width:24px;height:24px}.metric-value{font-size:34px;margin-top:11px}.metric-foot{font-size:10px;min-height:0}.operational-banner{padding:13px;gap:9px;font-size:11px;flex-wrap:wrap;line-height:1.8}.operational-banner .text-button{margin-left:28px;font-size:10px}.panel-heading{padding:20px 19px 0;gap:10px}.panel-heading h2{font-size:15px}.panel-heading p{font-size:11px}.demand-panel .button{font-size:10px;padding:6px 8px;gap:5px}.demand-panel .button .icon{height:13px;width:13px}.chart-controls{margin:19px 19px 0;gap:5px}.chart-mode-control button{font-size:10px;padding:6px 8px}.subtle-tag{font-size:9px;padding:4px 5px}.chart-legend{margin:18px 19px 0;gap:12px;font-size:8px;flex-wrap:wrap}.chart-unit{display:none}.chart-container{padding:18px 8px 0}.chart-container text{font-size:12px}.chart-footer{padding:14px 19px;font-size:9px;line-height:1.8}.dispatch-panel{display:block;padding:0}.dispatch-panel .panel-heading{padding:20px 21px 0}.dispatch-state{margin:20px 21px 0;font-size:13px}.power-flow{margin:23px 35px 0}.power-node strong{font-size:12px}.power-node small{font-size:10px}.node-icon{width:54px;height:54px}.load-destination{margin:23px 21px 0}.load-destination strong{font-size:12px}.load-destination small{font-size:11px}.soc-header{margin:23px 21px 9px;font-size:12px}.soc-track{margin-inline:21px}.dispatch-reason{margin:13px 21px 23px;font-size:11px}.schedule-panel .panel-heading{align-items:flex-start;flex-direction:column;gap:15px}.schedule-legend{font-size:10px}.hour-schedule{padding:24px 19px 20px;gap:17px 7px}.hour-button small{font-size:8px}.schedule-summary{padding:15px 19px;flex-direction:column;align-items:flex-start;gap:7px;font-size:10px}.simulation-caption{font-size:10px}#insights-list{padding:20px 19px}.insight{gap:10px}.insight p{font-size:11px}.insight h3{font-size:12px}.insight-time{display:none}.rules-panel .panel-heading{margin-bottom:23px}.rule-item{margin-inline:19px}.rule-item strong{font-size:12px}.rule-item p{font-size:11px}.rules-footer{padding:15px 19px;font-size:9px}.page-footnote{align-items:flex-start;flex-direction:column;gap:12px;line-height:1.8}.app-footer{padding:19px 18px;font-size:9px}.app-footer>span:last-child{display:none}.filter-control button{font-size:10px;padding:5px 8px}#forecast-view .panel-heading{flex-wrap:wrap;gap:18px}.table-scroll th{font-size:10px;padding:13px}.table-scroll td{font-size:11px;padding:13px}.table-footer{font-size:10px;padding:16px 19px}.history-list{padding:12px 16px}.history-item{gap:12px;padding:14px}.history-info strong{font-size:12px}.history-info small{font-size:10px}.history-stats{display:none}.history-item>.icon{margin-left:auto}.panel-note{padding:16px 19px;font-size:10px}.model-body{padding:23px 19px}.model-title{gap:11px}.model-title h3{font-size:15px}.model-title p{font-size:10px}.model-stat-grid{gap:10px}.model-stat-grid small{font-size:10px}.model-stat-grid strong{font-size:25px}.model-stat-grid strong span{font-size:10px}.informative-note p{font-size:10px}.detail-row{font-size:10px;gap:15px}.research-grid{grid-template-columns:1fr}.research-card{padding:22px}.research-card h3{font-size:18px}.research-card p{font-size:12px}.benchmark-body{padding:20px 19px}.benchmark-row{grid-template-columns:1fr 70px;gap:12px;font-size:11px}.benchmark-bar{display:none}.benchmark-row .tiny-badge{font-size:8px}.benchmark-caption{font-size:10px}.section-heading h2{font-size:24px}.section-heading p{font-size:12px}.scenario-intro{padding:16px}.scenario-intro p{font-size:11px}.scenario-form{display:block;padding:22px 19px}.scenario-form>label{margin-bottom:14px;font-size:12px}.scenario-form>.button{margin-top:12px}.scenario-inputs{gap:17px}.range-labels{margin-bottom:25px}.scenario-comparison{padding:20px 19px;gap:12px}.scenario-comparison strong{font-size:24px}.scenario-comparison small{font-size:10px}.scenario-comparison span{font-size:9px}.scenario-legend{font-size:9px;gap:9px}.capacity-recommendation{padding:18px}.capacity-recommendation h3{font-size:13px}.capacity-recommendation p{font-size:11px}.scenario-disclaimer{font-size:10px}.dialog-heading{padding:23px 22px 19px}.dialog-heading h2{font-size:25px}.dialog-heading p{font-size:12px}.dialog-body{padding:22px}.dialog-footer{padding:18px 22px}.dialog-footer>span{display:none}.dialog-footer .button{width:100%}.input-tabs button{font-size:11px}.upload-zone{padding:24px 15px}.upload-zone strong{font-size:13px}.upload-zone>span:not(.upload-icon):not(.button){font-size:10px}.battery-input-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.manual-intro{align-items:flex-start;flex-direction:column;font-size:11px}.manual-intro label,.manual-intro input{width:100%}.manual-table th{font-size:10px;padding:9px 7px}.manual-table td{padding:6px}.manual-table input{font-size:11px;padding:6px 5px}.manual-table td:first-child{font-size:10px}}
@media(max-width:400px){.page-heading h1{font-size:25px}.page-heading .button{padding:8px;font-size:10px;gap:4px}.page-heading .button .icon{width:13px;height:13px}.page-heading p{max-width:220px}.metric-card{padding:15px}.metric-label{font-size:10px}.metric-value{font-size:31px}.metric-foot{font-size:9px}.chart-controls{flex-wrap:wrap;gap:10px}.chart-controls .subtle-tag{margin-left:auto}.hour-schedule{grid-template-columns:repeat(8,minmax(0,1fr));gap:18px 8px}.hour-button small{font-size:9px}.model-title p{font-size:9px}.model-stat-grid strong{font-size:22px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.schedule-legend .demand-dot,.scenario-legend .demand-dot{background:#7796b2}.schedule-legend .storage-dot,.scenario-legend .storage-dot{background:#86b08a}.scenario-legend .storage-dot{background:#247e6a}
@media(min-width:641px) and (max-width:1060px){.dispatch-panel{grid-template-areas:"head flow" "state flow" "soc flow" "track load" "reason load";grid-template-columns:1fr 1.1fr;column-gap:28px;padding-bottom:20px}.dispatch-panel .panel-heading{grid-area:head}.dispatch-state{grid-area:state}.power-flow{grid-area:flow;margin:25px 28px 20px;align-self:center}.load-destination{grid-area:load;margin:0 28px 0 0;align-self:center}.soc-header{grid-area:soc}.soc-track{grid-area:track}.dispatch-reason{grid-area:reason;margin-top:12px}}

.signal-panel{margin-top:24px}.signal-panel td:last-child{min-width:300px;white-space:normal;line-height:1.6}

/* GridLens operations workspace — visual refresh */
:root{--ink:#172c35;--text:#536773;--muted:#6c7e87;--border:#e0e7eb;--bg:#f4f6f9;--green:#137b69;--green-dark:#0e5f52;--radius:16px}
body{-webkit-font-smoothing:antialiased}button,a,input,select{touch-action:manipulation}.site-header{background:#fff}.brand{letter-spacing:-1.2px;font-weight:750}.brand-mark{background:#163e39;box-shadow:0 3px 7px #143a3320}.brand-dot{color:#16816c}.nav-item{gap:10px}.nav-item>.icon{width:18px;height:18px;opacity:.8}.workspace-bar{padding-top:20px;color:#647783}.workspace-bar strong{color:#263e49}.workspace-bar .status-dot{box-shadow:0 0 0 4px #16816c10}.page-heading{margin-bottom:24px}.eyebrow{color:#547370;letter-spacing:2px;font-size:10px}h1{font-weight:650;letter-spacing:-1.6px}.page-heading p{color:#637782;font-size:14px}.button{border-radius:9px;min-height:40px;transition:background .15s,box-shadow .15s,transform .15s}.button.primary{background:#147b69;box-shadow:0 3px 8px #155e4f20}.button.primary:hover{box-shadow:0 5px 14px #155e4f28;transform:translateY(-1px)}.button.outline{color:#395763;border-color:#dce4e8}.forecast-context{background:#fff;border:1px solid var(--border);border-radius:10px;padding:12px 16px;color:#6c7b86;margin-bottom:16px}.forecast-context strong{color:#3c535f}.operational-banner{border-color:#ecdcc5;background:#fffbf4;border-radius:10px;padding:12px 16px;margin-bottom:20px;color:#8c6635}.metrics-grid{gap:16px;margin-bottom:24px}.metric-card{position:relative;border-radius:14px;padding:20px 22px 17px;overflow:hidden;box-shadow:0 2px 3px #18344703}.metric-label{color:#59707c;font-size:12px;font-weight:550}.metric-value{font-size:36px;font-weight:650;color:#193540;letter-spacing:-1.6px;margin:12px 0 10px}.metric-value small{color:#7a8f99;font-size:13px}.metric-foot{color:#667c87;font-size:10px;min-height:20px}.metric-icon{border-radius:8px;width:30px;height:30px;background:#edf3f8;color:#467b9a}.metric-spark{display:block;width:100%;height:30px;margin:12px 0 0;overflow:visible}.metric-card:first-child{background:#173e39;border-color:#173e39}.metric-card:first-child .metric-label{color:#bbd6ce}.metric-card:first-child .metric-value{color:#fff}.metric-card:first-child .metric-value small,.metric-card:first-child .metric-foot{color:#aecfc3}.metric-card:first-child .metric-icon{background:#ffffff12;color:#b3ddc8}.metric-card:first-child .blue-dot{background:#91d5b3}.panel{border-radius:16px;box-shadow:0 2px 4px #20384503}.panel-heading{padding-top:22px}.panel-heading h2{font-weight:650;color:#213b46;font-size:16px;letter-spacing:-.4px}.panel-heading p{color:#6d808a;font-size:12px}.chart-controls{margin-top:18px}.chart-mode-control{background:#f2f5f7;border-color:#e8edf0;border-radius:8px;padding:4px}.chart-mode-control button{font-size:11px;padding:7px 12px;border-radius:5px;color:#6b7d87}.chart-mode-control button.selected{color:#1c5147;box-shadow:0 1px 5px #122c2912}.subtle-tag{color:#6b7b85;border-color:#e2e8ec;background:#fafbfc;border-radius:5px}.chart-legend{font-size:10px;color:#607580;gap:18px}.chart-container text,.scenario-chart-wrap text{fill:#748893}.chart-footer{color:#71848e;line-height:1.7;border-color:#edf1f3}.dashboard-grid{gap:20px}.dispatch-state{border-radius:8px;font-weight:600;color:#476a85;background:#f1f6fb}.dispatch-state.storage{background:#eaf6ef;color:#287356;border-color:#d0e8da}.node-icon{border-radius:12px;width:55px;height:55px}.power-node strong{color:#526e77;font-size:12px}.power-node small{color:#788d96;font-size:10px}.load-destination{background:#f5f8fa;border-color:#e5ecef;border-radius:10px;color:#5c7f8c}.load-destination strong{color:#335562}.load-destination small{color:#6c828d}.soc-header{color:#607b82}.soc-header strong{color:#23745c}.soc-track{height:8px;background:#ecf1f1}.soc-fill{background:#3c9c78}.dispatch-reason{color:#6d828b;line-height:1.75;font-size:11px}.schedule-panel .panel-heading p{font-size:11px}.hour-bar{height:36px;background:#e8eff6;border-color:#dbe5ef}.hour-button.storage .hour-bar{background:#d6eae0;border-color:#c6dfd2}.hour-button.overload .hour-bar:after{width:5px;height:5px;background:#b96e28;top:15px}.hour-button small{color:#6e828c}.hour-button.selected.storage .hour-bar{background:#398366;border-color:#398366}.hour-button.selected .hour-bar{background:#6385a2;border-color:#6385a2}.schedule-summary{color:#59717d;border-color:#e9eff2;background:#fbfcfd}.simulation-caption{color:#7b8d96}.insight h3,.rule-item strong{color:#344e59}.insight p,.rule-item p{color:#6d818b}.insight{border-color:#edf1f4}.insight-time{color:#7c8f99}.rule-number{background:#f3f7f8;border-color:#e1e9ec;color:#547782}.rules-footer{color:#738792;border-color:#e9eff1;background:#fbfcfd}.page-footnote{color:#71858e}.app-footer{color:#788b95;border-color:#e2e9ed}.table-scroll th{background:#f6f8fa;color:#667f8d;border-color:#e6ecf0;font-weight:600}.table-scroll td{color:#5d7480;border-color:#edf1f4}.table-scroll td:first-child{color:#2e4d5c}.table-scroll tr:hover{background:#f7fafb}.history-info strong,.model-title h3{color:#264d50}.history-info small,.history-stats small{color:#71868f}.model-stat-grid small{color:#6e838e}.model-stat-grid strong{color:#245d51}.model-title p,.detail-row,.informative-note p{color:#637e84}.panel-note{background:#f5f9f8;color:#638078;border-color:#e2ece7}.informative-note{background:#f0f7f4;border-color:#dcebe3}.research-card{border-color:#dfe8eb}.research-card h3{color:#294953}.research-card p{color:#6a808b}.setup-steps p,.connection-box p{color:#71858e}.page-heading .button{flex-shrink:0}.rail-note{display:none}
@media(min-width:1100px){.site-header{position:fixed;inset:0 auto 0 0;width:218px;z-index:20;border-right:1px solid #e1e8ec;border-bottom:0}.header-inner{padding:32px 18px 22px;min-height:100vh;display:flex;flex-direction:column;align-items:stretch;gap:0}.brand{padding:0 10px;font-size:25px}.brand-mark{width:35px;height:37px}.header-separator{display:none}.product-label{display:block;max-width:none;padding:18px 10px 25px;font-size:9px;letter-spacing:1.6px;color:#82939a}.site-header nav{flex-direction:column;align-self:stretch;margin:0;gap:7px;flex:1;align-items:stretch}.nav-item{padding:12px 14px;border-radius:9px;font-size:12px;min-height:45px;color:#657a86}.nav-item:hover{background:#f4f7f8}.nav-item.active{background:#eaf4ef;color:#1e715b}.nav-item.active:after{width:3px;right:auto;left:-18px;top:11px;bottom:11px;height:auto;border-radius:0 4px 4px 0}.new-pill{display:none}.header-tools{margin:20px 0 0;gap:5px;justify-content:space-between;padding:16px 0 0;border-top:1px solid #e8edef}.header-tools .icon-button{display:grid}.preview-badge{font-size:10px;border-radius:6px}.rail-note{display:block;border:1px solid #dce8e2;background:#f5f9f7;border-radius:11px;padding:16px 13px;margin-top:24px}.rail-note>.icon{color:#39866d;width:20px;height:20px;margin-bottom:11px}.rail-note strong{font-size:12px;color:#2e5a4d;display:block}.rail-note p{font-size:10px;line-height:1.8;color:#728a80;margin:7px 0 0}.main-shell{margin-left:218px;max-width:none}.workspace-bar{padding:23px 32px 19px;background:#ffffff9c;border-bottom:1px solid #e5eaee;font-size:11px}main{padding:30px 32px}.page-heading h1{font-size:34px}.page-heading p{font-size:13px}.dashboard-grid{grid-template-columns:minmax(0,1.95fr) minmax(275px,1fr)}.app-footer{padding-inline:32px}.metric-card{padding:18px}.metric-value{font-size:32px}.metric-label{font-size:11px}.metric-foot{font-size:9px}.chart-legend{gap:12px;font-size:9px}.panel-heading{padding-inline:20px}.chart-controls,.chart-legend{margin-inline:20px}}
@media(min-width:1450px){.main-shell{max-width:1800px}.dashboard-grid{grid-template-columns:minmax(0,2.3fr) minmax(310px,1fr)}main{padding:36px 42px}.workspace-bar{padding-inline:42px}.metric-card{padding:22px 24px}.metric-value{font-size:38px}.metric-label{font-size:12px}.metric-foot{font-size:11px}.page-heading h1{font-size:38px}}
@media(min-width:861px) and (max-width:1099px){.header-inner{flex-wrap:wrap;padding:18px 26px 0;gap:0}.header-tools{order:1}.site-header nav{order:2;flex-basis:100%;min-height:54px;margin:0;gap:25px}.product-label{display:none}.dashboard-grid{grid-template-columns:1fr}}
@media(max-width:860px){.site-header nav{gap:24px}.nav-item>.icon{width:16px;height:16px}.metric-value{font-size:32px}.metric-card{padding:18px}.metric-foot{font-size:10px}.metric-label{font-size:11px}.dashboard-grid{grid-template-columns:1fr}.page-heading h1{font-weight:650}.forecast-context{padding:12px}.metric-spark{height:25px}.chart-legend{gap:12px}.panel-heading p{font-size:11px}}
@media(max-width:640px){.header-inner{padding-top:18px}.brand-mark{width:32px;height:34px}.site-header nav{gap:22px;min-height:58px}.nav-item{gap:7px;font-size:12px}.page-heading{flex-wrap:wrap;margin-bottom:22px}.page-heading>div{width:100%}.page-heading h1{font-size:32px}.page-heading p{max-width:100%;font-size:13px;line-height:1.7}.page-heading .button{margin-top:0;font-size:12px;padding:9px 14px}.eyebrow{font-size:9px}.forecast-context{flex-direction:column;gap:9px}.forecast-context #sample-label{padding-left:0;width:100%;font-size:10px}.forecast-context .context-icon{display:none}.forecast-context .text-button{align-self:flex-end;margin-top:-20px}.operational-banner{font-size:11px}.metrics-grid{gap:12px}.metric-value{font-size:34px;margin-bottom:8px}.metric-foot{font-size:10px;line-height:1.6}.metric-card{padding:17px}.metric-label{font-size:11px}.metric-icon{width:25px;height:25px}.metric-spark{height:24px;margin-top:10px}.panel-heading h2{font-size:16px}.chart-container{padding-top:12px}.chart-legend{font-size:9px}.subtle-tag{font-size:9px}.chart-controls{flex-wrap:wrap;gap:10px}.chart-controls .subtle-tag{margin-left:0}.page-footnote{font-size:11px}.hour-bar{height:32px}.hour-button.overload .hour-bar:after{top:13px}.insight p,.rule-item p{font-size:12px}.schedule-summary{font-size:11px}.simulation-caption{font-size:10px}}
/* Input surfaces share the workspace's contrast and neutral palette. */
dialog{border-color:#e0e8ec;border-radius:18px;box-shadow:0 24px 100px #102f3e30}.dialog-heading h2{color:#213c47;font-weight:650}.dialog-heading p{color:#6b808b}.dialog-heading,.dialog-footer{border-color:#e7edf0}.input-tabs{background:#f2f6f8;border-color:#e4ebef;border-radius:9px}.input-tabs button{color:#6c828d}.input-tabs button.selected{color:#245c50}.upload-zone{background:#f8fbfa;border-color:#bdcfc8;border-radius:12px}.upload-zone strong{color:#315e50}.upload-zone>span:not(.upload-icon):not(.button){color:#6e8580}.upload-icon{background:#e7f1eb;color:#4a8d70}.or-divider{color:#7c8e96}.or-divider:before,.or-divider:after{background:#e5ecef}.input-label,.battery-input-grid label,.scenario-inputs label{color:#526f7b}.input-help,.dialog-footer>span{color:#70858e}.forecast-options select,input,textarea{border-color:#dbe4e9;color:#35525f;background:#fff}.battery-options{border-color:#e1e9ed}.battery-options summary{color:#456671}.scenario-form>label{color:#516f7c}.scenario-form>label strong{color:#216c55}.range-labels{color:#7a8e97}.scenario-intro p,.scenario-disclaimer{color:#627c88}.scenario-comparison small,.scenario-comparison span{color:#6d8490}.scenario-comparison strong{color:#2b5b50}.capacity-recommendation p{color:#627e7a}.history-item{border-color:#dfe8ec}.history-stats{color:#467c6b}.research-card>span:last-child{color:#337b65}

/* Sharp edition: square geometry, precise dividers, stronger contrast. */
:root{--ink:#132d35;--text:#465e69;--muted:#617681;--border:#d4dfe4;--bg:#f5f7f8;--radius:3px}
.panel,.metric-card,.forecast-context,.operational-banner,.rail-note,.history-item,.research-card,.scenario-intro,.capacity-recommendation,.connection-box,.informative-note{border-radius:3px;box-shadow:none}
.button,.button.small,.preview-badge,.nav-item,.brand-mark,.metric-icon,.node-icon,.load-destination,.dispatch-state,.flow-junction,.subtle-tag,.tiny-badge,.count-bubble,.rule-number,.insight-icon,.model-logo,.history-icon,.filter-control,.filter-control button,.chart-mode-control,.chart-mode-control button,.input-tabs,.input-tabs button,.upload-zone,.upload-icon,.input-label select,input,select,textarea,.error-banner,dialog{border-radius:3px}
.button.primary,.button.primary:hover,.brand-mark,.chart-mode-control button.selected,.filter-control button.selected{box-shadow:none;transform:none}.button.primary{background:#116c5b;border-color:#116c5b}.button.primary:hover{background:#0b5446}.button.outline{border-color:#cbd8de;color:#334e5b}.nav-item.active{font-weight:700}.site-header nav .nav-item.active:after{border-radius:0}.metric-card{border-color:#d6e1e5;padding-top:17px;padding-bottom:14px}.metric-card:first-child{background:#123c34;border-color:#123c34}.metric-value{font-weight:680;letter-spacing:-1.3px;margin-top:10px}.metric-label{color:#425f6b}.metric-foot{color:#536e7b}.metric-spark{height:24px;margin-top:10px}.metric-card:first-child .metric-label{color:#d1e8df}.metric-card:first-child .metric-foot,.metric-card:first-child .metric-value small{color:#bddccc}.panel-heading h2{font-weight:650}.panel-heading p,.page-heading p{color:#526c79}.panel-heading{padding-top:20px}.chart-controls{margin-top:16px}.chart-legend{color:#506a78}.chart-container text,.scenario-chart-wrap text{fill:#5c7481}.chart-footer{color:#5c7480}.chart-tooltip{border-radius:3px;box-shadow:0 3px 10px #102e2a18}.hour-bar,.hour-button{border-radius:2px}.soc-track,.soc-fill{border-radius:1px}.forecast-context{border-color:#d4dfe4}.operational-banner{border-left:3px solid #b68a49;background:#fffaf1;color:#78582f}.operational-banner.healthy{border-left-color:#3e8b68}.insight h3,.rule-item strong{color:#294852}.insight p,.rule-item p,.dispatch-reason,.page-footnote{color:#5d7682}.table-scroll th{background:#edf2f5;color:#3e5d6b}.table-scroll td{color:#496775}.table-scroll tbody tr:last-child td{border-bottom:0}.schedule-summary,.rules-footer{background:#f7f9fa;color:#566f7b}.simulation-caption{color:#637b87}.app-footer{color:#667e88}.workspace-bar{border-bottom-color:#d7e1e6}.chart-mode-control,.filter-control{background:#edf2f4}.rail-note{background:#f4f8f6;border-top:2px solid #347c62}.rail-note strong{color:#285541}.rail-note p{color:#5f7b6e}dialog{box-shadow:0 18px 80px #102f3e25}dialog::backdrop{backdrop-filter:none}.dialog-heading,.dialog-footer{background:#fafcfc}.new-pill{border-radius:2px}.brand-mark{background:#123c34}.brand-dot{color:#307e66}
@media(min-width:1100px){.header-inner{padding-top:28px}.nav-item{padding-block:11px;min-height:43px}.site-header nav{gap:5px}.workspace-bar{padding-top:18px;padding-bottom:16px}main{padding-top:26px}.page-heading{margin-bottom:22px}.page-heading h1{font-size:33px}.metric-card{padding-top:17px;padding-bottom:14px}}
@media(max-width:640px){main{padding-top:23px}.page-heading h1{font-size:30px}.metric-card{padding:15px}.metric-value{font-size:33px}.metric-foot{font-size:10px}.metric-spark{height:22px}.metrics-grid{gap:10px}.panel-heading h2{font-size:16px}.forecast-context,.operational-banner{border-radius:3px}}
