.house-system{height:100%;min-height:0;display:flex;flex-direction:column;gap:12px;color:var(--text,#e8efff);font-family:inherit}.sys-tabs{display:flex;gap:8px;flex:none}.sys-tabs button{font:inherit;font-size:14px;font-weight:650;min-height:40px;padding:8px 18px;border:1px solid #60728b55;background:var(--surface,#192332);color:inherit;border-radius:12px;cursor:pointer}.sys-tabs .selected{background:#51edc524;border-color:#51edc5;color:var(--accent,#51edc5)}.sys-content{flex:1;min-height:0}.sys-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));height:100%;gap:12px}.sys-card{border:1px solid #6d81972c;border-radius:18px;background:var(--surface,#131f30);padding:18px;display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden}.sys-card header{display:flex;align-items:center;justify-content:space-between;gap:8px}.sys-card h3,.battery-cell h3{font-size:18px;line-height:1.2;margin:0}.sys-card header>span,.sys-caption{font-size:10px;letter-spacing:.06em;color:var(--muted,#9baac1)}.sys-dial{width:146px;height:146px;border-radius:50%;margin:20px auto;background:conic-gradient(var(--tone) calc(var(--level)*1%),#6b7a9226 0);padding:9px;box-shadow:0 0 35px color-mix(in srgb,var(--tone) 10%,transparent)}.sys-dial>div{border-radius:50%;background:var(--surface,#131f30);height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center}.sys-dial b{font-size:31px;line-height:1.2;font-variant-numeric:tabular-nums}.sys-dial small{font-size:14px;margin-left:2px;color:var(--muted,#9baac1)}.sys-dial span{font-size:11px;color:var(--muted,#9baac1)}.sys-row{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:12px;min-height:28px}.sys-row span{color:var(--muted,#9baac1)}.sys-row b{font-weight:600;text-align:right;font-variant-numeric:tabular-nums}.sys-spark{min-height:50px;flex:1;margin-top:14px;display:flex}.sys-spark .chart-wrap{display:flex;width:100%;min-height:0;height:100%;padding:0;gap:7px}.sys-spark .chart-y{display:flex;flex-direction:column;justify-content:space-between;font-size:9px;min-width:32px;position:relative;color:var(--muted,#9baac1)}.sys-spark .chart-svg{height:100%;width:calc(100% - 40px);flex:1;min-width:0}.sys-spark .chart-grid{stroke:#94abc228;stroke-width:1;fill:none}.sys-spark .chart-cursor{display:none}.sys-caption{display:block;margin-top:7px;letter-spacing:0}.sys-progress{height:7px;border-radius:8px;background:#7e8da526;overflow:hidden;flex:none}.sys-progress i{display:block;height:100%;border-radius:8px}.sys-links{margin:20px 0;display:grid;gap:18px}.sys-links>div{display:flex;gap:10px;align-items:center;font-size:15px}.sys-links b{margin-left:auto}.sys-links i{width:9px;height:9px;border-radius:100%;background:#8998ad}.sys-links .good{background:#4aebaa;box-shadow:0 0 12px #4aebaa77}.sys-links .bad{background:#ff5773}.sys-transfer{display:flex;gap:20px;margin:30px 0}.sys-transfer>div{flex:1;display:flex;flex-direction:column;gap:12px}.sys-transfer span{color:var(--muted,#9baac1)}.sys-transfer b{font-size:28px;color:#51edc5}.sys-transfer small{font-size:12px;color:var(--muted,#9baac1)}.sys-versions{margin-top:auto;padding-top:12px}.sys-thermal{height:100%;display:grid;grid-template-rows:1fr 1fr;gap:12px}.sys-thermometers{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.thermal-card h3{font-size:16px}.thermal-card small{color:var(--muted,#9baac1);font-size:11px}.sys-thermo-value{display:flex;align-items:center;gap:22px;flex:1;margin:16px 0}.sys-thermo-value>b{font-size:27px}.sys-thermometer{height:85px;width:18px;background:#7492af20;border:1px solid #7492af66;border-radius:12px;position:relative;display:flex;align-items:flex-end;padding:3px}.sys-thermometer i{width:100%;border-radius:8px;background:linear-gradient(#ffb569,#ff647e);box-shadow:0 0 16px #ff647e50}.sys-thermometer:after{content:'';width:25px;height:25px;border-radius:50%;background:#ff647e;border:3px solid #293647;position:absolute;bottom:-13px;left:-5px}.thermal-history .sys-spark{margin-top:10px}.ha-empty{display:grid;place-items:center;text-align:center;min-height:50px;width:100%;color:var(--muted,#9baac1);font-size:13px}.battery-cell{border:1px solid #6d81972c;border-radius:18px;background:var(--surface,#131f30);display:flex;align-items:center;gap:22px;padding:22px;min-height:0;min-width:0;overflow:hidden}.aa-cell{position:relative;width:44px;height:126px;border:2px solid #8494ab;border-radius:10px;background:linear-gradient(90deg,#64799026,#a9bcd826,#64799026);padding:4px;flex:none;box-shadow:inset 4px 0 7px #0005,0 0 20px color-mix(in srgb,var(--battery) 10%,transparent)}.aa-cell:before{content:'';position:absolute;width:20px;height:6px;border:2px solid #8494ab;border-bottom:0;border-radius:4px 4px 0 0;top:-8px;left:10px}.aa-fill{position:absolute;inset:4px;border-radius:5px;overflow:hidden}.aa-cell i{position:absolute;bottom:0;left:0;right:0;height:var(--charge);border-radius:5px;background:linear-gradient(90deg,color-mix(in srgb,var(--battery) 70%,#071722),var(--battery));box-shadow:0 0 14px color-mix(in srgb,var(--battery) 35%,transparent)}.aa-cell span,.aa-cell em{position:absolute;left:0;right:0;text-align:center;font:18px sans-serif;color:#dce6f4;z-index:1}.aa-cell span{top:9px}.aa-cell em{bottom:9px}.battery-cell-text{min-width:0}.battery-cell h3{font-size:17px}.battery-cell sup{font-size:11px;color:var(--muted,#9baac1);margin-left:4px}.battery-cell strong{display:block;font-size:35px;color:var(--battery);line-height:1.2;margin:8px 0;font-variant-numeric:tabular-nums}.battery-cell strong small{font-size:17px;margin-left:4px}.battery-cell p{margin:0 0 8px;color:var(--muted,#9baac1);font-size:12px}.battery-state{font-size:11px;color:var(--battery)}.diagnostic-overview.system-expanded{display:block;height:calc(100dvh - 260px);min-height:210px}.battery-heading{margin:0!important;height:0;overflow:hidden}.chart-view-options{display:flex;gap:5px}.chart-view-options button{font-size:11px;padding:6px 9px;min-height:30px}.chart-source-note{font-size:11px;color:var(--muted);margin-left:auto}.diagnostic-foot{font-size:11px;color:var(--muted)}
@media(max-height:700px),(max-width:1000px){.house-system{gap:8px}.sys-columns,.sys-thermometers,.sys-thermal{gap:8px}.sys-card{padding:10px;border-radius:12px}.sys-card h3{font-size:14px}.sys-card header>span{font-size:8px}.sys-dial{width:70px;height:70px;padding:5px;margin:5px auto}.sys-dial b{font-size:19px}.sys-dial span{font-size:9px}.sys-row{font-size:10px;min-height:22px;gap:4px}.sys-spark{margin-top:5px;min-height:35px}.sys-caption{font-size:9px;margin-top:4px}.sys-tabs button{font-size:12px;min-height:36px;padding:6px 12px}.sys-thermo-value{gap:14px;margin:8px 0}.sys-thermo-value>b{font-size:22px}.sys-thermometer{height:48px}.thermal-card small{font-size:9px}.sys-links{gap:12px;margin:14px 0}.sys-links>div{font-size:12px}.sys-transfer{margin:18px 0;gap:12px}.sys-transfer b{font-size:22px}.sys-transfer span{font-size:11px}.battery-cell{padding:15px;gap:16px}.aa-cell{height:82px;width:34px}.aa-cell:before{left:7px;width:16px}.battery-cell strong{font-size:27px;margin:4px 0}.battery-cell h3{font-size:14px}.battery-cell p{font-size:10px;margin-bottom:3px}.battery-state{font-size:10px}.diagnostic-overview.system-expanded{height:calc(100dvh - 205px)}.chart-source-note{display:none}}
.sys-spark .chart-y{padding:0;line-height:1}.sys-spark .chart-y span:nth-child(2),.sys-spark .chart-y span:nth-child(4){display:none}
@media(max-width:650px){.sys-columns{grid-template-columns:1fr;height:auto}.house-system,.sys-content{height:auto}.diagnostic-overview.system-expanded{height:auto}.sys-spark{height:90px;flex:none}.sys-thermometers{grid-template-columns:1fr 1fr}.sys-thermal{height:auto;display:block}.thermal-history{height:180px;margin-top:10px}}

@media(min-width:760px) and (max-height:700px){.tablet-layout .battery-grid .battery-cell{height:96px;padding:10px 15px}.tablet-layout .battery-grid .aa-cell{height:70px}.tablet-layout .battery-grid .battery-cell p{display:none}.diagnostic-foot{padding:5px 0!important}}
