.react-grid-layout{transition:height .2s;position:relative}.react-grid-item{transition:left .2s,top .2s,width .2s,height .2s}.react-grid-item img{pointer-events:none;-webkit-user-select:none;user-select:none}.react-grid-item.cssTransforms{transition-property:transform,width,height}.react-grid-item.resizing{z-index:1;will-change:width, height;transition:none}.react-grid-item.react-draggable-dragging{z-index:3;will-change:transform;transition:none}.react-grid-item.dropping{visibility:hidden}.react-grid-item.react-grid-placeholder{opacity:.2;z-index:2;-webkit-user-select:none;user-select:none;background:red;transition-duration:.1s}.react-grid-item.react-grid-placeholder.placeholder-resizing{transition:none}.react-grid-item>.react-resizable-handle{opacity:0;width:20px;height:20px;position:absolute}.react-grid-item:hover>.react-resizable-handle{opacity:1}.react-grid-item>.react-resizable-handle:after{content:"";border-bottom:2px solid #0006;border-right:2px solid #0006;width:5px;height:5px;position:absolute;bottom:3px;right:3px}.react-resizable-hide>.react-resizable-handle{display:none}.react-grid-item>.react-resizable-handle.react-resizable-handle-sw{cursor:sw-resize;bottom:0;left:0;transform:rotate(90deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-se{cursor:se-resize;bottom:0;right:0}.react-grid-item>.react-resizable-handle.react-resizable-handle-nw{cursor:nw-resize;top:0;left:0;transform:rotate(180deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-ne{cursor:ne-resize;top:0;right:0;transform:rotate(270deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-w,.react-grid-item>.react-resizable-handle.react-resizable-handle-e{cursor:ew-resize;margin-top:-10px;top:50%}.react-grid-item>.react-resizable-handle.react-resizable-handle-w{left:0;transform:rotate(135deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-e{right:0;transform:rotate(315deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-n,.react-grid-item>.react-resizable-handle.react-resizable-handle-s{cursor:ns-resize;margin-left:-10px;left:50%}.react-grid-item>.react-resizable-handle.react-resizable-handle-n{top:0;transform:rotate(225deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-s{bottom:0;transform:rotate(45deg)}.react-resizable{position:relative}.react-resizable-handle{box-sizing:border-box;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2IDYiIHN0eWxlPSJiYWNrZ3JvdW5kLWNvbG9yOiNmZmZmZmYwMCIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSI2cHgiIGhlaWdodD0iNnB4Ij48ZyBvcGFjaXR5PSIwLjMwMiI+PHBhdGggZD0iTSA2IDYgTCAwIDYgTCAwIDQuMiBMIDQgNC4yIEwgNC4yIDQuMiBMIDQuMiAwIEwgNiAwIEwgNiA2IEwgNiA2IFoiIGZpbGw9IiMwMDAwMDAiLz48L2c+PC9zdmc+);background-position:100% 100%;background-repeat:no-repeat;background-origin:content-box;width:20px;height:20px;padding:0 3px 3px 0;position:absolute}.react-resizable-handle-sw{cursor:sw-resize;bottom:0;left:0;transform:rotate(90deg)}.react-resizable-handle-se{cursor:se-resize;bottom:0;right:0}.react-resizable-handle-nw{cursor:nw-resize;top:0;left:0;transform:rotate(180deg)}.react-resizable-handle-ne{cursor:ne-resize;top:0;right:0;transform:rotate(270deg)}.react-resizable-handle-w,.react-resizable-handle-e{cursor:ew-resize;margin-top:-10px;top:50%}.react-resizable-handle-w{left:0;transform:rotate(135deg)}.react-resizable-handle-e{right:0;transform:rotate(315deg)}.react-resizable-handle-n,.react-resizable-handle-s{cursor:ns-resize;margin-left:-10px;left:50%}.react-resizable-handle-n{top:0;transform:rotate(225deg)}.react-resizable-handle-s{bottom:0;transform:rotate(45deg)}:root,:root[data-theme=sunset]{--bg:#1b1530;--card:#2a2148;--raised:#352a5a;--border:#54467f;--text:#f5f3ff;--muted:#b3a9d9;--accent:#fac775;--on-accent:#2b1a00;--heat:#fac775;--on-heat:#2b1a00;--heat-bg:#5a3d12;--heat-ink:#fde7c2;--cool:#7dd3fc;--on-cool:#062033;--cool-bg:#1e3a5f;--cool-ink:#e0f2fe;--ok:#6ee7b7;--ok-bg:#123a2f;--bad:#fda4af;--bad-bg:#4a1626;--font:Poppins, Inter, system-ui, -apple-system, "Segoe UI", sans-serif;--font-display:Poppins, Inter, system-ui, sans-serif;--card-border:0;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}:root[data-theme=cockpit]{--bg:#07090c;--card:#11161d;--raised:#182029;--border:#2b3746;--text:#f3f4f6;--muted:#8b95a5;--accent:#2dd4bf;--on-accent:#04201c;--heat:#fbbf24;--on-heat:#2b1a00;--heat-bg:#352707;--heat-ink:#fde68a;--cool:#60a5fa;--on-cool:#04172e;--cool-bg:#0d2a45;--cool-ink:#bfdbfe;--ok:#34d399;--ok-bg:#0c2e22;--bad:#f87171;--bad-bg:#3a1214;--font:Inter, system-ui, -apple-system, "Segoe UI", sans-serif;--font-display:Rajdhani, Inter, system-ui, sans-serif;--card-border:0;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}:root[data-theme=smarthome]{--bg:#eef1f6;--card:#fff;--raised:#e6ebf3;--border:#c3ccd9;--text:#1f2430;--muted:#5f6878;--accent:#1d4ed8;--on-accent:#fff;--heat:#b45309;--on-heat:#fff;--heat-bg:#fef3c7;--heat-ink:#92400e;--cool:#0e7490;--on-cool:#fff;--cool-bg:#cffafe;--cool-ink:#155e75;--ok:#166534;--ok-bg:#dcfce7;--bad:#991b1b;--bad-bg:#fee2e2;--font:Nunito, Inter, system-ui, -apple-system, "Segoe UI", sans-serif;--font-display:Nunito, Inter, system-ui, sans-serif;--card-border:0;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-theme=noapte]{--bg:#000;--card:#140606;--raised:#220909;--border:#4a1a14;--text:#ff7a66;--muted:#d4604f;--accent:#ff7a66;--on-accent:#1a0000;--heat:#ff7a66;--on-heat:#1a0000;--heat-bg:#3a0d08;--heat-ink:#ffb3a6;--cool:#ffb3a6;--on-cool:#1a0000;--cool-bg:#2a0c0a;--cool-ink:#ffd2ca;--ok:#ff9a88;--ok-bg:#2a0c0a;--bad:#ffd2ca;--bad-bg:#3a0d08;--font:Inter, system-ui, -apple-system, "Segoe UI", sans-serif;--font-display:Inter, system-ui, sans-serif;--card-border:0;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}:root[data-theme=soare]{--bg:#fff;--card:#fff;--raised:#eee;--border:#111;--text:#000;--muted:#333;--accent:#0040e0;--on-accent:#fff;--heat:#c2410c;--on-heat:#fff;--heat-bg:#ffedd5;--heat-ink:#7c2d12;--cool:#0369a1;--on-cool:#fff;--cool-bg:#e0f2fe;--cool-ink:#0c4a6e;--ok:#15803d;--ok-bg:#dcfce7;--bad:#b91c1c;--bad-bg:#fee2e2;--font:Inter, system-ui, -apple-system, "Segoe UI", sans-serif;--font-display:Inter, system-ui, sans-serif;--card-border:2px solid #111;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*{box-sizing:border-box}html,body{background:var(--bg);color:var(--text);font-family:var(--font);margin:0}body{-webkit-tap-highlight-color:transparent;font-size:16px;line-height:1.45}button{font:inherit;color:inherit;cursor:pointer}button:disabled{cursor:default;opacity:.55}h1,h2,h3{margin:0}.app{min-height:100vh;padding:max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));flex-direction:column;gap:18px;display:flex}.topbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.brand{align-items:center;gap:12px;display:flex}.brand h1{font-family:var(--font-display);font-size:30px;font-weight:700}.chip{border-radius:999px;align-items:center;gap:8px;padding:5px 12px;font-size:14px;font-weight:600;display:inline-flex}.chip:before{content:"";background:currentColor;border-radius:50%;width:8px;height:8px}.chip.ok{background:var(--ok-bg);color:var(--ok)}.chip.bad{background:var(--bad-bg);color:var(--bad)}.card.alarm{border-color:var(--bad);box-shadow:0 0 0 3px var(--bad)}.tools{align-items:center;gap:8px;display:flex}.btn{border:1px solid var(--border);background:0 0;border-radius:12px;min-height:44px;padding:0 16px;font-weight:600}.btn.primary{background:var(--accent);color:var(--on-accent);border:0}select.btn{appearance:none;color:var(--text);background:var(--card)}.grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr));align-items:start;gap:18px;display:grid}.card{background:var(--card);border:var(--card-border);border-radius:18px;flex-direction:column;gap:16px;padding:20px;display:flex}.card.offline{opacity:.6}.card-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.card-head h2{font-size:20px;font-weight:700}.muted{color:var(--muted)}.small{font-size:13px}.big{font-family:var(--font-display);font-size:56px;font-weight:700;line-height:1.05}.center{flex-direction:column;align-items:center;gap:4px;display:flex}.facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.facts span:first-child{color:var(--muted);font-size:13px;display:block}.facts b{font-size:17px}.bar{background:var(--raised);border-radius:6px;height:10px;overflow:hidden}.bar>div{background:var(--ok);height:100%}.toggle{border:2px solid var(--border);background:0 0;border-radius:999px;min-width:104px;min-height:44px;font-weight:700}.toggle.on.heat{background:var(--heat);color:var(--on-heat);border:0}.toggle.on.cool{background:var(--cool);color:var(--on-cool);border:0}.stepper{background:var(--raised);border-radius:16px;justify-content:space-between;align-items:center;gap:12px;padding:10px;display:flex}.stepper button{border:1px solid var(--border);background:var(--card);border-radius:14px;width:56px;height:56px;font-size:28px;font-weight:700}.stepper .val{font-family:var(--font-display);font-size:32px;font-weight:700}.choices{grid-template-columns:repeat(auto-fit,minmax(80px,1fr));gap:8px;display:grid}.choices button{border:2px solid var(--border);text-transform:capitalize;background:0 0;border-radius:12px;min-height:48px;font-weight:600}.choices.heat button[aria-pressed=true]{border-color:var(--heat);background:var(--heat-bg);color:var(--heat-ink);font-weight:700}.choices.cool button[aria-pressed=true]{border-color:var(--cool);background:var(--cool-bg);color:var(--cool-ink);font-weight:700}.pending{color:var(--accent);font-size:13px}.error{color:var(--bad);font-size:14px}.pin{flex-wrap:wrap;justify-content:center;align-items:center;gap:72px;min-height:100vh;padding:24px;display:flex}.pin-text{flex-direction:column;gap:12px;width:min(360px,100%);display:flex}.activate{flex-direction:column;gap:10px;width:min(360px,100%);display:flex}.activate input{text-align:left}.pin-text h1{font-family:var(--font-display);font-size:40px}.pin-pad{flex-direction:column;align-items:center;gap:22px;display:flex}.dots{gap:14px;display:flex}.dots span{border:2px solid var(--border);border-radius:50%;width:16px;height:16px}.dots span.full{background:var(--accent);border-color:var(--accent)}.keys{grid-template-columns:repeat(3,88px);gap:12px;display:grid}.keys button{border:var(--card-border);background:var(--card);height:72px;font-family:var(--font-display);border-radius:18px;font-size:28px;font-weight:700}.keys button.ghost{color:var(--muted);background:0 0}.keys button.go{background:var(--accent);color:var(--on-accent)}.overlay{z-index:10;background:#0009;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.overlay .pin{background:var(--bg);border-radius:24px;min-height:0}.empty{text-align:center;padding:40px}.battery{align-items:center;gap:16px;display:flex}.battery-text{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.tank{flex:none}.cells{gap:6px;margin-top:6px;display:grid}.cells div{background:var(--raised);border-radius:6px;height:36px;position:relative;overflow:hidden}.cells i{background:var(--ok);opacity:.8;transition:height 1s;position:absolute;bottom:0;left:0;right:0}.cells span{color:var(--text);justify-content:center;align-items:center;font-size:11px;display:flex;position:absolute;inset:0}.dial{align-self:center;width:100%;max-width:280px}.dial .halo{opacity:0;transition:opacity .6s}.dial.working .halo{opacity:.25}@media (prefers-reduced-motion:no-preference){.wave{animation:3s linear infinite rv-wave}.wave.still{animation-duration:9s}.flowline .run{stroke-dasharray:4 8;animation:.8s linear infinite rv-flow}.dial.working .halo{animation:2.4s ease-in-out infinite rv-pulse}.dial.cool .waves path{animation:2.2s ease-in infinite rv-sink}.dial.heat .waves path{animation:2.2s ease-in infinite rv-rise}.dial .waves path{opacity:0}.sun.shining .rays{transform-origin:50px 50px;animation:40s linear infinite rv-spin}}@keyframes rv-spin{to{transform:rotate(360deg)}}@keyframes rv-wave{to{transform:translate(-76px)}}@keyframes rv-flow{to{stroke-dashoffset:-24px}}@keyframes rv-pulse{0%,to{opacity:.12}50%{opacity:.35}}@keyframes rv-rise{0%{opacity:0;transform:translateY(0)}30%{opacity:.9}to{opacity:0;transform:translateY(-40px)}}@keyframes rv-sink{0%{opacity:0;transform:translateY(-40px)}30%{opacity:.9}to{opacity:0;transform:translateY(0)}}.btn.link{min-height:0;color:var(--accent);text-align:left;border:0;padding:0;text-decoration:underline}.recovery{font-family:var(--font-display);letter-spacing:.08em;background:var(--raised);text-align:center;-webkit-user-select:all;user-select:all;border-radius:14px;padding:14px 18px;font-size:34px;font-weight:700}.code-input{letter-spacing:.1em;text-transform:uppercase;color:var(--text);background:var(--card);font-size:22px}.row{gap:10px;display:flex}.card-grid{position:relative}.card-grid .react-grid-item>.cell,.card-grid .react-grid-item.cell{display:flex}.card-grid .react-grid-item>.card,.card-grid .cell>.card{flex:1;min-height:0;overflow:auto}.card-grid .react-grid-item{display:flex}.card-grid .react-grid-item>.card{height:100%}.card-grid.editing .card{outline:2px dashed var(--border);outline-offset:-2px}.card-grid .drag-handle{cursor:grab;-webkit-user-select:none;user-select:none;touch-action:none}.card-grid .react-draggable-dragging .drag-handle{cursor:grabbing}.card-grid .grip{color:var(--muted)}.card-grid .react-grid-placeholder{background:var(--accent);opacity:.2;border-radius:18px}.card-grid .react-resizable-handle{z-index:2;background-image:none;width:28px;height:28px}.card-grid .react-resizable-handle:after{content:"";border-right:3px solid var(--muted);border-bottom:3px solid var(--muted);width:11px;height:11px;position:absolute;bottom:7px;right:7px}.card-grid:not(.editing) .react-resizable-handle{display:none}.net-panel{width:min(640px,100vw - 32px);max-height:calc(100vh - 48px);overflow:auto}.net-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.net-head h2,.net-head h3{margin:0}.net-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.net-item{text-align:left;justify-content:space-between;align-items:center;width:100%;display:flex}.net-form{flex-direction:column;gap:12px;display:flex}.net-wait{font-weight:600}.ok-text{color:var(--ok);font-size:14px}.update-banner{background:var(--card);border:var(--card-border);border-radius:14px;flex-wrap:wrap;align-items:center;gap:12px;margin:0 16px 12px;padding:12px 16px;display:flex}.about{border-collapse:collapse;width:100%}.about th{text-align:left;color:var(--muted,inherit);vertical-align:top;padding:6px 12px 6px 0;font-weight:500}.about td{padding:6px 0;font-weight:600}.tablet-battery{color:var(--text);align-items:center;gap:6px;font-weight:600;display:inline-flex}.tablet-battery.low{color:var(--bad)}.tablet-battery.power{color:#34c759}.menu{position:relative}.menu-panel{z-index:20;background:var(--card);border:var(--card-border);border-radius:16px;flex-direction:column;gap:10px;min-width:300px;padding:14px;display:flex;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 10px 30px #00000059}.menu-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.menu-item{text-align:left;width:100%}.brightness input[type=range]{flex:1;width:auto}.manual{width:min(820px,100vw - 32px)}.manual h3{margin:18px 0 6px;font-size:1.05rem}.manual ul{margin:0;padding-left:1.2em}.manual li{margin:6px 0;line-height:1.45}.safety-list{flex-direction:column;margin:8px 0 0;padding:0;list-style:none;display:flex}.safety-row{border-top:1px solid var(--card-border);padding:10px 0}.safety-row:first-child{border-top:0}.safety-row.offline{opacity:.6}.safety-line{align-items:center;gap:12px;display:flex}.safety-name{flex:1;min-width:0;font-size:20px;font-weight:700}.safety-value{font-family:var(--font-display);font-size:24px;font-weight:700}.safety-row.alarm .safety-name{color:var(--bad)}.safety-actions{gap:8px;margin-top:8px;display:flex}.safety-row p{margin:4px 0 0}@media (width<=600px){.app{padding:max(10px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));gap:12px}.brand h1{font-size:clamp(20px,6vw,28px)}.grid{gap:12px}.card{border-radius:14px;gap:10px;padding:clamp(12px,3.5vw,18px)}.card-head h2{font-size:clamp(16px,4.6vw,20px)}.big{font-size:clamp(32px,10vw,52px)}.dial{max-width:clamp(130px,42vw,220px)}.stepper{border-radius:12px;padding:6px}.stepper button{width:clamp(40px,12vw,52px);height:clamp(40px,12vw,52px);font-size:24px}.stepper .val{font-size:clamp(22px,7vw,30px)}.choices{gap:6px}.choices:has(>:nth-child(4)){grid-template-columns:repeat(3,minmax(0,1fr))}.choices button{min-height:42px;padding:0 4px;font-size:clamp(13px,3.6vw,15px)}.toggle{min-width:88px;min-height:40px}.tank{width:clamp(52px,16vw,88px);height:auto}.sun{width:clamp(56px,17vw,96px);height:auto}.cells div{height:28px}.facts b{font-size:clamp(14px,4.2vw,17px)}.btn{min-height:40px;padding:0 12px}}
