:root{color-scheme:light;--ink:#18273b;--muted:#748093;--line:#e6eaf0;--paper:#f5f7fa;--navy:#111e31;--blue:#357be5;--amber:#d68b35;--green:#218568;--radius:14px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;background:var(--paper);color:var(--ink);font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,select{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.5}button,a,summary{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid #78a9f4;outline-offset:4px}button{color:inherit}svg{width:20px;height:20px;flex-shrink:0}[hidden]{display:none!important}.skip{position:fixed;top:-80px;left:20px;z-index:10;padding:12px 20px;border-radius:8px;background:white}.skip:focus{top:12px}
.sidebar{position:fixed;inset:0 auto 0 0;width:226px;background:var(--navy);color:#c4ccd8;display:flex;flex-direction:column;padding:33px 19px 18px;z-index:5}.brand{display:flex;align-items:center;gap:12px;padding:0 7px;color:#fff;font-weight:750;letter-spacing:.045em;font-size:17px;line-height:1.25}.brand b{font-weight:450;color:#d2dce9}.brand small{display:block;font-size:8px;letter-spacing:.23em;color:#8b9bb2;margin-top:7px}.brand-mark{display:grid;place-items:center;background:#243650;border:1px solid #3b506b;border-radius:10px;width:39px;height:40px;color:#6ca3f3}.brand-mark svg{width:28px;height:28px}.sidebar-caption{font-size:9px;letter-spacing:.15em;font-weight:700;color:#75869e;margin:53px 13px 13px}nav{display:flex;flex-direction:column;gap:7px}.nav-item{display:flex;align-items:center;gap:11px;padding:12px 13px;border-radius:8px;font-size:12px;font-weight:550;transition:background .18s}.nav-item:hover{background:#1d2c42}.nav-item.active{background:#293f60;color:#fff;box-shadow:inset 3px 0 #67a0f2}.nav-symbol{font-size:19px;width:22px;line-height:1;text-align:center;color:#859ab7}.active .nav-symbol{color:#88b7fb}.nav-count{margin-left:auto;background:#26364c;color:#aebed3;font-size:10px;min-width:19px;text-align:center;border-radius:4px;padding:1px 4px}.sidebar-bottom{margin-top:auto}.sidebar-bottom>a{font-size:11px;display:flex;justify-content:space-between;padding:10px 12px;color:#9aabc1}.sidebar-bottom>a:hover{color:#fff}.workspace{margin:25px 5px 0;padding:20px 0 0;border-top:1px solid #2a3649;display:flex;align-items:center;gap:9px;font-size:10px;font-weight:650}.workspace small{display:block;font-weight:400;color:#7f90a7;font-size:10px;margin-top:3px}.workspace-monogram{height:32px;width:32px;background:#2c3c54;display:grid;place-items:center;border-radius:50%;font-size:13px;color:#d6e3f5}.workspace i{width:6px;height:6px;border-radius:50%;background:#5b7494;margin-left:auto}.workspace-main{margin-left:226px;min-width:0}.topbar{height:66px;padding:0 38px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;font-size:11px;color:var(--muted)}.topbar strong{font-weight:550;color:#415168}.crumb-separator{margin:0 15px;color:#c2cad4}#today{font-size:11px}main{max-width:1430px;margin:0 auto;padding:31px 38px 25px;min-width:0}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:25px}.eyebrow{font-size:9px;font-weight:750;letter-spacing:.18em;color:#8791a0;margin:0 0 7px}h1{font-size:32px;letter-spacing:-1.3px;line-height:1.2;font-weight:700;margin:0 0 9px}.intro{font-size:12px;color:var(--muted);margin:0}.sync-area{text-align:right;flex-shrink:0}.sync-status{font-size:11px;font-weight:550;display:inline-flex;align-items:center;gap:7px;color:var(--green)}.sync-status i{height:6px;width:6px;background:currentColor;border-radius:50%;box-shadow:0 0 0 4px #e9f5f0}.sync-status[data-state=error]{color:#b77625}.sync-status[data-state=error] i{box-shadow:0 0 0 4px #fff0db}.sync-status[data-state=loading]{color:#738297}.sync-area small{display:block;margin-top:7px;font-size:10px;color:#8a95a5;font-variant-numeric:tabular-nums}
.overview{display:grid;grid-template-columns:.85fr 1fr 1fr;background:white;border:1px solid var(--line);border-radius:12px;margin-bottom:22px;box-shadow:0 2px 3px #132f5110}.overview>div{display:flex;align-items:center;gap:13px;padding:18px 22px;min-width:0}.overview>div+div{border-left:1px solid var(--line)}.overview-icon{width:39px;height:39px;border-radius:10px;background:#f0f3f7;color:#738299;display:grid;place-items:center;font-size:23px;flex-shrink:0}.sigfox-icon{background:#fcf2e6;color:#bf8438}.wifi-icon{background:#edf3fd;color:var(--blue)}.overview div>span:not(.overview-icon){font-size:10px;color:var(--muted);font-weight:500}.overview strong{font-size:24px;font-weight:650;letter-spacing:-.7px;line-height:1.25;display:block;margin-top:4px;font-variant-numeric:tabular-nums}.overview strong small{font-size:11px;font-weight:400;color:#939eae;letter-spacing:0;margin-left:3px}.overview a{margin-left:auto;color:#a1aab8;font-size:18px;padding:8px}.filterbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 30px}.range-control{display:flex;align-items:center;gap:15px}.range-control>span{font-size:11px;font-weight:550;color:#738195}.range-buttons{padding:4px;display:flex;gap:3px;background:#e9edf3;border:1px solid #e6eaf0;border-radius:9px}.range-buttons button{padding:5px 13px;border:0;background:transparent;color:#7a8698;border-radius:6px;font-size:11px;min-height:28px;font-weight:550;white-space:nowrap}.range-buttons button[aria-pressed=true]{background:white;color:#2d496b;box-shadow:0 1px 5px #192f4910}.range-buttons button:hover{color:#274c80}.refresh-button{display:flex;align-items:center;gap:7px;border:1px solid #dbe1e9;border-radius:8px;background:white;padding:8px 13px;font-size:11px;font-weight:550;min-height:36px}.refresh-button svg{width:16px;height:16px}.refresh-button:hover{border-color:#9fb7da}.refresh-button:disabled svg{animation:rotate 1.2s linear infinite}@keyframes rotate{to{transform:rotate(360deg)}}.notice{padding:13px 18px;border:1px solid #efd6ae;background:#fff7e9;border-radius:10px;color:#8b6029;font-size:12px;margin:0 0 25px}
.channel-section{margin-top:0;margin-bottom:35px;scroll-margin-top:24px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.section-heading>div{display:flex;align-items:center;gap:12px}.section-marker{width:4px;height:32px;border-radius:4px}.amber{background:var(--amber)}.blue{background:var(--blue)}h2{font-size:17px;letter-spacing:-.35px;font-weight:650;line-height:1.2;margin:0 0 4px}.section-heading p{font-size:10px;color:#8a94a3;margin:0}.section-total{font-size:9px;letter-spacing:.12em;font-weight:650;color:#8993a2;background:#eaf0f5;padding:4px 8px;border-radius:4px}.device-card{background:white;border:1px solid #e0e6ee;border-radius:var(--radius);margin-bottom:16px;overflow:hidden;box-shadow:0 2px 4px #14263e04;--chart-color:var(--amber)}.device-card.wifi-card{--chart-color:var(--blue)}.device-header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 24px;border-bottom:1px solid #edf0f5}.device-title{display:flex;align-items:center;gap:12px;min-width:0}.device-number{font-size:12px;font-weight:600;width:34px;height:34px;border-radius:9px;border:1px solid #eee4d4;background:#fcf8f1;color:#b08a55;display:grid;place-items:center;flex-shrink:0}.wifi-card .device-number{background:#f0f5fc;border-color:#e1eaf8;color:#6392d4}h3{font-size:13px;letter-spacing:.02em;line-height:1.25;font-weight:700;margin:0 0 4px}.device-title p{font-size:10px;color:#8b96a6;margin:0}.device-title p span{margin:0 7px;color:#b6bfcb}.badge{font-size:10px;font-weight:600;padding:5px 9px;display:inline-flex;align-items:center;gap:5px;background:#f0f3f6;color:#8591a2;border-radius:5px;flex-shrink:0}.badge i{height:5px;width:5px;border-radius:50%;background:currentColor}.badge[data-status=fresh]{background:#eaf6f0;color:#26836a}.badge[data-status=stale],.badge[data-status=waiting]{background:#fff4e3;color:#ad7a2d}.badge[data-status=sensor_error],.badge[data-status=measurement_error],.badge[data-status=unverified]{background:#fff0ed;color:#b66550}.device-body{display:grid;grid-template-columns:230px minmax(0,1fr);padding:22px 24px 20px;gap:28px}.device-reading{border-right:1px solid #edf0f5;padding-right:24px}.metric-label{font-size:9px;letter-spacing:.1em;color:#99a2b0;font-weight:650}.temperature{display:flex;align-items:baseline;gap:7px;line-height:1;margin-top:10px}.temperature strong{font-size:47px;font-weight:650;letter-spacing:-2px;font-variant-numeric:tabular-nums}.temperature>span{font-size:18px;font-weight:450;color:#8e99a9}.sensor-note{font-size:10px;color:#98a1af;margin:12px 0 22px}.secondary-metrics{display:flex;gap:23px;margin:17px 0 17px}.secondary-metrics>div>span{display:block;color:#98a1af;font-size:9px;margin-bottom:3px}.secondary-metrics strong{font-size:17px;font-weight:600;letter-spacing:-.3px;font-variant-numeric:tabular-nums}.secondary-metrics small{font-size:10px;color:#8e99a9;margin-left:3px}.packet-info{margin:18px 0 0;font-size:10px}.packet-info>div{display:flex;justify-content:space-between;gap:8px;margin-top:7px}.packet-info dt{color:#929cab}.packet-info dd{margin:0;color:#57667a;font-weight:500;font-variant-numeric:tabular-nums;text-align:right}.reading-note{font-size:9px;line-height:1.5;margin:12px 0 0;color:#96a0af}.reading-note[data-warning=true]{color:#a5702e}.device-chart{min-width:0;display:flex;flex-direction:column}.chart-toolbar{display:flex;justify-content:space-between;align-items:center;min-height:28px;gap:12px;margin-bottom:8px}.chart-label{font-size:10px;font-weight:500;color:#6f7c8d;display:flex;align-items:center;gap:6px}.chart-label i{height:3px;width:14px;background:var(--chart-color);border-radius:2px}.metric-tabs{display:flex;gap:3px;min-width:0}.metric-tabs button{font-size:10px;border:0;background:transparent;color:#8c97a6;border-radius:5px;padding:5px 10px;font-weight:500}.metric-tabs button[aria-pressed=true]{background:#f7f1e7;color:#b58238}.export-button{font-size:10px;color:#8792a2;border:0;background:transparent;display:flex;align-items:center;gap:3px;padding:3px 5px}.export-button svg{width:15px;height:15px}.export-button:hover{color:#405c84}.chart-area{position:relative;height:180px;min-height:180px;min-width:0;flex:1}.chart-empty{position:absolute;inset:0;display:grid;place-items:center;background:#ffffffc4;font-size:11px;color:#8c98a7}.chart-summary{display:flex;align-items:center;gap:18px;font-size:9px;color:#929cab;margin-top:9px;padding-top:11px;border-top:1px solid #f0f3f7;flex-wrap:wrap}.chart-summary strong{font-weight:550;color:#526279;margin-left:4px;font-variant-numeric:tabular-nums}.sample-count{margin-left:auto;font-size:9px;color:#a0a9b6}.records{border-top:1px solid #f0f2f6}.records summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:15px;padding:10px 24px;font-size:10px;color:#8290a3;background:#fcfdfe}.records summary::-webkit-details-marker{display:none}.records summary:hover{background:#f7f9fc}.records-hint{font-size:9px;color:#9ca6b4;display:flex;align-items:center;gap:25px}.records-hint b{font-size:17px;line-height:1;font-weight:400;color:#7c8a9d}.records[open] .records-hint b{transform:rotate(45deg)}.record-wrap{max-height:260px;overflow:auto;padding:0 24px 10px}table{width:100%;border-collapse:collapse;text-align:right;font-size:10px;white-space:nowrap;font-variant-numeric:tabular-nums}th{font-size:9px;font-weight:600;color:#8995a6}th,td{padding:9px 10px;border-bottom:1px solid #edf1f5}td{color:#526278}th:first-child,td:first-child{text-align:left;padding-left:0}td:last-child,th:last-child{padding-right:0}footer{font-size:10px;color:#9aa4b3}footer>p{margin:0 0 20px;font-size:10px}footer>div{border-top:1px solid #e1e7ef;padding:18px 0;display:flex;gap:16px;justify-content:space-between}footer b{font-weight:400;margin:0 5px;color:#bcc4d0}footer a{color:#73849b}
@media(min-width:1600px){main{padding-top:38px}.device-body{grid-template-columns:260px minmax(0,1fr);gap:38px}.chart-area{height:200px}.device-header{padding:20px 28px}.device-body{padding:26px 28px}.temperature strong{font-size:52px}}
@media(max-width:1180px){.sidebar{width:194px;padding-inline:12px}.workspace-main{margin-left:194px}.brand{font-size:15px;gap:9px}.brand-mark{width:33px;height:36px}.topbar{padding-inline:26px}main{padding:27px 26px}.overview>div{padding:16px 15px;gap:10px}.overview-icon{width:32px;height:34px;font-size:20px}.device-body{grid-template-columns:190px minmax(0,1fr);gap:22px;padding:20px}.device-reading{padding-right:20px}.temperature strong{font-size:42px}.device-header{padding:16px 20px}.chart-summary{gap:8px 12px}.sample-count{margin-left:0;width:100%}.range-control{gap:10px}.range-buttons button{padding:5px 11px}}
@media(max-width:930px){.sidebar{position:static;width:100%;padding:17px 24px;flex-direction:row;align-items:center;justify-content:space-between;gap:20px}.sidebar-caption,.sidebar-bottom{display:none}.sidebar nav{flex-direction:row;gap:3px}.nav-item{padding:9px 11px;font-size:11px}.nav-symbol{font-size:17px;width:18px}.nav-count{display:none}.brand small{font-size:7px;margin-top:4px}.workspace-main{margin-left:0}.topbar{height:49px;font-size:10px}.page-heading{margin-bottom:20px}.temperature strong{font-size:45px}.device-body{grid-template-columns:205px minmax(0,1fr)}.sample-count{width:auto;margin-left:auto}.chart-summary{gap:8px 15px}h1{font-size:29px}.range-buttons button{padding:5px 13px}}
@media(max-width:650px){.sidebar{padding:15px 18px 10px;display:block}.brand{padding:0 1px;font-size:17px}.brand-mark{width:34px;height:34px}.brand small{font-size:7px}.sidebar nav{margin-top:17px;gap:5px}.nav-item{flex:1;padding:9px 6px;justify-content:center;white-space:nowrap;font-size:10px;gap:6px}.nav-item.active{box-shadow:inset 0 -2px #67a0f2}.topbar{padding:0 18px;height:44px;font-size:9px}#today{font-size:9px}.crumb-separator{margin:0 8px}main{padding:23px 16px 12px}.page-heading{display:block;margin-bottom:20px}h1{font-size:28px}.eyebrow{font-size:8px}.intro{font-size:11px}.sync-area{text-align:left;margin-top:15px;display:flex;align-items:center;gap:12px;justify-content:space-between}.sync-status{font-size:10px}.sync-area small{font-size:9px;margin:0}.overview{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:18px}.overview>div{display:block;padding:13px 11px}.overview-icon,.overview a{display:none!important}.overview div>span:not(.overview-icon){font-size:9px;line-height:1.4;display:block}.overview strong{font-size:22px;margin-top:6px}.overview strong small{display:block;margin:3px 0 0;font-size:9px;letter-spacing:0}.filterbar{gap:8px;margin-bottom:25px;align-items:flex-end}.range-control{display:block;min-width:0;flex:1}.range-control>span{display:block;font-size:10px;margin-bottom:7px}.range-buttons{gap:1px;padding:3px;justify-content:space-between}.range-buttons button{font-size:10px;padding:4px 9px;min-height:28px;flex:1}.refresh-button{padding:7px 9px;min-height:36px}.refresh-button>span{display:none}.section-heading{margin-bottom:12px}.section-heading>div{gap:9px}h2{font-size:16px}.section-heading p{font-size:9px}.section-total{font-size:8px;padding:4px 6px;letter-spacing:.07em}.device-header{padding:16px 16px;align-items:flex-start;gap:10px}.device-title{gap:8px}.device-number{width:27px;height:30px;font-size:10px;border-radius:7px}h3{font-size:12px}.device-title p{font-size:8px;line-height:1.6}.device-title p span{margin:0 4px}.badge{font-size:8px;padding:4px 6px;gap:4px;max-width:115px;line-height:1.4}.device-body{display:block;padding:18px 16px 15px}.device-reading{border-right:0;padding-right:0;display:grid;grid-template-columns:1fr 1fr;column-gap:16px}.metric-label{grid-column:1;font-size:8px;align-self:end}.temperature{grid-column:1;grid-row:2;margin-top:5px;gap:5px;align-self:start}.temperature strong{font-size:41px}.temperature>span{font-size:16px}.sensor-note{grid-column:1;grid-row:3;font-size:8px;margin:9px 0 0}.secondary-metrics{grid-column:1;grid-row:3;gap:19px;margin:13px 0 0}.secondary-metrics strong{font-size:15px}.secondary-metrics>div>span{font-size:8px}.packet-info{grid-column:2;grid-row:1/4;margin:1px 0 0;padding-left:12px;border-left:1px solid #edf0f5;font-size:9px}.packet-info>div{display:block;margin-top:8px}.packet-info>div:first-child{margin-top:0}.packet-info dd{text-align:left;margin-top:2px;font-size:10px}.reading-note{grid-column:1/-1;font-size:9px;margin-top:13px}.device-chart{margin-top:17px;padding-top:14px;border-top:1px solid #edf0f5}.chart-area{height:175px;min-height:175px}.chart-summary{font-size:8px;gap:9px 14px}.chart-summary strong{margin-left:3px}.sample-count{width:100%;margin-left:0;font-size:8px}.chart-toolbar{margin-bottom:8px}.chart-label{font-size:9px}.metric-tabs button{font-size:9px;padding:5px 9px}.records summary{padding:10px 16px;font-size:9px}.records-hint{font-size:8px;gap:10px}.record-wrap{padding:0 16px 8px}.channel-section{margin-bottom:28px}footer>div{flex-wrap:wrap;font-size:9px;gap:12px}footer>p{font-size:9px}.notice{font-size:11px;padding:11px 14px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}
/* Kucuk metinlerde kontrast ve okunabilirlik. */
.device-title p,.reading-note,.metric-label,.packet-info dt,.sensor-note,.secondary-metrics>div>span,.chart-summary,.records summary,.records-hint,.section-heading p,footer{color:#6c7a8f}.packet-info dd,.chart-summary strong{color:#425671}.sample-count{color:#748196}.chart-summary strong{font-weight:600}
@media(min-width:651px){.nav-item{font-size:13px}.topbar,#today{font-size:12px}.overview div>span:not(.overview-icon){font-size:12px}.overview strong small{font-size:12px}.intro{font-size:13px}.sync-status{font-size:12px}.sync-area small{font-size:11px}.range-control>span,.range-buttons button,.refresh-button{font-size:12px}.section-heading p{font-size:12px}h3{font-size:14px}.device-title p{font-size:11px}.badge{font-size:11px}.metric-label{font-size:10px}.sensor-note,.packet-info,.reading-note,.chart-label,.metric-tabs button,.export-button{font-size:11px}.secondary-metrics>div>span{font-size:10px}.chart-summary{font-size:10px}.sample-count,.records summary,.records-hint{font-size:10px}.records summary{padding-top:12px;padding-bottom:12px}.chart-area{min-height:185px}footer,footer>p{font-size:11px}}
.footer-links{display:flex;flex-direction:row;flex-wrap:wrap;gap:18px;margin-bottom:18px;font-size:11px;color:#63758f}.footer-links a:hover{text-decoration:underline}

/* Tum olcumler ayni anda: her desteklenen olcum esit genislikte. */
.metric-grid{display:grid;grid-template-columns:repeat(var(--metric-count),minmax(0,1fr));padding:24px 0 20px}
.metric-panel{min-width:0;padding:0 24px;--metric-color:#c58a3d}
.metric-panel+.metric-panel{border-left:1px solid #e9edf3}
.metric-panel[data-chart-metric=rh_pct]{--metric-color:#397fe1}
.metric-panel[data-chart-metric=vbat_v]{--metric-color:#288d76}
.metric-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}
.metric-panel h4{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:650;margin:0;color:#42516a}
.metric-panel h4 i{display:block;width:7px;height:7px;border-radius:50%;background:var(--metric-color)}
.metric-panel-heading>span{font-size:8px;font-weight:600;letter-spacing:.08em;color:#8591a1;white-space:nowrap}
.metric-current{display:flex;align-items:baseline;gap:6px;margin:10px 0 17px;line-height:1.1}
.metric-current strong{font-size:34px;letter-spacing:-1px;font-weight:650;font-variant-numeric:tabular-nums}
.metric-current>span{font-size:16px;color:#7b889a}
.metric-plot{position:relative;height:190px;min-width:0}
.metric-empty{position:absolute;inset:0;background:#fffffff2;display:grid;place-items:center;text-align:center;color:#7a8799;font-size:11px;padding:16px}
.metric-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0 0;padding-top:13px;border-top:1px solid #eef1f5}
.metric-stats dt{font-size:10px;color:#7d899b;margin-bottom:3px}
.metric-stats dd{font-size:12px;color:#43546c;font-weight:600;margin:0;white-space:nowrap;font-variant-numeric:tabular-nums}
.metric-count{font-size:10px;color:#8490a1;margin:10px 0 0}
.device-meta{padding:16px 24px;background:#fafbfd;border-top:1px solid #edf0f5;display:flex;align-items:center;flex-wrap:wrap;column-gap:24px;row-gap:9px}
.packet-summary{display:flex;align-items:center;gap:30px;margin:0;min-width:0}
.packet-summary>div{display:flex;align-items:baseline;gap:8px;min-width:0}
.packet-summary dt{font-size:10px;color:#7d899b}
.packet-summary dd{font-size:11px;color:#506078;margin:0;font-weight:550;font-variant-numeric:tabular-nums}
.device-meta .export-button{margin-left:auto;font-size:11px;min-height:30px;color:#62758e;padding:4px 0 4px 8px}
.device-meta .reading-note{width:100%;margin:0;font-size:10px}
@media(min-width:1600px){.metric-panel{padding:0 28px}.metric-plot{height:210px}.metric-current strong{font-size:38px}.metric-stats dd{font-size:13px}.device-meta{padding-inline:28px}}
@media(min-width:651px) and (max-width:1180px){.metric-panel{padding:0 17px}.metric-panel-heading>span{display:none}.metric-current strong{font-size:30px}.metric-stats{gap:5px}.metric-stats dt{font-size:9px}.metric-stats dd{font-size:11px}.device-meta{padding-inline:20px}.packet-summary{gap:20px}.packet-summary>div{display:block}.packet-summary dd{margin-top:2px}}
@media(max-width:650px){.metric-grid{grid-template-columns:minmax(0,1fr);padding:0 16px}.metric-panel{padding:20px 0}.metric-panel+.metric-panel{border-left:0;border-top:1px solid #e9edf3}.metric-panel h4{font-size:13px}.metric-panel-heading>span{font-size:8px}.metric-current{margin:9px 0 13px}.metric-current strong{font-size:33px}.metric-plot{height:175px}.metric-stats dt{font-size:10px}.metric-stats dd{font-size:12px}.metric-count{font-size:10px}.device-meta{padding:14px 16px;gap:10px}.packet-summary{display:grid;grid-template-columns:1.25fr 1fr .8fr;gap:14px;width:100%}.packet-summary>div{display:block}.packet-summary dd{font-size:10px;margin-top:3px}.packet-summary dt{font-size:9px}.device-meta .export-button{order:3;margin-left:0;padding-left:0;font-size:10px}.device-meta .reading-note{font-size:9px}.metric-empty{font-size:11px}}

.alert-rule{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:20px 0 30px;padding:18px 22px;background:#fff;border:1px solid #dde5ee;border-radius:12px;font-size:13px}.alert-rule-title{font-weight:650;color:#25374f}.alert-rule p{margin:5px 0 0;color:#76859a;font-size:12px}.alert-rule-state{display:flex;flex-direction:column;gap:5px;text-align:right}.alert-rule-state strong{color:#25856f;font-size:12px}.alert-rule-state strong[data-state="warning"]{color:#b57a28}.alert-rule-state strong[data-state="error"]{color:#b24848}.alert-rule-state span{font-size:11px;color:#76859a}@media(max-width:650px){.alert-rule{align-items:flex-start;flex-direction:column;padding:16px}.alert-rule-state{text-align:left}}

/* Line charts have room for the date and hour on separate axis lines. */
.metric-plot{height:240px}.graph-caption{min-height:16px;margin:8px 0 0;font-size:10px;line-height:1.5;color:#7d899b}.metric-stats{margin-top:10px}
@media(min-width:1600px){.metric-plot{height:260px}}
@media(max-width:650px){.metric-plot{height:220px}.graph-caption{font-size:10px}}

.alert-scenarios{margin-top:10px;max-width:700px;font-size:12px;line-height:1.65}.alert-scenarios summary{cursor:pointer;color:var(--ink,#26364b);font-weight:600}.alert-scenarios ul{margin:12px 0;padding-left:20px}.alert-scenarios li{margin:5px 0}.alert-scenarios p{line-height:1.7!important;margin-top:10px!important}.alert-rule-state{max-width:340px;flex-shrink:0}@media(max-width:700px){.alert-rule-state{max-width:100%;flex-shrink:1}.alert-scenarios{font-size:12px}}

/* 24.10.2026: Clear data hierarchy, accessible controls and complete record browsing. */
:root{--muted:#63728a;--line:#dfe7f0;--paper:#f3f6fa;--green:#13745b}
.brand-mark{background:#fff;border-color:#fff;overflow:hidden;padding:3px}.brand-mark img{display:block;width:100%;height:100%;object-fit:contain}
.page-heading{margin-bottom:26px}h1{font-size:34px;letter-spacing:-1.25px}.intro{color:#63728a;line-height:1.6}.eyebrow{color:#62748e}.sync-status{font-weight:650}
.overview{grid-template-columns:.7fr 1fr 1fr 1.35fr;border-radius:15px;box-shadow:none}.overview>div{padding:20px;gap:12px}.overview strong{font-size:27px}.overview strong small{color:#68788e}.overview div>span:not(.overview-icon){color:#607189}.overview small#periodCaption{display:block;font-size:10px;color:#66788e;margin-top:5px}.overview-icon{width:34px;height:36px}
.filterbar{flex-wrap:wrap;margin-bottom:16px;gap:12px}.range-control{min-width:0;flex:1 1 540px;gap:12px}.range-buttons{flex-wrap:wrap}.range-buttons button{min-height:38px;padding:7px 12px;color:#5d6f87;font-size:12px}.range-buttons button[aria-pressed=true]{color:#173c71;box-shadow:0 1px 5px #192f4918}.refresh-button{min-height:40px;font-size:12px}.auto-control{display:flex;align-items:center;gap:9px;color:#435c77;font-size:12px;cursor:pointer}.auto-control input{width:18px;height:18px;accent-color:#357be5}.auto-control small{display:block;color:#718097;font-size:10px}.auto-control input:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #78a9f4;outline-offset:3px}
.stream-toolbar{display:flex;align-items:end;gap:12px;flex-wrap:wrap;background:#fff;border:1px solid var(--line);border-radius:12px;padding:17px 20px}.stream-toolbar label{display:flex;flex-direction:column;gap:6px;font-size:11px;font-weight:600;color:#53667f}.stream-search{flex:1 1 240px}.stream-toolbar input,.stream-toolbar select{height:41px;background:#f9fbfd;border:1px solid #d5deea;border-radius:7px;padding:9px 11px;color:#223c5b;font:inherit;font-size:13px;max-width:100%;min-width:0}.stream-toolbar select{min-width:150px}.stream-toolbar #filterResult{width:100%;margin:0;font-size:11px;color:#718198}.stream-toolbar input::placeholder{color:#7f8da1;font-weight:400}.stream-toolbar input[type=search]::-webkit-search-cancel-button{cursor:pointer}button:disabled{cursor:not-allowed}.range-help{font-size:11px;color:#63758e;margin:13px 2px 22px;line-height:1.7}.empty-streams{border:1px dashed #bdcde2;border-radius:12px;padding:32px 24px;color:#536b89;background:#fff;text-align:center;font-size:13px}
.metric-current{margin-bottom:8px}.metric-trend{font-size:11px;color:#64778f;line-height:1.5;margin:0 0 16px;min-height:17px;font-variant-numeric:tabular-nums}.metric-trend[data-direction]{color:#426581}.metric-quality{font-size:10px;color:#8a642e;line-height:1.65;margin:9px 0 0;padding:8px 10px;background:#fff9eb;border-radius:6px}.expand-chart{border:1px solid #dde5ef;background:#f8fafc;border-radius:6px;color:#4d6888;font-size:10px;min-height:30px;padding:4px 7px;margin-left:auto;white-space:nowrap}.expand-chart:hover{border-color:#8aabce;background:#f0f5fc}.metric-panel-heading>span{display:none}.metric-panel h4{color:#344d6b}.metric-count,.graph-caption,.metric-stats dt{color:#65778e}.metric-stats dd{color:#304964}.metric-plot{height:220px}.metric-current strong{font-weight:700}.device-meta{gap:11px 22px}.device-meta .export-button{border:1px solid #d7e1ee;border-radius:7px;padding:8px 12px;background:#fff;color:#355777}.coverage-note{width:100%;font-size:10px;color:#647890;line-height:1.6;margin:0}.device-meta .reading-note{font-size:11px;color:#63758d}.reading-note[data-warning=true]{color:#976029}.device-title p{color:#697e96}.badge[data-status=fresh]{color:#146d53}.badge[data-status=stale],.badge[data-status=waiting]{color:#805a1d}.badge[data-status=sensor_error],.badge[data-status=measurement_error],.badge[data-status=unverified]{color:#a14431}
.records summary{font-size:12px;min-height:47px;color:#425f80}.record-wrap{max-height:390px}.record-wrap table{font-size:12px}.record-wrap th{position:sticky;top:0;background:#f8fafc;font-size:11px;color:#516b88;z-index:1}.record-wrap th,.record-wrap td{padding-top:12px;padding-bottom:12px}.record-wrap tbody tr:nth-child(even){background:#fbfcfe}.record-pager{display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding:12px 24px 17px;font-size:11px;color:#62758e}.record-pager label{display:flex;align-items:center;gap:7px}.record-pager select{background:#fff;border:1px solid #d6e0ec;border-radius:6px;padding:5px 7px;color:#35526f}.record-pager>div{display:flex;gap:8px;margin-left:auto}.record-pager button{border:1px solid #d7e2ef;border-radius:6px;background:#fff;color:#375676;padding:7px 10px;font-size:11px;min-height:34px}.record-pager button:disabled{opacity:.42}.records-hint{font-size:10px}
.alert-rule{box-shadow:none;background:#f8fafc;padding:18px 20px}.alert-rule p,.alert-rule-state span{color:#63758e}.alert-rule-state{min-width:170px}.alert-rule-state strong[data-state=fresh]{color:#14705b}.channel-section{scroll-margin-top:24px}.section-heading p{color:#647890}.section-total{color:#586f8b}
.chart-dialog{width:min(1050px,94vw);max-height:90dvh;border:1px solid #dce5ef;border-radius:18px;padding:25px;background:#fff;color:#263c57;box-shadow:0 28px 100px #10263d50;overflow:auto}.chart-dialog::backdrop{background:#101f36b5;backdrop-filter:blur(4px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.dialog-heading h2{font-size:21px}.dialog-heading .eyebrow{margin-bottom:7px}.chart-dialog>p{color:#677d96;font-size:12px;line-height:1.7;margin:14px 0}.chart-dialog #chartDialogSummary{font-size:13px;color:#36526f}.chart-dialog #expandedPlot{position:relative;height:min(50vh,420px);min-height:260px}.chart-dialog .dialog-footnote{padding-top:15px;margin-bottom:0;border-top:1px solid #e3eaf2;font-size:11px}.chart-is-open{overflow:hidden}footer>p{line-height:1.7;color:#647890}
@media(min-width:1600px){.metric-plot{height:245px}.metric-current strong{font-size:38px}}
@media(max-width:1180px){.overview{grid-template-columns:repeat(2,minmax(0,1fr))}.overview>div{padding:17px 20px}.overview>div:nth-child(3){border-left:0;border-top:1px solid var(--line)}.overview>div:nth-child(4){border-top:1px solid var(--line)}.metric-current strong{font-size:32px}.metric-trend{font-size:10px}.range-control{flex:1 1 100%}.filterbar{justify-content:flex-end}.filterbar .auto-control{margin-right:auto}.stream-search{flex:1 1 240px}.stream-toolbar select{min-width:135px}}
@media(max-width:930px){.sidebar nav{gap:4px}.brand-mark{width:40px;height:40px}.nav-item{font-size:12px}.section-heading p{font-size:12px}.topbar,#today{font-size:11px}.metric-panel{padding:0 16px}.metric-stats dd{font-size:11px}}
@media(max-width:650px){h1{font-size:29px}.intro{font-size:12px}.overview{grid-template-columns:repeat(2,minmax(0,1fr))}.overview>div{padding:15px 16px;display:flex;align-items:center;gap:10px}.overview div>span:not(.overview-icon){font-size:10px}.overview strong{font-size:25px}.overview strong small{display:inline;font-size:10px;margin-left:4px}.overview small#periodCaption{font-size:9px}.overview>div:nth-child(4) strong{font-size:25px}.range-control{display:block}.range-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;padding:4px;width:100%}.range-buttons button{padding:6px;min-height:36px;font-size:11px;flex:initial}.range-control>span{font-size:11px}.refresh-button>span{display:inline}.filterbar{margin-bottom:13px}.stream-toolbar{padding:15px;gap:11px}.stream-search{flex:1 1 100%}.stream-toolbar>label:not(.stream-search){flex:1;min-width:0}.stream-toolbar select{min-width:0;width:100%;font-size:12px;padding-inline:8px}.stream-toolbar>button{width:100%;min-height:36px}.range-help{font-size:10px;margin-bottom:20px}.metric-grid{padding:0 16px}.metric-panel{padding:20px 0}.metric-panel-heading>span{display:none}.metric-trend{font-size:11px;margin-bottom:12px}.metric-stats dd{font-size:12px}.metric-plot{height:215px}.metric-count,.metric-quality{font-size:10px}.coverage-note{font-size:10px}.device-meta .reading-note{font-size:10px}.device-meta .export-button{font-size:11px}.device-header{flex-wrap:wrap}.device-title p{font-size:10px}.badge{font-size:10px;max-width:unset}.packet-summary{grid-template-columns:1.3fr 1fr .8fr;gap:9px}.packet-summary dt{font-size:10px}.packet-summary dd{font-size:10px}.record-pager{padding:12px 16px 16px;gap:12px}.record-pager>div{width:100%;justify-content:space-between;margin:0}.record-pager button{flex:1;min-height:38px}.record-pager .page-count{margin-left:auto;font-size:10px}.records-hint{font-size:9px}.records summary{font-size:11px}.record-wrap table{font-size:11px}.record-wrap th{font-size:10px}.alert-rule{padding:16px}.chart-dialog{padding:18px;width:95vw;border-radius:13px}.dialog-heading{gap:12px;align-items:flex-start}.dialog-heading h2{font-size:17px;line-height:1.45}.dialog-heading .refresh-button{min-height:38px;padding:7px 10px;white-space:nowrap}.chart-dialog #expandedPlot{min-height:250px;height:45vh}.chart-dialog #chartDialogSummary{font-size:11px}.nav-item{font-size:11px}.sync-area{align-items:flex-start}.sync-area small{font-size:10px;max-width:155px;text-align:right}}

.sync-status[data-state=paused]{color:#8a6b35}.sync-status[data-state=paused] i{background:#aa8550}
/* Keep the first live readings in view on ordinary laptop screens. */
main{padding-top:22px}.topbar{height:54px}.page-heading{margin-bottom:17px}.page-heading .eyebrow{margin-bottom:4px}.page-heading .intro{margin-top:6px}h1{font-size:31px}.overview{margin-bottom:15px}.overview>div{padding:13px 17px}.overview strong{font-size:25px}.overview-icon{width:31px;height:33px}.filterbar{margin-bottom:12px}.range-buttons button{min-height:33px;padding-block:5px}.stream-toolbar{padding:12px 16px;gap:10px}.stream-search{flex:1 1 190px}.stream-toolbar input,.stream-toolbar select{height:37px}.stream-toolbar #filterResult{width:auto;margin-left:auto;align-self:center;font-size:10px;max-width:130px}.stream-toolbar .refresh-button{min-height:37px}.range-help{margin:9px 2px 14px;font-size:10px}.alert-rule{margin:12px 0 21px;padding:12px 17px;gap:14px}.alert-rule>div>p{display:none}.alert-scenarios{margin-top:6px}.alert-rule-title{font-size:12px}.alert-rule-state strong{font-size:11px}.alert-rule-state span{font-size:10px}.section-heading{margin-bottom:11px}.device-header{padding-top:15px;padding-bottom:15px}.metric-grid{padding-top:19px}.metric-current{margin-top:8px}.brand-mark{padding:0}
@media(min-width:1600px){main{padding-top:28px}}
@media(max-width:1180px){.stream-toolbar #filterResult{width:auto;max-width:unset}.stream-search{flex-basis:200px}.range-control{flex:1 1 100%}}
@media(max-width:650px){main{padding-top:20px}.topbar{height:42px}.page-heading{margin-bottom:16px}h1{font-size:28px}.overview>div{padding:12px 14px}.overview strong{font-size:24px}.filterbar{margin-bottom:12px}.range-buttons button{min-height:34px}.stream-toolbar{padding:13px}.stream-search{flex-basis:100%}.stream-toolbar #filterResult{width:100%;margin:0}.range-help{margin-bottom:16px}.alert-rule{padding:14px;margin-bottom:23px}.alert-rule-state{min-width:0}.metric-grid{padding-top:0}.metric-panel{padding-top:18px}.device-header{padding-top:15px;padding-bottom:15px}}

.metric-current .current-note{font-size:10px;line-height:1.4;color:#8a652c;margin-left:5px;max-width:95px;align-self:center}
