.module-symbol{background:var(--cell-module,#e8edf5);color:#545454;pointer-events:none;font-weight:700;position:absolute;inset:0}.module-symbol__name{text-overflow:ellipsis;white-space:nowrap;font-size:10px;line-height:1.2;position:absolute;top:50%;left:50%;overflow:hidden;transform:translate(-50%,-50%)}.module-symbol__pin{box-sizing:border-box;background:var(--cell-wire);color:#545454;pointer-events:auto;place-items:center;display:grid;position:absolute;overflow:hidden}.module-symbol__pin[data-signal=floating]{background:var(--signal-floating)}.module-symbol__pin[data-signal=low]{background:var(--signal-low)}.module-symbol__pin[data-signal=high]{background:var(--signal-high)}.module-symbol__pin[data-signal=conflict]{background:var(--signal-conflict);color:#fff}.module-symbol__pin[data-signal=conflict]:after{content:"!";place-items:center;font-size:10px;display:grid;position:absolute;inset:0}.module-symbol__pin[data-signal=conflict] .module-symbol__pin-label{visibility:hidden}.module-symbol__pin:focus-visible{outline-offset:-2px;outline:2px solid}.module-symbol[data-inactive=true] .module-symbol__pin{pointer-events:none}.module-symbol__pin-label{text-overflow:ellipsis;white-space:nowrap;pointer-events:none;max-width:100%;font-size:8px;line-height:1;display:block;overflow:hidden}.workspace-sidebar{z-index:10;width:min(310px, calc(100vw - var(--sidebar-tab-width)));height:100dvh;transition:transform .42s cubic-bezier(.16,1,.3,1);position:fixed;top:0;left:0;transform:translate(0)}.workspace-sidebar--collapsed{transform:translate(-100%)}.workspace-sidebar__panel{isolation:isolate;box-sizing:border-box;overscroll-behavior:contain;border-right:var(--floating-panel-border-width) solid var(--floating-panel-border);height:100%;box-shadow:var(--floating-panel-shadow);background:#fff;flex-direction:column;padding:22px;display:flex;position:relative;overflow:hidden auto}.workspace-sidebar--decorated .workspace-sidebar__panel:before{content:"";z-index:0;aspect-ratio:1;image-rendering:pixelated;pointer-events:none;-webkit-user-select:none;user-select:none;background:url(/Cirkuit/assets/sidebar-corner-CWnS5ITC.png) 0 100%/50% 50% no-repeat;position:absolute;inset:auto 0 0}.workspace-sidebar__panel>*{z-index:1;position:relative}.workspace-sidebar__brand{color:#353535;margin:0;font-family:Silkscreen,sans-serif;font-size:40px;font-weight:700;line-height:1;transform:translate(-4px)}.workspace-sidebar__page-title{white-space:nowrap;font-size:clamp(20px,10vw,32px)}.workspace-sidebar__page{flex-direction:column;flex:auto;gap:24px;display:flex}.workspace-sidebar__back{color:#666;font:inherit;cursor:pointer;text-underline-offset:3px;background:0 0;border:0;align-self:flex-start;padding:0;font-size:12px;-webkit-text-decoration:underline #d3d3d3;text-decoration:underline #d3d3d3}.workspace-sidebar__back:hover,.workspace-sidebar__back:focus-visible{color:#353535;text-decoration-color:currentColor}.workspace-sidebar__content{flex:auto;grid-template-rows:auto minmax(min-content,1fr) auto auto;min-height:0;padding-block:24px;display:grid}.workspace-sidebar__content-top{align-self:start}.workspace-sidebar__content-center{align-self:center;margin-bottom:40px}.workspace-sidebar__content-bottom{align-self:end;margin-bottom:10px}.workspace-sidebar__footer{padding-top:18px}.workspace-sidebar__toggle{top:50%;right:calc(var(--floating-panel-border-width) - var(--sidebar-tab-width));border-left:0;position:absolute;transform:translateY(-50%)}@media (width<=640px),(height<=600px){.workspace-sidebar__panel{padding:12px}.workspace-sidebar__brand{font-size:32px}.workspace-sidebar__content{padding-block:16px}.workspace-sidebar__content-center{margin-bottom:20px}.workspace-sidebar__content-bottom{margin-bottom:8px}}@media (width<=260px){.workspace-sidebar__brand{font-size:28px}}@media (prefers-reduced-motion:reduce){.workspace-sidebar{transition:none}}.workspace-introduction{color:#666;padding-top:14px;font-size:13px;line-height:1.55}.workspace-introduction p{margin:0}.workspace-introduction p+p{margin-top:8px}.workspace-introduction__welcome{color:#4d4d4d;font-weight:600}.workspace-navigation{flex-direction:column;gap:10px;display:flex}.workspace-actions{gap:8px;display:grid}.workspace-navigation__item{align-items:baseline;gap:16px;display:flex}.workspace-navigation__icon{color:#666;align-items:center;display:flex}.workspace-navigation__icon svg{width:20px;height:20px;display:block;transform:translateY(5px)}.workspace-navigation__button{color:#4d4d4d;font:inherit;cursor:pointer;text-underline-offset:3px;background:0 0;border:0;flex:none;padding:0;font-size:13px;font-weight:600;-webkit-text-decoration:underline #d3d3d3;text-decoration:underline #d3d3d3}.workspace-navigation__button:hover,.workspace-navigation__button:focus-visible{color:#353535;text-decoration-color:currentColor}.workspace-introduction__presentation{line-height:1.6}.workspace-links{flex-wrap:wrap;justify-content:center;align-items:center;gap:14px;font-size:12px;line-height:1;display:flex}.workspace-links a{color:#777;text-underline-offset:3px;text-decoration-color:#d3d3d3;transition:color .14s,text-decoration-color .14s}.workspace-links a:hover,.workspace-links a:focus-visible{color:#353535;text-decoration-color:currentColor}@media (width<=260px){.workspace-links{gap:10px}}.sidebar-action-button{color:#555;cursor:pointer;background:#fff;border:1px solid #d4d4d4;justify-content:center;align-items:center;gap:6px;min-width:0;padding:10px 8px;font-size:12px;font-weight:600;line-height:1;transition:color .14s,background-color .14s,border-color .14s;display:flex}.sidebar-action-button:hover,.sidebar-action-button:focus-visible{color:#333;background:#fafafa}.sidebar-action-button:disabled{color:#aaa;cursor:wait}.sidebar-action-button svg{flex:none;width:15px;height:15px}.annotation-layer{z-index:3;pointer-events:none;touch-action:none;-webkit-user-select:none;user-select:none;position:absolute;inset:0;overflow:visible}.annotation-layer--editable{pointer-events:auto;cursor:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAUklEQVR4AeySUQoAIAhDq/vf2VQI/HJSCUGGq6Ax5dFosUVsE/HhVzTQTzGvFWhgbF4/ZSgfFmkRRT5KYdi5PRJbtJCvp0yorW9tNeE5yfcZTgAAAP//Y+tj3wAAAAZJREFUAwB9uBQnb97euQAAAABJRU5ErkJggg==) 10 10,crosshair}.annotation-layer--editable[data-tool=label]{cursor:text}.annotation-layer__svg{pointer-events:none;position:absolute;inset:0;overflow:visible}.annotation-layer__shape{pointer-events:none}.annotation-layer--editable .annotation-layer__shape{pointer-events:stroke;cursor:move}.annotation-layer__line,.annotation-layer__rectangle{fill:none;stroke:#545454;stroke-width:2px}.annotation-layer__line{stroke-linecap:round}.annotation-layer__rectangle{stroke-dasharray:8 6}.annotation-layer__shape--selected .annotation-layer__line,.annotation-layer__shape--selected .annotation-layer__rectangle{stroke:#97c98f;stroke-width:3px}.annotation-layer__hit-area{fill:none;stroke:#0000;stroke-width:12px}.annotation-layer__draft{stroke:#616161;opacity:.65;pointer-events:none}.annotation-layer__label,.annotation-layer__label-editor{z-index:3;box-sizing:border-box;color:#545454;white-space:nowrap;background:#ffffffeb;border:1px solid #0000;border-radius:0;min-height:24px;padding:4px 7px;font-size:13px;font-weight:600;line-height:1.2;position:absolute;transform:translateY(-50%)}.annotation-layer__label{cursor:pointer}.annotation-layer__label--selected{border-color:#97c98f}.annotation-layer__label-editor{outline-offset:1px;outline:2px solid #97c98f;width:180px}.project-actions{flex-direction:column;gap:8px;display:flex}.project-actions__buttons{gap:8px;display:flex}.project-actions__buttons .sidebar-action-button{flex:1}.project-actions__input{display:none}.project-actions__error{color:var(--signal-conflict);overflow-wrap:anywhere;margin:0;font-size:11px;font-weight:600;line-height:1.35}@media (width<=280px){.project-actions__buttons{flex-direction:column}}.selection-layer{z-index:2;pointer-events:none;touch-action:none;-webkit-user-select:none;user-select:none;position:absolute;inset:0}.selection-layer--selecting,.selection-layer--moving{pointer-events:auto}.selection-layer--selecting{cursor:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAUklEQVR4AeySUQoAIAhDq/vf2VQI/HJSCUGGq6Ax5dFosUVsE/HhVzTQTzGvFWhgbF4/ZSgfFmkRRT5KYdi5PRJbtJCvp0yorW9tNeE5yfcZTgAAAP//Y+tj3wAAAAZJREFUAwB9uBQnb97euQAAAABJRU5ErkJggg==) 10 10,crosshair}.selection-layer--moving{cursor:grabbing}.selection-layer__move-handle{pointer-events:none;cursor:move;position:absolute}.selection-layer--move-enabled .selection-layer__move-handle{pointer-events:auto}.selection-layer__rectangle{box-sizing:border-box;pointer-events:none;background:#fff3;border:2px dashed #353535;position:absolute}.selection-layer__move-preview{box-sizing:border-box;pointer-events:none;background:#35353529;position:absolute}.selection-layer__move-preview--invalid{border-color:var(--signal-conflict);background:#ff4d4f2e}.selection-layer__outline{pointer-events:none;position:absolute;inset:0;overflow:visible}.selection-layer__outline line{stroke:#636363;stroke-width:2px;fill:none;vector-effect:non-scaling-stroke}.cell-preview{pointer-events:none;box-sizing:border-box;z-index:2;background:#80808024;position:absolute}.history-actions{z-index:9;transition:left .42s cubic-bezier(.16,1,.3,1);position:fixed;top:16px;left:26px}.history-actions__button{color:#515151;transform-origin:50%;opacity:.85;cursor:pointer;background:0 0;border:0}.history-actions__button:hover{opacity:1}.history-actions__button:active svg{transform:scale(.95)}.history-actions__button:disabled{opacity:.4;cursor:default}.workspace-sidebar:not(.workspace-sidebar--collapsed)~.history-actions{left:326px}.workspace-sidebar--collapsed~.history-actions{left:16px}@media (prefers-reduced-motion:reduce){.history-actions{transition:none}}.sidebar-docs__introduction{color:#666;margin:0;font-size:13px;line-height:1.55}.sidebar-docs__cards{flex-direction:column;gap:34px;display:flex}.sidebar-docs__card-title{color:#353535;margin-block:0 .83em;font-family:Silkscreen,sans-serif}.sidebar-docs__card-image{width:100%;height:auto;margin-bottom:18px;display:block}.sidebar-docs__card-description{color:#666;margin:0;font-size:13px;line-height:1.55}.sidebar-shortcuts__list{flex-direction:column;gap:8px;margin:10px 0 0;padding:0;list-style:none;display:flex}.sidebar-shortcuts__item{grid-template-columns:124px 1fr;align-items:center;gap:18px;display:grid}.sidebar-shortcuts__input{box-sizing:border-box;color:#555;padding:5px 0;font-size:12px;font-weight:700;line-height:1}.sidebar-shortcuts__action{color:#666;font-size:12px;line-height:1.2}@media (width<=260px){.sidebar-shortcuts__item{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}}.probe-layer{--probe-color:#81b0e0;z-index:2;cursor:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAUklEQVR4AeySUQoAIAhDq/vf2VQI/HJSCUGGq6Ax5dFosUVsE/HhVzTQTzGvFWhgbF4/ZSgfFmkRRT5KYdi5PRJbtJCvp0yorW9tNeE5yfcZTgAAAP//Y+tj3wAAAAZJREFUAwB9uBQnb97euQAAAABJRU5ErkJggg==) 10 10,crosshair;touch-action:none;-webkit-user-select:none;user-select:none;position:absolute;inset:0}.probe-layer__drawing{pointer-events:none;position:absolute;inset:0;overflow:visible}.probe-layer__wire,.probe-layer__port{fill:var(--probe-color)}.probe-layer__drawing [data-inactive=true]{opacity:.25}.component-palette__item--probe{color:#555;background:#f5f5f5}.module-placement-preview{z-index:3;opacity:.65;outline-offset:-2px;pointer-events:none;outline:2px solid #545454;position:absolute}.module-placement-preview[data-valid=false]{outline-color:var(--signal-conflict)}.module-placement-preview[data-valid=false]:after{content:"";background:#ff4d4f33;position:absolute;inset:0}.circuit-canvas--placing-module .circuit-grid{cursor:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAUklEQVR4AeySUQoAIAhDq/vf2VQI/HJSCUGGq6Ax5dFosUVsE/HhVzTQTzGvFWhgbF4/ZSgfFmkRRT5KYdi5PRJbtJCvp0yorW9tNeE5yfcZTgAAAP//Y+tj3wAAAAZJREFUAwB9uBQnb97euQAAAABJRU5ErkJggg==) 10 10,crosshair}.sidebar-modules__help,.sidebar-modules__empty{color:#666;margin:0;font-size:13px;line-height:1.55}.sidebar-modules__list{flex-direction:column;gap:12px;margin:0;padding:0;list-style:none;display:flex}.sidebar-modules__item{box-sizing:border-box;text-align:left;color:#545454;cursor:grab;background:#fff;border:1px solid #d4d4d4;flex-direction:column;gap:8px;width:100%;padding:14px;display:flex}.sidebar-modules__entry{align-items:stretch;display:flex}.sidebar-modules__entry .sidebar-modules__item{flex:1;min-width:0}.sidebar-modules__action{color:#545454;font:inherit;cursor:pointer;background:#fff;border:1px solid #d4d4d4;border-left:0;justify-content:center;align-items:center;padding:10px;font-size:12px;display:flex}.sidebar-modules__action:disabled{opacity:.5;cursor:default}.sidebar-modules__action:focus-visible,.sidebar-modules__item[aria-pressed=true],.sidebar-modules__item:focus-visible{outline-offset:-2px;outline:2px solid #545454}.sidebar-modules__item:disabled{opacity:.5;cursor:default}.sidebar-modules__name{overflow-wrap:anywhere;max-width:100%;font-family:Silkscreen,monospace;font-size:13px}.sidebar-modules__size{font-size:12px}.sidebar-modules__create{width:100%;margin-top:auto}.module-body-editor>p{color:#666;margin:0 0 10px;font-size:12px;line-height:1.4}.module-body-editor__viewport{background:#f8f8f8;max-height:240px;padding:4px;overflow:auto}.module-body-editor__body{margin-inline:auto;position:relative}.module-body-editor__cell{cursor:pointer;background:0 0;border:0;width:20px;height:20px;padding:0;position:absolute}.module-body-editor__cell:disabled{cursor:default}.module-body-editor__cell[data-selected=true],.module-body-editor__cell:focus-visible{outline-offset:-2px;outline:2px solid #545454}.module-body-editor__cell:not(:disabled):hover{box-shadow:inset 0 0 0 1px #545454}.sidebar-module-draft__field{color:#545454;flex-direction:column;gap:8px;font-size:13px;display:flex}.sidebar-module-draft input{box-sizing:border-box;color:#545454;width:100%;font:inherit;background:#fff;border:1px solid #d4d4d4;padding:10px}.sidebar-module-draft input:focus-visible{outline-offset:-2px;outline:2px solid #545454}.sidebar-module-draft__help{color:#666;margin:0;font-size:13px;line-height:1.55}.sidebar-module-draft__dimensions,.sidebar-module-draft__port-actions{gap:8px;display:flex}.sidebar-module-draft__dimensions>label{flex:1;min-width:0}.sidebar-module-draft label{color:#545454;flex-direction:column;gap:6px;font-size:12px;display:flex}.sidebar-module-draft :where(button:not(.workspace-sidebar__back):not(.module-body-editor__cell):not(.sidebar-action-button)){color:#545454;font:inherit;cursor:pointer;background:#fff;border:1px solid #d4d4d4;padding:8px;font-size:12px}.sidebar-module-draft button:disabled:not(.sidebar-action-button){opacity:.5;cursor:default}.sidebar-module-draft__ports{gap:8px;display:grid}.sidebar-module-draft__port{border:1px solid #d4d4d4;min-width:0;margin:0}.sidebar-module-draft__port[data-selected=true]{border-color:#545454}.sidebar-module-draft__port summary{cursor:pointer;color:#666;padding:12px;font-size:12px}.sidebar-module-draft__port summary:focus-visible{outline-offset:-2px;outline:2px solid #545454}.sidebar-module-draft__port-name{overflow-wrap:anywhere;margin-left:5px}.sidebar-module-draft__port-kind{float:right;color:#888;margin-left:8px}.sidebar-module-draft__port-details{border:0;border-top:1px solid #e8e8e8;gap:10px;min-width:0;margin:0;padding:12px;display:grid}.sidebar-module-draft__connection{color:#666;overflow-wrap:anywhere;margin:0;font-size:11px}.sidebar-module-draft__error{color:#a52628;margin:0;font-size:12px;line-height:1.4}.sidebar-module-draft__footer{background:#fff;border-top:1px solid #d4d4d4;flex:none;gap:12px;padding-top:16px;display:grid}.sidebar-module-draft{gap:0;min-height:0}.sidebar-module-draft__content{overscroll-behavior:contain;flex-direction:column;flex:auto;gap:16px;min-height:0;padding-bottom:16px;display:flex;overflow:hidden auto}.sidebar-module-draft .sidebar-module-draft__publish{width:100%}.sidebar-module-draft .sidebar-module-draft__publish:disabled{cursor:default}.module-port-picker{z-index:4;pointer-events:none;position:absolute;inset:0}.module-port-picker__target,.module-port-picker__selection{box-sizing:border-box;color:#54545473;pointer-events:auto;cursor:pointer;background:0 0;border:0;padding:0;position:absolute}.module-port-picker__marker{pointer-events:none;width:100%;height:100%;display:block;position:absolute;inset:0}.module-port-picker__target:hover,.module-port-picker__target:focus-visible,.module-port-picker__target[data-selected=true],.module-port-picker__selection{color:#545454;background:#35353514}.module-port-picker__target:focus-visible{outline-offset:1px;outline:1px solid #545454}.module-port-picker__selection{pointer-events:none}.sidebar-tutorial p{color:#666;margin:0;font-size:13px;line-height:1.55}.sidebar-tutorial__section{border-top:1px solid #e3e3e3;flex-direction:column;gap:16px;min-width:0;padding-top:24px;display:flex}.sidebar-tutorial__section h2{color:#353535;margin:0;font-family:Silkscreen,sans-serif;font-size:18px;line-height:1.4}.sidebar-tutorial__steps{counter-reset:tutorial-step;flex-direction:column;gap:24px;margin:0;padding:0;list-style:none;display:flex}.sidebar-tutorial__step{counter-increment:tutorial-step;grid-template-columns:18px minmax(0,1fr);gap:12px 8px;display:grid}.sidebar-tutorial__step:before{content:counter(tutorial-step) ".";color:#545454;grid-area:1/1;padding-top:2px;font-size:12px;font-weight:600;line-height:1.55}.sidebar-tutorial__step>*{grid-column:2;min-width:0}.sidebar-tutorial__image-link{cursor:zoom-in;display:block}.sidebar-tutorial__image-link:focus-visible{outline-offset:3px;outline:2px solid #545454}.sidebar-tutorial__image{width:100%;height:auto;display:block}:root{--grid-background:#fff;--grid-alternate:#f4f4f4;--grid-line:#dfdfdf;--cell-wire:#bdf;--cell-via:#ffd166;--cell-source:#f9c;--cell-clock:#b8d8ff;--cell-memory:#b7c9e8;--cell-light:#ffe3c7;--cell-switch:#b8dfb3;--cell-switch-active:#70c869;--cell-not:#c9b8ff;--cell-and:#ffd09a;--cell-light-active:#ffd43b;--signal-floating:#bdf;--signal-low:#7897b0;--signal-high:#97cbff;--signal-conflict:#ff4d4f;--floating-panel-border:#e3e3e3;--floating-panel-border-width:1px;--floating-panel-shadow:0 8px 24px #0000000f;--sidebar-tab-width:28px;--sidebar-tab-height:57px;--sidebar-tab-icon-size:17px}html,body,#root{width:100%;height:100%;margin:0}body{font-family:sans-serif}button{font:inherit}:where(.workspace-sidebar__toggle,.component-palette__advanced-toggle){box-sizing:border-box;width:var(--sidebar-tab-width);height:var(--sidebar-tab-height);color:#666;border:var(--floating-panel-border-width) solid var(--floating-panel-border);cursor:pointer;background:#fff;place-items:center;padding:0;display:grid}:where(.workspace-sidebar__toggle,.component-palette__advanced-toggle):is(:hover,:focus-visible){color:#222;background:#f7f7f7}:where(.workspace-sidebar__toggle,.component-palette__advanced-toggle) svg{width:var(--sidebar-tab-icon-size);height:var(--sidebar-tab-icon-size)}.circuit-grid{background-color:var(--grid-background);background-image:conic-gradient(from 90deg, var(--grid-alternate) 25%, var(--grid-background) 0 50%, var(--grid-alternate) 0 75%, var(--grid-background) 0);outline:1px solid var(--grid-line);touch-action:none;-webkit-user-select:none;user-select:none;cursor:default;flex:none;position:relative}.circuit-grid--editable{cursor:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAUklEQVR4AeySUQoAIAhDq/vf2VQI/HJSCUGGq6Ax5dFosUVsE/HhVzTQTzGvFWhgbF4/ZSgfFmkRRT5KYdi5PRJbtJCvp0yorW9tNeE5yfcZTgAAAP//Y+tj3wAAAAZJREFUAwB9uBQnb97euQAAAABJRU5ErkJggg==) 10 10,crosshair}.circuit-component{z-index:2;box-sizing:border-box;justify-content:center;align-items:center;display:flex;position:absolute}.circuit-lighting-cell{z-index:1;pointer-events:none;background:#ffd43b0f;position:absolute}.circuit-lighting-cell--2{background:#ffd43b2e}.circuit-lighting-cell--3{background:#ffd43b47}.component-glyph{z-index:2;color:#0000008c;transform-origin:50%;display:block;position:relative}.circuit-component .component-glyph{transition:opacity .12s}.circuit-component--glyph-on-hover .component-glyph{opacity:0;pointer-events:none}.circuit-component--glyph-on-hover:is(:hover,:focus-visible) .component-glyph{opacity:1}.circuit-component--glyph-always .component-glyph{opacity:1;pointer-events:none}.circuit-cell--wire{background:var(--signal-floating)}.circuit-cell--wire.circuit-component--low{background:var(--signal-low)}.circuit-cell--wire.circuit-component--high{background:var(--signal-high)}.circuit-cell--via{background:var(--cell-via)}.circuit-cell--via.circuit-component--low{background:var(--signal-low)}.circuit-cell--via.circuit-component--high{background:var(--signal-high)}.circuit-cell--source{background:var(--cell-source)}.circuit-cell--clock{background:var(--cell-clock)}.circuit-cell--clock.circuit-component--low{background:var(--signal-low)}.circuit-cell--clock.circuit-component--high{background:var(--signal-high)}.circuit-cell--memory{background:var(--cell-memory)}.circuit-cell--memory.circuit-component--low{background:var(--signal-low)}.circuit-cell--memory.circuit-component--high{background:var(--signal-high)}.circuit-cell--memory.circuit-component--conflict{background:var(--signal-conflict)}.circuit-cell--light{background:var(--cell-light)}.circuit-cell--not{background:var(--cell-not)}.circuit-cell--and{background:var(--cell-and)}.circuit-hover-label{z-index:9;color:#616161;pointer-events:none;-webkit-user-select:none;user-select:none;font-size:13px;font-weight:600;line-height:1;transition:left .42s cubic-bezier(.16,1,.3,1);position:fixed;bottom:16px;left:26px}.simulation-error{z-index:11;box-sizing:border-box;width:max-content;max-width:calc(100% - 32px);color:var(--signal-conflict);text-align:center;background:#fff;border:1px solid #ebebeb;padding:12px 14px;font-size:13px;font-weight:600;position:fixed;top:16px;left:50%;transform:translate(-50%);box-shadow:0 4px 16px #00000014}.circuit-editor,.map-viewport{width:100%;height:100%;overflow:hidden}.map-viewport{touch-action:none;-webkit-user-select:none;user-select:none;position:relative}.map-viewport--panning,.map-viewport--panning *{cursor:grabbing!important}.map-viewport__content{transform-origin:0 0;width:max-content;position:absolute;top:0;left:0}.component-palette{--palette-item-size:clamp(44px, 6.5vh, 50px);--palette-icon-size:clamp(20px, 3.5vh, 22px);--palette-padding:clamp(8px, 1vh, 10px);--palette-gap:clamp(8px, 1vh, 10px);--palette-advanced-width:calc(var(--palette-item-size) + var(--palette-padding) + var(--palette-padding) + var(--floating-panel-border-width));--palette-advanced-height:var(--palette-advanced-width);z-index:10;gap:var(--palette-gap);box-sizing:border-box;padding:var(--palette-padding);border:var(--floating-panel-border-width) solid var(--floating-panel-border);box-shadow:var(--floating-panel-shadow);background:#fff;flex-direction:column;animation:1s cubic-bezier(.16,1,.3,1) both palette-in;display:flex;position:fixed;top:50%;right:clamp(8px,2vw,24px)}.component-palette__advanced-panel{top:calc(-1 * var(--floating-panel-border-width));right:100%;bottom:calc(-1 * var(--floating-panel-border-width));justify-content:center;align-items:center;gap:var(--palette-gap);box-sizing:border-box;width:var(--palette-advanced-width);padding:var(--palette-padding);border:var(--floating-panel-border-width) solid var(--floating-panel-border);background:#fff;border-right:0;flex-direction:column;display:flex;position:absolute}.component-palette__advanced-panel[hidden]{display:none}.component-palette__advanced-tab{top:50%;left:calc(-1 * var(--sidebar-tab-width));z-index:3;position:absolute;transform:translateY(-50%)}.component-palette--advanced-open .component-palette__advanced-tab{left:calc(var(--floating-panel-border-width) - var(--palette-advanced-width) - var(--sidebar-tab-width))}.component-palette__advanced-toggle{border-right:0}@keyframes palette-in{0%{opacity:0;transform:translate(40px)translateY(-50%)}to{opacity:1;transform:translate(0)translateY(-50%)}}.component-palette__item{box-sizing:border-box;width:var(--palette-item-size);height:var(--palette-item-size);flex:0 0 var(--palette-item-size);cursor:pointer;border:2px solid #0000;place-items:center;padding:0;line-height:0;display:grid;position:relative;overflow:visible}.component-palette__item>svg{width:var(--palette-icon-size);height:var(--palette-icon-size)}.component-palette__separator{background:#d5d5d5;flex:0 0 1px;align-self:stretch;height:1px;margin:2px 4px}.component-palette__item:after{content:"";z-index:2;image-rendering:pixelated;pointer-events:none;opacity:0;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAa0lEQVR4AexUMQ4AIQjD+/+fPXpJL9HB0oHNRERDC7WDT0TMLfJqrYWPhmCP3Bh5tBZ5yMGGVocTuKXhJ/U01aiNFoWGAA29CrVHCnE9VA7peouH+M/06BpitiiszS6iqBDPZhSpP4w85HgBAAD//5viuwkAAAAGSURBVAMA9LgQIXKARzkAAAAASUVORK5CYII=) 50%/90% 90% no-repeat;position:absolute;inset:-6px}.component-palette__item:hover:not([aria-pressed=true]):after,.component-palette__item:focus-visible:not([aria-pressed=true]):after{opacity:1;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAbElEQVR4AeyUQQoAIQwDd311n9Bf7zJCIQcR1BwVglWaOPRgy8xP9Swu9VI3/BHxljivqHzs+HoghUv+wEJ1EJLlJ3SQacYl1Gns1XeGe3NTl3+G/GH6wklNlp/whGjk7YSglkZNs7vysdP3AwAA//9UGGhOAAAABklEQVQDAPP1NOH9mUIFAAAAAElFTkSuQmCC)}.component-palette__item[aria-pressed=true]:after{opacity:1}.circuit-cell--light.circuit-component--active{background:var(--cell-light-active)}.circuit-component--conflict{background:var(--signal-conflict)}.circuit-cell--switch{background:var(--cell-switch)}.circuit-cell--switch.circuit-component--active{background:var(--cell-switch-active)}.circuit-component--interactive{cursor:pointer}.component-palette__item:disabled{cursor:not-allowed;opacity:.45}.component-palette__item--eraser,.component-palette__item--mode{color:#555;background:#f5f5f5}.component-palette__item--mode:after{display:none}.component-palette__item--mode[aria-pressed=true]{background:#e1f3df}:where(.tooltip){display:inline-block;position:relative}.tooltip .tooltiptext{visibility:hidden;white-space:nowrap;color:#fff;text-align:center;z-index:4;opacity:0;pointer-events:none;background-color:#000;border-radius:6px;width:max-content;max-width:160px;padding:8px 15px;font-size:13px;transition:opacity .3s;position:absolute;top:50%;right:calc(100% + 20px);transform:translateY(-50%)}.tooltip .tooltiptext:after{content:"";border:5px solid #0000;border-left-color:#000;position:absolute;top:50%;left:100%;transform:translateY(-50%)}.tooltip:not(.tooltip--menu-open):hover .tooltiptext,.tooltip:not(.tooltip--menu-open)>:is(.component-palette__item,.component-palette__advanced-toggle):focus-visible+.tooltiptext{visibility:visible;opacity:1}.circuit-canvas{flex:none;position:relative}.component-palette__annotation-picker{position:relative}.component-palette__item--annotation{color:#555;background:#f5f5f5}.component-palette__annotation-menu{z-index:2;border:1px solid var(--floating-panel-border);box-shadow:var(--floating-panel-shadow);background:#fff;gap:8px;padding:8px;display:flex;position:absolute;top:50%;right:calc(100% + 18px);transform:translateY(-50%)}.workspace-sidebar:not(.workspace-sidebar--collapsed)~.circuit-hover-label{left:336px}.workspace-sidebar--collapsed~.circuit-hover-label{left:26px}.layer-switcher{z-index:9;color:#515151;align-items:center;gap:10px;transition:left .42s cubic-bezier(.16,1,.3,1);display:flex;position:fixed;top:16px;left:50%;transform:translate(-50%)}.workspace-sidebar:not(.workspace-sidebar--collapsed)~.layer-switcher{left:min(50% + 155px,100% - 17px)}.layer-switcher span{font-weight:600}.layer-switcher__button{color:#515151;transform-origin:50%;opacity:.85;cursor:pointer;background:0 0;border:0}.layer-switcher__button:hover{opacity:1}.layer-switcher__button:active svg{transform:scale(.95)}@media (prefers-reduced-motion:reduce){.layer-switcher{transition:none}}@media (width<=640px),(height<=600px){.workspace-sidebar:not(.workspace-sidebar--collapsed)~.layer-switcher{left:50%}.component-palette{--palette-item-size:44px;--palette-icon-size:20px;--palette-padding:8px;--palette-gap:6px;flex-flow:wrap;justify-content:center;width:calc(100% - 24px);max-width:380px;animation:none;inset:auto auto 12px 50%;transform:translate(-50%)}.circuit-hover-label{top:12px;bottom:auto;left:12px}.component-palette__separator{flex-basis:1px;align-self:center;width:1px;height:32px;margin:0 2px}.tooltip .tooltiptext{inset:auto auto calc(100% + 14px) 50%;transform:translate(-50%)}.tooltip .tooltiptext:after{border-color:#000 #0000 #0000;top:100%;left:50%;transform:translate(-50%)}.component-palette__annotation-menu{inset:auto auto calc(100% + 14px) 50%;transform:translate(-50%)}.component-palette__advanced-panel{top:auto;right:calc(-1 * var(--floating-panel-border-width));bottom:100%;left:calc(-1 * var(--floating-panel-border-width));border-right:var(--floating-panel-border-width) solid var(--floating-panel-border);border-bottom:0;flex-direction:row;width:auto}.component-palette__advanced-tab{top:calc(-1 * var(--sidebar-tab-width));left:50%;transform:translate(-50%)}.component-palette--advanced-open .component-palette__advanced-tab{top:calc(var(--floating-panel-border-width) - var(--palette-advanced-height) - var(--sidebar-tab-width));left:50%}.component-palette__advanced-toggle{width:var(--sidebar-tab-height);height:var(--sidebar-tab-width);border-right:var(--floating-panel-border-width) solid var(--floating-panel-border);border-bottom:0}.component-palette__advanced-toggle svg{transform:rotate(90deg)}}
