.schematic-math-stage{position:absolute;left:-10000px;top:0;visibility:hidden;pointer-events:none}.schematic-editor-root{box-sizing:border-box;--schematic-paper: #ffffff;--schematic-ink: var(--ink, #111111);--schematic-muted: var(--muted, #565656);--schematic-border: #b9b9b4;--schematic-soft-rule: var(--soft-rule, #d5d5d0);--schematic-focus: var(--viva-blue, #005f9e);position:relative;min-width:0;min-height:0;color:var(--schematic-ink);font-family:var(--schematic-font-family, "Inter", "Segoe UI", "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, Helvetica, sans-serif);white-space:normal;word-break:normal;overflow-wrap:normal;isolation:isolate}.schematic-editor-root *,.schematic-editor-root *:before,.schematic-editor-root *:after{box-sizing:border-box}.schematic-editor-root>.schematic-editor-surface{position:relative;width:100%;height:100%;min-height:0;overflow:hidden;background:var(--schematic-paper)}.schematic-editor-root .schematic-paper{position:relative;min-width:0;min-height:0;overflow:hidden;outline:none;background:var(--schematic-paper);color:var(--schematic-ink);cursor:default;touch-action:none;-webkit-user-select:none;user-select:none}.schematic-editor-root>.schematic-editor-surface>.schematic-paper{position:absolute;inset:0}.schematic-editor-root .schematic-paper:focus-visible{outline:2px solid var(--schematic-focus);outline-offset:-2px}.schematic-editor-root .schematic-document-paper-runtime,.schematic-editor-root .joint-paper,.schematic-editor-root .joint-paper>svg{width:100%;height:100%}.schematic-editor-root .schematic-document-paper-runtime{position:absolute;z-index:1;inset:0}.schematic-editor-root .schematic-document-paper-runtime[hidden],.schematic-editor-root .schematic-note-document-layer[hidden]{display:none}.schematic-editor-root .joint-paper{font-family:var(--schematic-font-family, "Inter", "Segoe UI", "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, Helvetica, sans-serif)}.schematic-editor-root .schematic-note-layer,.schematic-editor-root .schematic-note-document-layer{position:absolute;inset:0;pointer-events:none}.schematic-editor-root .schematic-note-layer{z-index:2}.schematic-editor-root>.schematic-editor-surface>.schematic-palette{position:absolute;z-index:20;top:8px;bottom:8px;width:min(360px,calc(100% - 16px));min-width:0;min-height:0;display:none;overflow:hidden;border:1px solid var(--schematic-border);border-radius:6px;background:#fff;box-shadow:0 8px 28px #0000002e}.schematic-editor-root.is-search-open>.schematic-editor-surface>.schematic-palette,.schematic-editor-root.is-property-open>.schematic-editor-surface>.schematic-palette{display:grid;grid-template-rows:auto minmax(0,1fr)}.schematic-editor-root .symbol-template-panel{min-width:0;padding:10px 12px;border-bottom:1px solid var(--schematic-soft-rule);background:#fff}.schematic-editor-root .symbol-template-control{display:flex;align-items:center;gap:10px;font:13px var(--schematic-font-family, "Inter", "Segoe UI", "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, Helvetica, sans-serif)}.schematic-editor-root .symbol-template-control select{flex:1;width:0;min-width:0;height:28px;padding:2px 6px;font:inherit;color:#111;background-color:#fff;border:1px solid var(--schematic-border);border-radius:0}.schematic-editor-root.is-search-open>.schematic-editor-surface>.schematic-palette{left:8px}.schematic-editor-root.is-property-open>.schematic-editor-surface>.schematic-palette{right:8px}.schematic-editor-root.is-search-open>.schematic-editor-surface .property-editor,.schematic-editor-root.is-property-open>.schematic-editor-surface .palette-panel{display:none}.schematic-editor-root>.schematic-editor-surface .property-editor{overflow:auto;border-top:0}.schematic-editor-root>.schematic-editor-surface .palette-title-copy>span{display:none}.schematic-editor-root .palette-panel{display:grid;grid-template-rows:auto minmax(0,1fr);min-width:0;min-height:0}.schematic-editor-root .palette-title{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:8px;padding:12px;border-bottom:1px solid var(--schematic-soft-rule)}.schematic-editor-root .palette-title-copy{display:grid;gap:2px;min-width:0}.schematic-editor-root .palette-title-copy span{color:var(--schematic-muted);font-size:.82rem}.schematic-editor-root .palette-grid{display:grid;align-content:start;gap:8px;min-width:0;min-height:0;padding:10px;overflow:auto}.schematic-editor-root .instance-combobox{position:relative;display:grid;grid-template-columns:66px minmax(0,1fr);column-gap:10px;row-gap:8px}.schematic-editor-root .instance-selector{grid-column:1 / -1;display:grid;grid-template-columns:66px minmax(0,1fr);gap:10px;align-items:center;min-height:52px;padding:7px 8px;border:1px solid var(--schematic-border);background:#fff;color:var(--schematic-ink)}.schematic-editor-root .instance-selector:focus-within,.schematic-editor-root .instance-combobox.is-keyboard-armed .instance-selector{border-color:var(--schematic-focus);box-shadow:0 0 0 2px #0073b924}.schematic-editor-root .instance-combobox.is-keyboard-armed:not(.is-keyboard-editing) .instance-selector input{border-radius:3px;background:#cfe8ff;color:transparent;caret-color:transparent}.schematic-editor-root .instance-current-symbol{display:grid;align-items:center;justify-items:center;min-width:0;color:currentColor}.schematic-editor-root .instance-query-wrap{position:relative;display:grid;align-items:center;min-width:0;height:32px;overflow:hidden;border:1px solid #d5d5d0;border-radius:3px;background:#fff}.schematic-editor-root .instance-selector:focus-within .instance-query-wrap{border-color:var(--schematic-focus);box-shadow:0 0 0 2px #0073b91a}.schematic-editor-root .instance-selector input,.schematic-editor-root .instance-query-overlay{padding:5px 34px 5px 7px;font:inherit;font-size:.9rem;line-height:20px}.schematic-editor-root .instance-selector input{position:relative;grid-area:1 / 1;z-index:2;width:100%;min-width:0;height:100%;border:0;background:transparent;color:transparent;-webkit-text-fill-color:transparent;caret-color:transparent;outline:none}.schematic-editor-root .instance-selector input::selection{background:transparent;color:transparent;-webkit-text-fill-color:transparent}.schematic-editor-root .instance-query-overlay{position:absolute;z-index:3;inset:0;overflow:hidden;color:transparent;pointer-events:none;white-space:nowrap}.schematic-editor-root .instance-query-overlay [data-instance-query-mirror],.schematic-editor-root .instance-query-overlay [data-instance-query-after]{color:var(--schematic-ink)}.schematic-editor-root .instance-query-overlay [data-instance-query-selection]{display:none}.schematic-editor-root .instance-query-overlay.has-selection [data-instance-query-selection]{display:inline;background:#0078d4;color:#fff}.schematic-editor-root .instance-query-overlay [data-instance-query-caret]{display:none;width:1px;height:16px;margin:2px 0 -3px;background:var(--schematic-ink);vertical-align:text-bottom}.schematic-editor-root .instance-query-overlay.is-caret-visible [data-instance-query-caret]{display:inline-block}.schematic-editor-root .instance-query-overlay [data-instance-query-ghost]{color:#9ca3af;pointer-events:auto}.schematic-editor-root .instance-dropdown-button{position:absolute;z-index:4;inset:0 0 0 auto;display:grid;place-items:center;width:28px;min-height:0;padding:0;border:0;border-left:1px solid #d5d5d0;border-radius:0;background:#f7f7f5;color:var(--schematic-muted);cursor:pointer}.schematic-editor-root .instance-dropdown-button:hover,.schematic-editor-root .instance-dropdown-button[aria-expanded=true]{background:#eef7ff;color:#003d66}.schematic-editor-root .instance-dropdown-button span{width:0;height:0;border-right:4px solid transparent;border-left:4px solid transparent;border-top:5px solid currentColor}.schematic-editor-root .instance-dropdown{display:grid;grid-column:2;width:calc(100% - 18px);min-width:0;max-height:min(320px,calc(100vh - 250px));margin-left:9px;overflow:auto;border:1px solid #cfcfca;border-top:0;background:#fff;box-shadow:0 6px 12px #11111114}.schematic-editor-root .instance-dropdown[hidden],.schematic-editor-root .instance-options[hidden]{display:none}.schematic-editor-root .instance-dropdown-option{min-height:28px;padding:5px 8px;border:0;border-radius:0;background:#fff;color:var(--schematic-ink);font:inherit;font-size:.86rem;text-align:left;cursor:pointer}.schematic-editor-root .instance-dropdown-option.is-active,.schematic-editor-root .instance-dropdown-option:hover{background:#f2f8fc;color:#003d66}.schematic-editor-root .instance-dropdown-option.is-selected{font-weight:600}.schematic-editor-root .instance-options{grid-column:1 / -1;display:grid;gap:5px;max-height:min(420px,calc(100vh - 250px));padding:0;overflow:auto}.schematic-editor-root .instance-option{display:grid;grid-template-columns:66px minmax(0,1fr);gap:10px;align-items:center;min-height:46px;padding:6px 8px;border:1px solid #d5d5d0;border-radius:0;background:#fff;color:var(--schematic-ink);text-align:left;cursor:pointer}.schematic-editor-root .instance-option.is-active,.schematic-editor-root .instance-option:hover{border-color:var(--schematic-focus);background:#f2f8fc}.schematic-editor-root .instance-option.is-selected{border-color:var(--schematic-focus);background:#eef7ff;color:#003d66}.schematic-editor-root .palette-symbol-preview{width:66px;height:36px;overflow:visible;color:currentColor}.schematic-editor-root .instance-option span{min-width:0;font-size:.86rem}.schematic-editor-root .instance-option-empty{padding:8px;border:1px solid #e2e2de;background:#fff;color:var(--schematic-muted);font-size:.84rem}.schematic-editor-root .property-editor{display:grid;align-content:start;gap:9px;min-width:0;padding:12px;border-top:1px solid var(--schematic-soft-rule);background:#fbfbfa}.schematic-editor-root .property-editor h2{margin:0;font-size:1rem;letter-spacing:0}.schematic-editor-root .property-editor [hidden]{display:none!important}.schematic-editor-root .property-empty{min-height:34px;padding:8px;border:1px solid #e2e2de;background:#fff;color:var(--schematic-muted);font-size:.84rem}.schematic-editor-root .property-form,.schematic-editor-root .property-component-identity-fields,.schematic-editor-root .property-vsource-fields,.schematic-editor-root .property-triangle-fields,.schematic-editor-root .property-rectangle-fields,.schematic-editor-root .property-library-shape-stroke-fields,.schematic-editor-root .property-library-shape-fill-fields,.schematic-editor-root .property-pin-list{display:grid;gap:8px}.schematic-editor-root .property-rectangle-fields,.schematic-editor-root .property-library-shape-fill-fields,.schematic-editor-root .property-pin-list{padding-top:2px}.schematic-editor-root .property-rectangle-fields,.schematic-editor-root .property-library-shape-fill-fields{border-top:1px solid var(--schematic-ui-line, #e2e2de)}.schematic-editor-root .property-divider{margin:0;border:0;border-top:1px solid var(--schematic-ui-line, #e2e2de)}.schematic-editor-root .property-error{padding:2px 0;color:#b00020;font-size:12px;line-height:1.35}.schematic-editor-root .property-pin-list{gap:6px}.schematic-editor-root .property-pin-header,.schematic-editor-root .property-pin-row{display:grid;grid-template-columns:minmax(44px,1fr) 3rem minmax(5rem,1.5fr) 3rem;align-items:center;gap:6px}.schematic-editor-root .property-pin-header{color:var(--schematic-muted);font-size:.72rem;font-weight:600;white-space:nowrap}.schematic-editor-root .property-pin-row{font-size:.82rem}.schematic-editor-root .property-pin-header.is-visibility-only,.schematic-editor-root .property-pin-row.is-visibility-only{grid-template-columns:minmax(44px,1fr) 3rem}.schematic-editor-root .property-pin-row>span,.schematic-editor-root .property-static-row span,.schematic-editor-root .property-row span{color:var(--schematic-muted)}.schematic-editor-root .property-pin-row select,.schematic-editor-root .property-row input:not([type=checkbox]),.schematic-editor-root .property-row select{width:100%;min-width:0;min-height:30px;padding:4px 7px;border:1px solid var(--schematic-border);border-radius:0;background:#fff;color:var(--schematic-ink);font:inherit}.schematic-editor-root .property-pin-row select{min-height:28px;padding:3px 5px}.schematic-editor-root .property-static-row,.schematic-editor-root .property-row{display:grid;grid-template-columns:5.5em minmax(0,1fr);align-items:center;gap:8px;min-height:30px;font-size:.88rem}.schematic-editor-root .property-value-control,.schematic-editor-root .property-unit-control{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px;min-width:0}.schematic-editor-root .property-row .property-value-unit{min-width:1ch;color:var(--schematic-ink);font-size:.88rem;white-space:nowrap}.schematic-editor-root .property-static-row strong{min-width:0;overflow:hidden;color:var(--schematic-ink);font-size:.9rem;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.schematic-editor-root .property-choice-control{min-width:0}.schematic-editor-root .property-inline-action{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px;min-width:0}.schematic-editor-root .property-inline-action button,.schematic-editor-root .property-inline-toggle-action button,.schematic-editor-root .property-command-row button,.schematic-editor-root .property-primary-command,.schematic-editor-root .property-coupling-list button{min-height:30px;padding:4px 8px;border:1px solid var(--schematic-border);border-radius:3px;background:#fff;color:var(--schematic-ink);font:inherit;cursor:pointer}.schematic-editor-root .property-inline-action button.is-active,.schematic-editor-root .property-inline-action button[aria-pressed=true]{border-color:var(--schematic-focus);background:#dcecf7;color:#003d66;font-weight:600;box-shadow:inset 0 2px 3px #003d663d;transform:translateY(1px)}.schematic-editor-root .property-inline-toggle-action{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px;align-items:center;min-width:0}.schematic-editor-root .property-command-row{display:grid;grid-template-columns:1fr 1fr;gap:6px}.schematic-editor-root .property-primary-command{width:100%;border-color:var(--schematic-focus);background:#e8f3fb;color:#003d66;font-weight:600}.schematic-editor-root .property-coupling-list{display:grid;gap:5px}.schematic-editor-root .property-coupling-list-row{display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:30px;font-size:.88rem}.schematic-editor-root .property-coupling-list-row>span:first-child{color:var(--schematic-muted)}.schematic-editor-root .property-segmented{position:relative;display:grid;grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;min-width:0}.schematic-editor-root .property-segmented.is-mixed:after,.schematic-editor-root .property-color-control.is-mixed:after{position:absolute;z-index:1;top:50%;left:50%;padding:1px 5px;border:1px solid #a8a8a3;border-radius:3px;background:#fffffff0;color:#555550;content:var(--schematic-mixed-label, "Mixed");font-size:.7rem;line-height:1.25;pointer-events:none;transform:translate(-50%,-50%)}.schematic-editor-root .property-segmented button{min-width:0;min-height:30px;padding:4px 5px;border:1px solid var(--schematic-border);border-radius:0;background:#fff;color:var(--schematic-ink);font:inherit;cursor:pointer}.schematic-editor-root .property-segmented button+button{border-left:0}.schematic-editor-root .property-segmented button:first-child{border-radius:3px 0 0 3px}.schematic-editor-root .property-segmented button:last-child{border-radius:0 3px 3px 0}.schematic-editor-root .property-segmented button:hover{background:#f2f8fc}.schematic-editor-root .property-segmented button.is-selected,.schematic-editor-root .property-segmented button[aria-pressed=true]{border-color:var(--schematic-focus);background:#e8f3fb;color:#003d66;font-weight:600;box-shadow:inset 0 0 0 1px var(--schematic-focus)}.schematic-editor-root .property-segmented button:focus-visible,.schematic-editor-root .property-row input:focus-visible,.schematic-editor-root .property-row select:focus-visible,.schematic-editor-root .instance-option:focus-visible,.schematic-editor-root .instance-dropdown-option:focus-visible{position:relative;z-index:1;outline:2px solid rgb(0 95 158 / 45%);outline-offset:1px}.schematic-editor-root .property-segmented-compact button{min-height:28px;padding-inline:3px}.schematic-editor-root .property-color-control{position:relative;display:grid;grid-template-columns:repeat(auto-fill,minmax(18px,1fr));grid-auto-flow:row;align-items:center;gap:4px;min-width:0}.schematic-editor-root .property-color-control input[type=color]{aspect-ratio:1;width:100%;min-width:0;height:auto;min-height:0;padding:1px;border:1px solid var(--schematic-border);border-radius:0;background:#fff;cursor:pointer}.schematic-editor-root .property-color-control input[type=color]::-webkit-color-swatch-wrapper{padding:0}.schematic-editor-root .property-color-control input[type=color]::-webkit-color-swatch{border:0}.schematic-editor-root .property-color-swatches{display:contents}.schematic-editor-root .property-color-swatches button{display:block;appearance:none;width:100%;height:auto;margin:0;aspect-ratio:1;min-width:0;min-height:0;padding:0;border:1px solid #9d9d98;border-radius:0;background:var(--swatch-color, #ffffff);cursor:pointer}.schematic-editor-root .property-color-swatches button:disabled{opacity:.5;cursor:default}.schematic-editor-root .property-color-swatches button.is-selected,.schematic-editor-root .property-color-swatches button[aria-pressed=true]{border-color:var(--schematic-focus);box-shadow:0 0 0 2px #005f9e38}.schematic-editor-root .property-row input[data-property-mixed=true],.schematic-editor-root .property-row select[data-property-mixed=true]{border-style:dashed}.schematic-editor-root .property-color-swatches .property-no-fill-swatch{position:relative;background:linear-gradient(45deg,#ececeb 25%,transparent 25%,transparent 75%,#ececeb 75%),linear-gradient(45deg,#ececeb 25%,#fff 25% 75%,#ececeb 75%);background-position:0 0,4px 4px;background-size:8px 8px}.schematic-editor-root .property-color-swatches .property-no-fill-swatch:after{position:absolute;top:50%;right:2px;left:2px;height:2px;background:#b42318;content:"";transform:rotate(-45deg);transform-origin:center}.schematic-editor-root .property-color-swatches .property-default-color-swatch{position:relative}.schematic-editor-root .property-color-swatches .property-default-color-swatch:after{position:absolute;inset:4px;border:1px solid #ffffff;border-radius:50%;content:""}.schematic-editor-root .property-unit-control span{color:var(--schematic-muted);font-size:.82rem}.schematic-editor-root .property-row .property-toggle,.schematic-editor-root .property-pin-row .property-toggle{width:18px;min-height:18px;padding:0;justify-self:start;accent-color:var(--schematic-focus)}.schematic-editor-root .schematic-note{position:absolute;transform-origin:top left;overflow:visible;pointer-events:auto;cursor:move;-webkit-user-select:none;user-select:none}.schematic-editor-root .schematic-note:hover,.schematic-editor-root .schematic-note.is-selected{outline:1px solid var(--schematic-focus)}.schematic-editor-root .schematic-note-content{display:block;overflow:visible;white-space:pre}.schematic-editor-root .schematic-note-copy-preview{outline:1px dashed var(--schematic-focus);opacity:.58;pointer-events:none}.schematic-editor-root .schematic-note-anchor{position:absolute;display:none;width:5px;height:5px;border-radius:50%;background:var(--schematic-focus);transform:translate(-50%,-50%);pointer-events:none}.schematic-editor-root .schematic-note.is-selected .schematic-note-anchor{display:block}.schematic-editor-root .schematic-note-dialog{box-sizing:border-box;width:min(420px,calc(100vw - 32px));padding:16px;border:1px solid var(--schematic-soft-rule, #b9b9b4);background:var(--schematic-ui-panel, #fff);color:var(--schematic-ui-ink, #111)}.schematic-editor-root .schematic-note-dialog label{display:grid;gap:4px;margin-bottom:8px}.schematic-editor-root .property-note-text textarea,.schematic-editor-root .schematic-note-dialog textarea{box-sizing:border-box;width:100%;min-height:4em;resize:vertical;padding:4px 7px;border:1px solid var(--schematic-ui-line, #b9b9b4);background:var(--schematic-ui-input, #fff);color:var(--schematic-ui-ink, #111);font:inherit}.schematic-editor-root .schematic-note-dialog :is(select,input){padding:4px 7px;border:1px solid var(--schematic-ui-line, #b9b9b4);background:var(--schematic-ui-input, #fff);color:var(--schematic-ui-ink, #111);font:inherit}.schematic-editor-root .schematic-paper .joint-cell,.schematic-editor-root .schematic-paper .joint-port{cursor:default}.schematic-editor-root .schematic-paper .joint-type-eda-symbol,.schematic-editor-root .schematic-paper .joint-type-eda-symbol *{cursor:move}.schematic-editor-root .schematic-paper .joint-link,.schematic-editor-root .schematic-paper .joint-link *{cursor:pointer}.schematic-editor-root .schematic-paper.is-hierarchy-picking{--schematic-gesture-cursor: var(--schematic-plus-cursor)}.schematic-editor-root .schematic-paper.is-panning{--schematic-gesture-cursor: grabbing}.schematic-editor-root .schematic-paper :is([data-rectangle-resize-handle],[data-triangle-resize-handle],[data-shape-vertex]){cursor:var(--schematic-plus-cursor, default)}.schematic-editor-root .schematic-paper:is([data-schematic-tool-cursor],.is-hierarchy-picking,.is-panning),.schematic-editor-root .schematic-paper:is([data-schematic-tool-cursor],.is-hierarchy-picking,.is-panning) :is(.joint-cell,.joint-cell *,.joint-port,.schematic-note,.schematic-note *){cursor:var(--schematic-gesture-cursor, var(--schematic-tool-cursor, default))}.schematic-editor-root .schematic-paper.is-presentation .joint-grid,.schematic-editor-root .schematic-paper.is-presentation .joint-grid-layer,.schematic-editor-root .schematic-paper.is-presentation pattern[id*=grid],.schematic-editor-root .schematic-paper.is-presentation [joint-selector=portBody]{display:none}.schematic-editor-root [hidden]{display:none!important}@media(max-width:540px){.schematic-editor-root .property-static-row,.schematic-editor-root .property-row{grid-template-columns:1fr;gap:5px}}.schematic-editor-root .property-vsource-fields .property-row,.schematic-editor-root .property-row.is-source-type{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr)}.schematic-context-menu{position:fixed;left:0;top:0;z-index:1000;min-width:150px;padding:4px;border:1px solid #b9b9b4;background:#fff;box-shadow:0 8px 22px #00000029}.schematic-context-menu[hidden],.schematic-context-menu [hidden]{display:none}.schematic-context-menu button{display:block;width:100%;padding:7px 10px;border:0;background:transparent;color:var(--ink);font:inherit;text-align:left;cursor:default}.schematic-context-menu button:hover,.schematic-context-menu button:focus-visible{outline:none;background:#e7f2fb}.schematic-shell{--schematic-left-panel-width: 280px;--schematic-right-panel-width: 330px;--schematic-font-family: "Inter", "Segoe UI", "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, Helvetica, sans-serif;display:grid;grid-template-columns:var(--schematic-left-panel-width) 12px minmax(0,1fr) 12px var(--schematic-right-panel-width);gap:0;position:relative;width:100%;height:100%;min-height:0;padding:12px;overflow:hidden}.schematic-shell.is-layout-ready:not(.is-left-panel-visible){grid-template-columns:0 12px minmax(0,1fr) 12px var(--schematic-right-panel-width)}.schematic-shell.is-layout-ready:not(.is-right-panel-visible){grid-template-columns:var(--schematic-left-panel-width) 12px minmax(0,1fr) 12px 0}.schematic-shell.is-layout-ready:not(.is-left-panel-visible):not(.is-right-panel-visible){grid-template-columns:0 12px minmax(0,1fr) 12px 0}.schematic-palette,.schematic-workspace,.analysis-panel{min-width:0;min-height:0;position:relative;background:#fff;border:1px solid var(--soft-rule)}.schematic-palette{grid-column:1;display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden}.schematic-shell>[data-schematic-panel-resizer=left]{grid-column:2}.schematic-shell>.schematic-workspace{grid-column:3}.schematic-shell>[data-schematic-panel-resizer=right]{grid-column:4}.schematic-shell>.analysis-panel{grid-column:5}.schematic-shell.is-layout-ready:not(.is-left-panel-visible):not(.is-layout-narrow)>.schematic-palette,.schematic-shell.is-layout-ready:not(.is-right-panel-visible):not(.is-layout-narrow)>.analysis-panel{display:none}.schematic-panel-resizer{position:relative;min-width:0;cursor:col-resize;touch-action:none}.schematic-panel-resizer:after{position:absolute;top:0;bottom:0;left:50%;width:1px;background:#cbd5e1;content:""}.schematic-shell:not(.is-left-panel-visible)>[data-schematic-panel-resizer=left]:before,.schematic-shell:not(.is-right-panel-visible)>[data-schematic-panel-resizer=right]:before{position:absolute;z-index:1;top:50%;left:50%;width:6px;height:42px;border:1px solid #9fb4c8;border-radius:3px;background:#e8f3fb;content:"";transform:translate(-50%,-50%)}.schematic-panel-resizer:hover:after,.schematic-panel-resizer:focus-visible:after,.schematic-shell.is-panel-resizing .schematic-panel-resizer:after{width:2px;background:var(--viva-blue)}.schematic-panel-resizer:focus-visible{outline:none}.schematic-panel-backdrop{appearance:none;border:0;background:transparent}.analysis-note,.schematic-status{color:var(--muted);font-size:.82rem}.schematic-workspace{position:relative;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;overflow:hidden}.schematic-document-tabs{display:flex;align-items:end;min-width:0;height:34px;padding:4px 8px 0;border-bottom:1px solid #cbd5e1;background:#e9eef5}.schematic-dialog{box-sizing:border-box;width:min(360px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:18px;border:1px solid var(--schematic-ui-line);border-radius:8px;background:var(--schematic-ui-panel);color:var(--schematic-ui-ink);font:14px/1.4 var(--schematic-font-family)}.schematic-dialog::backdrop{background:#0006}.schematic-dialog h2{margin:0 0 14px;font:600 16px/1.4 var(--schematic-font-family);color:inherit}.schematic-document-export-dialog label{display:flex;gap:8px;align-items:center;min-height:32px}.schematic-document-export-dialog input{margin:0}.schematic-document-export-formats{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 14px}.schematic-dialog button{min-height:36px;padding:4px 10px;border:1px solid var(--schematic-ui-line);border-radius:4px;background:var(--schematic-ui-panel);color:inherit;font:inherit;cursor:pointer}.schematic-dialog button:is(:hover,:focus-visible){outline:2px solid var(--schematic-focus);outline-offset:1px}.schematic-agent-dialog{width:min(640px,calc(100vw - 32px))}.schematic-agent-banner:not([hidden]){display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:4px 8px;background:#fff0cc;color:#633d07;border-bottom:1px solid currentColor;font-size:13px}.schematic-agent-banner[data-agent-status=connected]{background:#dff4e7;color:#185732}.schematic-agent-banner button{font:inherit;color:inherit;background:transparent;border:1px solid currentColor;border-radius:4px;padding:3px 7px;cursor:pointer}:root[data-effective-theme=dark] .schematic-agent-banner{background:#44321b;color:#ffda91}:root[data-effective-theme=dark] .schematic-agent-banner[data-agent-status=connected]{background:#203d2c;color:#b5efcb}.schematic-agent-actions,.schematic-agent-footer{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.schematic-agent-dialog button:disabled{opacity:.55;cursor:default}.schematic-editor-root .schematic-agent-dialog textarea{box-sizing:border-box;width:100%;min-height:100px;height:min(280px,40dvh);padding:8px;border:1px solid var(--schematic-ui-line);border-radius:4px;background:var(--schematic-ui-input, var(--schematic-ui-panel));color:var(--schematic-ui-ink);font:13px/1.5 ui-monospace,monospace;resize:vertical}.schematic-agent-footer{margin-top:12px}.schematic-agent-footer button{margin-inline-start:auto}.schematic-options-fields{display:grid;gap:10px;margin-bottom:16px}.schematic-editor-root .schematic-options-dialog .symbol-template-panel{padding:0;border:0;background:transparent;color:inherit}.schematic-editor-root .schematic-options-dialog label{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);align-items:center;gap:8px}.schematic-editor-root .schematic-options-dialog select{box-sizing:border-box;width:100%;min-width:0;min-height:36px;padding:4px 8px;border:1px solid var(--schematic-ui-line);border-radius:4px;background:var(--schematic-ui-panel);color:inherit;font:inherit}.schematic-options-dialog>button:last-child{display:block;margin-inline-start:auto}.schematic-document-tab-list{display:flex;align-items:end;gap:2px;flex:0 1 auto;width:max-content;min-width:0;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}.schematic-document-tab{position:relative;display:grid;grid-template-columns:minmax(72px,160px) 28px;align-items:center;flex:0 1 auto;height:29px;border:1px solid transparent;border-bottom:0;background:transparent}.schematic-document-tab.is-dragging{opacity:.45}.schematic-document-tab.is-drop-before:before,.schematic-document-tab.is-drop-after:after{position:absolute;z-index:2;top:2px;bottom:2px;width:3px;border-radius:1px;background:#2563eb;content:"";pointer-events:none}.schematic-document-tab.is-drop-before:before{left:-3px}.schematic-document-tab.is-drop-after:after{right:-3px}.schematic-document-tab.is-active{border-color:#cbd5e1;background:#fff}.schematic-document-tab-label,.schematic-document-tab-close,.schematic-document-tab-new,.schematic-document-tab-action,.schematic-storage-error-dismiss{appearance:none;border:0;color:#334155;background:transparent}.schematic-document-tab-label,.schematic-document-tab-rename{box-sizing:border-box;min-width:0;width:100%;height:100%;padding:0 4px 0 10px;border:0;border-radius:0;background:transparent;color:#334155;font:600 12px/28px var(--schematic-font-family);letter-spacing:0;text-align:left}.schematic-document-tab-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;touch-action:none;-webkit-user-select:none;user-select:none}.schematic-document-tab-rename{appearance:none;margin:0;outline:0;box-shadow:none;caret-color:#0f172a}.schematic-document-tab-rename:focus{outline:0;background:transparent;box-shadow:none}.schematic-document-tab-close,.schematic-document-tab-new,.schematic-document-tab-action{position:relative;width:28px;height:28px}.schematic-document-tab-close:before,.schematic-document-tab-close:after{position:absolute;top:8px;left:13px;width:1px;height:12px;background:currentColor;content:""}.schematic-document-tab-close:before{transform:rotate(45deg)}.schematic-document-tab-close:after{transform:rotate(-45deg)}.schematic-document-tab-new{flex:0 0 auto;margin-left:4px;font:500 20px/28px var(--schematic-font-family)}.schematic-document-tab-action{flex:0 0 auto}.schematic-document-tab-action[data-schematic-document-import]{margin-left:auto}.schematic-document-tab-action svg{display:block;width:17px;height:17px;margin:auto;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.schematic-document-tab-close:hover,.schematic-document-tab-new:hover,.schematic-document-tab-action:hover{color:#0f172a;background:#dbe4ef}.schematic-document-tab.is-active .schematic-document-tab-close:hover{background:#edf2f7}.schematic-document-tab-label:focus-visible,.schematic-document-tab-close:focus-visible,.schematic-document-tab-new:focus-visible,.schematic-document-tab-action:focus-visible,.schematic-storage-error-dismiss:focus-visible{outline:2px solid #2563eb;outline-offset:-2px}.schematic-close-snackbar,.schematic-storage-error-notice{position:absolute;z-index:8;display:flex;align-items:center;gap:12px;box-sizing:border-box;max-width:calc(100% - 24px);min-height:40px;padding:8px 10px 8px 14px;border:1px solid #cbd5e1;background:#fff;color:#1f2937;box-shadow:0 3px 10px #0f172a24;font:13px Arial,sans-serif}.schematic-close-snackbar{top:42px;left:50%;transform:translate(-50%)}.schematic-close-snackbar>span{min-width:0;overflow-wrap:anywhere}.schematic-close-snackbar button{flex:0 0 auto;padding:4px 7px;border:0;background:transparent;color:#1d4ed8;font:700 12px Arial,sans-serif;cursor:pointer}.schematic-close-snackbar button:hover,.schematic-close-snackbar button:focus-visible{background:#eff6ff;outline:none}.schematic-storage-error-notice{top:42px;right:12px;width:min(420px,calc(100% - 24px));border-color:#b42318;background:#fff4f2;color:#7a271a}.schematic-close-snackbar:not([hidden])~.schematic-storage-error-notice{top:90px}.schematic-storage-error-notice>span{min-width:0;flex:1 1 auto;overflow-wrap:anywhere}.schematic-storage-error-dismiss{position:relative;flex:0 0 auto;width:28px;height:28px;color:#7a271a;cursor:pointer}.schematic-storage-error-dismiss:before,.schematic-storage-error-dismiss:after{position:absolute;top:7px;left:13px;width:1px;height:14px;background:currentColor;content:""}.schematic-storage-error-dismiss:before{transform:rotate(45deg)}.schematic-storage-error-dismiss:after{transform:rotate(-45deg)}.schematic-storage-error-dismiss:hover{background:#fee4e2}.schematic-close-snackbar[hidden],.schematic-storage-error-notice[hidden]{display:none}.schematic-toolbar{display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding:7px 8px;border-bottom:1px solid var(--soft-rule)}.analysis-actions button,.net-pick-row button{min-height:30px;padding:5px 9px;border:1px solid #b9b9b4;background:#fff;color:var(--ink);cursor:pointer}.schematic-toolbar :is(button,.schematic-toolbar-help){box-sizing:border-box;display:inline-grid;place-items:center;width:36px;height:36px;padding:3px;border:1px solid #b9b9b4;background:#fff;color:var(--ink);cursor:pointer;text-decoration:none}.schematic-toolbar :is(button,.schematic-toolbar-help) svg{display:block;width:28px;height:28px}.schematic-toolbar :is(button,.schematic-toolbar-help):hover{border-color:#6f7f8c;background:#f0f6fb;box-shadow:0 1px 4px #00305429;transform:translateY(-1px)}.schematic-toolbar :is(button,.schematic-toolbar-help):focus-visible{outline:2px solid var(--schematic-focus);outline-offset:1px}.schematic-toolbar button.is-active,.schematic-toolbar :is(button,.schematic-toolbar-help):active{border-color:var(--viva-blue);background:#dceeff;box-shadow:inset 0 2px 4px #00406e38;transform:translateY(1px)}.schematic-shell kbd{display:inline-grid;place-items:center;min-width:18px;margin-left:4px;padding:1px 4px;border:1px solid #c9c9c4;background:#f6f6f4;font-family:var(--schematic-font-family);font-size:.72rem}.analysis-panel-heading{display:flex;align-items:start;justify-content:space-between;gap:8px}.schematic-status{padding:8px 10px;border-top:1px solid var(--soft-rule)}.analysis-panel{display:grid;align-content:start;gap:10px;padding:14px;overflow:auto;position:relative;z-index:1}.analysis-panel h2{font-size:1.2rem}.selection-summary{border:1px solid #e2e2de;background:#fbfbfa;padding:8px;color:#333;font-size:.84rem;line-height:1.35}.selection-summary span{color:var(--muted);margin-left:6px}.analysis-panel h3{margin-top:8px;font-size:.98rem}.analysis-panel label{grid-template-columns:84px minmax(0,1fr);gap:8px}.net-pick-row{display:grid;grid-template-columns:76px minmax(0,1fr) 56px;align-items:center;gap:8px}.net-pick-row label{display:block;font-size:.92rem}.net-pick-row .is-picking{outline:2px solid var(--focus);outline-offset:-2px}.analysis-actions{display:grid;gap:6px}.analysis-progress{display:grid;gap:5px;color:var(--muted);font-size:.82rem}.analysis-progress[hidden]{display:none}.analysis-progress-bar{position:relative;height:4px;overflow:hidden;border:1px solid #c9d9e8;background:#edf5fb}.analysis-progress-bar:before{content:"";position:absolute;inset:0 auto 0 -40%;width:40%;background:var(--viva-blue);animation:analysis-progress-slide 1s linear infinite}@keyframes analysis-progress-slide{to{transform:translate(350%)}}.analysis-diagnostics{min-height:48px;border:1px solid #e2e2de;background:#fbfbfa;padding:8px;color:#4d4d4d;font-size:.82rem}.analysis-diagnostics p{margin:0 0 5px}.analysis-results{display:grid;gap:8px}.analysis-results output{min-height:56px;border:1px solid #e2e2de;padding:8px;overflow:auto}.schematic-panel-backdrop{position:absolute;z-index:30;inset:0;width:100%;height:100%;background:#0f172a42;cursor:default}.schematic-panel-backdrop[hidden]{display:none}.schematic-shell[data-schematic-shell].is-layout-ready.is-layout-narrow{grid-template-columns:minmax(0,1fr);padding:8px}.schematic-shell.is-layout-narrow>.schematic-workspace{grid-column:1;min-width:0}.schematic-shell.is-layout-narrow>.schematic-panel-resizer{position:absolute;z-index:32;top:8px;bottom:8px;display:block;grid-column:auto;width:12px}.schematic-shell.is-layout-narrow>[data-schematic-panel-resizer=left]{left:2px}.schematic-shell.is-layout-narrow>[data-schematic-panel-resizer=right]{right:2px}.schematic-shell.is-layout-narrow.is-left-panel-visible>[data-schematic-panel-resizer=left]{left:min(calc(var(--schematic-left-panel-width) + 2px),calc(100% - 46px))}.schematic-shell.is-layout-narrow.is-right-panel-visible>[data-schematic-panel-resizer=right]{right:min(calc(var(--schematic-right-panel-width) + 2px),calc(100% - 46px))}.schematic-shell.is-layout-narrow>.schematic-palette,.schematic-shell.is-layout-narrow>.analysis-panel{position:absolute;z-index:31;top:8px;bottom:8px;display:grid;visibility:hidden;pointer-events:none;transition:transform .14s ease,visibility .14s}.schematic-shell.is-layout-narrow>.schematic-palette{left:8px;width:min(var(--schematic-left-panel-width),calc(100% - 48px));transform:translate(calc(-100% - 12px))}.schematic-shell.is-layout-narrow>.analysis-panel{right:8px;width:min(var(--schematic-right-panel-width),calc(100% - 48px));transform:translate(calc(100% + 12px))}.schematic-shell.is-layout-narrow.is-left-panel-visible>.schematic-palette,.schematic-shell.is-layout-narrow.is-right-panel-visible>.analysis-panel{visibility:visible;pointer-events:auto;transform:translate(0)}@media(max-width:540px){.analysis-panel label,.net-pick-row{grid-template-columns:1fr;gap:5px}}.schematic-shell{--schematic-ui-panel: var(--schematic-paper, #ffffff);--schematic-ui-hover: #eef5fb;--schematic-ui-active: #e2f0fb;--schematic-ui-line: var(--schematic-soft-rule, #d5d5d0);--schematic-ui-ink: var(--schematic-ink, #111111);--schematic-ui-muted: var(--schematic-muted, #565656)}:root[data-effective-theme=dark] .schematic-shell{color-scheme:dark;--schematic-paper: #191815;--schematic-ink: #e8e4dc;--schematic-muted: #b7b1a7;--schematic-border: #706a60;--schematic-soft-rule: #514d45;--schematic-focus: #acd5f8;--ink: var(--schematic-ink);--muted: var(--schematic-muted);--soft-rule: var(--schematic-soft-rule);--viva-blue: var(--schematic-focus);--schematic-ui-panel: #211f1b;--schematic-ui-hover: #2c2a25;--schematic-ui-active: #34322c;--schematic-ui-line: #565149;--schematic-ui-ink: #e8e4dc;--schematic-ui-muted: #b7b1a7;--schematic-ui-input: #191816;--schematic-ui-selected: #28394a;--schematic-ui-error: #ffb1a8;--schematic-ui-warning: #f5cb80}:root[data-effective-theme=dark] .schematic-shell :is(.schematic-workspace,.property-editor){background:var(--schematic-ui-panel);border-color:var(--schematic-soft-rule)}:root[data-effective-theme=dark] .schematic-shell .joint-paper-background{background:var(--schematic-paper)!important}:root[data-effective-theme=dark] .schematic-shell :is(.joint-grid-layer,.joint-back-layer,.joint-cells-layer,.joint-labels-layer,.joint-front-layer,.joint-tools-layer,.schematic-note-layer){color-scheme:light;filter:invert(1) hue-rotate(180deg)}:root[data-effective-theme=dark] .schematic-shell :is(.property-empty,.selection-summary,.analysis-note,.analysis-diagnostics,.analysis-results output,.analysis-progress,.schematic-close-snackbar,.instance-dropdown){background:var(--schematic-ui-input);border-color:var(--schematic-ui-line);color:var(--schematic-ui-muted)}:root[data-effective-theme=dark] .schematic-shell :is(.property-editor input:not([type=color],[type=checkbox]),.property-editor select,.library-select,.browser-search,.net-pick-row select,.schematic-log-drawer input,.schematic-log-drawer select,.schematic-dialog select,.instance-query){background:var(--schematic-ui-input);border-color:var(--schematic-border);color:var(--schematic-ink)}:root[data-effective-theme=dark] .schematic-shell :is(input,textarea)::placeholder{color:var(--schematic-ui-muted)}:root[data-effective-theme=dark] .schematic-shell :is(.schematic-toolbar button,.schematic-toolbar-help,.property-segmented button,.property-inline-action button,.property-inline-toggle-action button,.property-command-row button,.property-coupling-list button,.property-primary-command,.analysis-actions button,.net-pick-row button,.instance-dropdown-option,.instance-option,kbd){background:var(--schematic-ui-panel);border-color:var(--schematic-border);color:var(--schematic-ink)}:root[data-effective-theme=dark] .schematic-shell :is(.schematic-toolbar button,.schematic-toolbar-help,.property-segmented button,.property-inline-action button,.net-pick-row button,.analysis-actions button,.instance-dropdown-option,.instance-option):hover{background:var(--schematic-ui-hover);color:var(--schematic-ink)}:root[data-effective-theme=dark] .schematic-shell :is(.schematic-toolbar .is-active,.schematic-toolbar button:active,.property-segmented button.is-selected,.property-segmented button[aria-pressed=true],.property-primary-command,.property-inline-action button[aria-pressed=true],.net-pick-row .is-picking,.instance-dropdown-option.is-active,.instance-option.is-active){background:var(--schematic-ui-selected);border-color:var(--schematic-focus);color:var(--schematic-ink)}:root[data-effective-theme=dark] .schematic-shell .schematic-toolbar button[data-command] svg{color:#111;filter:invert(1) hue-rotate(180deg)}:root[data-effective-theme=dark] .schematic-shell :is(.property-error,.netlist-status[data-state=error],.netlist-status[data-state=blocked],.netlist-diagnostics-head[data-state=error],[data-severity=error] .netlist-diagnostic-severity,.schematic-log-row[data-level=error]){color:var(--schematic-ui-error)}:root[data-effective-theme=dark] .schematic-shell :is(.netlist-status[data-state=warning],.netlist-diagnostics-head[data-state=warning],[data-severity=warning] .netlist-diagnostic-severity,.schematic-log-row[data-level=warn]){color:var(--schematic-ui-warning)}:root[data-effective-theme=dark] .schematic-shell .schematic-storage-error-notice{color:var(--schematic-ui-error);background:#30201e;border-color:#9a645c}:root[data-effective-theme=dark] .schematic-shell .schematic-storage-error-notice button{color:inherit}:root[data-effective-theme=dark] .schematic-shell .schematic-close-snackbar button{color:var(--schematic-focus)}:root[data-effective-theme=dark] .schematic-context-menu{color:#e8e4dc;background:#211f1b;border-color:#706a60}:root[data-effective-theme=dark] .schematic-context-menu button{color:inherit}:root[data-effective-theme=dark] .schematic-context-menu button:is(:hover,:focus-visible){background:#28394a}:root[lang=zh-CN] .schematic-shell{--schematic-mixed-label: "混合"}:root[data-effective-theme=dark] .schematic-shell .schematic-toolbar{border-color:var(--schematic-ui-line);background:var(--schematic-ui-panel)}:root[data-effective-theme=dark] .schematic-document-tabs{border-color:var(--schematic-ui-line);background:var(--schematic-ui-hover)}:root[data-effective-theme=dark] .schematic-document-tab.is-active{border-color:var(--schematic-ui-line);background:var(--schematic-ui-panel)}:root[data-effective-theme=dark] :is(.schematic-document-tab-label,.schematic-document-tab-rename,.schematic-document-tab-close,.schematic-document-tab-new,.schematic-document-tab-action){color:var(--schematic-ui-ink);caret-color:currentColor}:root[data-effective-theme=dark] :is(.schematic-document-tab-close,.schematic-document-tab-new,.schematic-document-tab-action):hover{background:var(--schematic-ui-active)}.schematic-shell>.schematic-palette,.schematic-shell.is-layout-narrow>.schematic-palette{display:flex;flex-direction:column;background:var(--schematic-ui-panel)}.schematic-sidebar-heading{flex:0 0 auto;margin:0;padding:11px 12px;border-bottom:1px solid var(--schematic-ui-line);color:var(--schematic-ui-ink);font:600 16px/1.4 var(--schematic-font-family)}.schematic-sidebar-tabs{display:flex;flex:0 0 auto;align-items:stretch;min-height:36px;gap:2px;padding:6px 8px 0;border-bottom:1px solid var(--schematic-ui-line);background:var(--schematic-ui-panel);overflow-x:auto}.schematic-sidebar-tab{display:inline-flex;align-items:center;justify-content:center;flex:1 1 0;min-width:62px;height:34px;padding:0 8px;border:1px solid transparent;border-bottom:0;background:transparent;color:var(--schematic-ui-muted);font:inherit;font-size:.8rem;line-height:1.2;cursor:pointer}.schematic-sidebar-tab:hover{background:var(--schematic-ui-hover);color:var(--schematic-ui-ink)}.schematic-sidebar-tab.is-active{border-color:var(--schematic-ui-line);border-bottom-color:var(--schematic-ui-panel);background:var(--schematic-ui-panel);color:var(--schematic-ui-ink);font-weight:600}.schematic-sidebar-tab:focus-visible{outline:2px solid var(--schematic-focus);outline-offset:-2px}.schematic-sidebar-panel{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;overflow:hidden}.schematic-sidebar-panel[hidden]{display:none}.schematic-sidebar-panel .palette-title{flex:0 0 auto;padding:9px 10px;color:var(--schematic-ui-ink)}.schematic-sidebar-panel .palette-title-copy>span{display:block}.library-picker{display:flex;flex:0 0 auto;align-items:center;gap:8px;padding:8px 10px;border-bottom:1px solid var(--schematic-ui-line);color:var(--schematic-ui-muted);font-size:.78rem}.library-select{flex:1 1 auto;min-width:0;height:28px;padding:2px 6px;border:1px solid var(--schematic-border);background:var(--schematic-ui-panel);color:var(--schematic-ink);font:inherit;font-size:.8rem}.library-cell-list{flex:1 1 auto;min-height:0;padding:5px 6px 12px;overflow:auto}.library-group-label{padding:9px 6px 3px;color:var(--schematic-ui-muted);font-size:.68rem;letter-spacing:.07em;text-transform:uppercase}.library-cell{display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;min-width:0;min-height:46px;padding:4px 8px;border:1px solid transparent;background:transparent;color:var(--schematic-ink);font:inherit;text-align:left;cursor:pointer}.library-cell:hover,.library-cell:focus-visible{border-color:var(--schematic-ui-line);background:var(--schematic-ui-hover);outline:none}.library-cell-preview{display:grid;place-items:center;width:64px;height:40px;overflow:hidden;color:var(--schematic-ink)}.library-cell-preview svg,.browser-cell-preview svg{width:100%;height:100%;overflow:hidden}.library-cell-preview .palette-symbol-preview text,.browser-cell-preview .palette-symbol-preview text{display:none!important}.library-cell-copy{display:flex;align-items:center;min-width:0}.library-cell-name{overflow:hidden;font-size:.92rem;font-weight:500;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.library-cell-badge{justify-self:end;padding:2px 6px;border:1px solid var(--schematic-ui-line);border-radius:3px;color:var(--schematic-ui-muted);font-size:.64rem;line-height:1.1;white-space:nowrap}.schematic-sidebar-panel .palette-grid[hidden]{display:none}.property-mos-params{display:grid;gap:6px;padding:6px 0;border-top:1px solid var(--schematic-ui-line)}.property-mos-params[hidden]{display:none}.property-device-model{padding-top:6px;border-top:1px solid var(--schematic-ui-line)}.property-device-model:not([hidden])+.property-mos-params{border-top:0;padding-top:0}.layer-toolbar{display:flex;gap:6px;padding:4px 0 6px}.layer-toolbar button{min-height:26px;padding:2px 7px;border:1px solid var(--schematic-border);background:var(--schematic-ui-panel);color:var(--schematic-ui-ink);font:inherit;font-size:.7rem;cursor:pointer}.layer-toolbar button:hover{background:var(--schematic-ui-hover)}.layer-stack{display:grid;gap:3px;padding:2px 0 8px}.layer-stack-group{min-width:0}.layer-stack-row{display:grid;grid-template-columns:16px 16px 16px minmax(0,1fr) 22px 22px;align-items:center;gap:4px;padding:3px 4px;border:1px solid var(--schematic-ui-line);background:var(--schematic-ui-panel)}.layer-stack-row.is-active{border-color:var(--schematic-focus);background:var(--schematic-ui-active)}.layer-stack-row input[type=checkbox]{width:14px;height:14px;margin:0}.layer-stack-row>button{min-width:0;height:24px;padding:0 2px;border:0;background:transparent;color:var(--schematic-ui-ink);font:inherit;font-size:.72rem;cursor:pointer}.layer-select{overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.layer-object-tree{margin:0 0 3px 11px;padding:2px 0 2px 5px;border-left:1px solid var(--schematic-ui-line)}.layer-object-node,.layer-object-row{min-width:0}.layer-object-row{display:grid;grid-template-columns:16px 16px minmax(0,1fr) 20px 20px;align-items:center;gap:2px;min-height:25px;border:1px solid transparent;color:var(--schematic-ui-ink)}.layer-object-visibility{width:14px;height:14px;margin:0}.layer-object-row.is-object-hidden .layer-object-select{opacity:.5}.layer-object-row.is-selected{border-color:var(--schematic-focus);background:var(--schematic-ui-active)}.layer-object-row.is-temporarily-deleted .layer-object-select{opacity:.55;text-decoration:line-through}.layer-object-row>button,.layer-tree-toggle{min-width:0;height:23px;padding:0 3px;border:0;background:transparent;color:inherit;font:inherit;font-size:.7rem;cursor:pointer}.layer-tree-toggle{text-align:center}.layer-object-select{overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.layer-object-row>button:disabled,.layer-object-visibility:disabled{cursor:not-allowed;opacity:.35}.layer-object-children{margin-left:14px;padding-left:3px;border-left:1px dotted var(--schematic-ui-line)}.layer-object-empty{padding:5px 7px;color:var(--schematic-ui-muted);font-size:.68rem;font-style:italic}.schematic-shape-draft{position:absolute;inset:0;z-index:20;width:100%;height:100%;overflow:visible;pointer-events:none}.schematic-shape-finish{position:absolute;z-index:21;inset-block-start:12px;inset-inline-end:12px;min-height:44px;padding:0 12px;border:1px solid var(--schematic-ui-line);border-radius:6px;background:var(--schematic-ui-panel);color:var(--schematic-ui-ink);font:inherit;cursor:pointer}.schematic-shape-finish:disabled{color:var(--schematic-ui-muted);cursor:default}.schematic-shape-finish:focus-visible{outline:2px solid var(--schematic-focus);outline-offset:2px}.schematic-shape-draft[hidden],.schematic-shape-finish[hidden]{display:none}.schematic-shape-draft-shape{fill:none;stroke:var(--schematic-focus);stroke-width:1.5;stroke-dasharray:6 4;vector-effect:non-scaling-stroke}.schematic-shape-draft-grid-point{fill:var(--schematic-paper, #ffffff);stroke:var(--schematic-focus);stroke-width:2;vector-effect:non-scaling-stroke}.schematic-sidebar-panel[data-sidebar-panel=properties]{overflow:hidden}.schematic-sidebar-panel[data-sidebar-panel=properties] .property-editor{height:100%;overflow:auto}.schematic-instance-browser{position:absolute;z-index:40;inset:0;display:grid;place-items:center;padding:22px}.schematic-instance-browser[hidden]{display:none}.schematic-instance-browser-backdrop{position:absolute;inset:0;border:0;background:#0f172a5c;cursor:default}.schematic-instance-browser-dialog{position:relative;z-index:1;display:flex;flex-direction:column;width:min(1080px,100%);height:min(720px,100%);max-height:82vh;overflow:hidden;border:1px solid var(--schematic-border);border-radius:8px;background:var(--schematic-ui-panel);box-shadow:0 24px 70px #00000047}.schematic-instance-browser-header{display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;border-bottom:1px solid var(--schematic-ui-line)}.schematic-instance-browser-header h2{margin:0;font-size:.98rem;font-weight:600}.schematic-instance-browser-close{width:28px;height:28px;padding:0;border:1px solid transparent;background:transparent;color:var(--schematic-ui-muted);font-size:1.1rem;line-height:1;cursor:pointer}.schematic-instance-browser-close:hover{border-color:var(--schematic-ui-line);background:var(--schematic-ui-hover);color:var(--schematic-ink)}.schematic-instance-browser-columns{display:grid;flex:1 1 auto;grid-template-columns:190px minmax(220px,1fr) minmax(300px,34%);min-height:0}.instance-browser-column{display:flex;flex-direction:column;min-width:0;min-height:0;border-right:1px solid var(--schematic-ui-line)}.instance-browser-column:last-child{border-right:0}.instance-browser-column h3{flex:0 0 auto;margin:0;padding:9px 12px;border-bottom:1px solid var(--schematic-ui-line);color:var(--schematic-ui-muted);font-size:.68rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase}.browser-search{flex:0 0 auto;height:30px;margin:8px 10px;padding:3px 8px;border:1px solid var(--schematic-border);background:var(--schematic-ui-panel);color:var(--schematic-ink);font:inherit;font-size:.8rem}.browser-search:focus{border-color:var(--schematic-focus);outline:none;box-shadow:0 0 0 2px #005f9e24}.browser-list{flex:1 1 auto;min-height:0;padding:2px 6px 10px;overflow:auto}.browser-option{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-width:0;padding:6px 7px;border:1px solid transparent;background:transparent;color:var(--schematic-ink);font:inherit;text-align:left;cursor:pointer}.browser-option:hover,.browser-option:focus-visible{background:var(--schematic-ui-hover);outline:none}.browser-option.is-active{border-color:#b9d7ea;background:var(--schematic-ui-active)}.browser-option.is-selected .browser-option-name{font-weight:600}.browser-option-name{overflow:hidden;font-size:.8rem;text-overflow:ellipsis;white-space:nowrap}.browser-option-count,.browser-option-meta{color:var(--schematic-ui-muted);font-size:.7rem}.browser-cell-option{display:grid;grid-template-columns:56px minmax(0,1fr) auto;align-items:center;justify-content:normal;gap:10px;min-height:46px}.browser-cell-preview{width:56px;height:38px;overflow:hidden}.browser-cell-preview svg{display:block;width:100%;height:100%;overflow:hidden}.browser-cell-copy{display:flex;align-items:center;min-width:0;line-height:1.2}.browser-cell-badge{justify-self:end;padding:2px 6px;border:1px solid var(--schematic-ui-line);border-radius:3px;color:var(--schematic-ui-muted);font-size:.64rem;line-height:1.1;white-space:nowrap}.browser-empty{padding:18px 8px;color:var(--schematic-ui-muted);font-size:.78rem;text-align:center}.browser-symbol{border-right:0}.browser-symbol-heading{padding:10px 14px 8px;border-bottom:1px solid var(--schematic-ui-line)}.browser-symbol-preview{flex:0 0 clamp(100px,20vh,155px);box-sizing:border-box;min-height:0;padding:10px 16px;overflow:hidden;color:var(--schematic-ink)}.browser-symbol-preview>svg{display:block;width:100%;height:100%;overflow:hidden}.browser-draft-symbol [data-selector=refLabel]{display:none}:root[data-effective-theme=dark] .schematic-shell .browser-draft-symbol{filter:invert(1) hue-rotate(180deg)}.browser-symbol-name{flex:0 0 auto;font-size:1rem;font-weight:600}.browser-symbol-meta{flex:0 0 auto;margin-top:4px;color:var(--schematic-ui-muted);font-size:.74rem}.browser-instance-properties{flex:1 1 auto;min-height:0;min-width:0;overflow:auto;padding:10px 14px;border-top:1px solid var(--schematic-ui-line)}.browser-instance-properties .property-row:has([data-property-ref]){display:none}.schematic-instance-browser-footer{display:flex;flex:0 0 auto;align-items:center;gap:12px;padding:9px 14px;border-top:1px solid var(--schematic-ui-line)}.browser-hint,.browser-count{color:var(--schematic-ui-muted);font-size:.72rem}.browser-count{margin-left:auto}.browser-place{padding:6px 14px;border:1px solid var(--schematic-focus);background:var(--schematic-focus);color:#fff;font:inherit;font-size:.78rem;cursor:pointer}.browser-place:disabled{opacity:.45;cursor:default}.schematic-shell>.analysis-panel.right-dock{display:flex;flex-direction:column;align-content:stretch;gap:0;padding:0;overflow:hidden;background:var(--schematic-ui-panel)}.right-dock-tabs{flex:0 0 auto}.right-dock-panel{flex:1 1 auto;min-height:0;display:grid;align-content:start;gap:10px;padding:12px;overflow:auto}.right-dock-panel[hidden]{display:none}.hierarchy-body,.hierarchy-header,.hierarchy-sheet-list,.hierarchy-dialog form,.hierarchy-properties:not([hidden]){display:grid;gap:8px;min-width:0}.hierarchy-actions{display:flex;flex-wrap:wrap;gap:4px;align-items:center}.hierarchy-search,.hierarchy-actions button,.hierarchy-breadcrumb button,.hierarchy-dialog input,.hierarchy-dialog select{min-width:0;color:var(--schematic-ink);background:var(--schematic-ui-panel);border:1px solid var(--schematic-ui-line);padding:5px 7px}.hierarchy-actions button:enabled,.hierarchy-breadcrumb button,.hierarchy-sheet summary{cursor:pointer}.hierarchy-toolbar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch}.hierarchy-toolbar button{overflow-wrap:anywhere}.hierarchy-current-path{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:6px;border-top:1px solid var(--schematic-ui-line);padding-top:7px}.hierarchy-breadcrumb{direction:rtl;overflow:auto hidden;scrollbar-width:none}.hierarchy-breadcrumb ol{display:flex;align-items:center;width:max-content;min-width:100%;direction:ltr;gap:4px;margin:0;padding:0;list-style:none}.hierarchy-breadcrumb li{display:flex;align-items:center;gap:4px}.hierarchy-breadcrumb li+li:before{content:"/";opacity:.65}.hierarchy-breadcrumb button{max-width:22ch;border-color:transparent;background:transparent;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;padding:3px 4px}.hierarchy-breadcrumb button[aria-current=page]{font-weight:600}.hierarchy-sheet{border:1px solid var(--schematic-ui-line);padding:6px;overflow-wrap:anywhere}.hierarchy-sheet .hierarchy-actions{margin-top:5px}.hierarchy-fold{margin-top:6px;border-top:1px solid var(--schematic-ui-line);padding-top:6px}.hierarchy-properties{padding:8px 0}.property-editor.has-hierarchy-pin [data-property-component-form],.property-editor.has-hierarchy-pin [data-property-empty]{display:none}.schematic-paper.is-hierarchy-picking [data-sheet-block] [joint-selector=frame]{pointer-events:all}.netlist-panel{display:grid;grid-template-rows:auto repeat(2,minmax(0,1fr));gap:8px;overflow:hidden}.netlist-pane{display:grid;grid-template-rows:auto minmax(0,1fr);gap:4px;min-height:0;min-width:0}.netlist-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.netlist-format{display:inline-flex;border:1px solid var(--schematic-border)}.netlist-format-button{padding:4px 8px;border:0;border-right:1px solid var(--schematic-border);background:transparent;color:var(--schematic-ui-muted);font:inherit;font-size:.72rem;cursor:pointer}.netlist-format-button:last-child{border-right:0}.netlist-format-button.is-active{background:var(--schematic-ui-active);color:var(--schematic-ink);font-weight:600}.netlist-toolbar>button{height:26px;padding:2px 8px;border:1px solid var(--schematic-border);background:var(--schematic-ui-panel);color:var(--schematic-ink);font:inherit;font-size:.72rem;cursor:pointer}.netlist-toolbar>button:hover{background:var(--schematic-ui-hover)}.netlist-toolbar>button:disabled{opacity:.45;cursor:default}.netlist-status{padding:6px 8px;border:1px solid var(--schematic-ui-line);background:var(--schematic-ui-panel);color:var(--schematic-ui-muted);font-size:.74rem}.netlist-status[data-state=ready]{border-color:#b8d8c2;color:#22633a}.netlist-status[data-state=warning]{border-color:#e6d29a;color:#7a5a00}.netlist-status[data-state=blocked],.netlist-status[data-state=error]{border-color:#e0b4b4;color:#8f2424}.netlist-code{margin:0;padding:8px;overflow:auto;border:1px solid var(--schematic-ui-line);background:#fbfbfa;color:var(--schematic-ink);font-family:Consolas,Cascadia Mono,Courier New,monospace;font-size:.72rem;line-height:1.45;white-space:pre}.netlist-line{display:flex;gap:8px;min-width:max-content}.netlist-line-number{min-width:22px;color:var(--schematic-ui-muted);text-align:right;-webkit-user-select:none;user-select:none}.netlist-line-text{white-space:pre}.netlist-token-comment{color:#7a7a72;font-style:italic}.netlist-token-directive{color:#7c3aed;font-weight:600}.netlist-token-device{color:#9a5b13;font-weight:600}.netlist-token-number{color:#0f766e}.netlist-token-node{color:var(--schematic-ink)}.netlist-token-punct{color:#6b7280}.netlist-token-value{color:#a16207}.netlist-diagnostics-head{flex:0 0 auto;padding:5px 8px;border:1px solid var(--schematic-ui-line);background:var(--schematic-ui-panel);color:var(--schematic-ui-muted);font-size:.72rem}.netlist-diagnostics-head[data-state=error]{border-color:#e0b4b4;color:#8f2424}.netlist-diagnostics-head[data-state=warning]{border-color:#e6d29a;color:#7a5a00}.netlist-diagnostics{display:grid;align-content:start;gap:6px;min-height:0;overflow:auto}.netlist-diagnostic{display:grid;gap:3px;width:100%;padding:6px 8px;border:1px solid var(--schematic-ui-line);background:transparent;color:var(--schematic-ink);font:inherit;font-size:.74rem;text-align:left}button.netlist-diagnostic{cursor:pointer}button.netlist-diagnostic:hover{background:var(--schematic-ui-hover)}.netlist-diagnostic-head{display:flex;gap:8px;align-items:center}.netlist-diagnostic-severity{font-size:.62rem;font-weight:700;letter-spacing:.04em}.netlist-diagnostic[data-severity=error] .netlist-diagnostic-severity{color:#b91c1c}.netlist-diagnostic[data-severity=warning] .netlist-diagnostic-severity{color:#a16207}.netlist-diagnostic-code{color:var(--schematic-ui-muted);font-family:Consolas,Cascadia Mono,Courier New,monospace;font-size:.66rem}.netlist-diagnostic-message{line-height:1.35;overflow-wrap:anywhere}:root[data-effective-theme=dark] .schematic-shell .netlist-code{background:#1b1a17}:root[data-effective-theme=dark] .schematic-shell .netlist-status[data-state=ready]{border-color:#3f6049;color:#9fd6b1}:root[data-effective-theme=dark] .schematic-shell .netlist-token-comment{color:#8d8d84}:root[data-effective-theme=dark] .schematic-shell .netlist-token-directive{color:#c4a7ff}:root[data-effective-theme=dark] .schematic-shell .netlist-token-device{color:#e0a45e}:root[data-effective-theme=dark] .schematic-shell .netlist-token-number{color:#7ed7c7}:root[data-effective-theme=dark] .schematic-shell .netlist-token-value{color:#e8c574}.schematic-log-drawer{position:absolute;z-index:30;right:0;bottom:36px;left:0;display:flex;flex-direction:column;height:230px;max-height:calc(100% - 80px);border-top:1px solid var(--schematic-ui-line);background:var(--schematic-ui-panel);box-shadow:0 -8px 26px #00000021}.schematic-log-drawer[hidden]{display:none}.schematic-log-resizer{position:relative;flex:0 0 auto;height:8px;cursor:row-resize;touch-action:none;border-bottom:1px solid var(--schematic-ui-line);background:var(--schematic-ui-panel)}.schematic-log-resizer:after{position:absolute;top:3px;left:50%;width:44px;height:2px;border-radius:1px;background:var(--schematic-border);content:"";transform:translate(-50%)}.schematic-log-resizer:hover:after,.schematic-log-resizer:focus-visible:after,.schematic-shell.is-log-resizing .schematic-log-resizer:after{background:var(--schematic-focus)}.schematic-log-resizer:focus-visible{outline:2px solid var(--schematic-focus);outline-offset:-2px}.schematic-shell.is-log-resizing{cursor:row-resize;-webkit-user-select:none;user-select:none}.schematic-log-header{display:flex;flex:0 0 auto;align-items:center;gap:7px;padding:7px 10px;border-bottom:1px solid var(--schematic-ui-line)}.schematic-log-header strong{font-size:.8rem}.schematic-log-header select,.schematic-log-header input,.schematic-log-header button{height:26px;padding:2px 7px;border:1px solid var(--schematic-border);background:var(--schematic-ui-panel);color:var(--schematic-ink);font:inherit;font-size:.74rem}.schematic-log-header input{flex:1 1 auto;min-width:80px}.schematic-log-header button{cursor:pointer}.schematic-log-header button:hover{background:var(--schematic-ui-hover)}.schematic-log-close{width:26px;padding:0!important;font-size:1rem!important}.schematic-log-list{flex:1 1 auto;min-height:0;padding:4px 8px 8px;overflow:auto;font-size:.74rem}.schematic-log-row{display:grid;grid-template-columns:68px 48px 72px minmax(0,1fr);gap:8px;padding:3px 2px;border-bottom:1px solid var(--schematic-ui-line);line-height:1.35}.schematic-log-time,.schematic-log-source{color:var(--schematic-ui-muted);font-variant-numeric:tabular-nums}.schematic-log-level{font-weight:600}.schematic-log-row[data-level=warn] .schematic-log-level{color:#a16207}.schematic-log-row[data-level=error] .schematic-log-level{color:#b91c1c}.schematic-log-message{min-width:0;overflow-wrap:anywhere}.schematic-log-empty{padding:16px 8px;color:var(--schematic-ui-muted);text-align:center}.schematic-statusbar{display:flex;align-items:center;gap:8px;min-width:0;border-top:1px solid var(--schematic-ui-line);background:var(--schematic-ui-panel)}.schematic-statusbar .schematic-status{flex:1 1 auto;min-width:0;padding:7px 10px;border-top:0;color:var(--schematic-ui-muted)}.schematic-status-actions{display:flex;flex:0 0 auto;align-items:center;gap:6px;padding-right:8px}.schematic-status-count{padding:1px 6px;border-radius:9px;background:#fef3c7;color:#92400e;font-size:.7rem}.schematic-status-count[hidden]{display:none}.schematic-status-log{padding:3px 8px;border:1px solid var(--schematic-border);background:var(--schematic-ui-panel);color:var(--schematic-ink);font:inherit;font-size:.72rem;cursor:pointer}.schematic-status-log:hover,.schematic-status-log[aria-expanded=true]{background:var(--schematic-ui-hover)}@media(max-width:860px){.schematic-instance-browser{padding:8px}.schematic-instance-browser-dialog{width:100%;height:100%;max-height:none;border-radius:0}.schematic-instance-browser-columns{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:minmax(140px,1fr) minmax(240px,52%)}.instance-browser-column.browser-symbol{grid-column:1 / -1;border-top:1px solid var(--schematic-ui-line)}.browser-symbol-preview{flex-basis:98px}}@media(max-width:560px){.schematic-instance-browser-columns{grid-template-columns:minmax(0,1fr);grid-template-rows:145px 200px 310px;overflow:auto}.instance-browser-column.browser-symbol{grid-column:auto}.schematic-instance-browser-footer{flex-wrap:wrap}.browser-count{margin-left:0}.schematic-log-row{grid-template-columns:58px 42px minmax(0,1fr)}.schematic-log-source{display:none}}
