/* Direct manipulation and code execution share the same immutable frames. */
.lesson-brief{display:grid;grid-template-columns:.85fr 1.4fr;align-items:center;gap:25px;margin-bottom:5px}.learning-simple .lesson-brief .lesson-heading{margin:0}.learning-simple .lesson-brief .lesson-heading h1{font-size:28px}.learning-simple .lesson-brief .concept-intro{padding:13px 18px}.learning-simple .lesson-brief .concept-intro>p{font-size:12px}.learning-simple .lesson-sidebar{margin-bottom:16px}.learning-simple .learning-toolbar{padding-top:12px;padding-bottom:12px}
.learning-simple .playground-header:has(.direct-tools:not([hidden])){display:grid;grid-template-columns:145px minmax(0,1fr) auto;gap:14px;padding:12px 18px}.learning-simple .playground-header:has(.direct-tools:not([hidden]))>div:first-child{display:flex;flex-direction:column;gap:7px;align-items:flex-start}.learning-simple .playground-header:has(.direct-tools:not([hidden])) #structure-count{margin-left:0}.learning-simple .playground-header>.direct-tools{padding:0;border:0;background:none;align-items:center;gap:8px}.learning-simple .playground-header>.direct-tools>label{flex-direction:row;align-items:center;white-space:nowrap;font-size:9px}.learning-simple .playground-header>.direct-tools input{height:34px;width:66px!important}.learning-simple .playground-header>.direct-tools>.button,.learning-simple .playground-header>.direct-tools .button{min-height:34px;padding:6px 9px;font-size:9px}.learning-simple .playground-header>.direct-tools p{font-size:10px;margin-top:0}.learning-simple .playground-header:has(.direct-tools:not([hidden]))>#undo{font-size:10px;min-width:82px;padding:8px}
.operation-choices{display:flex;align-items:flex-start;gap:12px;padding:6px 20px;border-bottom:1px solid oklch(93.75% 0.02009 308.22);min-width:0;position:relative}.canvas-algorithms{position:relative;flex:none}.canvas-algorithms>.operation-menu-toggle{cursor:pointer;padding:9px 11px;border:1px solid oklch(88.79% 0.03656 308.83);border-radius:7px;color:oklch(58.42% 0.07136 309.09);font-size:10px}.canvas-algorithms .array-operation-nav{position:absolute;left:0;top:37px;z-index:25;display:grid;grid-template-columns:1fr 1fr;width:220px;padding:9px;background:white;border:1px solid oklch(88% 0.03247 309.91);border-radius:9px;box-shadow:0 7px 18px oklch(45.74% 0.08075 309.85 / 0.0902)}.operation-choices .operation-menu{flex:1;border:0;min-width:0}.operation-choices .operation-menu>summary{padding:10px 5px;font-size:10px}.operation-choices .operation-controls{padding:10px 5px}.operation-choices #array-operation-nav{padding:0}body[data-structure=array] .operation-choices{display:block}body[data-structure=array] .operation-menu .operation-controls{padding:12px 0 7px}body[data-structure=list] #interaction-hint{display:none}
.execution-workbench{display:grid;grid-template-columns:minmax(0,1fr) 305px;min-width:0;align-items:stretch}
.execution-picture{min-width:0;background:oklch(98.8% 0.00690 304.24);overflow:hidden}
.execution-panel{min-width:0;background:oklch(100% 0 0);border-left:1px solid oklch(90.72% 0.02730 307.04);padding:19px 14px;max-height:650px;overflow:auto;color:oklch(48.69% 0.06876 307.42)}
.execution-panel header{display:flex;align-items:center;gap:7px;margin-bottom:13px}.execution-panel h3{font-size:12px;margin:0}.execution-panel header>span:last-child:not(.execution-dot){font-size:9px;margin-left:auto;color:oklch(61.66% 0.07494 308.51)}
.execution-dot{width:7px;height:7px;border-radius:50%;background:oklch(66.63% 0.11126 171.83);flex:none}.execution-panel h4{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:oklch(65.53% 0.06512 309.98);margin:18px 3px 10px}
.live-instruction{font:11px/1.65 ui-monospace,monospace;background:oklch(94.52% 0.02416 306.96);border:1px solid oklch(88.97% 0.04070 307.95);border-radius:8px;color:oklch(50.15% 0.13104 309.58);padding:10px;margin-bottom:13px;overflow-wrap:anywhere;min-height:57px}
.canvas-current-line{display:none}
.execution-panel pre{background:oklch(98.21% 0.00691 304.24);font-size:11px;line-height:1.9;padding:8px 0;max-height:390px;overflow:auto;border:1px solid oklch(93.53% 0.02051 311.08)}
.execution-panel .code-line{padding:7px 8px;position:relative;white-space:pre-wrap;line-height:1.65;transition:background .12s;color:oklch(56.08% 0.06206 308.38);border-left-width:3px}.execution-panel .line-num{margin-right:7px;color:oklch(75.69% 0.04794 311.11);font-size:10px;display:inline-block;min-width:12px}
.execution-panel .code-line.highlight{background:oklch(92.94% 0.03451 308.05);color:oklch(45.78% 0.15454 305.86);border-left-color:oklch(64.03% 0.14872 306.94);font-weight:650}.execution-panel .code-line.highlight .line-num{color:oklch(58.58% 0.14452 308.14)}.condition-result{display:inline-block;font:700 8px/1.5 -apple-system,sans-serif;border-radius:4px;padding:2px 5px;margin:4px;background:oklch(94.12% 0.03249 167.13);color:oklch(55.75% 0.09856 168.39)}.condition-false{background:oklch(92.45% 0.02717 3.42);color:oklch(55.91% 0.08961 4.03)}
.execution-panel .variables{gap:5px}.execution-panel .variable{font-size:10px;line-height:1.5;overflow-wrap:anywhere;padding:5px}.execution-panel #teaching-variables{font:10px/2 ui-monospace,monospace;color:oklch(57.44% 0.08281 309.03);overflow-wrap:anywhere}
.learning-simple .teaching-header-actions #teaching-skip{display:inline-block;font-size:10px;margin-right:8px}.operation-menu{border-bottom:1px solid oklch(93.75% 0.02009 308.22);background:oklch(100% 0 0)}.operation-menu>summary{cursor:pointer;padding:14px 24px;color:oklch(58.61% 0.07445 308.96);font-size:11px;font-weight:600}.operation-menu[open]>summary{padding-bottom:0}body[data-structure=array] .operation-menu>summary{display:none}
.direct-tools{display:flex;align-items:end;gap:10px;flex-wrap:wrap;background:oklch(98.34% 0.00974 305.41);border-top:1px solid oklch(93.75% 0.02009 308.22);padding:16px 22px 13px}.direct-tools>label{font-size:10px;color:oklch(59.94% 0.07895 309.24)}.direct-tools input{width:93px!important}.direct-tools>.button,.direct-draft-actions>.button{font-size:10px;min-height:37px;padding:8px 12px}.direct-draft-actions{display:flex;gap:6px;margin-left:auto}.direct-tools p{flex-basis:100%;font-size:11px;line-height:1.7;color:oklch(59.66% 0.07815 310.66);margin:4px 0 0}
.learning-simple .playground>.playback,.learning-simple .lab-controls>.playback{border-top:1px solid oklch(93.53% 0.02051 311.08);border-bottom:1px solid oklch(93.53% 0.02051 311.08);background:oklch(100% 0 0);padding-top:12px;padding-bottom:12px;position:relative;z-index:3}
.direct-laboratory{min-width:0;gap:12px}.direct-board-scroll{max-width:100%;max-height:535px;overflow:auto;position:relative;border:1px solid oklch(91.33% 0.02726 307.04);border-radius:12px;background:oklch(100% 0 0);scrollbar-width:thin;overscroll-behavior:auto}.direct-board-plane{position:relative;isolation:isolate;background-color:oklch(100% 0 0);background-image:radial-gradient(oklch(91.27% 0.02476 309.36) 1px,transparent 1px);background-size:20px 20px;touch-action:pan-x pan-y}
.direct-edges{position:absolute;left:0;top:0;overflow:visible}.direct-edge,.direct-head-edge{fill:none;stroke:oklch(70.93% 0.07047 307.35);stroke-width:2.7;pointer-events:stroke;cursor:pointer;stroke-linecap:round}.direct-head-edge{stroke:oklch(66.08% 0.09845 172.46);stroke-dasharray:5 4}.direct-edge:hover{stroke:oklch(67.73% 0.08383 351.82);stroke-width:7}.direct-edge-changed{stroke:oklch(63.11% 0.15970 307.76);stroke-width:4}.direct-drag-line{fill:none;stroke:oklch(63.27% 0.15918 308.98);stroke-width:3;stroke-dasharray:7 4;pointer-events:none}
.direct-head-chip{position:absolute;left:20px;top:20px;border:1px solid oklch(84.37% 0.05532 171.25);background:oklch(97.18% 0.01425 169.25);color:oklch(57.04% 0.09267 169.94);padding:7px 11px;border-radius:7px;font:700 11px ui-monospace,monospace;touch-action:none}.direct-head-chip span{color:oklch(64.01% 0.10701 171.47)}.direct-tail-label{position:absolute;right:23px;top:30px;font:10px ui-monospace,monospace;color:oklch(67.43% 0.05944 308.61);pointer-events:none}
.direct-head-chip small{font-size:9px;font-weight:400;margin-left:6px}
.learning-simple .direct-head-chip{font:700 11px ui-monospace,monospace;min-width:0;white-space:nowrap;text-align:left}.learning-simple .direct-head-chip small{display:inline-block;margin-top:0}
.learning-simple .direct-null{position:absolute;pointer-events:none;background:white;padding:2px 4px;border:0;font:9px ui-monospace,monospace;color:oklch(67.24% 0.06736 308.86)}
.learning-simple .direct-node{position:absolute;width:112px;min-height:103px;margin:0;overflow:visible;touch-action:none;user-select:none;cursor:grab;box-shadow:0 5px oklch(91.5% 0.02436 306.95)}.learning-simple .direct-node:active{cursor:grabbing}.learning-simple .direct-node .ll-node-title{min-height:23px;font:9px ui-monospace,monospace;padding:4px 7px;border-radius:12px 12px 0 0;display:flex;justify-content:space-between;align-items:center}.direct-node .ll-node-title button{padding:0;border:0;background:none;color:oklch(71% 0.05558 345.75);font-size:15px;line-height:1;cursor:pointer}.direct-data{display:block;text-align:center;font:750 30px/1.3 -apple-system,sans-serif;color:oklch(50.17% 0.10430 311.31);padding:6px 0}.direct-next{position:relative;text-align:center;font:8px/1.7 ui-monospace,monospace;border-top:1px solid oklch(91.63% 0.02395 313.13);color:oklch(63.47% 0.07401 310.93);padding:5px 4px;background:oklch(97.88% 0.01259 306.03);border-radius:0 0 12px 12px}.direct-next button{position:absolute;right:-9px;top:3px;display:grid;place-items:center;width:18px;height:18px;padding:0;border:3px solid oklch(100% 0 0);background:oklch(60.11% 0.13827 308.46);color:oklch(60.11% 0.13827 308.46);border-radius:50%;font-size:8px;cursor:crosshair;touch-action:none;box-shadow:0 0 0 1px oklch(77.32% 0.08589 311.08)}
.direct-next button.direct-selected,.direct-head-chip.direct-selected{box-shadow:0 0 0 5px oklch(85.62% 0.06941 308.92);background:oklch(65.11% 0.13930 310.45);color:oklch(100% 0 0)}.direct-working{position:absolute;bottom:-24px;left:0;right:0;text-align:center;font:700 9px/1.5 -apple-system,sans-serif;background:oklch(94.73% 0.02402 163.14);color:oklch(57.21% 0.10199 168.56);border-radius:5px;padding:3px 4px;white-space:nowrap}.learning-simple .direct-node.ll-active{border-color:oklch(67.85% 0.11190 172.86);background:oklch(97.82% 0.01401 162.48)}.direct-node.ll-active .direct-data{color:oklch(61.04% 0.10941 168.31)}.direct-node.ll-released{pointer-events:none;opacity:.32}.direct-blank-hint{position:absolute;left:24px;bottom:16px;font-size:10px;color:oklch(75.29% 0.04756 309.79);pointer-events:none}
.learning-simple .scene:has(.direct-laboratory){padding:13px;align-items:start;min-height:420px}.learning-simple .playground-legend{justify-content:flex-start;padding:12px 17px 0}.learning-simple .teaching-canvas{min-width:0;padding-left:18px;padding-right:18px}.learning-simple .teaching-scene{min-height:225px}.learning-simple .teaching-live-code{max-height:none}
.array-insert-gap{position:absolute;left:-11px;top:44px;z-index:2;border:1px solid oklch(75.51% 0.08637 308.34);background:oklch(96.3% 0.02281 308.20);color:oklch(59.13% 0.13326 309.21);border-radius:50%;height:20px;width:20px;padding:0;font-size:14px;line-height:18px}.array-insert-gap:hover,.array-append-target:hover{background:oklch(90.38% 0.04836 309.76)}.cell-wrap{position:relative}.array-append-target{border:2px dashed oklch(83.44% 0.06651 311.40);color:oklch(68.2% 0.10415 311.46);background:oklch(97.41% 0.01545 306.42);border-radius:11px;min-width:52px;height:72px;margin-top:22px;font-size:24px}
[data-incoming-value]{cursor:grab;touch-action:none;user-select:none}.moving-value.drag-incoming{pointer-events:none;z-index:20}
.learning-simple .allocation-cells{padding-left:15px;padding-right:10px}.learning-simple .playground-workbench .allocation-cells{justify-content:flex-start}.learning-simple .playground-workbench .scene{min-height:330px}
.learning-simple.classroom-view .execution-workbench{flex:1;min-height:0;grid-template-columns:minmax(0,1fr) 310px}.learning-simple.classroom-view .execution-panel{max-height:none;overflow:auto;padding-top:15px}.learning-simple.classroom-view .teaching-canvas{padding:10px 15px 0}.learning-simple.classroom-view .teaching-scene{flex:1;min-height:0;overflow:auto}.learning-simple.classroom-view .teaching-scene .ll-logical-strip{justify-content:flex-start;padding-top:8px;padding-bottom:8px}.learning-simple.classroom-view .teaching-scene .ll-logical-node{width:100px}.learning-simple.classroom-view .teaching-scene .ll-logical-fields strong{font-size:29px}.learning-simple.classroom-view .teaching-narration{min-height:85px;padding:12px 0}
@media(max-width:1000px){.execution-workbench{grid-template-columns:minmax(0,1fr) 270px}.execution-panel{padding:15px 10px}.execution-panel pre{font-size:10px}.direct-tools{padding:14px 17px}.direct-draft-actions{margin-left:0}.learning-simple.classroom-view .execution-workbench{grid-template-columns:minmax(0,1fr) 270px}}
@media(max-width:1000px){.learning-simple .playground-header:has(.direct-tools:not([hidden])){grid-template-columns:120px minmax(0,1fr) auto}.direct-draft-actions{margin-left:0}}
@media(max-width:740px){.lesson-brief{display:block}.learning-simple .lesson-brief .lesson-heading{margin-bottom:13px}.learning-simple .playground-header:has(.direct-tools:not([hidden])){grid-template-columns:1fr auto}.learning-simple .playground-header>.direct-tools{grid-column:1/-1;grid-row:2}.learning-simple .playground-header:has(.direct-tools:not([hidden]))>#undo{grid-column:2;grid-row:1}.operation-choices{padding:8px 13px;gap:7px}.canvas-algorithms>.operation-menu-toggle{padding:9px 7px;font-size:9px}.operation-choices .operation-menu>summary{font-size:9px}.learning-simple .lesson-brief .lesson-heading h1{font-size:25px}}
@media(max-width:740px){.canvas-current-line{display:block;margin:10px 12px 0;border-left:3px solid oklch(66.86% 0.13253 310.27);background:oklch(93.07% 0.03039 309.07);color:oklch(50.17% 0.10576 313.47);font:11px/1.7 ui-monospace,monospace;padding:8px 10px;overflow-wrap:anywhere}}
@media(max-width:740px){.execution-workbench,.learning-simple.classroom-view .execution-workbench{display:flex;flex-direction:column}.execution-panel{border-left:0;border-top:1px solid oklch(90.72% 0.02730 307.04);max-height:none;padding:17px}.execution-panel pre{max-height:270px;font-size:11px}.live-instruction{min-height:0}.direct-tools{padding:14px}.direct-tools p{font-size:10px}.direct-draft-actions>.button{padding:7px 9px;font-size:9px}.learning-simple .scene:has(.direct-laboratory){padding:9px;min-height:420px}.direct-board-scroll{max-height:450px}.learning-simple .teaching-header-actions #teaching-skip{display:none}.learning-simple.classroom-view .execution-panel{overflow:visible}.learning-simple.classroom-view .teaching-scene{min-height:200px}.learning-simple.classroom-view .teaching-canvas{flex:none}.learning-simple .array-insert-gap{left:-9px;top:41px}.learning-simple .direct-node{width:112px}.execution-panel header h3{font-size:12px}}
@media(prefers-reduced-motion:reduce){.execution-panel .code-line{transition:none}}
/* Large, high-contrast linked-list construction and pointer teaching. */
body[data-structure=list] #list-builder{padding:22px 24px;background:oklch(96.09% 0.01625 297.52);border-bottom:2px solid oklch(80.96% 0.05485 301.97);color:oklch(32.04% 0.04493 261.46)}
.builder-intro{display:flex;align-items:center;justify-content:space-between;gap:22px}.builder-intro h2{font-size:21px;letter-spacing:-.3px;color:oklch(28.32% 0.05948 288.97)}.builder-intro p{font-size:16px;line-height:1.65;margin-top:6px;color:oklch(39.53% 0.03232 277.80);max-width:660px}
.builder-steps{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:0;margin:20px 0 12px}.builder-steps li{padding:11px 13px;border:1px solid oklch(76.58% 0.04120 303.26);background:oklch(100% 0 0);border-radius:8px;font-size:15px;color:oklch(40.85% 0.04536 296.23);font-weight:600}.builder-steps li[aria-current=step]{background:oklch(42.95% 0.16904 292.26);color:white;border:2px solid oklch(34.15% 0.14673 289.58)}
#builder-hint{font-size:16px;line-height:1.7;color:oklch(33.28% 0.04080 255.81)}.builder-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:13px}.builder-actions:has(>button[hidden]):not(:has(>button:not([hidden]))){display:none}
body[data-structure=list] .playground-header:has(.direct-tools:not([hidden])){grid-template-columns:160px minmax(0,1fr);gap:15px;padding:20px 24px}body[data-structure=list] .playground-header>.direct-tools{display:flex;gap:12px;align-items:end}body[data-structure=list] .playground-header>#undo{grid-column:1/-1;justify-self:end;font-size:15px;min-height:44px}body[data-structure=list] .playground-header>.direct-tools>label{flex-direction:column;align-items:start;font-size:15px;color:oklch(36.41% 0.03601 291.05)}body[data-structure=list] .playground-header>.direct-tools input{height:46px;width:100px!important;font-size:18px;border-color:oklch(59.56% 0.07762 301.52);color:oklch(29.35% 0.03929 263.68)}body[data-structure=list] .playground-header>.direct-tools .button,body[data-structure=list] .button{font-size:15px;min-height:44px;padding:9px 14px;border-color:oklch(61.52% 0.07314 303.78);color:oklch(33.71% 0.05447 296.73)}body[data-structure=list] .button.primary{color:oklch(100% 0 0);background:oklch(42.95% 0.16904 292.26);border-color:oklch(42.95% 0.16904 292.26)}body[data-structure=list] .button.primary:hover:not(:disabled){background:oklch(34.93% 0.13535 294.12)}
body[data-structure=list] .playground-header strong{font-size:21px;color:oklch(27.85% 0.04380 287.01)}body[data-structure=list] .playground-header #structure-count{font-size:14px;color:oklch(40.79% 0.06350 303.57);background:oklch(92.39% 0.02653 302.57)}body[data-structure=list] .playground-header>.direct-tools p{font-size:15px;color:oklch(39.11% 0.03072 277.48);line-height:1.65}
body[data-structure=list] .canvas-algorithms>.operation-menu-toggle,body[data-structure=list] .operation-menu>summary{font-size:15px;color:oklch(35.63% 0.06682 302.54);padding:12px}body[data-structure=list] .canvas-algorithms .array-operation-nav{width:290px;top:48px}body[data-structure=list] .array-operation-nav .button{font-size:15px;color:oklch(33.82% 0.05465 298.27);white-space:normal}body[data-structure=list] .operation-choices{gap:16px;padding:10px 18px;flex-wrap:wrap}
body[data-structure=list] .operation-controls label,body[data-structure=list] .playback-options label{font-size:16px;color:oklch(36.41% 0.03601 291.05)}body[data-structure=list] input,body[data-structure=list] select{font-size:16px;color:oklch(31.52% 0.04398 259.22);border-color:oklch(62.77% 0.06148 301.80);min-height:44px}body[data-structure=list] input[type=checkbox]{min-height:0;width:18px;height:18px;accent-color:oklch(42.95% 0.16904 292.26)}body[data-structure=list] .playback{gap:18px;padding:18px 22px}body[data-structure=list] .playback-options select{font-size:16px;min-height:40px}body[data-structure=list] .error{font-size:16px;color:oklch(47.09% 0.15904 18.24);padding:12px 22px;background:oklch(96.97% 0.01531 7.48)}
body[data-structure=list] .playground-workbench{grid-template-columns:minmax(0,1fr) 350px}body[data-structure=list] .execution-panel{color:oklch(31.04% 0.04851 297.11);max-height:760px;padding:22px 16px}body[data-structure=list] .execution-panel h3{font-size:18px}body[data-structure=list] .execution-panel header>span:last-child:not(.execution-dot){font-size:14px;color:oklch(41.71% 0.04929 301.68)}body[data-structure=list] .execution-panel h4{font-size:14px;color:oklch(38.68% 0.06456 304.67)}body[data-structure=list] .execution-panel pre{font-size:16px;max-height:480px;border-color:oklch(80.51% 0.04959 303.98);background:oklch(98.26% 0.00947 299.24);color:oklch(31.19% 0.03763 295.05)}body[data-structure=list] .execution-panel .code-line{color:oklch(32.86% 0.03736 297.41);padding:10px 9px;line-height:1.7}body[data-structure=list] .execution-panel .line-num{font-size:14px;color:oklch(47.43% 0.06587 307.47)}body[data-structure=list] .execution-panel .code-line.highlight{background:oklch(91.51% 0.04070 302.81);color:oklch(33.47% 0.13916 292.50);border-left-color:oklch(42.95% 0.16904 292.26);font-weight:750}body[data-structure=list] .live-instruction,body[data-structure=list] .canvas-current-line{font-size:16px;color:oklch(33.58% 0.12458 292.29);background:oklch(93.93% 0.02772 301.75);border-color:oklch(80.11% 0.06119 303.46)}body[data-structure=list] .execution-panel .variable,body[data-structure=list] .execution-panel #teaching-variables{font-size:14px;color:oklch(34.37% 0.06167 300.29);background:oklch(94% 0.02099 304.03);line-height:1.7}body[data-structure=list] .condition-result{font-size:12px;background:oklch(93.63% 0.03565 164.99);color:oklch(39.81% 0.07959 159.99)}body[data-structure=list] .condition-false{background:oklch(91.91% 0.03187 3.16);color:oklch(41.55% 0.13065 10.24)}
body[data-structure=list] .visual-legend{font-size:14px;color:oklch(35.97% 0.04068 302.31);gap:18px}body[data-structure=list] .visual-legend i{width:10px;height:10px}body[data-structure=list] .step-narrative>strong{font-size:19px;color:oklch(30.65% 0.06867 301.93)}body[data-structure=list] .result-strip #feedback{font-size:16px;color:oklch(34.8% 0.03686 297.56)}body[data-structure=list] .result-strip #step-count{font-size:14px;color:oklch(42.84% 0.05580 308.39)}body[data-structure=list] .secondary-actions .text-button,body[data-structure=list] .counter-details>summary{font-size:14px;color:oklch(40.58% 0.05752 306.17)}
body[data-structure=list] .lesson-brief #idea{font-size:17px;color:oklch(34.35% 0.03475 289.01)}body[data-structure=list] .concept-notes summary{font-size:15px;color:oklch(41% 0.06157 302.91)}body[data-structure=list] .lesson-brief .lesson-heading h1{font-size:32px;color:oklch(27.74% 0.04064 279.40)}body[data-structure=list] #lesson-group{font-size:13px;color:oklch(42.93% 0.07167 305.45)}body[data-structure=list] .workspace-button{font-size:16px;color:oklch(41.26% 0.06117 301.64)}body[data-structure=list] .memory-toggle{font-size:15px;color:oklch(38.57% 0.06424 303.41)}
.direct-board-scroll{max-height:620px;border-color:oklch(75.01% 0.06083 303.83)}.direct-board-plane{background-image:radial-gradient(oklch(85.75% 0.03451 304.49) 1px,transparent 1px)}.direct-edge,.direct-head-edge{stroke:oklch(48.34% 0.08388 304.18);stroke-width:3}.direct-head-edge{stroke:oklch(47.29% 0.08673 168.88)}.direct-edge:hover{stroke:oklch(50.48% 0.13472 0.27);stroke-width:4}.direct-edge-changed{stroke:oklch(44.94% 0.16855 298.05);stroke-width:4}
.learning-simple .direct-head-chip{left:24px;top:22px;min-width:160px;min-height:62px;font:750 18px ui-monospace,monospace;border:2px solid oklch(49.76% 0.08639 165.88);color:oklch(41.91% 0.07757 166.08);background:oklch(95.31% 0.01993 164.58);padding:9px 14px}.learning-simple .direct-head-chip small{display:block;margin:5px 0 0;font-size:14px;color:oklch(38.6% 0.06506 169.19)}.direct-head-chip span{position:absolute;right:-11px;top:calc(50% - 11px);width:22px;height:22px;border:4px solid white;border-radius:50%;background:oklch(47.29% 0.08673 168.88);color:oklch(47.29% 0.08673 168.88);font-size:8px;line-height:14px;box-shadow:0 0 0 1px oklch(49.76% 0.08639 165.88)}.direct-tail-label{left:290px;right:auto;top:34px;font:14px ui-monospace,monospace;color:oklch(40.63% 0.05901 305.48)}.learning-simple .direct-null{font:700 14px ui-monospace,monospace;color:oklch(35.62% 0.05608 307.41);border:0;padding:2px 5px}
.learning-simple .direct-node{width:176px;height:190px;min-height:0;display:flex;flex-direction:column;overflow:visible;cursor:grab;z-index:1;border-color:oklch(60.4% 0.08525 302.28);background:oklch(100% 0 0);box-shadow:0 5px oklch(86.69% 0.04155 304.26)}
.learning-simple .direct-node .ll-node-title{height:48px;min-height:48px;flex:none;position:relative;padding:6px 10px;align-items:flex-start;flex-wrap:nowrap;cursor:grab;background:oklch(93.84% 0.02387 304.48);color:oklch(32.44% 0.07141 302.20)}
.learning-simple .direct-node .direct-node-identity{font:750 16px ui-monospace,monospace;color:oklch(34.08% 0.08025 300.25);background:none;padding:0}.direct-node-identity i{font-size:19px;font-style:normal;color:oklch(46.41% 0.06770 301.74);margin-left:7px}.learning-simple .direct-node .ll-node-title button{font-size:24px;color:oklch(43.94% 0.09087 357.00);min-width:25px;min-height:25px;line-height:1}
.learning-simple .direct-node .direct-node-address{position:absolute;left:10px;bottom:5px;font:14px ui-monospace,monospace;color:oklch(37.29% 0.07699 304.95)}
.learning-simple .direct-node .direct-data{height:76px;flex:none;display:grid;place-items:center;padding:0;font-size:44px;line-height:1;color:oklch(32.24% 0.10001 299.90)}
.learning-simple .direct-node .direct-next{height:62px;flex:none;display:flex;flex-direction:column;justify-content:center;padding:6px 19px 6px 7px;font:700 14px/1.6 ui-monospace,monospace;color:oklch(36.27% 0.08143 306.85);background:oklch(95.61% 0.01552 306.41);border-color:oklch(77.72% 0.05500 305.93);cursor:grab}.learning-simple .direct-node .direct-next small{font:14px/1.6 ui-monospace,monospace;color:oklch(38.29% 0.08014 309.68)}
.learning-simple .direct-next button{width:36px;height:36px;right:-19px;top:50%;transform:translateY(-50%);border-width:4px;font-size:12px;z-index:5;cursor:crosshair;background:oklch(45.1% 0.16237 299.00);color:oklch(45.1% 0.16237 299.00);box-shadow:0 0 0 2px oklch(59.79% 0.12071 303.65)}
.direct-target-socket{position:absolute;left:-9px;top:50%;transform:translateY(-50%);height:18px;width:18px;border-radius:50%;border:3px solid oklch(55.07% 0.09790 306.03);background:white;pointer-events:none;z-index:2}
.learning-simple .direct-node.direct-selected{outline:2px solid oklch(47.71% 0.13628 301.27);outline-offset:5px;z-index:4}.learning-simple .direct-node.direct-moving{z-index:8;cursor:grabbing;box-shadow:0 10px 18px oklch(43.92% 0.08736 308.45 / 0.1608);transition:none}.learning-simple .direct-node.direct-moving *{cursor:grabbing}.learning-simple .direct-node.direct-drop-target{outline:3px solid oklch(50.38% 0.10192 162.83);outline-offset:7px;z-index:3;background:oklch(96.15% 0.02141 158.60)}.direct-drop-target .direct-target-socket{border-color:oklch(43.61% 0.08635 163.55);box-shadow:0 0 0 6px oklch(90.19% 0.05499 168.51)}.direct-drag-line{stroke-width:4;pointer-events:none}.direct-drag-line[data-valid-target=true]{stroke:oklch(50.38% 0.10192 162.83);stroke-dasharray:none}
.learning-simple .direct-node.ll-active{background:oklch(97.12% 0.01565 160.63);border-color:oklch(54.34% 0.10046 167.74)}.learning-simple .direct-node.ll-active .direct-data{color:oklch(43.1% 0.08188 165.38)}.learning-simple .direct-node.ll-active .ll-node-title{background:oklch(93.09% 0.03067 162.18);color:oklch(38.21% 0.06617 166.45)}.direct-working{font-size:13px;color:oklch(42.52% 0.07954 165.66);background:oklch(93.52% 0.02831 165.45);bottom:-28px}.direct-blank-hint{font-size:14px;color:oklch(44.32% 0.06458 305.61);left:24px;right:20px;line-height:1.7}.direct-empty{position:absolute;left:55px;top:175px;width:660px;padding:26px;border:2px dashed oklch(74.06% 0.06703 304.04);border-radius:12px;background:oklch(98.26% 0.00947 299.24);pointer-events:none;color:oklch(33.29% 0.04201 285.78)}.direct-empty strong{font-size:23px}.direct-empty p{font-size:17px;margin-top:12px;line-height:1.7;color:oklch(39.98% 0.04764 298.98)}
@media(max-width:1050px){body[data-structure=list] .playground-header:has(.direct-tools:not([hidden])){display:flex;flex-wrap:wrap;align-items:start}body[data-structure=list] .playground-header>.direct-tools{flex:1 1 100%}body[data-structure=list] .playground-header>#undo{margin-left:auto}.builder-intro{align-items:start;flex-wrap:wrap}.builder-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:740px){body[data-structure=list] #list-builder{padding:18px 16px}.builder-intro h2{font-size:20px}.builder-intro p,#builder-hint{font-size:16px}.builder-steps{gap:8px}.builder-steps li{font-size:14px;padding:9px}body[data-structure=list] .playground-workbench{display:flex;flex-direction:column}body[data-structure=list] .playground-header>.direct-tools{align-items:end;gap:12px}.direct-draft-actions{flex-wrap:wrap}body[data-structure=list] .playground-header>.direct-tools .button{font-size:15px}.direct-board-scroll{max-height:570px}body[data-structure=list] .execution-panel{max-height:none}body[data-structure=list] .canvas-algorithms .array-operation-nav{width:270px}body[data-structure=list] .playground-header:has(.direct-tools:not([hidden])){padding:18px 16px}}
/* Guided linked-list examples use the same readable teaching sizes. */
body[data-structure=list] .teaching-scene .ll-logical-node{width:166px;border-color:oklch(62.65% 0.07698 306.63)}body[data-structure=list] .teaching-scene .ll-node-title{font-size:14px;min-height:37px;color:oklch(38.01% 0.06896 306.97);background:oklch(93.81% 0.02260 305.60)}body[data-structure=list] .teaching-scene .ll-node-title span{font-size:12px;color:oklch(42.2% 0.07900 165.39);background:oklch(93.06% 0.02660 163.17)}body[data-structure=list] .teaching-scene .ll-logical-fields strong{font-size:40px;color:oklch(33.33% 0.09710 302.00)}body[data-structure=list] .teaching-scene .ll-logical-fields strong small{font-size:12px;color:oklch(42.82% 0.07134 304.34);opacity:1}body[data-structure=list] .teaching-scene .ll-logical-fields>span{font-size:14px;color:oklch(37.47% 0.06988 303.94)}body[data-structure=list] .teaching-scene .ll-logical-fields b{color:oklch(34.99% 0.11223 298.29)}body[data-structure=list] .teaching-scene .ll-logical-link{color:oklch(50.77% 0.09633 305.86)}body[data-structure=list] .teaching-scene .ll-head-chip{font-size:16px;color:oklch(44.14% 0.05621 168.17);min-width:75px}body[data-structure=list] .teaching-scene .ll-head-chip small,body[data-structure=list] .teaching-scene .ll-null small{font-size:13px;color:oklch(41.47% 0.06176 304.22)}body[data-structure=list] .teaching-scene .ll-null{font-size:15px;color:oklch(37.47% 0.06988 303.94);border-color:oklch(65.11% 0.07323 306.73)}body[data-structure=list] .teaching-scene .ll-stage-heading h3{font-size:16px;color:oklch(34.38% 0.06149 306.40)}body[data-structure=list] .teaching-scene .ll-length-label{font-size:14px;color:oklch(41.47% 0.06442 307.31)}body[data-structure=list] .teaching-scene .ll-card-variables{font-size:14px;color:oklch(40.62% 0.07539 164.99)}body[data-structure=list] .teaching-scene .ll-tray-caption{font-size:15px;color:oklch(41.75% 0.05078 307.86)}body[data-structure=list] .teaching-scene .ll-tray-caption strong{font-size:16px;color:oklch(36.52% 0.09317 303.50)}body[data-structure=list] .teaching-scene .ll-connection-preview{font-size:14px;color:oklch(39.97% 0.09716 305.10)}body[data-structure=list] .teaching-scene .ll-connection-preview small{font-size:13px;color:oklch(42.01% 0.06895 310.65)}
body[data-structure=list] .teaching-narration h3{font-size:23px;color:oklch(31.9% 0.07864 303.22)}body[data-structure=list] .teaching-narration p{font-size:17px;color:oklch(38.67% 0.03172 305.13)}body.learning-simple[data-structure=list] #teaching-play{font-size:17px;min-height:46px}body[data-structure=list] .teaching-top h2{font-size:22px;color:oklch(30.26% 0.05676 302.46)}body[data-structure=list] .teaching-controls label,body[data-structure=list] #teaching-step{font-size:15px;color:oklch(38.57% 0.05624 305.39)}
body.learning-simple[data-structure=list] .button{font-size:16px;min-height:44px;color:oklch(33.71% 0.05447 296.73)}body.learning-simple[data-structure=list] .button.primary{color:oklch(100% 0 0)}body.learning-simple[data-structure=list] .teaching-scene .ll-logical-fields strong{font-size:40px;color:oklch(33.33% 0.09710 302.00)}
body.learning-simple[data-structure=list] #teaching-next,body.learning-simple[data-structure=list] #teaching-back,body.learning-simple[data-structure=list] #teaching-classroom{font-size:16px;min-height:44px;color:oklch(33.71% 0.05447 296.73)}
body.learning-simple[data-structure=list] #teaching-classroom:after{content:none}

/* Keep the controls with the drawing, without trapping page scrolling. */
.lab-controls{display:contents}
body.learning-simple[data-structure=list]{--lab-header-offset:80px;--lab-controls-height:230px}
body.learning-simple[data-structure=list] #playground-lab{overflow:visible;scroll-margin-top:calc(var(--lab-header-offset) + 8px)}
body.learning-simple[data-structure=list] .lab-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;position:sticky;top:var(--lab-header-offset);z-index:12;background:oklch(100% 0 0);border-radius:15px 15px 0 0;box-shadow:0 3px 8px oklch(30.54% 0.06842 300.63 / 0.0706)}
body.learning-simple[data-structure=list] .lab-controls #list-builder{grid-column:1/-1;padding:10px 16px}
body.learning-simple[data-structure=list] .builder-intro{gap:16px;flex-wrap:nowrap}
body.learning-simple[data-structure=list] .builder-intro h2{font-size:18px}
body.learning-simple[data-structure=list] .builder-intro p{font-size:15px;margin-top:2px;line-height:1.5}
body.learning-simple[data-structure=list] #list-builder:has(#builder-steps:not([hidden])) .builder-intro{display:none}
body.learning-simple[data-structure=list] #builder-steps{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 16px;align-items:center}
body.learning-simple[data-structure=list] .builder-steps{display:flex;grid-column:1;margin:0;padding:0}
body.learning-simple[data-structure=list] .builder-steps li{display:none;font-size:14px;padding:3px 8px;border-radius:5px}
body.learning-simple[data-structure=list] .builder-steps li[aria-current=step]{display:block}
body.learning-simple[data-structure=list] #builder-hint{grid-column:1;font-size:15px;line-height:1.5}
body.learning-simple[data-structure=list] .builder-actions{grid-column:2;grid-row:1/3;margin:0}
body.learning-simple[data-structure=list] .lab-controls .playground-header{grid-column:1/-1;display:grid;grid-template-columns:145px minmax(0,1fr) auto;padding:10px 16px;gap:12px;align-items:center}
body.learning-simple[data-structure=list] .lab-controls .playground-header strong{font-size:18px}
body.learning-simple[data-structure=list] .lab-controls .playground-header>#undo{grid-column:auto;grid-row:auto;margin:0;align-self:center;justify-self:end;min-width:100px}
body.learning-simple[data-structure=list] .lab-controls .playground-header>.direct-tools{flex-basis:auto;align-items:center;gap:9px}
body.learning-simple[data-structure=list] .lab-controls .playground-header>.direct-tools>label{flex-direction:row;align-items:center;gap:8px;font-size:15px}
body.learning-simple[data-structure=list] .lab-controls .playground-header>.direct-tools input{width:78px!important;height:44px}
body.learning-simple[data-structure=list] .lab-controls .playground-header>.direct-tools .button{font-size:15px;padding:8px 11px}
body.learning-simple[data-structure=list] .lab-controls .playground-header>.direct-tools p{font-size:14px;line-height:1.4;margin:0}
body.learning-simple[data-structure=list] .lab-controls .direct-draft-actions{margin-left:auto}
body.learning-simple[data-structure=list] .lab-controls .operation-choices{grid-column:1;gap:8px;padding:6px 12px;align-items:center;min-width:0}
body.learning-simple[data-structure=list] .lab-controls .canvas-algorithms>.operation-menu-toggle,body.learning-simple[data-structure=list] .lab-controls .operation-menu>summary{font-size:14px;padding:9px 8px}
body.learning-simple[data-structure=list] .lab-controls .playback{grid-column:2;gap:10px;padding:8px 12px;justify-content:end;align-content:center;border-top:0;border-bottom:0}
body.learning-simple[data-structure=list] .lab-controls:has(#next:not([hidden])) .playback,body.learning-simple[data-structure=list] .lab-controls:has(.operation-menu[open]) .operation-choices{grid-column:1/-1}
body.learning-simple[data-structure=list] .lab-controls:has(.operation-menu[open]) .playback{grid-column:1/-1}
body.learning-simple[data-structure=list] .lab-controls #input-error,body.learning-simple[data-structure=list] .lab-controls #interaction-hint{grid-column:1/-1}
body.learning-simple[data-structure=list] .lab-controls .playback-options{gap:12px}
body.learning-simple[data-structure=list] .lab-controls .playback-options label{font-size:15px}
body.learning-simple[data-structure=list] .lab-controls .playback .button{padding:8px 11px;font-size:15px}
body.learning-simple[data-structure=list] .lab-controls .operation-menu{border:0;background:transparent}
body.learning-simple[data-structure=list] .playground-workbench .direct-board-scroll{max-height:clamp(330px,calc(100dvh - var(--lab-header-offset) - var(--lab-controls-height) - 64px),620px);overscroll-behavior:auto}
body.learning-simple[data-structure=list] .playground-workbench .execution-panel{max-height:clamp(370px,calc(100dvh - var(--lab-header-offset) - var(--lab-controls-height)),700px);overscroll-behavior:auto}
body.learning-simple[data-structure=list] .playground-workbench pre{overscroll-behavior:auto}
@media(max-width:1050px){
 body.learning-simple[data-structure=list] .lab-controls{grid-template-columns:1fr}
 body.learning-simple[data-structure=list] .lab-controls .operation-choices,body.learning-simple[data-structure=list] .lab-controls .playback{grid-column:1/-1}
 body.learning-simple[data-structure=list] .lab-controls .playback{justify-content:space-between}
 body.learning-simple[data-structure=list] .lab-controls .playground-header{grid-template-columns:120px minmax(0,1fr) auto}
 body.learning-simple[data-structure=list] .lab-controls .playground-header>.direct-tools{grid-column:1/-1;grid-row:2}
 body.learning-simple[data-structure=list] .lab-controls .playground-header>#undo{grid-column:3;grid-row:1}
}
@media(max-width:740px){
 body.learning-simple[data-structure=list]{--lab-header-offset:110px}
 body.learning-simple[data-structure=list] .lab-controls{position:static}
 body.learning-simple[data-structure=list] .lab-controls .playground-header{position:sticky;top:var(--lab-header-offset);z-index:10;background:oklch(100% 0 0);grid-template-columns:minmax(0,1fr) auto;padding:10px 12px}
 body.learning-simple[data-structure=list] .lab-controls .playground-header>#undo{grid-column:2}
 body.learning-simple[data-structure=list] .lab-controls .direct-draft-actions{margin-left:0;gap:6px}
 body.learning-simple[data-structure=list] .lab-controls .playground-header>.direct-tools{gap:9px;flex-wrap:wrap}
 body.learning-simple[data-structure=list] .lab-controls .playground-header>.direct-tools p{font-size:14px}
 body.learning-simple[data-structure=list] .lab-controls .builder-intro{flex-wrap:wrap;gap:10px}
 body.learning-simple[data-structure=list] #builder-steps{grid-template-columns:1fr}
 body.learning-simple[data-structure=list] .builder-actions{grid-column:1;grid-row:auto;margin-top:5px}
 body.learning-simple[data-structure=list] .lab-controls .playback{padding:8px 12px}
 body.learning-simple[data-structure=list] .playground-workbench .direct-board-scroll{max-height:440px}
 body.learning-simple[data-structure=list] .playground-workbench .execution-panel{max-height:none}
}
@media(max-width:740px){
 body.learning-simple[data-structure=list] .lab-controls{display:contents}
 body.learning-simple[data-structure=list] .lab-controls .playback{position:sticky;top:calc(var(--lab-header-offset) + var(--lab-edit-height,180px));z-index:9;background:oklch(100% 0 0);border-bottom:1px solid oklch(86.35% 0.04029 304.91);box-shadow:0 3px 6px oklch(30.54% 0.06842 300.63 / 0.0706)}
}
@media(max-width:740px){
 body.learning-simple[data-structure=list] .lab-controls #direct-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
}

/* Compact logical teaching cards. The workbench owns the outer layout. */
body.learning-simple.workbench .direct-board-plane{min-height:300px;background-image:radial-gradient(oklch(86.74% 0.02761 307.02) 1px,transparent 1px);background-size:20px 20px}
body.learning-simple.workbench .direct-edges{width:100%;height:100%;overflow:visible}
body.learning-simple.workbench .direct-board-scroll{border:0;border-radius:0;max-height:none;min-height:0;background:oklch(100% 0 0);overscroll-behavior:auto}
body.learning-simple.workbench .direct-node{width:88px;height:64px;min-height:64px;display:grid;grid-template-columns:52px 32px;grid-template-rows:60px;align-items:stretch;border:2px solid oklch(49.41% 0.10166 306.05);border-radius:5px;background:oklch(100% 0 0);box-shadow:0 2px oklch(87.76% 0.03501 308.02);overflow:visible}
body.learning-simple.workbench .direct-node .ll-node-title{position:absolute;left:0;right:0;top:-24px;height:20px;min-height:20px;padding:0;display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;background:transparent;border:0;border-radius:0;line-height:18px}
body.learning-simple.workbench .direct-node .direct-node-identity{font:700 13px/18px ui-monospace,monospace;color:oklch(38.52% 0.09172 306.06);padding:0;background:none}
body.learning-simple.workbench .direct-node-identity i{font-size:12px;margin-left:1px;color:oklch(50.66% 0.06395 309.37)}
body.learning-simple.workbench .direct-node .ll-node-title button{position:absolute;right:-5px;top:-2px;font:20px/22px system-ui;min-height:22px;height:22px;min-width:22px;width:22px;color:oklch(42.51% 0.09384 358.18);background:oklch(100% 0 0);border:0;border-radius:3px}
body.learning-simple.workbench .direct-node .direct-node-address{display:none;left:0;top:-30px;bottom:auto;padding:5px 7px;white-space:nowrap;z-index:10;font:12px/18px ui-monospace,monospace;border:1px solid oklch(67.17% 0.05600 307.54);border-radius:4px;background:oklch(100% 0 0);color:oklch(36.21% 0.08002 307.45);pointer-events:none}
body.learning-simple.workbench .direct-node:hover .direct-node-address,body.learning-simple.workbench .direct-node:focus-within .direct-node-address{display:block}
body.learning-simple.workbench .direct-node .direct-data{grid-column:1;grid-row:1;width:52px;height:60px;padding:0;display:grid;place-items:center;font:750 26px/1 system-ui;color:oklch(29.93% 0.08508 305.43);border-radius:3px 0 0 3px}
body.learning-simple.workbench .direct-node .direct-next{grid-column:2;grid-row:1;width:32px;height:60px;min-height:0;padding:4px 0;border:0;border-left:1px solid oklch(71.41% 0.05905 309.78);border-radius:0 3px 3px 0;display:flex;justify-content:center;align-items:center;flex-direction:column;background:oklch(93.75% 0.02009 308.22);font:700 12px/16px ui-monospace,monospace;color:oklch(36.07% 0.08700 308.05);overflow:visible}
body.learning-simple.workbench .direct-node .direct-next>span{display:block;max-width:31px;overflow-wrap:normal;white-space:normal;text-align:center}
body.learning-simple.workbench .direct-node .direct-next>span>em{display:block;font:700 9px/14px ui-monospace,monospace;font-style:normal}
body.learning-simple.workbench .direct-node .direct-next>span>b{display:block;font:750 12px/16px ui-monospace,monospace}
body.learning-simple.workbench .direct-node .direct-next small{display:none}
body.learning-simple.workbench .direct-node .direct-next button{right:-22px;top:50%;transform:translateY(-50%);width:24px;height:24px;min-width:24px;min-height:24px;z-index:5;border:3px solid oklch(100% 0 0);background:oklch(44.78% 0.12030 302.40);color:oklch(44.78% 0.12030 302.40);box-shadow:0 0 0 1px oklch(59.63% 0.09463 305.89);font-size:10px}
body.learning-simple.workbench .direct-node .direct-target-socket{left:-7px;width:14px;height:14px;border:2px solid oklch(49.41% 0.10166 306.05);background:oklch(100% 0 0)}
body.learning-simple.workbench .direct-node.ll-active{border-color:oklch(44.7% 0.08510 164.48);background:oklch(95.65% 0.01980 159.75);box-shadow:0 2px oklch(88.57% 0.03514 161.34)}
body.learning-simple.workbench .direct-node.ll-active .direct-data{background:oklch(95.65% 0.01980 159.75);color:oklch(39.6% 0.07413 165.62)}
body.learning-simple.workbench .direct-node.ll-active .direct-next{background:oklch(92.67% 0.02904 156.61);color:oklch(38.18% 0.06634 168.05);border-color:oklch(67.33% 0.06843 165.30)}
body.learning-simple.workbench .direct-node.direct-staged{border-style:dashed}
body.learning-simple.workbench .direct-working{bottom:-25px;left:-8px;right:-8px;padding:2px 4px;min-height:20px;background:oklch(93.67% 0.01753 164.64);color:oklch(41.99% 0.07624 165.61);border-radius:4px;font:700 12px/16px system-ui;text-align:center;white-space:nowrap}
body.learning-simple.workbench .direct-stage-caption{background:oklch(93.72% 0.01885 309.79);color:oklch(41.51% 0.10739 308.05);font-size:10px}
body.learning-simple.workbench .direct-node.direct-selected{outline:2px solid oklch(50.83% 0.13505 306.97);outline-offset:4px}
body.learning-simple.workbench .direct-node.direct-drop-target{outline:3px solid oklch(47.77% 0.09195 165.16);outline-offset:5px;background:oklch(94.55% 0.02315 157.59)}
body.learning-simple.workbench .direct-node.direct-drop-invalid{outline:3px dashed oklch(47.85% 0.14219 6.52);outline-offset:5px;background:oklch(94.81% 0.01852 356.43)}
body.learning-simple.workbench .direct-drag-line[data-valid-target=false]{stroke:oklch(47.85% 0.14219 6.52);stroke-dasharray:6 4}
body.learning-simple.workbench .direct-edge,body.learning-simple.workbench .direct-head-edge{stroke:oklch(46.12% 0.07933 306.98);stroke-width:2.5}
body.learning-simple.workbench .direct-head-edge{stroke:oklch(47.84% 0.08489 163.87);stroke-dasharray:5 4}
body.learning-simple.workbench .direct-head-chip{left:20px;top:17px;min-width:112px;min-height:42px;height:42px;padding:5px 10px;border-radius:5px;font:750 15px/18px ui-monospace,monospace}
body.learning-simple.workbench .direct-head-chip small{display:inline;font:12px/17px ui-monospace,monospace;margin:0 0 0 6px}
body.learning-simple.workbench .direct-tail-label{top:30px;left:250px;right:auto;font:12px/18px ui-monospace,monospace;color:oklch(40.55% 0.05654 313.23)}
body.learning-simple.workbench .direct-null{font:700 12px/18px ui-monospace,monospace;background:oklch(100% 0 0);color:oklch(37.61% 0.07047 310.44);padding:0 3px}
body.learning-simple.workbench .direct-blank-hint{left:20px;right:16px;bottom:12px;font:12px/18px system-ui;color:oklch(46.78% 0.04802 308.87)}
body.learning-simple.workbench .direct-empty{left:24px;top:100px;width:min(600px,calc(100% - 48px));padding:20px;border-width:1px;border-radius:7px;color:oklch(29.63% 0.04490 304.83)}
body.learning-simple.workbench .direct-empty strong{font-size:20px;line-height:1.4}
body.learning-simple.workbench .direct-empty p{font-size:16px;line-height:1.5;margin-top:8px}
body.learning-simple.workbench [data-board-tool=add]{cursor:crosshair}
body.learning-simple.workbench [data-board-tool=link] .direct-node{cursor:crosshair}
body.learning-simple.workbench .direct-node.direct-moving{box-shadow:none;cursor:grabbing}
/* Guided cards retain their existing semantic fields, with the same compact proportions. */
body.learning-simple.workbench[data-structure] .teaching-scene .ll-logical-node{position:relative;width:88px;min-width:88px;border-radius:5px;padding:0;box-shadow:0 2px oklch(87.76% 0.03501 308.02);margin-top:24px}
body.learning-simple.workbench[data-structure] .teaching-scene .ll-node-title{position:absolute;left:0;right:0;top:-24px;min-height:20px;height:20px;padding:0;display:flex;align-items:center;gap:4px;background:transparent;border:0;font:700 12px/18px ui-monospace,monospace;color:oklch(38.52% 0.09172 306.06)}
body.learning-simple.workbench[data-structure] .teaching-scene .ll-node-title>small{font-size:12px}
body.learning-simple.workbench[data-structure] .teaching-scene .ll-node-title>span{font:700 9px/15px system-ui;padding:0 2px}
body.learning-simple.workbench[data-structure] .teaching-scene .ll-logical-fields{display:grid;grid-template-columns:52px 32px;min-height:60px}
body.learning-simple.workbench[data-structure] .teaching-scene .ll-logical-fields strong{display:grid;place-items:center;height:60px;min-height:0;padding:0!important;font-size:26px!important;line-height:1;color:oklch(29.93% 0.08508 305.43)}
body.learning-simple.workbench[data-structure] .teaching-scene .ll-logical-fields strong>small{display:none}
body.learning-simple.workbench[data-structure] .teaching-scene .ll-logical-fields>span{display:flex;justify-content:center;align-items:center;flex-direction:column;border-top:0;border-left:1px solid oklch(71.41% 0.05905 309.78);padding:4px 0;font:700 9px/15px ui-monospace,monospace;color:oklch(36.07% 0.08700 308.05);background:oklch(93.75% 0.02009 308.22);border-radius:0 3px 3px 0;overflow-wrap:normal}
body.learning-simple.workbench[data-structure] .teaching-scene .ll-logical-fields>span>b{font:750 12px/16px ui-monospace,monospace}
body.learning-simple.workbench[data-structure] .teaching-scene .ll-logical-strip{gap:8px;min-height:125px;padding:16px 8px 28px;align-items:center}
body.learning-simple.workbench[data-structure] .teaching-scene .ll-logical-link{font-size:24px;min-width:14px}
body.learning-simple.workbench[data-structure] .teaching-scene .ll-head-chip{font-size:13px;min-width:50px}
body.learning-simple.workbench[data-structure] .teaching-scene .ll-null{font-size:13px}
body.learning-simple.workbench[data-structure] .teaching-scene .ll-card-variables{font-size:12px;line-height:17px;padding:2px 3px}
body.learning-simple.workbench[data-structure] .teaching-scene .ll-connection-preview{font-size:12px;gap:4px;padding:4px}
body.learning-simple.workbench[data-structure] .teaching-scene .ll-connection-preview strong{font-size:18px}
@media(prefers-reduced-motion:reduce){body.learning-simple.workbench .direct-node{transition:none}}

body.learning-simple.workbench.classroom-view[data-structure] .teaching-scene .ll-logical-node{width:88px;min-width:88px;border-radius:5px}
