@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap";html:root[data-page-background]{background-color:var(--page-background-color);background-image:var(--page-background-image);background-position:center;background-size:cover;background-attachment:fixed;background-repeat:no-repeat}html:root[data-page-background] body{background:transparent}html:root .studio .canvas-panel[data-workspace-frame]{border:6px solid var(--category-shadow,#00b9e7);border-radius:32px;background:transparent;box-shadow:0 5px 18px #2476a52b;box-sizing:border-box}html:root .studio .canvas-panel[data-workspace-frame]:has(#modules-panel) #viewport,html:root .studio .canvas-panel[data-workspace-frame] .chart-dashboard{border:0;border-radius:20px}html:root .studio #chart-dashboard[data-chart-background]{background-color:var(--chart-background-color);background-image:none}html:root .studio #chart-dashboard[data-chart-background=image]{background-image:var(--chart-background-image);background-position:center;background-size:100% 100%;background-repeat:no-repeat}.workspace-background-dialog{padding:0;width:min(420px,92vw);max-width:92vw;max-height:85dvh;overflow:auto;border:2px solid #bce8fa;border-radius:22px;background:#f6fcff;color:#173c59;font-family:Codylink Banner Nunito,Nunito,system-ui,sans-serif}.workspace-background-dialog::backdrop{background:#15384b66}.workspace-background-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;background:#00b9e7;color:#fff}.workspace-background-dialog h2{font-size:21px;margin:0;color:inherit}.workspace-background-dialog .background-close{width:32px;height:32px;min-width:32px;padding:0;border:0;border-radius:50%;background:#fff;color:#009cca;font-size:24px;box-shadow:none}.background-options{padding:20px}.background-color-label{display:flex;align-items:center;justify-content:space-between;gap:16px;font-weight:800;font-size:15px}.background-color-label input{width:58px;height:38px;padding:3px;background:#fff;border:1px solid #b6dff0;border-radius:9px;cursor:pointer}.background-swatches{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.workspace-background-dialog .background-swatch{width:36px;height:36px;min-width:36px;border:2px solid #b6dff0;border-radius:50%;padding:0;background:var(--category-color);box-shadow:0 2px 0 var(--category-shadow)}.workspace-background-dialog .background-swatch[aria-pressed=true]{outline:3px solid #078bbc;outline-offset:2px}.background-buttons{display:flex;gap:10px}.workspace-background-dialog .background-buttons button{flex:1;min-height:40px;border:1px solid #00a4d1;border-radius:11px;background:#00b9e7;color:#fff;box-shadow:0 3px #008eb9;font-weight:800}.workspace-background-dialog .background-note{font-size:12px;color:#517084;margin:14px 0 0}.workspace-background-dialog .background-status{font-size:13px;color:#28704b;min-height:20px}.workspace-background-dialog .background-reset{width:100%;padding:10px;border:1px solid #b6dff0;border-radius:10px;background:#fff;color:#176086;font-weight:800;box-shadow:0 3px #b6dff0}.workspace-background-dialog button:focus-visible,.workspace-background-dialog input:focus-visible{outline:3px solid #087eea;outline-offset:3px}html:root:not([data-theme=dark]) .studio .canvas-panel[data-workspace-frame]:has(#modules-panel) #viewport{background-color:#fcfeff}html:root .studio .canvas-panel[data-workspace-frame]:after{content:"";position:absolute;inset:0;border-radius:20px;box-shadow:inset 0 3px 12px #173e591e,inset 0 0 0 1px #173e5909;pointer-events:none;z-index:80}.canvas-errors{position:absolute;inset:auto 24px 210px auto;width:max-content;max-width:min(580px,calc(100% - 32px));box-sizing:border-box;overflow-wrap:anywhere;z-index:49;overflow:visible;padding:12px 16px;border:1px solid #ffc9ce;border-radius:18px;background:#fff0f1;color:#bc3f50;box-shadow:0 4px 14px #963b4a12;font-size:14px;line-height:1.4}.canvas-errors[hidden]{display:none}.canvas-errors ul{margin:6px 0 0;padding-left:20px;max-height:min(30vh,210px);overflow:auto}.canvas-errors li+li{margin-top:4px}.canvas-errors .canvas-error-link{display:inline;text-align:left;font:inherit;color:inherit;background:none;border:0;border-radius:4px;box-shadow:none;padding:2px 0;cursor:pointer;text-transform:none;white-space:normal}.canvas-errors .canvas-error-link:hover{text-decoration:underline;background:#ffe1e5}.canvas-errors .canvas-error-link:focus-visible{outline:2px solid #bc3f50;outline-offset:3px}.node.diagnostic-selected{outline:3px solid #ed7b89!important;outline-offset:5px}@media(max-width:600px){.canvas-errors{left:auto;max-width:calc(100% - 24px);font-size:13px}}.canvas-errors:after{content:"";position:absolute;right:var(--bubble-tail-right,60px);bottom:-9px;width:16px;height:16px;background:#fff0f1;border-right:1px solid #ffc9ce;border-bottom:1px solid #ffc9ce;transform:rotate(45deg);pointer-events:none}.canvas-errors-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}.canvas-errors .canvas-errors-close{display:inline-flex;align-items:center;justify-content:center;flex:0 0 28px;width:28px;height:28px;min-width:28px;padding:0;border:1px solid #ffc9ce;border-radius:50%;background:#ffe1e5;color:#bc3f50;box-shadow:none;font:700 22px/1 sans-serif;cursor:pointer}.canvas-errors .canvas-errors-close:hover{background:#ffd2d9}.canvas-errors .canvas-errors-close:focus-visible{outline:2px solid #bc3f50;outline-offset:2px}#nodes .variable-controls{display:inline-flex;align-items:center;gap:6px;margin-left:auto;flex-shrink:0;font-size:13px}#nodes .variable-check{display:inline-flex;align-items:center;gap:4px;color:#fff;font-weight:700;white-space:nowrap}#nodes .variable-check input{width:16px;height:16px;accent-color:#00a0fc}#nodes .variable-controls .inline-field{display:inline-flex;margin:0;padding:0}#nodes .variable-controls .inline-field input{width:58px;height:28px;background:#f4fbff;color:#173971;border:1px solid #bce7ff;border-radius:6px;padding:3px 6px;font-size:13px}#nodes .variable-controls .variable-name input{width:110px}#nodes .else-divider:has(.variable-controls){display:flex;align-items:center;gap:8px;padding-right:8px}#nodes .node[data-type=variable] .field-label{display:none}#nodes .node[data-type=variable] .inline-field input{width:95px}:root .studio #nodes .variable-controls{gap:4px;min-width:0;font-size:10px;line-height:18px}:root .studio #nodes .variable-check{font-size:10px;gap:3px}:root .studio #nodes .variable-check input{width:12px;height:12px;min-height:0;padding:0;margin:0}:root .studio #nodes .variable-controls .inline-field input{width:42px;height:18px;min-height:0;padding:0 3px;font-size:10px;box-sizing:border-box;border-radius:4px}:root .studio #nodes .variable-controls .variable-name input{width:70px}:root .studio #nodes .if-frame .frame-head{flex-wrap:nowrap}:root .studio #nodes .if-frame .compact-condition{flex-shrink:0;overflow:visible}:root .studio #nodes .if-frame .for-head>.inline-field{flex:0 0 auto}:root .studio #nodes .if-frame .compact-condition select{width:40px;min-width:40px;max-width:40px;padding-left:3px;padding-right:0;flex:0 0 40px}:root .studio #nodes .if-frame .compact-condition select{appearance:none;-webkit-appearance:none;background-image:none;padding:0 5px;cursor:pointer;text-align:center;text-align-last:center}:root .studio #nodes .if-frame .compact-condition .condition-value input[type=number]{appearance:textfield;-moz-appearance:textfield;width:calc(4ch + 8px);min-width:0;padding:0 3px;box-sizing:border-box}:root .studio #nodes .if-frame .compact-condition .condition-value input[type=number]::-webkit-inner-spin-button,:root .studio #nodes .if-frame .compact-condition .condition-value input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}#nodes .node:is([data-type=incrementVariable],[data-type=decrementVariable]) .field-label{display:none}#nodes .node:is([data-type=incrementVariable],[data-type=decrementVariable]) .variable-picker select{max-width:110px;width:110px;font-size:11px}:root .studio #nodes .if-frame .for-head .field-label{display:none}:root .studio #nodes .if-frame .for-head .inline-field input[type=number]{appearance:textfield;-moz-appearance:textfield;width:calc(2ch + 8px);min-width:0;padding:0 3px;box-sizing:border-box}:root .studio #nodes .if-frame .for-head input[type=number]::-webkit-inner-spin-button,:root .studio #nodes .if-frame .for-head input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}:root .studio #nodes .if-frame .for-head .inline-field select{appearance:none;-webkit-appearance:none;background-image:none;width:3ch;min-width:0;max-width:none;padding:0 5px;cursor:pointer;text-align:center;text-align-last:center}#nodes .node[data-type=setVariable] .field-label{display:none}#nodes .node[data-type=setVariable] .variable-picker select{max-width:110px;width:110px;font-size:11px}#nodes .node[hidden]{display:none!important}#nodes .if-frame .frame-collapse{margin-left:auto;flex:0 0 28px;width:28px;height:28px;min-width:28px;padding:0;border:0;border-radius:7px;background:#ffffff38;color:#fff;font-size:22px;line-height:1;cursor:pointer}#nodes .if-frame .frame-collapse:hover{background:#fff6}#nodes .if-frame .frame-collapse:focus-visible{outline:2px solid white;outline-offset:2px}#nodes .if-frame.is-collapsed>.else-if-row,#nodes .if-frame.is-collapsed>.else-divider,#nodes .if-frame.is-collapsed>.else-area,#nodes .if-frame.is-collapsed>.frame-empty,#nodes .if-frame.is-collapsed>.frame-resize,#nodes .if-frame.is-collapsed>.frame-edge,#nodes .if-frame.is-collapsed>.frame-add-branch{display:none}:root .studio #nodes .if-frame .frame-head :is(select,input){background:#188fff;color:#fff;border:1px solid #9cddff;box-shadow:none}:root .studio #nodes .if-frame .frame-head :is(select,input):focus-visible{outline:2px solid #c5edff;outline-offset:1px;border-color:#c5edff}:root .studio #nodes .if-frame .frame-head select option{background:#188fff;color:#fff}:root .studio #nodes .if-frame .frame-head .frame-collapse{flex:0 0 18px;width:18px;min-width:18px;height:18px;min-height:0;margin-left:auto;padding:0;border:0;border-radius:4px;background:transparent;color:#fff;font-size:14px;line-height:18px;box-shadow:none;align-self:center;display:inline-flex;align-items:center;justify-content:center;translate:none}:root .studio #nodes .if-frame .frame-head .frame-collapse:hover{background:#ffffff29}:root .studio #nodes .if-frame .frame-head .frame-collapse:focus-visible{outline:2px solid #c5edff;outline-offset:1px}:root .studio #nodes .node.icon-card.horizontal-module:is([data-type=incrementVariable],[data-type=decrementVariable],[data-type=setVariable]) .module-quick-controls{width:100px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:1fr 1fr;gap:0}:root .studio #nodes .node.icon-card.horizontal-module:is([data-type=incrementVariable],[data-type=decrementVariable],[data-type=setVariable]) .icon-face{padding-right:108px}:root .studio #nodes .node.icon-card.horizontal-module:is([data-type=incrementVariable],[data-type=decrementVariable],[data-type=setVariable]) .module-quick-controls .variable-picker{grid-column:1 / -1;border-top:0;min-width:0}:root .studio #nodes .node.icon-card.horizontal-module:is([data-type=incrementVariable],[data-type=decrementVariable],[data-type=setVariable]) .module-quick-controls .variable-picker select{width:100%;max-width:100%;min-width:0;box-sizing:border-box}:root .studio #nodes .node.icon-card.horizontal-module:is([data-type=incrementVariable],[data-type=decrementVariable]) .module-quick-controls .step{border-left:1px solid var(--module-divider,var(--ink))}:root .studio #nodes .node.icon-card.horizontal-module[data-type=setVariable] .module-quick-controls .value{grid-column:1 / -1}:root .studio #nodes .node.icon-card.horizontal-module:is([data-type=incrementVariable],[data-type=decrementVariable],[data-type=setVariable]) .module-quick-controls .inline-field{min-width:0;min-height:0}#settings-dropdown{position:fixed;z-index:10001;width:250px;max-width:calc(100vw - 24px);max-height:70vh;overflow-y:auto;padding:8px;background:#f4fbff;border:2px solid #9cddff;border-radius:18px;box-shadow:0 10px 30px #173d6530}#settings-dropdown[hidden]{display:none}#settings-dropdown .settings-option{display:flex;align-items:center;justify-content:flex-start;gap:14px;width:100%;height:auto;min-height:46px;margin:0;padding:10px 14px;border:0;border-radius:10px;box-shadow:none;background:transparent;color:#087ca8;font-size:16px;font-weight:700;text-align:left;line-height:1.4}#settings-dropdown .settings-option svg,#settings-dropdown .settings-theme-icon{width:24px;height:24px;flex:0 0 24px;font-size:24px;line-height:24px}#settings-dropdown .settings-option:hover{background:#dcf3ff}#settings-dropdown .settings-option:focus-visible,#settings-toggle:focus-visible{outline:3px solid #087eea;outline-offset:2px}[data-theme=dark] #settings-dropdown{background:#172b39;border-color:#3b647c}[data-theme=dark] #settings-dropdown .settings-option{color:#bcecff}[data-theme=dark] #settings-dropdown .settings-option:hover{background:#28475c}:root .studio #palette .category-heading{display:flex;align-items:center;width:100%;text-align:left;min-height:52px;padding:8px 12px;gap:10px;border:0;border-radius:12px;background:linear-gradient(120deg,color-mix(in srgb,var(--category-color) 80%,white),var(--category-color));color:#143250;font-size:14px;font-weight:700;box-shadow:inset 0 2px #ffffff50;cursor:pointer}:root .studio #palette .category-heading .category-label{flex:1}:root .studio #palette .category-heading[aria-expanded=true]{outline:none;border:3px solid var(--category-color);border-right:0;border-radius:12px 0 0 12px;background:color-mix(in srgb,var(--category-color) 12%,white);box-shadow:none}:root .studio #palette .category-heading:focus-visible{outline:3px solid #154b92;outline-offset:-3px}:root .studio #category-flyout{position:absolute;z-index:65;left:calc(var(--library-width) - 2px);top:0;bottom:0;width:260px;max-width:calc(100% - var(--library-width) - 6px);box-sizing:border-box;padding:16px;background:color-mix(in srgb,var(--category-color) 12%,white);border:3px solid var(--category-color);border-radius:0 20px 20px 0;box-shadow:6px 0 20px #173d6525;display:flex;flex-direction:column;gap:12px}:root .studio #category-flyout[hidden]{display:none}#category-flyout h2{margin:0;font-size:20px;color:var(--category-color)}#category-flyout .category-modules{overflow-y:auto;min-height:0;display:flex;flex-direction:column;gap:10px;padding:3px}#category-flyout .palette-module{flex-shrink:0;display:flex;align-items:center;gap:10px;width:100%;min-height:52px;padding:10px;border:1px solid var(--category-color);border-radius:14px;background:var(--category-color);color:#102b40;text-align:left;cursor:grab;font-weight:700}#category-flyout .module-icon{width:28px;height:28px;flex-shrink:0;color:#fff}#category-flyout .module-icon svg{width:100%;height:100%}#category-flyout .plus{margin-left:auto}#category-flyout .palette-module:hover{filter:brightness(1.08)}:root[data-theme=dark] .studio #category-flyout,:root[data-theme=dark] .studio #palette .category-heading[aria-expanded=true]{background:color-mix(in srgb,var(--category-color) 16%,#172b40)}:root[data-theme=dark] #category-flyout h2{color:var(--category-color)}@media(max-width:700px){:root .studio #palette .category-heading{min-height:44px;font-size:12px;padding:6px;gap:5px}:root .studio #category-flyout{padding:10px;width:230px}}@media(max-width:420px){:root .studio #palette .category-heading{font-size:11px}}:root .studio #modules-panel:has(.category-heading[aria-expanded=true]){border-top-right-radius:0;border-bottom-right-radius:0}:root .studio #category-flyout:before{content:"";position:absolute;right:calc(100% - 1px);top:var(--join-top,0);width:var(--join-width,0);height:var(--join-height,0);box-sizing:border-box;border-top:3px solid var(--category-color);border-bottom:3px solid var(--category-color);background:inherit;pointer-events:none}:root .studio #palette .palette-group:has(.category-heading[aria-expanded=true]){border-radius:12px 0 0 12px}:root .studio #palette .category-heading[aria-expanded=true] .category-icon{color:var(--category-color)}:root[data-theme=dark] .studio #palette .category-heading[aria-expanded=true]{color:#eef8ff}#category-flyout .palette-subheading{margin:3px 0 2px;font-size:16px;font-weight:800;color:#173e59;flex-shrink:0}#category-flyout .palette-subdivider{width:100%;margin:8px 0;border:0;border-top:1px solid var(--category-color);flex-shrink:0}:root[data-theme=dark] #category-flyout .palette-subheading{color:#eef8ff}html:root{--interface-scale:.7;zoom:var(--interface-scale)}html:root .studio .canvas-panel #code-panel{top:var(--code-panel-top,60px);bottom:0;height:auto;max-width:none;z-index:49}html:root .studio #code-panel .code-body{min-height:0}#code-panel pre{font-family:inherit;font-size:15px;line-height:1.55}#code-panel code{font-family:inherit}#code-panel .code-actions{padding-right:50px;grid-template-columns:minmax(0,1fr) repeat(2,36px)}#code-panel .code-actions button{display:grid;place-items:center;min-height:36px;padding:0}#code-panel .code-actions button:first-child{grid-column:2}#code-panel .code-actions svg{width:18px;height:18px}#code-panel>.popup-close{top:12px}#code{--syntax-comment:#26734b;--syntax-string:#b23b56;--syntax-keyword:#1464b5;--syntax-function:#6942c2;--syntax-number:#a25b0a;--syntax-accent:#08788b}[data-theme=dark] #code{--syntax-comment:#85d7a5;--syntax-string:#ffa0b2;--syntax-keyword:#8cc6ff;--syntax-function:#c7adff;--syntax-number:#ffc578;--syntax-accent:#72deed}#code .code-token-comment{color:var(--syntax-comment)}#code .code-token-string{color:var(--syntax-string)}#code .code-token-keyword{color:var(--syntax-keyword)}#code .code-token-function{color:var(--syntax-function)}#code .code-token-number{color:var(--syntax-number)}#code :is(.code-token-directive,.code-token-constant){color:var(--syntax-accent)}#code-panel .code-resize-handle{position:absolute;left:0;top:12px;bottom:12px;width:9px;z-index:5;cursor:ew-resize;touch-action:none;border-radius:8px;outline-offset:1px}#code-panel .code-resize-handle:after{content:"";position:absolute;left:2px;top:calc(50% - 22px);width:4px;height:44px;border-radius:4px;background:#90ccef;transition:background .15s}#code-panel .code-resize-handle:hover,#code-panel .code-resize-handle:focus-visible{background:#00b9ef22;outline:2px solid #00a7dc}#code-panel .code-resize-handle:hover:after{background:#00a7dc}html.resizing-code-panel,html.resizing-code-panel *{cursor:ew-resize!important;-webkit-user-select:none!important;user-select:none!important}:root .studio .node.icon-card.horizontal-module.has-matrix-preview{overflow:visible}:root .studio .node.icon-card.horizontal-module.has-matrix-preview .icon-face{padding-right:32px}:root .studio .node.icon-card.horizontal-module .matrix-preview-toggle{position:absolute;right:7px;top:20px;width:24px;height:24px;padding:0;border:0;border-radius:6px;background:#ffffff40;color:inherit;font-size:22px;line-height:22px;z-index:6;cursor:pointer}:root .studio .node.icon-card.horizontal-module .matrix-preview-toggle:focus-visible{outline:2px solid currentColor;outline-offset:2px}:root .studio .node.icon-card.horizontal-module>.matrix-card-preview{position:absolute;left:50%;transform:translate(-50%);top:72px;width:103px;height:137px;display:block;background:#000;border:2px solid var(--ink);border-radius:10px;box-sizing:border-box;pointer-events:none}:root .studio .node.icon-card.horizontal-module[data-type=text]{overflow:visible}:root .studio .node.icon-card.horizontal-module>.text-card-editor{display:none;position:absolute;left:50%;transform:translate(-50%);top:72px;width:123.6px;height:137px;padding:8px;box-sizing:border-box;resize:none;background:color-mix(in srgb,var(--ink) 18%,white);color:#203443;border:2px solid var(--ink);border-radius:10px;font:13px/1.4 sans-serif;white-space:pre-wrap;z-index:8;cursor:text}:root .studio .node.icon-card.horizontal-module.text-editor-open>.text-card-editor{display:block}:root .studio .node.icon-card.horizontal-module>.text-editor-toggle{position:absolute;inset:34px 0 0;width:100%;padding:0;border:0;border-top:1px solid var(--ink);border-radius:0 0 11px 11px;background:color-mix(in srgb,var(--ink) 18%,white);color:#203443;font-size:20px;line-height:1;z-index:5;cursor:pointer}.serial-control-canvas{position:relative;min-width:0}.serial-control-canvas[hidden]{display:none}.chart-dashboard:not([hidden]){display:flex;flex-direction:column}html:root .studio .canvas-panel.charts-active>:is(#modules-panel,#category-flyout,.category-rail-toggle,#toggle-modules){display:none}html:root .studio .canvas-panel:not(.charts-active)>#chart-background{display:none}#chart-background svg{width:17px;height:17px;vertical-align:middle;margin-right:6px}html:root .studio .canvas-panel:not(.charts-active) #charts-serial-play{display:none}html:root .studio .floating-history .workspace-tabs #charts-serial-play{width:32px;min-width:32px;padding:0;margin-left:4px;color:#078344}html:root .studio #charts-serial-play[aria-pressed=true]{color:#c1284f}html:root .studio .charts-active #charts-serial-status:not(:empty){right:8px;top:100%;z-index:2;width:min(255px,70vw);height:auto;padding:7px 9px;clip-path:none;white-space:normal;background:#fff1f1;color:#9c2940;border-radius:8px}html:root .studio .charts-active .floating-history:has(#charts-serial-status:not(:empty)){overflow:visible}.serial-control-card input[type=number]{width:100px;padding:5px 8px;border:1px solid #b6dff0;border-radius:8px;font:inherit}.serial-control-card :is(.serial-gauge,.serial-knob,.serial-tank){display:grid;place-items:center;margin:4px auto;color:#234961;background:#e2eff5}.serial-control-card .serial-gauge{width:100px;height:52px;border-radius:60px 60px 8px 8px;background:conic-gradient(from -90deg at 50% 96%,var(--control-accent,#00b9e7) calc(var(--dial-position,0%) / 2),#e2eff5 0 50%,transparent 0)}.serial-knob{position:relative;inline-size:64px;block-size:64px;border:3px solid var(--control-accent,#00b9e7);border-radius:50%;cursor:grab;touch-action:none}.serial-knob-scale{position:relative;display:grid;place-items:center;width:140px;height:140px}.serial-knob-scale span{position:absolute;translate:-50% -50%;font-size:6.5px;font-weight:800;line-height:1;pointer-events:none}.serial-knob[aria-disabled=true]{cursor:default;opacity:.65}.serial-knob:focus-visible{outline:2px solid #087eea;outline-offset:3px}.serial-knob:before{content:"";position:absolute;height:8px;width:4px;top:2px;border-radius:3px;background:var(--control-accent,#00b9e7);transform:rotate(var(--dial-angle,0deg));transform-origin:50% 27px}.serial-control-card .serial-tank{width:44px;height:76px;border:2px solid #8cb4c4;border-radius:8px;background:linear-gradient(to top,var(--control-accent,#00b9e7) var(--tank-level),#e2eff5 0)}.serial-indicator{text-align:center;max-width:220px;overflow-wrap:anywhere}.serial-indicator output{display:block;font-weight:800;font-size:18px}.serial-control-card[data-control-type=serialTextIndicator] .serial-indicator output{color:var(--control-accent,inherit)}.chart-dashboard .chart-content{display:flex;flex:1 0 auto;flex-direction:column;min-width:0}.charts-active .floating-history .floating-zoom{visibility:visible}.serial-control-canvas:not([hidden]){flex:1 0 0}.serial-control-card{position:absolute;width:max-content;max-width:100%;padding:8px;color:#234961}.serial-control-body{zoom:var(--control-size,1)}.serial-control-rotated{position:relative;display:grid;place-items:center}.serial-control-rotated .serial-control-body{position:absolute;width:max-content}.serial-control-card.is-selected{outline:1px solid #00a8cf}.serial-control-card .serial-control-resize{display:none;position:absolute;right:0;bottom:0;width:15px;height:15px;padding:0;border:0;border-radius:0;background:transparent;color:#007e9e;cursor:nwse-resize;touch-action:none}.serial-control-card.is-single-selected .serial-control-resize{display:block}.serial-selection-box{position:absolute;z-index:3;pointer-events:none;border:1px solid #00a8cf;background:#00a8cf22}.serial-control-canvas{touch-action:none}.serial-control-resize:after{content:"";position:absolute;right:2px;bottom:2px;width:11px;height:11px;background:currentColor;clip-path:polygon(100% 0,100% 100%,0 100%)}.serial-control-card .serial-control-name{display:block;max-width:100%;padding:0;border:0;background:transparent;color:inherit;font-size:15px;font-weight:700;text-align:left;overflow-wrap:anywhere;cursor:grab;touch-action:none}.serial-control-card.has-hidden-name .serial-control-name{width:100%;min-width:24px;height:12px}.serial-control-card.has-hidden-name:is(:hover,:focus-within,.is-selected) .serial-control-name:before{content:"";display:block;width:16px;height:3px;margin:auto;border-radius:2px;background:currentColor;opacity:.48}.serial-control-card.chart-dragging{z-index:2}.serial-control-card.chart-dragging .serial-control-name{cursor:grabbing}.serial-control-card .dashboard-control{display:block;padding:6px 0}.serial-control-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.serial-control-card .dashboard-control-button{display:flex;justify-content:flex-start;align-items:center;width:84px;max-width:100%;min-height:34px;padding:2px;border:2px solid var(--control-accent,#c6cdd2);border-radius:999px;background:#cbd1d6;color:#596772;font-weight:800;touch-action:none}.serial-control-card .dashboard-control-button[aria-checked=true]{justify-content:flex-end;border-color:var(--control-accent,#efc300);background:var(--control-accent,#ffda00);color:#046e90}.serial-control-card .dashboard-control-button span{display:grid;place-items:center;width:46px;min-height:24px;border-radius:999px;background:#fff;pointer-events:none}.serial-control-card .dashboard-control-button[aria-pressed]{justify-content:center;width:48px;height:48px;min-height:0;padding:0;border:1px solid var(--control-accent,#009ec5);border-radius:15px;background:var(--control-accent,#00bde7);color:#073e52;box-shadow:0 3px #008aaa}.serial-control-card .dashboard-control-button[aria-pressed] span{display:block;width:auto;min-height:0;background:transparent}.serial-control-card .dashboard-control-button[aria-pressed=true]{background:#78e6fb;box-shadow:0 1px #008aaa;transform:translateY(2px)}.serial-control-card.has-custom-color .dashboard-control-button[aria-pressed=true]{background:color-mix(in srgb,var(--control-accent) 55%,white)}.serial-control-card .dashboard-control-button.has-state-image{position:relative;overflow:hidden}.serial-control-card .dashboard-control-button.has-state-image span{visibility:hidden}.serial-control-card .dashboard-control-button img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none}.serial-control-card .dashboard-control-button:disabled{opacity:.7;pointer-events:none}.serial-control-card input[type=range]:disabled{pointer-events:none}.serial-control-card .dashboard-control input[type=range]{appearance:none;width:135px;max-width:100%;height:14px;margin:5px 0;border:0;border-radius:999px;background:linear-gradient(to right,var(--control-accent,#00b9e7) var(--serial-fill),#e7ecef var(--serial-fill))}.serial-control-card input[type=range]::-webkit-slider-thumb{appearance:none;width:16px;height:16px;border:1px solid #b7c6cf;border-radius:50%;background:#fff}.serial-control-card input[type=range]::-moz-range-thumb{width:14px;height:14px;border:1px solid #b7c6cf;border-radius:50%;background:#fff}[data-theme=dark] .serial-control-card{color:#e6f2fb}.control-appearance-dialog header p{margin:4px 0 0;font-size:24px;font-weight:800;line-height:1.2;overflow-wrap:anywhere}.control-hide-name{display:flex;align-items:center;gap:8px;margin-bottom:16px;font-weight:800}.control-hide-name input{accent-color:#009cca}.control-rotation{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px;font-weight:800}.control-rotation select{padding:6px 10px;border:1px solid #b6dff0;border-radius:9px;background:#fff;color:#176086;font:inherit}.control-state-images{display:grid;gap:12px;margin-top:16px}.control-state-images:empty{display:none}.control-state-image{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.control-state-image label{display:grid;gap:4px;font-weight:800;min-width:0}.control-state-image input{max-width:100%;font:inherit;font-size:13px}.control-state-image img{width:54px;height:40px;object-fit:contain}.control-state-image button{font-size:13px}.control-appearance-dialog .background-status{color:#b32842}:root{font-family:DM Sans,sans-serif;color:#29332e;background:#f7f8f5;font-synthesis:none;--orange:#e49a30;--purple:#9780cf;--border:#e4e8e0}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,select,input{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #8270ae}button{cursor:pointer;color:inherit;border:1px solid var(--border);background:#fff;border-radius:7px;padding:8px 11px;font-size:11px}button:hover{background:#f1f4eb}button:disabled{opacity:.35;cursor:default}a{color:inherit;text-decoration:none}.app-header{display:flex;align-items:center;padding:0 28px;height:70px;background:#fff;border-bottom:1px solid var(--border);gap:25px}.brand{display:flex;align-items:center;flex-shrink:0}.brand-logo{display:block;width:340px;height:auto;max-width:100%}.board-badge{margin-left:auto;font-size:10px;border:1px solid #e2e9d8;padding:7px 10px;border-radius:6px;background:#f9fbf4}.board-badge i,.live i,.app-footer i{display:inline-block;background:#90af5d;border-radius:50%;width:5px;height:5px;margin-right:5px}.eyebrow{font-size:8px;font-weight:700;color:#8e9787;letter-spacing:1.6px}h1{font-size:27px;margin:5px 0 0;letter-spacing:-1px;font-weight:600}h2{font-size:15px;font-weight:600;margin:0;letter-spacing:-.2px}.project-actions{display:flex;align-items:center;gap:8px}#saved{font-size:10px;color:#859078;margin-right:10px}.studio{height:calc(100dvh - 125px);min-height:520px;display:grid;grid-template-columns:185px minmax(0,1fr) 295px;gap:14px;margin:18px 22px 0}.library{display:flex;flex-direction:column;overflow:auto;border-right:1px solid var(--border);padding:6px 14px 8px 2px}.library-heading{display:flex;align-items:center;justify-content:space-between}.library-heading span{background:#e9ede3;color:#858e7c;font-size:9px;padding:3px 6px;border-radius:5px}.library>p{font-size:10px;color:#9aa08e;margin:7px 0 17px}.search{display:flex;align-items:center;border:1px solid var(--border);background:#fff;border-radius:7px;padding:7px;gap:5px}.search input{width:100%;min-width:0;border:0;font-size:10px;background:transparent;padding:3px}.palette-group h3{font-size:8px;text-transform:uppercase;letter-spacing:1.5px;color:#9b9f93;margin:22px 0 9px}.palette-module{display:flex;align-items:center;gap:9px;width:100%;border:0;background:transparent;text-align:left;padding:7px 4px;margin:2px 0;font-size:11px;cursor:grab}.module-icon{display:grid;place-items:center;width:25px;height:25px;border-radius:6px;font-size:18px;background:#fcf0df;color:#ce8730;flex-shrink:0}.palette-module .plus{margin-left:auto;color:#b2b7aa;font-size:16px}.purple .module-icon{color:#9a7bc6;background:#f0ebfa}.blue .module-icon{color:#618ead;background:#eaf2f9}.teal .module-icon{color:#508e82;background:#e9f4ef}.library-foot{font-size:9px;color:#a5aa9c;line-height:1.8;margin-top:auto;padding-top:25px}.canvas-panel{position:relative;display:flex;flex-direction:column;border:1px solid var(--border);border-radius:12px;background:#fff;overflow:hidden;min-width:0}.canvas-toolbar{height:47px;flex-shrink:0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--border);padding:0 14px}.view-tabs{display:flex;gap:15px;align-items:center;font-size:10px}.view-tabs .active{font-weight:600;color:#556643}.view-tabs button{border:0;background:none;color:#989e91;font-size:10px;padding:3px}.history-tools{display:flex;gap:4px}.history-tools button{border:0;font-size:17px;padding:4px 7px;color:#7c8476}#viewport{position:relative;flex:1;min-height:260px;overflow:auto;background-color:#fafbf8;background-image:radial-gradient(#dce2d5 .85px,transparent .85px);background-size:18px 18px;overscroll-behavior:contain;touch-action:pan-x pan-y}#spacer{position:relative;width:2600px;height:1800px}#world{width:2600px;height:1800px;position:absolute;inset:0;transform-origin:0 0}#wires{position:absolute;inset:0;overflow:visible;pointer-events:none}.wire-visible{fill:none;stroke:var(--orange);stroke-width:2.3;pointer-events:none}.wire-visible.flow{stroke:var(--purple);stroke-dasharray:6 4}.wire-visible.text{stroke:#559585}.wire-hit{fill:none;stroke:transparent;stroke-width:16;pointer-events:stroke;cursor:pointer}.wire-visible.selected{stroke-width:4;filter:drop-shadow(0 0 3px #d4a557)}#pending-wire{fill:none;stroke:#9b947e;stroke-width:2;stroke-dasharray:5 4;pointer-events:none}.node{position:absolute;width:184px;border:1px solid #e4ded0;border-radius:10px;background:#fff;box-shadow:0 5px 14px #27391a08;-webkit-user-select:none;user-select:none}.node.selected{outline:2px solid #abbc85;outline-offset:3px;box-shadow:0 5px 20px #46563015}.node.purple{border-color:#e0d8ee}.node.blue{border-color:#d6e1ea}.node.teal{border-color:#d6e6df}.node-header{display:flex;align-items:center;gap:8px;padding:12px 12px 9px;cursor:grab;touch-action:none}.node-header:active{cursor:grabbing}.node-header .module-icon{width:29px;height:29px}.node-title{min-width:0}.node-title span{display:block;color:#908977;font-size:9px;letter-spacing:.8px;margin-top:3px}.node-title strong{font-size:13px;font-weight:600;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:123px}.node-fields{padding:0 12px 6px}.node-fields label{display:flex;align-items:center;gap:5px;font-size:9px;color:#929482;margin-bottom:5px}.node-fields input,.node-fields select{width:100%;min-width:0;border:1px solid #e6e7e0;border-radius:4px;background:#fafbf8;padding:6px;font:11px JetBrains Mono,monospace;color:#6e715f;-webkit-user-select:text;user-select:text}.node-fields input[type=number]{font-size:17px;color:#b58434;padding:7px}.node-fields select{font:10px DM Sans,sans-serif}.port-row{display:flex;justify-content:space-between;align-items:center;position:relative;height:29px;font-size:11px;color:#827b6c;border-top:1px solid #f6f4ef}.port-side{display:flex;align-items:center;position:relative;min-height:24px;gap:6px}.port-side.left{padding-left:12px}.port-side.right{padding-right:12px;margin-left:auto}.port{position:absolute;border:2px solid var(--orange);background:#fff6e9;border-radius:50%;width:13px;height:13px;padding:0;z-index:4;touch-action:none}.left .port{left:-7px}.right .port{right:-7px}.port.flow{border-color:var(--purple);background:#f4edff;border-radius:3px;width:12px;height:12px}.port.text{border-color:#559585;background:#e9f6ed}.port.connected{background:var(--orange)}.port.connected.flow{background:var(--purple)}.port.connected.text{background:#559585}.port:hover,.port.pending{box-shadow:0 0 0 5px #ebbc602f;transform:scale(1.2)}.canvas-bottom{height:43px;padding:0 14px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--border);flex-shrink:0}.legend{display:flex;gap:13px;color:#949887;font-size:9px}.legend i{display:inline-block;width:6px;height:6px;border-radius:50%;margin-right:4px}.data-dot{background:var(--orange)}.flow-dot{background:var(--purple)}.zoom-tools{display:flex;align-items:center;gap:5px}.zoom-tools button{padding:4px 7px;font-size:11px;border:0}.zoom-tools span{font-size:9px;color:#8e9683;min-width:30px;text-align:center}#toast{font-size:9px;color:#8a927d;background:#f7f9f2;padding:9px 13px;min-height:31px;border-top:1px solid #edf0e6}.code-panel{display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--border);border-radius:12px;background:#fff}.code-heading{display:flex;align-items:center;justify-content:space-between;padding:17px 16px}.code-heading h2{margin-top:6px}.code-heading .eyebrow{font-size:7px}.live{font-size:8px;color:#90a771;white-space:nowrap}.live i{width:4px;height:4px}.filebar{height:36px;flex-shrink:0;border-block:1px solid var(--border);display:flex;align-items:center;gap:8px;padding:0 16px;font:9px JetBrains Mono,monospace;color:#76816b;background:#f9faf6}.filebar>span:last-child{margin-left:auto;font-size:8px;color:#a4aa9b}.file-icon{color:#a2b370}.code-body{flex:1;overflow:auto;background:#202b25;min-height:160px}.code-body pre{margin:0;padding:20px 15px;color:#d3dfc6;font:10px/1.9 JetBrains Mono,monospace;tab-size:2}.code-actions{padding:13px 15px 8px}.code-actions button{display:block;width:100%;margin-bottom:8px;padding:10px}.primary{background:#d9f781;border-color:#d9f781;font-weight:600}.primary:hover{background:#ccec6d}.code-actions .primary{display:flex;justify-content:space-between}.code-actions p{font-size:9px;color:#9a9f90;line-height:1.6;margin:12px 0 5px}.code-actions #copy-status{font-size:9px;color:#8a9c6d;display:block;min-height:13px}#diagnostics{font-size:9px;line-height:1.6;padding:10px 15px;color:#9c7735;background:#fcf7eb}#diagnostics:empty{display:none}#diagnostics.error{color:#b65345;background:#fff0ea}.app-footer{display:flex;justify-content:space-between;padding:13px 25px;font-size:9px;color:#a0a692}.app-footer i{width:4px;height:4px}dialog{border:1px solid var(--border);border-radius:17px;max-width:460px;padding:32px;color:#46513d;box-shadow:0 20px 80px #15231133}dialog::backdrop{background:#26351e55;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}dialog h2{font-size:23px;margin:12px 0 20px}dialog li{font-size:13px;line-height:1.7;margin:8px 0}dialog ol{padding-left:20px}dialog p{font-size:12px;color:#869278;line-height:1.7}dialog .primary{width:100%;margin-top:15px}button.dialog-close:not(.primary){position:absolute;right:12px;top:12px;border:0;background:transparent;font-size:20px}@media(min-width:1600px){.studio{grid-template-columns:205px minmax(0,1fr) 350px}.code-body pre{font-size:12px}}@media(max-width:1100px){.studio{grid-template-columns:165px minmax(0,1fr);height:auto}.library{grid-row:1 / 3}.canvas-panel{height:610px}.code-panel{grid-column:2;height:370px}.code-body pre{font-size:11px}.code-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px}.code-actions p{margin:0}#saved{display:none}.app-footer{margin-top:5px}}@media(max-width:620px){.app-header{padding:12px 15px;gap:12px;min-height:60px;height:auto;flex-wrap:wrap}.project-actions{margin-left:auto;flex-wrap:wrap}.project-actions button{padding:8px;font-size:10px}.brand small,.brand-divider,.board-badge{display:none}h1{font-size:23px}.studio{margin:14px 10px 0;grid-template-columns:minmax(0,1fr);gap:10px}.library{grid-row:auto;border-right:0;max-height:175px;padding:0}.library>p,.library-foot,.search{display:none}#palette{display:flex;gap:12px;overflow:auto}.palette-group{min-width:140px}.palette-group h3{margin:10px 0 4px}.palette-module{font-size:10px}.canvas-panel{height:520px}.code-panel{grid-column:1}.app-footer>span:last-child{display:none}.view-tabs{gap:8px}.legend{gap:5px}.node{touch-action:none}}@media(max-width:620px){.brand{max-width:100%}.brand-logo{width:280px}}.palette-group summary{cursor:pointer;font-size:11px;font-weight:700;padding:12px 5px;margin-top:8px;background:#eef2e8;border-radius:5px}.palette-group summary:hover{background:#e2ebd7}.field-label{font-size:10px;white-space:nowrap}.face-controls .inline-field{margin-top:3px}.face-controls select{font-size:10px}.node.icon-card{--ink:#3d4e5d;--wash:#f3f6f8;width:146px;min-height:128px;border:2px solid var(--ink);border-radius:9px;background:linear-gradient(150deg,#fff 45%,var(--wash));color:var(--ink);box-shadow:0 4px 12px #142e4b0a}.node.icon-card.blue{--ink:#0664d8;--wash:#eaf4ff}.node.icon-card.orange{--ink:#f16b08;--wash:#fff2df}.node.icon-card.teal{--ink:#098138;--wash:#eaf8ed}.node.icon-card.purple{--ink:#7142b7;--wash:#f1eaff}.icon-card.selected{outline:3px solid #b2c781;outline-offset:5px}.card-top{height:34px;display:flex;justify-content:space-between;align-items:flex-start;gap:5px;padding-right:5px;position:relative;z-index:2}.type-badge{background:var(--ink);color:#fff;font-size:10px;font-weight:700;padding:6px 7px;border-radius:5px 0;letter-spacing:.2px}.inline-field{display:flex;align-items:center;min-width:0;gap:2px}.inline-field input,.inline-field select{color:var(--ink);border:1px solid currentColor;border-radius:4px;background:#fff;padding:3px;font-family:inherit;font-weight:600;min-width:0;width:100%;font-size:13px;height:26px;outline-offset:2px}.inline-field.pin{background:var(--ink);color:#fff;border-radius:5px 0;padding:2px 4px;gap:0;max-width:62px}.inline-field.pin input{color:#fff;background:transparent;border:0;width:38px;padding:0;font-size:16px;appearance:textfield}.inline-field.pin input::-webkit-inner-spin-button{appearance:none}.pin-prefix{font-size:16px;font-weight:700}.inline-field.state{margin-top:3px}.state-toggle{color:var(--ink);border:1px solid currentColor;background:#fff;padding:2px 5px;font-weight:700;font-size:13px;border-radius:4px;height:25px}.state-toggle[aria-pressed=true]{color:#098138;background:#edffea}.inline-field.ms{margin-top:4px;position:relative;gap:2px}.inline-field.ms input{width:58px;appearance:textfield;font-size:12px}.inline-field.ms input::-webkit-inner-spin-button{appearance:none}.unit{font-size:8px}.read-badge,.cable-badge{font-size:11px;font-weight:600;border:1px solid currentColor;border-radius:4px;padding:3px 4px;margin-top:3px}.cable-badge{font-size:9px;color:#957135}.node .node-header.icon-face{height:94px;display:flex;align-items:center;justify-content:center;padding:8px 30px;touch-action:none;cursor:grab}.icon-face svg{width:64px;height:64px;overflow:visible}.icon-card[data-state=on] .icon-face svg{filter:drop-shadow(0 0 7px #418eff44)}.icon-card[data-state=off] .icon-face svg{opacity:.6}.icon-card[data-state=off] .state-toggle{color:#75889e}.face-controls{position:relative;margin:-12px 10px 8px}.face-controls .inline-field.value input{font-size:20px;text-align:center;height:31px;background:#fff}.icon-card[data-type=number] .icon-face,.icon-card[data-type=text] .icon-face{height:75px}.icon-card[data-type=number] .icon-face svg,.icon-card[data-type=text] .icon-face svg{width:40px;height:40px;opacity:.4}.face-controls .mode select{font-size:11px;text-align:center}.card-port{position:absolute;z-index:4;display:block;width:0;height:0}.card-port.left{left:0}.card-port.right{right:0}.card-port .port{top:-7px;width:14px;height:14px;border-width:2px}.card-port.left .port{left:-8px}.card-port.right .port{right:-8px}.card-port .port.flow{width:13px;height:13px}.port-hint{position:absolute;display:none;white-space:nowrap;font-size:10px;background:#fff;border:1px solid #dce1d7;padding:4px 6px;border-radius:5px;top:-25px;pointer-events:none;color:#59644f}.card-port.right .port-hint{right:6px}.card-port.left .port-hint{left:6px}.card-port:hover .port-hint,.card-port:focus-within .port-hint{display:block}.palette-module .module-icon{background:none;width:30px;height:30px;border:1px solid currentColor;border-radius:5px}.palette-module .module-icon svg{width:23px;height:23px}.palette-module.blue .module-icon{color:#0664d8}.palette-module.orange .module-icon{color:#f16b08}.palette-module.slate .module-icon{color:#3d4e5d}.palette-group{border-radius:8px;padding:0 5px 4px;margin-top:10px;background:#f0f3ed}.palette-group h3{margin:0 -5px 5px;padding:8px 7px;background:#e6ecdf;border-radius:8px 8px 0 0;color:#586c48;letter-spacing:.7px}.palette-group:has(.blue){background:#f0f6ff}.palette-group:has(.blue) h3{background:#dceaff;color:#0664d8}.palette-group:has(.orange){background:#fff7ed}.palette-group:has(.orange) h3{background:#ffead4;color:#e46508}.library-foot{display:none}.node.icon-card{transform:scale(.5);transform-origin:top left}.node.icon-card{min-height:80px;border-radius:8px}.icon-card .card-top{position:absolute;top:0;left:0;right:0;height:30px;pointer-events:none;padding-right:3px}.icon-card .card-top>*{pointer-events:auto}.node.icon-card .node-header.icon-face{height:80px;padding:15px 42px 5px}.icon-card .icon-face svg{width:54px;height:54px;flex-shrink:0}.icon-card .inline-field.pin{max-width:49px;padding:1px 3px}.icon-card .inline-field.pin input{width:30px;font-size:14px}.icon-card .pin-prefix{font-size:14px}.icon-card .state-toggle{font-size:11px;height:23px;padding:1px 3px}.icon-card .read-badge{font-size:11px;min-width:23px;text-align:center;padding:2px}.icon-card .type-badge{font-size:8px;padding:4px}.icon-card .inline-field.ms input{width:48px;font-size:10px;height:23px}.icon-card .face-controls{margin:0 6px 5px}.icon-card[data-type=number] .icon-face,.icon-card[data-type=text] .icon-face{height:50px;padding:18px 40px 0}.icon-card[data-type=number] .icon-face svg,.icon-card[data-type=text] .icon-face svg{width:28px;height:28px}.node.icon-card[data-type=digitalWrite],.palette-module[data-type=digitalWrite]{--ink:#ffb800;--wash:#fff5cd}.node.icon-card[data-type=potentiometer],.palette-module[data-type=potentiometer]{--ink:#ff9800;--wash:#fff1d9}.node.icon-card[data-type=button],.palette-module[data-type=button]{--ink:#8b45ff;--wash:#f1e7ff}.node.icon-card[data-type=dht11],.palette-module[data-type=dht11]{--ink:#ff782e;--wash:#fff0df}.node.icon-card[data-type=ldr],.palette-module[data-type=ldr]{--ink:#ffb300;--wash:#fff6d6}.node.icon-card[data-type=temperature],.palette-module[data-type=temperature]{--ink:#ff8a00;--wash:#fff0db}.node.icon-card[data-type=ultrasonic],.palette-module[data-type=ultrasonic]{--ink:#ff3599;--wash:#ffe8f3}.node.icon-card[data-type=encoder],.palette-module[data-type=encoder]{--ink:#8539ff;--wash:#efe5ff}.node.icon-card[data-type=humidity],.palette-module[data-type=humidity]{--ink:#00a7f5;--wash:#e1f5ff}.node.icon-card[data-type=analogRead],.palette-module[data-type=analogRead]{--ink:#00bdc7;--wash:#dffafb}.node.icon-card[data-type=digitalRead],.palette-module[data-type=digitalRead]{--ink:#08b877;--wash:#e1faed}.node.icon-card[data-type=relay],.palette-module[data-type=relay]{--ink:#008fff;--wash:#e4f3ff}.node.icon-card[data-type=buzzer],.palette-module[data-type=buzzer]{--ink:#a052ff;--wash:#f2e8ff}.node.icon-card[data-type=tone],.palette-module[data-type=tone]{--ink:#7048ff;--wash:#ece7ff}.node.icon-card[data-type=delay],.palette-module[data-type=delay]{--ink:#f29d00;--wash:#fff3da}.node.icon-card[data-type=millis],.palette-module[data-type=millis]{--ink:#00a9da;--wash:#e1f8ff}.node.icon-card[data-type=number],.palette-module[data-type=number]{--ink:#fa9d00;--wash:#fff3d9}.node.icon-card[data-type=text],.palette-module[data-type=text]{--ink:#00bca6;--wash:#dffaf4}.node.icon-card[data-type=serial],.palette-module[data-type=serial]{--ink:#a343f5;--wash:#f4e5ff}.node.icon-card{background:linear-gradient(135deg,#fff 15%,var(--wash));border-color:var(--ink);box-shadow:0 3px 12px color-mix(in srgb,var(--ink) 20%,transparent)}.palette-module .module-icon{background:var(--ink,#ff9500);color:#fff;border-color:transparent;box-shadow:0 2px 5px color-mix(in srgb,var(--ink,#ff9500) 20%,transparent)}.icon-card .state-toggle[aria-pressed=true]{background:#00c981;border-color:#00c981;color:#fff}.icon-card .state-toggle[aria-pressed=false]{background:#fff0f6;border-color:#ff54a4;color:#e53287}.icon-card .read-badge{background:var(--wash);color:var(--ink)}.if-frame .frame-head strong{color:#fff;background:#168fff;padding:4px 7px;border-radius:4px;font-size:14px}.palette-module[data-type=if],.palette-module[data-type=while],.palette-module[data-type=for]{--ink:#168fff;--wash:#e4f2ff}.node.if-frame{width:420px;height:250px;border:3px solid #586575;border-radius:6px;background:#fafcfb;box-shadow:inset 0 0 0 3px #e4e9ec;transform:none;min-height:90px;min-width:320px;z-index:1}.if-frame.selected{outline:2px solid #a1bd79;outline-offset:3px}.if-frame .frame-head{height:43px;display:flex;align-items:center;gap:12px;padding:6px 12px;background:#e8edf0;border-bottom:1px solid #cdd5db;cursor:grab;touch-action:none;border-radius:3px 3px 0 0;color:#3c4b59;font-size:11px}.frame-head strong{font-size:17px;letter-spacing:1px}.frame-head select{height:28px;border:1px solid #abb8c4;border-radius:4px;padding:2px 8px;background:#fff;min-width:100px;color:#33485a;font-size:12px}.frame-head .frame-move{margin-left:auto;color:#7b8995;cursor:grab;font-size:10px}.frame-empty{position:absolute;inset:55px 18px 25px;display:flex;align-items:center;justify-content:center;pointer-events:none;font-size:12px;color:#99a6ac;border:1px dashed #cad6db;border-radius:5px}.frame-resize{position:absolute;bottom:-2px;right:-2px;cursor:nwse-resize;background:#e4e9ed;color:#556877;border:0;border-radius:3px;font-size:18px;width:23px;height:23px;padding:0;touch-action:none}.frame-resize:hover{background:#cbd5dd}.if-frame .card-port .port{z-index:6}.if-frame.drop-target{border-color:#7fa146;background:#f6fbea}.node.icon-card{z-index:20}#wires{z-index:10}#nodes{position:absolute;inset:0;pointer-events:none}#nodes .node{pointer-events:auto}.if-frame .frame-help{font-size:10px;color:#8f9da6}.if-input-status{font-size:10px;padding:4px 6px;border-radius:4px;background:#f0f2f4;color:#909ba4;white-space:nowrap}.if-input-status.connected{background:#e8f3dc;color:#557536}.frame-head select{max-width:240px}.frame-head select:disabled{color:#87949d;background:#f5f7f8}.generate-bar{padding:0 15px 12px}.generate-bar button{width:100%;padding:11px;font-size:12px}.code-body.outdated{opacity:.55}#diagnostics{max-height:220px;overflow:auto;font-size:11px;flex-shrink:0}#diagnostics ul{padding-left:17px;margin:7px 0 0}#diagnostics li{margin:6px 0}#diagnostics.success{color:#486b30;background:#f0f7e8}#diagnostics.pending{color:#6f7b84;background:#f2f5f7}.diagnostic-link{color:inherit;text-align:left;font-size:11px;background:transparent;border:0;padding:0;text-decoration:underline}.node.has-error{outline:3px solid #df755c;outline-offset:3px}.if-frame .frame-head{gap:8px;padding:6px 10px;container-type:inline-size}.frame-head>.inline-field{min-width:0;flex:1}.frame-head select{width:100%;min-width:0}.frame-status{margin-left:auto;display:flex;align-items:center;gap:6px;flex-shrink:0;background:#fff;padding:3px}.frame-status .frame-help{white-space:nowrap}.frame-status .if-input-status{font-size:9px;padding:4px}.frame-status .frame-help{font-size:9px}@container (max-width:460px){.frame-status{gap:3px;padding:2px}.frame-status .if-input-status,.frame-status .frame-help{font-size:7px}.frame-status .if-input-status{padding:3px 2px}.frame-head select{font-size:9px;padding:2px}}.if-frame .for-head{gap:6px;flex-wrap:wrap;height:auto;min-height:43px}.for-head>.inline-field{flex:1 1 65px}.for-head .inline-field input{width:50px;font-size:11px}.for-head .comparison{flex-basis:110px}.for-head .field-label{font-size:9px}.if-frame .repeat-head>.inline-field{flex:0 0 auto;display:flex;align-items:center;gap:5px}:root .studio .if-frame .repeat-head input{width:12ch}.studio{display:block;height:calc(100dvh - 116px);min-height:360px;margin:12px 16px 0}.studio .canvas-panel{height:100%;width:100%;position:relative;display:block}#viewport{position:absolute;inset:0;min-height:0;width:100%;height:100%}.panel-toggle,.floating-history,.floating-zoom{position:absolute;z-index:50;box-shadow:0 3px 14px #20332618;border:1px solid #dce3d7;background:#fff;border-radius:10px}.panel-toggle{top:12px;height:38px;padding:0 12px;font-size:12px;font-weight:600}.modules-toggle{left:12px}.code-toggle{right:24px}.panel-toggle[aria-expanded=true]{background:#d9f781;border-color:#bedb76}.floating-history{top:12px;left:50%;transform:translate(-50%);display:flex;gap:3px;padding:3px}.floating-history button{border:0;width:32px;height:30px;padding:0;font-size:20px}.floating-history #help{font-size:16px}.floating-zoom{bottom:24px;right:24px;display:flex;align-items:center;padding:5px;gap:5px}.floating-zoom button{min-width:30px;min-height:30px;font-size:14px}.floating-zoom #zoom-label{min-width:40px;font-size:11px}.studio .tool-panel{position:absolute;z-index:40;top:60px;bottom:76px;height:auto;max-height:none;box-shadow:0 8px 28px #20332626;background:#fff;border:1px solid #dce3d7;border-radius:12px}.studio .library{left:12px;width:225px;padding:14px;display:flex;flex-direction:column;overflow:auto}.studio .code-panel{right:24px;width:min(370px,calc(100% - 36px));display:flex;flex-direction:column}.studio .tool-panel[hidden]{display:none}.studio .library .search{display:flex}.studio .library>p{display:block}.studio #palette{display:block;overflow:visible}.studio .palette-group{min-width:0}.studio .code-actions{display:block}.studio .code-body{min-height:80px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}@media(max-width:620px){.studio{height:calc(100dvh - 155px);margin:8px 8px 0;min-height:360px}.panel-toggle{padding:0 8px}.panel-toggle span{font-size:10px}.modules-toggle{left:8px}.code-toggle{right:18px}.floating-history{gap:0}.floating-history button{width:27px}.studio .library{left:8px;width:min(225px,calc(100% - 26px))}.studio .code-panel{right:18px}.app-footer{padding:8px 12px}}.palette-module[data-type] .module-icon{background:var(--ink,#ff9500);color:#fff;border-color:transparent}.node.if-frame{border-color:#188fff;box-shadow:inset 0 0 0 2px #e0f1ff,0 3px 12px #188fff18}.if-frame .frame-head{background:#e4f2ff;border-bottom-color:#bfddff;color:#087fe9}#viewport{cursor:grab}#viewport .node{cursor:default}:root{--brand:#00bcd4;--brand-dark:#007e95;--border:#dce8eb;background:#f5f9fa;color:#21343b}.brand-logo{width:auto;height:62px;max-width:100%;object-fit:contain}.primary,.panel-toggle[aria-expanded=true]{background:var(--brand);border-color:var(--brand);color:#073b46}.primary:hover,.panel-toggle[aria-expanded=true]:hover{background:#18cee3;border-color:#18cee3}button:hover{background:#e5f8fb}.board-badge{background:#effbfc;border-color:#d0edf2;color:#247282}.board-badge i,.live i,.app-footer i{background:var(--brand)}#saved,.live{color:#338597}.eyebrow{color:#61838b}#viewport{background-color:#fafdfe;background-image:radial-gradient(#cde3e9 .85px,transparent .85px)}.palette-group{background:#f1f9fb}.palette-group summary{background:#e5f6f9;color:#27636f}.palette-group summary:hover{background:#cfedf3}.library-heading span{background:#e3f4f7;color:#46808c}.node.selected,.icon-card.selected,.if-frame.selected{outline-color:var(--brand)}.if-frame.drop-target{border-color:var(--brand);background:#edfbfd}.if-input-status.connected{background:#d9f8fc;color:#008298}#diagnostics.success{background:#e2f8fb;color:#16798b}.code-actions #copy-status{color:#168298}.code-body{background:#192c34}.code-body pre{color:#d4edf3}.filebar{background:#f2f9fb;color:#5c7b87}.file-icon{color:#00a5bf}.icon-card .state-toggle[aria-pressed=true]{background:#00bcd4;border-color:#00bcd4;color:#fff}@media(max-width:620px){.brand-logo{height:52px;width:auto}}.floating-history{left:auto;right:130px;transform:none}@media(max-width:620px){.floating-history{right:110px}}.else-divider{position:absolute;left:0;right:0;height:28px;border-top:2px solid #168fff;border-bottom:1px solid #c5e3ff;background:#e4f2ff;color:#087fe9;font-size:11px;font-weight:700;padding:6px 12px;pointer-events:none}.else-area{position:absolute;left:3px;right:3px;bottom:3px;background:#f0f8ff55;pointer-events:none}.floating-history button[aria-pressed=true]{background:#00bcd4;color:#073b46}@media(max-width:620px){.floating-history{top:58px;right:18px}.studio .tool-panel{top:102px}}.palette-module[data-type=ifElse]{--ink:#168fff;--wash:#e4f2ff}.if-frame[data-type=ifElse] .frame-head strong{white-space:nowrap;font-size:12px}.frame-edge{position:absolute;z-index:5;touch-action:none}.edge-w,.edge-e{top:8px;bottom:8px;width:8px;cursor:ew-resize}.edge-w{left:-5px}.edge-e{right:-5px}.edge-n,.edge-s{left:8px;right:8px;height:8px;cursor:ns-resize}.edge-n{top:-5px}.edge-s{bottom:-5px}.frame-edge:hover{background:#00bcd455;border-radius:5px}.if-frame .frame-resize{z-index:7}.if-frame .card-port{z-index:8}.studio .code-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;padding:10px 12px}.studio .code-actions button{margin:0;padding:9px 6px;font-size:11px}.studio .code-actions #copy-status{grid-column:1 / -1;min-height:0}.studio .code-actions #copy-status:empty{display:none}.brand{gap:18px}.brand-tagline{border-left:1px solid #cbd4d8;padding-left:18px;color:#73848d;font-size:12px;font-weight:500;letter-spacing:3px;line-height:34px;white-space:nowrap}.app-header{gap:16px}@media(max-width:1000px){.brand{gap:10px}.brand-tagline{padding-left:10px;font-size:10px;letter-spacing:1.5px}.board-badge{display:none}}@media(max-width:620px){.brand-tagline{font-size:9px;letter-spacing:1px;line-height:28px}.app-header .brand{max-width:100%}.brand-logo{height:46px}}.selection-box{position:absolute;z-index:100;pointer-events:none;border:1px solid #00a9c4;background:#00bcd426}#viewport.selecting,#viewport.selecting *{cursor:crosshair!important;-webkit-user-select:none;user-select:none}#viewport{cursor:default}#viewport.hand-mode,#viewport.hand-mode *{cursor:grab!important}#viewport.panning,#viewport.panning *{cursor:grabbing!important;-webkit-user-select:none;user-select:none}#esp32-dialog{width:min(560px,90vw);max-height:85vh;overflow:auto;border:1px solid #c9e8ed;border-radius:18px;padding:24px;color:#20343c}#esp32-dialog::backdrop{background:#102c4466}#esp32-dialog h2{margin-top:0}#esp32-dialog p{font-size:13px;line-height:1.6}#esp32-dialog label{display:grid;gap:8px;font-size:13px}#esp32-board{padding:10px;border:1px solid #bcdde3;border-radius:8px;background:#fff}.esp32-actions{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}#esp32-progress{width:100%;accent-color:#00bcd4}#esp32-log{white-space:pre-wrap;overflow-wrap:anywhere;max-height:180px;overflow:auto;font-size:11px;background:#f0f7f8;padding:10px}#esp32-dialog summary{cursor:pointer;font-size:12px}#serial-dialog{width:min(760px,94vw);max-height:90vh;overflow:auto;border:1px solid #c9e8ed;border-radius:18px;padding:22px;color:#20343c}#serial-dialog::backdrop{background:#102c4466}.serial-heading,.serial-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.serial-heading{justify-content:space-between}.serial-heading h2{margin:0 0 14px}.serial-tools label{display:flex;align-items:center;gap:8px;font-size:13px}#serial-dialog select,#serial-input{padding:8px;border:1px solid #bcdde3;border-radius:7px;background:#fff}#serial-status{font-size:12px}#serial-output{height:280px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;background:#14282f;color:#c1f6fa;border-radius:10px;padding:14px;font:13px/1.5 Consolas,monospace;-webkit-user-select:text;user-select:text}#serial-form{display:flex;gap:8px;flex-wrap:wrap}#serial-input{flex:1;min-width:160px}.serial-follow{display:flex;gap:7px;align-items:center;font-size:12px;margin-top:14px}.serial-hint{font-size:12px;color:#607980}.project-actions{flex-wrap:wrap}#serial-dialog{max-width:94vw}#serial-dialog .primary{width:auto;margin-top:0}#serial-output{height:clamp(130px,35vh,280px)}.app-header{background:#f0faff;border-bottom-color:#c9eaf7;box-shadow:0 2px 12px #149acb0d}.project-actions button{border-color:#b9e5f7;color:#285571;background:#f8fdff}.project-actions .primary,.project-actions #import-project{background:#00b9d6;border-color:#00b9d6;color:#fff}.project-actions button:hover{background:#def5ff}.project-actions .primary:hover,.project-actions #import-project:hover{background:#00a8c7}.panel-toggle,.floating-history,.floating-zoom{border-color:#d4edf9;background:#f7fcff;color:#315974}.floating-history button,.floating-zoom button{color:#315974;background:transparent}.panel-toggle[aria-expanded=true],.primary{background:#00b9d6;border-color:#00b9d6;color:#fff}.canvas-decoration{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden;background:#fbfdff}#viewport{z-index:1;background-color:transparent;background-image:radial-gradient(#cde3ef .85px,transparent .85px)}.pixel-cluster{position:absolute;width:90px;height:100px;opacity:.68}.pixels-top{right:34px;top:110px}.pixels-bottom{left:24px;bottom:40px;transform:rotate(-4deg)}.pixel-cluster i{position:absolute;display:block;width:25px;height:25px;border-radius:2px;background:#53beff;left:30px;top:32px}.pixel-cluster i:nth-child(2){background:#9860ff;left:60px;top:0;width:28px;height:28px}.pixel-cluster i:nth-child(3){background:#ffda56;left:5px;top:57px}.pixel-cluster i:nth-child(4){background:#76dfb0;left:48px;top:78px;width:18px;height:18px}.pixels-bottom i:nth-child(2){background:#ffdc5e;left:57px;top:58px;width:20px;height:20px}.pixels-bottom i:nth-child(3){background:#62d9d2;left:5px;top:67px;width:16px;height:16px}.pixels-bottom i:nth-child(4){left:26px;top:91px}.canvas-mascot{position:absolute;right:32px;bottom:70px;width:170px;height:184px;overflow:hidden;transform:rotate(7deg);mix-blend-mode:multiply;opacity:.8}.canvas-mascot img{position:absolute;left:0;top:0;height:184px;width:auto;max-width:none;pointer-events:none;-webkit-user-select:none;user-select:none}@media(max-width:700px){.canvas-mascot{width:105px;height:114px;right:20px;bottom:78px}.canvas-mascot img{height:114px}.pixels-top{right:20px;top:85px;transform:scale(.7);transform-origin:top right}.pixels-bottom{transform:scale(.7);transform-origin:bottom left}}#examples-dialog{width:min(1040px,94vw);max-width:94vw;max-height:88vh;overflow:auto;padding:24px;border-color:#c9eaf7;background:#f5fbff;color:#203d4b}.examples-heading{display:flex;gap:20px;align-items:start;justify-content:space-between}.examples-heading h2{margin:0 0 8px}.examples-heading p{max-width:720px;margin:0;color:#5a7480}#examples-search{margin-top:18px;padding:11px;width:100%;border:1px solid #c5e3ed;border-radius:8px}.examples-note{color:#5a7480}#examples-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}.example-card{display:flex;flex-direction:column;padding:16px;border:1px solid #d7e9f1;border-radius:12px;background:#fff}.example-preview{height:110px;display:grid;place-items:center;background:radial-gradient(#d6e8ef 1px,transparent 1px) 0 0/14px 14px #f7fcff;border-radius:8px;margin-bottom:12px;color:#97afbc;font-size:30px}.example-preview svg{width:100%;height:100%}.example-card small{font-size:10px;color:#337b92}.example-card h3{margin:8px 0 4px;font-size:16px}.example-card p{color:#4d6571;margin:6px 0;font-size:12px}.example-card .example-materials{font-size:11px;color:#708594}.example-card .example-pending{color:#9b6924;background:#fff6e4;padding:7px;border-radius:6px}.example-card button{margin-top:auto;background:#e5f7fc;border-color:#bee7f1;color:#116f88}.example-replace-actions{display:flex;flex-wrap:wrap;gap:8px}#example-replace .primary{width:auto;margin-top:0}.if-frame .else-divider{pointer-events:auto;cursor:ns-resize;touch-action:none;-webkit-user-select:none;user-select:none;z-index:6}.else-divider:hover,.else-divider:focus-visible{background:#c7eaff;box-shadow:inset 0 2px #188fff}.else-divider:after{content:"⋮⋮";position:absolute;left:50%;top:3px;transform:rotate(90deg);color:#378fce}.node.icon-card[data-type=text]{min-height:100px;display:flex;flex-direction:column}.icon-card[data-type=text] .card-top{height:24px;flex-shrink:0;cursor:grab}.node.icon-card[data-type=text] .icon-face{display:none}.icon-card[data-type=text] .face-controls{flex:1;min-height:0;margin:2px 8px 10px}.icon-card[data-type=text] .inline-field{height:100%}.icon-card[data-type=text] textarea{width:100%;height:100%;min-height:0;resize:none;box-sizing:border-box;border:1px solid #94ded5;border-radius:4px;padding:5px;color:#12675f;background:#ffffffc9;font:18px/1.3 sans-serif;-webkit-user-select:text;user-select:text}.text-resize{position:absolute;right:0;bottom:0;padding:0;width:18px;height:18px;border:0;background:transparent;color:var(--ink);cursor:nwse-resize;touch-action:none;font-size:17px;z-index:5}.studio.serial-open{display:grid;grid-template-rows:minmax(140px,1fr) minmax(220px,38%);gap:8px}.studio.serial-open .canvas-panel{min-height:0}#serial-dialog{width:100%;max-width:none;max-height:none;min-height:0;overflow:hidden;border:1px solid #c9e8ed;border-radius:10px;padding:10px 14px;background:#f3fbff;color:#20343c;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto minmax(40px,1fr) auto;gap:7px 14px}#serial-dialog[hidden]{display:none}.serial-heading{grid-column:1;grid-row:1;justify-content:flex-start;gap:12px}.serial-heading h2{margin:0;font-size:14px}#serial-close{padding:3px 8px;font-size:11px}.serial-tools{grid-column:2;grid-row:1;gap:8px}.serial-tools label{font-size:11px}#serial-dialog button,#serial-dialog select{padding:5px 8px;font-size:11px}#serial-status{grid-column:1;grid-row:2;margin:0;align-self:center;font-size:11px}#serial-form{grid-column:2;grid-row:2;flex-wrap:nowrap;gap:6px}#serial-input{padding:5px 8px;font-size:12px;min-width:100px}#serial-output{grid-column:1/-1;grid-row:3;margin:0;height:auto;min-height:0;padding:10px;border-radius:6px}.serial-follow{grid-column:1;grid-row:4;margin:0;font-size:11px}.serial-hint{grid-column:2;grid-row:4;margin:0;font-size:10px;align-self:center;text-align:right}#serial-monitor[aria-expanded=true]{background:#00b9d6;color:#fff}@media(max-width:700px){.studio.serial-open{grid-template-rows:minmax(140px,1fr) minmax(260px,48%)}#serial-dialog{grid-template-columns:1fr;grid-template-rows:auto auto auto auto minmax(40px,1fr) auto;padding:8px;gap:5px}.serial-heading{grid-row:1}.serial-tools{grid-column:1;grid-row:2}#serial-status{grid-row:3}#serial-form{grid-column:1;grid-row:4}#serial-output{grid-row:5}.serial-follow{grid-row:6}.serial-hint{display:none}}.studio.serial-open{grid-template-columns:minmax(0,1fr)}.node[data-type=pwm],.palette-module[data-type=pwm]{--ink:#ee0089;--wash:#fff0f8}.icon-card[data-type=pwm] .card-top .inline-field:last-child input{width:54px;color:#ee0089;border:1px solid #ee0089;border-radius:4px;background:#fff}#module-help{width:min(580px,92vw);max-height:85dvh;overflow:auto;padding:24px;border:1px solid #b9e5f7;border-radius:14px;background:#f8fdff;color:#203d4b}#module-help::backdrop{background:#102c4466}.module-help-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.module-help-heading h2{margin:0;font-size:22px}#module-help h3{font-size:14px;color:#008ca6;margin:20px 0 6px}#module-help p{font-size:13px;line-height:1.65;margin:0;white-space:pre-line}.condition-values{display:flex;gap:6px;align-items:center;flex-shrink:0}.condition-values:empty{display:none}.frame-head .condition-values .inline-field{display:flex;gap:4px;align-items:center}.frame-head .condition-values input{width:65px;min-width:0}.frame-head .condition-values .field-label{font-size:10px;white-space:nowrap}.frame-head:has(.condition-values:not(:empty)) .frame-status{display:none}.frame-head:has(.condition-values:not(:empty)){overflow-x:auto}.frame-head:has(.condition-values:not(:empty)) select{min-width:110px}.frame-head .compact-condition{display:flex;align-items:center;gap:7px;min-width:0;overflow-x:auto}.frame-head .compact-condition select{width:auto;min-width:48px;max-width:100px;flex-shrink:0}.frame-head .compact-condition input{width:65px;min-width:0}.frame-head .compact-condition .inline-field{flex:0 0 auto;margin:0}.frame-head .compact-condition>span{white-space:nowrap;font-size:12px}.for-head .inline-field:last-child select{min-width:52px;width:60px}.card-port.top{top:0}.card-port.bottom{bottom:0}.card-port.top .port,.card-port.bottom .port{left:-7px;right:auto;top:-7px}.port-face-menu{position:fixed;z-index:1000;display:grid;gap:5px;width:172px;padding:10px;background:#fff;border:1px solid #b9e5f7;border-radius:10px;box-shadow:0 5px 20px #18364733}.port-face-menu strong{font-size:12px}.port-face-menu button{font-size:12px;padding:7px}.icon-card .card-port .port:before{content:"";position:absolute;inset:-7px;border-radius:50%}.icon-card .card-port{z-index:10}.card-port .port-direction{position:absolute;pointer-events:none;left:50%;top:50%;font:700 12px/1 Arial,sans-serif;color:#fff;transform:translate(-50%,-50%) rotate(var(--port-angle,0deg));text-shadow:0 0 1px #293d4b}.card-port .port{background:#ed971b}.card-port .port.flow{background:#9472de}.card-port.left .port[data-side=input],.card-port.right .port[data-side=output]{--port-angle:0deg}.card-port.right .port[data-side=input],.card-port.left .port[data-side=output]{--port-angle:180deg}.card-port.top .port[data-side=input],.card-port.bottom .port[data-side=output]{--port-angle:90deg}.card-port.bottom .port[data-side=input],.card-port.top .port[data-side=output]{--port-angle:-90deg}.card-port .port:hover,.card-port .port:focus-visible{scale:1.45}.connecting .port.compatible{outline:3px solid #00bad5;outline-offset:4px;box-shadow:0 0 0 8px #00bad526}.connecting .port.incompatible{opacity:.25}.node .card-port .port,.node .card-port .port.flow{background:#fff;border-color:var(--ink,#188fff)}.node .card-port .port-direction{color:var(--ink,#188fff);text-shadow:none}.node .port-direction{opacity:0;transition:opacity .12s ease}.node:hover .port-direction,.node:focus-within .port-direction{opacity:1}.wire-visible,.wire-hit{stroke-linejoin:round;stroke-linecap:round}.workspace-tabs{position:absolute;z-index:55;top:12px;left:120px;display:flex;gap:3px}.workspace-tabs button[aria-selected=true]{background:#00bcd4;color:#fff}.chart-dashboard{position:absolute;inset:58px 0 0;z-index:52;overflow:auto;background:#f5fbff;padding:18px}.chart-dashboard[hidden]{display:none}.chart-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px}.live-chart{background:#fff;border:1px solid #cde5ef;border-radius:12px;padding:16px}.live-chart canvas{width:100%;height:auto}.chart-value{font-size:24px;color:#008da8}.charts-active #viewport,.charts-active .floating-zoom{visibility:hidden}.charts-active .tool-panel{display:none}.chart-dashboard>p{font-size:12px;color:#547781}@media(max-width:620px){.workspace-tabs{left:100px}.workspace-tabs button{padding:8px 5px}}.chart-settings{display:flex;gap:10px;flex-wrap:wrap}.chart-settings label{display:grid;gap:4px;font-size:12px;color:#547781}.chart-settings input,.chart-settings select{width:95px;padding:6px;border:1px solid #bddfe9;border-radius:6px;background:#fff}.chart-dashboard{background:#e7f5fb;padding:26px;border-radius:0 0 14px 14px}.dashboard-title{font-size:22px;color:#334e62;letter-spacing:-.4px;margin:0 0 6px}.chart-dashboard>p{margin:0 0 22px;color:#7693a4}.chart-grid{grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:20px;align-items:start}.live-chart{border:0;border-radius:22px;padding:22px;background:#fff;box-shadow:0 5px 20px #6695ae08;min-width:0}.live-chart h3{font-size:15px;color:#496071;margin:0 0 5px;font-weight:600}.chart-subtitle{font-size:11px;color:#98a8b5;margin:0}.chart-value{font-size:30px;font-weight:500;letter-spacing:-1px;color:#435b6c;margin:16px 0 4px}.live-chart canvas{display:block;margin:8px 0 14px}.chart-settings{border-top:1px solid #f0f4f8;padding-top:14px;gap:10px}.chart-settings label{font-size:10px;color:#96a4b2;flex:1;min-width:65px}.chart-settings input,.chart-settings select{width:100%;border-color:#e9eef5;border-radius:9px;color:#657a8c;background:#fbfcfe;font-size:11px}.live-chart[data-kind=gauge]{border-top:3px solid #16c6cf}.live-chart[data-kind=line]{border-top:3px solid #9985ff}.live-chart[data-kind=bar]{border-top:3px solid #ffd45c}@media(min-width:1150px){.live-chart[data-kind=line]{grid-column:span 2}}#theme-toggle{font-size:23px;line-height:1;width:38px;height:36px;padding:4px;flex-shrink:0}:root[data-theme=dark]{color-scheme:dark;background:#101923;color:#dbe9f3;--border:#354858}[data-theme=dark] body{background:#101923;color:#dbe9f3}[data-theme=dark] .app-header{background:#172532;border-color:#314657;box-shadow:none}[data-theme=dark] .brand-tagline,[data-theme=dark] .app-footer{color:#a0b7c8}[data-theme=dark] .brand-logo{background:#eaf7fc;border-radius:10px;padding:3px}[data-theme=dark] .board-badge{background:#203848;color:#b8e9f3;border-color:#365567}[data-theme=dark] button,[data-theme=dark] .project-actions button{background:#223644;color:#dcebf5;border-color:#3b5264}[data-theme=dark] button:hover{background:#304c60}[data-theme=dark] .primary,[data-theme=dark] .project-actions .primary,[data-theme=dark] .project-actions #import-project,[data-theme=dark] button[aria-expanded=true],[data-theme=dark] .workspace-tabs button[aria-selected=true]{background:#008ca5;color:#fff;border-color:#00afc6}[data-theme=dark] .canvas-panel{border-color:#354858}[data-theme=dark] .canvas-decoration{background:#111f2b}[data-theme=dark] #viewport{background-image:radial-gradient(#32495b .85px,transparent .85px)}[data-theme=dark] .panel-toggle,[data-theme=dark] .floating-history,[data-theme=dark] .floating-zoom,[data-theme=dark] .studio .tool-panel,[data-theme=dark] .port-face-menu{background:#1b2c39;color:#dcebf5;border-color:#354f61}[data-theme=dark] .palette-group,[data-theme=dark] .palette-group summary{background:#263b49;color:#d6e6f0}[data-theme=dark] .palette-group summary:hover{background:#345264}[data-theme=dark] .search,[data-theme=dark] input,[data-theme=dark] select,[data-theme=dark] textarea{background:#142632;color:#dcebf5;border-color:#456073}[data-theme=dark] .search input{background:transparent;color:#dcebf5}[data-theme=dark] .node.icon-card{background:linear-gradient(150deg,#203442,#172733);box-shadow:0 4px 12px #0003}[data-theme=dark] .icon-card .inline-field input,[data-theme=dark] .icon-card .inline-field select,[data-theme=dark] .icon-card textarea{background:#142632;color:#e1eef7}[data-theme=dark] .node.if-frame{background:#182a37;border-color:#369aff;box-shadow:none}[data-theme=dark] .if-frame .frame-head,[data-theme=dark] .if-frame .else-divider{background:#203e55;color:#acd9ff;border-color:#365b77}[data-theme=dark] .if-frame .else-area{background:#1b324666}[data-theme=dark] .frame-head select,[data-theme=dark] .frame-head input{background:#142632;color:#e1eef7;border-color:#456073}[data-theme=dark] .port-hint{background:#1b2c39;color:#e1eef7;border-color:#456073}[data-theme=dark] .code-body,[data-theme=dark] #serial-output{background:#0c1720;color:#c7edf1}[data-theme=dark] #diagnostics.error{background:#422a30;color:#ffb5ad}[data-theme=dark] #diagnostics.success{background:#153b40;color:#9ae4e5}[data-theme=dark] dialog,[data-theme=dark] #module-help,[data-theme=dark] #examples-dialog,[data-theme=dark] #esp32-dialog,[data-theme=dark] #serial-dialog{background:#192c39;color:#dcebf5;border-color:#3a5467}[data-theme=dark] dialog p,[data-theme=dark] .serial-hint,[data-theme=dark] #module-help h3{color:#a9c9da}[data-theme=dark] #serial-dialog select,[data-theme=dark] #serial-input{background:#112330;color:#dcebf5;border-color:#3a5467}[data-theme=dark] .example-card,[data-theme=dark] .live-chart{background:#203443;color:#dcebf5;border-color:#36566c}[data-theme=dark] .chart-dashboard{background:#122431}[data-theme=dark] .dashboard-title,[data-theme=dark] .live-chart h3,[data-theme=dark] .chart-value{color:#d9eaf5}[data-theme=dark] .chart-subtitle,[data-theme=dark] .chart-dashboard>p,[data-theme=dark] .chart-settings label{color:#aac2d2}[data-theme=dark] .chart-settings{border-color:#385163}[data-theme=dark] .chart-settings input,[data-theme=dark] .chart-settings select{background:#142632;color:#dcebf5;border-color:#456073}.chart-origin{font-size:12px;color:#607d8b;overflow-wrap:anywhere;margin:6px 0}.chart-settings{flex-wrap:wrap}.chart-settings label{flex:1 1 90px;min-width:0}.live-chart[data-kind=number] .chart-value{font-size:clamp(32px,4vw,58px);font-weight:700;line-height:1.2;overflow-wrap:anywhere;margin:24px 0;color:#00a8c7;font-variant-numeric:tabular-nums}.live-chart[data-kind=number]{display:flex;flex-direction:column}.live-chart[data-kind=number] .chart-settings{margin-top:auto}:root[data-theme=dark] .chart-origin{color:#9bb8c8}:root[data-theme=dark] .live-chart[data-kind=number] .chart-value{color:#35d9eb}.chart-card-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.chart-card-header h3{margin:0}.chart-drag-handle{cursor:grab;touch-action:none;background:transparent;color:inherit;border:0;font-size:24px;padding:4px 10px;border-radius:8px}.chart-drag-handle:hover{background:#00bcd41a}.chart-dragging{outline:2px solid #00bcd4;opacity:.75}.chart-dragging .chart-drag-handle{cursor:grabbing}.dashboard-control{display:flex;flex-direction:column;gap:16px;padding:20px 0}.dashboard-control output{font-size:36px;font-weight:700;color:#00a8c7}.dashboard-control input[type=range]{width:100%;accent-color:#00bcd4}.dashboard-control-button{padding:16px;border:1px solid #00bcd4;border-radius:14px;background:#e4f8fc;color:#07566a;font-weight:700;cursor:pointer}.dashboard-control-button[aria-checked=true]{background:#00bcd4;color:#fff}.dashboard-control-button:disabled{opacity:.45;cursor:not-allowed}:root[data-theme=dark] .dashboard-control-button{background:#203f50;color:#e4f8fc}:root[data-theme=dark] .dashboard-control-button[aria-checked=true]{background:#008da8}.wifi-dialog{max-width:560px;width:90%;border:1px solid #00bcd4;border-radius:18px;padding:24px}.wifi-dialog label{display:block;margin:12px 0}.wifi-dialog input{display:block;width:100%;padding:10px;box-sizing:border-box}.wifi-dialog p{line-height:1.5}.wifi-dialog .esp32-actions{flex-wrap:wrap}:root[data-theme=dark] .wifi-dialog{background:#122431;color:#d9eaf5}.wire-handle{fill:#fff;stroke:#00bcd4;stroke-width:2;pointer-events:all;cursor:move}.wire-handle:hover,.wire-handle:focus{fill:#00bcd4;stroke:#fff;outline:none}.project-actions .banner-icon{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;padding:8px;flex-shrink:0}.banner-icon svg{width:22px;height:22px;pointer-events:none}.studio #modules-panel{background:#252a36;color:#edf1fa;border-color:#3a4252;width:270px;max-width:calc(100% - 24px)}.studio #modules-panel .library-heading span{background:#394153;color:#c9d3e4}.studio #modules-panel>p{color:#aeb8ca}.studio #modules-panel .search{background:#1d2330;border-color:#424b60;color:#cbd5e8}.studio #modules-panel .search input{color:#edf1fa}.studio #modules-panel .search input::placeholder{color:#a5b0c4}.studio #palette .palette-group{margin:0;padding:0;border:0;border-radius:0;background:#222734}.studio #palette .palette-group summary{display:flex;align-items:center;gap:15px;min-height:64px;margin:0;padding:12px 10px 12px 16px;border-radius:0;border-left:8px solid var(--category-color);border-bottom:2px solid #222734;background:#2d3341;color:var(--category-color);font-size:15px;font-weight:700;list-style:none}.studio #palette .palette-group summary::-webkit-details-marker{display:none}.studio #palette .palette-group summary:hover{background:#384052}.category-icon{display:flex;flex-shrink:0;width:30px;height:30px}.category-icon svg{width:100%;height:100%}.category-label{flex:1}.category-chevron{font-size:23px;transition:transform .15s}.palette-group[open] .category-chevron{transform:rotate(90deg)}.studio #palette .palette-module{margin:0;padding:9px 12px;border-radius:0;color:#e4eaf5;background:transparent;border-left:8px solid var(--category-color)}.studio #palette .palette-module:hover{background:#384052}.studio #palette .palette-module .plus{color:var(--category-color)}.studio #palette summary:focus-visible,.studio #palette .palette-module:focus-visible{outline:2px solid var(--category-color);outline-offset:-3px}.studio #palette .module-icon{color:var(--category-color);background:color-mix(in srgb,var(--category-color) 15%,transparent)}.studio .node.if-frame{border-color:var(--ink)}.studio .if-frame .frame-head,.studio .if-frame .else-divider{color:var(--ink);border-color:var(--ink);background:color-mix(in srgb,var(--ink) 12%,var(--panel-bg,#fff))}.studio .if-frame .frame-head strong{background:var(--ink);color:#172532}[data-theme=dark] .studio .node.if-frame{background:#182a37;border-color:#188fff;box-shadow:none}[data-theme=dark] .studio .if-frame .frame-head,[data-theme=dark] .studio .if-frame .else-divider{background:#203e55;color:#acd9ff;border-color:#188fff}[data-theme=dark] .studio .if-frame .frame-head strong{background:#188fff;color:#071b2b}[data-theme=dark] .studio .if-frame .else-divider:hover,[data-theme=dark] .studio .if-frame .else-divider:focus-visible{background:#294e6b}[data-theme=dark] .studio .if-frame.drop-target{background:#203e55}[data-theme=light] .studio #modules-panel{background:#fff;color:#233746;border-color:#c9e2eb}[data-theme=light] .studio #modules-panel .library-heading span{background:#e7f2f8;color:#496577}[data-theme=light] .studio #modules-panel>p{color:#607586}[data-theme=light] .studio #modules-panel .search{background:#f7fbfe;border-color:#c9dfe9;color:#405c6e}[data-theme=light] .studio #modules-panel .search input{background:transparent;color:#233746}[data-theme=light] .studio #modules-panel .search input::placeholder{color:#647c8a}[data-theme=light] .studio #palette .palette-group{background:#fff}[data-theme=light] .studio #palette .palette-group summary{background:color-mix(in srgb,var(--category-color) 10%,white);color:color-mix(in srgb,var(--category-color) 55%,#172532);border-bottom-color:#fff}[data-theme=light] .studio #palette .palette-group summary:hover{background:color-mix(in srgb,var(--category-color) 20%,white)}[data-theme=light] .studio #palette .palette-module{background:#fff;color:#233746}[data-theme=light] .studio #palette .palette-module:hover{background:#edf5fa}[data-theme=light] .studio #palette .module-icon{color:color-mix(in srgb,var(--category-color) 65%,#172532)}[data-theme=light] .studio #code-panel{background:#fff;color:#233746;border-color:#c9e2eb}[data-theme=light] .studio #code-panel .code-heading,[data-theme=light] .studio #code-panel .code-actions{background:#fff;color:#233746}[data-theme=light] .studio #code-panel .code-body,[data-theme=light] .studio #code-panel pre,[data-theme=light] .studio #code-panel code{background:#f6faff;color:#203b50}:root .studio .node.icon-card{background:var(--ink);border-color:var(--ink);color:#fff}:root .studio .node.icon-card .icon-face{color:#fff}:root .studio .node.icon-card .inline-field input,:root .studio .node.icon-card .inline-field select,:root .studio .node.icon-card textarea{background:#fff;color:#172b3a;border-color:#ffffffb3}:root .studio .node.icon-card .inline-field.pin,:root .studio .node.icon-card .type-badge{background:#fff;color:#172b3a}:root .studio .node.icon-card .inline-field.pin input{background:transparent;color:#172b3a}:root .studio .node.icon-card .read-badge,:root .studio .node.icon-card .cable-badge{background:#fff;color:#172b3a;border-color:#fff}:root .studio .node.icon-card .state-toggle{background:#fff;color:#445362;border-color:#fff}:root .studio .node.icon-card .state-toggle[aria-pressed=true]{background:#fff;color:#087b43;border-color:#fff}:root .studio .node.icon-card .field-label,:root .studio .node.icon-card .unit,:root .studio .node.icon-card .text-resize{color:#172b3a}:root .studio .node.icon-card .card-port .port{background:var(--ink);border-color:#fff}:root .studio .node.if-frame .frame-head{background:#188fff;color:#fff;border-color:#188fff}:root .studio .node.if-frame .frame-head strong{background:#188fff;color:#fff}:root .studio .node.if-frame{background:#e5f3ff;border-color:#188fff}:root .studio .node.if-frame .else-divider{background:#188fff;color:#fff;border-color:#188fff}:root .studio .node.if-frame .else-divider:after{color:#fff}:root[data-theme=dark] .studio .node.if-frame{background:#17364f}:root[data-theme=dark] .studio .node.if-frame .else-area{background:#1c405c}.icon-card .card-top .card-module-name{flex:1;min-width:0;font-size:10px;font-weight:700;line-height:22px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#172b3a;pointer-events:none}.icon-card .card-top>.inline-field,.icon-card .card-top>.type-badge,.icon-card .card-top>.read-badge{flex-shrink:0}.icon-card .card-top{gap:3px}:root .studio .icon-card .card-top{background:#ffffffeb;border-bottom:1px solid #ffffff80;border-radius:5px 5px 0 0;gap:4px;align-items:center;padding:2px 4px;height:26px}:root .studio .icon-card .card-top .card-module-name{color:#203443;font-size:10px;font-weight:600;line-height:12px;letter-spacing:.1px;text-align:left}:root .studio .icon-card .card-top .inline-field.pin{background:transparent;color:#203443;padding:0 3px 0 0;border-radius:0;border-right:1px solid #c7d3dc}:root .studio .icon-card .card-top .inline-field.pin input{color:#203443;background:transparent;font-size:12px}:root .studio .icon-card .card-top .pin-prefix{font-size:12px}:root .studio .icon-card .card-top .type-badge{background:transparent;color:#536977;padding:0 3px 0 0;border-radius:0;border-right:1px solid #c7d3dc}:root .studio .icon-card .card-top .state-toggle{background:#eef2f5;color:#536575;border-color:#dce4ea;font-size:10px;height:20px;margin:0}:root .studio .icon-card .card-top .state-toggle[aria-pressed=true]{background:#d9f6e7;color:#087341;border-color:#b4e8cc}:root .studio .icon-card .card-top .read-badge{background:#edf2f6;color:#536575;border-color:#dce4ea;font-size:10px;margin:0;padding:1px 3px}:root .studio .icon-card .card-top .inline-field.state,:root .studio .icon-card .card-top .inline-field.ms{margin-top:0}:root .studio .node.icon-card .card-port .port-direction{color:#fff;text-shadow:none}:root .studio .node.icon-card .card-port .port:hover .port-direction,:root .studio .node.icon-card .card-port .port:focus .port-direction,:root .studio .node .card-port .port.pending .port-direction,:root .studio .connecting .node .card-port .port.compatible .port-direction{opacity:1}:root .studio .node.if-frame .card-port .port-direction{color:#fff;text-shadow:none}:root .studio .node.if-frame .card-port .port{background:#188fff}:root .studio .icon-card .card-top{background:#fff9;border-bottom-color:#fff5}:root .studio .node.icon-card .inline-field input,:root .studio .node.icon-card .inline-field select,:root .studio .node.icon-card textarea,:root .studio .node.icon-card .card-top .inline-field.pin input,:root .studio .node.icon-card .card-top .state-toggle,:root .studio .node.icon-card .card-top .state-toggle[aria-pressed=true],:root .studio .node.icon-card .card-top .read-badge,:root .studio .node.icon-card .cable-badge{background:var(--ink);color:#172b3a;border:1px solid color-mix(in srgb,var(--ink) 55%,#172532)}:root .studio .node.icon-card .inline-field select option{background:var(--ink);color:#172b3a}:root .studio .node.icon-card .inline-field input:focus-visible,:root .studio .node.icon-card .inline-field select:focus-visible,:root .studio .node.icon-card textarea:focus-visible{outline-color:#172532}:root .studio .node.icon-card{--control-outline:color-mix(in srgb,var(--ink) 72%,#000)}:root .studio .node.icon-card .inline-field input,:root .studio .node.icon-card .inline-field select,:root .studio .node.icon-card textarea,:root .studio .node.icon-card .state-toggle,:root .studio .node.icon-card .cable-badge{color:#fff;border-color:var(--control-outline)}:root .studio .node.icon-card .inline-field select option{background:var(--ink);color:#fff}:root .studio .node.icon-card .card-top .inline-field input,:root .studio .node.icon-card .card-top .inline-field select,:root .studio .node.icon-card .card-top .inline-field.pin,:root .studio .node.icon-card .card-top .inline-field.pin input,:root .studio .node.icon-card .card-top .state-toggle,:root .studio .node.icon-card .card-top .state-toggle[aria-pressed=true],:root .studio .node.icon-card .card-top .read-badge,:root .studio .node.icon-card .card-top .cable-badge{background:transparent;color:#fff;border-color:var(--control-outline)}:root .studio .node.icon-card .card-top .pin-prefix{color:#fff}:root .studio .node.icon-card .inline-field input:focus-visible,:root .studio .node.icon-card .inline-field select:focus-visible,:root .studio .node.icon-card textarea:focus-visible{outline-color:var(--control-outline)}#tutorial-catalog{width:min(1040px,94vw);max-width:94vw;max-height:88dvh;overflow:auto;padding:24px;background:#f5fbff;color:#203d4b;border:1px solid #c9eaf7;border-radius:16px}.tutorial-search{display:block;margin:18px 0}.tutorial-search input{display:block;width:100%;margin-top:6px;padding:11px;border:1px solid #c5e3ed;border-radius:8px}.tutorial-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}.tutorial-card-mascot{height:100px;max-width:100%;object-fit:contain}.tutorial-recovery{margin-top:16px}.tutorial-coach{position:fixed;z-index:90;right:24px;bottom:42px;display:flex;align-items:flex-end;gap:12px;max-width:calc(100vw - 32px);pointer-events:none}.tutorial-coach[hidden]{display:none}.tutorial-mascot{width:100px;height:115px;object-fit:contain;filter:drop-shadow(0 5px 8px #0002)}.tutorial-bubble{pointer-events:auto;width:350px;max-width:calc(100vw - 150px);max-height:55dvh;overflow:auto;background:#fff;color:#23364a;border:2px solid #26b7ce;border-radius:20px 20px 20px 4px;padding:16px;box-shadow:0 8px 30px #1234;line-height:1.5;font-size:14px}.tutorial-bubble header{display:flex;align-items:center;justify-content:space-between}.tutorial-bubble h3,.tutorial-bubble p{margin:8px 0}.tutorial-counter{color:#477889}.tutorial-actions{display:flex;flex-wrap:wrap;gap:6px}.tutorial-actions button{font-size:12px;padding:7px}.tutorial-feedback{color:#15748a}.tutorial-highlight{outline:4px solid #f6a51c!important;outline-offset:4px!important;box-shadow:0 0 0 7px #ffc44b33!important}.tutorial-destination{box-shadow:inset 0 0 0 4px #26b7ce!important}.tutorial-bubble :focus-visible,#tutorial-catalog :focus-visible{outline:3px solid #188fff;outline-offset:3px}[data-theme=dark] #tutorial-catalog,[data-theme=dark] .tutorial-bubble{background:#192c39;color:#e4eff8;border-color:#3c9db3}[data-theme=dark] .tutorial-counter,[data-theme=dark] .tutorial-feedback{color:#8ddde9}[data-theme=dark] #tutorial-catalog .example-card p{color:#b8d0df}[data-theme=dark] #tutorial-catalog .example-preview{background:#152734}[data-theme=dark] .tutorial-search input{background:#203443;color:#e4eff8;border-color:#36566c}@media(max-width:700px){.tutorial-coach{right:12px;bottom:40px;gap:5px}.tutorial-mascot{width:60px;height:75px}.tutorial-bubble{max-width:calc(100vw - 95px);max-height:40dvh;padding:12px}}.tutorial-mascot{display:block;flex-shrink:0;overflow:hidden;width:95px;height:105px}.tutorial-mascot img{height:105px;width:auto;max-width:none;display:block}.tutorial-card-mascot{width:90px;object-fit:cover;object-position:left}@media(max-width:700px){.tutorial-mascot{width:60px;height:66px}.tutorial-mascot img{height:66px}}.tutorial-bubble{width:285px;padding:12px;font-size:13px;line-height:1.4;border-radius:16px 16px 16px 4px}.tutorial-bubble h3{font-size:15px;margin:6px 0}.tutorial-bubble p{margin:6px 0}.tutorial-bubble header{font-size:12px}.tutorial-bubble [data-pause]{padding:3px 7px}.tutorial-feedback:empty,.tutorial-actions:empty{display:none}.tutorial-actions button{padding:5px 8px;font-size:11px}.tutorial-mascot{width:72px;height:80px}.tutorial-mascot img{height:80px}.tutorial-coach{flex-direction:row-reverse;gap:14px}.tutorial-mascot{width:96px;height:108px;overflow:visible;filter:none}.tutorial-mascot img{width:100%;height:100%;max-width:100%;object-fit:contain}.tutorial-bubble{position:relative;margin-bottom:65px;border-radius:16px;overflow:visible}.tutorial-bubble:after{content:"";position:absolute;right:-10px;bottom:20px;width:16px;height:16px;background:#fff;border-top:2px solid #26b7ce;border-right:2px solid #26b7ce;transform:rotate(45deg)}.tutorial-instruction,.tutorial-feedback{max-height:25dvh;overflow:auto}.tutorial-card-mascot{width:100px;height:100px;object-fit:contain}[data-theme=dark] .tutorial-bubble:after{background:#192c39;border-color:#3c9db3}@media(max-width:700px){.tutorial-coach{gap:10px}.tutorial-mascot{width:65px;height:75px}.tutorial-bubble{margin-bottom:44px;max-width:calc(100vw - 115px)}}@property --tutorial-rgb{syntax: "<color>"; inherits: false; initial-value: #00cfff;}@keyframes tutorial-rgb-cycle{0%,to{--tutorial-rgb: #00cfff}20%{--tutorial-rgb: #715cff}40%{--tutorial-rgb: #ff40b0}60%{--tutorial-rgb: #ffae32}80%{--tutorial-rgb: #35df83}}.tutorial-highlight{outline:3px solid var(--tutorial-rgb)!important;outline-offset:4px!important;box-shadow:0 0 0 6px color-mix(in srgb,var(--tutorial-rgb) 24%,transparent),0 0 10px color-mix(in srgb,var(--tutorial-rgb) 85%,transparent),0 0 24px color-mix(in srgb,var(--tutorial-rgb) 65%,transparent),0 0 36px color-mix(in srgb,var(--tutorial-rgb) 25%,transparent)!important;animation:tutorial-rgb-cycle 5s linear infinite}.tutorial-destination{box-shadow:inset 0 0 0 3px var(--tutorial-rgb),inset 0 0 12px color-mix(in srgb,var(--tutorial-rgb) 55%,transparent),inset 0 0 26px color-mix(in srgb,var(--tutorial-rgb) 30%,transparent)!important;animation:tutorial-rgb-cycle 5s linear infinite}@media(prefers-reduced-motion:reduce){.tutorial-highlight,.tutorial-destination{animation:none;--tutorial-rgb:#00cfff}}.studio #palette summary.tutorial-highlight{outline-offset:-4px!important;box-shadow:inset 0 0 0 3px var(--tutorial-rgb),inset 0 0 18px color-mix(in srgb,var(--tutorial-rgb) 55%,transparent)!important}.tft-editor{width:min(900px,95vw);max-height:92vh;overflow:auto}.tft-config,.tft-properties{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}.tft-editor label{display:grid;gap:4px;font-size:12px}.tft-editor input{width:85px;padding:6px}.tft-editor input[type=text]{width:220px}.tft-layout{display:flex;gap:24px;align-items:flex-start;flex-wrap:wrap}.tft-layout canvas{max-width:100%;border:2px solid #607d8b;cursor:crosshair;image-rendering:pixelated}.tft-tools{flex:1;min-width:240px}.tft-add{display:flex;flex-wrap:wrap;gap:5px}.tft-items{width:100%;margin-top:10px}.tft-status{color:#d65050}.melody-editor{width:min(900px,94vw);max-width:94vw;max-height:90dvh;box-sizing:border-box;padding:0;border:2px solid #bce8fa;border-radius:24px;background:#f6fcff;color:#173c59;font-family:Nunito,system-ui,sans-serif;overflow:auto;box-shadow:0 16px 60px #16365333}.melody-editor::backdrop{background:#15384b66}.melody-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 22px;background:#fc75c6;color:#fff;border-radius:20px 20px 0 0}.melody-heading>div{display:flex;align-items:center;gap:12px}.melody-heading span{font-size:32px}.melody-heading h2{margin:0;font-size:25px;font-weight:900;color:inherit}.melody-editor button{font:800 13px Nunito,system-ui,sans-serif;cursor:pointer;transition:background .15s,transform .15s}.melody-editor button:disabled{opacity:.45;cursor:default}.melody-editor button:focus-visible,.melody-editor input:focus-visible{outline:3px solid #099fdb;outline-offset:2px}.melody-editor .melody-close{width:34px;height:34px;min-width:34px;padding:0;border:0;border-radius:50%;background:#fff;color:#d3439d;font-size:24px;box-shadow:0 3px #d954a5}.melody-content{padding:18px 22px}.melody-hint{margin:0 0 16px;font-size:14px;color:#42647b}.melody-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:13px}.melody-toolbar label{display:flex;align-items:center;gap:10px;font-weight:800}.melody-toolbar label span{white-space:nowrap}.melody-editor .tempo{width:70px;padding:6px 8px;border:1px solid #b6dff0;border-radius:8px;background:#fff;color:#173c59;font:inherit}.melody-total{padding:6px 10px;border-radius:10px;background:#e4f6fd;font-weight:800;color:#0784b6}.melody-grid-scroll{overflow:auto;margin:18px 0;padding:5px;border:1px solid #d4edf8;border-radius:14px;background:#fff}.melody-grid{display:grid;gap:5px;width:max-content;padding:6px}.melody-grid>span{font-size:12px;align-self:center;text-align:center}.melody-note-label{color:#365b73;font-weight:800}.melody-column-number{color:#8c7595;font-weight:800}.melody-grid .note-cell{width:48px;height:36px;box-sizing:border-box;border:1px solid #f5b4df;background:#fff3fb;border-radius:8px;overflow:hidden}.melody-grid .note-cell.is-active{background:#fc75c6;border-color:#df53a8;box-shadow:0 2px #da4e9e}.melody-grid .choose-note{display:block;width:100%;height:100%;padding:0;border:0;background:transparent;border-radius:7px;box-shadow:none;color:#e6a1ca}.melody-grid .choose-note:hover{background:#fdd6ee}.melody-grid .note-duration{display:block;box-sizing:border-box;width:100%;height:100%;min-width:0;margin:0;padding:0 2px;border:0;border-radius:7px;background:transparent;color:#60304f;text-align:center;font:900 12px Nunito,system-ui,sans-serif;appearance:textfield}.melody-grid .note-duration::-webkit-inner-spin-button,.melody-grid .note-duration::-webkit-outer-spin-button{appearance:none;margin:0}.melody-grid .note-duration[aria-invalid=true]{background:#ffe0e4;outline:2px solid #e95b70;outline-offset:-2px}.melody-grid .rest-cell{background:#f3f8fb;border-color:#d2e5ef}.melody-grid .rest-cell.is-active{background:#c7edfc;border-color:#75c9eb;box-shadow:0 2px #86cbe5}.melody-actions{display:flex;gap:8px;flex-wrap:wrap}.melody-actions button,.melody-footer button{min-height:36px;padding:8px 14px;border:1px solid #bfdfed;border-radius:10px;background:#fff;color:#1b5778;box-shadow:0 3px #badce9}.melody-actions .listen,.melody-footer .save{background:#00b9e7;color:#fff;border-color:#00a4d1;box-shadow:0 3px #008eb9}.melody-actions .stop,.melody-footer .cancel{background:#ff818d;color:#fff;border-color:#f47683;box-shadow:0 3px #dc6473}.melody-actions button:hover:not(:disabled),.melody-footer button:hover{filter:brightness(1.04);transform:translateY(-1px)}.melody-status{min-height:20px;margin:14px 0 8px;color:#ba405a;font-size:13px}.melody-footer{display:flex;gap:12px;justify-content:flex-end;padding-top:12px;border-top:1px solid #d7ecf5}.melody-footer button{min-width:140px}@media(max-width:600px){.melody-heading{padding:14px}.melody-heading h2{font-size:21px}.melody-content{padding:14px}.melody-toolbar label{flex-wrap:wrap}.melody-footer button{min-width:0;flex:1}}.piano-editor{width:min(850px,95vw);max-height:90vh;overflow:auto}.piano-scroll{overflow-x:auto;padding:8px 0 12px}.piano-keys{position:relative;height:156px}.piano-keys .piano-key{position:absolute;top:0;border-radius:0 0 5px 5px;padding:0;cursor:pointer}.piano-keys .white{width:36px;height:150px;background:#fff;color:#555;border:1px solid #fc75c6;display:flex;align-items:flex-end;justify-content:center;padding-bottom:9px;font-size:11px}.piano-keys .black{width:22px;height:94px;background:#15151e;color:#fff;border:1px solid #05050a;z-index:2}.piano-keys .piano-key[aria-pressed=true]{background:#ffd1eb;color:#60304f}.piano-keys .piano-key:hover{background:#ffe5f4;color:#60304f}.piano-keys .piano-key:focus-visible{outline:3px solid #df53a8;outline-offset:-3px}.piano-note{text-align:center;font-size:18px!important;font-weight:700}.piano-error{color:#db5369}.piano-editor{width:min(660px,95vw);padding:18px}.piano-scroll{overflow:visible;padding:5px 4px 0;background:#fc75c6;border-radius:14px 14px 0 0}.piano-keys{height:120px}.piano-keys .white{width:calc(100% / 21);height:116px;border-color:#fc75c6;border-radius:0 0 4px 4px}.piano-keys .black{width:calc(100% / 21 * .6111);height:58px;border-radius:0 0 3px 3px}.piano-editor .piano-note{margin:0 0 16px;padding:7px;background:#fc75c6;color:#fff;border-radius:0 0 14px 14px;font-size:16px!important}.piano-editor .piano-key[aria-pressed=true]{background:#ffd1eb}dialog.piano-editor{position:fixed;margin:0;right:auto;bottom:auto;box-sizing:border-box;z-index:80;overflow:auto}dialog.piano-editor{padding:0;border:0;background:transparent;box-shadow:none;border-radius:14px}dialog.piano-editor .piano-note{margin:0}dialog.piano-editor .piano-keys .white:first-child{border-top-left-radius:9px}dialog.piano-editor .piano-keys .white:last-child{border-top-right-radius:9px}:root .studio .node.icon-card.horizontal-module{width:146px;height:80px;min-height:80px;display:block;background:color-mix(in srgb,var(--ink) 12%,white);border-color:var(--ink);color:var(--ink)}:root .studio .node.icon-card.horizontal-module .icon-face{display:flex;height:80px;padding:12px 19px 6px 12px;gap:7px;justify-content:flex-start;color:var(--ink)}:root .studio .node.icon-card.horizontal-module .icon-face svg{width:29px;height:29px;flex-shrink:0;opacity:1}.horizontal-name{color:#203443;font-size:11px;font-weight:600;line-height:14px;overflow-wrap:anywhere;min-width:0}.module-pin-tab{position:absolute;top:-12px;left:0;background:color-mix(in srgb,var(--ink) 12%,white);border:1px solid var(--ink);border-radius:4px;color:color-mix(in srgb,var(--ink) 65%,#203443);font-size:10px;font-weight:700;padding:2px 5px;pointer-events:none}:root .studio .node.icon-card .module-config-toggle{position:absolute;right:3px;top:28px;padding:0;width:17px;height:20px;border:0;background:transparent;color:var(--ink);font-size:17px;z-index:5}:root[data-theme=dark] .studio .node.icon-card.horizontal-module{background:color-mix(in srgb,var(--ink) 18%,#172733)}[data-theme=dark] .horizontal-name{color:#edf4fa}[data-theme=dark] .module-pin-tab{background:#203443;color:var(--ink)}.module-settings{border-color:var(--settings-color,#c3d8e4)}:root .studio .node.icon-card.horizontal-module{width:210px;height:64px;min-height:64px;border-radius:13px;box-shadow:0 3px 10px #2034430b;background:color-mix(in srgb,var(--ink) 8%,white)}:root .studio .node.icon-card.horizontal-module .icon-face{height:64px;padding:9px 27px 7px 24px;gap:12px;align-items:center}:root .studio .node.icon-card.horizontal-module .icon-face svg{width:36px;height:36px}:root .studio .node.icon-card.horizontal-module .horizontal-name{font-size:15px;font-weight:600;line-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:root .studio .node.icon-card.horizontal-module .module-config-toggle{top:22px;right:9px;width:18px;font-size:19px;height:20px}:root .studio .node.icon-card.horizontal-module .module-pin-tab{top:-17px;left:-1px;font-size:14px;line-height:19px;padding:2px 9px;border-radius:6px}.module-settings.reference-settings{width:240px;padding:13px 15px;border-radius:13px;border-color:color-mix(in srgb,var(--settings-color) 18%,#e9eef4);box-shadow:0 7px 20px #20344312;background:#ffffffef}.reference-settings>h3,.reference-settings>button:nth-child(2){display:none}.module-settings.reference-settings label{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 10px;font-size:13px;line-height:19px;color:#435673}.module-settings.reference-settings label:last-of-type{margin-bottom:0}.module-settings.reference-settings input:not([type=range]),.module-settings.reference-settings select{width:105px;min-width:0;padding:5px 8px;height:33px;background:#fff;border:1px solid #d5dce6;border-radius:6px;color:#243650;box-shadow:inset 0 1px 2px #20344305}.module-settings.reference-settings .slider-setting{display:block}.setting-slider-row{display:flex;align-items:center;gap:10px;margin-top:6px}.module-settings.reference-settings .setting-slider-row input[type=range]{flex:1;min-width:0;padding:0;accent-color:var(--settings-color)}.module-settings.reference-settings .setting-slider-row input[type=number]{width:49px;padding:4px}:root[data-theme=dark] .module-settings.reference-settings{background:#192c39}[data-theme=dark] .module-settings.reference-settings label{color:#d3e4ef}[data-theme=dark] .module-settings.reference-settings input:not([type=range]),[data-theme=dark] .module-settings.reference-settings select{background:#122331;color:#edf5ff;border-color:#3a5467}:root .studio .node.icon-card.horizontal-module .icon-face{position:relative;padding:7px 27px 7px 49px;gap:0}:root .studio .node.icon-card.horizontal-module .icon-face:before{content:"";position:absolute;left:0;top:0;bottom:0;width:40px;background:var(--ink);border-right:1px solid color-mix(in srgb,var(--ink) 70%,#000);border-radius:10px 0 0 10px;pointer-events:none}:root .studio .node.icon-card.horizontal-module .icon-face svg{position:absolute;left:8px;top:50%;transform:translateY(-50%);width:24px;height:24px;color:#fff;z-index:1;pointer-events:none}:root .studio .node.icon-card.horizontal-module .horizontal-name{font-size:14px;line-height:18px}:root .studio .node.icon-card.horizontal-module .icon-face{height:100%;min-height:0;border-radius:11px;box-sizing:border-box}:root .studio .node.icon-card.horizontal-module .icon-face:before{border-radius:11px 0 0 11px}:root .studio .node.icon-card.horizontal-module .module-pin-tab{z-index:3;top:-18px;left:0}:root .studio .node.icon-card.horizontal-module .module-config-toggle{top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;line-height:1;padding:0}:root .studio .node.icon-card.horizontal-module .horizontal-name{flex:1;min-width:0}:root .studio .node.icon-card.horizontal-module .icon-face{padding-right:12px}:root .studio .node.icon-card.horizontal-module.has-quick-controls .icon-face{padding-right:57px}.module-quick-controls{position:absolute;right:0;top:0;bottom:0;width:49px;display:flex;flex-direction:column;justify-content:center;border-left:1px solid var(--ink);z-index:5;border-radius:0 11px 11px 0;overflow:hidden;background:color-mix(in srgb,var(--ink) 10%,transparent)}:root .studio .node.icon-card .module-quick-controls .inline-field{flex:1;margin:0;padding:0 3px;max-width:none;justify-content:center;border-radius:0;background:transparent;color:var(--ink)}:root .studio .node.icon-card .module-quick-controls .inline-field+.inline-field{border-top:1px solid var(--ink)}:root .studio .node.icon-card .module-quick-controls input,:root .studio .node.icon-card .module-quick-controls .state-toggle{background:transparent;color:color-mix(in srgb,var(--ink) 65%,#172532);border:0;text-align:center;width:100%;font-size:13px;padding:0}:root .studio .node.icon-card .module-quick-controls .pin-prefix{color:color-mix(in srgb,var(--ink) 65%,#172532);font-size:13px}[data-theme=dark] .studio .node.icon-card .module-quick-controls input,[data-theme=dark] .studio .node.icon-card .module-quick-controls .state-toggle{color:#fff}#module-help .help-setting{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:center;margin:12px 0;font-size:13px}#module-help .help-setting input,#module-help .help-setting select,#module-help .help-setting textarea{width:100%;padding:8px;border:1px solid #b6cbd8;border-radius:6px}:root .studio .node.icon-card .module-quick-controls .pin-prefix{display:none}:root .studio .node.icon-card .module-quick-controls .field-label{display:none}:root .studio .node.icon-card .module-quick-controls select,:root .studio .node.icon-card .module-quick-controls textarea{width:100%;min-width:0;min-height:0;height:100%;padding:0 2px;border:0;border-radius:0;background:transparent;color:color-mix(in srgb,var(--ink) 65%,#172532);font-size:12px;text-align:center;resize:none}:root .studio .node.icon-card .module-quick-controls .ms input{width:100%;min-width:0}:root .studio .node.icon-card .module-quick-controls .unit{font-size:8px;color:inherit}:root .studio .node.icon-card .module-quick-controls input::-webkit-inner-spin-button{appearance:none}:root[data-theme=dark] .studio .node.icon-card .module-quick-controls select,:root[data-theme=dark] .studio .node.icon-card .module-quick-controls textarea{color:#fff}:root .studio .node.icon-card.horizontal-module,:root[data-theme=dark] .studio .node.icon-card.horizontal-module{--module-outline:color-mix(in srgb,var(--ink) 85%,#203443);background:linear-gradient(115deg,color-mix(in srgb,var(--ink) 88%,white),var(--ink) 60%,color-mix(in srgb,var(--ink) 94%,#203443));color:#fff;border-color:var(--module-outline);--module-divider:rgb(255 255 255 / 22%);box-shadow:inset 0 1px #ffffff40,0 3px 10px color-mix(in srgb,var(--ink) 22%,transparent)}:root .studio .node.icon-card.horizontal-module .icon-face,:root .studio .node.icon-card.horizontal-module .horizontal-name{color:#fff}:root .studio .node.icon-card.horizontal-module .icon-face svg{color:#fff}:root .studio .node.icon-card.horizontal-module .icon-face:before{background:#ffffff1f;border-right-color:var(--module-divider)}:root .studio .node.icon-card.horizontal-module .module-quick-controls{background:#ffffff2e;border-left-color:var(--module-divider)}:root .studio .node.icon-card.horizontal-module .module-quick-controls .inline-field{color:var(--module-outline)}:root .studio .node.icon-card.horizontal-module .module-quick-controls .inline-field+.inline-field{border-top-color:var(--module-divider)}:root .studio .node.icon-card.horizontal-module .module-quick-controls input,:root .studio .node.icon-card.horizontal-module .module-quick-controls select,:root .studio .node.icon-card.horizontal-module .module-quick-controls textarea,:root .studio .node.icon-card.horizontal-module .module-quick-controls .state-toggle,:root .studio .node.icon-card.horizontal-module .module-quick-controls .state-toggle[aria-pressed]{background:color-mix(in srgb,var(--ink) 18%,white);color:#203443;border-radius:5px;box-shadow:inset 0 1px #ffffff60}:root .studio .node.icon-card.horizontal-module .module-quick-controls select option{background:color-mix(in srgb,var(--ink) 18%,white);color:#203443}:root .studio .node.icon-card.horizontal-module .module-quick-controls .cable-badge{color:var(--module-outline)}.else-if-row{position:absolute;left:0;right:0;min-height:34px;display:flex;align-items:center;gap:8px;padding:3px 10px;box-sizing:border-box;background:var(--frame-head-bg,#e2f2ff);color:#188fff;border-top:2px solid #188fff;z-index:4}.else-if-row>button{margin-left:auto;color:inherit;background:transparent;border:1px solid currentColor;border-radius:50%;cursor:pointer}.frame-add-branch{position:absolute;bottom:5px;right:5px;z-index:10;width:25px;height:25px;border-radius:50%;border:2px solid #188fff;color:#188fff;background:#fff;font-size:21px;line-height:19px;padding:0;cursor:pointer}[data-theme=dark] .else-if-row,[data-theme=dark] .frame-add-branch{background:#18354d;color:#70bcff}.card-port .port.audioDevice,.card-port .port.screenDevice{border-radius:3px;outline:1px solid currentColor;outline-offset:2px}:root .studio .if-frame .frame-head{width:100%;box-sizing:border-box;height:22px;min-height:22px;padding:1px 8px;gap:6px}:root .studio .if-frame .frame-head>strong{flex-shrink:0;font-size:10px;line-height:16px;padding:0 4px}:root .studio .if-frame .frame-head input,:root .studio .if-frame .frame-head select{height:18px;min-height:0;padding:0 3px;font-size:10px;box-sizing:border-box}:root .studio .if-frame .frame-head .inline-field{margin-top:0;margin-bottom:0}:root .studio .if-frame .frame-head .compact-condition>span{font-size:10px}:root .studio .if-frame .for-head{height:auto;min-height:22px;row-gap:2px}:root .studio .if-frame .frame-head.else-if-row{border-radius:0;border-top:0;cursor:default;flex-wrap:nowrap}:root .studio .if-frame .else-if-row>.compact-condition{flex:1;min-width:0}:root .studio .if-frame .else-if-row>button{flex:0 0 16px;width:16px;height:16px;min-width:0;min-height:0;margin-left:auto;padding:0;display:flex;align-items:center;justify-content:center;font-size:13px;line-height:1;color:#fff;border:1px solid #fff;background:transparent;border-radius:50%}#world,#wires{overflow:visible}#viewport{overflow-anchor:none}:root .studio .node.icon-card.horizontal-module{transform:scale(.425)}:root .studio #viewport{background-image:url(/app/assets/canvas-landscape-D1QDxC31.png);background-size:cover;background-position:center;background-repeat:no-repeat;background-color:#a3e4fa}:root .studio .node.icon-card.horizontal-module.operator-symbol-only{width:57.6px}:root .studio .node.icon-card.horizontal-module.operator-symbol-only .horizontal-name{display:none}:root .studio .node.icon-card.horizontal-module.operator-symbol-only .icon-face{padding:0}:root .studio .node.icon-card.horizontal-module.operator-symbol-only .icon-face:before{width:100%;border-right:0;border-radius:11px}:root .studio .node.icon-card.horizontal-module.operator-symbol-only .icon-face svg{left:50%;transform:translate(-50%,-50%)}:root .studio .node.icon-card.horizontal-module[data-type=delay]{width:57.6px}:root .studio .node.icon-card.horizontal-module[data-type=delay] .horizontal-name{display:none}:root .studio .node.icon-card.horizontal-module[data-type=delay] .icon-face{height:34px;padding:0}:root .studio .node.icon-card.horizontal-module[data-type=delay] .icon-face:before{width:100%;border-right:0;border-radius:11px 11px 0 0}:root .studio .node.icon-card.horizontal-module[data-type=delay] .icon-face svg{left:50%;transform:translate(-50%,-50%);width:22px;height:22px}:root .studio .node.icon-card.horizontal-module[data-type=delay] .module-quick-controls{inset:34px 0 0;width:100%;border-left:0;border-top:1px solid var(--module-divider,var(--ink));border-radius:0 0 11px 11px}:root .studio .node.icon-card.horizontal-module[data-type=delay] .module-quick-controls input{min-width:0;font-size:12px}:root .studio .node.icon-card.horizontal-module:is([data-type=text],[data-type=number]){width:57.6px}:root .studio .node.icon-card.horizontal-module:is([data-type=text],[data-type=number]) .horizontal-name{display:none}:root .studio .node.icon-card.horizontal-module:is([data-type=text],[data-type=number]) .icon-face{height:34px;padding:0}:root .studio .node.icon-card.horizontal-module:is([data-type=text],[data-type=number]) .icon-face:before{width:100%;border-right:0;border-radius:11px 11px 0 0}:root .studio .node.icon-card.horizontal-module:is([data-type=text],[data-type=number]) .icon-face svg{left:50%;transform:translate(-50%,-50%);width:22px;height:22px}:root .studio .node.icon-card.horizontal-module:is([data-type=text],[data-type=number]) .module-quick-controls{inset:34px 0 0;width:100%;border-left:0;border-top:1px solid var(--module-divider,var(--ink));border-radius:0 0 11px 11px}:root .studio .node.icon-card.horizontal-module:is([data-type=text],[data-type=number]) .module-quick-controls input{min-width:0;font-size:12px}:root .studio .node.icon-card.horizontal-module.has-serial-identifier{height:auto;padding-bottom:5px}:root .studio .node.icon-card.horizontal-module.has-serial-identifier .icon-face{height:38px}.serial-control-identifier{display:block;width:calc(100% - 12px);min-width:0;margin:0 6px;padding:3px 5px;border:1px solid var(--ink);border-radius:5px;background:#fff;color:#203443;font:inherit;font-size:14px;-webkit-user-select:text;user-select:text}.screen-matrix-editor{width:890px;max-width:95vw;max-height:92vh;overflow:auto;background:#f8fbff;color:#17364a;border:2px solid #ff7868;padding:24px;border-radius:22px}.screen-matrix-editor h2{margin:0 0 12px;color:#b8483d}.matrix-workspace{display:flex;gap:24px;align-items:center;flex-wrap:wrap;margin:20px 0}.matrix-tools{display:grid;gap:12px;width:180px}.matrix-tools label{display:grid;gap:5px;font-size:13px}.matrix-tools select{width:100%;min-width:0;padding:7px;border:1px solid #b5cad7;border-radius:8px;background:#fff;color:#17364a}.matrix-tools input[type=color]{width:100%;height:38px;padding:2px;border:1px solid #b5cad7;border-radius:8px}.matrix-swatches{display:grid;grid-template-columns:repeat(6,1fr);gap:5px}.matrix-swatches button{width:25px;height:25px;padding:0;border:1px solid #8499aa;border-radius:50%}.screen-led-grid{display:grid;grid-template-columns:repeat(8,32px);gap:7px;width:max-content;padding:14px;background:#081b2a;border-radius:16px}.screen-led-grid button{width:32px;height:32px;min-height:0;border:2px solid #567084;border-radius:50%;padding:0;box-shadow:none}.screen-led-grid button[aria-pressed=true]{border-color:#fff}.screen-led-grid[data-shape=rounded] button{border-radius:18.18%}.screen-led-grid button:focus-visible{outline:3px solid #ffbc36;outline-offset:1px}.matrix-preview{margin:0;text-align:center;font-size:13px}.matrix-preview svg{display:block;width:180px;height:240px;background:#000;border:2px solid #a6bfce;border-radius:8px;margin-top:10px}.screen-matrix-editor .matrix-caption{font-size:12px;text-align:center;color:#476478}.matrix-actions{display:flex;gap:12px;justify-content:flex-end}.screen-matrix-editor .matrix-actions .primary{width:auto;margin:0}@media(max-width:650px){.matrix-workspace{justify-content:center}.matrix-tools{width:100%}.matrix-swatches{grid-template-columns:repeat(12,25px)}.screen-led-grid{grid-template-columns:repeat(8,28px);gap:5px}.screen-led-grid button{width:28px;height:28px}}dialog.screen-matrix-editor{width:780px;padding:22px;box-sizing:border-box}.screen-matrix-editor .matrix-hint{font-size:12px;margin:0;color:#476478}.screen-matrix-editor .matrix-workspace{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:26px;align-items:start;margin:16px 0}.matrix-main{min-width:0}.matrix-toolbar{display:flex;align-items:end;gap:8px;margin-bottom:10px;flex-wrap:wrap}.matrix-toolbar label{display:grid;gap:3px;text-align:center;font-size:12px}.matrix-toolbar input[type=color]{width:42px;height:36px;padding:2px;border:1px solid #b5cad7;border-radius:6px;background:#fff}.matrix-shapes{display:flex;gap:4px}.matrix-shapes button{width:34px;height:36px;padding:0;font-size:30px;line-height:1;border:1px solid transparent;border-radius:6px;background:transparent;color:#17364a}.matrix-shapes button[aria-pressed=true]{border-color:#087ca4;background:#dff5ff}.screen-matrix-editor .matrix-swatches{grid-template-columns:repeat(6,22px);gap:5px}.screen-matrix-editor .matrix-swatches button{width:22px;height:22px}.screen-matrix-editor .screen-led-grid{width:100%;box-sizing:border-box;grid-template-columns:repeat(8,minmax(0,1fr));gap:7px;padding:14px}.screen-matrix-editor .screen-led-grid button{width:100%;height:auto;aspect-ratio:1;border-width:1px}.matrix-bulk,.screen-matrix-editor .matrix-actions{display:flex;gap:8px;margin-top:10px;flex-wrap:nowrap}.matrix-bulk button,.screen-matrix-editor .matrix-actions button{flex:1;min-width:0;min-height:38px;margin:0;padding:7px}.screen-matrix-editor .matrix-tools{width:auto;gap:14px}.screen-matrix-editor .matrix-count{font-size:12px;color:#476478;margin:8px 0}.screen-matrix-editor .matrix-preview svg{width:100%;height:auto;box-sizing:border-box;margin-top:10px}.screen-matrix-editor .matrix-caption{font-size:11px;margin:0}.screen-matrix-editor .matrix-cancel{background:#c62828;color:#fff;border-color:#c62828}.screen-matrix-editor button:focus-visible,.screen-matrix-editor input:focus-visible,.screen-matrix-editor select:focus-visible{outline:2px solid #087ca4;outline-offset:2px}.matrix-blink>*{animation:matrix-blink var(--blink-period,2s) steps(1,end) infinite}@keyframes matrix-blink{0%,to{opacity:1}50%{opacity:0}}@media(prefers-reduced-motion:reduce){.matrix-blink>*{animation:none}}@media(max-width:620px){.screen-matrix-editor .matrix-workspace{grid-template-columns:1fr}.screen-matrix-editor .matrix-tools{width:100%}.screen-matrix-editor .matrix-preview{max-width:220px;margin:auto}}dialog.screen-matrix-editor{scrollbar-width:none}dialog.screen-matrix-editor::-webkit-scrollbar{display:none}.screen-led-grid[data-shape=square] button{border-radius:0}.rgb-editor{width:450px;max-width:calc(100vw - 24px);padding:20px;border:2px solid #7659ff;background:#faf6ff;color:#253449}.rgb-editor h2{margin:0 0 20px}.rgb-layout{display:flex;align-items:center;gap:20px}.rgb-wheel{position:relative;display:block;flex:0 0 110px;height:110px;border-radius:50%;background:conic-gradient(red,#ff0,#0f0,#0ff,#00f,#f0f,red);border:3px solid white;box-shadow:0 0 0 1px #d4c6f4;cursor:pointer}.rgb-wheel:after{content:"";position:absolute;inset:20px;background:var(--chosen);border:3px solid white;border-radius:50%;pointer-events:none}.rgb-wheel input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.rgb-controls{flex:1;min-width:0;display:grid;gap:10px}.rgb-row{display:flex;align-items:center;gap:8px;font-size:12px}.rgb-row span{width:38px;flex-shrink:0}.rgb-row input[type=range]{flex:1;min-width:0;width:70px}.rgb-row input[type=number]{width:52px;padding:4px;border:1px solid #d4c6f4;border-radius:5px;background:#fff;color:#253449}.rgb-row:first-child input{flex:1}.rgb-actions{display:flex;justify-content:flex-end;gap:8px}.rgb-editor .rgb-actions button{width:auto;margin:0}.rgb-editor p{font-size:12px;color:inherit;opacity:.8}[data-theme=dark] .rgb-editor{background:#232436;color:#f2efff}[data-theme=dark] .rgb-row input[type=number]{background:#142632;color:#fff;border-color:#615b87}@media(max-width:400px){.rgb-layout{flex-direction:column}.rgb-controls{width:100%}.rgb-wheel{width:110px}}:root .studio .canvas-panel.charts-active #toggle-code,:root .studio .canvas-panel.charts-active #code-panel,:root .studio .chart-dashboard>.dashboard-title,:root .studio .chart-dashboard>p{display:none}:root .studio .canvas-panel .floating-history{left:auto;right:130px;top:12px;width:max-content}:root .studio .canvas-panel .floating-history .floating-zoom{position:static;margin-left:5px;border:0;border-left:1px solid #c5dfef;border-radius:0;box-shadow:none;background:transparent;padding:0 4px 0 8px}:root .studio .canvas-panel .floating-zoom{inset:12px 130px auto auto;padding:3px 5px}:root .studio #help{display:none}@media(max-width:1100px){:root .studio .canvas-panel .floating-history{left:auto;right:18px;top:58px}}dialog button[hidden],[role=dialog] button[hidden],#serial-dialog button[hidden],#code-panel button[hidden]{display:none!important}#serial-dialog{position:relative}#serial-dialog .serial-tools{margin-right:36px}#serial-dialog #serial-close{position:absolute;right:10px;top:8px;z-index:5;width:32px;height:32px;padding:0;border:0;border-radius:10px;background:transparent;color:inherit;font-size:26px;line-height:1}#serial-dialog #serial-close:hover{background:#8bbce033}.has-popup-close>h2,.has-popup-close .examples-heading,.has-popup-close .module-help-heading,.has-popup-close .serial-heading{padding-right:38px}.has-popup-close>.popup-close{position:absolute;right:10px;top:10px;z-index:5;display:grid;place-items:center;width:32px;height:32px;min-height:32px;padding:0;border:0;border-radius:10px;background:transparent;color:inherit;font-size:25px;line-height:1}.has-popup-close>.popup-close:hover{background:#8bbce033}#esp32-dialog #esp32-close{position:absolute;right:12px;top:12px;width:34px;height:34px;padding:0;border:0;border-radius:10px;background:transparent;color:inherit;font-size:26px;line-height:1}#esp32-dialog #esp32-close:hover{background:#8bbce033}#esp32-dialog #esp32-title{padding-right:30px}:root .studio .canvas-panel{--mascot-space:180px}:root .library-mascot{position:absolute;right:24px;bottom:18px;width:var(--library-width);height:var(--mascot-space);z-index:48;display:flex;align-items:center;justify-content:center;pointer-events:none}:root .library-mascot img{display:block;width:auto;height:100%;max-width:100%;object-fit:contain}:root button.library-mascot{padding:0;border:0;border-radius:16px;background:transparent;box-shadow:none;min-height:0;pointer-events:auto;cursor:pointer}:root button.library-mascot:hover{background:transparent;box-shadow:none}:root button.library-mascot:focus-visible{outline:2px solid #168cc4;outline-offset:2px}:root .studio.serial-open .library-mascot{height:min(var(--mascot-space),calc(100% - 30px));max-height:calc(100% - 30px);bottom:18px}@media(max-height:650px){:root .studio .canvas-panel{--mascot-space:130px}}:root .studio #viewport,:root .studio .chart-dashboard{background-repeat:repeat}:root .studio #modules-panel .search{display:none}:root .studio #modules-panel{overflow:hidden}:root .studio #modules-panel #palette{flex:1;min-height:0;overflow-y:auto}:root .studio #modules-panel .library-foot{flex:0 0 120px;margin:0;padding:0;visibility:hidden}:root .app-footer,:root .app-header .board-badge,:root .app-header #saved{visibility:hidden}:root .studio #viewport{overflow:scroll;scrollbar-gutter:stable}:root .studio #viewport:focus{outline:none}:root .studio #viewport:focus-visible{outline:2px solid #8bbce0;outline-offset:-2px}:root .studio :is(#viewport,#modules-panel,.chart-dashboard,.code-body){--scroll-track:#edf7ff;--scroll-thumb:#8bbce0;--scroll-hover:#569dd2;scrollbar-color:var(--scroll-thumb) var(--scroll-track);scrollbar-width:auto}:root .studio :is(#viewport,#modules-panel,.chart-dashboard,.code-body)::-webkit-scrollbar{width:12px;height:12px}:root .studio :is(#viewport,#modules-panel,.chart-dashboard,.code-body)::-webkit-scrollbar-track{background:var(--scroll-track);border-radius:12px}:root .studio :is(#viewport,#modules-panel,.chart-dashboard,.code-body)::-webkit-scrollbar-thumb{background:var(--scroll-thumb);border:3px solid var(--scroll-track);border-radius:12px;min-height:32px;min-width:32px}:root .studio :is(#viewport,#modules-panel,.chart-dashboard,.code-body)::-webkit-scrollbar-thumb:hover{background:var(--scroll-hover)}:root .studio #viewport::-webkit-scrollbar-corner{background:var(--scroll-track)}:root .studio :is(#viewport,#modules-panel,.chart-dashboard,.code-body){scrollbar-color:auto}:root .studio :is(#viewport,#modules-panel,.chart-dashboard,.code-body)::-webkit-scrollbar-button{display:none;width:0;height:0}:root[data-theme=dark] .studio :is(#viewport,#modules-panel,.chart-dashboard,.code-body){--scroll-track:#20384e;--scroll-thumb:#6597be;--scroll-hover:#8dbde0}:root body{background:#b9eaff url(/app/assets/canvas-landscape-D1QDxC31.png) center/cover fixed no-repeat}:root .app-header{background:transparent;border:0;box-shadow:none;padding:12px 22px;gap:14px;height:auto;min-height:100px}:root .app-header .brand{background:#ffffffed;border:2px solid #fff;border-radius:28px;padding:8px 18px;box-shadow:0 5px 15px #4da6d620;flex-direction:column;gap:0;align-items:center}:root .app-header .brand-logo{width:235px;height:auto;max-height:68px;object-fit:contain}:root .brand-tagline{border:0;padding:0;font-size:10px;line-height:16px;color:#173971;letter-spacing:1.5px}:root .board-badge{background:#fff;border:2px solid #e0f4ff;border-radius:22px;color:#153a73;padding:14px;white-space:nowrap}:root .project-actions{gap:7px;flex-wrap:wrap;justify-content:flex-end}:root .project-actions button{background:#ffffffed;color:#087eea;border:2px solid #e0f3ff;border-radius:18px;box-shadow:0 4px #8ccbec35;padding:10px;min-height:43px}:root .project-actions .banner-icon{width:45px;height:45px}:root .project-actions button:hover{background:#e6f7ff;border-color:#9cddff}:root #saved{color:#173971;background:#ffffffbd;border-radius:12px;padding:5px 8px}:root .studio{margin:8px 20px 0;height:calc(100dvh - 140px);min-height:360px}:root .studio .canvas-panel{background:transparent;border:0;border-radius:28px;box-shadow:none;overflow:hidden}:root .studio #viewport,:root .studio .chart-dashboard{background-color:#fcfeff;background-image:radial-gradient(#c8e5ff 1px,transparent 1px);background-size:20px 20px;background-position:0 0;border:2px solid #d5efff;border-radius:28px}:root .studio :is(#viewport,.chart-dashboard){background-size:40px 40px}:root .studio .canvas-decoration{display:none}:root .studio #modules-panel{background:#fffe;border:2px solid #e0f3ff;border-radius:26px;width:226px;left:0;top:60px;bottom:12px;padding:12px;box-shadow:0 5px 20px #429bc618;color:#173971}:root .studio #modules-panel .library-heading,:root .studio #modules-panel>p{color:#173971}:root .studio #modules-panel .search{border-radius:14px;background:#f0f9ff;border-color:#c5e7ff;color:#173971}:root .studio #modules-panel .search input{color:#173971}:root .studio #palette .palette-group{border:0;background:transparent;margin:0 0 8px;border-radius:22px;overflow:hidden}:root .studio #palette .palette-group summary{background:linear-gradient(120deg,color-mix(in srgb,var(--category-color) 80%,white),var(--category-color));border:0;border-radius:24px;min-height:52px;padding:8px 12px;gap:10px;color:#143250;font-weight:700;font-size:14px;box-shadow:inset 0 2px #ffffff50}:root .studio #palette .palette-group .category-icon{color:#fff;width:27px;height:27px}:root .studio #palette .palette-group[open]{background:#edf7ff}:root .studio #palette .palette-module{background:#fff;border:1px solid #dcefff;border-radius:12px;margin:5px 0;color:#203443}:root .studio #palette .palette-module:hover{background:color-mix(in srgb,var(--category-color) 16%,white)}:root .floating-history,:root .floating-zoom,:root .panel-toggle{background:#ffffffed;color:#154b92;border:2px solid #e1f2ff;border-radius:18px;box-shadow:0 4px 12px #86bddd22}:root .floating-history button,:root .floating-zoom button{color:#154b92;border-radius:12px;background:transparent}:root .floating-history button:hover,:root .floating-zoom button:hover{background:#e4f5ff}:root .panel-toggle[aria-expanded=true]{background:#dff2ff;color:#087eea}:root .app-footer{color:#173971;padding:7px 24px}@media(min-width:850px){.canvas-panel:has(#modules-panel:not([hidden])) #viewport{left:240px}}:root[data-theme=dark] body{background-image:linear-gradient(#101c4266,#101c4266),url(/app/assets/canvas-landscape-D1QDxC31.png)}:root[data-theme=dark] .studio #viewport,:root[data-theme=dark] .studio .chart-dashboard{background-color:#172b40;background-image:radial-gradient(#375974 1px,transparent 1px);border-color:#476a89}@media(max-width:849px){:root .app-header{padding:8px 12px;min-height:90px;flex-wrap:wrap}:root .app-header .brand{padding:5px 12px}:root .app-header .brand-logo{width:175px}:root .studio{margin:6px 8px;height:calc(100dvh - 170px)}:root .project-actions{gap:4px}:root .project-actions .banner-icon{width:36px;height:36px;min-height:36px;padding:6px}}:root .studio #modules-panel .library-heading,:root .studio #modules-panel>p{display:none}:root .app-header{height:60px;min-height:60px;padding:4px 16px;flex-wrap:nowrap;gap:10px}:root .app-header .brand{padding:0;border:0;background:transparent;box-shadow:none;border-radius:0;gap:14px;flex-shrink:0;flex-direction:row}:root .brand-mascot{display:block;width:52px;height:52px;object-fit:contain;flex-shrink:0}:root .brand-copy{display:flex;flex-direction:column;align-items:center}:root .brand-wordmark{font-size:38px;font-weight:900;letter-spacing:-1.8px;line-height:42px;color:#061d2b}:root .brand-wordmark>span{color:#00b9ec}:root .brand-original-wordmark{position:relative;display:block;width:192px;height:42px;overflow:hidden;flex-shrink:0}:root .brand-original-wordmark img{position:absolute;width:310px;height:auto;max-width:none;left:-115px;top:-44px}:root .app-header .brand-logo{width:auto;height:48px;object-fit:contain}:root .app-header .brand-tagline{font-size:10px;line-height:30px;letter-spacing:1.7px;padding-left:14px;border-left:1px solid #adc6d7;color:#52758e}:root .board-badge{padding:6px 10px;border-radius:14px;font-size:10px}:root .project-actions{flex-wrap:nowrap;min-width:0;overflow-x:auto;justify-content:flex-start;gap:5px;margin-left:auto}:root .project-actions button{min-height:44px;padding:8px 12px;border-radius:14px;flex-shrink:0;font-size:12px}:root .project-actions .banner-icon{width:44px;height:44px;min-height:44px;padding:8px}:root .project-actions .banner-icon svg{width:26px;height:26px}:root .studio{height:calc(100dvh - 94px);margin:6px 16px 0;min-height:260px}:root .studio .canvas-panel{--library-width:226px;--library-gap:14px}:root .studio #toggle-modules{display:none}:root .studio #modules-panel,:root .studio #modules-panel[hidden]{display:flex;top:0;bottom:0;left:0;width:var(--library-width);height:auto;max-width:none}:root .studio #viewport{left:calc(var(--library-width) + var(--library-gap));right:0;width:auto}:root .studio .floating-history{transform:none}:root .studio #code-panel{max-width:calc(100% - var(--library-width) - var(--library-gap) - 30px)}:root .studio .workspace-tabs{left:calc(var(--library-width) + var(--library-gap) + 12px);top:12px}:root .studio .floating-history{left:auto;right:130px;width:max-content;top:12px}:root .studio .floating-history .floating-zoom{position:static;box-shadow:none;border:0;border-left:1px solid #c5dfef;border-radius:0;background:transparent;padding:0 4px 0 8px;margin-left:5px;flex-shrink:0}:root .studio .floating-history .floating-zoom button{font-size:14px}:root .studio .floating-history #fit{width:auto;padding:0 7px;font-size:11px}:root .studio .floating-history{max-width:calc(100% - var(--library-width) - var(--library-gap) - 30px);overflow-x:auto;align-items:center}:root .studio .floating-history>button{flex-shrink:0}@media(max-width:1100px){:root .studio .floating-history{top:58px;right:18px}}:root .studio .chart-dashboard{inset:0 0 0 calc(var(--library-width) + var(--library-gap));padding:72px 26px 26px;overflow:scroll;scrollbar-gutter:stable;z-index:49}@media(max-width:850px){:root .studio .floating-history{left:auto;right:18px;top:58px}}@media(max-width:700px){:root .studio .canvas-panel{--library-width:155px;--library-gap:8px}:root .studio{margin:6px 6px 0}:root .studio #modules-panel{padding:7px}:root .studio #palette .palette-group summary{padding:6px 8px;font-size:11px;gap:6px}:root .studio .floating-history{top:58px}:root .app-header{padding:4px 8px}:root .app-header .brand-logo{width:110px}:root .brand-tagline{font-size:6px}:root #saved{display:none}}@media(max-width:850px){:root .studio .chart-dashboard{padding-top:108px}}:root #esp32-dialog{width:min(660px,94vw);max-width:660px;padding:0;border:3px solid #a9eaff;border-radius:30px;background:#f9fdff;color:#203b51;box-shadow:0 20px 70px #073a6260;max-height:92dvh;overflow:auto}#esp32-dialog .upload-heading{position:relative;display:flex;gap:14px;align-items:flex-start;padding:20px 56px 20px 22px;background:linear-gradient(115deg,#10b9ee,#40d2f8);border-radius:26px 26px 45% 0}#esp32-dialog .upload-chip{display:grid;place-items:center;flex:0 0 72px;height:72px;background:transparent;transform:none;box-shadow:none}#esp32-dialog .upload-chip img{display:block;width:72px;height:72px;object-fit:contain}#esp32-dialog #esp32-title{color:#fff;font-size:27px;line-height:1.1;margin:0 0 12px;padding:0;font-weight:900;text-shadow:0 2px 0 #087bab}#esp32-dialog .upload-heading p{color:#075a85;margin:0;font-size:12px;line-height:1.4}:root #esp32-dialog #esp32-close{top:16px;right:16px;width:38px;height:38px;background:#fff;color:#00a7e0;border-radius:50%;box-shadow:0 3px #039ac640}#esp32-dialog .upload-body{padding:18px 24px 20px}#esp32-dialog .upload-configuration{display:grid;grid-template-columns:1fr 42%;gap:16px;min-height:140px}#esp32-dialog .upload-board{background:#fff;padding:14px;border:1px solid #edf6fb;border-radius:18px;align-self:start}#esp32-dialog .upload-character-space{display:flex;align-items:center;justify-content:center;min-width:0}#esp32-dialog #upload-mascot{display:block;width:180px;height:180px;max-width:100%;object-fit:contain}#esp32-dialog label{font-weight:700;gap:8px}#esp32-dialog #esp32-board{width:100%;min-width:0;border:2px solid #e1eef7;border-radius:12px;font-size:12px;color:#203b51;background:#fff;box-shadow:0 3px 5px #2373a510}#esp32-dialog .esp32-actions{margin:10px 0 0;gap:8px}#esp32-dialog .esp32-actions button{border-radius:10px;min-height:34px}#esp32-dialog #esp32-upload{width:auto;margin:0;background:#08b5e8;border-color:#08b5e8;color:#fff}#esp32-dialog #esp32-status{font-weight:700;color:inherit;margin:12px 0 8px;line-height:1.4}#esp32-dialog .upload-progress-row{display:flex;align-items:center;gap:16px}#esp32-dialog #esp32-progress{appearance:none;flex:1;min-width:0;height:20px;border:0;border-radius:20px;overflow:hidden;background:#d9eaf4;accent-color:#00b9e9}#esp32-progress::-webkit-progress-bar{background:#d9eaf4;border-radius:20px}#esp32-progress::-webkit-progress-value{background:linear-gradient(#41d9f9,#00a5dc);border-radius:20px}#esp32-progress::-moz-progress-bar{background:#00b9e9;border-radius:20px}#esp32-dialog #esp32-percent{font-size:25px;color:#008bc4;min-width:60px;text-align:right}#esp32-dialog .upload-stages{display:flex;gap:16px;padding:0;margin:18px 0;list-style:none}#esp32-dialog .upload-stages li{flex:1;display:flex;flex-direction:column;align-items:center;padding:10px 4px;margin:0;border-radius:20px;background:#eef1f3;color:#929da5;line-height:1.3;font-size:13px}#esp32-dialog .upload-stages span{font-size:27px;font-weight:900}#esp32-dialog .upload-stages small{font-size:10px;margin-top:3px}#esp32-dialog .upload-stages .active{background:#d3f3ff;color:#0089bc}#esp32-dialog .upload-stages .done{background:#e1f6e7;color:#1b9c4a}#esp32-dialog .upload-stages .error{background:#ffe3e3;color:#b53333}#esp32-dialog .upload-details{background:#e7f3fa;border-radius:18px;padding:10px}#esp32-dialog summary{font-weight:700;padding:0 4px 8px}#esp32-dialog #esp32-log{background:#182e44;color:#bae6ff;border-radius:12px;padding:12px;margin:0;min-height:90px;max-height:150px;font-size:11px}@media(max-width:480px){#esp32-dialog .upload-body{padding:12px}#esp32-dialog .upload-configuration{grid-template-columns:1fr 25%;gap:6px}#esp32-dialog #esp32-title{font-size:21px}#esp32-dialog .upload-stages{gap:6px}}#esp32-dialog #esp32-compile.is-cancel,#esp32-dialog #esp32-upload.is-cancel{background:#c62828;border-color:#c62828;color:#fff}#esp32-dialog #esp32-compile.is-cancel:hover,#esp32-dialog #esp32-upload.is-cancel:hover{background:#a61f1f;border-color:#a61f1f}#esp32-dialog .esp32-actions button:focus-visible{outline:3px solid #164e87;outline-offset:3px}#esp32-dialog .esp32-actions{display:flex;flex-wrap:nowrap;gap:8px;width:100%}#esp32-dialog .esp32-actions>button{flex:1 1 0;min-width:0;min-height:42px;margin:0;padding:8px 6px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;text-align:center;font-size:12px;line-height:1.2;white-space:nowrap}#esp32-dialog #esp32-upload{width:auto;margin:0}#esp32-progress::-webkit-progress-value{transition:width .4s ease}@media(prefers-reduced-motion:reduce){#esp32-progress::-webkit-progress-value{transition:none}}#esp32-dialog #esp32-progress{--progress-stripes:linear-gradient(45deg,rgba(255,255,255,.3) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.3) 50%,rgba(255,255,255,.3) 75%,transparent 75%,transparent);height:20px;border-radius:10px}#esp32-progress::-webkit-progress-value{background-color:#00b9e9;background-image:var(--progress-stripes);background-size:28px 28px;border-radius:10px}#esp32-progress::-moz-progress-bar{background-color:#00b9e9;background-image:var(--progress-stripes);background-size:28px 28px;border-radius:10px}#esp32-dialog[data-upload-phase=compile] #esp32-progress::-webkit-progress-value,#esp32-dialog[data-upload-phase=upload] #esp32-progress::-webkit-progress-value{animation:upload-progress-stripes .8s linear infinite}#esp32-dialog[data-upload-phase=compile] #esp32-progress::-moz-progress-bar,#esp32-dialog[data-upload-phase=upload] #esp32-progress::-moz-progress-bar{animation:upload-progress-stripes .8s linear infinite}@keyframes upload-progress-stripes{0%{background-position:28px 0}to{background-position:0 0}}@media(prefers-reduced-motion:reduce){#esp32-dialog #esp32-progress::-webkit-progress-value{animation:none}#esp32-dialog #esp32-progress::-moz-progress-bar{animation:none}}:root .studio{--serial-library-width:226px;--serial-library-gap:14px;--serial-height:max(290px,43%)}:root .studio.serial-open{display:block;position:relative}:root .studio.serial-open .canvas-panel{height:100%}:root .studio.serial-open #serial-dialog{position:absolute;left:auto;right:0;bottom:0;width:calc((100% - var(--serial-library-width) - var(--serial-library-gap))/4);height:var(--serial-height);z-index:51;box-sizing:border-box;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto minmax(60px,1fr) auto auto;overflow:auto}:root #serial-dialog .serial-heading{grid-column:1;grid-row:1;padding-right:25px;flex-wrap:nowrap;gap:8px;min-width:0;overflow-x:auto}:root #serial-dialog .serial-heading #serial-title{font-size:14px;white-space:nowrap;flex-shrink:0;gap:6px}:root #serial-dialog .serial-heading .serial-tools{display:flex;flex-wrap:nowrap;gap:5px;flex-shrink:0;margin:0}:root #serial-dialog .serial-heading .serial-tools button{padding:6px 8px;font-size:11px;min-height:30px}:root #serial-dialog .serial-tools{grid-column:1;grid-row:2;justify-content:flex-start;margin:0;flex-wrap:wrap}:root #serial-dialog #serial-status{grid-column:1;grid-row:2}:root #serial-dialog #serial-status:empty{display:none}:root #serial-dialog #serial-output{grid-column:1;grid-row:3;min-height:0}:root #serial-dialog #serial-form{grid-column:1;grid-row:4;flex-wrap:nowrap;gap:6px}:root .studio.serial-open section#serial-dialog{grid-template-rows:auto auto minmax(60px,1fr) auto;gap:5px;padding:8px 10px}:root #serial-dialog #serial-input{flex:1 1 0;width:0;min-width:0;padding:10px 8px}:root #serial-dialog #serial-send{flex:0 0 auto;min-width:0;padding:8px 10px;font-size:12px}:root #serial-dialog .serial-follow{grid-column:1;grid-row:6}:root #serial-dialog .serial-hint{display:none}:root .studio.serial-open #viewport{height:calc(100% - var(--serial-height) - 8px);bottom:auto}:root .studio.serial-open .chart-dashboard{bottom:calc(var(--serial-height) + 8px)}:root .studio.serial-open .library-mascot{bottom:calc(var(--serial-height) + 18px);height:min(var(--mascot-space),max(60px,calc(100% - var(--serial-height) - 30px)));max-height:none}@media(max-width:700px){:root .studio{--serial-library-width:155px;--serial-library-gap:8px}}@media(max-width:750px){:root .studio{--serial-height:max(320px,48%)}}:root #serial-dialog{border:3px solid #a5e8ff;border-top:8px solid #50d1f5;border-radius:26px;padding:12px 16px;background:linear-gradient(120deg,#e7f4ff,#f5fbff);color:#203b51;box-shadow:0 4px 18px #028ac521;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto minmax(70px,1fr) auto auto;gap:8px 14px}:root #serial-dialog[hidden]{display:none}#serial-dialog .serial-heading{grid-column:1;grid-row:1;padding:0;align-self:center}#serial-dialog #serial-title{font-size:21px;font-weight:800;display:flex;align-items:center;gap:10px}#serial-title>span{background:#00b8ed;color:#fff;border-radius:8px;font:700 22px monospace;padding:2px 7px}#serial-dialog .serial-tools{grid-column:2;grid-row:1;margin-right:40px;justify-content:flex-end;gap:8px}#serial-dialog .serial-tools label{font-weight:700;color:#2685b2}#serial-dialog button,#serial-dialog select{border-radius:14px;padding:8px 12px;font-size:12px;border:1px solid #d3eafd;background:#fff;color:#203b51}#serial-dialog #serial-connect{background:#159b53;color:#fff;border-color:#159b53;min-height:36px}#serial-dialog #serial-connect.is-connected{background:#e83f4f;border-color:#e83f4f}#serial-dialog #serial-close{background:#fff;color:#039fd7;right:10px;top:10px;border-radius:50%;font-size:26px;padding:0}#serial-dialog #serial-status{grid-column:1/-1;grid-row:2;color:#427693;font-size:11px;margin:0}#serial-dialog #serial-output{grid-column:1/-1;grid-row:3;background:linear-gradient(110deg,#112c43,#0c1c30);color:#d6ebfa;border:1px solid #21435d;border-radius:18px;padding:14px 16px;font:13px/1.7 Consolas,monospace;scrollbar-color:#03b8ec #153c58}#serial-dialog #serial-form{grid-column:1/-1;grid-row:4;display:flex;gap:10px;min-width:0}#serial-dialog #serial-input{min-width:0;border:2px solid #e0efff;border-radius:17px;padding:12px 14px;background:#fff;color:#203b51;font-size:13px;box-shadow:0 2px 5px #0782af10}#serial-dialog #serial-send{background:#00b9ee;border-color:#00b9ee;color:#fff;font-size:14px;font-weight:700;min-width:105px;border-radius:17px}#serial-dialog .serial-follow{grid-column:1;grid-row:5;color:#557a94;font-size:10px}#serial-dialog .serial-hint{grid-column:2;grid-row:5;color:#557a94;font-size:10px}@media(max-width:750px){:root .studio.serial-open{grid-template-rows:minmax(140px,1fr) minmax(320px,48%)}#serial-dialog .serial-heading{grid-column:1/-1}#serial-dialog .serial-tools{grid-column:1/-1;grid-row:2;justify-content:flex-start;margin:0}#serial-dialog #serial-status{grid-row:3}#serial-dialog #serial-output{grid-row:4}#serial-dialog #serial-form{grid-row:5;flex-wrap:wrap}#serial-dialog .serial-follow{grid-row:6}#serial-dialog .serial-hint{display:none}:root #serial-dialog{grid-template-rows:auto auto auto minmax(60px,1fr) auto auto}#serial-dialog #serial-input{flex-basis:100%}}:root .studio.serial-open .canvas-panel #viewport{height:100%;bottom:0}:root .studio.serial-open .canvas-panel .chart-dashboard{bottom:0}:root .studio.serial-open .canvas-panel .library-mascot{bottom:18px;height:var(--mascot-space);max-height:calc(100% - 30px)}:root .studio.serial-open .canvas-panel #serial-dialog{right:auto;bottom:auto;max-width:none;max-height:none;box-shadow:0 12px 32px #173d6540}#serial-dialog .serial-heading{cursor:grab;-webkit-user-select:none;user-select:none}#serial-dialog .serial-heading:active{cursor:grabbing}html:root body{min-width:0;overflow-x:hidden}html:root .studio{height:var(--available-height,calc(100dvh / var(--interface-scale) - 94px));min-height:0}:root .app-header .board-badge,:root .app-header #saved{display:none}:root .app-header .project-actions{min-width:0}:root .app-footer{display:flex;visibility:hidden;height:28px;box-sizing:border-box}:root dialog{max-width:calc(100vw / var(--interface-scale) - 24px);max-height:calc(100dvh / var(--interface-scale) - 24px);box-sizing:border-box}@media(max-width:1100px){:root .app-header{height:auto;min-height:60px;flex-wrap:wrap;gap:8px;padding:8px 12px}:root .app-header .project-actions{flex:1 1 100%;margin:0;padding-bottom:5px;overflow-x:auto}:root .app-header .project-actions button{min-height:44px}:root .studio .canvas-panel{--library-width:190px;--library-gap:10px}:root .studio #code-panel{top:108px;bottom:12px}:root .studio .canvas-panel .floating-history{top:58px;right:12px}:root .studio .chart-dashboard{padding:108px 14px 14px}:root .studio .canvas-panel{--mascot-space:130px}}@media(max-width:700px){:root .app-header .brand{gap:8px}:root .app-header .brand-tagline{display:none}:root .studio{margin:4px 6px 0}:root .studio .canvas-panel{--library-width:138px;--library-gap:6px;--mascot-space:95px}:root .studio #modules-panel{padding:5px;border-radius:16px}:root .studio #palette .palette-group summary{min-height:44px;font-size:12px;padding:6px;gap:5px;overflow-wrap:anywhere}:root .studio #palette .category-icon{width:21px;height:21px;flex-shrink:0}:root .studio #modules-panel .library-foot{display:none}:root .studio #palette .palette-module{min-width:0;max-width:100%;overflow-wrap:anywhere}:root .studio .workspace-tabs{left:calc(var(--library-width) + var(--library-gap) + 6px);gap:3px}:root .studio .workspace-tabs button{padding:0 7px}:root .studio :is(#toggle-code,#chart-background){right:8px;padding:0 7px}:root .studio .canvas-panel .floating-history{left:calc(var(--library-width) + var(--library-gap) + 6px);right:6px;width:auto;max-width:none;top:58px}:root .studio #code-panel{right:6px;max-width:calc(100% - var(--library-width) - var(--library-gap) - 12px)}:root .studio .library-mascot{right:12px;bottom:12px;width:95px}:root .studio .chart-dashboard{padding:64px 8px 8px}:root #serial-dialog #serial-form{flex-wrap:nowrap;gap:5px}:root #serial-dialog #serial-input{flex:1;min-width:0;width:0;padding:8px}:root #serial-dialog #serial-send{min-width:60px;padding:8px}}@media(max-width:420px){:root .studio .canvas-panel{--library-width:112px}:root .studio #palette .palette-group summary{font-size:11px}:root .studio #palette .category-icon{width:17px;height:17px}:root .studio .workspace-tabs button{font-size:11px;padding:0 5px}:root .studio :is(#toggle-code,#chart-background){font-size:11px}}@media(max-height:500px){:root .studio .canvas-panel{--mascot-space:65px}:root .app-header .brand-mascot{width:38px;height:38px}}dialog.servo-angle-editor{width:360px;padding:22px;border:3px solid #05c879;border-radius:24px;background:#f3fff9;color:#153e4c}.servo-angle-editor h2{margin:0 0 12px;color:#009b59;font-size:22px}.servo-angle-editor svg{display:block;width:100%;max-height:260px}.servo-angle-editor svg text{font:12px sans-serif;fill:#52758e}.servo-angle-editor output{display:block;text-align:center;font-size:36px;font-weight:800;color:#009b59}.servo-angle-editor label{display:flex;flex-direction:column;gap:8px;font-weight:700}.servo-angle-editor input{width:100%;accent-color:#05c879;min-height:36px;cursor:pointer}.servo-angle-editor p{font-size:12px;color:#52758e}.servo-angle-actions{display:flex;gap:10px;margin-top:16px}.servo-angle-actions button{flex:1;min-height:42px;border-radius:12px}.servo-angle-actions .servo-angle-cancel{background:#e83f4f;color:#fff;border-color:#e83f4f}.servo-angle-adjust,.servo-angle-presets{display:grid;gap:8px;margin-top:12px}.servo-angle-adjust{grid-template-columns:repeat(3,minmax(0,1fr))}.servo-angle-presets{grid-template-columns:repeat(5,minmax(0,1fr))}.servo-angle-adjust button,.servo-angle-presets button{min-width:0;min-height:40px;padding:6px 2px;border:2px solid #a6dfca;border-radius:12px;background:#fff;color:#087b50;font-family:inherit;font-size:14px;font-weight:800;box-shadow:0 3px #a6dfca;cursor:pointer;transition:background .15s,transform .15s,box-shadow .15s}.servo-angle-adjust .servo-angle-center,.servo-angle-presets button[aria-pressed=true]{background:#05c879;border-color:#00a461;color:#fff;box-shadow:0 3px #00894f}.servo-angle-adjust button:hover:not(:disabled),.servo-angle-presets button:hover{filter:brightness(.96)}.servo-angle-adjust button:active:not(:disabled),.servo-angle-presets button:active{transform:translateY(2px);box-shadow:none}.servo-angle-adjust button:focus-visible,.servo-angle-presets button:focus-visible{outline:3px solid #00a8eb;outline-offset:3px}.servo-angle-adjust button:disabled{opacity:.45;cursor:default;box-shadow:none}dialog.servo-angle-editor{box-sizing:border-box;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto}.node .inline-field.pin-error{outline:3px solid #dc263d!important;background:#ffe0e5!important;border-radius:6px}.node .inline-field.pin-error input{background:#ffe0e5!important;color:#a71026!important;font-weight:800}.banner-tooltip{position:fixed;z-index:100000;max-width:320px;background:#fff;border:2px solid currentColor;border-radius:14px;padding:12px 18px;box-shadow:0 5px 18px #173d6530;font-size:22px;font-weight:800;pointer-events:none}.banner-tooltip[hidden],#esp32-dialog .upload-complete[hidden],#esp32-dialog .upload-cancel-separate[hidden]{display:none!important}#esp32-dialog .upload-cancel-separate{display:block;margin:16px auto 0;width:180px;min-height:42px;background:#dc344a;color:#fff;border:0;border-radius:12px;font-weight:700}#esp32-dialog .upload-alarm{color:#a51328;background:#ffe3e7;padding:12px;border:2px solid #df334b;border-radius:12px;font-size:18px;font-weight:800}#esp32-dialog .upload-complete{position:absolute;inset:0;z-index:100;background:#effaff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px;border-radius:24px;overflow:auto}.upload-complete img{height:150px;width:150px;object-fit:contain}.upload-complete h2{font-size:40px!important;color:#009e61;margin:0}.upload-complete strong{font-size:27px;color:#087bb5}.upload-complete svg{width:260px;max-height:110px}.upload-complete small{font-size:11px}.upload-complete button{margin-top:14px;background:#00a8e5;color:#fff;min-height:42px;border:0;border-radius:12px;padding:10px 24px}#esp32-dialog .upload-device-row{display:flex;align-items:flex-end;gap:8px;min-width:0}#esp32-dialog .upload-device-row label{flex:1;min-width:0}#esp32-dialog .upload-device-row select{width:100%;min-width:0}#esp32-dialog .upload-device-row #esp32-connect{flex:0 0 auto;min-height:42px;padding:8px 10px;border-radius:10px;font-size:12px;white-space:nowrap}#esp32-dialog .esp32-actions .upload-cancel-separate{width:auto;margin:0;flex:1 1 0;border-radius:10px}#esp32-dialog .upload-cancel-separate:disabled{opacity:.45;cursor:not-allowed}.banner-tooltip.gpio-tooltip{font-size:11px;padding:7px 10px;border-radius:8px;color:#087ca8;max-width:260px}#wire-paths .wire-visible.moving-wire{stroke:#94a3ad!important;opacity:.3!important;filter:none!important}#wire-paths .wire-hit.moving-wire,#wire-paths .wire-handle.moving-wire{pointer-events:none;visibility:hidden}#wire-paths .wire-hit:focus{outline:none}#wire-paths .wire-hit:focus-visible{stroke:#00bcd4;stroke-opacity:.35;stroke-width:10}@font-face{font-family:Codylink Banner Nunito;src:url(/app/assets/nunito-black-CxJA2YpU.woff) format("woff");font-weight:900;font-style:normal;font-display:swap}:root .app-header .brand-tagline{font-family:Codylink Banner Nunito,Arial,Helvetica,sans-serif;font-weight:900;color:#00adeb;letter-spacing:.5px}:root .app-header .brand-tagline{font-size:18px}:root .studio .node.icon-card.horizontal-module:not(.operator-symbol-only):not([data-type=delay]):not([data-type=number]):not([data-type=text]){width:max-content;min-width:95px;max-width:none}:root .studio .node.icon-card.horizontal-module .horizontal-name{flex:0 0 auto}:root .studio .node.icon-card.horizontal-module:is([data-type=incrementVariable],[data-type=decrementVariable]) .module-quick-controls{width:110px}:root .studio .node.icon-card.horizontal-module:is([data-type=incrementVariable],[data-type=decrementVariable]) .icon-face{padding-right:122px}:root .studio .node.icon-card.horizontal-module[data-type=variable] .module-quick-controls{width:100px}:root .studio .node.icon-card.horizontal-module[data-type=variable] .icon-face{padding-right:112px}:root .studio .node.icon-card.horizontal-module[data-type=setVariable] .module-quick-controls{width:110px}:root .studio .node.icon-card.horizontal-module[data-type=setVariable] .icon-face{padding-right:122px}.new-project-dialog .new-project-actions{display:flex;gap:8px;flex-wrap:wrap}.new-project-dialog .new-project-actions button{flex:1;min-width:110px;min-height:42px;border-radius:10px;padding:8px;font-weight:700}.new-project-dialog [data-save]{background:#00a8df;color:#fff;border:1px solid #00a8df}.new-project-dialog [data-cancel]{background:#ff8a80;color:#57201d;border:1px solid #f4776e}.new-project-dialog [data-discard]{background:#edf7ff;color:#173971;border:1px solid #baddef}.new-project-dialog .new-project-status:empty{display:none}#esp32-dialog .upload-stages>button{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:78px;padding:10px 4px;margin:0;border:1px solid transparent;border-radius:20px;background:#eef1f3;color:#596873;line-height:1.3;font-size:13px;cursor:pointer}#esp32-dialog .upload-stages>button.active{background:#d3f3ff;color:#0089bc}#esp32-dialog .upload-stages>button.done{background:#e1f6e7;color:#1b9c4a}#esp32-dialog .upload-stages>button.error{background:#ffe3e3;color:#b53333}#esp32-dialog .upload-stages>button:disabled{cursor:default}#esp32-dialog .upload-stages>button:enabled:hover{border-color:#00a8df;filter:brightness(.97)}#esp32-dialog .upload-stages>button:focus-visible{outline:3px solid #087eea;outline-offset:3px}#esp32-dialog .upload-stages #esp32-cancel.cancel-ready{background:#ff8a80;color:#57201d}#esp32-dialog .upload-stages small:empty{display:none}:root .app-header .project-actions #import-project{background:#ffffffed;color:#087eea;border-color:#e0f3ff}:root .app-header .project-actions #import-project:hover{background:#e6f7ff;border-color:#9cddff}:root[data-theme=dark] .app-header .project-actions #import-project{background:#223644;color:#dcebf5;border-color:#3b5264}:root :is(.app-header .project-actions,.code-actions,.new-project-actions,.esp32-actions,.upload-stages,.serial-tools,#serial-form,.upload-complete)>button,:root #esp32-connect{font-family:Codylink Banner Nunito,Arial,Helvetica,sans-serif;font-weight:900;--button-depth:#a8ccdc;border-radius:14px;border-width:2px;border-style:solid;box-shadow:0 4px 0 var(--button-depth);letter-spacing:.3px;transition:box-shadow .12s ease,translate .12s ease,filter .12s ease}:root :is(.app-header .project-actions,.code-actions,.new-project-actions,.esp32-actions,.upload-stages,.serial-tools,#serial-form,.upload-complete)>button:enabled:active,:root #esp32-connect:enabled:active{translate:0 4px;box-shadow:0 0 0 var(--button-depth)}:root :is(.app-header .project-actions,.code-actions,.new-project-actions,.esp32-actions,.upload-stages,.serial-tools,#serial-form,.upload-complete)>button:disabled{box-shadow:0 2px #cbd4da;opacity:.6;cursor:default}:root :is(.app-header .project-actions,.code-actions,.esp32-actions,.serial-tools,#serial-form)>button.primary,:root .new-project-dialog [data-save],:root .upload-complete>button{--button-depth:#0086b8}:root .app-header .project-actions #program-esp32{background:#00adeb;border-color:#009bd4;color:#fff;--button-depth:#007fac}:root .new-project-dialog [data-cancel],:root #esp32-dialog .upload-stages #esp32-cancel.cancel-ready{background:#ff8a80;border-color:#f4776e;color:#57201d;--button-depth:#db625b}:root #esp32-dialog .upload-stages>button.done{--button-depth:#86be90;border-color:#b8dfc1}:root #esp32-dialog .upload-stages>button.active{--button-depth:#6bbbd7;border-color:#9ddcef}:root #esp32-dialog .upload-stages>button.error{--button-depth:#e38989;border-color:#f0b1b1}:root #settings-dropdown .settings-option{font-family:Codylink Banner Nunito,Arial,Helvetica,sans-serif;font-weight:900}:root .app-header .project-actions{padding-bottom:5px}:root[data-theme=dark] :is(.app-header .project-actions,.code-actions,.esp32-actions,.upload-stages)>button{--button-depth:#0b1c29}@media(prefers-reduced-motion:reduce){:root button{transition:none!important}}:root .app-header .project-actions #program-esp32,:root .code-actions>button.primary,:root .new-project-dialog [data-save],:root #serial-form #serial-send,:root .upload-complete>button,:root #esp32-dialog .upload-stages #esp32-compile:enabled,:root #esp32-dialog .upload-stages #esp32-upload:enabled{background:#58cc02;border-color:#58cc02;color:#fff;--button-depth:#46a302;box-shadow:0 5px #46a302;border-radius:16px;text-shadow:0 1px 0 #46a302}:root .new-project-dialog [data-cancel],:root #esp32-dialog .upload-stages #esp32-cancel.cancel-ready{background:#ff4b4b;border-color:#ff4b4b;color:#fff;--button-depth:#d93636;box-shadow:0 5px #d93636;border-radius:16px;text-shadow:none}:root .app-header .project-actions #program-esp32:enabled:hover,:root .code-actions>button.primary:enabled:hover,:root .new-project-dialog [data-save]:enabled:hover,:root #serial-form #serial-send:enabled:hover,:root .upload-complete>button:enabled:hover,:root #esp32-dialog .upload-stages #esp32-compile:enabled:hover,:root #esp32-dialog .upload-stages #esp32-upload:enabled:hover{background:#61d806;border-color:#61d806;filter:none}:root .new-project-dialog [data-cancel]:enabled:hover,:root #esp32-dialog .upload-stages #esp32-cancel.cancel-ready:hover{background:#ff6060;border-color:#ff6060;filter:none}:root :is(.app-header .project-actions,.code-actions,.new-project-actions,.upload-stages,#serial-form,.upload-complete)>button:enabled:active{translate:0 5px;box-shadow:none}:root .new-project-actions>button,:root .upload-complete>button,:root #esp32-dialog .upload-stages strong{letter-spacing:.8px;text-transform:uppercase}#esp32-dialog .upload-character-space img.upload-missing-device{width:100%;height:100%;max-height:180px;object-fit:contain;border-radius:14px}#esp32-dialog .upload-character-space img[hidden]{display:none!important}#esp32-dialog .upload-complete .upload-reset-guide{width:min(360px,90%);height:clamp(140px,27vh,260px);object-fit:contain;flex-shrink:0}#esp32-dialog .upload-complete>img:not(.upload-reset-guide){width:90px;height:90px;flex-shrink:0}:root body button.cancel-action,:root #esp32-dialog .upload-stages #esp32-cancel,:root .new-project-dialog [data-cancel]{background:#ff4b4b!important;border-color:#ff4b4b!important;color:#fff!important;--button-depth:#d93636;box-shadow:0 4px #d93636}:root body button.cancel-action:enabled:hover{background:#ff6060!important;border-color:#ff6060!important}:root body button.cancel-action:enabled:active{translate:0 4px;box-shadow:none}:root body button.cancel-action:disabled{opacity:.55;cursor:default}#esp32-dialog,#esp32-dialog .upload-body{scrollbar-width:none}#esp32-dialog::-webkit-scrollbar,#esp32-dialog .upload-body::-webkit-scrollbar{display:none;width:0}:root #esp32-dialog #esp32-status{font-family:Codylink Banner Nunito,sans-serif;font-weight:900;font-size:clamp(20px,3vw,28px);line-height:1.25;color:#58a700;min-height:0;margin:12px 0 8px}#esp32-dialog #esp32-error{color:#bd3030;background:#fff0f0;border-radius:12px;padding:12px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:140px;overflow:auto;scrollbar-width:none;font-size:13px}.variable-name-dialog{width:min(420px,calc(100vw - 40px));box-sizing:border-box;border:2px solid #b9e7ff;border-radius:24px;padding:26px;background:#f4fbff;color:#173971;box-shadow:0 12px 40px #12395b33}.variable-name-dialog::backdrop{background:#102e4c66;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.variable-name-dialog h2{font-family:Codylink Banner Nunito,sans-serif;font-size:27px;color:#00a8df;margin:0 0 20px}.variable-name-dialog label{display:block;font-weight:700;margin-bottom:8px}.variable-name-dialog input{box-sizing:border-box;width:100%;min-height:44px;border:2px solid #b9e7ff;border-radius:12px;background:#fff;color:#173971;padding:10px 12px;font:inherit}.variable-name-dialog input:focus{outline:3px solid #00b9e944;border-color:#00a8df}.variable-name-dialog input[aria-invalid=true]{border-color:#ff4b4b}.variable-name-dialog .variable-name-error{font-size:13px;color:#b72c2c;margin:10px 0}.variable-name-dialog .new-project-actions{margin-top:22px;flex-wrap:nowrap;gap:12px}.variable-name-dialog .new-project-actions button{min-width:0}html:root .studio .canvas-panel{--library-width:64px;--library-gap:12px}html:root .studio #viewport{left:0;right:0;width:auto}html:root .studio #modules-panel,html:root .studio #modules-panel[hidden]{position:absolute;left:12px;top:112px;bottom:auto;width:64px;height:auto;max-height:calc(100% - 128px);padding:6px;border-radius:20px;z-index:66;box-shadow:0 6px 22px #174c6930;overflow:hidden}html:root .studio #modules-panel .library-foot{display:none}html:root .studio #palette{overflow-y:auto;overflow-x:hidden;min-height:0;scrollbar-width:none;padding:0;display:flex;flex-direction:column;gap:6px}html:root .studio #palette .palette-group{padding:0;margin:0;border:0;background:none;flex-shrink:0}html:root .studio #palette .category-heading{width:48px;min-height:44px;height:44px;padding:8px;gap:0;border-radius:14px;justify-content:center}html:root .studio #palette .category-label,html:root .studio #palette .category-chevron{display:none}html:root .studio #palette .category-icon{width:27px;height:27px;margin:0;flex:0 0 27px}html:root .studio #palette .category-heading[aria-expanded=true]{border:2px solid var(--category-color);border-radius:14px;background:color-mix(in srgb,var(--category-color) 20%,white)}html:root .studio #category-flyout{left:84px;top:112px;bottom:16px;max-width:calc(100% - 100px);border-radius:18px;transform-origin:left center;animation:category-slide-in .2s ease-out}html:root .studio #category-flyout:before{display:none}@keyframes category-slide-in{0%{opacity:0;transform:translate(-14px) scaleX(.96)}to{opacity:1;transform:translate(0) scaleX(1)}}html:root .studio{margin-left:28px;margin-right:28px;grid-template-columns:minmax(0,1fr)}html:root .studio .canvas-panel:has(#modules-panel) #viewport{left:0;right:0;width:auto}html:root .studio .canvas-panel .chart-dashboard{left:0;right:0}html:root .studio .workspace-tabs{left:12px}html:root .studio #modules-panel,html:root .studio #modules-panel[hidden]{width:72px;padding:8px;border:2px solid #dcefff;border-radius:28px;background:#fff;box-shadow:0 3px 12px #2389c014}html:root .studio #modules-panel:has(.category-heading[aria-expanded=true]){border-radius:28px}html:root .studio #palette{width:100%;align-items:center;gap:8px;padding:2px 0}html:root .studio #palette .palette-group{width:48px;min-width:0;max-width:48px;overflow:visible;border-radius:50%;flex:0 0 auto}html:root .studio #palette .category-heading{display:flex;box-sizing:border-box;width:48px;min-width:48px;max-width:48px;height:48px;min-height:48px;margin:0;padding:9px;border:2px solid transparent;border-radius:50%;align-items:center;justify-content:center;overflow:visible;line-height:1;box-shadow:inset 0 1px #ffffff50}html:root .studio #palette .category-heading[aria-expanded=true]{border-radius:50%;border:2px solid var(--category-color);box-shadow:none}html:root .studio #palette .category-heading .category-icon{display:flex;align-items:center;justify-content:center;width:26px;height:26px;flex:0 0 26px;padding:0;line-height:1}html:root .studio #palette .category-heading .category-icon svg{display:block;width:26px;height:26px;overflow:visible}html:root .studio #category-flyout{left:94px;max-width:calc(100% - 110px);padding:16px;border-width:2px;border-radius:22px}html:root .studio #category-flyout h2{flex-shrink:0;line-height:1.25;padding:2px 0 4px}html:root .studio #category-flyout .category-modules{padding:3px 5px 6px 3px;scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--category-color) 55%,white) transparent}html:root .studio #category-flyout .category-modules::-webkit-scrollbar{width:5px}html:root .studio #category-flyout .category-modules::-webkit-scrollbar-thumb{background:var(--category-color);border-radius:8px}html:root .studio #category-flyout .category-modules::-webkit-scrollbar-button{display:none;height:0}html:root .studio #category-flyout .palette-module{margin:0;min-width:0;box-sizing:border-box}html:root[data-theme=dark] .studio #modules-panel{background:#172b40;border-color:#365b77}html:root .studio :is(#viewport,#chart-dashboard){background-color:#fcfeff;background-image:radial-gradient(#C8E5FF 1px,transparent 1px)}html:root[data-theme=dark] .studio :is(#viewport,#chart-dashboard){background-color:#172b40;background-image:radial-gradient(#375974 1px,transparent 1px)}html:root .studio #modules-panel,html:root .studio #modules-panel[hidden]{top:50%;bottom:auto;transform:translateY(-50%);max-height:calc(100% - 32px)}html:root .studio #modules-panel,html:root .studio #modules-panel[hidden]{width:226px;max-width:calc(100% - 24px);padding:10px;border-radius:24px}html:root .studio #modules-panel:has(.category-heading[aria-expanded=true]){border-radius:24px}html:root .studio #palette{align-items:stretch;gap:8px}html:root .studio #palette .palette-group{width:100%;max-width:none;min-width:0;border-radius:24px}html:root .studio #palette .category-heading{width:100%;min-width:0;max-width:none;height:52px;min-height:52px;padding:8px 12px;gap:10px;border-radius:24px;justify-content:flex-start;text-align:left}html:root .studio #palette .category-label{display:block;flex:1;min-width:0;font-size:14px;font-weight:700}html:root .studio #palette .category-chevron{display:block;font-size:22px;line-height:1}html:root .studio #palette .category-heading[aria-expanded=true]{border-radius:24px}html:root .studio #category-flyout{left:246px;max-width:calc(100% - 262px)}@media(max-width:600px){html:root .studio #modules-panel,html:root .studio #modules-panel[hidden]{width:170px;padding:8px}html:root .studio #palette .category-heading{padding:6px 8px;gap:6px}html:root .studio #palette .category-label{font-size:12px}html:root .studio #category-flyout{left:190px;max-width:calc(100% - 202px);padding:10px}}html:root .studio #modules-panel,html:root .studio #modules-panel[hidden]{padding:12px;border-radius:26px;background:#fffff8;border:2px solid #e0f3ff}html:root .studio #modules-panel:has(.category-heading[aria-expanded=true]){border-radius:26px 0 0 26px}html:root .studio #palette{gap:8px;padding:0;align-items:stretch}html:root .studio #palette .category-heading{height:52px;min-height:52px;border:0;border-radius:12px;background:linear-gradient(120deg,color-mix(in srgb,var(--category-color) 80%,white),var(--category-color));box-shadow:inset 0 2px #ffffff50}html:root .studio #palette .category-heading[aria-expanded=true]{border:3px solid var(--category-color);border-right:0;border-radius:12px 0 0 12px;background:color-mix(in srgb,var(--category-color) 12%,white);box-shadow:none}html:root .studio #palette .category-heading[aria-expanded=true] .category-icon{color:var(--category-color)}html:root .studio #category-flyout{width:260px;border:3px solid var(--category-color);border-radius:0 22px 22px 0;background:color-mix(in srgb,var(--category-color) 12%,white);padding:16px;animation:category-joined-in .18s ease-out}html:root .studio #category-flyout:before{display:block;right:calc(100% - 1px);width:var(--join-width);top:var(--join-top);height:var(--join-height);border-top:3px solid var(--category-color);border-bottom:3px solid var(--category-color)}html:root .studio #category-flyout .palette-module{border-radius:15px;min-height:52px;background:var(--category-color)}@keyframes category-joined-in{0%{opacity:0}to{opacity:1}}@media(prefers-reduced-motion:reduce){html:root .studio #category-flyout{animation:none}}html:root[data-theme=dark] .studio #modules-panel{background:#172b40}html:root[data-theme=dark] .studio #category-flyout,html:root[data-theme=dark] .studio #palette .category-heading[aria-expanded=true]{background:color-mix(in srgb,var(--category-color) 16%,#172b40)}html:root .studio #category-flyout{z-index:67;overflow:visible}html:root .studio #category-flyout:before{z-index:1;background:inherit;box-sizing:border-box;pointer-events:none}html:root .studio{margin:0;gap:0}html:root .app-footer{display:none;height:0}html:root .studio .canvas-panel{border-radius:0}html:root .studio .canvas-panel:has(#modules-panel) #viewport,html:root .studio .canvas-panel .chart-dashboard{border:0;border-radius:0;scrollbar-width:none;scrollbar-gutter:auto}html:root .studio #viewport::-webkit-scrollbar,html:root .studio .chart-dashboard::-webkit-scrollbar{display:none;width:0;height:0}html:root .studio #modules-panel,html:root .studio #modules-panel[hidden]{left:0;border-radius:0 24px 24px 0;transition:transform .22s ease,visibility .22s}html:root .studio #modules-panel:has(.category-heading[aria-expanded=true]){border-radius:0}html:root .studio .category-rail-collapsed #modules-panel{transform:translate(-100%,-50%);visibility:hidden;pointer-events:none}html:root .studio .category-rail-toggle{position:absolute;z-index:68;left:var(--rail-toggle-left,226px);top:50%;transform:translateY(-50%);width:22px;height:88px;padding:0;border:0;border-radius:0 12px 12px 0;background:#00b9e7;color:#fff;font-size:29px;line-height:1;box-shadow:2px 0 7px #173d6518;transition:left .22s ease}html:root .studio .category-rail-toggle:hover{background:#009fca}html:root .studio .category-rail-toggle:focus-visible{outline:3px solid #188fff;outline-offset:2px}html:root .studio .category-rail-collapsed .category-rail-toggle{left:0}@media(prefers-reduced-motion:reduce){html:root .studio #modules-panel,html:root .studio .category-rail-toggle{transition:none}}html:root .app-header{position:relative;z-index:70;background-size:cover;background-position:center;background-repeat:no-repeat;box-shadow:0 5px 14px -5px #24466640,0 1px 4px #24466616}html:root .app-header .project-actions #banner-background-toggle{display:inline-flex;align-items:center;justify-content:center;flex:0 0 30px;width:30px;height:30px;min-height:30px;padding:5px;border:1px solid #c9e6fa;border-radius:10px;background:#fffd;color:#1684c3;box-shadow:0 2px 4px #24466618}html:root .app-header .project-actions #banner-background-toggle svg{width:19px;height:19px}html:root .app-header .project-actions #banner-background-toggle:hover{background:#fff}html:root .app-header .project-actions #banner-background-toggle:active{translate:0 1px}html:root .app-header{height:auto;min-height:84px;padding-top:10px;padding-bottom:10px;background-position:center}html:root .app-header{background-size:100% 100%;background-position:center;background-repeat:no-repeat}html:root .studio .floating-history .workspace-tabs{position:static;display:flex;flex:0 0 auto;margin:0 8px 0 0;padding-right:8px;border-right:1px solid #d5e8f7}html:root .studio .floating-history .workspace-tabs button{width:auto;min-width:72px;padding:5px 10px;font-size:12px}html:root .studio .canvas-panel.charts-active .floating-history{display:flex;visibility:visible}html:root .studio #modules-panel,html:root .studio #modules-panel[hidden]{height:calc(100% - 48px);max-height:calc(100% - 48px)}html:root .studio #palette{flex:1;justify-content:flex-start;gap:14px;padding-bottom:7px}html:root .studio .library-mascot{display:none}html:root .app-header .banner-mascot{position:static;display:flex;align-items:center;justify-content:center;flex:0 0 66px;width:66px;height:66px;min-height:0;margin:0;padding:0;border:0;border-radius:14px;background:transparent;box-shadow:none;pointer-events:auto;cursor:pointer}html:root .app-header .banner-mascot img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}html:root .app-header .banner-mascot:hover{background:#ffffff30}html:root .app-header .banner-mascot:focus-visible{outline:2px solid #1684c3;outline-offset:2px}html:root .app-header .banner-mascot:hover{background:transparent;box-shadow:none}html:root body{background:#b9eaff url(/app/assets/canvas-landscape-D1QDxC31.png) center/cover fixed no-repeat}html:root .app-header{background:transparent;box-shadow:none}html:root .studio{margin:16px 20px 20px;gap:0}html:root .studio .canvas-panel{border-radius:28px;overflow:hidden;box-shadow:0 0 0 2px #8bc5e5,0 5px 16px #2476a51a}html:root .studio .canvas-panel:has(#modules-panel) #viewport,html:root .studio .canvas-panel .chart-dashboard{border:2px solid #e0f3ff;border-radius:28px}html:root .studio .library-mascot{display:flex;position:absolute;right:24px;bottom:18px;width:160px;height:180px;max-height:30%;z-index:48;padding:0;border:0;background:transparent;box-shadow:none;pointer-events:auto}html:root .studio .library-mascot:hover{background:transparent;box-shadow:none}html:root .studio .library-mascot img{width:100%;height:100%;object-fit:contain}html:root[data-theme=dark] body{background-image:linear-gradient(#101c4266,#101c4266),url(/app/assets/canvas-landscape-D1QDxC31.png)}@media(max-width:600px){html:root .studio{margin:10px}html:root .studio .library-mascot{right:12px;bottom:12px;width:100px;height:115px}}html:root .studio{min-height:0;grid-template-rows:minmax(0,1fr)}html:root .studio .canvas-panel{height:100%;min-height:0;max-height:100%}html:root .app-header{min-height:68px;padding-top:2px;padding-bottom:2px}html:root body{background-size:100% 100%;background-position:center;background-attachment:fixed;background-repeat:no-repeat}html:root .app-header{min-height:82.5px;padding-top:9.25px;padding-bottom:9.25px}html:root .studio{margin:5px 20px 37.5px}html:root .studio .canvas-panel,html:root .studio .canvas-panel:has(#modules-panel) #viewport,html:root .studio .canvas-panel .chart-dashboard{border-radius:31.25px}@media(max-width:600px){html:root .studio{margin:5px 12.5px 37.5px}}html:root{background:#b9eaff url(/app/assets/canvas-landscape-D1QDxC31.png) center / 100% 100% fixed no-repeat}html:root body{background:transparent;display:flow-root}html:root[data-theme=dark]{background-image:linear-gradient(#101c4266,#101c4266),url(/app/assets/canvas-landscape-D1QDxC31.png)}html:root[data-theme=dark] body{background:transparent}html:root .studio #modules-panel,html:root .studio #modules-panel[hidden]{height:100%;max-height:100%}html:root .studio #modules-panel,html:root .studio #modules-panel[hidden],html:root .studio #modules-panel:has(.category-heading[aria-expanded=true]){border-radius:0}html:root .app-header .project-actions #program-esp32,html:root .app-header .project-actions #program-esp32:enabled:hover{background:#ffffffed;border-color:#e0f3ff;color:#087eea;--button-depth:#a8ccdc;box-shadow:0 4px 0 var(--button-depth);text-shadow:none;filter:none}html:root .app-header .project-actions #program-esp32:enabled:hover{background:#e6f7ff;border-color:#9cddff}html:root .app-header .project-actions #program-esp32:enabled:active{box-shadow:none}html:root[data-theme=dark] .app-header .project-actions #program-esp32{background:#223644;color:#dcebf5;border-color:#3b5264;--button-depth:#0b1c29}html:root .app-header{min-height:74.25px;padding-top:5.125px;padding-bottom:5.125px}html:root .studio{margin-top:2.7px;margin-bottom:20.25px}:is(.category-heading,.background-swatch,.canvas-panel[data-workspace-frame]){--category-shadow:color-mix(in srgb,var(--category-color) 72%,#18364b)}html:root .studio #palette .category-heading{border:1px solid color-mix(in srgb,var(--category-color) 70%,white);border-radius:26px;background:var(--category-color);box-shadow:0 6px 0 var(--category-shadow),inset 0 1px #ffffff40;font-weight:800;transition:box-shadow .15s ease,filter .15s ease,translate .15s ease}html:root .studio #palette .category-heading:not([aria-expanded=true]):hover{filter:brightness(1.08);translate:0 -1px;box-shadow:0 7px 0 var(--category-shadow),0 9px 12px #173e591c,inset 0 1px #ffffff60}html:root .studio #palette .category-heading:not([aria-expanded=true]):active{translate:0 4px;box-shadow:0 2px 0 var(--category-shadow)}html:root .studio #palette .category-heading[aria-expanded=true]{border:3px solid var(--category-color);border-right:0;border-radius:26px 0 0 26px;background:color-mix(in srgb,var(--category-color) 12%,white);box-shadow:none}html:root[data-theme=dark] .studio #palette .category-heading[aria-expanded=true]{background:color-mix(in srgb,var(--category-color) 16%,#172b40)}@media(prefers-reduced-motion:reduce){html:root .studio #palette .category-heading{transition:none}}@media(prefers-reduced-motion:reduce){html:root .studio #palette .category-heading:not([aria-expanded=true]):hover,html:root .studio #palette .category-heading:not([aria-expanded=true]):active{translate:none}}html:root .studio #palette .category-heading,html:root .studio #palette .category-heading[aria-expanded=true]{font-family:Codylink Banner Nunito,Arial,Helvetica,sans-serif;font-weight:900;color:#fff}html:root .studio #palette .category-label{font-family:inherit;font-size:16px;font-weight:900;line-height:1.2;text-shadow:0 1px 2px #173e5960}html:root .studio #palette .category-heading[aria-expanded=true]{background:var(--category-color)}html:root .studio #palette .category-heading[aria-expanded=true] .category-icon{color:#fff}@media(max-width:600px){html:root .studio #palette .category-label{font-size:13px}}html:root .studio #category-flyout:before{background:var(--category-color);border-color:var(--category-color)}html:root .studio #palette .category-heading[aria-expanded=true]{border-radius:26px 0 0 26px}html:root .studio #category-flyout{border-width:5px}html:root .studio #category-flyout:before{left:var(--join-left);right:auto;border-top-width:5px;border-bottom-width:5px}html:root .studio #palette .category-heading[aria-expanded=true]{border-width:5px;border-right-width:0}html:root .studio #palette .category-heading[aria-expanded=true]{translate:none;transform:none;transition:none}html:root .studio #category-flyout{animation:category-soft-enter .2s cubic-bezier(.2,.8,.2,1) both}@keyframes category-soft-enter{0%{opacity:0;transform:translate(-10px)}to{opacity:1;transform:translate(0)}}html:root .studio .category-rail-toggle{transition:left .22s ease}@media(prefers-reduced-motion:reduce){html:root .studio #category-flyout{animation:none}html:root .studio .category-rail-toggle{transition:none}}html:root .studio .category-submenu-open .category-rail-toggle{transition:none;animation:category-handle-enter .2s cubic-bezier(.2,.8,.2,1) both}@keyframes category-handle-enter{0%{opacity:0;transform:translate(-10px,-50%)}to{opacity:1;transform:translateY(-50%)}}@media(prefers-reduced-motion:reduce){html:root .studio .category-submenu-open .category-rail-toggle{animation:none}}:root #esp32-dialog .upload-stages :is(#esp32-compile,#esp32-upload)[data-action-state]{--action-color:#00b9e7;--action-depth:#008eb9;background:var(--action-color);border-color:var(--action-color);color:#fff;text-shadow:none;box-shadow:0 5px 0 var(--action-depth);opacity:1}:root #esp32-dialog .upload-stages :is(#esp32-compile,#esp32-upload)[data-action-state=running]{--action-color:#aebbc5;--action-depth:#8d9ca8}:root #esp32-dialog .upload-stages :is(#esp32-compile,#esp32-upload)[data-action-state=success]{--action-color:#58cc02;--action-depth:#46a302}:root #esp32-dialog .upload-stages :is(#esp32-compile,#esp32-upload)[data-action-state=error]{--action-color:#ff818d;--action-depth:#dc6473}:root #esp32-dialog .upload-stages :is(#esp32-compile,#esp32-upload):enabled:hover{background:var(--action-color);border-color:var(--action-color);filter:brightness(1.04)}:root #esp32-dialog .upload-stages :is(#esp32-compile,#esp32-upload):disabled{opacity:1;cursor:default}:root #esp32-dialog .upload-stages :is(#esp32-compile,#esp32-upload)>span{display:flex;align-items:center;justify-content:center;height:30px}:root #esp32-dialog .upload-stages :is(#esp32-compile,#esp32-upload) strong{white-space:nowrap}:root #esp32-dialog .upload-stages #esp32-cancel{background:#ff818d!important;border-color:#ff818d!important;color:#fff!important;box-shadow:0 5px #dc6473}:root #esp32-dialog .upload-stages :is(#esp32-compile,#esp32-upload){position:relative}:root #esp32-dialog .upload-stages :is(#esp32-compile,#esp32-upload):before{content:attr(data-step);position:absolute;top:8px;left:10px;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#ffffff30;color:inherit;font:900 13px/1 Codylink Banner Nunito,Arial,sans-serif;pointer-events:none}:root #esp32-dialog .upload-stages #esp32-upload:disabled:not([data-action-state=running]){opacity:.55;cursor:default}html:root .app-header .brand-current-wordmark img{filter:drop-shadow(1px 0 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 1px 0 #fff) drop-shadow(0 -1px 0 #fff)}html:root{--editor-side-margin:20px}@media(max-width:600px){html:root{--editor-side-margin:12.5px}}html:root .studio{margin-inline:var(--editor-side-margin)}html:root .app-header{padding-inline-start:var(--editor-side-margin)}html:root .app-header .brand-lockup{display:flex;align-items:center;gap:2px;flex-shrink:0}html:root .app-header .brand-banner-robot{display:block;width:46px;height:46px;flex-shrink:0;object-fit:contain;position:relative;top:-8px;z-index:1;margin-inline-end:-7.3px;transform:rotate(15deg) scale(1.17);filter:drop-shadow(2px 0 0 #fff) drop-shadow(-2px 0 0 #fff) drop-shadow(0 2px 0 #fff) drop-shadow(0 -2px 0 #fff)}html:root .app-header .brand-current-wordmark{display:block;width:192px;height:64px;flex-shrink:0}html:root .app-header .brand-current-wordmark img{display:block;width:100%;height:100%;object-fit:contain}html:root .app-header .brand-divider{display:block;flex:0 0 5px;height:38px;border:1px solid #fff;border-radius:3px;background:#00b9e7}html:root .app-header .brand-tagline{display:flex;align-items:center;width:232.8px;min-width:0;height:38px;padding:0;border:0}html:root .app-header .brand-tagline img{display:block;width:100%;height:auto}
