.app{max-width:1400px;margin:0 auto;padding:1.5rem 1.25rem 3rem}.header h1{margin:0 0 .5rem;font-size:1.5rem;font-weight:600;letter-spacing:-.02em}.lede{margin:0;color:#475569;font-size:.95rem;max-width:58rem}.lede code{font-size:.88em;background:#e2e8f0;padding:.1em .35em;border-radius:4px}.banner{margin:1rem 0;padding:.75rem 1rem;border-radius:8px;font-size:.9rem}.banner.warn{background:#fff7ed;color:#9a3412;border:1px solid #fdba74}.banner.err{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca}.panel{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:1.25rem 1.25rem 1rem;margin:1.5rem 0;box-shadow:0 1px 2px #0f172a0a}.label{display:block;font-weight:600;font-size:.9rem;margin-bottom:.25rem}.hint{margin:0 0 .75rem;color:#64748b;font-size:.85rem}.hint.source-note{background:#f0f9ff;border:1px solid #bae6fd;color:#0369a1;padding:.5rem .75rem;border-radius:6px;margin-top:.25rem}.tag-filter-row{display:flex;flex-wrap:wrap;align-items:flex-start;gap:1.25rem 1.5rem}.tag-filter{flex:0 1 22rem;max-width:36rem;min-width:min(100%,16rem)}.health-summary-block{flex:1 1 18rem;min-width:0;max-width:100%}.health-summary-title{text-align:center;font-size:1.05rem;font-weight:600;margin:0 0 .5rem;color:#0f172a;letter-spacing:-.01em}.health-summary-hint{margin:.5rem 0 0;text-align:center;font-size:.82rem}.health-summary-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid #e2e8f0;border-radius:8px;background:#fff}table.health-summary{width:100%;min-width:12rem;border-collapse:collapse;font-size:.85rem}table.health-summary th,table.health-summary td{border:1px solid #e2e8f0;padding:.4rem .5rem;text-align:center;vertical-align:middle}table.health-summary .health-summary-corner{width:1%;min-width:7.5rem;max-width:10rem;background:#f8fafc;border-right:1px solid #cbd5e1}table.health-summary .health-summary-cat{text-align:left;font-weight:500;color:#0f172a;background:#f8fafc;white-space:normal;line-height:1.3;padding:.4rem .55rem;border-right:1px solid #cbd5e1;vertical-align:middle}.health-summary-cat-inner{display:flex;align-items:center;gap:.4rem}.health-summary-filter-cb{margin:0;flex-shrink:0;cursor:pointer}.health-summary-cat-text{flex:1;min-width:0}table.health-summary tbody tr.health-summary-row-total .health-summary-cat{text-align:right}table.health-summary .health-summary-th-tag{background:#f1f5f9;font-weight:600;color:#334155;max-width:8rem;word-break:break-word;-webkit-hyphens:auto;hyphens:auto}table.health-summary .health-summary-n{font-variant-numeric:tabular-nums;min-width:3.25rem}table.health-summary tbody tr.health-summary-row-danger .health-summary-cat,table.health-summary tbody tr.health-summary-row-danger .health-summary-n{background:#fee2e2}table.health-summary tbody tr.health-summary-row-warn .health-summary-cat,table.health-summary tbody tr.health-summary-row-warn .health-summary-n{background:#fef9c3}table.health-summary tbody tr.health-summary-row-ok .health-summary-cat,table.health-summary tbody tr.health-summary-row-ok .health-summary-n{background:#fff}table.health-summary tbody tr.health-summary-row-total{border-top:2px solid #cbd5e1}table.health-summary tbody tr.health-summary-row-total .health-summary-cat,table.health-summary tbody tr.health-summary-row-total .health-summary-n{background:#f1f5f9;font-weight:600;color:#0f172a}table.health-summary tbody tr.health-summary-row-total .health-summary-total-n{font-variant-numeric:tabular-nums}.tag-filter-details{border:1px solid #e2e8f0;border-radius:8px;background:#fff;box-shadow:0 1px 2px #0f172a0a}.tag-filter-summary{list-style:none;padding:.55rem .75rem;cursor:pointer;font-size:.9rem;color:#0f172a;-webkit-user-select:none;user-select:none;display:flex;align-items:center;justify-content:space-between;gap:.5rem}.tag-filter-summary::-webkit-details-marker{display:none}.tag-filter-summary:after{content:"▾";font-size:.7rem;color:#64748b;flex-shrink:0}.tag-filter-details[open] .tag-filter-summary:after{content:"▴"}.tag-filter-panel{border-top:1px solid #e2e8f0;padding:.65rem .75rem .75rem;max-height:18rem;overflow:hidden;display:flex;flex-direction:column;gap:.5rem;background:#f8fafc}.tag-search-wrap{flex-shrink:0}.tag-search-input{width:100%;box-sizing:border-box;padding:.45rem .6rem;font:inherit;font-size:.88rem;border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:#0f172a}.tag-search-input::placeholder{color:#94a3b8}.tag-search-input:focus{outline:none;border-color:#6366f1;box-shadow:0 0 0 2px #6366f133}.tag-list{list-style:none;margin:0;padding:0;min-height:0;flex:1;max-height:12rem;overflow-y:auto;border:1px solid #e2e8f0;border-radius:6px;background:#fff}.tag-list-empty{margin:0;padding:.75rem .6rem;color:#94a3b8;font-size:.88rem;text-align:center}.tag-row{border-bottom:1px solid #f1f5f9}.tag-row:last-child{border-bottom:none}.tag-row-label{display:flex;align-items:center;gap:.5rem;padding:.45rem .6rem;width:100%;box-sizing:border-box;cursor:pointer;font-size:.88rem;-webkit-user-select:none;user-select:none}.tag-row:hover .tag-row-label{background:#f8fafc}.tag-row input{margin:0;flex-shrink:0}.tag-row-text{flex:1;min-width:0;line-height:1.3;word-break:break-word}.tag-filter-foot{margin-top:.5rem;padding-top:.5rem;border-top:1px solid #e2e8f0}.linkish{background:none;border:none;color:#2563eb;cursor:pointer;font:inherit;font-size:.85rem;padding:0;text-decoration:underline}.linkish:hover{color:#1d4ed8}.actions{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1rem;padding-top:.75rem;border-top:1px solid #f1f5f9}button{border-radius:6px;border:1px solid #cbd5e1;padding:.5rem 1rem;background:#fff;color:#0f172a;cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}button.primary{background:#0f172a;color:#fff;border-color:#0f172a}button.primary:hover:not(:disabled){background:#1e293b;border-color:#1e293b}.summary{font-size:.9rem;color:#64748b;margin-bottom:.5rem}.summary-with-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem 1rem}.table-wrap{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:.75rem;box-shadow:0 1px 2px #0f172a0a}.scroll{overflow:auto;max-height:min(70vh,900px);border:1px solid #e2e8f0;border-radius:6px}table.grid{width:100%;border-collapse:collapse;font-size:.88rem;--col-filter-row-height: 2.85rem}table.grid th,table.grid td{padding:.5rem .65rem;text-align:left;border-bottom:1px solid #f1f5f9;vertical-align:top}table.grid thead tr.th-filter-row th{position:sticky;top:0;z-index:3;height:var(--col-filter-row-height);padding:.35rem .5rem;background:#fff;font-weight:600;border-bottom:1px solid #e2e8f0;vertical-align:middle}table.grid thead tr.th-sort-row th{position:sticky;top:var(--col-filter-row-height);z-index:2;background:#f8fafc;font-weight:600;border-bottom:1px solid #e2e8f0;white-space:nowrap}table.grid th.th-sort{padding:0;vertical-align:bottom}.th-sort-btn{display:flex;align-items:center;justify-content:flex-start;gap:.35rem;width:100%;margin:0;padding:.5rem .65rem;border:none;background:transparent;font:inherit;font-weight:600;color:inherit;cursor:pointer;text-align:left;border-radius:4px}.th-sort-btn:hover{background:#e2e8f0}.th-sort-ind{font-size:.7em;opacity:.88;flex-shrink:0}.col-filter-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.col-filter-input{box-sizing:border-box;width:100%;max-width:100%;min-width:0;padding:.25rem .35rem;font:inherit;font-size:.8rem;font-weight:400;border:1px solid #cbd5e1;border-radius:4px;background:#f8fafc}.col-filter-input:focus{outline:2px solid #3b82f6;outline-offset:1px;background:#fff}table.grid tbody tr:nth-child(2n){background:#fafbfc}table.grid tbody tr.row-stale,table.grid tbody tr.row-missing-last-connected{background:#fee2e2}table.grid tbody tr.row-stale:nth-child(2n),table.grid tbody tr.row-missing-last-connected:nth-child(2n){background:#fecaca}table.grid tbody tr.row-battery-low-recent{background:#fef9c3}table.grid tbody tr.row-battery-low-recent:nth-child(2n){background:#fef08a}.mono{font-variant-numeric:tabular-nums;font-family:ui-monospace,Cascadia Code,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.86em}.tags-cell{max-width:200px;word-break:break-word}.sensor-cloud-link{color:#1d4ed8;text-decoration:underline;text-underline-offset:2px}.sensor-cloud-link:hover{color:#1e40af}.muted{color:#94a3b8;font-style:italic}.notes-cell{min-width:14rem;max-width:22rem;vertical-align:top}.sensor-note-input{box-sizing:border-box;width:100%;min-height:2.75rem;padding:.35rem .45rem;font:inherit;font-size:.88rem;line-height:1.35;border:1px solid #cbd5e1;border-radius:6px;background:#f8fafc;resize:vertical}.sensor-note-input:focus{outline:2px solid #3b82f6;outline-offset:1px;background:#fff}button.temp-history-btn{font:inherit;font-size:inherit;line-height:inherit;font-variant-numeric:inherit;font-family:inherit;border-radius:0;text-underline-offset:2px}.temp-history-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:1rem;background:#0f172a73}.temp-history-panel{width:min(1270px,100%);max-height:min(90vh,640px);overflow:auto;background:#fff;border-radius:12px;border:1px solid #e2e8f0;box-shadow:0 20px 50px #0f172a2e;padding:1rem 1.15rem 1.25rem}.temp-history-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:.75rem}.temp-history-title{margin:0;font-size:1.15rem;font-weight:600;color:#0f172a}.temp-history-sub{margin:.25rem 0 0;font-size:.82rem;line-height:1.4}.temp-history-sub code{font-size:.85em;background:#f1f5f9;padding:.05em .3em;border-radius:4px}button.temp-history-close{flex-shrink:0;border:none;background:#f1f5f9;color:#475569;width:2.25rem;height:2.25rem;border-radius:8px;font-size:1.35rem;line-height:1;padding:0}button.temp-history-close:hover{background:#e2e8f0;color:#0f172a}.temp-history-status{margin:.5rem 0}.temp-history-err{margin-top:.5rem}.temp-history-body{display:flex;flex-wrap:wrap;align-items:stretch;gap:1rem 1.25rem;margin-top:.5rem}.temp-history-chart-wrap{flex:1 1 368px;min-width:0}.temp-history-chart{display:block;width:100%;height:auto;max-height:280px}.temp-history-chart-empty{min-height:200px;display:flex;align-items:center;justify-content:center;border:1px dashed #cbd5e1;border-radius:8px;font-size:.9rem}.temp-history-grid{stroke:#e2e8f0;stroke-width:1}.temp-history-line{stroke:#2563eb;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.temp-history-dot{fill:#1e3a8a;stroke:#fff;stroke-width:1}.temp-history-axis-text{fill:#64748b;font-size:11px}.temp-history-hit{cursor:crosshair}.temp-history-crosshair{stroke:#0f172a;stroke-width:1}.temp-history-hover-dot{fill:#1e3a8a;stroke:#fff;stroke-width:1.5}.temp-history-hover-temp{fill:#0f172a;font-size:13px;font-weight:600;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;dominant-baseline:hanging}.temp-history-time-bg{fill:#fff;stroke:#e2e8f0;stroke-width:1}.temp-history-time-text{fill:#0f172a;font-size:10px;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}.temp-history-side{flex:0 0 auto;display:flex;flex-wrap:wrap;align-items:center;gap:1rem 1.5rem}.temp-history-stats{display:flex;flex-direction:column;border:1px solid #e2e8f0;border-radius:8px;overflow:hidden;min-width:7.5rem}.temp-history-stat{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;gap:0 .35rem;padding:.55rem .65rem;border-bottom:1px solid #e2e8f0;align-items:center}.temp-history-stat:last-child{border-bottom:none}.temp-history-stat-label{grid-row:1 / span 2;font-size:1rem;color:#64748b;min-width:1.25rem;text-align:center;justify-self:center}.temp-history-stat-value{grid-column:2;font-weight:600;font-size:.95rem;color:#0f172a}.temp-history-stat-caption{grid-column:2;font-size:.72rem;text-transform:uppercase;letter-spacing:.04em}.temp-history-stat-avg{background:#f8fafc}.temp-history-current{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-width:10rem;max-width:16rem}.temp-history-current-heading{font-size:.72rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:#64748b;margin-bottom:.35rem}.temp-history-current-when{font-size:.72rem;line-height:1.35;margin-bottom:.45rem}.temp-history-current-value{font-size:1.75rem;font-weight:700;color:#1e293b;line-height:1.1;text-align:center}:root{font-family:Inter,system-ui,-apple-system,sans-serif;line-height:1.5;font-weight:400;color:#0f172a;background:#f1f5f9;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-height:100vh}button,select,input{font:inherit}
