/* Dashboard v1: all values are absent by default; the client-only demo is explicitly marked. */
.dashboard{width:min(1120px,100%);margin:0 auto;color:#f7f4f1}.dashboard-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding-bottom:22px;border-bottom:1px solid #ffffff16}.dashboard-kicker,.panel-kicker{margin:0 0 6px;color:#ff9c5c;font-size:10px;font-weight:800;letter-spacing:1.7px}.dashboard h2{margin:0;font-size:clamp(25px,3vw,36px);letter-spacing:-1px}.dashboard-subtitle{margin:7px 0 0;color:#bdb5b2;font-size:14px}.dashboard-actions{display:flex;align-items:center;gap:10px;flex:none}.dashboard-actions form{margin:0}.demo-toggle,.dashboard-logout,.add-device,.demo-banner button{border:1px solid #ff934d;border-radius:9px;padding:11px 14px;background:#ff6b2222;color:#ffd0af;font-size:10px;font-weight:800;letter-spacing:1px;white-space:nowrap}.demo-toggle{background:linear-gradient(100deg,#ff9229,#fb4824);color:#fff;border:0;box-shadow:0 8px 20px #e9572226}.dashboard-logout{border-color:#ffffff2e;color:#ded6d2;background:#090a0ca0}.empty-state{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;margin-top:28px;padding:27px;border:1px solid #ff934d35;border-radius:16px;background:linear-gradient(125deg,#191317d8,#0e1015d2);box-shadow:0 16px 40px #0005}.empty-icon{display:grid;place-items:center;width:50px;height:50px;border-radius:14px;background:#ff762017;color:#ff9356;font-size:30px}.empty-state h3{margin:0 0 5px;font-size:18px}.empty-state p{margin:0;color:#bdb5b2;font-size:13px;line-height:1.55}.add-device{opacity:.56;cursor:not-allowed;background:#111217;color:#c9c0bb}.preparing{grid-column:3;margin-top:-10px!important;text-align:center;font-size:10px!important;color:#ffad75!important}.demo-board{margin-top:25px}.demo-banner{display:flex;align-items:center;gap:12px;margin-bottom:16px;padding:10px 13px;border:1px solid #ff922c66;border-radius:10px;background:#392014bd;color:#ffe0c6}.demo-banner span,.badge-neutral{border-radius:5px;padding:4px 6px;background:#ff7627;color:#201008;font-size:10px;font-weight:900;letter-spacing:1px}.demo-banner p{margin:0;flex:1;font-size:12px}.demo-banner button{padding:7px 9px}.metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.metric-card,.panel{border:1px solid #ffffff1c;border-radius:14px;background:linear-gradient(145deg,#17191ee8,#0e1014e8);box-shadow:inset 0 1px #fff1,0 12px 24px #0003}.metric-card{min-height:125px;padding:17px;position:relative;overflow:hidden}.metric-card:after{content:"";position:absolute;inset:auto -12% -40px auto;width:100px;height:100px;border-radius:50%;background:#ff6a1f11;filter:blur(4px)}.metric-card p{margin:0;color:#b9b0ac;font-size:12px}.metric-card strong{display:block;margin:14px 0 6px;font-size:27px;line-height:1;color:#fff}.metric-card small{font-size:15px;color:#ffad75}.metric-card span{color:#9d9896;font-size:11px}.metric-hot strong{color:#ff7952}.metric-fire strong{color:#ffb33f}.metric-fuel strong{color:#f5ca66}.status-card strong{font-size:17px;display:flex;align-items:center;gap:8px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,.8fr);gap:12px;margin-top:12px}.panel{padding:18px}.panel-heading{display:flex;justify-content:space-between;align-items:start;gap:14px}.panel-heading h3{margin:0;font-size:17px}.chart-legend{display:flex;gap:8px;align-items:center;color:#c4bfbc;font-size:10px}.chart-legend i{width:16px;height:3px;border-radius:2px;background:#ff6d3e}.chart-legend i+ i{margin-left:4px;background:#ffbf52}.temp-chart{display:block;width:100%;height:auto;margin:15px 0 4px}.grid-lines path{stroke:#ffffff1b;stroke-width:1;fill:none}.chart-labels{fill:#9d9998;font-size:12px;font-family:inherit}.line-boiler,.line-water{fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:4}.line-boiler{stroke:#ff7042;filter:drop-shadow(0 0 4px #ff532866)}.line-water{stroke:#f9bb4d}.chart-note{margin:0;color:#8e8988;font-size:11px;line-height:1.45}.alert-panel{display:flex;flex-direction:column}.badge-neutral{background:#3b4048;color:#d6dbe2}.alert-row{display:flex;gap:10px;align-items:flex-start;padding:15px 0;border-top:1px solid #ffffff13}.alert-row:first-of-type{margin-top:17px}.alert-row strong{font-size:13px}.alert-row p{margin:4px 0 0;color:#aaa4a1;font-size:11px;line-height:1.5}.dot{display:inline-block;flex:none;width:9px;height:9px;border-radius:50%;background:#767e8c;box-shadow:0 0 0 3px #767e8c20}.dot-idle{background:#ffb84b;box-shadow:0 0 0 3px #ffb84b20}.dot-off{background:#c35f59;box-shadow:0 0 0 3px #c35f5920}.info-mark{display:grid;place-items:center;flex:none;width:16px;height:16px;border:1px solid #7795b6;border-radius:50%;color:#9fb8d4;font-size:11px;font-weight:bold}@media(max-width:900px){.dashboard-head{align-items:stretch;flex-direction:column}.dashboard-actions{justify-content:space-between}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:1fr}.empty-state{grid-template-columns:auto 1fr}.empty-state .add-device{grid-column:2}.preparing{grid-column:2;text-align:left}}@media(max-width:600px){.dashboard-head{padding-bottom:17px}.dashboard-actions{gap:8px}.demo-toggle,.dashboard-logout{padding:10px;font-size:9px}.empty-state{margin-top:18px;gap:12px;padding:18px}.empty-icon{width:42px;height:42px;font-size:25px}.empty-state h3{font-size:16px}.empty-state p{font-size:12px}.metric-grid{gap:8px}.metric-card{min-height:107px;padding:13px}.metric-card strong{font-size:23px;margin:11px 0 5px}.dashboard-grid{gap:8px;margin-top:8px}.panel{padding:14px}.demo-banner{align-items:flex-start;flex-wrap:wrap}.demo-banner p{flex-basis:calc(100% - 52px)}.demo-banner button{width:100%}.chart-legend{font-size:9px}.chart-legend i{width:10px}.temp-chart{margin-top:12px}}@media(prefers-reduced-motion:reduce){.metric-card,.panel{box-shadow:inset 0 1px #fff1}}
