:root{--mat: #f2f2f7;--panel: #ffffff;--ink: #000000;--muted: rgba(60, 60, 67, .6);--tertiary: rgba(60, 60, 67, .3);--rule: rgba(60, 60, 67, .29);--fill: rgba(120, 120, 128, .16);--tint: #e2342a;--sim: #007aff;--pass: #248a3d;--fail: #d70015;--busy: #c93400;--auto: #8a712e;--ask: #b85a1c;--idle: rgba(60, 60, 67, .3);--field: rgba(120, 120, 128, .12);--field-locked: rgba(120, 120, 128, .08);--hover: rgba(120, 120, 128, .12);--primary-hover: #c42a21;--highlight: rgba(255, 255, 255, .45);--code-bg: #1c1c1e;--code-ink: #f2f2f7;--code-muted: rgba(235, 235, 245, .55);--add-bg: rgba(52, 199, 89, .18);--del-bg: rgba(255, 59, 48, .15);--code-add-bg: rgba(48, 209, 88, .24);--code-del-bg: rgba(255, 69, 58, .26);--primary-bg: var(--tint);--primary-ink: #ffffff;--focus: var(--tint);--button-bg: transparent;--button-border: transparent;--radius: 10px;--switch-on: #34c759;color-scheme:light;--ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, system-ui, sans-serif;--code: ui-monospace, "SF Mono", Menlo, Consolas, monospace}@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--mat: #000000;--panel: #1c1c1e;--ink: #ffffff;--muted: rgba(235, 235, 245, .6);--tertiary: rgba(235, 235, 245, .3);--rule: rgba(84, 84, 88, .6);--fill: rgba(120, 120, 128, .32);--tint: #ff574a;--sim: #0a84ff;--switch-on: #30d158;--pass: #30d158;--fail: #ff453a;--busy: #ff9f0a;--auto: #bba250;--ask: #d98a4e;--idle: rgba(235, 235, 245, .3);--field: rgba(120, 120, 128, .24);--field-locked: rgba(120, 120, 128, .12);--hover: rgba(120, 120, 128, .24);--primary-hover: #ff6f64;--highlight: rgba(235, 235, 245, .06);--code-bg: #2c2c2e;--code-ink: #f2f2f7;--code-muted: rgba(235, 235, 245, .55);--add-bg: rgba(48, 209, 88, .2);--del-bg: rgba(255, 69, 58, .22);--code-add-bg: rgba(48, 209, 88, .24);--code-del-bg: rgba(255, 69, 58, .26);--primary-bg: var(--tint);--primary-ink: #ffffff;--focus: var(--tint);--button-bg: transparent;--button-border: transparent;color-scheme:dark}}:root[data-theme=dark]{--mat: #000000;--panel: #1c1c1e;--ink: #ffffff;--muted: rgba(235, 235, 245, .6);--tertiary: rgba(235, 235, 245, .3);--rule: rgba(84, 84, 88, .6);--fill: rgba(120, 120, 128, .32);--tint: #ff574a;--sim: #0a84ff;--pass: #30d158;--fail: #ff453a;--busy: #ff9f0a;--auto: #bba250;--ask: #d98a4e;--idle: rgba(235, 235, 245, .3);--field: rgba(120, 120, 128, .24);--field-locked: rgba(120, 120, 128, .12);--hover: rgba(120, 120, 128, .24);--primary-hover: #ff6f64;--highlight: rgba(235, 235, 245, .06);--code-bg: #2c2c2e;--code-ink: #f2f2f7;--code-muted: rgba(235, 235, 245, .55);--add-bg: rgba(48, 209, 88, .2);--del-bg: rgba(255, 69, 58, .22);--code-add-bg: rgba(48, 209, 88, .24);--code-del-bg: rgba(255, 69, 58, .26);--primary-bg: var(--tint);--primary-ink: #ffffff;--focus: var(--tint);--button-bg: transparent;--button-border: transparent;color-scheme:dark}*{box-sizing:border-box}[hidden]{display:none!important}html,body{height:100%}body{margin:0;background:var(--mat);color:var(--ink);font:15px/1.5 var(--ui)}h1,h2{margin:0;font-weight:600;letter-spacing:-.01em}h1{font-size:26px;line-height:1.15}h2{font-size:19px;line-height:1.25}p{margin:0}label,legend{font-weight:400;font-size:12.5px;text-transform:uppercase;letter-spacing:.02em;color:var(--muted)}fieldset{border:0;margin:0;padding:0}input[type=text],input[type=password],input[type=number],input[type=search],select,textarea{width:100%;font:inherit;color:var(--ink);background:var(--field);border:1px solid transparent;border-radius:8px;padding:8px 10px}input[type=checkbox],input[type=radio]{accent-color:var(--tint)}textarea{resize:vertical;min-height:96px}textarea[readonly]{background:var(--field-locked);color:var(--muted)}:focus-visible{outline:2px solid var(--focus);outline-offset:2px}button{font:inherit;font-weight:500;color:var(--tint);background:var(--fill);border:1px solid transparent;border-radius:8px;padding:8px 14px;cursor:pointer}button:hover:not(:disabled){background:var(--hover);filter:brightness(.97)}button.primary{background:var(--primary-bg);color:var(--primary-ink);border-color:var(--primary-bg);border-radius:99px;font-weight:600}button.primary:hover:not(:disabled){background:var(--primary-hover);filter:none}button.is-confirm,button.is-confirm:hover{color:#fff;background:var(--fail);border-color:var(--fail);font-weight:600;filter:none}button.confirm-cancel{margin-left:4px;padding-left:10px;padding-right:10px}button:disabled{opacity:.45;cursor:default}.hint{color:var(--muted);font-size:13.5px}.form-error{color:var(--fail);font-weight:600}.lamp{display:inline-block;width:14px;height:14px;border-radius:50%;background:var(--idle);flex:none}.lamp.pass{background:var(--pass)}.lamp.fail{background:var(--fail)}.lamp.busy{background:var(--busy);animation:pulse 2.4s ease-in-out infinite}.lamp.skip{background:transparent;border:2px solid var(--idle)}@keyframes pulse{0%,to{opacity:1}50%{opacity:.25}}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}#root{display:contents}::highlight(search-hit){background-color:color-mix(in srgb,var(--tint) 35%,transparent);color:inherit}.turn-anchor{display:contents}.device{--series-1: #2a78d6;--series-2: #f47230;--series-3: #00b894;--series-4: #f2a600;--series-5: #ee7fac;--series-6: #008a17;--series-7: #6a4ce2;--series-8: #ec4647;--seg-on: #e2342a;--seg-bg: rgba(120, 120, 128, .1);--seg-off-mix: 9%;--heat-lo: #cce3fd;--heat-hi: #0e3d7e}@media(prefers-color-scheme:dark){:root:where(:not([data-theme=light])) .device{--series-1: #3987e5;--series-2: #e76624;--series-3: #00a888;--series-4: #d28e05;--series-5: #e24d8b;--series-6: #0aac23;--series-7: #9887ef;--series-8: #eb6263;--seg-on: #ff574a;--seg-bg: #0c0c0d;--seg-off-mix: 12%;--heat-lo: #0e3d7e;--heat-hi: #cce3fd}}:root[data-theme=dark] .device{--series-1: #3987e5;--series-2: #e76624;--series-3: #00a888;--series-4: #d28e05;--series-5: #e24d8b;--series-6: #0aac23;--series-7: #9887ef;--series-8: #eb6263;--seg-on: #ff574a;--seg-bg: #0c0c0d;--seg-off-mix: 12%;--heat-lo: #0e3d7e;--heat-hi: #cce3fd}.device-bar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:16px}.device-work{margin:-8px 0 16px;font-size:13px;color:var(--muted)}.device-work summary{cursor:pointer}.device-work .report{max-height:200px;overflow:auto;white-space:pre-wrap;word-break:break-word}.device-bar select{width:auto;max-width:100%;padding:4px 8px;font-size:14px}.device-status{flex:1 1 100%;margin:0;overflow-wrap:anywhere}.device-intro{max-width:70ch}.device-intro ul{padding-left:20px;color:var(--muted)}.viewer.device{display:flex;flex-direction:column;container-type:inline-size}#device-body{flex:1;min-height:0}.device-layout{display:grid;grid-template-columns:minmax(300px,400px) minmax(0,1fr);gap:24px;height:100%}.device-tree{min-height:0;overflow-y:auto;padding-bottom:12px}.device-side{display:flex;flex-direction:column;gap:10px;min-height:0;min-width:0;overflow-y:auto}.device-side>.device-plot{flex:none}.device-layout.is-wide{grid-template-columns:minmax(0,1fr)}.device-side.is-grid{display:block}.device-grid{min-height:40px}.device-grid-item{min-width:0}.device-grid-item.is-sized{overflow:hidden}.device-grid-item.is-sized>.device-grid-card{height:100%;overflow:auto;display:flex;flex-direction:column}.device-grid-item.is-sized>.device-grid-card>.device-plot{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;box-sizing:border-box}.device-grid-item.is-sized .device-plot-svg{flex:1 1 0;min-height:80px}.device-grid-item.is-sized>.device-grid-card>.device-log{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}.device-grid-item.is-sized .device-log .log-view{flex:1 1 0;min-height:60px}.device-grid-item.is-sized .device-log .device-log-text{height:auto!important;flex:1 1 0;min-height:0}.device-grid-item.is-sized .device-log .log-min,.device-grid-item.is-sized .device-log .log-max,.device-grid-item.is-sized .device-log-grip{display:none}.device-grid-item.is-auto>.device-grid-card>.device-log.size-max .device-log-text{height:40vh;flex:none}.device-grid .react-grid-item.react-grid-placeholder{background:color-mix(in srgb,var(--tint) 10%,transparent);opacity:1;outline:2px dashed var(--tint);outline-offset:-2px;border-radius:var(--radius)}.device-grid .react-resizable-handle{z-index:2}.device-grid .react-resizable-handle:after{border-color:var(--muted)!important;width:7px!important;height:7px!important}.is-arranging .device-grid-item .device-plot-head,.is-arranging .device-grid-item .area-head{cursor:grab}.is-arranging .device-grid-item.react-draggable-dragging .device-plot-head,.is-arranging .device-grid-item.react-draggable-dragging .area-head{cursor:grabbing}.is-arranging .device-grid-item{outline:1px dashed var(--muted);outline-offset:2px;border-radius:var(--radius)}.is-arranging .device-grid-item .device-plot>:not(figcaption),.is-arranging .device-grid-item .device-log>:not(.area-head){pointer-events:none}.is-arranging .device-grid-item [tabindex="0"]:focus-visible{outline:2px solid var(--tint)}.is-arranging .device-grid-item.react-draggable-dragging{opacity:.85}.device-plot-size{align-self:center}.device-plot-size svg rect{fill:none;stroke:var(--muted);stroke-width:1.4}.device-plot-size svg rect.is-on{fill:var(--muted)}.device-plot-size:hover svg rect{stroke:var(--ink)}.device-plot-size:hover svg rect.is-on{fill:var(--ink)}.device-plot-meter{display:flex;flex-direction:column;align-items:center;margin:4px 0 8px}.device-plot-meter .meter{width:100%;max-width:260px;height:auto}.meter .meter-arc{fill:none;stroke:var(--muted);stroke-width:1.5}.meter .meter-tick{stroke:var(--ink);stroke-width:1.5;stroke-linecap:round}.meter .meter-tick.is-minor{stroke:var(--muted);stroke-width:1}.meter .meter-label{fill:var(--muted);font-size:10px;font-family:var(--ui);font-variant-numeric:tabular-nums}.meter .meter-needle{color:var(--seg-on);transition:transform .35s cubic-bezier(.3,1.4,.5,1)}.meter .meter-needle line{stroke:currentColor;stroke-width:2.5;stroke-linecap:round}.meter .meter-pivot{fill:var(--ink)}.device-plot-meter-value{font-size:20px;font-weight:600;font-variant-numeric:tabular-nums;margin-top:-2px}.device-plot-meter .device-plot-digits-range{align-self:flex-start}@media(prefers-reduced-motion:reduce){.meter .meter-needle{transition:none}}.device-plot-gauge{display:flex;flex-direction:column;gap:6px;margin:6px 0 8px}.gauge-value{font-size:18px;font-weight:600;font-variant-numeric:tabular-nums}.gauge-big{font-size:30px;font-weight:600;font-variant-numeric:tabular-nums;line-height:1.1}.hbar{padding:6px 0 2px}.hbar-track{position:relative;height:12px;border-radius:6px;background:var(--fill);overflow:hidden}.hbar-fill{position:absolute;inset:0 auto 0 0;background:var(--series-1);border-radius:6px;transition:width .25s ease-out}.hbar-swing{position:absolute;bottom:0;height:3px;background:color-mix(in srgb,var(--ink) 35%,transparent);border-radius:2px}.hbar-scale{position:relative;height:16px;margin-top:4px;font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}.hbar-scale span{position:absolute;transform:translate(-50%)}.hbar-scale span:first-child{transform:none}.hbar-scale span:last-child{transform:translate(-100%)}@media(prefers-reduced-motion:reduce){.hbar-fill{transition:none}}.gauge-level{display:flex;align-items:center;gap:12px}.level{height:132px;width:auto;flex:none}.level .level-tube{fill:var(--fill)}.level .level-fill{fill:var(--series-1);transition:y .3s,height .3s}.level .level-tick{stroke:var(--muted);stroke-width:1}.level .level-label{fill:var(--muted);font-size:10px;font-family:var(--ui);font-variant-numeric:tabular-nums}.spark{width:100%;height:44px;display:block;overflow:visible}.spark .spark-line{fill:none;stroke:var(--series-1);stroke-width:2;stroke-linejoin:round;vector-effect:non-scaling-stroke}.spark .spark-dot{fill:var(--series-1)}.device-plot{--ok: #30a46c;--warn: #f2a600;--alarm: #e5484d}.light-row{display:flex;align-items:center;gap:14px}.light-lamp{width:44px;height:44px;border-radius:50%;flex:none;display:grid;place-items:center;font-weight:700;font-size:15px;color:#fff;background:var(--fill);box-shadow:inset 0 -3px 6px #0003}.light-lamp.is-ok{background:var(--ok);box-shadow:0 0 14px color-mix(in srgb,var(--ok) 55%,transparent),inset 0 -3px 6px #0003}.light-lamp.is-amber{background:var(--warn);color:#1c1c1e;box-shadow:0 0 14px color-mix(in srgb,var(--warn) 55%,transparent),inset 0 -3px 6px #0003}.light-lamp.is-red{background:var(--alarm);box-shadow:0 0 16px color-mix(in srgb,var(--alarm) 60%,transparent),inset 0 -3px 6px #0003}.light-lamp.is-unset{color:var(--muted)}.light-words{display:flex;flex-direction:column}.light-levels{display:flex;flex-wrap:wrap;gap:6px 12px}.light-level{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted);text-transform:none;letter-spacing:0}.light-level .light-input{width:72px;padding:2px 6px;font-size:12px}.device-plot-levels{padding:6px 0 2px}.device-plot-levels[open]{display:flex;flex-direction:column;gap:6px}.device-plot-levels summary{color:var(--muted);font-size:13px;cursor:pointer}.level-state{margin-left:6px;font-size:12px;font-weight:600;padding:1px 8px;border-radius:999px}.level-state.is-ok{color:var(--ok);background:color-mix(in srgb,var(--ok) 14%,transparent)}.level-state.is-amber{color:color-mix(in oklab,var(--warn) 60%,var(--ink));background:color-mix(in srgb,var(--warn) 18%,transparent)}.level-state.is-red{color:var(--alarm);background:color-mix(in srgb,var(--alarm) 14%,transparent)}.gauge-dial{display:flex;align-items:center;gap:14px}.dial{width:128px;height:128px;flex:none}.dial .dial-face{fill:var(--fill);stroke:var(--rule)}.dial .dial-tick{stroke:var(--ink);stroke-width:1.5}.dial .dial-tick.is-minor{stroke:var(--muted);stroke-width:1}.dial .dial-label{fill:var(--muted);font-size:10px;font-weight:600;font-family:var(--ui)}.dial .dial-pointer{color:var(--seg-on);transition:transform .35s ease-out}.dial .dial-tip{fill:currentColor}.dial .dial-tail{fill:var(--muted)}@media(prefers-reduced-motion:reduce){.dial .dial-pointer,.level .level-fill{transition:none}}.gauge-xy{display:flex;align-items:flex-end;gap:10px}.xy{width:100%;max-width:190px;height:auto;flex:none}.xy .plot-grid{stroke:var(--rule);stroke-width:.75}.xy .plot-axis{fill:var(--muted);font-size:9px;font-family:var(--ui)}.xy .xy-dot{fill:var(--series-1)}.xy .xy-dot.is-latest{stroke:var(--panel);stroke-width:1.5}.xy-names{font-size:11px;color:var(--muted);line-height:1.5}.device-side-row{flex:none;display:flex;flex-wrap:wrap;gap:10px}.device-side-row>.device-plot{flex:0 1 calc(50% - 5px);min-width:0;box-sizing:border-box}.device-side-row .device-plot-head{flex-wrap:wrap}.device-side-row .device-plot-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1 1 auto}.device-side-row .device-plot-tools{max-width:100%;flex:0 1 auto;min-width:0}.device-side-row .device-plot-foot{flex-wrap:wrap}.is-arranging .device-side-row>.is-drop-before{box-shadow:-4px 0 0 var(--tint)}.is-arranging .device-side-row>.is-drop-after{box-shadow:4px 0 0 var(--tint)}.device-log{flex:none;display:flex;flex-direction:column;margin:0}.device-log .device-log-text{flex:none;min-height:0;max-height:none;margin:0}.device-log.size-max{flex:1 1 auto;min-height:240px}.device-log.size-max .device-log-text{flex:1 1 auto;min-height:200px}.log-note{text-transform:none;letter-spacing:0}.device-log .fold-btn[aria-pressed=true]{color:var(--tint)}.device-log-grip{flex:none;height:12px;cursor:ns-resize;display:grid;place-items:center;touch-action:none}.device-log-grip:before{content:"";width:36px;height:4px;border-radius:2px;background:var(--tertiary)}.device-log-grip:hover:before{background:var(--muted)}.device-log.size-max .device-log-grip{display:none}.device-group+.device-group{margin-top:22px}.device-group .group-title{margin:0 0 6px 16px;font-size:11.5px}.device-tree{font-size:14px}.device-group-body{background:var(--panel);border-radius:var(--radius);overflow:hidden}.device-group-note{margin:6px 16px 0;font-size:12px;color:var(--muted)}.device-changed{flex:none;width:7px;height:7px;border-radius:50%;background:var(--tint)}.device-cell.is-changed{background:color-mix(in srgb,var(--tint) 6%,transparent)}.device-group-save{display:flex;gap:2px;justify-content:flex-end;margin:6px 10px 0}button.device-save,button.device-revert{width:28px;height:28px;padding:0;border:0;border-radius:6px;background:transparent;color:var(--tint)}button.device-save:hover,button.device-revert:hover{background:var(--hover);color:var(--ink)}button.device-save svg,button.device-revert svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round}.device-cell{position:relative;display:block;width:100%;padding:9px 16px;min-height:44px}.device-cell+.device-cell:before{content:"";position:absolute;top:0;left:16px;right:0;border-top:1px solid var(--rule)}.device-line{display:flex;align-items:center;gap:10px}.device-name{flex:1;display:flex;flex-direction:column;min-width:min(7.5em,40%);overflow-wrap:break-word}.device-row-error{font-size:12px;padding-top:4px}.device-row-error:empty{display:none}button.device-nav{display:flex;align-items:center;gap:12px;text-align:left;font-weight:400;color:var(--ink);background:var(--panel);border:0;border-radius:0}button.device-nav:hover:not(:disabled){background:var(--hover);filter:none}.device-nav-name{flex:1;min-width:0}.device-nav svg,.device-back svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.device-nav svg:first-child{width:20px;height:20px;color:var(--tint)}.device-nav svg:last-child{width:16px;height:16px;color:var(--tertiary)}button.device-back{display:flex;align-items:center;gap:2px;padding:4px 8px 4px 2px;margin:0 0 12px;background:none;border:0;color:var(--tint);font-weight:400}button.device-back:hover:not(:disabled){background:var(--hover);filter:none}.device-back svg{width:20px;height:20px}.device-role{color:var(--muted);font-size:11px}.device-firmware-only .device-name,.device-firmware-only .device-value{opacity:.55}.device-firmware-only .device-reading{font-style:italic}.device-value{display:flex;gap:6px;align-items:center;justify-content:flex-end;font-variant-numeric:tabular-nums;min-width:0}.device-reading{min-width:0;overflow-wrap:anywhere}.device-units{color:var(--muted);font-size:12px;min-width:2.4em}.device-input{width:auto;max-width:9em;padding:2px 6px;font-size:13px}.device-input[type=number]{width:7em;text-align:right}.device-input[type=checkbox]{width:auto}.device-run-action{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end}.device-run-action .device-run{white-space:nowrap}.device-run-done{font-size:12px;color:var(--pass, var(--muted));min-width:3em}.device-run-done:empty{min-width:0}button.plot-row-btn{display:flex;padding:4px;border:0;background:transparent;color:var(--tint);border-radius:8px}button.plot-row-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}button.plot-row-btn:hover:not(:disabled){background:var(--hover);filter:none}button.plot-row-btn.is-plotted{background:color-mix(in srgb,var(--tint) 16%,transparent)}button.plot-row-btn:disabled{opacity:.4}.plot-row-count{font-size:11px;font-weight:600;line-height:18px;padding:0 1px 0 2px;font-variant-numeric:tabular-nums}.device-missing-note{margin:4px 12px 12px;color:var(--muted);font-size:13px}.device-swatch{display:inline-block;width:14px;height:14px;border-radius:3px;border:1px solid var(--rule);margin-right:6px;vertical-align:-2px}.device-plot{margin:0;position:relative;background:var(--panel);border:0;border-radius:var(--radius);padding:8px 12px}.device-plot-head{display:flex;gap:10px;align-items:baseline;font-size:14px}.device-plot-title{font-weight:600}.device-plot-now{margin-right:auto;color:var(--ink);font-variant-numeric:tabular-nums}.device-plot-svg{display:block;width:100%;height:120px;touch-action:none}.device-plot-svg .plot-grid{stroke:var(--rule);stroke-width:1}.device-plot-svg .plot-axis{fill:var(--muted);font-size:11px;font-family:var(--ui)}.device-plot-svg .plot-line{fill:none;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}.device-plot-svg .plot-line:not([stroke]),.device-plot-svg .plot-line-part:not([stroke]){stroke:var(--series-1)}.device-plot-svg .plot-line-part{stroke-width:2;stroke-linecap:round}.device-plot-svg .plot-line-part.is-coloured{stroke-width:3}.device-plot-foot{display:flex;flex-direction:row-reverse;align-items:flex-start;gap:10px}.device-plot-tools{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:4px 12px;flex:none;max-width:70%}.device-plot-svg .plot-line.series-1{stroke:var(--series-1)}.device-plot-svg .plot-dot.series-1{fill:var(--series-1);stroke:var(--panel)}.device-plot-svg .plot-line.series-2{stroke:var(--series-2)}.device-plot-svg .plot-dot.series-2{fill:var(--series-2);stroke:var(--panel)}.device-plot-svg .plot-line.series-3{stroke:var(--series-3)}.device-plot-svg .plot-dot.series-3{fill:var(--series-3);stroke:var(--panel)}.device-plot-svg .plot-line.series-4{stroke:var(--series-4)}.device-plot-svg .plot-dot.series-4{fill:var(--series-4);stroke:var(--panel)}.device-plot-svg .plot-line.series-5{stroke:var(--series-5)}.device-plot-svg .plot-dot.series-5{fill:var(--series-5);stroke:var(--panel)}.device-plot-svg .plot-line.series-6{stroke:var(--series-6)}.device-plot-svg .plot-dot.series-6{fill:var(--series-6);stroke:var(--panel)}.device-plot-svg .plot-line.series-7{stroke:var(--series-7)}.device-plot-svg .plot-dot.series-7{fill:var(--series-7);stroke:var(--panel)}.device-plot-svg .plot-line.series-8{stroke:var(--series-8)}.device-plot-svg .plot-dot.series-8{fill:var(--series-8);stroke:var(--panel)}.device-plot-legend{list-style:none;display:flex;flex-wrap:wrap;gap:2px 14px;margin:2px 0 0;padding:0;font-size:12px;color:var(--muted)}.legend-item{display:flex;align-items:center;gap:5px}.legend-value{color:var(--ink);font-variant-numeric:tabular-nums}.legend-swatch{display:inline-block;width:12px;height:3px;border-radius:2px;background:var(--series-1);flex:none}.legend-swatch.series-2{background:var(--series-2)}.legend-swatch.series-3{background:var(--series-3)}.legend-swatch.series-4{background:var(--series-4)}.legend-swatch.series-5{background:var(--series-5)}.legend-swatch.series-6{background:var(--series-6)}.legend-swatch.series-7{background:var(--series-7)}.legend-swatch.series-8{background:var(--series-8)}button.plot-row-btn.legend-remove{padding:1px;color:var(--muted)}button.plot-row-btn.legend-remove svg{width:12px;height:12px}.device-plot-tip .tip-row{display:flex;align-items:center;gap:5px}.device-plot-tip .tip-row strong{margin-left:auto;padding-left:8px}.device-plot-tip:has(.tip-row){display:flex;flex-direction:column;min-width:150px}.device-plot-tip[hidden]{display:none!important}.device-plot-digits{display:grid;grid-template-columns:auto 1fr;align-items:end;gap:4px 10px;margin:6px 0 8px}.device-plot-digits .seven-seg{height:64px;width:auto;max-width:100%;padding:10px 14px;background:var(--seg-bg);border-radius:8px;box-sizing:content-box}.seven-seg .seg{fill:color-mix(in srgb,var(--seg-on) var(--seg-off-mix),transparent)}.seven-seg .seg.is-on{fill:var(--seg-on)}.device-plot-digits-units{font-size:20px;color:var(--muted);padding-bottom:8px}.device-plot-digits-range{grid-column:1 / -1;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}.device-plot-svg .plot-bar:not([fill]){fill:var(--series-1)}.device-plot-svg .plot-hit{fill:transparent}.device-plot-svg .plot-bar-slot.is-hover .plot-hit{fill:var(--hover)}.device-image-body{position:relative;display:flex;align-items:stretch;gap:12px;margin:8px 0}.device-image-svg{display:block;height:200px;width:200px;flex:none;touch-action:none}.device-image-svg .plot-pixel.is-hover{stroke:var(--ink);stroke-width:1}.device-image-scale{display:flex;gap:6px;height:200px}.device-image-ramp{width:10px;border-radius:3px;background:linear-gradient(in oklab to bottom,var(--heat-hi),var(--heat-lo))}.device-image-ticks{display:flex;flex-direction:column;justify-content:space-between;font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}.device-plot-error{color:var(--fail)}.device-stream-words{color:var(--muted)}.device-image-wait{color:var(--muted);font-size:13px}.device-plot-tip.device-image-tip{top:8px;left:260px}.device-plot-table table th{text-align:left;font-weight:500;color:var(--muted);padding:1px 12px 1px 0}.device-plot-foot .device-plot-table{flex:1}.device-plot-colour-label{display:flex;align-items:center;gap:6px;flex:none;font-size:11px;text-transform:none;letter-spacing:0;color:var(--muted)}.device-plot-colour-by{field-sizing:content;width:auto;min-width:0;flex:none;font:inherit;font-size:11px;color:var(--muted);background:transparent;border:1px solid var(--rule);border-radius:5px;padding:0 2px;margin-top:2px}.device-plot-svg .plot-colour.is-off{fill:var(--muted);opacity:.25}.device-plot-svg .plot-crosshair{stroke:var(--muted);stroke-width:1}.device-plot-svg .plot-dot{fill:var(--series-1);stroke:var(--panel);stroke-width:2}.device-plot-tip{position:absolute;top:34px;padding:3px 8px;border-radius:6px;background:var(--ink);color:var(--panel);font-size:13px;pointer-events:none;white-space:nowrap;font-variant-numeric:tabular-nums}.device-plot-table summary{color:var(--muted);font-size:13px;cursor:pointer}.device-plot-table table{font-size:13px;border-collapse:collapse;font-variant-numeric:tabular-nums}.device-plot-table td{padding:1px 12px 1px 0}.device-log-text{overflow:auto;font-size:12.5px;padding:0;position:relative}.device-log-text:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.log-lines{position:relative;min-width:100%}.log-row{position:absolute;left:14px;height:18px;line-height:18px;white-space:pre;padding-right:14px}.log-row.log-empty,.log-time{color:var(--code-muted)}.log-view{position:relative;display:flex;flex-direction:column;min-height:0}.device-log.size-max .log-view{flex:1 1 auto;min-height:200px}button.log-latest{position:absolute;right:12px;bottom:10px;display:flex;gap:4px;align-items:center;background:var(--panel);color:var(--tint);border:1px solid var(--rule);box-shadow:0 2px 8px #00000040}button.log-latest svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.log-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;margin:0 0 6px 16px;font-size:13px}.log-find{display:flex;align-items:center;gap:2px}.log-toolbar-end{display:flex;align-items:center;gap:6px}input.log-find-input{width:8em;padding:3px 8px;font-size:13px}.log-find-count{color:var(--muted);margin:0 4px;font-variant-numeric:tabular-nums;white-space:nowrap}.log-levels{display:flex;align-items:center;gap:6px}button.log-level-btn{display:flex;align-items:center;gap:3px;height:22px;width:auto;padding:0 8px;border:1px solid var(--rule);border-radius:6px;background:transparent;--pill: var(--ansi-green, var(--pass))}button.log-level-btn.level-warn{--pill: var(--log-warn, #ff9f43)}button.log-level-btn.level-error{--pill: var(--log-error, var(--fail))}button.log-level-btn:hover{background:var(--hover)}button.log-level-btn[aria-pressed=true]{border-color:var(--pill);box-shadow:inset 0 0 0 1px var(--pill);background:color-mix(in srgb,var(--pill) 14%,transparent)}.log-pill{width:14px;height:5px;border-radius:3px;background:var(--pill)}.log-save-note{margin:0;font-size:13px;overflow-wrap:anywhere}.log-match{background:var(--find-bg);border-radius:2px}.log-match.current{background:var(--find-current-bg);box-shadow:0 0 0 1px var(--find-current-line)}.device{--ansi-black: #8e8e93;--ansi-red: #ff6b61;--ansi-green: #5fd47f;--ansi-yellow: #ffcc4d;--ansi-blue: #6cb4ff;--ansi-magenta: #e08cf0;--ansi-cyan: #5ad8e6;--ansi-white: #f2f2f7;--ansi-bright-black: #aeaeb2;--ansi-bright-red: #ff8a80;--ansi-bright-green: #7ee69a;--ansi-bright-yellow: #ffe080;--ansi-bright-blue: #9ccbff;--ansi-bright-magenta: #f0b0f8;--ansi-bright-cyan: #8ae8f0;--ansi-bright-white: #ffffff}@media(prefers-color-scheme:dark){:root:where(:not([data-theme=light])) .device{--ansi-red: #ff7a70;--ansi-green: #6ee08c;--ansi-yellow: #ffd60a;--ansi-blue: #7cc0ff}}:root[data-theme=dark] .device{--ansi-red: #ff7a70;--ansi-green: #6ee08c;--ansi-yellow: #ffd60a;--ansi-blue: #7cc0ff}.ansi-black{color:var(--ansi-black)}.ansi-red{color:var(--ansi-red)}.ansi-green{color:var(--ansi-green)}.ansi-yellow{color:var(--ansi-yellow)}.ansi-blue{color:var(--ansi-blue)}.ansi-magenta{color:var(--ansi-magenta)}.ansi-cyan{color:var(--ansi-cyan)}.ansi-white{color:var(--ansi-white)}.ansi-bright-black{color:var(--ansi-bright-black)}.ansi-bright-red{color:var(--ansi-bright-red)}.ansi-bright-green{color:var(--ansi-bright-green)}.ansi-bright-yellow{color:var(--ansi-bright-yellow)}.ansi-bright-blue{color:var(--ansi-bright-blue)}.ansi-bright-magenta{color:var(--ansi-bright-magenta)}.ansi-bright-cyan{color:var(--ansi-bright-cyan)}.ansi-bright-white{color:var(--ansi-bright-white)}.ansi-bold{font-weight:700}.device{--log-error: var(--ansi-red);--log-warn: #ff9f43}.log-row[data-level=E]{color:var(--log-error)}.log-row[data-level=W]{color:var(--log-warn)}.log-level-letter{font-weight:700}@container (max-width: 760px){.device-layout{grid-template-columns:minmax(0,1fr);height:auto}.device-tree,.device-side{overflow:visible}.device-log.size-max .device-log-text{height:60vh;flex:none}}input[type=checkbox].device-input{appearance:none;-webkit-appearance:none;position:relative;width:51px;height:31px;margin:0;flex:none;border-radius:99px;background:var(--fill);cursor:pointer;transition:background .2s}input[type=checkbox].device-input:after{content:"";position:absolute;top:2px;left:2px;width:27px;height:27px;border-radius:50%;background:#fff;box-shadow:0 3px 8px #00000026,0 1px 1px #00000029;transition:transform .2s}input[type=checkbox].device-input:checked{background:var(--switch-on)}input[type=checkbox].device-input:checked:after{transform:translate(20px)}input[type=checkbox].device-input:focus-visible{outline:2px solid var(--tint);outline-offset:2px}@media(prefers-reduced-motion:reduce){input[type=checkbox].device-input,input[type=checkbox].device-input:after{transition:none}}.area-head{display:flex;align-items:center;gap:8px;margin:0 0 6px 16px}.area-head .group-title{flex:1;margin:0;min-width:0}.device-group .area-head,.device-log .area-head{margin-left:16px}button.fold-btn{display:grid;place-items:center;width:26px;height:26px;padding:0;border:0;border-radius:6px;background:none;color:var(--muted);flex:none}button.fold-btn:hover:not(:disabled){color:var(--ink);background:var(--hover);filter:none}button.fold-btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.is-folded .group-title,.device-plot.is-folded .device-plot-title{cursor:pointer}.device-group.is-folded .device-group-body,.device-group.is-folded .device-group-note,.device-group.is-folded .device-group-save{display:none}.device-plot.is-folded>:not(figcaption){display:none!important}.device-plot.is-folded .device-plot-now{color:var(--muted)}.device-log.is-folded{flex:none;min-height:0}.device-log.is-folded .log-view,.device-log.is-folded .log-toolbar,.device-log.is-folded .device-log-grip{display:none}.device-log.is-folded.size-max{flex:none;min-height:0}.device-log.is-folded .area-head{margin-bottom:0}.device-arrange-tools{display:flex;align-items:center;gap:6px;margin-left:auto}.device-dashboard-tools{display:flex;align-items:center;gap:6px;flex-wrap:wrap}button.arrange-btn.is-on{background:color-mix(in srgb,var(--tint) 16%,transparent);color:var(--tint)}button.dashboard-save{position:relative}.dashboard-dot{position:absolute;top:4px;right:4px;width:7px;height:7px;border-radius:50%;background:var(--tint)}button.arrange-btn.is-confirm{padding:0 10px}.dashboard-which{display:inline-flex;align-items:center;gap:6px}.dashboard-which-ask{font-size:13px;color:var(--muted)}button.arrange-btn.dashboard-which-use,button.arrange-btn.dashboard-which-keep{padding:0 10px;white-space:nowrap}button.arrange-btn.dashboard-which-use{color:#fff;background:var(--tint);border-color:var(--tint);font-weight:600}.device-dashboard-error{font-size:12px}.device-sim-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-left:auto}.device-sim-tools:empty{display:none}.device-sim-tools+.device-arrange-tools{margin-left:0}button.arrange-btn{display:grid;place-items:center;min-width:32px;height:30px;padding:0 8px}button.arrange-btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.device-arrange-help{flex:1 1 100%;margin:0}.is-arranging .device-tree>.device-group[data-key]{cursor:grab;outline:1px dashed var(--muted);outline-offset:3px;border-radius:var(--radius)}.is-arranging .device-tree>.device-group[data-key]{padding:8px 0 2px}.is-arranging .device-group .device-group-body,.is-arranging .device-group .device-group-note,.is-arranging .device-tree .fold-btn{display:none!important}.is-arranging .device-group-body{pointer-events:none}.is-arranging .is-dragging{opacity:.4}.is-arranging .is-drop-before{box-shadow:0 -4px 0 var(--tint)}.is-arranging .is-drop-after{box-shadow:0 4px 0 var(--tint)}.is-arranging [draggable=true]:focus-visible{outline:2px solid var(--tint)}.device-link{display:block;color:var(--tint);text-decoration:none;margin-left:8px;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.device-reading .device-link{margin-left:0}.device-hostname{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.device-cell[data-path="Network.Hostname"] .device-input{width:14em;max-width:100%}.device-link:hover{text-decoration:underline}.device-page{display:flex;flex-direction:column;height:100%;min-height:0}.device-page>.device-layout{flex:1;min-height:0;height:auto}.sim-bar{flex:none;margin-bottom:18px}.sim-bar .area-head{margin-left:16px}.sim-bar .group-title{margin:0 0 6px;font-size:11.5px;color:var(--sim);display:flex;align-items:center;gap:8px}.sim-bar.is-folded .group-title{cursor:pointer}.sim-badge{padding:1px 7px;border-radius:999px;font-size:10.5px;font-weight:600;letter-spacing:.02em;text-transform:none;color:var(--sim);background:color-mix(in srgb,var(--sim) 14%,transparent)}.sim-cards{display:flex;gap:10px;overflow-x:auto;padding:10px;border-radius:var(--radius);background:color-mix(in srgb,var(--sim) 7%,var(--panel));border:1px solid color-mix(in srgb,var(--sim) 35%,transparent)}.sim-card{flex:1 0 240px;max-width:360px;background:var(--panel);border-radius:8px;padding:8px 12px 2px;border-left:3px solid var(--sim);min-width:0}.sim-card-head{display:flex;align-items:center;gap:6px;margin-bottom:2px}.sim-card-head svg{width:18px;height:18px;flex:none;fill:none;stroke:var(--sim);stroke-width:1.6;stroke-linecap:round}.sim-card-part{font-weight:600;font-size:14px}.sim-card-kind{margin-left:auto;font-size:11px;color:var(--muted)}.sim-input{padding:4px 0 2px}.sim-input+.sim-input{border-top:1px solid var(--rule)}.sim-input-line{display:flex;align-items:center;justify-content:space-between;gap:8px}.sim-input-name{font-size:13.5px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sim-input-value{display:flex;align-items:center;gap:4px;flex:none}.sim-input-value .device-input{width:86px;text-align:right;padding-top:3px;padding-bottom:3px}.sim-slider{display:flex;align-items:center;gap:6px;margin-top:2px}.sim-slider input[type=range]{flex:1;min-width:0;accent-color:var(--sim)}.sim-slider-end{font-size:10.5px;color:var(--muted);font-variant-numeric:tabular-nums}.sim-input .device-row-error:empty{display:none}@container (max-width: 760px){.device-page{height:auto}.device-page>.device-layout{flex:none}}.device-action{flex:1 1 100%;min-width:0;box-sizing:border-box;overflow-wrap:anywhere;scroll-margin-top:112px;scroll-margin-bottom:16px;border:1px solid color-mix(in srgb,var(--tint) 55%,transparent);border-left:4px solid var(--tint);border-radius:var(--radius);background:color-mix(in srgb,var(--tint) 9%,transparent);padding:8px 12px;margin:0}.device-action-row{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center}.device-action-text{flex:1 1 220px;min-width:0;font-size:13.5px}.device-action-go{font-weight:600;white-space:nowrap;animation:device-action-pulse 1.4s ease-in-out infinite}.device-action-cancel{margin-left:auto}.msg .device-action-go{flex:1 1 100%}.device-action-hint{margin:6px 0 0;font-size:12.5px;color:var(--muted)}@keyframes device-action-pulse{0%,to{box-shadow:0 0 color-mix(in srgb,var(--tint) 55%,transparent)}60%{box-shadow:0 0 0 7px color-mix(in srgb,var(--tint) 0%,transparent)}}@media(prefers-reduced-motion:reduce){.device-action-go{animation:none;outline:2px solid var(--tint);outline-offset:2px}}#device-body.device-empty{position:relative;isolation:isolate;min-height:420px}.device-backdrop{position:absolute;z-index:-1;right:0;bottom:0;width:min(75%,620px);max-height:80%;color:var(--ink);opacity:.1;pointer-events:none;-webkit-user-select:none;user-select:none}.device-backdrop.is-logo{width:min(40%,300px);opacity:.07;object-fit:contain}.device-progress-line{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.device-progress-line .working{margin:0}.device-progress{appearance:none;-webkit-appearance:none;width:25%;min-width:120px;height:10px;border:none;border-radius:5px;overflow:hidden;background:color-mix(in srgb,var(--muted) 25%,transparent);color:var(--tint)}.device-progress::-webkit-progress-bar{background:color-mix(in srgb,var(--muted) 25%,transparent);border-radius:5px}.device-progress::-webkit-progress-value{background:var(--tint);border-radius:5px;transition:width .2s ease}.device-progress::-moz-progress-bar{background:var(--tint);border-radius:5px}.viewer-head:has(.device-head-chips) h2{margin-right:0}.device-head-chips{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-right:auto;min-width:0}.device-head-chips:empty{display:none}.viewer-head:has(.device-head-chips:empty) h2{margin-right:auto}.viewer-head .device-fixed-chip{--c: var(--tint);align-self:center}.device-chips{display:contents}.device-chip{--c: var(--muted);--dot: var(--pass);display:inline-flex;align-items:center;gap:5px;font:inherit;font-size:12px;font-weight:500;line-height:18px;cursor:default;max-width:260px;overflow:hidden;text-overflow:ellipsis}.device-chip:before{content:"";flex:none;width:6px;height:6px;border-radius:50%;background:var(--dot)}button.device-chip{cursor:pointer}button.device-chip:hover{background:color-mix(in srgb,var(--c) 22%,transparent)}.device-chip.is-info{--dot: var(--muted)}.device-chip.is-warn{--c: color-mix(in oklab, #f2a600 60%, var(--ink));--dot: #f2a600}.device-chip.is-bad{--c: var(--fail);--dot: var(--fail)}.device-control-body{display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px 0 4px}.device-control-body .device-run-action{flex-wrap:wrap;justify-content:center}.device-control-slider{display:flex;align-items:center;gap:8px;width:100%}.device-control-slider input[type=range]{flex:1;min-width:0;accent-color:var(--tint)}.device-control[data-path^="Simulation."] .device-control-slider input[type=range]{accent-color:var(--sim)}.device-control-stepper{display:flex;align-items:center;gap:10px}.device-control-stepper button{min-width:32px;font-size:16px;line-height:1}.device-control-value{min-width:64px;text-align:center;font-size:18px;font-weight:600;font-variant-numeric:tabular-nums}.device-control-field{display:flex;align-items:center;gap:6px}.device-control-field .device-input{min-width:120px}.device-control-dial{display:flex;flex-direction:column;align-items:center}.device-dial{width:104px;height:104px;touch-action:none;cursor:ns-resize;border-radius:50%}.device-dial:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.device-dial[aria-disabled]{cursor:default;opacity:.5}.device-dial .dial-track{fill:none;stroke:var(--rule);stroke-width:7;stroke-linecap:round}.device-dial .dial-fill{fill:none;stroke:var(--tint);stroke-width:7;stroke-linecap:round}.device-control[data-path^="Simulation."] .device-dial .dial-fill{stroke:var(--sim)}.device-dial .dial-knob{fill:var(--fill);stroke:var(--rule);stroke-width:1}.device-dial .dial-pointer{stroke:var(--ink);stroke-width:3.5;stroke-linecap:round}.device-dial-range{display:flex;justify-content:space-between;width:96px;margin-top:-10px;font-size:10.5px;color:var(--muted);font-variant-numeric:tabular-nums}.device-switch{position:relative;width:46px;height:26px;padding:0;border-radius:13px;border:1px solid var(--rule);background:var(--fill);cursor:pointer}.device-switch-knob{position:absolute;top:2px;left:2px;width:20px;height:20px;border-radius:50%;background:var(--panel);box-shadow:0 1px 2px #00000040;transition:left .12s}.device-switch.is-on{background:var(--tint);border-color:var(--tint)}.device-switch.is-on .device-switch-knob{left:22px}.device-switch:disabled{opacity:.5;cursor:default}.device-toggle{min-width:110px}.device-segments{display:inline-flex;flex-wrap:wrap;border:1px solid var(--rule);border-radius:8px;overflow:hidden}.device-segments button{border:0;border-radius:0;background:transparent;padding:5px 12px;font-size:13px;color:var(--ink)}.device-segments button+button{border-left:1px solid var(--rule)}.device-segments button.is-on{background:var(--tint);color:var(--primary-ink)}.device-segments button:disabled{opacity:.5}.device-control-foot{justify-content:flex-start}.device-control-foot .device-plot-tools{max-width:none;align-items:center}.device-control .device-plot-head .device-changed{align-self:center}.device-control .device-row-error:empty{display:none}.device-control.is-folded>:not(figcaption){display:none!important}.control-row-btn{margin-left:2px}.device-control-colour{display:flex;align-items:center;gap:10px}.device-control-colour input[type=color]{width:56px;height:36px;padding:2px;border:1px solid var(--rule);border-radius:8px;background:var(--fill);cursor:pointer}.device-control-colour .device-control-value{font-size:14px;font-weight:500;font-family:var(--code);min-width:0}.device-hold{min-width:130px;padding:10px 16px;-webkit-user-select:none;user-select:none;touch-action:none}.device-control-presets{display:flex;flex-direction:column;align-items:center;gap:6px;width:100%}.device-presets-edit{align-self:stretch;font-size:12px;color:var(--muted)}.device-presets-edit summary{cursor:pointer}.device-presets-edit .device-input{width:100%;box-sizing:border-box;margin-top:4px}.device-control-pad{display:flex;flex-direction:column;align-items:center;gap:4px}.device-pad{width:140px;height:140px;touch-action:none;cursor:crosshair;border-radius:10px}.device-pad:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.device-pad[aria-disabled]{opacity:.5;cursor:default}.device-pad .pad-back{fill:var(--fill);stroke:var(--rule)}.device-pad .pad-axis{stroke:var(--rule);stroke-dasharray:3 3}.device-pad .pad-dot{fill:var(--tint);stroke:var(--panel);stroke-width:2}.device-control[data-path^="Simulation."] .device-pad .pad-dot{fill:var(--sim)}.device-pad-words{display:flex;gap:12px;font-size:11.5px;color:var(--muted);font-variant-numeric:tabular-nums}.device-control-range{display:flex;align-items:center;gap:8px;width:100%}.device-range-track{position:relative;flex:1;height:24px}.device-range-track:before{content:"";position:absolute;left:0;right:0;top:10px;height:4px;border-radius:2px;background:linear-gradient(to right,var(--rule) var(--lo),var(--tint) var(--lo),var(--tint) var(--hi),var(--rule) var(--hi))}.device-range-track input[type=range]{position:absolute;inset:0;width:100%;margin:0;background:none;pointer-events:none;-webkit-appearance:none;appearance:none}.device-range-track input[type=range]::-webkit-slider-runnable-track{background:none}.device-range-track input[type=range]::-webkit-slider-thumb{pointer-events:auto;-webkit-appearance:none;appearance:none;width:16px;height:16px;border-radius:50%;background:var(--panel);border:2px solid var(--tint);cursor:pointer;margin-top:0}.device-range-track input[type=range]::-moz-range-thumb{pointer-events:auto;width:14px;height:14px;border-radius:50%;background:var(--panel);border:2px solid var(--tint);cursor:pointer}.device-range-track input[type=range]::-moz-range-track{background:none}.cloud-card{margin:0 0 12px;padding:12px 14px;border:1px solid var(--rule);border-radius:var(--radius);background:var(--panel);display:grid;gap:10px}.cloud-head{display:flex;align-items:center;gap:10px}.cloud-head strong{flex:1}.cloud-pill{display:inline-flex;align-items:center;gap:6px;padding:2px 10px;border-radius:99px;font-size:13px;border:1px solid var(--rule);color:var(--muted)}.cloud-pill:before{content:"";width:8px;height:8px;border-radius:50%;background:var(--idle)}.cloud-pill.cloud-on{color:var(--ink)}.cloud-pill.cloud-on:before{background:var(--pass)}.cloud-pill.cloud-busy:before{background:var(--busy)}.cloud-idle,.cloud-send{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px}.cloud-done{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.cloud-idle p,.cloud-done p{flex:1;margin:0;min-width:14rem}.cloud-done a.button{padding:6px 12px;border-radius:99px;background:var(--button-bg);border:1px solid var(--button-border);color:var(--primary-bg);text-decoration:none;font-weight:600}.cloud-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(12rem,1fr));gap:10px}.cloud-form label{display:grid;gap:4px;font-size:13px;color:var(--muted)}.cloud-form p,.cloud-form .cloud-actions{grid-column:1 / -1;margin:0}.cloud-actions{display:flex;justify-content:flex-end;gap:8px}.cloud-steps{list-style:none;margin:0;padding:0;display:grid;gap:4px;font-size:14px}.cloud-steps li:before{display:inline-block;width:1.4em}.cloud-step-done{color:var(--pass)}.cloud-step-done:before{content:"✓"}.cloud-step-now{font-weight:600}.cloud-step-now:before{content:"◌"}.cloud-step-failed{color:var(--fail);font-weight:600}.cloud-step-failed:before{content:"✕"}.cloud-step-todo{color:var(--muted)}.cloud-step-todo:before{content:"○"}.cloud-failed{display:grid;gap:8px}.cloud-failed p{margin:0}.cloud-form input{width:100%;box-sizing:border-box;min-width:0;font:inherit;color:var(--ink);padding:7px 9px;border:1px solid var(--rule);border-radius:8px;background:var(--field)}.cloud-form input:focus-visible{outline:2px solid var(--focus);outline-offset:1px}.cloud-where{display:flex;gap:6px}.cloud-where input{flex:1}.cloud-where .cloud-locate{flex:none;width:34px;padding:0;font-size:18px;line-height:1;border-radius:8px}.hd{min-height:100vh;display:flex;flex-direction:column}.hd-bar{display:flex;align-items:center;gap:12px;padding:10px 20px;border-bottom:1px solid var(--rule);background:var(--panel)}.hd-brand{font-weight:600;color:var(--ink);text-decoration:none;margin-right:auto}.hd-who{color:var(--muted);font-size:.9em}.hd-main{padding:20px;max-width:1100px;width:100%;margin:0 auto;box-sizing:border-box}.hd-alone{max-width:32rem;margin:15vh auto;padding:0 20px}.hd-signin h1{margin:0 0 8px}.hd-note{color:var(--muted)}.hd-error{color:var(--fail)}.hd-sub{color:var(--muted);display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:4px 0 16px}.hd-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--idle);flex:none}.hd-dot.hd-on{background:var(--pass)}.hd-filters{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;margin-bottom:12px}.hd-filters label{display:inline-flex;gap:6px;align-items:center}.hd-count{color:var(--muted);margin-left:auto}.hd-devices{list-style:none;padding:0;margin:0;display:grid;gap:8px}.hd-devices a{display:grid;grid-template-columns:auto 1fr;column-gap:10px;align-items:center;padding:12px 14px;border:1px solid var(--rule);border-radius:var(--radius);background:var(--panel);color:var(--ink);text-decoration:none}.hd-devices a:hover{background:var(--hover)}.hd-devices .hd-sub{grid-column:2;margin:2px 0 0}.hd-device h1{margin:0;font-size:1.5em}.hd-tiles{display:grid;gap:10px;grid-template-columns:repeat(auto-fill,minmax(10rem,1fr));margin-bottom:16px}.hd-tile{padding:10px 12px;border:1px solid var(--rule);border-radius:var(--radius);background:var(--panel);display:grid;gap:4px}.hd-tile span{color:var(--muted);font-size:.85em;overflow-wrap:anywhere}.hd-tile strong{font-size:1.4em;font-variant-numeric:tabular-nums}.hd-spans{display:flex;gap:6px;margin-bottom:12px}.hd-spans button[aria-pressed=true]{background:var(--primary-bg);color:var(--primary-ink)}.hd-charts{display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(min(100%,20rem),1fr))}.hd-chart{margin:0;padding:10px 12px;border:1px solid var(--rule);border-radius:var(--radius);background:var(--panel)}.hd-chart figcaption{display:flex;justify-content:space-between;gap:8px;margin-bottom:6px}.hd-chart figcaption span{color:var(--muted);overflow-wrap:anywhere}.hd-chart figcaption strong{font-variant-numeric:tabular-nums}.hd-chart svg{width:100%;height:120px;display:block}.hd-chart path{fill:none;stroke:var(--focus);stroke-width:2}.hd-chart circle{fill:var(--focus)}.hd-chart-axis{display:flex;justify-content:space-between;color:var(--muted);font-size:.8em;font-variant-numeric:tabular-nums}.hd-chart.is-bare{border:0;padding:0;background:none}.hd-saved{display:grid;gap:12px;grid-template-columns:repeat(12,1fr);margin-bottom:20px;--ok: #30a46c;--warn: #f2a600;--alarm: #e5484d}.hd-card{margin:0;padding:10px 12px;border:1px solid var(--rule);border-radius:var(--radius);background:var(--panel);display:flex;flex-direction:column;gap:6px;min-width:0}.hd-card>figcaption{display:flex;justify-content:space-between;gap:8px}.hd-card>figcaption span{color:var(--muted);overflow-wrap:anywhere}.hd-card>figcaption strong{font-variant-numeric:tabular-nums;font-size:1.2em}.hd-card svg.meter{width:100%;max-height:150px}.hd-card-note{color:var(--muted);margin:0}.hd-digits .seven-seg{height:64px;width:auto;max-width:100%;padding:10px 14px;background:var(--seg-bg);border-radius:8px;box-sizing:content-box}.hd-card .light-levels{display:none}.hd-all{font-size:1.05em;margin:8px 0 10px;color:var(--muted);font-weight:600}@media(max-width:640px){.hd-saved>.hd-card{grid-column:1 / -1!important}}.hd-bell{position:relative}.hd-bell-on{color:#b42318;font-weight:600}.hd-bell-list{position:absolute;right:0;top:calc(100% + 6px);z-index:5;min-width:260px;padding:10px 14px;border:1px solid var(--rule);border-radius:8px;background:var(--panel);box-shadow:0 6px 20px #0000001f}.hd-bell-list ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}.hd-bell-list p{margin:0;color:var(--muted)}
