:root{color-scheme:light;--ink:#182c38;--muted:#647783;--line:#e1e9ed;--teal:#087f76;--bg:#f3f6f8}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.45 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:var(--teal);text-decoration:none}a:hover{text-decoration:underline}button,input{font:inherit}button,a,input{touch-action:manipulation}:focus-visible{outline:3px solid #20a69b;outline-offset:3px}.skip{position:absolute;left:12px;top:-80px;padding:10px;background:white;z-index:9}.skip:focus{top:8px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.topbar{background:#fff;border-bottom:1px solid var(--line)}.topbar-inner{max-width:1600px;margin:auto;padding:10px 24px;display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{display:flex;gap:9px;align-items:center;font-size:16px;font-weight:750;color:var(--ink)}.brand-mark{display:grid;place-items:center;background:var(--teal);color:white;width:30px;height:30px;border-radius:9px;font-size:22px}.topbar nav{display:flex;gap:20px;font-size:13px}.topbar nav a{color:var(--muted);padding:4px 0}main{max-width:1600px;margin:auto;padding:16px 24px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}h1{font-size:24px;line-height:1.2;letter-spacing:-.6px;margin:0}h2{font-size:15px;line-height:1.35;margin:0}.eyebrow{font-size:10px;font-weight:750;letter-spacing:1.2px;text-transform:uppercase;color:var(--teal);margin:0 0 4px}.description{color:var(--muted);font-size:12px;margin:4px 0 0}.muted{color:var(--muted)}.location{background:#e5f3ef;border:1px solid #cce5dd;border-radius:100px;color:#29695e;font-size:12px;padding:4px 11px;white-space:nowrap}
.panel{background:#fff;border:1px solid var(--line);border-radius:12px;margin-bottom:12px;overflow:hidden}.filter{padding:10px 14px;display:flex;gap:12px;align-items:end;flex-wrap:wrap}.filter-heading{margin-right:auto;align-self:center}.field{display:flex;flex-direction:column;gap:3px;min-width:0}.field label{font-size:11px;font-weight:650;color:#4d6572}input[type=date]{border:1px solid #cedade;border-radius:7px;min-height:36px;padding:5px 9px;background:#fff;color:var(--ink);min-width:155px;max-width:100%}button,.button{border:0;border-radius:7px;background:var(--teal);color:#fff;padding:8px 14px;min-height:36px;font-weight:650;cursor:pointer}button:hover,.button:hover{background:#06665f}
.metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:6px}.metric{padding:10px 14px;margin:0}.metric-label{font-size:12px;color:var(--muted);margin:0 0 3px}.metric-value{font-size:27px;font-weight:650;line-height:1.15;letter-spacing:-.5px;margin:0;font-variant-numeric:tabular-nums}.unit{font-size:15px;font-weight:450;color:var(--muted);margin-left:4px}.measurement-note{font-size:11px;color:var(--muted);margin:0 2px 12px;line-height:1.4}.workspace-panels{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:12px;align-items:start}.workspace-panels>.panel{min-width:0}.panel-heading{padding:12px 14px 8px;display:flex;align-items:center;justify-content:space-between;gap:10px}.panel-heading p{margin:3px 0 0;font-size:11px;color:var(--muted)}.count{border-radius:100px;background:#f0f5f7;padding:3px 8px;color:#556d7b;font-size:11px;white-space:nowrap}.chart-wrap{padding:0 10px 2px}.chart{height:280px;width:100%}.chart-note{padding:0 14px 10px;margin:0;font-size:11px;color:var(--muted)}.reset-chart{background:#edf5f4;color:var(--teal);font-size:11px;padding:6px 10px;min-height:32px;white-space:nowrap}.reset-chart:hover{background:#dceeea}.reset-chart:disabled{opacity:.45;cursor:default}.series-controls{margin:0 14px 4px;padding:0;border:0;display:flex;gap:0 12px;flex-wrap:wrap}.series-controls label{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:5px;cursor:pointer;min-height:30px}.series-controls input{accent-color:var(--teal);width:14px;height:14px;margin:0}
.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:12px}caption{position:absolute;width:1px;height:1px;overflow:hidden}th{background:#f8fafb;color:#647783;font-size:10px;letter-spacing:.25px;text-transform:uppercase;font-weight:650}th,td{padding:9px 12px;border-bottom:1px solid #eaf0f2}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#f8fbfb}td:first-child{font-weight:600;white-space:normal;overflow-wrap:anywhere;min-width:100px}td{white-space:nowrap;font-variant-numeric:tabular-nums}.temperature{font-weight:700}.series-dot{display:inline-block;width:6px;height:6px;margin-right:7px;border-radius:50%;background:var(--teal)}.status{display:inline-block;border-radius:5px;padding:2px 6px;font-size:10px;font-weight:650;background:#f0f3f5;color:#667883}.status.on{background:#e3f5ed;color:#237451}.status small{display:block;font-size:9px;font-weight:400}.empty{padding:20px;text-align:center;color:var(--muted)}.notice{border:1px solid #efd6a4;border-radius:9px;background:#fff8e9;padding:9px 12px;margin-bottom:12px;color:#765821}.mobile-table-hint{display:none}footer{display:flex;justify-content:space-between;gap:14px;color:var(--muted);font-size:11px;padding:0 2px 4px}abbr[title]{text-decoration:none;cursor:help}
@media(min-width:1000px){.workspace-panels .table-wrap{max-height:430px}.workspace-panels #pomiary .panel-heading p{max-width:330px}.chart{height:300px}}
@media(min-width:600px) and (max-width:999px){main{padding:14px 18px}.topbar-inner{padding:9px 18px}.workspace-panels{grid-template-columns:1fr;gap:0}.chart{height:250px}.filter{gap:10px}.filter-heading h2{font-size:13px}.filter button{padding:8px 10px}input[type=date]{min-width:140px}th,td{padding:8px 14px}.metrics{gap:8px}}
@media(max-width:599px){body{font-size:13px}.topbar-inner{padding:8px 10px;gap:10px}.brand{font-size:14px}.brand-mark{width:27px;height:27px;border-radius:8px}.topbar nav{font-size:11px;gap:14px}.topbar nav a{padding:8px 0}main{padding:10px}.page-heading{margin-bottom:9px}h1{font-size:20px}.location{font-size:10px;padding:4px 8px}.filter{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:7px;padding:9px}.filter-heading{display:none}.field label{font-size:10px}input[type=date]{width:100%;min-width:0;min-height:44px;padding:5px;font-size:12px}.filter button{min-height:44px;padding:8px;font-size:12px}.filter button .button-long{display:none}.filter button .button-short{display:inline}.panel{border-radius:10px;margin-bottom:9px}.metrics{gap:6px;margin-bottom:5px}.metric{padding:8px;margin:0}.metric-label{font-size:10px;min-height:28px;margin-bottom:3px}.metric-value{font-size:23px}.unit{font-size:12px;margin-left:2px}.measurement-note{font-size:10px;margin-bottom:9px}.workspace-panels{grid-template-columns:1fr;gap:0}.panel-heading{padding:9px 10px 6px}.panel-heading h2{font-size:14px}.panel-heading p{font-size:10px;margin-top:2px}.count{font-size:10px;padding:3px 7px}.reset-chart{min-height:36px;font-size:10px;padding:7px 8px}.chart-wrap{padding:0 6px}.chart{height:210px}.series-controls{margin:0 10px 4px;gap:0 10px}.series-controls label{font-size:10px;min-height:32px}.chart-note{font-size:10px;padding:0 10px 9px}.table-wrap{overflow-x:auto}table{font-size:11px;table-layout:fixed}th,td{padding:7px 5px}th{font-size:9px;letter-spacing:0}td{white-space:normal}th:first-child{width:29%}th:nth-child(2){width:19%}th:nth-child(3){width:19%}th:nth-child(4){width:17%}th:nth-child(5){width:16%}td:first-child{min-width:0}.series-dot{width:5px;height:5px;margin-right:4px}.status{font-size:9px;padding:2px 4px}.status small{font-size:8px}.mobile-table-hint{display:none}.empty{padding:16px}footer{font-size:10px;gap:8px}footer a{max-width:55%;text-align:right}}
.button-short{display:none}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

@media(min-width:1000px) and (max-height:800px){.chart{height:240px}main{padding-top:12px}.topbar-inner{padding-top:8px;padding-bottom:8px}}
.sensor-cell{display:flex;align-items:center;justify-content:space-between;gap:8px}.sensor-name{min-width:0}.heater-badge{flex-shrink:0;text-align:center;border:1px solid #e0e7e9;border-radius:7px;padding:3px 6px;line-height:1.25}.heater-badge.on{border-color:#c4e6d5}.heater-badge small{white-space:nowrap;margin-top:2px}@media(max-width:599px){th:first-child{width:42%}th:nth-child(2){width:20%}th:nth-child(3){width:20%}th:nth-child(4){width:18%}.sensor-cell{gap:5px}.heater-badge{padding:3px 4px;border-radius:6px}}
.header-actions{display:flex;align-items:center;gap:16px}.theme-toggle{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;min-height:32px;border:1px solid var(--line);background:var(--bg);color:var(--ink);font-size:11px;font-weight:550}.theme-toggle:hover{background:#e4efed}.theme-icon{font-size:17px;line-height:1}.theme-toggle:focus-visible{outline-offset:2px}[data-theme=dark]{color-scheme:dark;--ink:#e1edf2;--muted:#a6bac7;--line:#344652;--teal:#59cabb;--bg:#101b24}[data-theme=dark] .topbar,[data-theme=dark] .panel,[data-theme=dark] input[type=date],[data-theme=dark] .skip{background:#192831}[data-theme=dark] input[type=date]{border-color:#405763}[data-theme=dark] .field label{color:#b9cbd6}[data-theme=dark] .brand-mark{background:#187e74}[data-theme=dark] .location{background:#163d37;border-color:#2d5b52;color:#8ed7c6}[data-theme=dark] .count{background:#273b48;color:#b6cbd6}[data-theme=dark] th{background:#20323e;color:#a6bac7}[data-theme=dark] th,[data-theme=dark] td{border-color:#2b3c48}[data-theme=dark] tbody tr:hover{background:#223844}[data-theme=dark] .status{background:#2c3e49;color:#bbcbd5}[data-theme=dark] .heater-badge{border-color:#425863}[data-theme=dark] .status.on{background:#1c4938;border-color:#346b52;color:#9de0b9}[data-theme=dark] .reset-chart{background:#25423f;color:#8ed7c6}[data-theme=dark] .reset-chart:hover{background:#305650}[data-theme=dark] .notice{background:#3d321f;border-color:#766039;color:#eed29e}[data-theme=dark] .theme-toggle:hover{background:#2b414e}@media(max-width:599px){.header-actions{gap:10px}.theme-toggle{width:36px;min-height:36px;padding:5px;justify-content:center}.theme-label{display:none}}
[data-theme=dark] button[type=submit]{background:#147d73;color:#ffffff}[data-theme=dark] button[type=submit]:hover{background:#106b63}
