.circuit-repair,.circuit-overlay-scope{--type-1: #7ed321;--type-1-edge: #5db417;--type-2: #64b5f6;--type-2-edge: #1976d2}:where(.circuit-repair,.circuit-overlay-scope) .region-WL{--type-1: #20b2aa;--type-1-edge: #1e8e88;--type-2: #f5a623;--type-2-edge: #c88413}:where(.circuit-repair,.circuit-overlay-scope) .icon-button{display:grid;width:38px;height:38px;place-items:center;flex:0 0 38px;padding:0;border:1.5px solid #cbd4de;border-radius:8px;background:#fff;color:#607083;cursor:pointer;font-size:1.2rem}:where(.circuit-repair,.circuit-overlay-scope) .component-panel__refresh{width:32px;height:32px;flex-basis:32px;border-color:transparent;background:transparent}:where(.circuit-repair,.circuit-overlay-scope) .component-panel__refresh svg{width:17px;height:17px}:where(.circuit-repair,.circuit-overlay-scope) .component-panel__refresh:hover:not(:disabled){border-color:var(--line);background:var(--white)}:where(.circuit-repair,.circuit-overlay-scope) .component-panel__refresh:disabled{opacity:.5}.circuit-repair .setup-grid{--setup-grid-columns: minmax(320px, 1.4fr) minmax(180px, .7fr) minmax(220px, .8fr) minmax(250px, 1fr)}:where(.circuit-repair,.circuit-overlay-scope) .select-control{position:relative;display:block}:where(.circuit-repair,.circuit-overlay-scope) .select-control select{width:100%;height:38px;padding:5px 34px 5px 12px;border:1.5px solid #cbd2da;border-radius:8px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:#fff;color:#34495e;cursor:pointer;font-weight:680}:where(.circuit-repair,.circuit-overlay-scope) .select-control>span{position:absolute;top:50%;right:12px;color:#6e7c8d;pointer-events:none;transform:translateY(-55%)}.circuit-repair .switch-control input:checked+.switch-control__track{border-color:var(--type-2-edge);background:var(--type-2)}:where(.circuit-repair,.circuit-overlay-scope) .segmented-control{display:grid;grid-template-columns:1fr 1fr;padding:3px;border:1px solid #d3dae2;border-radius:9px;background:#edf0f3}:where(.circuit-repair,.circuit-overlay-scope) .segmented-control button{min-height:30px;padding:4px 9px;border:0;border-radius:6px;background:transparent;color:#738092;cursor:pointer;font-size:.78rem;font-weight:700}:where(.circuit-repair,.circuit-overlay-scope) .segmented-control button.active{background:#fff;color:#326f9d;box-shadow:0 1px 4px #33435521}.circuit-repair .workspace{grid-template-columns:minmax(0,1.35fr) minmax(340px,.65fr)}.circuit-repair .workspace>.board-panel,.circuit-repair .workspace>.component-panel{height:var(--workspace-height)}:where(.circuit-repair,.circuit-overlay-scope) .board-instructions{display:flex;align-items:center;justify-content:center;margin:10px 0 -2px}:where(.circuit-repair,.circuit-overlay-scope) .axis-legend{display:flex;gap:7px;flex-wrap:wrap}:where(.circuit-repair,.circuit-overlay-scope) .axis-legend__item{display:inline-flex;align-items:center;gap:6px;color:#637184;font-size:.7rem;font-weight:720}:where(.circuit-repair,.circuit-overlay-scope) .axis-legend__item i,:where(.circuit-repair,.circuit-overlay-scope) .type-dot{display:inline-block;width:8px;height:8px;border:2px solid var(--type-1-edge);border-radius:50%;background:var(--type-1)}:where(.circuit-repair,.circuit-overlay-scope) .axis-legend__item--type-2 i,:where(.circuit-repair,.circuit-overlay-scope) .type-dot--2{border-color:var(--type-2-edge);background:var(--type-2)}.circuit-repair .board-scroll{display:grid;min-height:0;padding:20px;place-items:center}:where(.circuit-repair,.circuit-overlay-scope) .circuit-stage{display:grid;grid-template-columns:max-content max-content;grid-template-rows:max-content max-content;width:max-content;min-width:100%;place-content:center;-webkit-user-select:none;user-select:none}:where(.circuit-repair,.circuit-overlay-scope) .axis-corner{position:relative;display:block;min-width:var(--cell-size);min-height:var(--cell-size);align-self:stretch;margin:0 8px 8px 0;border:1px solid #d7dee6;border-radius:9px;background:#ffffffb8;color:#7b8897;font-size:.65rem;font-weight:750}:where(.circuit-repair,.circuit-overlay-scope) .axis-corner i{position:absolute;top:7px;right:7px;bottom:7px;left:7px;background:linear-gradient(to top right,transparent calc(50% - .75px),#c4ced8 calc(50% - .75px),#c4ced8 calc(50% + .75px),transparent calc(50% + .75px))}:where(.circuit-repair,.circuit-overlay-scope) .axis-corner span{position:absolute;z-index:1;line-height:1}:where(.circuit-repair,.circuit-overlay-scope) .axis-corner span:first-child{top:7px;right:9px}:where(.circuit-repair,.circuit-overlay-scope) .axis-corner span:last-child{bottom:7px;left:9px}:where(.circuit-repair,.circuit-overlay-scope) .column-axes{display:flex;flex-direction:column;justify-content:flex-end;gap:4px;padding-bottom:8px}:where(.circuit-repair,.circuit-overlay-scope) .row-axes{display:flex;justify-content:flex-end;gap:4px;padding-right:8px}:where(.circuit-repair,.circuit-overlay-scope) .axis-track{display:grid;position:relative}:where(.circuit-repair,.circuit-overlay-scope) .axis-track--column{grid-template-columns:repeat(var(--board-columns),var(--cell-size));width:calc(var(--board-columns) * var(--cell-size));height:var(--cell-size);align-items:center}:where(.circuit-repair,.circuit-overlay-scope) .axis-track--row{grid-template-rows:repeat(var(--board-rows),var(--cell-size));width:var(--cell-size);height:calc(var(--board-rows) * var(--cell-size));align-items:center}:where(.circuit-repair,.circuit-overlay-scope) .axis-track--type-1{border-radius:9px;background:color-mix(in srgb,var(--type-1) 11%,var(--board-field-surface))}:where(.circuit-repair,.circuit-overlay-scope) .axis-track--type-2{border-radius:9px;background:color-mix(in srgb,var(--type-2) 12%,var(--board-field-surface))}:where(.circuit-repair,.circuit-overlay-scope) .column-axes .axis-track--type-1{border-top:2px solid color-mix(in srgb,var(--type-1-edge) 65%,transparent)}:where(.circuit-repair,.circuit-overlay-scope) .column-axes .axis-track--type-2{border-top:2px solid color-mix(in srgb,var(--type-2-edge) 65%,transparent)}:where(.circuit-repair,.circuit-overlay-scope) .row-axes .axis-track--type-1{border-left:2px solid color-mix(in srgb,var(--type-1-edge) 65%,transparent)}:where(.circuit-repair,.circuit-overlay-scope) .row-axes .axis-track--type-2{border-left:2px solid color-mix(in srgb,var(--type-2-edge) 65%,transparent)}:where(.circuit-repair,.circuit-overlay-scope) .target-counter{display:grid;width:clamp(38px,calc(var(--cell-size) - 8px),56px);height:36px;place-items:center;justify-self:center;align-self:center;padding:2px;border:1.5px solid #cbd2da;border-radius:7px;background:#fff;color:#34495e;font-size:.82rem;font-weight:760;text-align:center;transition:border-color .15s ease,box-shadow .15s ease,transform .1s ease}:where(.circuit-repair,.circuit-overlay-scope) .target-counter--type-1{border-color:color-mix(in srgb,var(--type-1-edge) 58%,#cbd2da)}:where(.circuit-repair,.circuit-overlay-scope) .target-counter--type-2{border-color:color-mix(in srgb,var(--type-2-edge) 58%,#cbd2da)}:where(.circuit-repair,.circuit-overlay-scope) .target-counter--input:focus{border-color:var(--blue);box-shadow:0 0 0 3px #409eff1f;outline:0}:where(.circuit-repair,.circuit-overlay-scope) .target-counter--stepper{grid-template-columns:minmax(11px,.8fr) minmax(14px,1fr) minmax(11px,.8fr);gap:1px;padding:2px}:where(.circuit-repair,.circuit-overlay-scope) .target-counter--stepper:focus-within{border-color:var(--blue);box-shadow:0 0 0 3px #409eff1f}:where(.circuit-repair,.circuit-overlay-scope) .target-counter--stepper button,:where(.circuit-repair,.circuit-overlay-scope) .target-counter--stepper output{display:grid;min-width:0;height:30px;place-items:center;padding:0;border:0;border-radius:4px;background:transparent;color:inherit;line-height:1}:where(.circuit-repair,.circuit-overlay-scope) .target-counter--stepper button{cursor:pointer;color:#758294;font-size:.82rem;font-weight:760;transition:background-color .12s ease,color .12s ease}:where(.circuit-repair,.circuit-overlay-scope) .target-counter--stepper button:hover:not(:disabled){background:#ffffffc7;color:#2f6f9f}:where(.circuit-repair,.circuit-overlay-scope) .target-counter--stepper button:disabled{color:#c2c9d1}:where(.circuit-repair,.circuit-overlay-scope) .target-counter--stepper output{font-size:.78rem;font-weight:780}:where(.circuit-repair,.circuit-overlay-scope) .target-counter--type-1.target-counter--stepper{background:color-mix(in srgb,var(--type-1) 12%,#fff)}:where(.circuit-repair,.circuit-overlay-scope) .target-counter--type-2.target-counter--stepper{background:color-mix(in srgb,var(--type-2) 12%,#fff)}:where(.circuit-repair,.circuit-overlay-scope) .circuit-grid{position:relative;display:grid;grid-template-columns:repeat(var(--board-columns),var(--cell-size));grid-template-rows:repeat(var(--board-rows),var(--cell-size));width:calc(var(--board-columns) * var(--cell-size));height:calc(var(--board-rows) * var(--cell-size));overflow:hidden;border-radius:9px;background-color:#fff;box-shadow:inset 0 0 5px #ccc,0 2px 7px #2a37461a;isolation:isolate;touch-action:manipulation}:where(.circuit-repair,.circuit-overlay-scope) .circuit-cell:hover:not(:disabled):not(.circuit-cell--placed){z-index:4;box-shadow:inset 0 0 0 2px #409eff59}:where(.circuit-repair,.circuit-overlay-scope) .circuit-cell:active:not(:disabled){transform:scale(.95)}:where(.circuit-repair,.circuit-overlay-scope) .circuit-cell:disabled{cursor:wait}:where(.circuit-repair,.circuit-overlay-scope) .circuit-cell__ornament{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;color:var(--cell-ornament, var(--puzzle-cell-empty-ink));opacity:.34;background:linear-gradient(45deg,transparent 43%,currentcolor 44% 56%,transparent 57%) left 7px top 7px / 10px 10px no-repeat,linear-gradient(-45deg,transparent 43%,currentcolor 44% 56%,transparent 57%) right 7px top 7px / 10px 10px no-repeat,linear-gradient(-45deg,transparent 43%,currentcolor 44% 56%,transparent 57%) left 7px bottom 7px / 10px 10px no-repeat,linear-gradient(45deg,transparent 43%,currentcolor 44% 56%,transparent 57%) right 7px bottom 7px / 10px 10px no-repeat;content:"";pointer-events:none}:where(.circuit-repair,.circuit-overlay-scope) .circuit-cell__ornament:after{position:absolute;top:50%;left:50%;width:4px;height:4px;border-radius:1px;background:currentcolor;content:"";transform:translate(-50%,-50%)}:where(.circuit-repair,.circuit-overlay-scope) :is(.circuit-cell--locked,.circuit-cell--relocked,.circuit-cell--placed) .circuit-cell__ornament:after{opacity:0}:where(.circuit-repair,.circuit-overlay-scope) .circuit-cell__state-icon{position:relative;z-index:2;width:clamp(20px,calc(var(--cell-size) * .42),25px);height:clamp(20px,calc(var(--cell-size) * .42),25px);pointer-events:none}:where(.circuit-repair,.circuit-overlay-scope) .circuit-cell--disabled{border:2px solid #666e73;background:repeating-linear-gradient(135deg,#858b8f 0,#858b8f 3px,#a0a5a8 3px,#a0a5a8 6px);box-shadow:inset 0 0 0 1px #ffffff21,inset 0 0 7px #22292d24;animation:cell-disabled-enter .14s ease-out}:where(.circuit-repair,.circuit-overlay-scope) .circuit-cell__state-icon--disabled{width:clamp(30px,calc(var(--cell-size) * .58),36px);height:clamp(30px,calc(var(--cell-size) * .58),36px);filter:drop-shadow(0 1px 0 rgb(255 255 255 / 16%)) drop-shadow(0 1px 2px rgb(44 51 55 / 18%))}:where(.circuit-repair,.circuit-overlay-scope) .circuit-cell__disabled-backdrop{fill:#858b8f;stroke:none}:where(.circuit-repair,.circuit-overlay-scope) .circuit-cell__disabled-backdrop-extension{fill:none;stroke:#858b8f;stroke-linecap:round;stroke-width:6.5}:where(.circuit-repair,.circuit-overlay-scope) :is(.circuit-cell__disabled-ring,.circuit-cell__disabled-slash){fill:none;stroke:#a0a5a8;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.65}:where(.circuit-repair,.circuit-overlay-scope) .circuit-cell--locked{--cell-state-color: var(--type-1);--cell-state-edge: var(--type-1-edge);animation:cell-locked-enter .14s ease-out}:where(.circuit-repair,.circuit-overlay-scope) .circuit-cell--relocked{--cell-state-color: var(--type-2);--cell-state-edge: var(--type-2-edge);animation:cell-relocked-enter .14s ease-out}:where(.circuit-repair,.circuit-overlay-scope) :is(.circuit-cell--locked,.circuit-cell--relocked){--cell-state-outline: color-mix(in srgb, var(--cell-state-edge) 18%, #020608);--cell-state-rim: color-mix(in srgb, var(--cell-state-color) 75%, #fff);--cell-state-inner-outline: color-mix(in srgb, var(--cell-state-edge) 21%, #020608);--cell-state-fill: color-mix(in srgb, var(--cell-state-color) 62%, #10191d);--cell-state-mark: color-mix(in srgb, var(--cell-state-color) 48%, #fff);--cell-ornament: var(--cell-state-mark);border:2px solid var(--cell-state-outline);background:var(--cell-state-fill);box-shadow:inset 0 0 0 3px var(--cell-state-rim),inset 0 0 0 4px var(--cell-state-inner-outline)}:where(.circuit-repair,.circuit-overlay-scope) :is(.circuit-cell--locked,.circuit-cell--relocked) .circuit-cell__ornament{opacity:.72}:where(.circuit-repair,.circuit-overlay-scope) .circuit-cell__state-icon--lock{color:var(--cell-state-mark);filter:drop-shadow(0 0 1px var(--cell-state-outline)) drop-shadow(0 1px 0 rgb(0 0 0 / 24%))}:where(.circuit-repair,.circuit-overlay-scope) .circuit-cell__lock-shackle{fill:none;stroke:currentcolor;stroke-linecap:round;stroke-width:2.4}:where(.circuit-repair,.circuit-overlay-scope) .circuit-cell__lock-body{fill:currentcolor;stroke:var(--cell-state-outline);stroke-width:.7;paint-order:stroke fill}:where(.circuit-repair,.circuit-overlay-scope) .circuit-cell--type-1{--component-color: var(--type-1);--component-edge: var(--type-1-edge)}:where(.circuit-repair,.circuit-overlay-scope) .circuit-cell--type-2{--component-color: var(--type-2);--component-edge: var(--type-2-edge)}:where(.circuit-repair,.circuit-overlay-scope) .circuit-cell--placed{--component-outline: color-mix(in srgb, var(--component-edge) 17%, #020608);--component-rim: color-mix(in srgb, var(--component-color) 75%, #fff);--component-inner-outline: color-mix(in srgb, var(--component-edge) 20%, #020608);--component-fill: var(--component-color);--component-corner-radius: clamp(5px, calc(var(--cell-size) * .1), 6px);--cell-ornament: var(--component-rim);z-index:1;border:0;border-radius:7px;background:var(--component-fill);color:#fff;box-shadow:none;font-weight:700;animation:solution-cell-enter .16s ease-out both}:where(.circuit-repair,.circuit-overlay-scope) .circuit-cell--tone-a{--component-fill: color-mix(in srgb, var(--component-color) 91%, #fff)}:where(.circuit-repair,.circuit-overlay-scope) .circuit-cell--tone-b{--component-fill: color-mix(in srgb, var(--component-color) 91%, #061015)}:where(.circuit-repair,.circuit-overlay-scope) .circuit-component-contours{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;display:block;width:100%;height:100%;overflow:hidden;pointer-events:none}:where(.circuit-repair,.circuit-overlay-scope) .circuit-component-contour--type-1{--component-color: var(--type-1);--component-edge: var(--type-1-edge)}:where(.circuit-repair,.circuit-overlay-scope) .circuit-component-contour--type-2{--component-color: var(--type-2);--component-edge: var(--type-2-edge)}:where(.circuit-repair,.circuit-overlay-scope) .circuit-component-contour{--component-outline: color-mix(in srgb, var(--component-edge) 17%, #020608);--component-rim: color-mix(in srgb, var(--component-color) 75%, #fff)}:where(.circuit-repair,.circuit-overlay-scope) .circuit-component-contour path{fill:none;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}:where(.circuit-repair,.circuit-overlay-scope) .circuit-component-contour__underlay{stroke:var(--component-outline);stroke-width:clamp(13px,calc(var(--cell-size) * .235),15px)}:where(.circuit-repair,.circuit-overlay-scope) .circuit-component-contour__rim{stroke:var(--component-rim);stroke-width:clamp(10px,calc(var(--cell-size) * .19),12px)}:where(.circuit-repair,.circuit-overlay-scope) .circuit-component-contour__boundary{stroke:var(--component-outline);stroke-width:4px}:where(.circuit-repair,.circuit-overlay-scope) .circuit-cell--placed .circuit-cell__ornament{opacity:.38}:where(.circuit-repair,.circuit-overlay-scope) .component-instance-label{position:absolute;top:calc(var(--component-anchor-row) * var(--cell-size) + 8px);left:calc(var(--component-anchor-column) * var(--cell-size) + 8px);z-index:3;display:grid;min-width:16px;height:16px;place-items:center;padding:0 4px;border:1px solid rgb(255 255 255 / 34%);border-radius:8px;background:#020608ad;color:#ffffffe0;font-size:.6rem;font-weight:760;line-height:1;text-shadow:0 1px 1px rgb(0 0 0 / 36%);pointer-events:none;-webkit-user-select:none;user-select:none}:where(.circuit-repair,.circuit-overlay-scope) .component-panel{display:flex;min-height:0;flex-direction:column;overflow:hidden}:where(.circuit-repair,.circuit-overlay-scope) .component-list{display:flex;min-height:0;flex:1;flex-direction:column;gap:9px;padding-right:5px;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#bcc6d2 transparent;scrollbar-width:thin}:where(.circuit-repair,.circuit-overlay-scope) .component-card{--inventory-strip-width: 38px;--inventory-strip-height: 2px;--inventory-strip-color: var(--component-color);display:grid;grid-template-columns:minmax(116px,.85fr) minmax(156px,1.15fr);gap:10px;align-items:center;padding:10px;border-left:3px solid color-mix(in srgb,var(--component-color) 70%,#8793a1);background:#fff;transition:border-color .16s ease,box-shadow .16s ease;flex:0 0 auto}:where(.circuit-repair,.circuit-overlay-scope) .component-list .component-card{content-visibility:auto;contain-intrinsic-size:auto 86px}:where(.circuit-repair,.circuit-overlay-scope) .component-card--active{border-color:color-mix(in srgb,var(--component-color) 28%,#d9dee5);box-shadow:0 2px 8px color-mix(in srgb,var(--component-color) 10%,transparent)}:where(.circuit-repair,.circuit-overlay-scope) .component-card__identity{display:flex;min-width:0;align-items:center;gap:9px}:where(.circuit-repair,.circuit-overlay-scope) .component-card__preview{display:grid;width:64px;height:64px;place-items:center;flex:0 0 64px;border:1px solid #e2e6eb;border-radius:8px;background:linear-gradient(135deg,rgb(236 240 244 / 75%) 1px,transparent 1px 8px),#f9fafb;background-size:8px 8px}:where(.circuit-repair,.circuit-overlay-scope) .component-card h3{margin:0;overflow:hidden;color:#425367;font-size:.78rem;font-weight:720;line-height:1.35;text-overflow:ellipsis}:where(.circuit-repair,.circuit-overlay-scope) .component-card__counts{display:flex;flex-direction:column;gap:7px}:where(.circuit-repair,.circuit-overlay-scope) .component-card__counts>label{display:grid;grid-template-columns:minmax(44px,.65fr) minmax(112px,1.35fr);gap:7px;align-items:center}:where(.circuit-repair,.circuit-overlay-scope) .component-card__counts>label>span{display:flex;min-width:0;align-items:center;gap:5px;overflow:hidden;color:#677587;font-size:.75rem;font-weight:700;text-overflow:ellipsis;white-space:nowrap}:where(.circuit-repair,.circuit-overlay-scope) .component-shape{display:grid;grid-template-columns:repeat(var(--shape-columns),var(--shape-unit));grid-template-rows:repeat(var(--shape-rows),var(--shape-unit));width:calc(var(--shape-columns) * var(--shape-unit));height:calc(var(--shape-rows) * var(--shape-unit))}:where(.circuit-repair,.circuit-overlay-scope) .component-shape i{width:var(--shape-unit);height:var(--shape-unit);opacity:0;border:1px solid color-mix(in srgb,var(--component-color) 72%,#566474);border-radius:calc(var(--shape-unit) * .25)}:where(.circuit-repair,.circuit-overlay-scope) .component-shape .component-shape__cell--filled{opacity:1;background:var(--component-color);box-shadow:inset 0 0 0 1px #ffffff38}:where(.circuit-repair,.circuit-overlay-scope) .count-stepper--type-1 input:focus{border-color:var(--type-1-edge);outline:0}:where(.circuit-repair,.circuit-overlay-scope) .count-stepper--type-2 input:focus{border-color:var(--type-2-edge);outline:0}:where(.circuit-repair,.circuit-overlay-scope) .component-panel__actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:12px}:where(.circuit-repair,.circuit-overlay-scope) .component-panel__actions .button{padding-inline:10px;font-size:.78rem}:where(.circuit-repair,.circuit-overlay-scope) .catalog-placeholder{display:flex;min-height:120px;align-items:center;justify-content:center;gap:9px;padding:18px;border:1px dashed #ccd4dc;border-radius:9px;color:#7d8997;font-size:.8rem;text-align:center}:where(.circuit-repair,.circuit-overlay-scope) .loading-spinner{display:inline-block;width:15px;height:15px;border:2px solid currentcolor;border-right-color:transparent;border-radius:50%;animation:shared-spin .7s linear infinite}.circuit-repair .action-bar{width:min(100%,700px);grid-template-columns:minmax(170px,1.2fr) repeat(3,minmax(110px,.8fr))}.circuit-repair .action-bar .button{width:100%;min-width:0;padding-inline:10px}:where(.circuit-repair,.circuit-overlay-scope) .action-bar__calculate{min-height:46px}:where(.circuit-repair,.circuit-overlay-scope) .preset-panel{margin-top:20px}:where(.circuit-repair,.circuit-overlay-scope) .preset-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}:where(.circuit-repair,.circuit-overlay-scope) .preset-browser{min-width:0}:where(.circuit-repair,.circuit-overlay-scope) .search-field{position:relative;display:block;margin-bottom:10px}:where(.circuit-repair,.circuit-overlay-scope) .search-field input{width:100%;height:40px;padding:7px 12px 7px 38px;border:1.5px solid #cbd2da;border-radius:8px;background:#fff;color:#34495e;font-size:.86rem}:where(.circuit-repair,.circuit-overlay-scope) .search-field input:focus{border-color:var(--blue);box-shadow:0 0 0 3px #409eff1c;outline:0}:where(.circuit-repair,.circuit-overlay-scope) .search-field__icon{position:absolute;z-index:1;top:12px;left:14px;width:12px;height:12px;border:2px solid #8794a4;border-radius:50%;pointer-events:none}:where(.circuit-repair,.circuit-overlay-scope) .search-field__icon:after{position:absolute;right:-5px;bottom:-3px;width:6px;height:2px;background:#8794a4;content:"";transform:rotate(45deg)}:where(.circuit-repair,.circuit-overlay-scope) .preset-tree{max-height:360px;overflow-y:auto;border:1px solid #d7dde4;border-radius:9px;background:#fff;scrollbar-color:#bcc6d2 transparent;scrollbar-width:thin}:where(.circuit-repair,.circuit-overlay-scope) .preset-tree button{width:100%;border:0;color:#425468;cursor:pointer;text-align:left}:where(.circuit-repair,.circuit-overlay-scope) .preset-tree__region,:where(.circuit-repair,.circuit-overlay-scope) .preset-tree__tab{display:grid;grid-template-columns:17px 1fr auto;gap:7px;align-items:center}:where(.circuit-repair,.circuit-overlay-scope) .preset-tree__region{min-height:42px;padding:8px 13px;border-bottom:1px solid #dfe4e9!important;background:#eef1f4;font-size:.83rem}:where(.circuit-repair,.circuit-overlay-scope) .preset-tree__tab{min-height:38px;padding:7px 13px 7px 28px;border-bottom:1px solid #e7eaee!important;background:#f8f9fa;font-size:.78rem;font-weight:680}:where(.circuit-repair,.circuit-overlay-scope) .preset-tree__region:hover:not(:disabled),:where(.circuit-repair,.circuit-overlay-scope) .preset-tree__tab:hover:not(:disabled){background:#e8edf1}:where(.circuit-repair,.circuit-overlay-scope) .tree-chevron{width:7px;height:7px;border-right:1.5px solid currentcolor;border-bottom:1.5px solid currentcolor;transform:rotate(-45deg);transition:transform .15s ease}:where(.circuit-repair,.circuit-overlay-scope) [aria-expanded=true]>.tree-chevron{transform:rotate(45deg) translate(-1px,-1px)}:where(.circuit-repair,.circuit-overlay-scope) .preset-items{background:#fff}:where(.circuit-repair,.circuit-overlay-scope) .preset-item{position:relative;display:grid;grid-template-columns:1fr 14px;gap:8px;align-items:center;min-height:38px;padding:7px 13px 7px 49px;border-bottom:1px solid #edf0f3!important;background:#fff;font-size:.77rem}:where(.circuit-repair,.circuit-overlay-scope) .preset-item:hover:not(:disabled){background:#f3f8fc}:where(.circuit-repair,.circuit-overlay-scope) .preset-item--selected{background:#e5f2fc;color:#266c9e!important;font-weight:720}:where(.circuit-repair,.circuit-overlay-scope) .preset-item i{width:8px;height:8px;justify-self:end;border:1.5px solid #a7b2be;border-radius:50%}:where(.circuit-repair,.circuit-overlay-scope) .preset-item--selected i{border:2px solid #ffffff;background:#409eff;box-shadow:0 0 0 1px #409eff}:where(.circuit-repair,.circuit-overlay-scope) .preset-actions{display:grid;width:min(100%,560px);grid-template-columns:minmax(160px,1.1fr) minmax(260px,1.8fr);gap:8px;justify-self:center}:where(.circuit-repair,.circuit-overlay-scope) .preset-actions>.button{width:100%}:where(.circuit-repair,.circuit-overlay-scope) .preset-actions__secondary{display:grid;grid-template-columns:1fr 1fr;gap:7px}:where(.circuit-repair,.circuit-overlay-scope) .preset-actions__secondary .button{padding-inline:8px;font-size:.76rem}:where(.circuit-repair,.circuit-overlay-scope) .dialog-panel{display:flex;width:min(100%,620px);max-height:min(90vh,760px);flex-direction:column;overflow:hidden;border:1px solid #d5dce3;border-radius:12px;background:#fff;box-shadow:0 22px 70px #151f2a52;animation:dialog-enter .18s ease-out}:where(.circuit-repair,.circuit-overlay-scope) .dialog-panel--small{width:min(100%,450px)}:where(.circuit-repair,.circuit-overlay-scope) .dialog-panel--large{width:min(100%,820px)}:where(.circuit-repair,.circuit-overlay-scope) .dialog-panel--wide{width:min(100%,1180px);height:min(90vh,820px)}:where(.circuit-repair,.circuit-overlay-scope) .dialog-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;border-bottom:1px solid #e1e5e9}:where(.circuit-repair,.circuit-overlay-scope) .dialog-header h2{margin:0;color:#34495e;font-size:1.08rem}:where(.circuit-repair,.circuit-overlay-scope) .dialog-close{display:grid;width:34px;height:34px;place-items:center;padding:0;border:0;border-radius:50%;background:transparent;color:#8994a0;cursor:pointer;font-size:1.5rem;line-height:1}:where(.circuit-repair,.circuit-overlay-scope) .dialog-close:hover{background:#eef1f4;color:#425365}:where(.circuit-repair,.circuit-overlay-scope) .dialog-body{flex:1;padding:18px;overflow:auto}:where(.circuit-repair,.circuit-overlay-scope) .dialog-footer{display:flex;justify-content:flex-end;gap:9px;padding:13px 18px;border-top:1px solid #e1e5e9;background:#f8f9fa}:where(.circuit-repair,.circuit-overlay-scope) .dialog-field{display:flex;flex-direction:column;gap:7px;color:#4d5f73;font-size:.8rem;font-weight:700}:where(.circuit-repair,.circuit-overlay-scope) .dialog-field input,:where(.circuit-repair,.circuit-overlay-scope) .dialog-field textarea{width:100%;padding:9px 11px;border:1.5px solid #cbd2da;border-radius:8px;background:#fff;color:#34495e;font-size:.86rem;font-weight:500;resize:vertical}:where(.circuit-repair,.circuit-overlay-scope) .dialog-field textarea{min-height:190px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;line-height:1.5}:where(.circuit-repair,.circuit-overlay-scope) .dialog-field input:focus,:where(.circuit-repair,.circuit-overlay-scope) .dialog-field textarea:focus{border-color:var(--blue);outline:0}.circuit-overlay-scope .dialog-error{margin:10px 0 0;font-size:.8rem}:where(.circuit-repair,.circuit-overlay-scope) .custom-component-layout{display:block}:where(.circuit-repair,.circuit-overlay-scope) .custom-grid-scroll{padding:12px;overflow:auto;border:1px solid #dbe1e7;border-radius:10px;background:linear-gradient(90deg,rgb(64 158 255 / 4%) 1px,transparent 1px),linear-gradient(rgb(64 158 255 / 4%) 1px,transparent 1px),#f3f5f7;background-size:16px 16px}:where(.circuit-repair,.circuit-overlay-scope) .custom-grid{display:grid;grid-template-columns:repeat(8,40px);grid-template-rows:repeat(8,40px);gap:3px;width:max-content;margin:0 auto;padding:7px;border-radius:9px;background:#dbe1e7}:where(.circuit-repair,.circuit-overlay-scope) .custom-grid__cell{width:40px;height:40px;padding:0;border:1px solid #cbd2da;border-radius:7px;background:#fff;cursor:pointer;transition:border-color .13s ease,background-color .13s ease,transform 90ms ease}:where(.circuit-repair,.circuit-overlay-scope) .custom-grid__cell:hover{border-color:#409eff;transform:scale(1.04)}:where(.circuit-repair,.circuit-overlay-scope) .custom-grid__cell--active{border-color:#1976d2;background:#409eff;box-shadow:inset 0 0 0 2px #ffffff40}:where(.circuit-repair,.circuit-overlay-scope) .expanded-component-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}:where(.circuit-repair,.circuit-overlay-scope) .component-card--expanded{grid-template-columns:minmax(0,1fr);grid-template-rows:auto 1fr;align-content:start;align-items:stretch;animation:library-card-enter .18s ease-out var(--component-delay) both}:where(.circuit-repair,.circuit-overlay-scope) .component-card--expanded .component-card__counts{padding-top:9px;border-top:1px solid #edf0f3}:where(.circuit-repair,.circuit-overlay-scope) .component-card--expanded .component-card__counts>label{grid-template-columns:minmax(36px,.65fr) minmax(112px,1.35fr);gap:4px}:where(.circuit-repair,.circuit-overlay-scope) .component-card--expanded .component-card__counts>label>span{gap:4px;font-size:.72rem}:where(.circuit-repair,.circuit-overlay-scope) .component-card--expanded .component-card__preview{width:88px;height:88px;flex-basis:88px}html[data-theme=dark] .circuit-repair,html[data-theme=dark] .circuit-overlay-scope{--puzzle-neutral-surface: #172229;--puzzle-neutral-line: #354850}html[data-theme=dark] .circuit-repair :is(.axis-legend__item,.catalog-placeholder){color:#91a4a9}html[data-theme=dark] .circuit-repair :is(.select-control select,.search-field input),html[data-theme=dark] :where(.circuit-repair,.circuit-overlay-scope) :is(.dialog-field input,.dialog-field textarea){border-color:#3a4b54;background:#0d151a;color:#d6e2e3}html[data-theme=dark] .circuit-repair .select-control>span{color:#82969c}html[data-theme=dark] .circuit-repair .segmented-control{border-color:#33454e;background:#0b1216}html[data-theme=dark] .circuit-repair .segmented-control button{color:#8fa3a8}html[data-theme=dark] .circuit-repair .segmented-control button.active{background:#1a2931;color:#80c8f6;box-shadow:0 1px 5px #00000047}html[data-theme=dark] :where(.circuit-repair,.circuit-overlay-scope) .circuit-grid{background-color:var(--puzzle-neutral-surface);box-shadow:inset 0 0 7px #0000006b,0 2px 9px #0000002e}html[data-theme=dark] :where(.circuit-repair,.circuit-overlay-scope) .axis-corner{border-color:#3b4c54;background:#18252ceb;color:#9aadb1}html[data-theme=dark] :where(.circuit-repair,.circuit-overlay-scope) .axis-corner i{background:linear-gradient(to top right,transparent calc(50% - .75px),#53666e calc(50% - .75px),#53666e calc(50% + .75px),transparent calc(50% + .75px))}html[data-theme=dark] :where(.circuit-repair,.circuit-overlay-scope) .target-counter{border-color:#465861;background:#111c22;color:#d5e1e2}html[data-theme=dark] :where(.circuit-repair,.circuit-overlay-scope) .target-counter--type-1{border-color:color-mix(in srgb,var(--type-1-edge) 66%,#465861)}html[data-theme=dark] :where(.circuit-repair,.circuit-overlay-scope) .target-counter--type-2{border-color:color-mix(in srgb,var(--type-2-edge) 66%,#465861)}html[data-theme=dark] :where(.circuit-repair,.circuit-overlay-scope) .target-counter--type-1.target-counter--stepper{background:color-mix(in srgb,var(--type-1) 12%,#111c22)}html[data-theme=dark] :where(.circuit-repair,.circuit-overlay-scope) .target-counter--type-2.target-counter--stepper{background:color-mix(in srgb,var(--type-2) 12%,#111c22)}html[data-theme=dark] :where(.circuit-repair,.circuit-overlay-scope) .target-counter--stepper button{color:#a3b4b8}html[data-theme=dark] :where(.circuit-repair,.circuit-overlay-scope) .component-card{border-color:#2d3e46;border-left-color:color-mix(in srgb,var(--component-color) 70%,#8793a1);background:#0f181d}html[data-theme=dark] :where(.circuit-repair,.circuit-overlay-scope) .component-card--active{border-color:color-mix(in srgb,var(--component-color) 28%,#d9dee5);box-shadow:0 2px 8px color-mix(in srgb,var(--component-color) 10%,transparent)}html[data-theme=dark] :where(.circuit-repair,.circuit-overlay-scope) .component-card__preview{border-color:var(--puzzle-neutral-line);background:linear-gradient(135deg,rgb(145 167 177 / 12%) 1px,transparent 1px 8px),var(--puzzle-neutral-surface);background-size:8px 8px}html[data-theme=dark] :where(.circuit-repair,.circuit-overlay-scope) .component-shape .component-shape__cell--filled{box-shadow:inset 0 0 0 1px #ffffff40,0 0 0 1px #b7c9d06b}html[data-theme=dark] :where(.circuit-repair,.circuit-overlay-scope) .component-card h3{color:#d1dddf}html[data-theme=dark] :where(.circuit-repair,.circuit-overlay-scope) .component-card__counts>label>span{color:#9bafb3}html[data-theme=dark] :where(.circuit-repair,.circuit-overlay-scope) .component-card--expanded .component-card__counts,html[data-theme=dark] :where(.circuit-repair,.circuit-overlay-scope) .component-card:not(.component-card--expanded) .component-card__counts{border-top-color:#2c3d45!important}html[data-theme=dark] :where(.circuit-repair,.circuit-overlay-scope) .icon-button{border-color:#3a4b54;background:#111b21;color:#a9babd}html[data-theme=dark] :where(.circuit-repair,.circuit-overlay-scope) .catalog-placeholder{border-color:#3b4c55}html[data-theme=dark] :where(.circuit-repair,.circuit-overlay-scope) .preset-tree{border-color:#30424a;background:#0e171c;scrollbar-color:#435861 transparent}html[data-theme=dark] :where(.circuit-repair,.circuit-overlay-scope) .preset-tree button{color:#becdd0}html[data-theme=dark] :where(.circuit-repair,.circuit-overlay-scope) .preset-tree__region{border-bottom-color:#30414a!important;background:#162229}html[data-theme=dark] :where(.circuit-repair,.circuit-overlay-scope) .preset-tree__tab{border-bottom-color:#293941!important;background:#121c22}html[data-theme=dark] :where(.circuit-repair,.circuit-overlay-scope) :is(.preset-tree__region,.preset-tree__tab):hover:not(:disabled){background:#1a2930}html[data-theme=dark] :where(.circuit-repair,.circuit-overlay-scope) .preset-items,html[data-theme=dark] :where(.circuit-repair,.circuit-overlay-scope) .preset-item{background:#0e171c}html[data-theme=dark] :where(.circuit-repair,.circuit-overlay-scope) .preset-item{border-bottom-color:#24343b!important}html[data-theme=dark] :where(.circuit-repair,.circuit-overlay-scope) .preset-item:hover:not(:disabled){background:#14232b}html[data-theme=dark] :where(.circuit-repair,.circuit-overlay-scope) .preset-item--selected{background:#173246;color:#8ed1fa!important}html[data-theme=dark] :where(.circuit-repair,.circuit-overlay-scope) .dialog-panel{border-color:#30424a;background:#111a20;box-shadow:0 24px 72px #00000085}html[data-theme=dark] :where(.circuit-repair,.circuit-overlay-scope) .dialog-header{border-bottom-color:#2b3b43}html[data-theme=dark] :where(.circuit-repair,.circuit-overlay-scope) .dialog-header h2{color:#d8e3e4}html[data-theme=dark] :where(.circuit-repair,.circuit-overlay-scope) .dialog-close{color:#93a6aa}html[data-theme=dark] :where(.circuit-repair,.circuit-overlay-scope) .dialog-close:hover{background:#1a282f;color:#d5e1e2}html[data-theme=dark] :where(.circuit-repair,.circuit-overlay-scope) .dialog-footer{border-top-color:#2b3b43;background:#0d151a}html[data-theme=dark] :where(.circuit-repair,.circuit-overlay-scope) .dialog-field{color:#9dafb3}html[data-theme=dark] :where(.circuit-repair,.circuit-overlay-scope) .custom-grid-scroll{border-color:#30424a;background:linear-gradient(90deg,rgb(88 186 248 / 5%) 1px,transparent 1px),linear-gradient(rgb(88 186 248 / 5%) 1px,transparent 1px),#0d161b;background-size:16px 16px}html[data-theme=dark] :where(.circuit-repair,.circuit-overlay-scope) .custom-grid{background:#263840}html[data-theme=dark] :where(.circuit-repair,.circuit-overlay-scope) .custom-grid__cell:not(.custom-grid__cell--active){border-color:#3a4c55;background:#111b21}@keyframes dialog-enter{0%{opacity:0;transform:translateY(12px) scale(.98)}}@keyframes cell-disabled-enter{0%{opacity:0}}@keyframes cell-locked-enter{0%{opacity:0}}@keyframes cell-relocked-enter{0%{opacity:0}}@keyframes solution-cell-enter{0%{opacity:0}}@keyframes library-card-enter{0%{opacity:0;transform:translateY(4px)}}@media(max-width:1200px){:where(.circuit-repair,.circuit-overlay-scope) .expanded-component-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}@media(max-width:1000px){:where(.circuit-repair,.circuit-overlay-scope) .expanded-component-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:840px){:where(.circuit-repair,.circuit-overlay-scope) .expanded-component-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:1120px){.circuit-repair .setup-grid{--setup-grid-columns: minmax(320px, 1.3fr) minmax(180px, .7fr) minmax(220px, .8fr)}:where(.circuit-repair,.circuit-overlay-scope) .setup-group--mode{grid-column:1 / -1}:where(.circuit-repair,.circuit-overlay-scope) .setup-group--mode .segmented-control{max-width:320px}}@media(min-width:901px)and (max-width:1200px){:where(.circuit-repair,.circuit-overlay-scope) .component-list .component-card:not(.component-card--expanded){grid-template-columns:64px minmax(0,1fr)}:where(.circuit-repair,.circuit-overlay-scope) .component-list .component-card__name{display:none}}@media(max-width:900px){.circuit-repair .setup-grid{--setup-grid-columns: 1fr 1fr}:where(.circuit-repair,.circuit-overlay-scope) .setup-group--size,:where(.circuit-repair,.circuit-overlay-scope) .setup-group--mode{grid-column:1 / -1}.circuit-repair .workspace{grid-template-columns:minmax(0,1fr)}:where(.circuit-repair,.circuit-overlay-scope) .component-panel{height:min(64vh,560px);min-height:410px}.circuit-repair .workspace>.component-panel{height:min(64vh,560px)}}@media(max-width:680px){:where(.circuit-repair,.circuit-overlay-scope) .setup-group--size,:where(.circuit-repair,.circuit-overlay-scope) .setup-group--mode{grid-column:auto}.circuit-repair .board-scroll{min-height:0;margin-inline:-5px;padding:12px;width:calc(100% + 10px);place-items:center start}:where(.circuit-repair,.circuit-overlay-scope) .circuit-stage{place-content:start}:where(.circuit-repair,.circuit-overlay-scope) .expanded-component-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.circuit-repair .action-bar{grid-template-columns:repeat(3,minmax(0,1fr))}.circuit-repair .action-bar .button:not(.action-bar__calculate){min-height:44px;padding-inline:6px;font-size:.78rem;letter-spacing:0}.circuit-repair .action-bar .button:not(.action-bar__calculate) .button__icon{display:none}:where(.circuit-repair,.circuit-overlay-scope) .component-card__counts>label,:where(.circuit-repair,.circuit-overlay-scope) .component-card--expanded .component-card__counts>label{grid-template-columns:minmax(44px,.65fr) minmax(136px,1.35fr)}:where(.circuit-repair,.circuit-overlay-scope) .component-panel__refresh{width:44px;height:44px;flex-basis:44px}:where(.circuit-repair,.circuit-overlay-scope) .action-bar__calculate{grid-column:1 / -1}:where(.circuit-repair,.circuit-overlay-scope) .preset-actions{width:100%;grid-template-columns:1fr}:where(.circuit-repair,.circuit-overlay-scope) .preset-actions>.button--primary{grid-column:auto}:where(.circuit-repair,.circuit-overlay-scope) .dialog-panel{max-height:calc(100dvh - 20px)}:where(.circuit-repair,.circuit-overlay-scope) .dialog-body,:where(.circuit-repair,.circuit-overlay-scope) .dialog-header,:where(.circuit-repair,.circuit-overlay-scope) .dialog-footer{padding-inline:14px}}@media(max-width:500px){:where(.circuit-repair,.circuit-overlay-scope) .expanded-component-grid{grid-template-columns:minmax(0,1fr)}}@media(max-width:430px){:where(.circuit-repair,.circuit-overlay-scope) .component-card:not(.component-card--expanded){grid-template-columns:minmax(0,1fr);align-items:stretch}:where(.circuit-repair,.circuit-overlay-scope) .component-card:not(.component-card--expanded) .component-card__counts{padding-top:8px;border-top:1px solid #edf0f3}:where(.circuit-repair,.circuit-overlay-scope) .dialog-panel{min-width:0;width:100%}:where(.circuit-repair,.circuit-overlay-scope) .dialog-footer{flex-wrap:wrap;gap:8px}:where(.circuit-repair,.circuit-overlay-scope) .dialog-footer .button{flex:1 1 auto;min-width:0;padding-inline:9px;font-size:.78rem;letter-spacing:0;white-space:nowrap}}.floating-recovery .setup-grid{--setup-grid-columns: minmax(280px, 320px) minmax(220px, max-content);--setup-grid-gap: 16px 36px;justify-content:start}.floating-recovery .switch-control input:checked+.switch-control__track{border-color:#2787d9;background:linear-gradient(135deg,#57b4ff,#2586d8)}.floating-recovery .workspace{grid-template-columns:minmax(0,1.2fr) minmax(420px,.8fr)}:where(.floating-recovery,.floating-overlay-scope) .section-heading--board{margin-bottom:14px}.floating-recovery .board-scroll{padding:12px}:where(.floating-recovery,.floating-overlay-scope) .board-grid{--cell-size: 52px;display:grid;grid-template-columns:repeat(var(--board-columns),var(--cell-size));grid-auto-rows:var(--cell-size);gap:3px;width:max-content;margin:0 auto;padding:3px;border-radius:10px;background:#d8dde4;box-shadow:0 2px 8px #303d4d1a;isolation:isolate;overflow:visible;-webkit-user-select:none;user-select:none;touch-action:manipulation}:where(.floating-recovery,.floating-overlay-scope) .board-cell:hover{z-index:2;border-color:#72b7ff;box-shadow:0 0 0 2px #409eff24;transform:translateY(-1px)}:where(.floating-recovery,.floating-overlay-scope) .board-cell:active{transform:translateY(0) scale(.96)}:where(.floating-recovery,.floating-overlay-scope) .board-cell--center:before{position:absolute;top:4px;left:4px;width:4px;height:4px;border-radius:50%;background:#9ca8b5;content:""}.floating-recovery .board-cell--mount{z-index:4;isolation:isolate;overflow:visible;border-color:transparent;border-radius:0;background:transparent;box-shadow:none}.floating-recovery .board-cell--mount:hover,.floating-recovery .board-cell--mount:focus-visible{border-color:transparent;background:transparent;box-shadow:none}:where(.floating-recovery,.floating-overlay-scope) .board-cell__coordinate{color:#b7bec7;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.56rem;opacity:0;transition:opacity .15s ease}:where(.floating-recovery,.floating-overlay-scope) .board-cell:hover .board-cell__coordinate,:where(.floating-recovery,.floating-overlay-scope) .board-cell:focus-visible .board-cell__coordinate{opacity:1}:where(.floating-recovery,.floating-overlay-scope) .board-token-enter-active{transition:opacity .15s ease-out,transform .15s cubic-bezier(.2,.8,.2,1)}:where(.floating-recovery,.floating-overlay-scope) .board-token-leave-active{transition:opacity .1s ease-in,transform .1s ease-in}:where(.floating-recovery,.floating-overlay-scope) .board-token-enter-from{opacity:0;transform:scale(.84)}:where(.floating-recovery,.floating-overlay-scope) .board-token-leave-to{opacity:0;transform:scale(.9)}:where(.floating-recovery,.floating-overlay-scope) .mount-marker{position:absolute;top:0;right:0;bottom:0;left:0;z-index:4;display:flex;align-items:center;justify-content:center;pointer-events:none}:where(.floating-recovery,.floating-overlay-scope) .mount-point-glyph{--mount-plate: #42494d;--mount-depth: #293237;--mount-line: #f7f9fa;position:relative;display:block;width:50px;height:44px;flex:0 0 50px;filter:drop-shadow(0 1px 1px rgb(30 39 44 / 45%)) drop-shadow(0 0 1px rgb(80 92 100 / 55%));pointer-events:none;transition:filter .16s ease,transform .16s ease}:where(.floating-recovery,.floating-overlay-scope) .mount-point-glyph__drawing{display:block;width:100%;height:100%;overflow:visible}:where(.floating-recovery,.floating-overlay-scope) .mount-point-glyph__depth{fill:var(--mount-depth);stroke:#68747a;stroke-width:2;transform:translate(2px,3px)}:where(.floating-recovery,.floating-overlay-scope) .mount-point-glyph__outer-line{fill:none;stroke:var(--mount-line);stroke-linejoin:miter;stroke-width:3.2}:where(.floating-recovery,.floating-overlay-scope) .mount-point-glyph__plate{fill:var(--mount-plate);stroke:#6c787f;stroke-linejoin:miter;stroke-width:1.8}:where(.floating-recovery,.floating-overlay-scope) .mount-point-glyph__grid-line{fill:none;opacity:.28;stroke:#8d989e;stroke-width:1}:where(.floating-recovery,.floating-overlay-scope) .mount-point-glyph__edge-detail{fill:none;stroke:#cad0d3;stroke-linecap:square;stroke-width:2}:where(.floating-recovery,.floating-overlay-scope) .mount-point-glyph__target circle:first-child{fill:none;stroke:#ffef59;stroke-width:4}:where(.floating-recovery,.floating-overlay-scope) .mount-point-glyph__target circle:last-child{fill:none;stroke:#fff9a8;stroke-width:1.5}:where(.floating-recovery,.floating-overlay-scope) .mount-point-glyph--2{--mount-plate: #353c40;--mount-depth: #222a2f}:where(.floating-recovery,.floating-overlay-scope) .mount-point-glyph--3{--mount-plate: #242b2f;--mount-depth: #171e22}:where(.floating-recovery,.floating-overlay-scope) .mount-point-glyph__badge rect{fill:#ffef59;stroke:#4a4f48;stroke-width:1.5}:where(.floating-recovery,.floating-overlay-scope) .mount-point-glyph__badge text{fill:#343b40;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:13px;font-weight:900;text-anchor:middle}:where(.floating-recovery,.floating-overlay-scope) .board-cell:hover .mount-point-glyph,:where(.floating-recovery,.floating-overlay-scope) .board-cell:focus-visible .mount-point-glyph{filter:drop-shadow(0 2px 2px rgb(24 33 39 / 34%)) drop-shadow(0 0 4px rgb(255 224 42 / 32%));transform:translateY(-1px)}:where(.floating-recovery,.floating-overlay-scope) .mount-marker .mount-point-glyph{transform:translate(-.5px,-1px)}:where(.floating-recovery,.floating-overlay-scope) .board-cell:hover .mount-marker .mount-point-glyph,:where(.floating-recovery,.floating-overlay-scope) .board-cell:focus-visible .mount-marker .mount-point-glyph{transform:translate(-.5px,-2px)}:where(.floating-recovery,.floating-overlay-scope) .recovery-balloon-icon{--icon-size: 62px;--balloon-ring-edge: #4f565a;--balloon-ring-outer: #c7ccd0;--balloon-ring-middle: #8e9498;--balloon-ring-inner: #62686c;--balloon-face: #f5f6f7;--balloon-outline: #6b7073;--balloon-ring-line: #e3e7e9;--balloon-middle-line: #90979a;--balloon-inner-line: #737a7e;--balloon-face-outline: #d9dddf;--balloon-seam: #edf0f1;--balloon-ink: #3b4247;--balloon-glow: rgb(73 83 89 / 20%);position:relative;display:inline-block;width:var(--icon-size);height:var(--icon-size);flex:0 0 var(--icon-size);filter:drop-shadow(0 1.5px 1.2px rgb(35 45 52 / 24%));pointer-events:none;transition:filter .18s ease,transform .18s ease}:where(.floating-recovery,.floating-overlay-scope) .recovery-balloon-icon--inventory{--icon-size: 62px}:where(.floating-recovery,.floating-overlay-scope) .recovery-balloon-icon--board{--icon-size: 56px}:where(.floating-recovery,.floating-overlay-scope) .recovery-balloon-icon--legend{--icon-size: 30px;filter:drop-shadow(0 1px 1px rgb(35 45 52 / 22%))}:where(.floating-recovery,.floating-overlay-scope) .recovery-balloon-icon__drawing{display:block;width:100%;height:100%;overflow:visible}:where(.floating-recovery,.floating-overlay-scope) .recovery-balloon-icon__ring{stroke-linejoin:round;stroke-width:1.35}:where(.floating-recovery,.floating-overlay-scope) .recovery-balloon-icon__ring--edge{fill:var(--balloon-ring-edge);stroke:var(--balloon-outline)}:where(.floating-recovery,.floating-overlay-scope) .recovery-balloon-icon__ring--outer{fill:var(--balloon-ring-outer);stroke:var(--balloon-ring-line)}:where(.floating-recovery,.floating-overlay-scope) .recovery-balloon-icon__ring--middle{fill:var(--balloon-ring-middle);stroke:var(--balloon-middle-line)}:where(.floating-recovery,.floating-overlay-scope) .recovery-balloon-icon__ring--inner{fill:var(--balloon-ring-inner);stroke:var(--balloon-inner-line)}:where(.floating-recovery,.floating-overlay-scope) .recovery-balloon-icon__seam{fill:none;opacity:.78;stroke:var(--balloon-seam);stroke-dasharray:1.5 2.4;stroke-linecap:round;stroke-width:1.25}:where(.floating-recovery,.floating-overlay-scope) .recovery-balloon-icon__face{fill:var(--balloon-face);stroke:var(--balloon-face-outline);stroke-width:1.4}:where(.floating-recovery,.floating-overlay-scope) .recovery-balloon-icon__hatching{fill:none;opacity:.68;stroke:var(--balloon-ink);stroke-linecap:square;stroke-width:2.7}:where(.floating-recovery,.floating-overlay-scope) .recovery-balloon-icon__micro-mark{fill:none;opacity:.52;stroke:var(--balloon-ink);stroke-linecap:square;stroke-width:1.1}:where(.floating-recovery,.floating-overlay-scope) .recovery-balloon-icon__number{fill:var(--balloon-ink);font-family:Arial Black,Impact,sans-serif;font-size:42px;font-style:italic;font-weight:900;letter-spacing:-.08em}:where(.floating-recovery,.floating-overlay-scope) .recovery-balloon-icon__arrow{fill:var(--balloon-ink)}:where(.floating-recovery,.floating-overlay-scope) .recovery-balloon-icon--1{--balloon-ring-edge: #d0d0d0;--balloon-ring-outer: #aeaeae;--balloon-ring-middle: #707070;--balloon-ring-inner: #585858;--balloon-face: #ffffff;--balloon-outline: #858585;--balloon-ring-line: #d7d7d7;--balloon-middle-line: #969696;--balloon-inner-line: #696969;--balloon-face-outline: #d7d7d7;--balloon-seam: #a6a6a6;--balloon-ink: #494949;--balloon-glow: rgb(45 48 50 / 18%)}:where(.floating-recovery,.floating-overlay-scope) .recovery-balloon-icon--2{--balloon-ring-edge: #cec47a;--balloon-ring-outer: #aea56a;--balloon-ring-middle: #706841;--balloon-ring-inner: #554f31;--balloon-face: #fff8ba;--balloon-outline: #6e673d;--balloon-ring-line: #d2c77d;--balloon-middle-line: #89814f;--balloon-inner-line: #675f3b;--balloon-face-outline: #d2c77d;--balloon-seam: #b4ad78;--balloon-ink: #4b472f;--balloon-glow: rgb(45 48 50 / 18%)}:where(.floating-recovery,.floating-overlay-scope) .recovery-balloon-icon--3{--balloon-ring-edge: #eee64e;--balloon-ring-outer: #e4da4e;--balloon-ring-middle: #aaa24d;--balloon-ring-inner: #99914c;--balloon-face: #fffd4c;--balloon-outline: #9b9448;--balloon-ring-line: #f2ea63;--balloon-middle-line: #c6bd54;--balloon-inner-line: #aaa24d;--balloon-face-outline: #efe85d;--balloon-seam: #c9c15f;--balloon-ink: #90894c;--balloon-glow: rgb(45 48 50 / 18%)}:where(.floating-recovery,.floating-overlay-scope) .recovery-balloon-icon--4{--balloon-ring-edge: #d48606;--balloon-ring-outer: #b17008;--balloon-ring-middle: #704704;--balloon-ring-inner: #533701;--balloon-face: #ffb801;--balloon-outline: #754900;--balloon-ring-line: #dc8a08;--balloon-middle-line: #925b05;--balloon-inner-line: #704704;--balloon-face-outline: #d88a06;--balloon-seam: #9a620a;--balloon-ink: #483000;--balloon-glow: rgb(45 48 50 / 18%)}:where(.floating-recovery,.floating-overlay-scope) .board-cell--assigned{z-index:5;overflow:visible}:where(.floating-recovery,.floating-overlay-scope) .board-cell--assigned:hover,:where(.floating-recovery,.floating-overlay-scope) .board-cell--assigned:focus-visible{z-index:7}:where(.floating-recovery,.floating-overlay-scope) .deployed-balloon{position:absolute;z-index:2;top:0;right:0;bottom:0;left:0;pointer-events:none}:where(.floating-recovery,.floating-overlay-scope) .deployed-balloon .recovery-balloon-icon{position:absolute;z-index:1;top:50%;left:50%;transform:translate(-50%,-50%) translateY(-1px)}:where(.floating-recovery,.floating-overlay-scope) .board-cell--assigned:hover .recovery-balloon-icon,:where(.floating-recovery,.floating-overlay-scope) .board-cell--assigned:focus-visible .recovery-balloon-icon{filter:drop-shadow(0 4px 4px rgb(35 45 52 / 28%)) drop-shadow(0 0 5px var(--balloon-glow));transform:translate(-50%,-50%) translateY(-1px) scale(1.03)}:where(.floating-recovery,.floating-overlay-scope) .level-legend{display:flex;gap:8px;justify-content:center;margin-top:12px;flex-wrap:wrap}:where(.floating-recovery,.floating-overlay-scope) .level-legend__item{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border:1px solid #d5dbe0;border-radius:999px;background:#fff;color:#536171;font-size:.72rem;font-weight:750}:where(.floating-recovery,.floating-overlay-scope) .level-legend__item--1{border-color:#bec5c9}:where(.floating-recovery,.floating-overlay-scope) .level-legend__item--mount{border-color:#9ca6ac}:where(.floating-recovery,.floating-overlay-scope) .level-legend__item--mount .mount-point-glyph{width:30px;height:26px;flex-basis:30px;filter:drop-shadow(0 1px 1px rgb(30 39 44 / 26%))}:where(.floating-recovery,.floating-overlay-scope) .mount-options{--mount-options-arrow-left: 50%;position:fixed;z-index:900;display:grid;width:min(248px,calc(100vw - 20px));gap:5px;padding:9px;border:1px solid #d6dde5;border-radius:12px;background:#fffffffa;box-shadow:0 14px 34px #26354833,0 3px 8px #26354817;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}:where(.floating-recovery,.floating-overlay-scope) .mount-options:before{position:absolute;z-index:0;left:var(--mount-options-arrow-left);width:12px;height:12px;background:#fff;content:"";transform:translate(-50%) rotate(45deg)}:where(.floating-recovery,.floating-overlay-scope) .mount-options--below:before{top:-7px;border-top:1px solid #d6dde5;border-left:1px solid #d6dde5}:where(.floating-recovery,.floating-overlay-scope) .mount-options--above:before{bottom:-7px;border-right:1px solid #d6dde5;border-bottom:1px solid #d6dde5}:where(.floating-recovery,.floating-overlay-scope) .mount-options__item{position:relative;z-index:1;display:flex;min-height:52px;gap:10px;align-items:center;padding:5px 8px;border:1px solid transparent;border-radius:9px;background:transparent;color:#34495e;cursor:pointer;text-align:left;transition:border-color .15s ease,background-color .15s ease,transform .12s ease}:where(.floating-recovery,.floating-overlay-scope) .mount-options__item--current{border-color:#8ac5f2;background:#f0f8ff;box-shadow:inset 3px 0 #409eff}:where(.floating-recovery,.floating-overlay-scope) .mount-options__item:hover,:where(.floating-recovery,.floating-overlay-scope) .mount-options__item:focus-visible{border-color:#9dcef4;background:#edf6ff}:where(.floating-recovery,.floating-overlay-scope) .mount-options__item:active{transform:scale(.985)}:where(.floating-recovery,.floating-overlay-scope) .mount-options__item .mount-point-glyph{width:42px;height:37px;flex-basis:42px;filter:drop-shadow(0 1px 1px rgb(30 39 44 / 26%))}:where(.floating-recovery,.floating-overlay-scope) .mount-options__blank-cell{width:42px;height:42px;flex:0 0 42px;border:1px solid #e1e5ea;border-radius:7px;background:#fff;box-shadow:0 1px 3px #26354814}:where(.floating-recovery,.floating-overlay-scope) .mount-options__copy{display:flex;min-width:0;flex-direction:column}:where(.floating-recovery,.floating-overlay-scope) .mount-options__copy small{color:#7a8797;font-size:.68rem;line-height:1.3}:where(.floating-recovery,.floating-overlay-scope) .mount-options-enter-active,:where(.floating-recovery,.floating-overlay-scope) .mount-options-leave-active{transition:opacity .14s ease,transform .16s cubic-bezier(.2,.8,.2,1);transform-origin:var(--mount-options-arrow-left) top}:where(.floating-recovery,.floating-overlay-scope) .mount-options--above.mount-options-enter-active,:where(.floating-recovery,.floating-overlay-scope) .mount-options--above.mount-options-leave-active{transform-origin:var(--mount-options-arrow-left) bottom}:where(.floating-recovery,.floating-overlay-scope) .mount-options-enter-from,:where(.floating-recovery,.floating-overlay-scope) .mount-options-leave-to{opacity:0;transform:translateY(-4px) scale(.96)}:where(.floating-recovery,.floating-overlay-scope) .mount-options--above.mount-options-enter-from,:where(.floating-recovery,.floating-overlay-scope) .mount-options--above.mount-options-leave-to{transform:translateY(4px) scale(.96)}:where(.floating-recovery,.floating-overlay-scope) .level-legend__item--2{border-color:#b7aa69}:where(.floating-recovery,.floating-overlay-scope) .level-legend__item--3{border-color:#d7ca28}:where(.floating-recovery,.floating-overlay-scope) .level-legend__item--4{border-color:#df951e}@media(prefers-reduced-motion:reduce){:where(.floating-recovery,.floating-overlay-scope) .mount-options-enter-active,:where(.floating-recovery,.floating-overlay-scope) .mount-options-leave-active,:where(.floating-recovery,.floating-overlay-scope) .board-token-enter-from,:where(.floating-recovery,.floating-overlay-scope) .board-token-leave-to{transition-duration:1ms;transform:none}}:where(.floating-recovery,.floating-overlay-scope) .inventory-panel{position:sticky;top:12px;--tool-panel-border-width: 1.5px;--tool-panel-shadow: 0 4px 10px rgb(38 53 72 / 5%)}:where(.floating-recovery,.floating-overlay-scope) .inventory-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}:where(.floating-recovery,.floating-overlay-scope) .inventory-item{--inventory-accent: #8f989e;--inventory-strip-width: 36px;--inventory-strip-height: 3px;--inventory-strip-color: var(--inventory-accent);padding:12px;border-left-width:4px;background:linear-gradient(145deg,#ffffffeb,#f7f9fac7),#fff}:where(.floating-recovery,.floating-overlay-scope) .inventory-item--1{--inventory-accent: #8f999f;border-left-color:var(--inventory-accent)}:where(.floating-recovery,.floating-overlay-scope) .inventory-item--2{--inventory-accent: #9b8d4e;border-left-color:var(--inventory-accent)}:where(.floating-recovery,.floating-overlay-scope) .inventory-item--3{--inventory-accent: #cbbb00;border-left-color:var(--inventory-accent)}:where(.floating-recovery,.floating-overlay-scope) .inventory-item--4{--inventory-accent: #d47b05;border-left-color:var(--inventory-accent)}:where(.floating-recovery,.floating-overlay-scope) .inventory-item__identity{position:relative;z-index:1;display:flex;align-items:center;gap:11px;margin-bottom:10px}:where(.floating-recovery,.floating-overlay-scope) .inventory-item__copy{display:flex;min-width:0;flex-direction:column}:where(.floating-recovery,.floating-overlay-scope) .inventory-item__identity strong{overflow:hidden;color:#34495e;font-size:.86rem;text-overflow:ellipsis;white-space:nowrap}:where(.floating-recovery,.floating-overlay-scope) .inventory-item__lift{margin-top:3px;color:#66768a;font-size:.75rem;font-weight:650;line-height:1.3}:where(.floating-recovery,.floating-overlay-scope) .inventory-item__balloon-icon{margin:1px 0}:where(.floating-recovery,.floating-overlay-scope) .stepper{position:relative;z-index:1}:where(.floating-recovery,.floating-overlay-scope) .stepper input:focus{border-color:var(--blue);outline:0}:where(.floating-recovery,.floating-overlay-scope) .inventory-summary{display:flex;align-items:flex-start;gap:7px;margin:10px 0 0;padding:8px 9px;border-radius:7px;background:#eef3f7;color:#607185;font-size:.75rem;font-weight:650;line-height:1.45}:where(.floating-recovery,.floating-overlay-scope) .inventory-summary__indicator{width:7px;height:7px;margin-top:3px;flex:0 0 auto;border-radius:50%;background:#8295a5}:where(.floating-recovery,.floating-overlay-scope) .inventory-summary--error{background:#fff3f1;color:#a14a41}:where(.floating-recovery,.floating-overlay-scope) .inventory-summary--error .inventory-summary__indicator{background:var(--red)}.floating-recovery .action-bar{width:min(100%,430px);grid-template-columns:minmax(190px,1fr) minmax(108px,.58fr)}@media(max-width:920px){.floating-recovery .workspace{grid-template-columns:1fr}:where(.floating-recovery,.floating-overlay-scope) .inventory-panel{position:static}:where(.floating-recovery,.floating-overlay-scope) .inventory-list{grid-template-columns:repeat(2,minmax(0,1fr))}:where(.floating-recovery,.floating-overlay-scope) .inventory-item{min-width:0}:where(.floating-recovery,.floating-overlay-scope) .inventory-item__identity{align-items:flex-start}:where(.floating-recovery,.floating-overlay-scope) .inventory-item__identity strong{white-space:normal}:where(.floating-recovery,.floating-overlay-scope) .board-grid{--cell-size: 46px}}@media(max-width:560px){.floating-recovery .workspace{gap:14px;margin-top:14px}.floating-recovery .board-scroll{padding:8px}:where(.floating-recovery,.floating-overlay-scope) .board-grid{--cell-size: 43px}:where(.floating-recovery,.floating-overlay-scope) .inventory-list{grid-template-columns:1fr}:where(.floating-recovery,.floating-overlay-scope) .inventory-item{display:grid;grid-template-columns:minmax(0,1fr) minmax(136px,.8fr);gap:8px;align-items:center}:where(.floating-recovery,.floating-overlay-scope) .inventory-item__identity{margin-bottom:0}.floating-recovery .action-bar{width:100%;grid-template-columns:minmax(0,1fr) 106px;gap:7px;padding:7px;border-radius:14px}:where(.floating-recovery,.floating-overlay-scope) .action-bar__solve{width:100%;min-width:0}:where(.floating-recovery,.floating-overlay-scope) .action-bar__reset{width:100%;padding-inline:12px}}@media(max-width:380px){:where(.floating-recovery,.floating-overlay-scope) .inventory-item{grid-template-columns:1fr;gap:10px}:where(.floating-recovery,.floating-overlay-scope) .inventory-item__identity{align-items:center}:where(.floating-recovery,.floating-overlay-scope) .inventory-item__identity strong{white-space:nowrap}}html[data-theme=dark] .floating-recovery .inventory-item__identity strong{color:#f1f3f2}html[data-theme=dark] :where(.floating-recovery,.floating-overlay-scope) .mount-options__copy small,html[data-theme=dark] .floating-recovery .inventory-item__lift{color:#b8c0c4}html[data-theme=dark] .floating-recovery .switch-control input:checked+.switch-control__track{border-color:#50d2ad;background:linear-gradient(135deg,#45d5b5,#247b66)}html[data-theme=dark] .floating-recovery .switch-control input:checked+.switch-control__track:after{background:#f7f8f8}html[data-theme=dark] .floating-recovery .stepper input:focus{border-color:#45d5b5;box-shadow:0 0 0 3px #45d5b524}html[data-theme=dark] .floating-recovery .board-grid{background:#202c31;box-shadow:0 9px 22px #00000059,inset 0 0 0 1px #ffffff0a}html[data-theme=dark] .floating-recovery .board-cell:hover{border-color:#ffffffd1;background:#3a4549;box-shadow:0 0 0 2px #45d5b53d,0 5px 12px #00000047}html[data-theme=dark] .floating-recovery .board-cell--center:before{background:#45d5b5;box-shadow:0 0 5px #45d5b58c}html[data-theme=dark] .floating-recovery .board-cell--mount,html[data-theme=dark] .floating-recovery .board-cell--mount:hover,html[data-theme=dark] .floating-recovery .board-cell--mount:focus-visible{border-color:transparent;background:transparent;box-shadow:none}html[data-theme=dark] .floating-recovery .board-cell__coordinate{color:#b8c0c4}html[data-theme=dark] .floating-recovery .level-legend__item{background:#17242a;color:#dbe0e1;box-shadow:0 4px 12px #0000003d,inset 0 1px #ffffff0d}html[data-theme=dark] :where(.floating-recovery,.floating-overlay-scope) .mount-options{border-color:#52646c;background:#142026fa;box-shadow:0 18px 42px #00000085,0 0 0 1px #ffffff08}html[data-theme=dark] :where(.floating-recovery,.floating-overlay-scope) .mount-options:before{background:#142026}html[data-theme=dark] :where(.floating-recovery,.floating-overlay-scope) .mount-options--below:before{border-top-color:#52646c;border-left-color:#52646c}html[data-theme=dark] :where(.floating-recovery,.floating-overlay-scope) .mount-options--above:before{border-right-color:#52646c;border-bottom-color:#52646c}html[data-theme=dark] :where(.floating-recovery,.floating-overlay-scope) .mount-options__item{color:#eef2f2}html[data-theme=dark] :where(.floating-recovery,.floating-overlay-scope) .mount-options__item--current{border-color:#45d5b5;background:#247b6647;box-shadow:inset 3px 0 #45d5b5}html[data-theme=dark] :where(.floating-recovery,.floating-overlay-scope) .mount-options__item:hover,html[data-theme=dark] :where(.floating-recovery,.floating-overlay-scope) .mount-options__item:focus-visible{border-color:#50d2ad;background:#45d5b51f}html[data-theme=dark] :where(.floating-recovery,.floating-overlay-scope) .mount-options__blank-cell{border-color:#52646c;background:#30383b;box-shadow:inset 0 1px #ffffff0d}html[data-theme=dark] .floating-recovery .inventory-item{border-color:#33434b;border-left-color:var(--inventory-accent);background:#142027;box-shadow:inset 0 1px #ffffff05}html[data-theme=dark] .floating-recovery .inventory-summary{background:#1a2931;color:#a7bcc3}html[data-theme=dark] .floating-recovery .inventory-summary--error{background:#752a2552;color:#f0a098;box-shadow:inset 3px 0 #ee7166c7}:root{color:#263548;background:#eef2f5;font-family:Helvetica Neue,PingFang SC,Microsoft YaHei,Arial,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;--shell-ink: #263548;--shell-muted: #6a7a8b;--shell-line: #d6dde5;--shell-panel: #ffffff;--shell-blue: #2f91e8;--shell-blue-deep: #1976d2;--shell-focus: #087ac1;--shell-bg: #eef2f5;--shell-shadow: 0 20px 60px rgb(31 47 66 / 12%);--ink: #263548;--ink-soft: #607083;--ink-faint: #8a96a5;--line: #d9dee5;--line-strong: #c7d0da;--panel: #f9fafb;--white: #ffffff;--blue: #409eff;--blue-deep: #1976d2;--red: #e74c3c;--green: #67b82a;--shadow: 0 8px 24px rgb(33 47 65 / 10%);--calculator-canvas-surface: #f1f4f6;--calculator-canvas-dot: rgb(72 103 130 / 14%);--calculator-canvas-background: radial-gradient(circle, var(--calculator-canvas-dot) .9px, transparent 1.15px) 0 0 / 18px 18px, var(--calculator-canvas-surface);--board-field-surface: #f4f6f8;--board-field-dot: rgb(72 103 130 / 18%);--board-field-background: radial-gradient(circle, var(--board-field-dot) 1px, transparent 1.25px) 0 0 / 12px 12px, var(--board-field-surface)}*{box-sizing:border-box}html{min-width:320px;min-height:100%;background:var(--shell-bg)}body{min-width:320px;min-height:100vh;margin:0;padding:20px 10px;background:var(--calculator-canvas-background)}body.dialog-open,body.mobile-menu-open{overflow:hidden}button,input,select,textarea{font:inherit}button,select,input[type=checkbox]{-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--shell-focus);outline-offset:3px}button:disabled,input:disabled,select:disabled,textarea:disabled{cursor:not-allowed}#app{width:100%}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;border:0!important;white-space:nowrap!important}.site-shell{--tool-switch-duration: .4s;--tool-switch-easing: cubic-bezier(.28, .12, .22, 1);--active-tab-surface: var(--calculator-canvas-surface);--tab-active-top: #fcfdff;--tab-active-mid: #f7f9fb;--tab-edge: #aebdca;--tab-active-edge: #92aabd;--tab-light: #ffffff;--tab-idle-top: #e9eef3;--tab-idle-surface: #dfe7ee;--tab-idle-hover: #f3f7fb;--tab-idle-ink: #586a7b;--tab-active-ink: #2f4358;width:min(100%,1380px);min-height:calc(100vh - 40px);display:flex;flex-direction:column;margin:0 auto;overflow:hidden;border:1px solid rgb(207 216 226 / 90%);border-radius:16px;background:var(--shell-panel);box-shadow:var(--shell-shadow)}.site-header{position:relative;display:grid;min-height:88px;grid-template-columns:minmax(280px,1fr) minmax(360px,420px) 38px;align-items:center;column-gap:18px;padding:0 24px;overflow:visible;border-bottom:0;background:linear-gradient(100deg,#fff,#fbfdff 72%,#f3f8fc)}.site-header:before{position:absolute;top:24px;left:0;width:3px;height:40px;border-radius:0 3px 3px 0;background:linear-gradient(180deg,#62bbf9,var(--shell-blue-deep));content:""}.site-header:after{position:absolute;right:0;bottom:0;left:0;z-index:0;height:1px;background:var(--shell-line);content:"";pointer-events:none}.site-header h1{min-width:0;margin:0;color:#26384c;font-size:clamp(1.75rem,2.2vw,2rem);font-weight:780;letter-spacing:.015em;line-height:1.15}.theme-toggle{position:relative;z-index:2;display:grid;width:38px;height:38px;flex:0 0 38px;justify-self:end;padding:0;place-items:center;border:1px solid #cbd6e1;border-radius:50%;background:linear-gradient(180deg,#fff,#eef3f7);color:#536579;box-shadow:0 4px 12px #26354817;cursor:pointer;transition:transform .14s ease,border-color .16s ease,color .16s ease}.theme-toggle:hover{border-color:#70b8ee;color:#176db4;transform:translateY(-2px)}.theme-toggle__icon{width:18px;height:18px;fill:none;stroke:currentcolor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.theme-toggle__icon--moon path{fill:currentcolor;stroke:none}.theme-toggle__icon--sun circle,.theme-toggle__icon--sun path{fill:none;stroke:currentcolor}.mobile-menu-toggle{position:relative;z-index:2;display:none;width:60px;height:52px;grid-template-rows:16px auto;align-content:center;justify-items:center;gap:3px;padding:0;border:0;border-radius:8px;background:transparent;color:#536579;box-shadow:none;cursor:pointer;transition:background-color .16s ease,color .16s ease}.mobile-menu-toggle:hover{background:#395b770f;color:#315f82}.mobile-menu-toggle__glyph{display:grid;width:16px;height:16px;grid-template:repeat(2,6px) / repeat(2,6px);gap:3px;transition:transform .18s ease}.mobile-menu-toggle:hover .mobile-menu-toggle__glyph{transform:scale(1.06)}.mobile-menu-toggle__tile{width:6px;height:6px;border-radius:1.5px;background:linear-gradient(135deg,#6687a0,#315f82);box-shadow:0 1px 2px #2643592e}.mobile-menu-toggle__tile:nth-child(1){grid-area:1 / 1}.mobile-menu-toggle__tile:nth-child(2){grid-area:2 / 1}.mobile-menu-toggle__tile:nth-child(3){grid-area:2 / 2}.mobile-menu-toggle__hint{color:#778695;font-size:.62rem;font-weight:650;letter-spacing:.02em;line-height:1;white-space:nowrap}.calculator-nav{--tab-duration: var(--tool-switch-duration);--tab-easing: var(--tool-switch-easing);position:relative;z-index:2;width:100%;align-self:end;justify-self:end;padding:0;background:transparent}.calculator-tabs{position:relative;z-index:1;display:flex;width:100%;height:56px;margin:0;align-items:flex-end;gap:0;padding:0;isolation:isolate;overflow:visible}.calculator-tab{--tab-top: var(--tab-idle-top);--tab-middle: var(--tab-idle-surface);--tab-bottom: var(--tab-idle-surface);--tab-height: 46px;--tab-outline: var(--tab-edge);position:relative;z-index:0;display:flex;height:56px;flex:1 1 0;min-width:0;min-height:0;align-items:center;justify-content:center;margin:0;padding:0 28px;overflow:visible;border:0;border-radius:0;background:transparent;color:var(--tab-idle-ink);cursor:pointer;text-align:center;isolation:isolate;transition:flex-grow var(--tab-duration) var(--tab-easing),color var(--tab-duration) ease}@media(hover:hover){.calculator-tab:hover:not(.calculator-tab--active){--tab-top: var(--tab-idle-hover);--tab-height: 50px;color:var(--tab-active-ink)}.calculator-tab:hover:not(.calculator-tab--active) .calculator-tab__label{transform:translateY(2px)}}.calculator-tab.calculator-tab--active{--tab-top: var(--tab-active-top);--tab-middle: var(--tab-active-mid);--tab-bottom: var(--active-tab-surface);--tab-height: 56px;--tab-outline: var(--tab-active-edge);z-index:3;flex-grow:1.1;color:var(--tab-active-ink)}.calculator-tab__shape{position:absolute;bottom:0;z-index:0;height:var(--tab-height);overflow:hidden;pointer-events:none;transition:height var(--tab-duration) var(--tab-easing)}.calculator-tab__shape-stop--top{stop-color:var(--tab-top);transition:stop-color var(--tab-duration) ease}.calculator-tab__shape-stop--middle{stop-color:var(--tab-middle);transition:stop-color var(--tab-duration) ease}.calculator-tab__shape-stop--bottom{stop-color:var(--tab-bottom)}.calculator-tab__shape-edge,.calculator-tab__shape-base{fill:none;stroke:var(--tab-outline);stroke-linecap:butt;stroke-linejoin:round;stroke-width:1px;vector-effect:non-scaling-stroke}.calculator-tab__shape-base{stroke:var(--shell-line)}.calculator-tab__shape-foot{stroke:none}.calculator-tab__foot-start{stop-color:var(--tab-outline);transition:stop-color var(--tab-duration) ease}.calculator-tab__foot-end{stop-color:var(--shell-line)}.calculator-tab--active .calculator-tab__shape-base{visibility:hidden}.calculator-tab__shape-fill{stroke:none;pointer-events:visiblePainted}.calculator-tab__shape-light{stroke:none;opacity:.03;pointer-events:none;transition:opacity var(--tab-duration) ease}.calculator-tab__light-color{stop-color:var(--tab-light)}.calculator-tab--active .calculator-tab__shape-light{opacity:.18}.calculator-tab__shape-edge{transition:stroke var(--tab-duration) ease}.calculator-tab:active:not(.calculator-tab--active){--tab-height: 48px}.calculator-tab:focus-visible{outline:none}.calculator-tab:focus-visible .calculator-tab__label{border-radius:3px;outline:2px solid var(--shell-focus);outline-offset:6px}.calculator-tab__label{position:relative;z-index:2;color:inherit;font-size:1rem;font-weight:750;letter-spacing:.015em;line-height:1.25;white-space:nowrap;transform:translateY(3px);transition:transform var(--tab-duration) var(--tab-easing)}.calculator-tab--active .calculator-tab__label{transform:translateY(-1px)}.calculator-panel{position:relative;z-index:1;padding:16px 24px 20px;border-top:0;background:var(--calculator-canvas-surface);outline:none}.calculator-panel--active>:first-child{transform-origin:50% 0;animation:calculator-panel-arrive .34s var(--tool-switch-easing) 40ms both}.calculator-panel--backward{--calculator-panel-shift: -6px}.calculator-panel--forward{--calculator-panel-shift: 6px}.calculator-loading{display:flex;min-height:min(42vh,360px);align-items:center;justify-content:center;gap:10px;color:var(--shell-muted);font-size:.86rem;font-weight:680}.calculator-loading__spinner{width:18px;height:18px;border:2px solid color-mix(in srgb,var(--shell-blue) 30%,transparent);border-top-color:var(--shell-blue);border-radius:50%;animation:shared-spin .72s linear infinite}.calculator-load-error{flex-direction:column;gap:14px;padding:24px;text-align:center}.calculator-load-error__retry{padding:9px 14px;border:1px solid var(--shell-line);border-radius:10px;background:var(--shell-panel);color:var(--shell-ink);cursor:pointer;font-size:.86rem;font-weight:650;transition:border-color .16s ease,color .16s ease}.calculator-load-error__retry:hover{border-color:var(--shell-blue);color:var(--shell-blue-deep)}.site-main{flex:1 0 auto;background:var(--calculator-canvas-surface)}.calculator-panel .app-shell{width:100%;min-height:0;margin:0;padding:0;overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none}.site-footer{display:flex;min-height:50px;align-items:center;justify-content:flex-end;padding:14px 24px 15px;border-top:1px solid var(--shell-line);background:linear-gradient(180deg,#fbfcfd,#f4f7f9);color:#7c8a99;font-size:.64rem;letter-spacing:.12em}.site-footer strong{font-weight:760}.mobile-menu-layer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:3000;display:flex;background:#131e2a6b;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.mobile-tool-sidebar{width:min(84vw,320px);height:100%;display:flex;flex-direction:column;overflow:hidden auto;overscroll-behavior:contain;border-right:1px solid #c7d3de;background:linear-gradient(155deg,#fff,#f4f7fa 68%,#eef3f7);box-shadow:18px 0 50px #1422323d}.mobile-tool-sidebar:focus{outline:none}.mobile-sidebar-header{display:flex;min-height:88px;align-items:center;justify-content:space-between;gap:16px;padding:18px 18px 16px 20px;border-bottom:1px solid #d8e0e7}.mobile-sidebar-eyebrow{display:block;margin-bottom:3px;color:var(--shell-blue-deep);font-size:.64rem;font-weight:800;letter-spacing:.18em}.mobile-sidebar-header h2{margin:0;color:#26384c;font-size:1.28rem;line-height:1.2}.mobile-sidebar-close{display:grid;width:38px;height:38px;flex:0 0 38px;padding:0;place-items:center;border:1px solid #d0dbe4;border-radius:10px;background:#f8fafc;color:#5c6d7e;cursor:pointer}.mobile-sidebar-close svg{width:18px;height:18px;fill:none;stroke:currentcolor;stroke-linecap:round;stroke-width:1.8}.mobile-tool-list{display:grid;gap:10px;padding:20px 16px}.mobile-tool-option{position:relative;display:grid;min-height:58px;grid-template-columns:34px minmax(0,1fr) 20px;align-items:center;gap:10px;padding:8px 13px;overflow:hidden;border:1px solid #d1dbe4;border-radius:12px;background:#ffffffad;color:#536579;cursor:pointer;text-align:left;transition:border-color .18s ease,background-color .18s ease,box-shadow .18s ease,color .18s ease,transform .18s ease}.mobile-tool-option:hover{border-color:#9fc9e8;background:#f7fbfe;transform:translate(3px)}.mobile-tool-option--active{border-color:#70b8ee;background:linear-gradient(100deg,#eaf5fd,#f7fbfe);color:#24445f;box-shadow:inset 3px 0 0 var(--shell-blue-deep),0 8px 22px #295d841f}.mobile-tool-option__code{color:var(--shell-blue-deep);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.72rem;font-weight:800;letter-spacing:.08em}.mobile-tool-option__label{overflow:hidden;font-size:1rem;font-weight:760;white-space:nowrap;text-overflow:ellipsis}.mobile-tool-option__arrow{justify-self:end;color:#8a9bab;font-size:1.45rem;font-weight:300;line-height:1}.mobile-sidebar-footer{margin-top:auto;padding:16px 16px calc(18px + env(safe-area-inset-bottom));border-top:1px solid #d8e0e7;background:#f1f5f8c2}.mobile-theme-switch{display:flex;width:100%;min-height:52px;align-items:center;justify-content:space-between;gap:16px;padding:8px 12px;border:0;border-radius:10px;background:transparent;color:#34495e;cursor:pointer}.mobile-theme-switch:hover{background:#ffffffad}.mobile-theme-switch__label{font-size:.95rem;font-weight:720}.mobile-theme-switch__track{position:relative;width:46px;height:26px;flex:0 0 46px;border:1px solid #b8c5cf;border-radius:999px;background:#dce3e9;transition:border-color .18s ease,background-color .18s ease}.mobile-theme-switch__thumb{position:absolute;top:2px;left:2px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 2px 6px #1f2f423d;transition:transform .2s cubic-bezier(.2,.8,.3,1)}.mobile-theme-switch[aria-checked=true] .mobile-theme-switch__track{border-color:var(--shell-blue-deep);background:var(--shell-blue-deep)}.mobile-theme-switch[aria-checked=true] .mobile-theme-switch__thumb{transform:translate(20px)}.mobile-menu-enter-active,.mobile-menu-leave-active{transition:background-color .22s ease,backdrop-filter .22s ease}.mobile-menu-enter-active .mobile-tool-sidebar,.mobile-menu-leave-active .mobile-tool-sidebar{transition:transform .26s cubic-bezier(.22,.78,.25,1)}.mobile-menu-enter-from,.mobile-menu-leave-to{background:transparent;-webkit-backdrop-filter:blur(0);backdrop-filter:blur(0)}.mobile-menu-enter-from .mobile-tool-sidebar,.mobile-menu-leave-to .mobile-tool-sidebar{transform:translate(-100%)}html[data-theme=dark]{--shell-ink: #dce8e5;--shell-muted: #8fa3a8;--shell-line: #223139;--shell-panel: #0c1216;--shell-blue: #45d5b5;--shell-blue-deep: #38bc98;--shell-focus: #55d8b8;--shell-bg: #070b0e;--shell-shadow: 0 22px 70px rgb(0 0 0 / 45%);--ink: #f7f8f8;--ink-soft: #b8c0c4;--ink-faint: #79878d;--line: #33434b;--line-strong: #52646c;--panel: #10181c;--white: #17242a;--blue: #45d5b5;--blue-deep: #38bc98;--red: #ee7166;--green: #45d5b5;--shadow: 0 18px 52px rgb(0 0 0 / 42%), inset 0 1px 0 rgb(255 255 255 / 5%);--calculator-canvas-surface: #0c1418;--calculator-canvas-dot: rgb(145 174 181 / 13%);--board-field-surface: #0d161b;--board-field-dot: rgb(145 174 181 / 20%);background:#070b0e}html[data-theme=dark] body{background:var(--calculator-canvas-background)}html[data-theme=dark] .site-shell{--tab-active-top: #20343c;--tab-active-mid: #192a31;--tab-edge: #47606a;--tab-active-edge: #577581;--tab-light: #a9d6df;--tab-idle-top: #152128;--tab-idle-surface: #10191e;--tab-idle-hover: #1b2b32;--tab-idle-ink: #93a5aa;--tab-active-ink: #e1ebe9;border-color:#223139;background:#0c1216}html[data-theme=dark] .site-header{border-color:#223139;background:linear-gradient(100deg,#0d1418,#0c1216 72%,#101a1e)}html[data-theme=dark] .site-header:after{background:#223139}html[data-theme=dark] .site-header h1{color:#e3eeeb}html[data-theme=dark] .theme-toggle{border-color:#31444c;background:linear-gradient(180deg,#172229,#10181d);color:#a8c0c4;box-shadow:0 6px 18px #0000004d}html[data-theme=dark] .mobile-menu-toggle{color:#a8c0c4;background:transparent;box-shadow:none}html[data-theme=dark] .mobile-menu-toggle:hover{background:#99bbc214;color:#c5d9dc}html[data-theme=dark] .mobile-menu-toggle__tile{background:linear-gradient(135deg,#a5c1c6,#688c95);box-shadow:0 1px 2px #00000052}html[data-theme=dark] .mobile-menu-toggle__hint{color:#8fa2a8}html[data-theme=dark] .calculator-panel{background:var(--calculator-canvas-surface)}html[data-theme=dark] .site-footer{border-top-color:#223139;background:linear-gradient(180deg,#0d1519,#0a1014);color:#82969b}html[data-theme=dark] .mobile-menu-layer{background:#00000094}html[data-theme=dark] .mobile-tool-sidebar{border-right-color:#31454e;background:linear-gradient(155deg,#10191e,#0d1519 70%,#0a1014);box-shadow:18px 0 54px #0000007a}html[data-theme=dark] .mobile-sidebar-header,html[data-theme=dark] .mobile-sidebar-footer{border-color:#263840}html[data-theme=dark] .mobile-sidebar-header h2{color:#e3eeeb}html[data-theme=dark] .mobile-sidebar-close{border-color:#31454e;background:#142027;color:#9eb2b6}html[data-theme=dark] .mobile-tool-option{border-color:#2f434c;background:#121d23c2;color:#9eb0b4}html[data-theme=dark] .mobile-tool-option:hover{border-color:#47716d;background:#17262b}html[data-theme=dark] .mobile-tool-option--active{border-color:#3f927f;background:linear-gradient(100deg,#15312c,#142329);color:#e1ebe9;box-shadow:inset 3px 0 0 var(--shell-blue-deep),0 10px 24px #0000003d}html[data-theme=dark] .mobile-tool-option__arrow{color:#71868b}html[data-theme=dark] .mobile-sidebar-footer{background:#091014b3}html[data-theme=dark] .mobile-theme-switch{color:#d5e2df}html[data-theme=dark] .mobile-theme-switch:hover{background:#ffffff0a}html[data-theme=dark] .mobile-theme-switch__track{border-color:#40535b;background:#26363d}@keyframes calculator-panel-arrive{0%{opacity:.55;transform:translate(var(--calculator-panel-shift, 0px)) translateY(6px)}to{opacity:1;transform:none}}@keyframes shared-spin{to{transform:rotate(360deg)}}@keyframes shared-dialog-in{0%{opacity:0;transform:translateY(15px) scale(.97)}}@keyframes shared-fade-in{0%{opacity:0}}@media(max-width:920px){body{padding:0}.site-shell{min-height:100vh;border:0;border-radius:0;box-shadow:none}.site-header{min-height:84px;grid-template-columns:minmax(240px,1fr) minmax(340px,400px) 38px;column-gap:16px;padding:0 16px}.site-header:before{top:22px}.calculator-panel{padding:14px 14px 18px}}@media(max-width:760px){.calculator-panel--from-menu{--calculator-panel-shift: 0px}.calculator-panel--from-menu>:first-child{animation-delay:.16s}.site-shell{overflow:visible}.site-header{position:sticky;top:0;z-index:120;min-height:68px;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:68px;column-gap:12px;padding:0 14px;box-shadow:0 7px 20px #1f2f4214}.site-header:before{top:14px}.site-header h1{grid-row:1;grid-column:1;font-size:clamp(1.5rem,4vw,1.7rem)}.site-header>.theme-toggle{display:none}.mobile-menu-toggle{display:grid;grid-row:1;grid-column:2;width:60px;height:52px;flex-basis:60px}.calculator-nav{display:none}.site-footer{justify-content:center;padding-right:14px;padding-left:14px}}@media(max-width:380px){.site-header{padding-right:10px;padding-left:10px}.mobile-menu-toggle{width:56px;flex-basis:56px}.calculator-panel{padding-right:10px;padding-left:10px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important;transition-delay:0ms!important;animation-duration:.01ms!important;animation-delay:0ms!important;animation-iteration-count:1!important}}:root{--puzzle-cell-empty-surface: #ffffff;--puzzle-cell-empty-line: #dce2e8;--puzzle-cell-empty-ink: #8793a1;--puzzle-cell-empty-inset: inset 0 1px 0 rgb(255 255 255 / 68%)}html[data-theme=dark]{--puzzle-cell-empty-surface: #263238;--puzzle-cell-empty-line: #46565d;--puzzle-cell-empty-ink: #b8c0c4;--puzzle-cell-empty-inset: inset 0 1px 0 rgb(255 255 255 / 5%)}.puzzle-cell{position:relative;display:grid;width:var(--cell-size);height:var(--cell-size);place-items:center;padding:0;overflow:hidden;border:var(--puzzle-cell-border-width, 1px) solid var(--puzzle-cell-empty-line);border-radius:var(--puzzle-cell-radius, 8px);cursor:pointer;touch-action:manipulation;transition:transform .1s ease,border-color .18s ease,background-color .18s ease,box-shadow .16s ease}.puzzle-cell--empty{background:var(--puzzle-cell-empty-surface);color:var(--puzzle-cell-empty-ink);box-shadow:var(--puzzle-cell-empty-inset)}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}input[type=number]{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}:root{--quantity-button-size: 32px;--quantity-control-height: 34px;--quantity-control-line: #cbd2da;--quantity-control-surface: #ffffff;--quantity-control-ink: #40546a;--quantity-disabled-surface: #f3f5f7;--quantity-disabled-ink: #a1adba}:is(.count-stepper,.stepper){display:grid;min-width:0;grid-template-columns:var(--quantity-button-size) minmax(36px,1fr) var(--quantity-button-size);gap:6px}:is(.count-stepper,.stepper) :is(button,input){width:100%;height:var(--quantity-control-height);min-width:0;padding:0;border:1px solid var(--quantity-control-line);border-radius:7px;background:var(--quantity-control-surface);color:var(--quantity-control-ink);text-align:center}:is(.count-stepper,.stepper) button{cursor:pointer;font-size:1rem;font-weight:700;transition:border-color .16s ease,background-color .16s ease,color .16s ease}:is(.count-stepper,.stepper) button:hover:not(:disabled){border-color:var(--blue);background:color-mix(in srgb,var(--blue) 8%,var(--quantity-control-surface))}:is(.count-stepper,.stepper) button:disabled{background:var(--quantity-disabled-surface);color:var(--quantity-disabled-ink)}:is(.count-stepper,.stepper) input{font-size:.8rem;font-weight:750}:is(.count-stepper,.stepper) input:focus-visible{outline:2px solid var(--shell-focus);outline-offset:2px}.action-bar{display:grid;gap:8px;margin:22px auto 0;padding:8px;border:1px solid #dce3ea;border-radius:14px;background:linear-gradient(180deg,#fff,#f6f8fa);box-shadow:0 5px 16px #2635480f}:where(.circuit-repair,.floating-recovery,.circuit-overlay-scope,.floating-overlay-scope) :where(.panel-section,.board-panel,.component-panel,.inventory-panel){border:var(--tool-panel-border-width, 1px) solid var(--line);border-radius:12px;background:var(--panel);box-shadow:var(--tool-panel-shadow, 0 3px 9px rgb(38 53 72 / 4%))}:where(.circuit-repair,.floating-recovery,.circuit-overlay-scope,.floating-overlay-scope) :where(.component-panel,.inventory-panel){min-width:0;padding:16px}:where(.circuit-repair,.floating-recovery,.circuit-overlay-scope,.floating-overlay-scope) :where(.component-card,.inventory-item){position:relative;min-width:0;overflow:hidden;border:1px solid #e0e4e9;border-radius:9px}:where(.circuit-repair,.floating-recovery,.circuit-overlay-scope,.floating-overlay-scope) :where(.component-card,.inventory-item):after{position:absolute;top:0;right:0;width:var(--inventory-strip-width);height:var(--inventory-strip-height);background:linear-gradient(90deg,transparent,var(--inventory-strip-color));content:""}.circuit-repair .setup-grid,.floating-recovery .setup-grid{display:grid;grid-template-columns:var(--setup-grid-columns);gap:var(--setup-grid-gap, 16px);align-items:end}.panel-section{margin-top:18px;padding:15px 17px}.workspace{display:grid;gap:20px;align-items:stretch;margin-top:20px}.board-panel{min-width:0;display:flex;flex-direction:column;padding:16px}.board-scroll{width:100%;flex:1;overflow:auto;border:1px solid #e0e6ec;border-radius:10px;background:var(--board-field-background);box-shadow:inset 0 1px 3px #4c5a6c0a;scrollbar-color:#bcc6d2 transparent;scrollbar-width:thin}.board-size-badge,.component-count-badge,.preset-count-badge,.balloon-count-badge{padding:4px 9px;border:1px solid #dce3ea;border-radius:999px;background:#f4f7f9;color:#627185;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.72rem;font-weight:700}.button{position:relative;display:inline-flex;min-height:42px;align-items:center;justify-content:center;gap:8px;padding:9px 20px;border:1px solid transparent;border-radius:10px;color:#34495e;cursor:pointer;font-size:.9rem;font-weight:760;letter-spacing:.035em;line-height:1;-webkit-user-select:none;user-select:none;transition:border-color .16s ease,background .16s ease,color .16s ease,box-shadow .16s ease,transform .12s ease}.button__icon svg{display:block;width:100%;height:100%}.button__icon svg,:where(.circuit-repair,.circuit-overlay-scope) .component-panel__refresh svg{fill:none;stroke:currentcolor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.button--primary{min-height:46px;border-color:#2384dc;background:linear-gradient(135deg,#49acff,#2f91e8 52%,#1976d2);color:#fff;box-shadow:0 4px 11px #1976d22e,inset 0 1px #ffffff59}.button--primary .button__icon svg{fill:currentcolor;stroke:none}.button--primary:hover:not(:disabled){border-color:#1574c7;background:linear-gradient(135deg,#5bb6ff,#3499ee 52%,#1d7ed9);box-shadow:0 6px 15px #1976d238,inset 0 1px #ffffff6b}.button--primary.button--busy:disabled{opacity:1;border-color:#3a8dd3;background:linear-gradient(135deg,#67ace3,#3e8dcc);color:#fff;box-shadow:0 7px 16px #286da833,inset 0 1px #ffffff3d;cursor:wait}.button--confirm,.button--soft{border-color:#b8d7f3;background:linear-gradient(180deg,#fff,#eaf5ff);color:#176db4;box-shadow:0 3px 9px #297ec41f,inset 0 1px #fff}.button--confirm{min-height:38px;padding:7px 16px}.button--confirm:hover:not(:disabled),.button--soft:hover:not(:disabled){border-color:#75b8ed;background:linear-gradient(180deg,#fff,#dceeff);color:#0f5f9f;box-shadow:0 6px 13px #297ec42b,inset 0 1px #fff}.button--reset{min-height:46px;border-color:#ced7e0;background:linear-gradient(180deg,#fff,#f0f3f6);color:#536579;box-shadow:0 3px 9px #26354817,inset 0 1px #fff}.button--reset:hover:not(:disabled){border-color:#dfaaa4;background:linear-gradient(180deg,#fffdfd,#fff1ef);color:#a84940;box-shadow:0 7px 15px #a849401f,inset 0 1px #fff}.button--ghost{border-color:#ccd3db;background:#fff;color:#667487}.button--ghost:hover:not(:disabled){background:#edf1f5}.button--danger{border-color:#d93d31;background:var(--red);color:#fff;box-shadow:0 4px 11px #d33a2f33}.button--danger:hover:not(:disabled){border-color:#e24b3f;background:#f1584b;box-shadow:0 7px 15px #d33a2f3d}.status-message{display:flex;max-width:720px;align-items:flex-start;gap:12px;margin:16px auto 0;padding:13px 16px;border:1px solid #d5dce4;border-left-width:4px;border-radius:10px;background:#f6f8fa}.status-message__icon{width:13px;height:13px;margin-top:3px;flex:0 0 auto;border:3px solid currentcolor;border-radius:50%}.status-message--calculating{border-left-color:var(--blue);color:var(--blue)}.status-message--calculating .status-message__icon{border-right-color:transparent;animation:shared-spin .75s linear infinite}.status-message--success,.status-message--solved{border-left-color:var(--green);background:#f1f8ed;color:var(--green)}.status-message--unsatisfiable,.status-message--error{border-left-color:var(--red);background:#fff5f4;color:var(--red)}.confirm-dialog{width:min(100%,420px);padding:25px;border:1px solid #e3e6ea;border-radius:16px;background:#fff;box-shadow:0 18px 55px #0f1b2840;text-align:center;animation:shared-dialog-in .22s ease}.modal-overlay{position:fixed;z-index:2000;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:20px;background:#19232f8a;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);animation:shared-fade-in .18s ease-out}html[data-theme=dark] .modal-overlay{background:#03070ac2}html[data-theme=dark]{--quantity-control-line: #41545e;--quantity-control-surface: #17242a;--quantity-control-ink: #dce7e8;--quantity-disabled-surface: #10191e;--quantity-disabled-ink: #64777f}html[data-theme=dark] .action-bar{border-color:#33434b;background:linear-gradient(180deg,#17242a,#111b20);box-shadow:0 5px 16px #00000038}html[data-theme=dark] :is(.panel-section,.board-panel,.component-panel,.inventory-panel){border-color:#33434b;background:#121c21;box-shadow:0 4px 12px #00000024,inset 0 1px #ffffff05}html[data-theme=dark] .switch-control{color:#d5dbdd}html[data-theme=dark] .switch-control__track{border-color:#52646c;background:#26353b}html[data-theme=dark] .switch-control__track:after{background:#c7d0d3;box-shadow:0 1px 4px #0000007a}html[data-theme=dark] .switch-control input:focus-visible+.switch-control__track{outline-color:#50d2ad7a}html[data-theme=dark] :is(.board-size-badge,.component-count-badge,.preset-count-badge,.balloon-count-badge){border-color:#3c4d55;background:#17242a;color:#d5dbdd;box-shadow:inset 0 1px #ffffff0a}html[data-theme=dark] .board-scroll{border-color:#2b3b43;background:var(--board-field-background);box-shadow:inset 0 1px 4px #0000002e,inset 0 1px #ffffff05;scrollbar-color:#52646c transparent}html[data-theme=dark] .button--primary{border-color:#45d5b5;background:linear-gradient(135deg,#319f86,#247b66 54%,#185846);color:#fff;box-shadow:0 8px 20px #135b4a61,inset 0 1px #fff3}html[data-theme=dark] .button--primary:hover:not(:disabled){border-color:#67e5c7;background:linear-gradient(135deg,#38aa8f,#29856e 54%,#1c624f);box-shadow:0 11px 25px #135b4a75,0 0 0 2px #45d5b51f,inset 0 1px #ffffff3d}html[data-theme=dark] .button--primary:disabled:not(.button--busy){border-color:#3b4b52;background:#26353b;color:#718087;box-shadow:inset 0 1px #ffffff08}html[data-theme=dark] .button--primary.button--busy:disabled{border-color:#399d85;background:linear-gradient(135deg,#368b77,#235f50);color:#e8f4f1;box-shadow:0 7px 17px #10443859,inset 0 1px #ffffff24}html[data-theme=dark] :is(.button--confirm,.button--soft){border-color:#399d85;background:linear-gradient(180deg,#1c302f,#142724);color:#71e2c8;box-shadow:0 5px 13px #00000040,inset 0 1px #ffffff12}html[data-theme=dark] :is(.button--confirm,.button--soft):hover:not(:disabled){border-color:#50d2ad;background:linear-gradient(180deg,#223d39,#17302b);color:#9af0dc;box-shadow:0 7px 16px #0000004d,0 0 0 2px #45d5b51a,inset 0 1px #ffffff17}html[data-theme=dark] .button--reset,html[data-theme=dark] .button--ghost{border-color:#52646c;background:linear-gradient(180deg,#1b2b32,#121e23);color:#c4ced1;box-shadow:0 5px 13px #0000003d,inset 0 1px #ffffff0f}html[data-theme=dark] .button--reset:hover:not(:disabled){border-color:#df6f65;background:linear-gradient(180deg,#382625,#281c1c);color:#f0a098;box-shadow:0 7px 16px #0000004d,0 0 0 2px #ee716617}html[data-theme=dark] .button--ghost:hover:not(:disabled){border-color:#6a7d85;background:#223138;color:#eef2f2}html[data-theme=dark] .button--danger{border-color:#f08076;background:#a84239;color:#fff;box-shadow:0 6px 16px #49120f70}html[data-theme=dark] .button--danger:hover:not(:disabled){border-color:#ff9a91;background:#bc4b41;box-shadow:0 8px 19px #49120f7f}html[data-theme=dark] .status-message{border-color:#33434b;background:#142027;box-shadow:0 8px 20px #0000003d,inset 0 1px #ffffff0a}html[data-theme=dark] :is(.status-message--success,.status-message--solved){background:#247b663d}html[data-theme=dark] :is(.status-message--unsatisfiable,.status-message--error){background:#752a2547}html[data-theme=dark] .confirm-dialog{border-color:#52646c;background:linear-gradient(180deg,#18262dfa,#0d161bfc),#111b20;box-shadow:0 24px 70px #000000a3,inset 0 1px #ffffff0f}html[data-theme=dark] :is(.section-heading h2,.status-message strong,.confirm-dialog h2){color:#e2ebea}html[data-theme=dark] :is(.control-label,.size-fields label>span,.field-message,.status-message p,.confirm-dialog p){color:#a7b5b8}html[data-theme=dark] .size-fields input{border-color:#52646c;background:#17242a;color:#f1f3f2;box-shadow:inset 0 1px #ffffff0a}html[data-theme=dark] .size-fields input:focus{border-color:var(--blue);box-shadow:0 0 0 3px color-mix(in srgb,var(--blue) 14%,transparent)}html[data-theme=dark] .size-fields__times{color:#79878d}html[data-theme=dark] :is(.field-message--error,.dialog-error){color:#f08a80}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.section-heading>div,.section-heading__title{display:flex;align-items:baseline;gap:10px}.section-heading h2{margin:0;color:#34495e;font-size:1.08rem;line-height:1.2}.section-heading__index{color:var(--blue);font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.72rem;font-weight:800;letter-spacing:.08em}.setup-group{display:flex;min-width:0;flex-direction:column;gap:7px}.control-label{color:#66768a;font-size:.75rem;font-weight:750;letter-spacing:.04em}.size-fields{display:flex;align-items:center;gap:8px}.size-fields label{position:relative;display:flex;align-items:center}.size-fields label>span{position:absolute;left:10px;z-index:1;color:#8a97a5;font-size:.72rem;font-weight:700;pointer-events:none}.size-fields input[aria-invalid=true]{border-color:var(--red)}.size-fields input{width:74px;height:38px;padding:5px 8px 5px 28px;border:1.5px solid #cbd2da;border-radius:8px;background:#fff;color:#34495e;font-weight:750;text-align:center;transition:border-color .18s ease,box-shadow .18s ease}.size-fields input:focus{border-color:var(--blue);box-shadow:0 0 0 3px #409eff1f;outline:0}.size-fields__times{color:#97a3b0}.size-control__submit{min-width:92px;min-height:38px;padding:7px 16px}.field-message{margin:9px 0 0;color:#7b8796;font-size:.78rem;line-height:1.45}.field-message--error,.dialog-error{color:#c74034;font-weight:650}.switch-control{display:flex;min-height:38px;align-items:center;gap:9px;color:#46586b;cursor:pointer;font-size:.86rem;font-weight:680}.switch-control input{position:absolute;opacity:0;pointer-events:none}.switch-control__track{position:relative;width:38px;height:21px;flex:0 0 38px;border:1px solid #bdc7d2;border-radius:999px;background:#dfe4e9;transition:background-color .18s ease,border-color .18s ease}.switch-control__track:after{position:absolute;top:2px;left:2px;width:15px;height:15px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #28354440;content:"";transition:transform .18s ease}.switch-control input:checked+.switch-control__track:after{transform:translate(17px)}.switch-control input:focus-visible+.switch-control__track{outline:3px solid rgb(64 158 255 / 28%);outline-offset:2px}.button:hover:not(:disabled){transform:translateY(-2px)}.button:active:not(:disabled){transform:translateY(0) scale(.985)}.button:disabled{opacity:.52}.button__icon{display:grid;width:18px;height:18px;flex:0 0 18px;place-items:center}.button-spinner{display:inline-block;width:14px;height:14px;flex:0 0 14px;border:2px solid rgb(255 255 255 / 45%);border-top-color:#fff;border-radius:50%;animation:shared-spin .75s linear infinite}.status-message strong{color:#34495e;font-size:.83rem}.status-message p{margin:3px 0 0;color:#627084;font-size:.82rem;line-height:1.5}.confirm-dialog__mark{display:grid;width:43px;height:43px;margin:0 auto 13px;place-items:center;border:2px solid var(--red);border-radius:50%;color:var(--red);font-size:1.25rem;font-weight:800}.confirm-dialog--primary .confirm-dialog__mark{border-color:var(--blue-deep);color:var(--blue-deep)}.confirm-dialog h2{margin:0;color:#2c3e50;font-size:1.2rem}.confirm-dialog p{margin:11px 0 20px;color:#6c7888;font-size:.86rem;line-height:1.6}.confirm-dialog__actions{display:flex;justify-content:center;gap:10px}@media(max-width:680px){.circuit-repair .setup-grid,.floating-recovery .setup-grid{grid-template-columns:1fr;gap:13px}:root{--quantity-button-size: 44px;--quantity-control-height: 44px}.modal-overlay{padding:10px}.panel-section,.board-panel,.calculator-panel .component-panel,.calculator-panel .inventory-panel{padding:13px}.size-fields{flex-wrap:wrap}.size-fields .button{min-width:78px;flex:1;padding-inline:9px;white-space:nowrap}.size-control__submit{min-height:44px}.button{padding-inline:14px}}
