.external-sort-workbench_workbench__6E4c3{--panel:var(--surface-2);display:grid;grid-gap:8px;gap:8px;min-width:0;color:var(--text)}.external-sort-workbench_controls__2NOxJ{display:flex;flex-wrap:wrap;align-items:flex-end;gap:8px;min-width:0}.external-sort-workbench_controls__2NOxJ label{display:grid;grid-gap:4px;gap:4px;min-width:0;color:var(--muted);font-size:.78rem}.external-sort-workbench_controls__2NOxJ input:not([type=range]),.external-sort-workbench_controls__2NOxJ select,.external-sort-workbench_controls__2NOxJ textarea{box-sizing:border-box;min-width:0;min-height:36px;padding:6px 8px;border:1px solid var(--line);border-radius:5px;background:var(--panel);color:var(--text);font:inherit}.external-sort-workbench_controls__2NOxJ .external-sort-workbench_source__P71iV{flex:1 1 280px}.external-sort-workbench_controls__2NOxJ textarea{width:100%;resize:vertical;font-family:ui-monospace,Consolas,monospace}.external-sort-workbench_controls__2NOxJ input[type=number]{width:80px}.external-sort-workbench_button__JKJPl{min-height:36px;padding:6px 10px;border:1px solid var(--line);border-radius:5px;background:var(--panel);color:var(--text);font:inherit;cursor:pointer}.external-sort-workbench_button__JKJPl:focus-visible,.external-sort-workbench_button__JKJPl:hover{border-color:var(--accent)}.external-sort-workbench_controls__2NOxJ .external-sort-workbench_primary__b7mWp{color:#fff;background:var(--accent);border-color:var(--accent)}.external-sort-workbench_error__sfSq_{margin:6px 0 0;color:var(--danger,#d73b48);font-size:.82rem;overflow-wrap:anywhere}.external-sort-workbench_inputPanel__mHy9v{padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.external-sort-workbench_inputTabs__7X1Kf{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-bottom:8px}.external-sort-workbench_inputTabs__7X1Kf button{font:inherit;font-size:.83rem;font-weight:700;padding:7px 16px;min-height:36px;border:0;border-bottom:2px solid transparent;border-radius:5px 5px 0 0;background:var(--surface-2);color:var(--text);cursor:pointer}.external-sort-workbench_inputTabs__7X1Kf button[aria-pressed=true]{color:var(--accent);background:var(--accent-soft);border-bottom-color:var(--accent)}.external-sort-workbench_inputTabs__7X1Kf span{font-size:.73rem;color:var(--muted);margin-left:6px}.external-sort-workbench_inputPanel__mHy9v .external-sort-workbench_controls__2NOxJ{border:0;padding:0;background:none}.external-sort-workbench_layout__PqHjx,.external-sort-workbench_lessonLayout__Gd5a_{display:grid;grid-gap:8px;gap:8px;min-width:0;align-items:start}.external-sort-workbench_layout__PqHjx{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);--stage-height:306px}.external-sort-workbench_replacementLayout__pji9W{--stage-height:306px}.external-sort-workbench_mergeLayout__2qM2O{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);--stage-height:286px}.external-sort-workbench_loserLayout__ke5oh{grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);--stage-height:338px}.external-sort-workbench_lessonLayout__Gd5a_{grid-template-columns:repeat(2,minmax(0,1fr))}.external-sort-workbench_layout__PqHjx>*,.external-sort-workbench_lessonLayout__Gd5a_>*{min-width:0}.external-sort-workbench_lessonTrack__CJFqM[open],.external-sort-workbench_stateTrack__DAlWL[open],.external-sort-workbench_visualTrack__RLrIZ[open]{display:flex;flex-direction:column;box-sizing:border-box;height:var(--stage-height,194px);overflow:hidden}.external-sort-workbench_lessonTrack__CJFqM[open]::details-content,.external-sort-workbench_stateTrack__DAlWL[open]::details-content,.external-sort-workbench_visualTrack__RLrIZ[open]::details-content{display:contents}.external-sort-workbench_lessonTrack__CJFqM>summary,.external-sort-workbench_stateTrack__DAlWL>summary,.external-sort-workbench_visualTrack__RLrIZ>summary{flex:0 0 auto}.external-sort-workbench_lessonTrack__CJFqM[open]>div,.external-sort-workbench_stateTrack__DAlWL[open]>div,.external-sort-workbench_visualTrack__RLrIZ[open]>div{flex:1 1 auto;min-height:0;overflow:auto;scrollbar-gutter:stable;overscroll-behavior:contain}.external-sort-workbench_scroll__Wf1Yu{max-width:100%;overflow:auto;overscroll-behavior:contain}.external-sort-workbench_values__jHLPC{display:flex;flex-wrap:wrap;gap:4px;min-width:0}.external-sort-workbench_value__0d_tJ{display:inline-grid;flex:0 0 auto;place-items:center;box-sizing:border-box;min-width:32px;min-height:30px;padding:2px 5px;border:1px solid var(--line);border-radius:4px;font:.8rem ui-monospace,Consolas,monospace}.external-sort-workbench_value__0d_tJ.external-sort-workbench_current__JKMux{border-color:var(--orange,#e0a458);background:color-mix(in srgb,var(--orange,#e0a458) 22%,var(--panel))}.external-sort-workbench_value__0d_tJ.external-sort-workbench_done__5_b2S{opacity:.55}.external-sort-workbench_empty__uN9zD{color:var(--muted);font-size:.76rem;line-height:30px}.external-sort-workbench_inputSequence__Ujz_M{margin-bottom:8px}.external-sort-workbench_inputSequence__Ujz_M>strong,.external-sort-workbench_sectionTitle__E5QSR{display:block;font-size:.78rem;margin:0 0 5px}.external-sort-workbench_inputSequence__Ujz_M .external-sort-workbench_values__jHLPC{flex-wrap:nowrap;overflow-x:auto;padding-bottom:3px}.external-sort-workbench_inputSequence__Ujz_M .external-sort-workbench_value__0d_tJ{gap:1px}.external-sort-workbench_inputSequence__Ujz_M small{color:var(--muted);font-size:.68rem}.external-sort-workbench_inputSequence__Ujz_M .external-sort-workbench_done__5_b2S{opacity:.6;background:var(--accent-soft)}.external-sort-workbench_workspaceHeading__0V9SB{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 10px}.external-sort-workbench_workspaceHeading__0V9SB>span{color:var(--muted);font-size:.74rem}.external-sort-workbench_slots__ibRfk{display:grid;grid-template-columns:repeat(auto-fit,minmax(66px,1fr));grid-gap:5px;gap:5px}.external-sort-workbench_slot__jVtiR{display:grid;grid-gap:2px;gap:2px;padding:5px 7px;min-height:60px;box-sizing:border-box;border:1px solid var(--line);border-radius:5px;background:var(--surface-2)}.external-sort-workbench_slot__jVtiR strong{font:1.1rem ui-monospace,Consolas,monospace}.external-sort-workbench_slot__jVtiR small{color:var(--muted);font-size:.72rem}.external-sort-workbench_slot__jVtiR.external-sort-workbench_frozen__aPYHB{border-color:var(--purple,#b28bff);background:color-mix(in srgb,var(--purple,#b28bff) 14%,var(--panel))}.external-sort-workbench_slot__jVtiR.external-sort-workbench_current__JKMux{border-color:var(--orange,#e0a458);box-shadow:inset 0 0 0 1px var(--orange,#e0a458)}.external-sort-workbench_runGroups__2Rpyy{display:grid;grid-gap:5px;gap:5px;margin-top:8px;max-height:108px;overflow:auto;border-top:1px solid var(--line);padding-top:6px}.external-sort-workbench_runGroups__2Rpyy>div{display:grid;grid-template-columns:54px minmax(0,1fr);grid-gap:6px;gap:6px;align-items:center}.external-sort-workbench_runGroups__2Rpyy strong{color:var(--muted);font-size:.74rem}.external-sort-workbench_runGroups__2Rpyy .external-sort-workbench_values__jHLPC{flex-wrap:nowrap;overflow-x:auto}.external-sort-workbench_mergeFlow__8l4SG{display:grid;grid-template-columns:minmax(0,1fr) minmax(110px,.38fr);grid-gap:10px;gap:10px;align-items:start}.external-sort-workbench_runs__0IsWI{display:grid;grid-gap:7px;gap:7px;min-width:0}.external-sort-workbench_run__Drdw1{display:grid;grid-template-columns:42px minmax(0,1fr) 42px;grid-gap:6px;gap:6px;align-items:center;padding:5px 0;border-bottom:1px solid var(--line)}.external-sort-workbench_run__Drdw1>strong{color:var(--accent);font-size:.78rem}.external-sort-workbench_run__Drdw1 small{display:block;color:var(--muted);font-size:.68rem;font-weight:400;white-space:nowrap}.external-sort-workbench_run__Drdw1 .external-sort-workbench_values__jHLPC{flex-wrap:nowrap;overflow-x:auto;padding-bottom:3px}.external-sort-workbench_headValue__KQcLn{display:grid;place-items:center;grid-gap:3px;gap:3px;padding:4px;background:var(--accent-soft);border:1px solid var(--line);border-radius:4px;font:.86rem ui-monospace,Consolas,monospace}.external-sort-workbench_winningRun__EjM03 .external-sort-workbench_headValue__KQcLn{border-color:var(--orange,#e0a458);background:var(--warning-soft,var(--accent-soft))}.external-sort-workbench_output__CdSHg{min-width:0;border-top:1px solid var(--line);margin-top:8px;padding-top:6px}.external-sort-workbench_output__CdSHg>strong{display:block;color:var(--muted);font-size:.75rem;margin-bottom:5px}.external-sort-workbench_output__CdSHg>.external-sort-workbench_values__jHLPC{max-height:76px;overflow:auto}.external-sort-workbench_mergeFlow__8l4SG>.external-sort-workbench_output__CdSHg{margin:0;padding:5px 0 5px 9px;border-top:0;border-left:1px solid var(--line)}.external-sort-workbench_mergeFlow__8l4SG>.external-sort-workbench_output__CdSHg>.external-sort-workbench_values__jHLPC{max-height:230px;align-content:start}.external-sort-workbench_treeWrap__9U9A2{display:grid;grid-template-columns:minmax(0,1fr) 108px;grid-gap:8px;gap:8px;min-width:0;align-items:start}.external-sort-workbench_treeWrap__9U9A2>.external-sort-workbench_scroll__Wf1Yu{grid-column:1;grid-row:1;max-height:232px}.external-sort-workbench_winnerCard__xKrL7{grid-column:2;grid-row:1;padding:8px;border:1px solid var(--green,#62c68a);border-radius:6px;background:color-mix(in srgb,var(--green,#62c68a) 10%,var(--panel));font-size:.8rem;line-height:1.6}.external-sort-workbench_winnerCard__xKrL7 strong{color:var(--green,#398f5c)}.external-sort-workbench_treeSvg__D5Wk_{display:block;min-width:560px}.external-sort-workbench_treeSvg__D5Wk_ line{stroke:var(--line);stroke-width:1.4}.external-sort-workbench_treeSvg__D5Wk_ g.external-sort-workbench_path__LcZV4 line{stroke:var(--orange,#e0a458);stroke-width:3}.external-sort-workbench_treeSvgNode__ZhRrJ circle,.external-sort-workbench_treeSvgNode__ZhRrJ rect{fill:var(--panel);stroke:var(--line);stroke-width:1.2}.external-sort-workbench_treeSvgNode__ZhRrJ.external-sort-workbench_path__LcZV4 rect{stroke:var(--orange,#e0a458);stroke-width:2.5}.external-sort-workbench_treeSvgNode__ZhRrJ text{fill:var(--text);font:10px ui-monospace,Consolas,monospace;text-anchor:middle}.external-sort-workbench_treeSvgNode__ZhRrJ.external-sort-workbench_leafNode__BMQ7D text:first-of-type{font-size:12px;font-weight:700}.external-sort-workbench_treeSvgNode__ZhRrJ.external-sort-workbench_winner__U2sI4 circle{fill:color-mix(in srgb,var(--green,#62c68a) 18%,var(--panel));stroke:var(--green,#62c68a);stroke-width:2}.external-sort-workbench_reason__9ZQ5i{margin:6px 0 0;color:var(--muted);font-size:.78rem;line-height:1.5;overflow-wrap:anywhere}.external-sort-workbench_stateTable__wky3x{width:100%;border-collapse:collapse;font-size:.76rem}.external-sort-workbench_stateTable__wky3x td,.external-sort-workbench_stateTable__wky3x th{border:1px solid var(--line);padding:6px;text-align:left;overflow-wrap:anywhere}.external-sort-workbench_stateTable__wky3x thead{background:var(--surface-2)}.external-sort-workbench_stateTable__wky3x tbody th{color:var(--accent)}.external-sort-workbench_activeRow__cNDgj{background:var(--accent-soft)}.external-sort-workbench_frozenRow__3Cn_a{background:color-mix(in srgb,var(--purple,#b28bff) 12%,var(--surface))}.external-sort-workbench_metrics___oIdl{display:flex;flex-wrap:wrap;gap:6px 16px;padding:8px;margin:8px 0 0;background:var(--surface);border:1px solid var(--line);border-radius:5px;font-size:.76rem}.external-sort-workbench_metrics___oIdl div{display:flex;gap:7px}.external-sort-workbench_metrics___oIdl dt{color:var(--muted)}.external-sort-workbench_metrics___oIdl dd{margin:0;font-weight:700}.external-sort-workbench_code___AUDL{margin:0;padding:0;list-style:none;counter-reset:line;display:grid;grid-gap:2px;gap:2px}.external-sort-workbench_code___AUDL li{counter-increment:line;display:flex;gap:8px;padding:5px 6px;border-left:3px solid transparent;border-radius:4px;font-size:.79rem;line-height:1.5}.external-sort-workbench_code___AUDL li:before{content:counter(line);color:var(--muted);min-width:16px}.external-sort-workbench_code___AUDL code{white-space:normal;overflow-wrap:anywhere;color:var(--text);font-family:ui-monospace,Consolas,monospace}.external-sort-workbench_code___AUDL li[aria-current=step]{background:var(--accent-soft);border-left-color:var(--accent)}.external-sort-workbench_history__re_xg{display:grid;grid-gap:4px;gap:4px;list-style:none;padding:0;margin:0}.external-sort-workbench_history__re_xg li{display:flex;align-items:start;gap:8px;padding:6px;font-size:.79rem;line-height:1.5;color:var(--muted);overflow-wrap:anywhere;border:1px solid transparent;border-radius:5px}.external-sort-workbench_stepNumber__v7Qzb{display:grid;place-items:center;min-width:24px;height:24px;flex-shrink:0;border:1px solid var(--line);border-radius:50%;color:var(--accent);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.external-sort-workbench_history__re_xg li[aria-current=step]{background:var(--accent-soft);color:var(--text);border-color:var(--line)}.external-sort-workbench_history__re_xg li[aria-current=step] .external-sort-workbench_stepNumber__v7Qzb{background:var(--accent);color:#fff}.external-sort-workbench_playback__huN_x{border:1px solid var(--line);border-radius:8px;padding:7px 9px;align-items:center}.external-sort-workbench_controls__2NOxJ .external-sort-workbench_progress__jjRmj{flex:1 1 160px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.external-sort-workbench_controls__2NOxJ input[type=range]{width:100%;min-height:24px;padding:0}.external-sort-workbench_links__nh2RC{display:flex;flex-wrap:wrap;gap:6px 12px;font-size:.78rem}.external-sort-workbench_links__nh2RC a{color:var(--accent)}.external-sort-workbench_slot__jVtiR,.external-sort-workbench_value__0d_tJ{transition:background-color .24s ease,border-color .24s ease,opacity .24s ease}.external-sort-workbench_treeSvgNode__ZhRrJ circle,.external-sort-workbench_treeSvgNode__ZhRrJ rect,.external-sort-workbench_treeSvg__D5Wk_ line{transition:stroke .24s ease,stroke-width .24s ease,fill .24s ease}@media(max-width:800px){.external-sort-workbench_layout__PqHjx,.external-sort-workbench_lessonLayout__Gd5a_{grid-template-columns:minmax(0,1fr)}.external-sort-workbench_layout__PqHjx{--stage-height:304px}.external-sort-workbench_loserLayout__ke5oh{--stage-height:338px}.external-sort-workbench_stateTrack__DAlWL[open]{height:244px}.external-sort-workbench_inputTabs__7X1Kf span{flex-basis:100%;margin:0}.external-sort-workbench_controls__2NOxJ select{max-width:100%}}@media(max-width:480px){.external-sort-workbench_controls__2NOxJ .external-sort-workbench_progress__jjRmj,.external-sort-workbench_controls__2NOxJ .external-sort-workbench_source__P71iV{flex-basis:100%}.external-sort-workbench_mergeFlow__8l4SG{grid-template-columns:minmax(0,1fr)}.external-sort-workbench_mergeFlow__8l4SG>.external-sort-workbench_output__CdSHg{padding:6px 0 0;border-left:0;border-top:1px solid var(--line)}.external-sort-workbench_mergeFlow__8l4SG>.external-sort-workbench_output__CdSHg>.external-sort-workbench_values__jHLPC{max-height:90px}.external-sort-workbench_treeWrap__9U9A2{grid-template-columns:minmax(0,1fr)}.external-sort-workbench_winnerCard__xKrL7{grid-column:1;grid-row:1;padding:4px 8px}.external-sort-workbench_treeWrap__9U9A2>.external-sort-workbench_scroll__Wf1Yu{grid-row:2;max-height:210px}}@media(pointer:coarse){.external-sort-workbench_button__JKJPl,.external-sort-workbench_inputTabs__7X1Kf button{min-height:44px}}@media(prefers-reduced-motion:reduce){.external-sort-workbench_workbench__6E4c3 *{transition:none!important;animation:none!important}}.external-sort-workbench_visualTrack__RLrIZ[data-demo-expanded=true] .external-sort-workbench_treeWrap__9U9A2>.external-sort-workbench_scroll__Wf1Yu{max-height:none;overflow:visible}.external-sort-workbench_visualTrack__RLrIZ[data-demo-expanded=true] .external-sort-workbench_treeWrap__9U9A2{grid-template-columns:minmax(0,1fr)}.external-sort-workbench_visualTrack__RLrIZ[data-demo-expanded=true] .external-sort-workbench_winnerCard__xKrL7{grid-column:1;grid-row:1;justify-self:start}.external-sort-workbench_visualTrack__RLrIZ[data-demo-expanded=true] .external-sort-workbench_treeWrap__9U9A2>.external-sort-workbench_scroll__Wf1Yu{grid-row:2}.external-sort-workbench_visualTrack__RLrIZ[data-demo-expanded=true] .external-sort-workbench_treeSvg__D5Wk_{width:max(100%,var(--loser-tree-width));height:auto}.bfs-graph-diagram_diagram__G__0X{color:var(--text);min-width:0}.bfs-graph-diagram_summary__MgddG{padding:12px 14px 0;color:var(--muted);font-size:.78rem}.bfs-graph-diagram_svg__gWD5X{display:block;overflow:visible}.bfs-graph-diagram_edge__sGH4y{fill:none;stroke:#858d9c;stroke-width:.95;stroke-linecap:round}.bfs-graph-diagram_activeEdge__mzSUm{stroke:#df900b;stroke-width:1.2}.bfs-graph-diagram_weight__ao4td rect{fill:var(--aw-panel,#fff);stroke:#ccd7e8;stroke-width:.25}.bfs-graph-diagram_weight__ao4td text{fill:var(--text,#14213d);text-anchor:middle;font:600 3.1px ui-monospace,monospace}.bfs-graph-diagram_node___um0d{--node-fill:var(--aw-panel,#fff);--node-stroke:#616b7d;--node-text:var(--text,#14213d)}.bfs-graph-diagram_node___um0d>circle{fill:var(--node-fill);stroke:var(--node-stroke);stroke-width:.55}.bfs-graph-diagram_node___um0d .bfs-graph-diagram_nodeLabel__BeA3w{fill:var(--node-text);text-anchor:middle;font-family:ui-monospace,monospace;font-weight:700}.bfs-graph-diagram_unseen__Wf4s_{--node-fill:var(--aw-panel,#fff);--node-stroke:#616b7d;--node-text:var(--text,#14213d)}.bfs-graph-diagram_visited__gcOX5{--node-fill:#def6f1;--node-stroke:#069f96;--node-text:#123e45}.bfs-graph-diagram_queued__Hqf6M{--node-fill:#fff4dc;--node-stroke:#e89500;--node-text:#653c0b}.bfs-graph-diagram_current__lowRe{--node-fill:#125bf5;--node-stroke:#fff;--node-text:#fff}.bfs-graph-diagram_node___um0d.bfs-graph-diagram_current__lowRe>circle{stroke-width:.8}.bfs-graph-diagram_node___um0d.bfs-graph-diagram_current__lowRe .bfs-graph-diagram_halo__f2qmA{fill:#e6efff;stroke:#ccdcff;stroke-width:.45}.bfs-graph-diagram_currentBadge__h7mFY rect{fill:#125bf5}.bfs-graph-diagram_currentBadge__h7mFY text{fill:#fff;text-anchor:middle;font:600 2.6px sans-serif}.bfs-graph-diagram_legend__TwS01{display:flex;align-items:center;flex-wrap:wrap;gap:8px 13px;padding:10px 14px 14px;font-size:.72rem;color:var(--muted)}.bfs-graph-diagram_legend__TwS01 span{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.bfs-graph-diagram_legend__TwS01 i{display:inline-block;width:14px;height:14px;border:1.5px solid var(--node-stroke,#616b7d);border-radius:50%;background:var(--node-fill,var(--aw-panel,#fff))}.bfs-graph-diagram_legend__TwS01 .bfs-graph-diagram_current__lowRe{border-color:#125bf5}.bfs-graph-diagram_legend__TwS01 small{font-size:inherit}@media (prefers-color-scheme:dark){.bfs-graph-diagram_weight__ao4td rect{stroke:#8290a5}}.bfs-graph-diagram_labelLeader__z1Sz3{stroke:#a3aec0;stroke-width:.25}.bfs-graph-diagram_nodeKey__eZX6y{display:flex;flex-wrap:wrap;gap:6px 14px;padding:0 14px;font-size:.8rem;overflow-wrap:anywhere}.structured-demo_workbench__c1_NR.algorithm-workbench{--sd-line:color-mix(in srgb,var(--line,#cbd9ef) 85%,transparent);--sd-paper:var(--surface,#fff);--sd-blue:#0963ef;--sd-soft:color-mix(in srgb,#4094ff 9%,var(--sd-paper));--sd-orange:color-mix(in srgb,#ffae43 24%,var(--sd-paper));display:flex;flex-direction:column;gap:8px;min-width:0;padding:0;border:0;background:transparent}.structured-demo_workbench__c1_NR .algorithm-workbench__header{margin:0;padding:0 2px 3px}.structured-demo_workbench__c1_NR .algorithm-workbench__header h2{margin:0;font-size:1.1rem}.structured-demo_workbench__c1_NR .algorithm-workbench__header p{margin:5px 0 0;font-size:.84rem}.structured-demo_inputPanel__aWYiu{background:var(--sd-paper);border:1px solid var(--sd-line);border-radius:12px;padding:0 10px 9px;min-width:0}.structured-demo_inputPanel__aWYiu>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;list-style:none;font-weight:750;padding:8px 0;color:var(--text,#122244)}.structured-demo_inputPanel__aWYiu>summary:after{content:"⌃";border:1px solid var(--sd-line);border-radius:6px;padding:0 7px;color:var(--sd-blue)}.structured-demo_inputPanel__aWYiu:not([open]){padding-bottom:0}.structured-demo_inputPanel__aWYiu:not([open])>summary:after{content:"⌄"}.structured-demo_inputPanel__aWYiu>summary span{margin-left:8px;color:var(--muted,#62708a);font-size:.72rem;font-weight:450;line-height:1.4}.structured-demo_inputHint__0xhMn{background:var(--sd-soft);border-radius:6px;color:var(--muted,#536784);font-size:.79rem;line-height:1.6;margin:0 0 10px;padding:7px 10px}.structured-demo_workbench__c1_NR .algorithm-workbench__controls{gap:8px;margin:0;padding:0;border:0;background:transparent}.structured-demo_workbench__c1_NR .algorithm-workbench__configuration{padding:0;border:0;background:transparent;gap:8px}.structured-demo_workbench__c1_NR .algorithm-workbench__inputs--structured{display:flex;flex-wrap:wrap;gap:6px 8px;width:100%;align-items:flex-end}.structured-demo_workbench__c1_NR .aw-field{min-width:90px;flex:1 1 110px;font-size:.79rem}.structured-demo_workbench__c1_NR .aw-field--wide{flex:2 1 220px}.structured-demo_workbench__c1_NR .aw-field input:not([type=checkbox]):not([type=range]),.structured-demo_workbench__c1_NR .aw-field select,.structured-demo_workbench__c1_NR .aw-field textarea{min-height:32px;border-radius:6px;padding:5px 7px;font-size:.85rem}.structured-demo_workbench__c1_NR .aw-field--actions{flex:0 1 auto;display:flex;flex-direction:row;flex-wrap:wrap;gap:7px;align-items:center}.structured-demo_workbench__c1_NR .aw-button{min-height:32px;padding:5px 9px;font-size:.8rem}.structured-demo_workbench__c1_NR .avl-operation-bar{width:100%;padding:8px;background:var(--sd-soft);border-radius:8px}.structured-demo_workbench__c1_NR .avl-operation-bar .aw-field{flex:0 1 120px}.structured-demo_workbench__c1_NR .critical-mode-switch{margin:0 0 10px}.structured-demo_workbench__c1_NR .algorithm-model-notes{margin:8px 0 0;font-size:.78rem}.structured-demo_workbench__c1_NR .algorithm-workbench__playback{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:7px 9px;margin:0;background:var(--sd-paper);border:1px solid var(--sd-line);border-radius:10px}.structured-demo_workbench__c1_NR .algorithm-workbench__transport{flex:0 0 auto;gap:6px}.structured-demo_workbench__c1_NR .aw-icon-button{min-height:32px;min-width:36px}.structured-demo_workbench__c1_NR .aw-field--progress{min-width:140px;flex:1 1 200px;gap:2px}.structured-demo_workbench__c1_NR .aw-field--progress input{min-height:18px;padding:0}.structured-demo_workbench__c1_NR .aw-field--speed{min-width:78px;flex:0 0 78px}.structured-demo_stage__tGlT3{min-width:0;display:grid;grid-gap:8px;gap:8px}.structured-demo_teachingGrid__PFAuY{--workspace-height:458px;display:grid;height:var(--workspace-height);min-height:0;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);grid-template-rows:minmax(0,1.75fr) minmax(0,1fr);grid-template-areas:"visual records" "code trace";grid-gap:8px;gap:8px;align-items:stretch;min-width:0;overflow:hidden}.structured-demo_teachingGrid__PFAuY>*{box-sizing:border-box;min-width:0;min-height:0;margin:0}.structured-demo_visualColumn__uwlof,.structured-demo_visual__PAJZd{grid-area:visual}.structured-demo_recordsColumn__KGgxR,.structured-demo_recordsPanel__9po7E{grid-area:records}.structured-demo_codePanel__kFwcN{grid-area:code}.structured-demo_tracePanel__sZUpf{grid-area:trace}.structured-demo_edgePanel__0_i1b{grid-area:edges}.structured-demo_outcomePanel__hMyBd{grid-area:outcome}.structured-demo_pane__Jqoid{display:flex;flex-direction:column;min-width:0;min-height:0;height:100%;box-sizing:border-box;overflow:hidden}.structured-demo_pane__Jqoid>summary{flex:0 0 auto;min-height:34px;padding:7px 9px;font-size:.81rem}.structured-demo_pane__Jqoid>div{flex:1 1 auto;min-width:0;min-height:0;padding:0 8px 8px;overflow:auto;scrollbar-gutter:stable;overscroll-behavior:contain}.structured-demo_pane__Jqoid:not([open]){align-self:start;height:auto}.structured-demo_pane__Jqoid:not([open])>div{display:none}.structured-demo_codeColumn__YWVbt,.structured-demo_recordsColumn__KGgxR,.structured-demo_visualColumn__uwlof{display:grid;grid-template-rows:minmax(0,1.2fr) minmax(0,1fr);grid-gap:8px;gap:8px;overflow:hidden}.structured-demo_codeColumn__YWVbt>*,.structured-demo_recordsColumn__KGgxR>*,.structured-demo_visualColumn__uwlof>*{grid-area:auto;min-width:0;min-height:0}.structured-demo_recordsColumn__KGgxR{grid-template-rows:minmax(0,1fr) minmax(0,1fr)}.structured-demo_stage__tGlT3[data-workspace-size=lanes] .structured-demo_teachingGrid__PFAuY{--workspace-height:450px;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr) minmax(0,.85fr);grid-template-rows:minmax(0,1fr);grid-template-areas:"visual code records"}.structured-demo_stage__tGlT3[data-structured-layout=breadth] .structured-demo_visualColumn__uwlof,.structured-demo_stage__tGlT3[data-structured-layout=depth] .structured-demo_visualColumn__uwlof{grid-template-rows:minmax(0,1fr)}.structured-demo_codeColumn__YWVbt{grid-area:code;grid-template-rows:minmax(0,1.7fr) minmax(0,1fr)}.structured-demo_stage__tGlT3[data-structured-layout=breadth] .structured-demo_teachingGrid__PFAuY{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,1.1fr);grid-template-areas:"visual records code"}.structured-demo_stage__tGlT3[data-structured-layout=edit] .structured-demo_teachingGrid__PFAuY,.structured-demo_stage__tGlT3[data-structured-layout=strings] .structured-demo_teachingGrid__PFAuY{--workspace-height:458px;grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:minmax(0,1.1fr) minmax(0,1fr);grid-template-areas:"visual visual visual outcome outcome outcome" "records records code code trace trace"}.structured-demo_stringComparison__YbxXt{display:grid;grid-gap:6px;gap:6px;margin-bottom:8px}.structured-demo_stage__tGlT3[data-structured-layout=rotation] .structured-demo_teachingGrid__PFAuY{--workspace-height:466px;grid-template-columns:minmax(0,.9fr) minmax(0,1.2fr) minmax(0,1fr);grid-template-rows:minmax(0,1.05fr) minmax(0,1fr);grid-template-areas:"visual visual visual" "records code trace"}.structured-demo_stage__tGlT3[data-structured-layout=rebuild] .structured-demo_teachingGrid__PFAuY{--workspace-height:472px;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);grid-template-rows:minmax(0,1fr);grid-template-areas:"visual records"}.structured-demo_stage__tGlT3[data-structured-layout=rebuild] .structured-demo_visualColumn__uwlof{grid-template-rows:minmax(0,1.7fr) minmax(0,1fr)}.structured-demo_stage__tGlT3[data-structured-layout=rebuild] .structured-demo_recordsColumn__KGgxR{grid-template-rows:minmax(0,1.6fr) minmax(0,1fr)}.structured-demo_stage__tGlT3[data-structured-layout=union] .structured-demo_teachingGrid__PFAuY{grid-template-areas:"visual visual" "code trace"}.structured-demo_stage__tGlT3[data-structured-layout=edges] .structured-demo_teachingGrid__PFAuY{--workspace-height:470px;grid-template-rows:78px minmax(0,1.6fr) minmax(0,1fr);grid-template-areas:"edges edges" "visual records" "code trace"}.structured-demo_stage__tGlT3[data-structured-layout=matrixGraph] .structured-demo_teachingGrid__PFAuY{grid-template-areas:"records visual" "code trace"}.structured-demo_stage__tGlT3[data-structured-layout=critical] .structured-demo_teachingGrid__PFAuY{--workspace-height:472px;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) minmax(0,1fr);grid-template-areas:"visual records code" "trace records code"}.structured-demo_stage__tGlT3[data-structured-layout=cpm] .structured-demo_teachingGrid__PFAuY{--workspace-height:496px;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr);grid-template-areas:"visual records code" "visual records trace"}.structured-demo_stage__tGlT3[data-structured-layout=array] .structured-demo_teachingGrid__PFAuY{--workspace-height:360px;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr) minmax(0,1fr);grid-template-rows:122px minmax(0,1fr);grid-template-areas:"visual visual visual" "records code trace"}.structured-demo_stage__tGlT3[data-structured-layout=interval] .structured-demo_teachingGrid__PFAuY{--workspace-height:454px;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,.9fr);grid-template-rows:minmax(0,1.05fr) minmax(0,1fr);grid-template-areas:"visual records outcome" "visual code trace"}.structured-demo_stage__tGlT3 .algorithm-stage__structured-code{padding:0;border:0;border-radius:0;background:transparent;min-width:0;height:100%;max-height:100%;overflow:auto;overscroll-behavior:contain}.structured-demo_stage__tGlT3 .algorithm-code-readable{padding:0;border:0;box-shadow:none;min-width:0}.structured-demo_stage__tGlT3 .algorithm-code-readable h3{font-size:.74rem;margin-bottom:4px}.structured-demo_stage__tGlT3 .algorithm-code-readable code{font-size:.76rem;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}.structured-demo_stage__tGlT3 .algorithm-code-readable li{padding-block:5px;min-height:0}.structured-demo_stage__tGlT3 .algorithm-stage__stats{display:flex;flex-wrap:wrap;gap:4px;margin:6px 0 0}.structured-demo_stage__tGlT3 .algorithm-stage__stats>div{display:flex;align-items:baseline;gap:5px;border-radius:5px;padding:3px 6px;background:var(--sd-soft)}.structured-demo_stage__tGlT3 .algorithm-stage__stats dd{font-size:.8rem;margin:0}.structured-demo_stage__tGlT3 .algorithm-stage__stats dt{font-size:.69rem}.structured-demo_stage__tGlT3 .graph-stage,.structured-demo_stage__tGlT3 .tree-stage{min-height:0}.structured-demo_stage__tGlT3 .graph-stage__scroll,.structured-demo_stage__tGlT3 .tree-stage__scroll{background:linear-gradient(160deg,var(--sd-paper),var(--sd-soft));border:1px solid var(--sd-line);border-radius:6px;min-height:0;overflow:auto}.structured-demo_stage__tGlT3 .tree-stage__scroll svg{min-width:440px!important;width:100%;height:auto;display:block}.structured-demo_stage__tGlT3 .graph-stage__scroll svg{min-width:400px;width:100%;height:400px;display:block}.structured-demo_stage__tGlT3[data-structured-layout=breadth] .graph-stage__scroll svg,.structured-demo_stage__tGlT3[data-structured-layout=depth] .graph-stage__scroll svg{height:400px}.structured-demo_stage__tGlT3 .tree-stage__state{display:none}.structured-demo_stage__tGlT3 .graph-stage__legend{gap:5px 9px;padding:5px 0 0;font-size:.69rem}.structured-demo_forestVisual__BoXdj{overflow:hidden}.structured-demo_stage__tGlT3 .forest-stage{display:grid;grid-gap:8px;gap:8px;min-width:0;min-height:0;height:100%;grid-template-rows:minmax(0,1fr) auto}.structured-demo_stage__tGlT3 .forest-stage>details{box-sizing:border-box;height:100%;min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden}.structured-demo_stage__tGlT3 .forest-stage>details>summary{flex-shrink:0;font-size:.79rem;padding:7px 9px;min-height:34px}.structured-demo_stage__tGlT3 .forest-stage>details>div{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 8px 8px}.structured-demo_stage__tGlT3 .forest-stage>details:not([open]){height:auto;align-self:start}.structured-demo_stage__tGlT3 .forest-stage>details:not([open])>div{display:none}.structured-demo_stage__tGlT3[data-structured-layout=union] .forest-stage{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);grid-template-rows:minmax(0,1fr)}.structured-demo_stage__tGlT3 .forest-stage__heading{font-size:.69rem;gap:4px;padding-block:3px}.structured-demo_stage__tGlT3 .forest-stage__scroll{height:184px;min-height:0;background:var(--sd-soft)}.structured-demo_stage__tGlT3 .forest-stage__scroll svg{height:auto;max-width:none;width:auto;min-width:0}.structured-demo_stage__tGlT3 .forest-stage__queue{font-size:.74rem;padding-block:3px}.structured-demo_stage__tGlT3 .forest-stage p,.structured-demo_stage__tGlT3 .forest-stage__queries,.structured-demo_stage__tGlT3 .forest-stage__status{font-size:.75rem;margin-block:5px}.structured-demo_stage__tGlT3 .forest-stage__table,.structured-demo_stage__tGlT3 .graph-results__scroll{max-width:100%;overflow:auto}.structured-demo_stage__tGlT3 .graph-results{padding:0;min-width:0}.structured-demo_stage__tGlT3 .graph-results h3{font-size:.79rem;margin-block:5px}.structured-demo_stage__tGlT3 .graph-results h3 small{display:block;font-size:.7rem;line-height:1.5;margin-top:3px}.structured-demo_stage__tGlT3 .graph-results p{line-height:1.5;font-size:.75rem;margin-block:5px}.structured-demo_stage__tGlT3 .graph-results__matrices{grid-template-columns:minmax(0,1fr)}.structured-demo_stage__tGlT3 .graph-results table{font-size:.76rem}.structured-demo_stage__tGlT3 .cpm-stage,.structured-demo_stage__tGlT3 .critical-path-results{min-width:0}.structured-demo_stage__tGlT3 .dp-stage__scroll{max-height:none;border-radius:5px}.structured-demo_stage__tGlT3 .dp-stage__table{font-size:.78rem;min-width:0;width:100%}.structured-demo_stage__tGlT3 .dp-stage__cell,.structured-demo_stage__tGlT3 .dp-stage__table th{min-width:32px;height:30px;padding:4px 6px}.structured-demo_stage__tGlT3 .dp-stage__cell.is-active{background:var(--sd-orange);color:var(--text,#14233c);box-shadow:inset 0 0 0 1px #ee9a27}.structured-demo_stage__tGlT3 .dp-stage__cell.is-source{background:color-mix(in srgb,#58beff 23%,var(--sd-paper))}.structured-demo_stage__tGlT3 .dp-stage__cell.is-traceback{background:color-mix(in srgb,#4fd28d 22%,var(--sd-paper))}.structured-demo_stage__tGlT3 .avl-rotation-details{font-size:.73rem;margin:6px 0 0;padding:6px}.structured-demo_rotationCompare__qkF_h{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:8px;gap:8px}.structured-demo_rotationCompare__qkF_h>.avl-rotation-details{grid-column:1/-1}.structured-demo_rotationCompare__qkF_h h4{margin:0 0 5px;font-size:.77rem;color:var(--sd-blue)}.structured-demo_rotationCompare__qkF_h .tree-stage__scroll svg{height:auto}.structured-demo_records__d6Aid{display:grid;grid-gap:6px;gap:6px}.structured-demo_tableScroll__e_41n{min-width:0;max-width:100%;overflow-x:auto;border:1px solid var(--sd-line);border-radius:6px}.structured-demo_stateTable__2sZI4{border-collapse:collapse;width:100%;font-size:.75rem;line-height:1.5}.structured-demo_stateTable__2sZI4 td,.structured-demo_stateTable__2sZI4 th{padding:5px 7px;text-align:center;border-bottom:1px solid var(--sd-line);border-right:1px solid var(--sd-line);white-space:nowrap}.structured-demo_stateTable__2sZI4 thead th{background:var(--sd-soft);font-weight:650}.structured-demo_stateTable__2sZI4 tr:last-child td,.structured-demo_stateTable__2sZI4 tr:last-child th{border-bottom:0}.structured-demo_stateTable__2sZI4 td:last-child,.structured-demo_stateTable__2sZI4 th:last-child{border-right:0}.structured-demo_stateTable__2sZI4 tr[data-current]{background:var(--sd-orange)}.structured-demo_note__GpZIZ{font-size:.76rem;color:var(--muted,#63748e);line-height:1.7;margin:0}.structured-demo_tokenSection__tPFWs{min-width:0;padding:6px;border:1px solid var(--sd-line);border-radius:7px;background:var(--sd-paper)}.structured-demo_dependencies__tE0OZ h4,.structured-demo_tokenSection__tPFWs h4{margin:0 0 7px;font-size:.79rem}.structured-demo_tokenRail___apP8{display:flex;flex-wrap:wrap;gap:5px;align-items:center;min-height:30px}.structured-demo_tokenRail___apP8>span{display:inline-flex;align-items:center;justify-content:center;min-width:32px;min-height:30px;padding:3px 8px;border:1px solid color-mix(in srgb,var(--sd-blue) 32%,transparent);color:var(--sd-blue);background:var(--sd-soft);border-radius:6px;font-weight:650;font-size:.86rem}.structured-demo_tokenRail___apP8>span[data-current]{background:var(--sd-orange);border-color:#ee9a27;color:#945209}.structured-demo_tokenStack__I2t6v{flex-direction:column;align-items:stretch;max-width:170px;margin:auto}.structured-demo_graphMemory__t_NUb{display:grid;grid-gap:8px;gap:8px;margin-bottom:10px}.structured-demo_traceMeta__9fpT5{margin:0 0 10px;color:var(--muted,#63748e);font-size:.73rem}.structured-demo_trace___fUOg ol{list-style:none;margin:0;padding:0;display:grid;grid-gap:5px;gap:5px}.structured-demo_trace___fUOg li{display:flex;align-items:flex-start;gap:9px;border-radius:7px;padding:5px;font-size:.76rem;line-height:1.5}.structured-demo_trace___fUOg li[aria-current]{background:var(--sd-soft);color:var(--sd-blue)}.structured-demo_stepNumber__H9xYM{flex:0 0 23px;min-height:23px;display:grid;place-items:center;border-radius:50%;border:1px solid var(--sd-line);background:var(--sd-paper);font-size:.72rem}.structured-demo_trace___fUOg li[aria-current] .structured-demo_stepNumber__H9xYM{background:var(--sd-blue);color:white;border-color:var(--sd-blue)}.structured-demo_partition__Lq7eR{display:grid;grid-gap:8px;gap:8px;padding-bottom:6px}.structured-demo_partition__Lq7eR p{margin:0;display:flex;flex-wrap:wrap;align-items:baseline;gap:12px;font-size:.83rem}.structured-demo_partition__Lq7eR p span{font-size:.74rem;color:var(--muted,#62708a)}.structured-demo_partitionLine__Qseal{display:flex;align-items:center;gap:8px;min-width:0}.structured-demo_partitionLine__Qseal>strong{flex:0 0 34px;font-size:.77rem}.structured-demo_partitionLine__Qseal>div{display:flex;gap:3px;overflow-x:auto;padding:2px 0}.structured-demo_partitionLine__Qseal span{flex-shrink:0;min-width:35px;padding:7px;text-align:center;background:var(--sd-soft);border:1px solid var(--sd-line);border-radius:4px;font-size:.88rem}.structured-demo_partitionLine__Qseal span[data-side=right]{background:color-mix(in srgb,#52c98f 16%,var(--sd-paper))}.structured-demo_partitionLine__Qseal span[data-side=outside]{opacity:.4}.structured-demo_partitionLine__Qseal span[data-current]{background:var(--sd-orange);border-color:#ee9a27;opacity:1}.structured-demo_legend__3RKlU{display:flex;flex-wrap:wrap;gap:5px 12px;color:var(--muted,#62708a);font-size:.72rem;padding-top:8px}.structured-demo_edgeOrder__6f8O_{display:flex;gap:8px;overflow-x:auto;padding:2px 0 5px}.structured-demo_edgeOrder__6f8O_>div{display:flex;align-items:center;gap:9px;border:1px solid var(--sd-line);border-radius:7px;padding:9px;flex:0 0 auto;font-size:.86rem}.structured-demo_edgeOrder__6f8O_ b{color:var(--sd-blue)}.structured-demo_edgeOrder__6f8O_ small{font-size:.72rem;color:var(--muted,#62708a)}.structured-demo_edgeOrder__6f8O_ [data-selected]{background:var(--sd-soft);border-color:var(--sd-blue)}.structured-demo_edgeOrder__6f8O_ [data-current]{background:var(--sd-orange);border-color:#ee9a27}.structured-demo_itemStrip__VN6_v{display:flex;gap:7px;overflow-x:auto;margin-bottom:6px;padding-bottom:3px}.structured-demo_itemStrip__VN6_v>span{display:grid;grid-gap:3px;gap:3px;flex:0 0 auto;padding:7px 10px;border:1px solid var(--sd-line);border-radius:6px;background:var(--sd-paper)}.structured-demo_itemStrip__VN6_v strong{font-size:.81rem}.structured-demo_itemStrip__VN6_v small{font-size:.73rem;color:var(--muted,#62708a)}.structured-demo_itemStrip__VN6_v [data-current]{background:var(--sd-orange);border-color:#ee9a27}.structured-demo_stringStrips__YZjLh{display:grid;grid-gap:6px;gap:6px;margin-bottom:6px}.structured-demo_stringStrips__YZjLh>div{display:flex;gap:10px;align-items:center;min-width:0}.structured-demo_stringStrips__YZjLh strong{flex:0 0 49px;font-size:.77rem}.structured-demo_stringStrips__YZjLh>div>div{display:flex;flex-wrap:wrap;gap:4px}.structured-demo_stringStrips__YZjLh span{padding:5px 9px;min-width:30px;border:1px solid var(--sd-line);border-radius:5px;text-align:center;font-family:monospace;font-size:.95rem}.structured-demo_stringStrips__YZjLh [data-current]{background:var(--sd-orange);border-color:#ee9a27}.structured-demo_currentState__uj0ox{margin:0;display:grid;grid-gap:7px;gap:7px}.structured-demo_currentState__uj0ox>div{display:flex;justify-content:space-between;gap:15px;padding:7px 9px;background:var(--sd-soft);border-radius:5px;font-size:.8rem}.structured-demo_currentState__uj0ox dd{margin:0;font-weight:750;color:var(--sd-blue)}.structured-demo_formula__fs9uZ{margin:0;background:var(--sd-soft);border-left:3px solid var(--sd-blue);padding:9px;font-family:monospace;line-height:1.6;font-size:.84rem;overflow-wrap:anywhere}.structured-demo_dependencies__tE0OZ{display:flex;flex-wrap:wrap;gap:6px}.structured-demo_dependencies__tE0OZ h4{width:100%}.structured-demo_dependencies__tE0OZ span{background:color-mix(in srgb,#58beff 18%,var(--sd-paper));border-radius:5px;padding:6px 8px;font-size:.77rem}.structured-demo_resultBanner__A7muP{margin:0;padding:10px;border-radius:7px;background:var(--sd-soft);color:var(--sd-blue);font-size:.85rem;line-height:1.7}.structured-demo_resultBanner__A7muP .structured-demo_tokenSection__tPFWs{margin-top:7px}.structured-demo_parenthesization__XGtuS{font-family:monospace;overflow-wrap:anywhere}.structured-demo_editScript__03O8V{padding-left:20px;font-size:.8rem}.structured-demo_fibonacciArray__mNsBP{display:flex;gap:7px;padding:5px 2px;overflow-x:auto}.structured-demo_fibonacciArray__mNsBP>div{display:grid;grid-gap:9px;gap:9px;flex:1 0 54px;text-align:center}.structured-demo_fibonacciArray__mNsBP small{font-size:.79rem;color:var(--muted,#62708a)}.structured-demo_fibonacciArray__mNsBP strong{padding:8px 6px;font-size:1rem;border:1px solid var(--sd-line);border-radius:7px;background:var(--sd-paper)}.structured-demo_fibonacciArray__mNsBP [data-source] strong{background:color-mix(in srgb,#58beff 23%,var(--sd-paper));border-color:#77bbec}.structured-demo_fibonacciArray__mNsBP [data-current] strong{background:var(--sd-orange);border-color:#ee9a27}.structured-demo_stepSummary__psB04{box-sizing:border-box;height:42px;overflow:auto;align-items:flex-start;overscroll-behavior:contain;display:flex;gap:12px;border:1px solid var(--sd-line);background:var(--sd-soft);border-radius:8px;padding:9px 12px;font-size:.8rem;line-height:1.6}.structured-demo_stepSummary__psB04 strong{color:var(--sd-blue);flex-shrink:0}@media (max-width:1100px){.structured-demo_stage__tGlT3[data-structured-layout=cpm] .structured-demo_teachingGrid__PFAuY,.structured-demo_stage__tGlT3[data-structured-layout=critical] .structured-demo_teachingGrid__PFAuY{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);grid-template-areas:"visual records" "code trace"}.structured-demo_stage__tGlT3[data-workspace-size=lanes] .structured-demo_teachingGrid__PFAuY{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);grid-template-areas:"visual records" "code records";grid-template-rows:minmax(0,1.55fr) minmax(0,1fr);--workspace-height:510px}.structured-demo_stage__tGlT3[data-workspace-size=lanes] .structured-demo_visualColumn__uwlof{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);grid-template-rows:minmax(0,1fr)}.structured-demo_stage__tGlT3[data-structured-layout=breadth] .structured-demo_visualColumn__uwlof,.structured-demo_stage__tGlT3[data-structured-layout=depth] .structured-demo_visualColumn__uwlof{grid-template-columns:minmax(0,1fr)}.structured-demo_stage__tGlT3[data-structured-layout=breadth] .graph-stage__scroll svg,.structured-demo_stage__tGlT3[data-structured-layout=depth] .graph-stage__scroll svg{height:400px}.structured-demo_stage__tGlT3[data-structured-layout=interval] .structured-demo_teachingGrid__PFAuY{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);grid-template-areas:"visual records" "visual outcome" "code trace";grid-template-rows:minmax(0,1fr) minmax(0,.7fr) minmax(0,1fr);--workspace-height:510px}}@media (max-width:760px){.structured-demo_inputPanel__aWYiu>summary span{display:none}.structured-demo_stage__tGlT3[data-structured-layout] .structured-demo_teachingGrid__PFAuY{height:540px;display:flex;flex-direction:column;overflow:auto;overscroll-behavior:contain}.structured-demo_stage__tGlT3[data-structured-layout] .structured-demo_teachingGrid__PFAuY>*{flex:0 0 auto;height:auto;min-height:0}.structured-demo_stage__tGlT3[data-structured-layout] .structured-demo_codeColumn__YWVbt,.structured-demo_stage__tGlT3[data-structured-layout] .structured-demo_recordsColumn__KGgxR,.structured-demo_stage__tGlT3[data-structured-layout] .structured-demo_visualColumn__uwlof{display:flex;flex-direction:column;overflow:visible}.structured-demo_stage__tGlT3 .structured-demo_pane__Jqoid{height:auto;min-height:0}.structured-demo_stage__tGlT3 .structured-demo_pane__Jqoid>div{flex:none;max-height:280px;overflow:auto}.structured-demo_stage__tGlT3 .algorithm-stage__structured-code{height:210px}.structured-demo_stage__tGlT3[data-structured-layout=union] .forest-stage{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;height:auto}.structured-demo_stage__tGlT3 .forest-stage>details>div{max-height:240px}.structured-demo_stage__tGlT3 .graph-stage__scroll svg,.structured-demo_stage__tGlT3[data-structured-layout=breadth] .graph-stage__scroll svg,.structured-demo_stage__tGlT3[data-structured-layout=depth] .graph-stage__scroll svg{height:400px}.structured-demo_workbench__c1_NR .aw-field--actions{width:100%}.structured-demo_workbench__c1_NR .aw-field--actions button{flex:1 1}.structured-demo_workbench__c1_NR .algorithm-workbench__playback{gap:6px}.structured-demo_workbench__c1_NR .aw-field--progress{order:5;flex-basis:100%}.structured-demo_stepSummary__psB04{gap:6px;font-size:.74rem}}@media (pointer:coarse){.structured-demo_pane__Jqoid>summary,.structured-demo_stage__tGlT3 .forest-stage>details>summary,.structured-demo_workbench__c1_NR .aw-button,.structured-demo_workbench__c1_NR .aw-field select,.structured-demo_workbench__c1_NR .aw-icon-button{min-height:44px}}@media (prefers-reduced-motion:reduce){.structured-demo_workbench__c1_NR *{scroll-behavior:auto}}.structured-demo_pendingInput__cvl_i{margin:0;padding:7px 10px;border:1px solid color-mix(in srgb,#ee9a27 45%,transparent);border-radius:6px;background:var(--sd-orange);font-size:.78rem;line-height:1.5}.structured-demo_workbench__c1_NR .aw-icon-button{width:auto;padding-inline:9px;font-size:.77rem;white-space:nowrap}.structured-demo_workbench__c1_NR .aw-field--actions>button:first-child,.structured-demo_workbench__c1_NR .aw-icon-button--primary{background:var(--sd-blue);color:#fff;border-color:var(--sd-blue)}@media (max-width:440px){.structured-demo_workbench__c1_NR .algorithm-workbench__transport{width:100%;justify-content:space-between;gap:3px}.structured-demo_workbench__c1_NR .aw-icon-button{padding-inline:6px;min-width:0;font-size:.71rem}}.structured-demo_memoryPanel__jYOED{min-height:0}.structured-demo_stage__tGlT3 .tree-stage__node .avl-node-metrics{font-size:3.1px}.structured-demo_stage__tGlT3 [data-demo-expanded=true] .dp-stage__scroll,.structured-demo_stage__tGlT3 [data-demo-expanded=true] .forest-stage__scroll,.structured-demo_stage__tGlT3 [data-demo-expanded=true] .graph-stage__scroll,.structured-demo_stage__tGlT3 [data-demo-expanded=true] .tree-stage__scroll{height:auto;max-height:none;overflow:visible}.structured-demo_stage__tGlT3 [data-demo-expanded=true] .graph-stage__scroll svg{height:max(400px,calc(100dvh - var(--demo-playback-height, 100px) - 150px));width:100%;min-width:600px}.structured-demo_stage__tGlT3 [data-demo-expanded=true] .tree-stage__scroll svg{min-width:600px!important;height:auto}.structured-demo_stage__tGlT3 [data-demo-expanded=true] .dp-stage__table{font-size:1rem;width:max-content;min-width:100%}.structured-demo_stage__tGlT3 [data-demo-expanded=true] .dp-stage__cell,.structured-demo_stage__tGlT3 [data-demo-expanded=true] .dp-stage__table th{min-width:44px;height:40px}.operation-input-help_help__USMqN{grid-column:1/-1;min-width:0;width:100%;box-sizing:border-box;padding:12px 14px;border:1px solid var(--line);border-radius:8px;background:color-mix(in srgb,var(--accent) 4%,var(--surface-2));color:var(--text);font-size:.85rem;line-height:1.65}.operation-input-help_help__USMqN p{margin:5px 0 9px}.operation-input-help_help__USMqN dl{margin:8px 0;display:grid;grid-gap:5px;gap:5px}.operation-input-help_help__USMqN dl>div{display:grid;grid-template-columns:minmax(170px,max-content) minmax(0,1fr);grid-gap:8px 14px;gap:8px 14px}.operation-input-help_help__USMqN dd,.operation-input-help_help__USMqN dt{margin:0}.operation-input-help_help__USMqN code{color:var(--accent);white-space:normal;overflow-wrap:anywhere;font-size:.9em}.operation-input-help_example__fNPFm{display:flex;flex-wrap:wrap;align-items:flex-start;gap:5px 12px;margin-top:8px}.operation-input-help_example__fNPFm>span{color:var(--muted)}.operation-input-help_help__USMqN .operation-input-help_example__fNPFm pre{margin:0;padding:6px 10px;border:1px solid var(--line);border-radius:5px;background:var(--surface-2);white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%;box-sizing:border-box;color:var(--text);font-size:.9em}.operation-input-help_help__USMqN .operation-input-help_result__dCt5a{margin-bottom:0;color:var(--muted)}@media(max-width:700px){.operation-input-help_help__USMqN dl>div{grid-template-columns:1fr;gap:0}.operation-input-help_help__USMqN{padding:10px}}.algorithm-demo-shell_layout__sWuj6{display:grid;grid-template-columns:190px minmax(0,1fr);align-items:start;grid-gap:14px;gap:14px;max-width:1760px;margin:0 auto;padding:12px 20px 40px;color:var(--text)}.algorithm-demo-shell_sidebar__JgZuh{position:-webkit-sticky;position:sticky;top:calc(var(--site-header-height, 64px) + 16px);max-height:calc(100dvh - var(--site-header-height, 64px) - 32px);overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:12px 9px;background:var(--surface);border:1px solid var(--line);border-radius:12px;min-width:0}.algorithm-demo-shell_directoryLink__VJD4u{display:flex;align-items:center;gap:8px;color:var(--text);font-weight:750;font-size:1rem;padding:8px 6px 14px;border-bottom:1px solid var(--line);margin-bottom:8px;text-decoration:none}.algorithm-demo-shell_directoryLink__VJD4u svg{width:25px;height:25px;flex-shrink:0;fill:var(--surface);stroke:var(--accent);stroke-width:1.7}.algorithm-demo-shell_group__CnWlR{margin:4px 0;border:0}.algorithm-demo-shell_group__CnWlR summary{display:list-item;padding:10px 6px;cursor:pointer;font-size:.83rem;font-weight:650;color:var(--muted)}.algorithm-demo-shell_group__CnWlR summary>span{float:right;font-weight:400;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.algorithm-demo-shell_group__CnWlR ul{list-style:none;padding:0;margin:0 0 8px}.algorithm-demo-shell_group__CnWlR li{margin:0}.algorithm-demo-shell_group__CnWlR a{display:flex;align-items:center;gap:7px;padding:9px 7px;border-radius:7px;font-size:.82rem;line-height:1.5;text-decoration:none;color:var(--text);overflow-wrap:anywhere;min-height:38px}.algorithm-demo-shell_group__CnWlR a:hover{background:var(--surface-2)}.algorithm-demo-shell_group__CnWlR a[aria-current=page]{color:var(--accent);background:color-mix(in srgb,var(--accent) 10%,var(--surface));box-shadow:inset 3px 0 var(--accent);font-weight:700}.algorithm-demo-shell_itemMark__sAQ2B{color:var(--accent);flex:0 0 13px;font-size:.72rem}.algorithm-demo-shell_content__zHYQt{min-width:0}.algorithm-demo-shell_content__zHYQt>main.content-shell{width:100%;max-width:none;padding:0;margin:0}.algorithm-demo-shell_content__zHYQt>main.algorithm-foundation-page>header,.algorithm-demo-shell_content__zHYQt>main.content-shell>.page-header{margin:0 0 10px}.algorithm-demo-shell_content__zHYQt>main.algorithm-foundation-page>header h1,.algorithm-demo-shell_content__zHYQt>main.content-shell>.page-header h1{margin:5px 0 7px;font-size:clamp(1.45rem,2.2vw,2rem);line-height:1.4}.algorithm-demo-shell_content__zHYQt>main.content-shell>.breadcrumb{margin:0 0 8px;font-size:.8rem}.algorithm-demo-shell_content__zHYQt>main.content-shell>.detail-block{margin:0 0 10px}.algorithm-demo-shell_mobileDirectory__GW6Iq{display:none}.algorithm-demo-shell_notice__7LTFJ{font-size:.82rem;color:var(--muted);padding:8px}.algorithm-demo-shell_notice__7LTFJ p{margin:0 0 6px}.algorithm-demo-shell_notice__7LTFJ button{background:var(--surface-2);color:var(--text);border:1px solid var(--line);border-radius:6px;padding:6px 12px;cursor:pointer}.algorithm-demo-shell_layout__sWuj6 :is(a,button,summary):focus-visible{outline:3px solid var(--accent);outline-offset:2px}@media (max-width:1150px){.algorithm-demo-shell_layout__sWuj6{grid-template-columns:164px minmax(0,1fr);gap:12px;padding-inline:16px}.algorithm-demo-shell_sidebar__JgZuh{padding-inline:6px}}@media (max-width:950px){.algorithm-demo-shell_layout__sWuj6{display:block;padding:16px 16px 48px}.algorithm-demo-shell_sidebar__JgZuh{display:none}.algorithm-demo-shell_mobileDirectory__GW6Iq{display:block;margin:0 0 14px;border:1px solid var(--line);border-radius:9px;background:var(--surface)}.algorithm-demo-shell_mobileDirectory__GW6Iq>summary{min-height:44px;padding:11px 13px;font-size:.88rem;font-weight:650;cursor:pointer}.algorithm-demo-shell_mobileDirectory__GW6Iq nav{max-height:55dvh;overflow:auto;padding:0 12px 12px;overscroll-behavior:contain}.algorithm-demo-shell_group__CnWlR a{min-height:44px}}@media (max-width:520px){.algorithm-demo-shell_layout__sWuj6{padding:12px 10px 40px}.algorithm-demo-shell_content__zHYQt>main.content-shell>.page-header{gap:10px}}