:root{color-scheme:dark;--bg:#10191f;--panel:#1b2931;--line:#334651;--text:#ebf1f4;--muted:#abc0ca;--amber:#ffae38;--cyan:#66cdd6;--green:#87d6ae;--red:#f2a69d;--radius:12px;font-family:Segoe UI,system-ui,sans-serif;font-size:16px}
dialog{width:min(620px,calc(100% - 32px));background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:12px;padding:24px}dialog::backdrop{background:#081017bc}dialog h2{font-size:1.25rem;margin-bottom:10px}dialog p{margin-bottom:16px}dialog label{display:flex;flex-direction:column;gap:7px;margin-top:16px;font-size:.9375rem}dialog input,dialog textarea{font:inherit;background:var(--bg);border:1px solid var(--line);border-radius:7px;padding:11px;color:var(--text);width:100%}dialog summary{cursor:pointer;color:var(--muted);font-size:.875rem;margin-top:16px}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:22px}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);line-height:1.45}button,select,input,a.button{font:inherit}button,a.button{min-height:44px;border:1px solid var(--line);border-radius:8px;background:#23343e;color:var(--text);padding:9px 14px;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap}button:hover,a.button:hover{background:#304754}button:focus-visible,a:focus-visible,select:focus-visible,svg:focus-visible,input:focus-visible{outline:2px solid var(--amber);outline-offset:3px}button:disabled{opacity:.55;cursor:wait}.primary{background:var(--amber);border-color:var(--amber);color:#14212a;font-weight:650}.primary:hover{background:#ffc26d}.quiet{width:100%;font-size:.875rem;background:transparent}select{appearance:none;color:var(--text);background:#23343e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23ebf1f4' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 12px center;border:1px solid var(--line);border-radius:8px;padding:9px 32px 9px 12px;min-height:44px;max-width:280px}h1,h2,p{margin:0}h1{font-size:1.65rem;line-height:1.2;font-weight:650;margin-top:8px}h2{font-size:1rem;line-height:1.3;font-weight:650}p{color:var(--muted)}[hidden]{display:none!important}.app{max-width:1580px;margin:auto;padding:24px}.header{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:20px}.eyebrow{font-size:.875rem;font-weight:600;letter-spacing:.06em;color:var(--muted)}.readonly{margin-left:12px;font-weight:400;letter-spacing:0;border-left:1px solid var(--line);padding-left:12px}.tools{display:flex;gap:8px;align-items:end;flex-wrap:wrap;justify-content:flex-end}.source-label{display:flex;flex-direction:column;gap:5px;font-size:.875rem;color:var(--muted)}.banner{border:1px solid #4c626e;background:#22333e;padding:12px 16px;border-radius:9px;margin-bottom:16px;font-size:.9375rem}.banner.warning{border-color:#8f6f39;background:#3a3022;color:#ffdaa2}.banner.good{border-color:#477964;background:#20372e;color:#b7efce}.banner.demo{border-color:#67628c;background:#2c2a41;color:#d1c9f1}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.metrics article{border:1px solid var(--line);background:var(--panel);border-radius:var(--radius);padding:16px 18px;min-width:0}.metrics h2{font-size:.875rem;font-weight:500;color:var(--muted)}.value{font-size:2rem;font-weight:650;letter-spacing:-.03em;font-variant-numeric:tabular-nums;margin:6px 0 2px}.metrics p{font-size:.875rem;min-height:20px}.metrics .stale .value{color:var(--amber)}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:16px}.workspace main,.workspace aside{display:flex;flex-direction:column;gap:16px;min-width:0}.panel{border:1px solid var(--line);background:var(--panel);border-radius:var(--radius);padding:16px 18px;min-width:0}.panel-head{display:flex;align-items:start;justify-content:space-between;gap:12px;margin-bottom:12px}.panel-head p{font-size:.875rem;margin-top:4px}.range{display:flex;border:1px solid var(--line);border-radius:8px;padding:2px;flex-shrink:0}.range button{min-height:36px;border:0;background:transparent;font-size:.875rem;padding:5px 11px}.range button[aria-pressed=true]{background:#41545f;color:#fff}.legend{display:flex;flex-wrap:wrap;gap:8px 20px;min-height:24px;margin-bottom:6px;font-size:.875rem;color:var(--muted)}.legend span{display:flex;align-items:center;gap:7px}.legend i{display:inline-block;width:20px;border-top:2px solid currentColor}.legend i.dashed{border-top-style:dashed}.legend .mean{color:var(--amber)}.legend .raw{color:var(--cyan)}.legend .target{color:#bbc5cc}.legend .chamber{color:#9f94e0}.legend .setpoint{color:var(--green)}.chart-wrap{position:relative}svg{display:block;width:100%;height:auto;max-height:310px;overflow:visible}svg text{font-family:inherit;font-size:14px;fill:var(--muted)}svg .grid{stroke:#344650;stroke-width:1}svg .axis{stroke:#4e626d}svg .series{fill:none;stroke-width:2;vector-effect:non-scaling-stroke}svg .raw-line{stroke-width:1.25;opacity:.75}svg .target-line{stroke-dasharray:5 5;stroke-width:1.25}svg .crosshair{stroke:#c4d3d9;stroke-dasharray:3 4;opacity:.7}.chart-tip{position:absolute;left:62px;top:12px;max-width:330px;background:#0d161ded;border:1px solid #516773;border-radius:7px;padding:9px 12px;pointer-events:none;font-size:.875rem;white-space:pre-line;box-shadow:0 4px 14px #0003}.chart-note{font-size:.875rem;margin:5px 0 0 54px}.tag{display:inline-block;border:1px solid var(--line);background:#263943;border-radius:6px;padding:3px 8px;color:var(--muted);font-size:.8125rem;white-space:nowrap}.tag.online{color:var(--green);border-color:#477964}.tag.warning{color:var(--amber);border-color:#8f6f39}.details{margin:0}.details>div{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid #30434d}.details>div:last-child{border-bottom:0}.details dt{color:var(--muted);font-size:.875rem}.details dd{margin:0;font-size:.875rem;text-align:right;font-variant-numeric:tabular-nums}.small{font-size:.875rem;line-height:1.5;margin-top:12px}.hold-value{font-size:1.75rem;font-weight:650;margin:0 0 8px;font-variant-numeric:tabular-nums}.alerts{list-style:none;padding:0;margin:0 0 14px}.alerts li{padding:9px 0;border-bottom:1px solid #334650;font-size:.9375rem}.alerts li:last-child{border:0}.alerts .warning{color:#ffd092}.alerts .info{color:var(--muted)}.replay-controls{display:flex;align-items:center;gap:16px}.replay-controls input{width:100%;accent-color:var(--amber)}.replay p{font-size:.875rem;margin-top:10px}.records{margin-top:16px}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:.875rem;font-variant-numeric:tabular-nums}th{font-weight:500;color:var(--muted);text-align:left}th,td{padding:9px 12px;border-bottom:1px solid #30434d;white-space:nowrap}th:first-child,td:first-child{padding-left:0}tr:last-child td{border-bottom:0}.missing{color:var(--amber)}footer{display:flex;justify-content:space-between;gap:20px;color:var(--muted);font-size:.8125rem;padding:16px 2px 0}.empty-chart{font-size:16px}
@media(min-width:1350px){.header{min-height:66px}}@media(max-width:1100px){.header{align-items:start;flex-direction:column}.tools{justify-content:flex-start}.workspace{grid-template-columns:minmax(0,1fr) 280px}.app{padding:20px}.value{font-size:1.75rem}}@media(max-width:800px){.workspace{grid-template-columns:1fr}.workspace aside{display:grid;grid-template-columns:1fr 1fr;align-items:start}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.app{padding:16px}.tools{width:100%}.source-label{flex:1;min-width:180px}select{width:100%;max-width:none}.panel{padding:14px}.value{font-size:1.75rem}.panel-head{flex-wrap:wrap}.chart-note{margin-left:0}footer{flex-direction:column;gap:4px}}@media(max-width:470px){.workspace aside{grid-template-columns:1fr}.metrics article{padding:14px}.readonly{display:block;margin:5px 0 0;padding:0;border:0}.tools button,.tools .button{flex:1}.source-label{flex-basis:100%}.range button{min-height:44px}.chart-tip{left:34px;max-width:260px}}
