/* Right-side instrument dock: operator panel above physical I/O. */
.right-dock{width:var(--io-width,320px);min-width:240px;max-width:700px;display:flex;flex-direction:column;flex-shrink:0;min-height:0;overflow:hidden;gap:0}.right-dock>.io-pane:not(.io-floating):not(.io-remote-source){width:100%;min-width:0;max-width:none;flex:1;min-height:100px}.hmi-pane{display:flex;flex-direction:column;min-height:140px;height:var(--hmi-dock-height,47%);flex-shrink:0;border:1px solid var(--border);background:#eef2f6;position:relative;overflow:hidden}.no-docked-io>.hmi-pane:not(.hmi-floating){height:auto;flex:1}.no-docked-hmi>.io-pane:not(.io-floating){height:100%}.hmi-io-splitter{height:7px;min-height:7px;cursor:row-resize;touch-action:none}.hmi-io-splitter:after{content:'';display:block;width:35px;height:2px;background:#859bb1;margin:2px auto}.hmi-io-splitter:hover{background:#9abbdc}.hmi-window-title{min-height:29px;gap:8px;touch-action:none}.hmi-window-title>span:last-child{display:flex;gap:3px}.hmi-window-title button{font-size:15px;min-width:23px;height:23px}.hmi-view-host{flex:1;min-height:0;display:flex;min-width:0}.hmi-app{display:flex;flex-direction:column;flex:1;min-width:0;min-height:0;color:#233b50;font:11px Tahoma,'Segoe UI',sans-serif;overflow:hidden;background:#edf2f7}.hmi-topbar{display:flex;flex-wrap:wrap;gap:5px;align-items:center;padding:6px;background:#e3eaf1;border-bottom:1px solid #b0bfcc;flex-shrink:0}.hmi-topbar select{padding:3px;max-width:170px;min-width:0;font-size:11px}.hmi-mode-tabs{display:flex;border:1px solid #92a5b8;border-radius:3px;overflow:hidden}.hmi-mode-tabs button{padding:5px 7px;font-size:11px;border-radius:0}.hmi-mode-tabs button.active{background:#244b70;color:white}.hmi-plc-status{font-size:9px;color:#667b8d;margin-left:auto;white-space:nowrap}.hmi-plc-status.running{color:#12884c}.hmi-design-options{padding:5px 8px;display:flex;align-items:center;gap:8px;background:#f7f9fb;border-bottom:1px solid #bbc8d4;flex-wrap:wrap;flex-shrink:0}.hmi-design-options>span{flex:1}.hmi-design-options label{display:flex;align-items:center;gap:4px}.hmi-design-options button{border:1px solid #afbdcb;padding:3px 7px}.hmi-workarea{flex:1;display:flex;min-height:0;min-width:0}.hmi-library{width:146px;min-width:116px;overflow:auto;background:#e6edf4;border-right:1px solid #afbdcb;padding:8px 5px;flex-shrink:0}.hmi-library>div{font-size:9px;color:#607a91;font-weight:bold;padding:3px 5px 10px}.hmi-library button{display:block;width:100%;text-align:left;padding:7px;font-size:11px;border-bottom:1px solid #d1dbe4}.hmi-library button.active{background:#244b70;color:white}.hmi-viewport{flex:1;min-width:0;min-height:0;overflow:auto;padding:12px;display:grid;align-items:center;justify-items:center;background:#bec9d3;outline:none}.hmi-stage{position:relative;flex-shrink:0;box-shadow:0 4px 16px #0004}.hmi-canvas{position:absolute;left:0;top:0;transform-origin:0 0;overflow:hidden;isolation:isolate;touch-action:none;user-select:none;color:#fff}.hmi-canvas.hmi-grid{background-image:radial-gradient(#b7d8f42b 1px,transparent 1px);background-size:10px 10px}.hmi-object{position:absolute;color:var(--hmi-text);font-family:Tahoma,'Segoe UI',sans-serif;line-height:1.2;outline:none;touch-action:none}.hmi-object[data-hmi-type=button],.hmi-object[data-hmi-type=toggle],.hmi-object[data-hmi-type=navigate]{cursor:pointer}.hmi-widget-body{width:100%;height:100%;display:flex;flex-direction:column;gap:5px;align-items:center;justify-content:center;text-align:center;overflow:hidden}.hmi-widget-body>svg{min-height:0;width:100%;flex:1}.hmi-caption{font-size:.75em;max-width:100%;overflow-wrap:anywhere;padding:2px 5px}.hmi-push-face,.hmi-nav-face{width:100%;height:100%;display:flex;align-items:center;justify-content:center;gap:12px;padding:8px;border:var(--hmi-border-width) solid var(--hmi-border);border-radius:8px;background:var(--hmi-off);box-shadow:inset 0 3px 0 #ffffff14,0 4px 0 #0006;overflow-wrap:anywhere;font-size:.95em;font-weight:bold}.hmi-object[data-hmi-on=true] .hmi-push-face{background:var(--hmi-color);box-shadow:inset 0 2px 5px #0004;transform:translateY(2px)}.hmi-nav-face{background:#254665;border-radius:4px;font-size:.8em}.hmi-selector{display:block;width:80px;height:30px;background:var(--hmi-off);border:2px solid var(--hmi-border);border-radius:18px;padding:3px}.hmi-selector i{display:block;width:20px;height:20px;border-radius:50%;background:#f1f6fb;box-shadow:0 2px 4px #0005}.hmi-object[data-hmi-on=true] .hmi-selector{background:var(--hmi-color)}.hmi-object[data-hmi-on=true] .hmi-selector i{transform:translateX(48px)}.hmi-widget-body>small{font-size:.6em}.hmi-numeric{font-size:1.45em;font-family:Consolas,monospace;font-weight:normal;letter-spacing:-.02em}.hmi-numeric small{font-size:.5em}.hmi-widget-body>label{font-size:.7em;display:flex;flex-direction:column;gap:10px;align-items:stretch;width:100%;padding:4px 8px}.hmi-widget-body input[type=number]{width:100%;min-width:0;background:#0c1b29;color:#e9f3fa;border:1px solid #718ba0;font-size:1.4em;padding:7px}.hmi-widget-body input[type=range]{padding:0;width:100%;accent-color:var(--hmi-color);height:26px;background:none}.hmi-entry-controls{display:flex;gap:6px;align-items:stretch}.hmi-entry-controls button{border:1px solid #7290a8;background:#285a7d;color:white;padding:5px 10px}.hmi-progress-track{width:96%;height:30px;position:relative;border:var(--hmi-border-width) solid var(--hmi-border);background:var(--hmi-off);border-radius:3px;overflow:hidden}.hmi-progress-track i{display:block;height:100%;background:var(--hmi-color)}.hmi-progress-track b{position:absolute;inset:0;display:grid;place-items:center;font-size:.7em;font-weight:normal}.hmi-shape{display:flex;align-items:center;justify-content:center;width:100%;height:100%;border:var(--hmi-border-width) solid var(--hmi-border);overflow-wrap:anywhere}.hmi-shape.ellipse{border-radius:50%}.hmi-widget-body>img{width:100%;height:100%;object-fit:contain}.hmi-image-empty{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;border:2px dashed #718ba0;color:#9ab2c6;font-size:50px}.hmi-image-empty small{font-size:12px}.hmi-text{white-space:pre-wrap;overflow-wrap:anywhere;width:100%;text-align:left;padding:2px}.hmi-object.selected{outline:2px solid #67c9ff;z-index:1}.hmi-object-resize{display:none;position:absolute;bottom:-5px;right:-5px;width:12px;height:12px;background:#d9f4ff;border:2px solid #2789bd;cursor:nwse-resize;z-index:4}.hmi-object.selected .hmi-object-resize{display:block}.hmi-binding-badge{display:none;position:absolute;right:3px;top:3px;width:9px;height:9px;border-radius:50%;background:#efb34b}.hmi-invalid .hmi-binding-badge{display:block}.hmi-object[aria-disabled=true]{cursor:not-allowed}.hmi-object:focus-visible{outline:3px solid #67c9ff;outline-offset:2px}.hmi-conditional-hidden{opacity:.4}.hmi-draw-preview{position:absolute;border:2px dashed #67c9ff;background:#67c9ff22;pointer-events:none;z-index:50}.hmi-properties{width:236px;min-width:200px;max-width:270px;overflow:auto;background:#f3f6f9;border-left:1px solid #afbdcb;padding:9px;flex-shrink:0}.hmi-property-title{font-weight:bold;letter-spacing:.03em;text-transform:uppercase;font-size:10px;padding:2px 0 12px}.hmi-object-kind{font-size:10px;background:#dce7f1;border-radius:3px;padding:6px;margin-bottom:8px}.hmi-properties label{display:flex;flex-direction:column;gap:5px;margin:0 0 10px;font-size:10px}.hmi-properties input,.hmi-properties select{font-size:11px;width:100%;min-width:0;padding:5px}.hmi-properties input[type=color]{height:30px;padding:2px}.hmi-prop-pair{display:grid;grid-template-columns:1fr 1fr;gap:0 8px}.hmi-properties .hmi-check{flex-direction:row;align-items:center;line-height:1.5}.hmi-check input{width:auto;flex-shrink:0}.hmi-property-note{font-size:10px;line-height:1.6;color:#6a7f92;margin:0 0 12px}.hmi-property-error{font-size:10px;color:#b46317;line-height:1.5}.hmi-primary{background:#275a81!important;color:white!important;border:1px solid #6197bd!important;padding:7px 10px!important}.hmi-properties .hmi-primary{width:100%}.hmi-arrange{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-top:12px}.hmi-arrange button{border:1px solid #abbccd;background:#e6edf4;font-size:10px;padding:7px 3px}.hmi-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:5px 8px;border-top:1px solid #b0bfcc;font-size:9px;color:#61798e;background:#e3eaf1;flex-shrink:0;white-space:nowrap;overflow:hidden}.hmi-footer>span:last-child{overflow:hidden;text-overflow:ellipsis}.hmi-workarea[data-hmi-mode=operate]>.hmi-library,.hmi-workarea[data-hmi-mode=operate]>.hmi-properties{display:none}.hmi-empty{padding:20px 16px;display:flex;flex-direction:column;align-items:flex-start;gap:10px;overflow:auto;line-height:1.7}.hmi-empty>b{font-size:15px}.hmi-empty p{margin:0;color:#6b8092}.hmi-empty button{border:1px solid #9cafc1;background:#e1eaf2}.hmi-window-resize{display:none}.hmi-pane.hmi-floating{position:fixed;z-index:36;min-height:300px;min-width:400px;max-width:none;box-shadow:0 12px 40px #0006}.hmi-floating>.hmi-window-title{cursor:move;user-select:none}.hmi-floating>.hmi-window-resize{display:block;position:absolute;bottom:0;right:0;width:22px;height:22px;background:repeating-linear-gradient(135deg,transparent 0 4px,#7da3c3 4px 6px);clip-path:polygon(100% 0,100% 100%,0 100%);cursor:nwse-resize;touch-action:none;z-index:30}.hmi-remote-source{display:none!important}.hmi-popout-page{height:100dvh;display:flex;flex-direction:column;overflow:hidden}.hmi-popout-header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:6px 10px;font-size:10px;background:#1d3d5a;color:#dcebf7;flex-shrink:0}.hmi-popout-header button{color:white;border:1px solid #7ea1be;padding:4px 9px}.io-undocked #ioSplitter{display:block}.desktop:has(#rightDock[hidden]) #ioSplitter{display:none}.right-dock .hmi-window-title{font-size:11px}
:root[data-theme=dark] .hmi-pane,:root[data-theme=dark] .hmi-app{background:#1e2c3b;color:#d9e8f4}:root[data-theme=dark] .hmi-topbar,:root[data-theme=dark] .hmi-design-options,:root[data-theme=dark] .hmi-footer{background:#25394b;color:#c2d6e7;border-color:#536b80}:root[data-theme=dark] .hmi-library,:root[data-theme=dark] .hmi-properties{background:#1c2d3d;color:#dce9f4;border-color:#536b80}:root[data-theme=dark] .hmi-library button{border-color:#344d63}:root[data-theme=dark] .hmi-library>div,:root[data-theme=dark] .hmi-property-note,:root[data-theme=dark] .hmi-empty p{color:#9fb9cf}:root[data-theme=dark] .hmi-object-kind,:root[data-theme=dark] .hmi-arrange button,:root[data-theme=dark] .hmi-empty button{background:#2b455d;color:#e1edf6;border-color:#536b80}:root[data-theme=dark] .hmi-viewport{background:#0f1b27}:root[data-theme=dark] .hmi-plc-status{color:#acc2d5}:root[data-theme=dark] .hmi-plc-status.running{color:#54da99}:root[data-theme=dark] .hmi-property-error{color:#ffcc83}
@media(max-width:720px){.right-dock{width:100%;min-width:0;max-width:none;height:720px}.hmi-pane{height:340px}.hmi-library{width:115px;min-width:100px}.hmi-properties{width:200px;min-width:180px}.hmi-pane.hmi-floating{min-width:400px}.hmi-topbar{gap:3px}}

.hmi-filebar{display:flex;align-items:center;gap:4px;flex-wrap:wrap;padding:5px 6px;background:#d7e2ec;border-bottom:1px solid #a4b8c9;flex-shrink:0}.hmi-filebar button{border:1px solid #91a9bc;background:#f2f7fb;padding:5px 8px;font-size:10px}.hmi-filebar>span{margin-left:auto;font-size:9px;color:#657f94}.hmi-file-dialog{max-width:480px;padding:22px;color:#233b50;font:12px Tahoma,'Segoe UI',sans-serif;background:#f0f5fa;border:1px solid #8ca7be;border-radius:5px;box-shadow:0 15px 45px #0006}.hmi-file-dialog h2{font-size:18px;margin:0 0 16px}.hmi-file-dialog p{line-height:1.7}.hmi-file-dialog>div{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px;justify-content:flex-end}.hmi-file-dialog button{border:1px solid #8fa8be;padding:7px 10px}.hmi-file-dialog::backdrop{background:#07152388}:root[data-theme=dark] .hmi-filebar{background:#1c3042;border-color:#536b80}:root[data-theme=dark] .hmi-filebar button{background:#2b455d;color:#e1edf6;border-color:#536b80}:root[data-theme=dark] .hmi-filebar>span{color:#9fb9cf}:root[data-theme=dark] .hmi-file-dialog{background:#1d3042;color:#deebf6;border-color:#6c8da8}
/* Component families reveal style previews; existing objects keep their default style. */
.hmi-library{width:182px;min-width:150px;padding:6px}.hmi-library-family{border-bottom:1px solid #b6c7d5}.hmi-library-family>summary{display:flex;align-items:center;justify-content:space-between;gap:5px;cursor:pointer;list-style:none;padding:9px 5px;font-size:11px;font-weight:bold}.hmi-library-family>summary:before{content:'▸';color:#6e8da7}.hmi-library-family[open]>summary:before{content:'▾'}.hmi-library-family>summary>small{margin-left:auto;font-weight:normal;font-size:9px;color:#66829a}.hmi-variant-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:1px 1px 8px}.hmi-library .hmi-variant-tile{padding:4px;min-width:0;display:flex;flex-direction:column;gap:4px;align-items:center;text-align:center;border:1px solid #a8bdce;border-radius:4px;background:#f3f7fb;font-size:9px;line-height:1.3;overflow:hidden}.hmi-library .hmi-variant-tile.active{background:#244b70;border-color:#67c9ff;color:#fff;box-shadow:0 0 0 1px #67c9ff}.hmi-miniature{display:block;position:relative;width:100%;height:53px;min-height:53px;background:#142638;border-radius:3px;color:white;font-size:8px;overflow:hidden;pointer-events:none;--hmi-live:var(--hmi-color);--hmi-selector-angle:45deg}.hmi-miniature .hmi-widget-body{gap:0;padding:3px}.hmi-miniature .hmi-caption,.hmi-miniature [data-hmi-switch-state]{display:none}.hmi-miniature .hmi-push-face,.hmi-miniature .hmi-nav-face{font-size:8px;box-shadow:none;padding:2px;border-width:1px}.hmi-miniature .hmi-selector{transform:scale(.55);flex-shrink:0}.hmi-miniature .hmi-text{font-size:8px}.hmi-library-control-preview{border:2px solid #899faf;padding:6px;font:11px monospace;background:#0a1925;white-space:nowrap}.hmi-control-preview-slider{font-size:16px;border:0;color:#61d49c}.hmi-control-preview-vertical{writing-mode:vertical-lr}
.hmi-object{--hmi-live:var(--hmi-off);--hmi-selector-angle:-45deg}.hmi-object[data-hmi-on=true]{--hmi-live:var(--hmi-color);--hmi-selector-angle:45deg}.hmi-button-face{fill:var(--hmi-live)}.hmi-button-cap{transition:transform .08s}.hmi-object[data-hmi-on=true] .hmi-button-cap{transform:translateY(3px)}.hmi-button-glow{opacity:.12}.hmi-object[data-hmi-on=true] .hmi-button-glow{opacity:.8;filter:drop-shadow(0 0 4px var(--hmi-color))}.hmi-push-square{border-radius:1px}.hmi-selector-rotor{transform:rotate(var(--hmi-selector-angle,-45deg));transition:transform .16s ease-out}.hmi-digital{width:94%;padding:8px 12px;background:#061410;color:var(--hmi-color);border:2px solid #5d727b;border-radius:3px;box-shadow:inset 0 2px 8px #000a;text-shadow:0 0 8px #31c87955;display:flex;justify-content:space-between;gap:8px;align-items:baseline}.hmi-panel-meter{width:94%;padding:8px 12px;color:#15251e;background:#a7bcb0;border:5px solid #34414d;box-shadow:0 2px 0 #0008;display:flex;justify-content:space-between;align-items:baseline}.hmi-keypad-face{padding:5px;background:#253c4f;border:2px solid var(--hmi-border);border-radius:5px}.hmi-keypad-dots{font-size:.5em;color:#9db3c6;letter-spacing:2px;line-height:.6}.hmi-entry-underline input{border-width:0 0 2px!important;background:transparent!important}.hmi-widget-body .hmi-vertical-slider{flex:1;min-height:0;align-items:center;padding:6px;gap:5px}.hmi-vertical-slider input[type=range]{writing-mode:vertical-lr;direction:rtl;width:28px;flex:1;min-height:30px;height:auto}.hmi-widget-body .hmi-industrial-slider{border:2px solid var(--hmi-border);border-radius:6px;background:linear-gradient(100deg,#233746,#405363 48%,#233746);padding:9px 12px}.hmi-vertical-progress{height:78%;width:42%;min-width:16px;background:var(--hmi-off);border:2px solid var(--hmi-border);position:relative;overflow:hidden;border-radius:3px}.hmi-vertical-progress i{display:block;position:absolute;bottom:0;left:0;right:0;background:var(--hmi-color)}.hmi-segmented-progress{display:flex;width:96%;height:28px;gap:3px;padding:3px;border:1px solid var(--hmi-border);background:#101e2b}.hmi-segmented-progress i{flex:1;min-width:0}.hmi-heading-text{font-weight:bold;border-bottom:2px solid var(--hmi-color);letter-spacing:.05em}.hmi-nameplate{border:var(--hmi-border-width) solid var(--hmi-border);background:linear-gradient(100deg,#344b5b,#1b2c3a);border-radius:3px;padding:8px 12px!important;text-align:center!important;box-shadow:inset 0 1px 0 #ffffff25}.hmi-inset-panel{box-shadow:inset 4px 4px 10px #0008,inset -2px -2px 5px #ffffff25}.hmi-raised-panel{border-radius:7px;box-shadow:inset 2px 2px 3px #ffffff55,inset -3px -3px 4px #0005,0 4px 7px #0005}.hmi-ring{background:transparent}.hmi-glass{box-shadow:inset 0 10px 16px #ffffff55,inset 0 -8px 14px #0005}.hmi-widget-body>img.hmi-image-cover{object-fit:cover}.hmi-widget-body>img.hmi-image-frame{object-fit:contain;border:4px solid var(--hmi-border);border-radius:4px;padding:4px;background:var(--hmi-off)}.hmi-nav-arrow{clip-path:polygon(0 0,88% 0,100% 50%,88% 100%,0 100%);padding-right:18px;border-radius:0;background:var(--hmi-color);color:#102335}.hmi-nav-tab{border-radius:10px 10px 0 0;border-bottom:4px solid var(--hmi-color);background:#253d54}.hmi-fan-blades{transform-origin:100px 67px}.hmi-object[data-hmi-on=true] .hmi-fan-blades{animation:hmi-fan-spin 1.5s linear infinite}@keyframes hmi-fan-spin{to{transform:rotate(360deg)}}
:root[data-theme=dark] .hmi-library-family{border-color:#3f586e}:root[data-theme=dark] .hmi-library-family>summary>small{color:#9fb9cf}:root[data-theme=dark] .hmi-library .hmi-variant-tile{background:#263d51;border-color:#536f87;color:#dceaf5}:root[data-theme=dark] .hmi-library .hmi-variant-tile.active{background:#244b70;border-color:#67c9ff}@media(prefers-reduced-motion:reduce){.hmi-selector-rotor,.hmi-button-cap{transition:none}.hmi-object[data-hmi-on=true] .hmi-fan-blades{animation:none}}

.hmi-suggest-size{font-size:10px;border:1px solid #8ca7be;padding:4px 7px;margin:-3px 0 10px;width:100%}:root[data-theme=dark] .hmi-suggest-size{border-color:#536f87;background:#263d51}

.hmi-miniature[data-hmi-on=true] .hmi-push-face{background:var(--hmi-color)}.hmi-miniature[data-hmi-style=keypad] .hmi-library-control-preview{border-radius:4px;border-bottom-width:7px}.hmi-miniature[data-hmi-style=underline] .hmi-library-control-preview{border-width:0 0 2px;background:none}.hmi-miniature[data-hmi-style=industrial] .hmi-library-control-preview{border:2px solid #829ab0;background:#304b60;border-radius:3px}
/* Multiple-selection tools belong to Design mode only. */
.hmi-selection-tools{display:flex;align-items:center;flex-wrap:wrap;gap:4px;padding:5px 8px;border-bottom:1px solid #adbfce;background:#e2eaf2;flex-shrink:0;font-size:10px}.hmi-selection-tools>span:first-child{font-weight:bold;margin-right:5px;min-width:58px}.hmi-selection-tools button{border:1px solid #9eb3c5;background:#f6f9fc;font-size:10px;padding:4px 7px}.hmi-selection-hint{margin-left:auto;color:#637f95}.hmi-selection-bounds{position:absolute;outline:1px dashed #8ddaff;outline-offset:5px;pointer-events:none;z-index:3}.hmi-marquee{position:absolute;pointer-events:none;background:#67c9ff22;border:1.5px solid #67c9ff;z-index:60}.hmi-app[data-hmi-multi=true] .hmi-object-resize{display:none}.hmi-selection-metrics{padding:9px;border:1px solid #afc1d1;background:#e5edf5;font:11px/1.8 Consolas,monospace;margin-bottom:14px}.hmi-align-controls>b{display:block;font-size:10px;text-transform:uppercase;color:#476984;margin:12px 0 6px}.hmi-align-controls>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.hmi-align-controls>div:last-child{grid-template-columns:1fr 1fr}.hmi-align-controls button{border:1px solid #a4b8c9;background:#e3edf5;font-size:10px;padding:7px 3px}.hmi-selected-list{padding:0 0 0 18px;font-size:10px;line-height:1.9;overflow-wrap:anywhere}.hmi-properties .hmi-arrange+.hmi-property-note{margin-top:12px}:root[data-theme=dark] .hmi-selection-tools{background:#23394c;border-color:#536b80}:root[data-theme=dark] .hmi-selection-tools button,:root[data-theme=dark] .hmi-align-controls button{background:#2b455d;color:#deebf6;border-color:#536b80}:root[data-theme=dark] .hmi-selection-hint,:root[data-theme=dark] .hmi-align-controls>b{color:#a8c3db}:root[data-theme=dark] .hmi-selection-metrics{background:#162b3d;border-color:#536b80;color:#d6e7f5}
/* Design inspector and layers share one column so the canvas retains its room. */
.hmi-inspector{width:244px;min-width:220px;display:flex;flex-direction:column;flex-shrink:0;border-left:1px solid #afbdcb;background:#e6edf4;min-height:0}.hmi-inspector-tabs{display:flex;gap:4px;padding:5px;border-bottom:1px solid #afbdcb;flex-shrink:0}.hmi-inspector-tabs button{flex:1;padding:6px;border:1px solid #a4b8c9;background:#f6f9fc;font-size:11px}.hmi-inspector-tabs button.active{background:#244b70;color:#fff}.hmi-inspector .hmi-properties{width:auto;min-width:0;border:0;flex:1;overflow:auto}.hmi-layer-panel{padding:9px;flex:1;overflow:auto;min-height:0}.hmi-layer-actions{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin:8px 0 12px}.hmi-layer-actions button{font-size:10px;border:1px solid #a4b8c9;background:#f6f9fc;padding:5px 3px}.hmi-layer-panel [data-hmi-rename],.hmi-properties [data-hmi-rename]{display:flex;gap:4px;align-items:end;margin:8px 0 12px}.hmi-app [data-hmi-rename] label{flex:1;min-width:0;font-size:10px}.hmi-app [data-hmi-rename] input{display:block;width:100%;min-width:0;padding:5px;border:1px solid #a4b8c9;background:#fff;color:#233b50;font-size:11px;margin-top:4px}.hmi-app [data-hmi-rename] button{padding:5px;font-size:10px;border:1px solid #a4b8c9}.hmi-layer-row{display:grid;grid-template-columns:minmax(0,1fr) 42px 42px;gap:3px;padding:4px 2px;border-bottom:1px solid #c3d0dc;align-items:center}.hmi-layer-row.selected{background:#c6e1f5;box-shadow:inset 2px 0 #287bad}.hmi-layer-row button{min-width:0;font-size:9px;border:1px solid #b1c2cf;padding:4px 2px;background:#f5f8fb}.hmi-layer-row button[aria-pressed=true]:not(.hmi-layer-select){background:#526f85;color:white}.hmi-layer-row .hmi-layer-select{border:0;background:none;text-align:left;overflow:hidden;padding:4px}.hmi-layer-select span{display:block;font-size:8px;color:#58768d}.hmi-layer-select b{display:block;font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.hmi-layer-select small{display:block;font-size:9px}.hmi-layer-child{padding-left:12px}.hmi-layer-group{border:1px solid #aabfce;margin:6px 0}.hmi-layer-group>summary{cursor:pointer;padding:6px;background:#d7e3ee;font-weight:bold;overflow-wrap:anywhere}.hmi-app[data-mode=operate] .hmi-inspector{display:none}.hmi-app[data-mode=design] .hmi-object[data-hmi-locked=true]{cursor:not-allowed}.hmi-app[data-mode=design] .hmi-object[data-hmi-locked=true] .hmi-object-resize{display:none}.hmi-object[hidden]{display:none!important}
:root[data-theme=dark] .hmi-inspector,:root[data-theme=dark] .hmi-layer-panel{background:#1c3041;color:#deebf6;border-color:#536b80}:root[data-theme=dark] .hmi-inspector-tabs{border-color:#536b80}:root[data-theme=dark] .hmi-layer-row{border-color:#425e74}:root[data-theme=dark] .hmi-layer-row.selected{background:#2c526e}:root[data-theme=dark] .hmi-layer-group{border-color:#536b80}:root[data-theme=dark] .hmi-layer-group>summary{background:#2a4358}:root[data-theme=dark] .hmi-layer-row button,:root[data-theme=dark] .hmi-layer-actions button,:root[data-theme=dark] .hmi-inspector-tabs button,:root[data-theme=dark] .hmi-app [data-hmi-rename] button{background:#2b455d;color:#deebf6;border-color:#536b80}:root[data-theme=dark] .hmi-layer-select span{color:#a8c3db}:root[data-theme=dark] .hmi-inspector-tabs button.active{background:#356a91}:root[data-theme=dark] .hmi-app [data-hmi-rename] input{background:#142737;color:#deebf6;border-color:#536b80}
@media(max-width:720px){.hmi-inspector{width:220px;min-width:200px}}

.hmi-plc-controls{display:flex;gap:4px;align-items:center;padding-left:7px;border-left:1px solid #93a9bc}.hmi-plc-controls button{font-size:11px;padding:5px 7px;border:1px solid #92a5b8;border-radius:3px}.hmi-plc-controls [data-hmi-action=plcRun]>span{color:#16894f}:root[data-theme=dark] .hmi-plc-controls{border-color:#536b80}:root[data-theme=dark] .hmi-plc-controls button{background:#2b455d;color:#deebf6;border-color:#536b80}:root[data-theme=dark] .hmi-plc-controls [data-hmi-action=plcRun]>span{color:#54da99}
/* HMI alarms: fixed controls with a scrolling summary keep acknowledgement accessible. */
.hmi-alarm-preview{width:100%;height:100%;padding:12px;background:#203b50;border:1px solid #829ab0;display:flex;flex-direction:column;justify-content:center;gap:12px;text-align:left;font-size:14px;color:#e5f1fa}.hmi-alarm-preview b{color:#ffcc81}.hmi-object[data-hmi-type=alarmbanner] .hmi-widget-body,.hmi-object[data-hmi-type=alarmlist] .hmi-widget-body{overflow:hidden;text-align:left;gap:0}.hmi-alarm-banner{width:100%;height:100%;display:flex;align-items:center;gap:14px;flex-wrap:wrap;align-content:center;padding:10px 14px;border:1px solid #466f69;border-left:5px solid #43ba91;background:#153d39;color:#eff7fc;font-size:13px;overflow:auto}.hmi-alarm-banner>div:first-child{display:flex;flex-direction:column;gap:5px;min-width:120px}.hmi-alarm-banner span,.hmi-alarm-banner small{font-size:11px;color:#d5e4ee;display:block}.hmi-alarm-banner>p{flex:1;min-width:150px;margin:0}.hmi-alarm-banner>p>strong{display:block;margin-bottom:5px}.hmi-alarm-banner>div:last-of-type{display:flex;gap:6px}.hmi-alarm-banner.has-alarm{background:#45371f;border-color:#b38a49;border-left-color:#f0b958}.hmi-alarm-banner.has-alarm.severity-critical{background:#512b30;border-color:#ba6069;border-left-color:#ff7b80}.hmi-alarm-banner.has-alarm.severity-info{background:#203d58;border-left-color:#73bdf5}.hmi-alarm-banner button,.hmi-alarm-list button{background:#2e4a61!important;color:#edf5fc!important;border:1px solid #89a1b4!important;border-radius:3px;padding:6px 8px;font-size:11px;white-space:nowrap}.hmi-alarm-list{display:flex;flex-direction:column;width:100%;height:100%;min-height:0;background:#132a3c;color:#e8f2fa;border:1px solid #718da4;font:12px/1.4 Tahoma,'Segoe UI',sans-serif}.hmi-alarm-list>header{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:9px;background:#223f56;flex-shrink:0}.hmi-alarm-list>header>b{margin-right:auto}.hmi-alarm-list>header label{display:flex;align-items:center;gap:5px;font-size:11px}.hmi-alarm-list select{background:#152d40;color:#e8f2fa;border:1px solid #829ab0;font-size:11px;padding:5px}.hmi-alarm-table-scroll{flex:1;min-height:0;overflow:auto}.hmi-alarm-list table{border-collapse:collapse;width:100%;min-width:740px;color:#e8f2fa}.hmi-alarm-list th{position:sticky;top:0;background:#2d485d;text-align:left;font-size:10px;padding:8px;border-bottom:1px solid #64839a}.hmi-alarm-list td{padding:9px 8px;border-bottom:1px solid #37546a;vertical-align:top;font-size:11px;background:#132a3c;color:#e8f2fa}.hmi-alarm-list tr:nth-child(even) td{background:#1a3347}.hmi-alarm-list td:first-child{min-width:200px}.hmi-alarm-list td small{display:block;font-size:10px;color:#a8c2d5;margin-top:4px}.hmi-alarm-list .is-active td:first-child{border-left:4px solid #f0b958}.hmi-alarm-list .is-active.severity-critical td:first-child{border-left-color:#ff7b80}.hmi-alarm-list .is-active.severity-info td:first-child{border-left-color:#73bdf5}.hmi-alarm-list .is-unack td:nth-child(3){color:#ffd18e}.hmi-alarm-errors{margin:0;padding:5px 8px;color:#ffcf95!important;background:#4a3028;font-size:11px;flex-shrink:0}.hmi-alarm-dialog{width:min(1100px,94vw);max-height:90vh;padding:0;border:1px solid #859bb0;border-radius:5px;background:#edf3f8;color:#233b50;font:12px Tahoma,'Segoe UI',sans-serif;overflow:auto}.hmi-alarm-dialog::backdrop{background:#08172499}.hmi-alarm-dialog-title{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 16px;background:#244b70;color:#fff}.hmi-alarm-dialog-title h2{font-size:16px;margin:0}.hmi-alarm-dialog-title button{color:white;padding:3px 8px;border:1px solid #8aa4bb}.hmi-alarm-dialog [data-alarm-body]{padding:14px}.hmi-alarm-dialog [data-alarm-body]>.hmi-alarm-list{height:60vh}.hmi-alarm-setup-note{font-size:12px;line-height:1.6;margin:0 0 14px}.hmi-alarm-setup-grid{display:grid;grid-template-columns:minmax(230px,1fr) minmax(300px,1.25fr);gap:20px}.hmi-alarm-definitions{max-height:55vh;overflow:auto}.hmi-alarm-definitions>button{display:block;width:100%;text-align:left;border:1px solid #a1b4c5;padding:9px;background:#f8fbfd;margin-bottom:6px;color:#233b50}.hmi-alarm-definitions>button.selected{background:#cee5f7;border-color:#5782a3}.hmi-alarm-definitions small{display:block;font-size:10px;margin-top:6px}.hmi-alarm-setup-grid form{display:flex;flex-direction:column;gap:11px}.hmi-alarm-setup-grid h3{margin:0 0 5px;font-size:14px}.hmi-alarm-setup-grid label{display:flex;flex:1;flex-direction:column;gap:5px;min-width:0;font-size:12px}.hmi-alarm-setup-grid input,.hmi-alarm-setup-grid select{width:100%;padding:7px;border:1px solid #92a9bc;background:#fff;color:#233b50;font-size:12px;min-width:0}.hmi-alarm-setup-grid form>div{display:flex;gap:12px}.hmi-alarm-setup-grid form>.hmi-alarm-enabled{flex-direction:row;align-items:center}.hmi-alarm-enabled input{width:auto}.hmi-alarm-setup-grid form button{border:1px solid #718ba2;padding:8px 12px;background:#dceaf5;color:#233b50}.hmi-alarm-form-error{min-height:15px;font-size:12px;color:#94302b;margin:0}.hmi-miniature .hmi-alarm-preview{font-size:8px;padding:4px;gap:4px}.hmi-miniature .hmi-alarm-preview span{font-size:6px}:root[data-theme=dark] .hmi-alarm-dialog{background:#1c3041;color:#deebf6}:root[data-theme=dark] .hmi-alarm-definitions>button,:root[data-theme=dark] .hmi-alarm-setup-grid form button{background:#2b455d;color:#deebf6;border-color:#536b80}:root[data-theme=dark] .hmi-alarm-definitions>button.selected{background:#356086}:root[data-theme=dark] .hmi-alarm-setup-grid input,:root[data-theme=dark] .hmi-alarm-setup-grid select{background:#132737;color:#deebf6;border-color:#536b80}:root[data-theme=dark] .hmi-alarm-form-error{color:#ffcf95}@media(max-width:650px){.hmi-alarm-setup-grid{grid-template-columns:1fr}.hmi-alarm-definitions{max-height:180px}}
/* Trend widgets keep controls stable while plot samples refresh. */
.hmi-object[data-hmi-type=trend] .hmi-widget-body{overflow:hidden;gap:0;text-align:left}.hmi-trend-preview{width:100%;height:100%;display:flex;flex-direction:column;gap:8px;justify-content:center;padding:14px;border:1px solid #718da4;background:#132b3e;color:#e8f3fc;font-size:14px}.hmi-trend-preview>svg{width:100%;min-height:0;flex:1}.hmi-trend-preview>span{font-size:11px;color:#aac6da}.hmi-miniature .hmi-trend-preview{padding:4px;font-size:8px;gap:2px}.hmi-miniature .hmi-trend-preview>span{display:none}.hmi-trend-chart{display:flex;flex-direction:column;min-height:0;width:100%;height:100%;background:#132b3e;border:1px solid #718da4;color:#e8f3fc;font:12px/1.4 Tahoma,'Segoe UI',sans-serif;overflow:hidden}.hmi-trend-chart>header{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:8px 10px;flex-shrink:0;background:#223f56}.hmi-trend-chart>header>b{margin-right:auto}.hmi-trend-chart [data-trend-mode]{font-size:10px;color:#a8d1ed}.hmi-trend-chart button{background:#2e4a61!important;color:#edf5fc!important;border:1px solid #89a1b4!important;padding:5px 9px;border-radius:3px;font-size:11px}.hmi-trend-legend,.hmi-trend-references{display:flex;flex-wrap:wrap;gap:5px 16px;padding:5px 10px;flex-shrink:0;font-size:11px}.hmi-trend-legend>span,.hmi-trend-references>span{display:flex;align-items:center;gap:6px}.hmi-trend-legend i,.hmi-trend-references i{width:16px;height:3px;background:var(--pen);display:inline-block}.hmi-trend-references{padding-top:0;color:#bfd4e4;font-size:10px}.hmi-trend-references:empty{display:none}.hmi-trend-references i{height:0;border-top:2px dashed var(--pen);background:none}.hmi-trend-chart [data-hmi-trend-plot]{display:block;flex:1;width:100%;min-height:45px;overflow:hidden}.hmi-trend-chart [data-hmi-trend-plot] text{font:11px Tahoma,'Segoe UI',sans-serif;fill:#b9d0e2}.hmi-trend-grid{stroke:#38566d;stroke-width:1}.hmi-trend-inspection{display:flex;align-items:center;gap:10px;flex-wrap:wrap;border-top:1px solid #3c5c74;padding:7px 10px;flex-shrink:0;font-size:10px;color:#c3d9e9}.hmi-trend-inspection>label{display:flex;gap:8px;align-items:center;flex:1;min-width:180px;white-space:nowrap}.hmi-trend-inspection input{flex:1;min-width:50px;accent-color:#59c7ff}.hmi-trend-inspection output{font-size:10px}.hmi-trend-error{margin:0;padding:5px 10px;color:#ffd091;background:#4a3028;flex-shrink:0;font-size:11px}.hmi-trend-properties{margin:14px 0;padding:9px;border:1px solid #a4b8c9;min-width:0}.hmi-trend-properties>legend{font-weight:bold;font-size:11px}.hmi-trend-properties .hmi-check{flex-direction:row;align-items:center;gap:6px}.hmi-trend-properties .hmi-check input{width:auto}.hmi-trend-pen{border-top:1px solid #a4b8c9;margin-top:12px;padding-top:8px}.hmi-trend-pen>b{font-size:10px;color:#476984}:root[data-theme=dark] .hmi-trend-properties,:root[data-theme=dark] .hmi-trend-pen{border-color:#536b80}:root[data-theme=dark] .hmi-trend-pen>b{color:#a8c3db}
.hmi-object[data-hmi-type=pid] .hmi-widget-body{gap:0;overflow:hidden;text-align:left}.hmi-pid-preview{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;background:#18354b;border:1px solid #829ab0;padding:12px;font-size:16px;color:#e8f3fa}.hmi-pid-preview>strong{font-size:32px;color:#69caff}.hmi-pid-preview>small{font-size:12px}.hmi-miniature .hmi-pid-preview{font-size:7px;gap:3px;padding:4px}.hmi-miniature .hmi-pid-preview>strong{font-size:16px}.hmi-miniature .hmi-pid-preview>small{display:none}.hmi-pid-panel{display:flex;flex-direction:column;width:100%;height:100%;overflow:auto;background:#142c3f;color:#e8f3fa;border:1px solid #718da4;font:12px/1.4 Tahoma,'Segoe UI',sans-serif}.hmi-pid-panel>header{display:flex;justify-content:space-between;gap:12px;padding:10px;background:#24455d;flex-shrink:0}.hmi-pid-panel>header>span{color:#8bddb9;font-size:11px}.hmi-pid-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:12px 10px}.hmi-pid-metrics>div{display:flex;flex-direction:column;text-align:center;background:#102334;border:1px solid #4d718b;padding:7px 3px}.hmi-pid-metrics small{font-size:10px;color:#b5cddd}.hmi-pid-metrics strong{font:22px Consolas,monospace;color:#83d2ff;padding:5px 0}.hmi-pid-metrics span{font-size:10px}.hmi-pid-state{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:0 10px 8px;font-size:10px}.hmi-pid-state [data-hmi-pid-limited]{color:#ffd08d;margin-right:auto}.hmi-pid-panel button{padding:6px 8px;background:#2e4b62!important;color:#e8f3fa!important;border:1px solid #829fb4!important;border-radius:3px;font-size:11px;white-space:nowrap}.hmi-pid-panel>form{display:flex;gap:8px;align-items:end;border-top:1px solid #38566e;padding:9px 10px;flex-shrink:0}.hmi-pid-panel label{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px;font-size:10px}.hmi-pid-panel input{width:100%;min-width:0;padding:6px;background:#0b2031;color:#edf6fb;border:1px solid #64849c;font-size:13px}.hmi-pid-tuning{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;flex:1;min-width:0}.hmi-pid-panel input:disabled{opacity:.55}.hmi-pid-terms{display:flex;gap:6px 12px;flex-wrap:wrap;padding:8px 10px;border-top:1px solid #38566e;font-size:10px}.hmi-pid-terms b{color:#a4ddff}.hmi-pid-note{font-size:10px;color:#a8c4d9;padding:0 10px;margin:4px 0}.hmi-pid-panel [data-hmi-pid-error]{font-size:10px;color:#ffd08d;padding:0 10px;margin:4px 0 8px}.pid-block [data-state].on{color:#158c42}.pid-block>button{border:1px solid #819bb1;padding:5px;margin-top:6px;width:100%}.pid-setup-dialog{width:min(650px,94vw);max-height:90vh;overflow:auto;background:#edf3f8;color:#233b50;border:1px solid #819bb1;padding:16px;font:13px/1.5 Tahoma,'Segoe UI',sans-serif}.pid-setup-dialog::backdrop{background:#07162499}.pid-setup-dialog .dialog-title{display:flex;align-items:center;justify-content:space-between}.pid-setup-dialog h2{font-size:17px}.pid-settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px 15px}.pid-settings-grid label{display:flex;flex-direction:column;gap:5px;font-size:12px}.pid-settings-grid input:not([type=checkbox]){padding:6px;border:1px solid #92a9bc;background:#fff;color:#233b50}.pid-setup-dialog button{padding:6px 10px;border:1px solid #819bb1;margin-right:6px}.pid-setup-dialog [data-pid-error]{color:#a5322a}:root[data-theme=dark] .pid-setup-dialog{background:#1c3041;color:#deebf6}:root[data-theme=dark] .pid-settings-grid input:not([type=checkbox]){background:#142737;color:#deebf6;border-color:#536b80}:root[data-theme=dark] .pid-setup-dialog [data-pid-error]{color:#ffcb90}

.hmi-pid-panel>form{margin:0;padding:7px 10px}.hmi-pid-metrics{padding-top:8px;padding-bottom:8px}
/* Named recipes use the same metadata and runtime in docked and pop-out HMIs. */
.hmi-object[data-hmi-type=recipe] .hmi-widget-body{overflow:hidden;gap:0;text-align:left}.hmi-recipe-preview{width:100%;height:100%;background:#19364d;border:1px solid #819ab0;display:flex;flex-direction:column;gap:14px;justify-content:center;padding:14px;color:#e6f2fa;font-size:16px}.hmi-recipe-preview>small{font-size:12px}.hmi-miniature .hmi-recipe-preview{font-size:8px;gap:4px;padding:4px}.hmi-miniature .hmi-recipe-preview>small{display:none}.hmi-recipe-selector{width:100%;height:100%;overflow:auto;background:#172f42;color:#e7f3fb;border:1px solid #718da4;font:12px/1.5 Tahoma,'Segoe UI',sans-serif;display:flex;flex-direction:column}.hmi-recipe-selector>header{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;background:#23445c;gap:10px}.hmi-recipe-selector>div{display:flex;gap:8px;flex-wrap:wrap;align-items:end;padding:10px 12px}.hmi-recipe-selector label{display:flex;flex-direction:column;gap:4px;flex:1;min-width:140px;font-size:11px}.hmi-recipe-selector select{width:100%;padding:7px;background:#102839;color:#e7f3fb;border:1px solid #819bb0;font-size:12px}.hmi-recipe-selector button{border:1px solid #819bb0!important;background:#2e4b62!important;color:#e7f3fb!important;padding:7px 10px;border-radius:3px;font-size:11px;white-space:nowrap}.hmi-recipe-selector>p{margin:0;padding:0 12px 5px;font-size:11px}.hmi-recipe-selector>small{padding:0 12px;color:#a9c5d9;font-size:10px}.hmi-recipe-selector>output{padding:4px 12px 8px;font-size:10px;color:#9de0bc}.hmi-recipe-dialog{width:min(1120px,94vw);max-height:90vh;overflow:auto;padding:0;background:#edf3f8;color:#233b50;border:1px solid #819bb0;border-radius:5px;font:12px/1.5 Tahoma,'Segoe UI',sans-serif}.hmi-recipe-dialog::backdrop{background:#08192899}.hmi-recipe-dialog>header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;gap:12px;background:#244b70;color:#fff}.hmi-recipe-dialog>header h2{font-size:17px;margin:0}.hmi-recipe-dialog>header button{border:1px solid #8aa4ba;color:white;padding:3px 8px}.hmi-recipe-dialog-body{padding:16px}.hmi-recipe-dialog-body p{white-space:pre-line}.hmi-recipe-dialog label{display:flex;flex-direction:column;gap:5px;font-size:12px}.hmi-recipe-dialog input,.hmi-recipe-dialog select{min-width:0;padding:7px;border:1px solid #93aabe;background:#fff;color:#233b50;font-size:12px}.hmi-recipe-main-select{max-width:500px;margin-bottom:12px}.hmi-recipe-buttons{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.hmi-recipe-dialog button:not([data-recipe-close]){border:1px solid #7d97ad;background:#dceaf5;color:#233b50;padding:7px 11px;border-radius:3px;font-size:12px}.hmi-recipe-help{font-size:11px;color:#526e86}.hmi-recipe-dialog [data-recipe-error]{min-height:16px;color:#9c3d2b;font-weight:bold}.hmi-recipe-validation{padding:9px 12px;background:#d6eee3;border:1px solid #90bfa9;color:#235f45}.hmi-recipe-validation.invalid{background:#f5e1d9;border-color:#cf9c87;color:#8c382b}.hmi-recipe-table-scroll{overflow:auto;max-height:50vh}.hmi-recipe-dialog table{width:100%;border-collapse:collapse;font-size:12px}.hmi-recipe-dialog th{position:sticky;top:0;background:#d4e2ee;text-align:left;padding:8px;border:1px solid #a9bdcc;font-size:11px}.hmi-recipe-dialog td{padding:8px;border:1px solid #b7c7d4;background:#f8fbfd;color:#233b50;vertical-align:top}.hmi-recipe-dialog tr:nth-child(even) td{background:#e7eff6}.hmi-recipe-dialog td small{display:block;color:#607e94;font-size:10px}.hmi-recipe-dialog .has-error td{background:#f8e5de}.hmi-recipe-name-fields{display:grid;grid-template-columns:1fr 2fr;gap:16px}.hmi-recipe-edit-table{min-width:900px}.hmi-recipe-edit-table input,.hmi-recipe-edit-table select{width:100%;padding:5px;font-size:11px}.hmi-recipe-edit-table td{padding:5px}.hmi-recipe-edit-table td:first-child{min-width:180px}.hmi-recipe-edit-table td:nth-child(2){min-width:120px}.hmi-recipe-edit-table td:nth-child(3){min-width:75px}.hmi-recipe-edit-table td:nth-child(n+4){min-width:100px}.hmi-recipe-edit-table td:last-child{min-width:32px}:root[data-theme=dark] .hmi-recipe-dialog{background:#1c3041;color:#deebf6}:root[data-theme=dark] .hmi-recipe-dialog input,:root[data-theme=dark] .hmi-recipe-dialog select{background:#142737;color:#e4eff7;border-color:#536b80}:root[data-theme=dark] .hmi-recipe-dialog button:not([data-recipe-close]){background:#2b455d;color:#deebf6;border-color:#536b80}:root[data-theme=dark] .hmi-recipe-help{color:#a8c2d7}:root[data-theme=dark] .hmi-recipe-dialog td{background:#1a3042;color:#deebf6;border-color:#4c667b}:root[data-theme=dark] .hmi-recipe-dialog tr:nth-child(even) td{background:#233c51}:root[data-theme=dark] .hmi-recipe-dialog th{background:#304c63;color:#e5f0f9;border-color:#536b80}:root[data-theme=dark] .hmi-recipe-dialog td small{color:#a8c2d7}:root[data-theme=dark] .hmi-recipe-dialog .has-error td{background:#56362d}:root[data-theme=dark] .hmi-recipe-dialog [data-recipe-error]{color:#ffca94}:root[data-theme=dark] .hmi-recipe-validation{background:#234738;border-color:#558970;color:#bcebd2}:root[data-theme=dark] .hmi-recipe-validation.invalid{background:#56362d;border-color:#a26c54;color:#ffceb8}@media(max-width:650px){.hmi-recipe-name-fields{grid-template-columns:1fr}.hmi-recipe-dialog-body{padding:10px}}
