@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');
:root{font-family:'DM Sans',system-ui,Arial,sans-serif;color:#16243a;background:#f2f5f9;font-size:14px;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #93c5fd;outline-offset:2px}h1,h2,h3,p{margin-top:0}h1{font-size:29px;letter-spacing:-.75px;margin-bottom:5px}h2{font-size:18px;letter-spacing:-.3px;margin-bottom:5px}h3{font-size:14px;margin-bottom:8px}.mono{font-family:'JetBrains Mono',monospace}.subtle{color:#7c889a}.micro{font-size:11px;color:#8190a5}.eyebrow{font-size:10px;letter-spacing:1.55px;color:#4e85a9;font-weight:800;margin-bottom:7px}.strong{font-weight:800}.topbar{background:#0b1220;color:#f5f7fb;min-height:68px;display:flex;align-items:center;padding:0 clamp(17px,3vw,44px);gap:26px;position:sticky;top:0;z-index:50;box-shadow:0 4px 18px #09101d19}.brand{display:flex;align-items:center;gap:11px;font-size:16px;font-weight:800;white-space:nowrap;letter-spacing:-.4px}.brand-icon{width:35px;height:35px;border-radius:11px;background:linear-gradient(140deg,#34b7d6,#4273cf);display:grid;place-items:center;font-size:19px;box-shadow:0 6px 14px #19b8de30}.nav{display:flex;gap:5px;margin-left:12px}.nav a{padding:11px 15px;border-radius:10px;color:#9eacc0;font-weight:650;white-space:nowrap}.nav a.active,.nav a:hover{background:#20314a;color:white}.nav a.active{box-shadow:inset 0 -2px #42a6f5}.top-right{display:flex;align-items:center;gap:13px;margin-left:auto;font-size:12px;color:#b8c7d9;white-space:nowrap}.live-dot{width:8px;height:8px;border-radius:50%;background:#2bd38c;display:inline-block;margin-right:5px;box-shadow:0 0 9px #23cd8988}.mini-sep{opacity:.3}.link-btn{border:1px solid #41536d;background:transparent;color:#e7f0fa;padding:8px 12px;border-radius:8px}.app-wrap{max-width:1580px;margin:auto;padding:27px clamp(15px,3vw,42px) 60px}.page-title{display:flex;align-items:end;justify-content:space-between;gap:15px;margin-bottom:22px;flex-wrap:wrap}.page-title p{color:#8291a5;font-size:13px;margin:0}.title-badges{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.pill{border:1px solid #dce4eb;border-radius:100px;background:#fff;color:#5c6d80;padding:8px 11px;font-size:11px;font-weight:700}.pill.green{border-color:#bbead4;background:#e9faf1;color:#167c51}.pill.amber{border-color:#f6ddb2;background:#fff9ec;color:#a76b15}.pill.blue{border-color:#c9e3ff;background:#eef6ff;color:#246da8}.demo-bar{margin-bottom:20px;border:1px solid #ffdfaf;background:#fff9eb;border-radius:12px;padding:11px 15px;display:flex;gap:10px;align-items:center;color:#8a5e20;font-size:12px;line-height:1.55}.demo-bar i{font-size:17px;font-style:normal}.demo-bar b{color:#62400a}.demo-bar.online{border-color:#bfebdb;background:#edf9f3;color:#267858}.icon-button{border:1px solid #dae3ee;background:white;color:#49657c;border-radius:9px;padding:9px 11px}.btn{border:1px solid #d6dee9;border-radius:10px;background:white;padding:10px 15px;font-weight:750;color:#35516a;display:inline-flex;align-items:center;justify-content:center;gap:7px;transition:background .15s,border-color .15s}.btn:hover{background:#f1f6fc}.btn.primary{background:#276bcc;color:white;border-color:#276bcc;box-shadow:0 4px 10px #276bcc25}.btn.primary:hover{background:#1559b9}.btn.dark{background:#17283c;color:white;border-color:#17283c}.btn.green{background:#159567;color:white;border-color:#159567}.btn.danger{background:#fff0f0;color:#b73741;border-color:#ffb5b9}.btn.sm{padding:7px 10px;font-size:11px;border-radius:7px}.btn.block{width:100%}.card{background:#fff;border:1px solid #e0e7ef;border-radius:16px;box-shadow:0 4px 16px #213a5510;padding:21px;min-width:0}.section-head{display:flex;align-items:start;justify-content:space-between;gap:10px;margin-bottom:18px}.section-head p{color:#8998aa;font-size:12px;margin:0}.section-head h2{margin-bottom:5px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:18px}.stat{position:relative;overflow:hidden}.stat-icon{position:absolute;right:18px;top:18px;color:#83a5c8;font-size:22px}.stat-val{font-size:31px;font-weight:800;letter-spacing:-1.4px;margin-top:14px}.stat-foot{font-size:11px;color:#8b9aab;margin-top:8px}.stat-label{font-size:12px;color:#5f7488;font-weight:700}.stat-accent{height:4px;background:#48a8e9;border-radius:5px;width:38px;margin-top:15px}.stat-accent.green{background:#2ac889}.stat-accent.orange{background:#f6ad43}.stat-accent.purple{background:#9e87f5}.two-col{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(295px,1fr);gap:17px;margin-bottom:18px}.two-col.equal{grid-template-columns:1fr 1fr}.chart{width:100%;height:278px;display:block;overflow:visible}.chart-area{fill:#3f95ee18}.chart-grid{stroke:#e7edf4;stroke-width:1}.chart-text{font-size:10px;fill:#92a0b0;font-family:system-ui}.legend{display:flex;gap:22px;flex-wrap:wrap;color:#718399;font-size:11px;margin-top:5px}.legend i{display:inline-block;width:9px;height:9px;border-radius:3px;margin-right:6px;background:#2f8de1}.legend i.orange{background:#f3a34a}.weather-feature{padding:18px;background:linear-gradient(125deg,#124b95,#4395ca);border-radius:14px;color:white;display:flex;justify-content:space-between;align-items:center;gap:10px}.weather-feature .big{font-size:45px;font-weight:800;letter-spacing:-2px}.weather-feature .condition{font-size:12px;opacity:.82}.weather-icon{font-size:53px}.weather-mini{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin-top:15px}.weather-mini>div{background:#f5f8fc;border-radius:9px;padding:11px 5px;text-align:center}.weather-mini b,.weather-mini span{display:block;font-size:11px}.weather-mini span{color:#94a3b5;font-size:10px;margin-bottom:6px}.weather-footer{font-size:10px;color:#9ba8b9;margin:12px 0 0;line-height:1.5}.table-wrap{overflow:auto}.table{border-collapse:collapse;width:100%;text-align:left;min-width:540px}.table th{padding:12px;color:#8290a3;background:#f4f7fb;font-size:11px;font-weight:800;white-space:nowrap}.table td{border-bottom:1px solid #edf0f4;color:#485a70;padding:13px 12px;font-size:12px}.table tr:last-child td{border-bottom:none}.table strong{color:#23354b}.progress-track{width:100%;height:7px;border-radius:10px;background:#eaf0f5;overflow:hidden}.progress-track span{height:100%;display:block;background:linear-gradient(90deg,#5a9ee7,#2bd3bd);border-radius:10px}.status{border-radius:6px;padding:5px 8px;font-size:10px;font-weight:800;display:inline-flex;align-items:center;gap:5px}.status.on{background:#e4f8ef;color:#17916b}.status.off{background:#eef2f6;color:#79879a}.status.manual{background:#fff0dd;color:#b4771c}.status.alert{background:#ffe9e9;color:#c14948}.units-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.unit-row{display:flex;justify-content:space-between;align-items:center;border:1px solid #e3e9f1;border-radius:11px;padding:12px;gap:10px}.unit-row strong{font-size:12px}.unit-row small{display:block;color:#9ba7b6;font-size:10px;margin-top:5px}.unit-row .reading{text-align:right;font-size:17px;color:#293f57;font-weight:800}.alarm-strip{border:1px solid #f0d6bf;background:#fff8ef;border-radius:12px;display:flex;align-items:center;gap:14px;padding:12px 15px;margin-bottom:18px;flex-wrap:wrap}.alarm-chip{border-radius:6px;background:#d84a50;color:white;padding:6px 10px;font-weight:800;font-size:12px}.alarm-chip.orange{background:#ea9141}.alarm-chip.yellow{background:#e7bd38;color:#594819}.alarm-message{font-size:12px;color:#825b34;flex:1}.alert-list{display:grid;gap:9px}.alert-item{padding:13px;background:#fff8f4;border:1px solid #fbe4d9;border-radius:10px;font-size:12px;color:#a46f4d}.alert-item strong{display:block;color:#99513e;margin-bottom:4px}.hmi-body{background:#eff1f4;min-height:calc(100vh - 68px)}.hmi-body .app-wrap{max-width:none}.hmi-subtabs{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-bottom:16px}.hmi-tab{padding:11px 16px;border-radius:9px 9px 0 0;border:1px solid #ccd3db;background:#e2e5e9;color:#435269;font-weight:650}.hmi-tab.active{background:#fff;color:#162a3e;font-weight:800;border-bottom:2px solid #2b8ddc}.hmi-time-status{margin-left:auto;color:#8494a5;font-size:11px}.hmi-layout{display:grid;grid-template-columns:minmax(0,2.25fr) minmax(275px,.95fr);gap:15px;align-items:start}.industrial{background:#fafbfc;border:1px solid #d6dce3;border-radius:11px;padding:18px;min-width:0}.industrial-title{font-size:12px;font-weight:800;color:#687789;letter-spacing:.9px;margin-bottom:15px}.floor-row{display:grid;grid-template-columns:55px 1fr;gap:11px;align-items:center;margin-bottom:12px}.floor-name{font-size:11px;color:#74869a;font-weight:850;display:flex;align-items:center;gap:9px}.floor-name:after{content:'';height:1px;background:#cbd3db;flex:1}.floor-grid{display:grid;gap:8px}.floor-grid.f3{grid-template-columns:1fr 1fr 2.3fr}.floor-grid.f2{grid-template-columns:repeat(5,1fr)}.floor-grid.f1{grid-template-columns:repeat(3,1fr) 1.65fr}.room-tile{position:relative;min-height:174px;border:1px solid #b8c3cf;background:#eff2f5;border-radius:6px;padding:11px;text-align:left;color:#26394a;display:flex;flex-direction:column;align-items:start;box-shadow:inset 0 1px white;transition:border .15s,background .15s}.room-tile:hover{background:#e5f0fa;border-color:#428ee4}.room-tile.selected{border:2px solid #3b8cde;box-shadow:0 0 0 2px #72b4ff33}.room-tile.hot{background:#fff3e9}.room-tile.server{background:#e0e7ed}.room-code{font-size:13px;font-weight:900}.room-type{font-size:10px;color:#8293a6;margin-top:1px}.room-temp{font-size:24px;letter-spacing:-.7px;font-weight:900;margin-top:8px}.room-temp.hot{color:#c16d23}.room-info{font-size:10px;color:#7e8fa2;margin-top:3px}.unit-chips{margin-top:auto;display:flex;gap:5px;flex-wrap:wrap;padding-top:12px}.unit-chip{display:flex;flex-direction:column;justify-content:center;align-items:center;border:2px solid #263645;color:white;background:#263645;border-radius:5px;min-width:52px;padding:5px 6px;font-size:10px;font-weight:800;line-height:1.2}.unit-chip.off{background:#7d8c9c;border-color:#7d8c9c}.unit-chip.manual{border-color:#f3bb23}.unit-chip.alert{border-color:#e64f54}.plan-bottom{display:flex;gap:18px;font-size:10px;color:#8392a2;margin-top:10px;flex-wrap:wrap}.plan-bottom b{font-size:15px;margin-right:4px}.side-stack{display:grid;gap:13px}.face-unit{padding:12px;border:1px solid #e0e6eb;background:#fff;border-radius:9px;margin:9px 0}.face-unit:first-child{margin-top:0}.face-head{display:flex;justify-content:space-between;gap:6px;align-items:center}.face-actions{display:flex;gap:7px;flex-wrap:wrap;align-items:center;margin-top:12px}.face-actions .btn{padding:7px 10px;font-size:11px}.group-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.group-grid .btn{font-size:11px;padding:12px 6px}.field-label{display:block;font-size:11px;font-weight:800;color:#78899c;margin-bottom:7px}.select,.input{border:1px solid #d3dce6;border-radius:9px;background:#fff;padding:10px 11px;color:#30475e;min-width:0}.select.full,.input.full{width:100%}.toggle-row{display:flex;justify-content:space-between;align-items:center;gap:15px;border-bottom:1px solid #e3e9ee;padding:12px 0;font-size:13px}.toggle-row input[type=checkbox]{width:18px;height:18px;accent-color:#267cd4}.form-columns{display:grid;grid-template-columns:1fr 1fr;gap:25px}.subhead{font-weight:800;color:#677c8e;font-size:12px;letter-spacing:.9px;margin:27px 0 12px}.days-tabs{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:15px}.days-tabs button{padding:10px 15px;border:1px solid #dce3eb;border-radius:9px;background:#fff;color:#65798d;font-weight:750}.days-tabs button.active{background:#226dbf;color:white;border-color:#226dbf}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.modal-backdrop{position:fixed;inset:0;background:#101a2ab8;display:grid;place-items:center;z-index:100;padding:15px}.modal{width:min(510px,100%);background:#fff;border-radius:18px;padding:25px;box-shadow:0 25px 80px #0006}.modal .field-label{margin:12px 0 5px}.modal-actions{display:flex;justify-content:end;gap:10px;margin-top:23px}.remote-body{background:#101216;color:#edf1f5;min-height:calc(100vh - 68px)}.remote-body .app-wrap{max-width:1240px}.remote-head{text-align:center;margin:5px 0 25px}.remote-head h1{color:white}.remote-head p{color:#96a0b1}.remote-head .pill{background:#1d2834;color:#add7fe;border-color:#314255}.remote-layout{display:grid;grid-template-columns:minmax(290px,.9fr) minmax(350px,1.1fr);gap:45px;align-items:start;margin-top:23px}.remote-side .dark-card{background:#1d222a;color:#d9e0e9;border:1px solid #303b46;border-radius:15px;padding:20px;margin-bottom:16px}.remote-side .dark-card h2{color:white}.remote-side .dark-card p{font-size:12px;color:#93a1b3}.remote-side .select{background:#151b23;border-color:#425269;color:#e5effb}.remote-side .status{margin-top:8px}.remote-side .label-value{border-bottom:1px solid #36404e;padding:12px 0;display:flex;justify-content:space-between;font-size:12px;color:#99aabe}.remote-side .label-value strong{color:#f0f7ff}.remote-control-wrap{display:flex;flex-direction:column;align-items:center;gap:13px}.remote-shell{background:linear-gradient(140deg,#f9f9f5,#d9ddd9);padding:24px;border-radius:39px;width:min(385px,100%);box-shadow:0 26px 55px #0007,inset 0 3px #ffffff; color:#111c19;border:1px solid #fff}.remote-screen{background:linear-gradient(145deg,#b5c9ad,#a9c2a5);height:188px;border-radius:14px;border:3px solid #91aa8d;padding:14px;color:#1b3420;font-family:'JetBrains Mono',monospace;box-shadow:inset 0 3px 8px #6a8a6e30}.screen-top,.screen-bottom{display:flex;justify-content:space-between;font-size:11px}.screen-temp{font-size:74px;text-align:center;font-weight:650;line-height:1.35;letter-spacing:-5px}.screen-temp sup{font-size:24px;letter-spacing:0;vertical-align:top;position:relative;top:19px}.screen-bottom{font-size:10px;justify-content:center;gap:8px}.screen-mode{text-align:right;font-size:10px;margin-top:7px}.remote-device-label{text-align:center;color:#192c2b;font-weight:850;margin:16px 0 2px}.remote-device-detail{text-align:center;font-size:10px;color:#8d9da5;margin-bottom:17px}.remote-buttons{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.remote-button{height:56px;border-radius:15px;border:1px solid #ffffff;background:linear-gradient(#fefefe,#dee1df);box-shadow:0 3px 0 #bbc1bd,0 6px 9px #0002;color:#203347;font-size:13px;font-weight:850}.remote-button:active{transform:translateY(2px);box-shadow:0 1px 0 #bbc1bd}.remote-button.power.active{background:linear-gradient(#23bc65,#178448);color:#fff;border-color:#1ba253}.remote-button.power.off{background:linear-gradient(#d45a64,#a92c42);color:#fff}.remote-button.plusminus{font-size:27px}.remote-button.manual{grid-column:1/4;border:2px solid #4e9afb;height:54px}.remote-device-foot{text-align:center;color:#8795a6;font-size:11px;line-height:1.65;max-width:390px}.remote-body .demo-bar{background:#20252b;border:1px solid #544a31;color:#dbc18b}.remote-body .demo-bar.online{border-color:#276049;color:#90dcba}.remote-body .demo-bar b{color:#fff0cb}.remote-body .page-title,.remote-body .alarm-strip{display:none}.remote-body .status.on{background:#153c2d}.remote-body .status.manual{background:#513f26}.remote-body .status.off{background:#354150}.toast-stack{position:fixed;right:18px;bottom:18px;z-index:120;display:grid;gap:9px}.toast{max-width:370px;border-radius:11px;background:#21334b;color:white;font-size:12px;padding:12px 15px;box-shadow:0 12px 30px #12203055}.toast.error{background:#a3383f}.auth-area{display:flex;align-items:center;gap:7px}.help-line{font-size:11px;color:#94a1b2;line-height:1.7}.foot-note{text-align:center;margin-top:34px;color:#9ba7b5;font-size:11px}.busy{opacity:.65;pointer-events:none}.user-tag{color:#cfe2fa;font-size:11px;max-width:120px;overflow:hidden;text-overflow:ellipsis}.empty{padding:25px;text-align:center;color:#8b9aad;font-size:12px}.notice{padding:13px;border-radius:9px;background:#f0f6fe;color:#47769c;border:1px solid #d5e9fc;font-size:12px}.divider{height:1px;background:#e7edf3;margin:15px 0}.remote-body .divider{background:#3e4751}@media(max-width:1160px){.top-right .mini-sep,.top-right .header-conditions{display:none}.hmi-layout{grid-template-columns:1fr}.side-stack{grid-template-columns:repeat(2,1fr)}.side-stack>.industrial:last-child{grid-column:1/-1}.floor-grid.f2{grid-template-columns:repeat(5,1fr)}.two-col{grid-template-columns:1fr 1fr}}@media(max-width:900px){.topbar{flex-wrap:wrap;gap:9px;min-height:66px;padding:9px 16px}.brand{font-size:14px}.nav{order:3;width:100%;margin:0;justify-content:center}.nav a{padding:9px 15px}.top-right{font-size:11px}.stats{grid-template-columns:repeat(2,1fr)}.two-col,.two-col.equal{grid-template-columns:1fr}.remote-layout{grid-template-columns:1fr;gap:20px}.remote-side{order:2;display:grid;grid-template-columns:1fr 1fr;gap:12px}.remote-side .dark-card{margin:0}.remote-control-wrap{order:1}.app-wrap{padding-top:18px}}@media(max-width:640px){.top-right .header-clock,.top-right .user-tag{display:none}.brand{font-size:13px}.nav a{font-size:12px}.app-wrap{padding:18px 11px 50px}.page-title h1{font-size:25px}.card{padding:15px;border-radius:12px}.stats{gap:9px}.stat-val{font-size:25px}.stat{min-height:140px}.weather-mini{grid-template-columns:repeat(5,1fr)}.weather-mini>div{padding:9px 2px}.units-grid{grid-template-columns:1fr}.floorplan-overflow{overflow-x:auto}.floorplan-inner{min-width:780px}.side-stack{grid-template-columns:1fr}.side-stack>.industrial:last-child{grid-column:auto}.form-columns,.form-grid{grid-template-columns:1fr}.hmi-time-status{width:100%;margin:0}.industrial{padding:13px}.remote-side{grid-template-columns:1fr}.remote-shell{width:min(370px,100%);padding:20px}.remote-screen{height:177px}.remote-device-foot{max-width:350px}.remote-head h1{font-size:24px}}
