/* Shared singly-list diagrams: logical order and allocation identity are separate. */
.ll-laboratory{width:100%;min-width:0;display:flex;flex-direction:column;gap:18px;color:oklch(38.25% 0.06375 246.21)}.ll-reference-summary{display:flex;gap:20px;flex-wrap:wrap;border-radius:8px;background:oklch(96.56% 0.01085 234.82);padding:11px 14px;font:12px/1.8 ui-monospace,monospace}.ll-reference-summary strong{color:oklch(53.33% 0.08861 187.76)}.ll-logical-panel,.ll-physical-panel{border:1px solid oklch(88.8% 0.02637 239.10);border-radius:10px;background:oklch(98.67% 0.00512 247.88);padding:15px;min-width:0}.ll-logical-panel h3,.ll-physical-panel h3{font-size:12px;color:oklch(46.47% 0.06432 240.60);margin:0 0 12px}.ll-logical-strip{display:flex;align-items:center;gap:9px;overflow-x:auto;padding:8px 3px 15px}.ll-head-chip,.ll-null{font:11px ui-monospace,monospace;color:oklch(53.43% 0.08186 190.61);white-space:nowrap}.ll-logical-node{flex:none;width:145px;border:1px solid oklch(78.16% 0.04060 232.84);border-radius:7px;background:white;overflow:hidden}.ll-logical-node[role=button]{cursor:pointer}.ll-node-title{display:flex;gap:5px;align-items:center;padding:5px 8px;color:oklch(60.34% 0.05304 239.51);font:10px ui-monospace,monospace;background:oklch(96.63% 0.01004 238.51)}.ll-node-title span{font:8px -apple-system,sans-serif;font-weight:700;padding:1px 4px;border-radius:3px;background:oklch(92.85% 0.02414 180.62);color:oklch(51.9% 0.07661 180.93)}.ll-logical-fields{display:flex;flex-direction:column;text-align:center;font:10px ui-monospace,monospace}.ll-logical-fields strong{padding:8px;color:oklch(40.5% 0.06846 242.74);font-size:14px;border-bottom:1px solid oklch(90.83% 0.02033 238.68)}.ll-logical-fields>span{padding:7px;color:oklch(56.38% 0.05599 241.88)}.ll-logical-link{font-size:22px;line-height:1;color:oklch(63.98% 0.05790 236.30);flex:none}.ll-logical-node.ll-active{border:2px solid oklch(72.94% 0.12230 74.01);background:oklch(97.15% 0.02420 77.46)}.ll-logical-link.ll-changed{color:oklch(66.73% 0.12846 72.48);font-weight:800}.ll-detached,.ll-memory-note{font-size:11px;line-height:1.8;color:oklch(62.77% 0.04161 242.50);margin:8px 0 0}.ll-memory-note{margin-bottom:12px}.ll-memory-scroll{max-width:100%;max-height:610px;overflow:auto;border:1px dashed oklch(90.48% 0.02206 239.45);border-radius:7px;background:oklch(96.38% 0.00836 236.56)}.ll-memory-map{display:block;max-width:none;flex:none}.ll-edge{fill:none;stroke:oklch(60.46% 0.06117 244.18);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.ll-edge.ll-changed{stroke:oklch(68.57% 0.12827 71.22);stroke-width:3}.ll-reference-edge{stroke:oklch(57.64% 0.08819 186.03);stroke-dasharray:4 3}.ll-reference-label{fill:oklch(55.11% 0.08537 183.53);font:11px ui-monospace,monospace}.ll-svg-null{fill:oklch(65.41% 0.03347 245.34);font:9px ui-monospace,monospace}.ll-memory-node[role=button]{cursor:pointer}.ll-memory-node rect{fill:oklch(100% 0 0);stroke:oklch(73.74% 0.04914 238.74);stroke-width:1.5}.ll-memory-node line{stroke:oklch(88.35% 0.02798 236.21)}.ll-memory-node.ll-active rect{fill:oklch(96.34% 0.03264 79.28);stroke:oklch(68.66% 0.12235 72.72);stroke-width:2.5}.ll-address{fill:oklch(54.57% 0.10151 246.70);font:11px ui-monospace,monospace}.ll-node-identity{fill:oklch(57.21% 0.06450 241.67);font:10px ui-monospace,monospace}.ll-status{fill:oklch(66.23% 0.04156 238.93);font:7px -apple-system,sans-serif}.ll-data{fill:oklch(40.45% 0.06721 241.84);font:600 15px ui-monospace,monospace}.ll-next,.ll-next-address{fill:oklch(56.75% 0.05893 243.17);font:10px ui-monospace,monospace}.ll-next-address{fill:oklch(56.38% 0.09800 241.81);font-size:9px}.ll-working-label{fill:oklch(62.91% 0.12271 72.01);font:10px ui-monospace,monospace}.ll-memory-node.ll-released{opacity:.24;pointer-events:none}.ll-memory-node.ll-released rect{stroke:oklch(61.68% 0.09618 28.39);stroke-dasharray:5 3}.ll-variable-strip{display:flex;gap:14px;flex-wrap:wrap;margin-top:13px;color:oklch(59.16% 0.10339 79.76);font:11px ui-monospace,monospace;min-height:15px}.ll-old-edge{stroke:oklch(64.38% 0.08301 48.55)!important;stroke-dasharray:5 4;pointer-events:none}.ll-pointer-pulse{fill:oklch(75.74% 0.12567 73.41);stroke:oklch(100% 0 0);stroke-width:2;pointer-events:none}.ll-logical-node:focus-visible,.ll-memory-node:focus-visible{outline:3px solid oklch(77.8% 0.14945 85.19);outline-offset:3px}.teaching-scene .ll-laboratory{color:oklch(90.18% 0.03137 248.18);min-width:0}.teaching-scene .ll-reference-summary{background:oklch(31.89% 0.05977 251.76);color:oklch(74.12% 0.05235 246.72)}.teaching-scene .ll-reference-summary strong{color:oklch(80.64% 0.08427 176.36)}.teaching-scene .ll-logical-panel,.teaching-scene .ll-physical-panel{background:oklch(28.05% 0.05430 252.95);border-color:oklch(41.07% 0.06014 249.48)}.teaching-scene .ll-logical-panel h3,.teaching-scene .ll-physical-panel h3{color:oklch(81.43% 0.04483 245.21)}.teaching-scene .ll-logical-node{background:oklch(33.42% 0.06131 251.64);border-color:oklch(55.11% 0.07399 246.82)}.teaching-scene .ll-node-title{background:oklch(30.74% 0.05809 251.85);color:oklch(72.42% 0.05984 247.09)}.teaching-scene .ll-logical-fields strong{color:oklch(95.24% 0.01960 245.64);border-color:oklch(44.58% 0.06560 248.77)}.teaching-scene .ll-logical-fields>span{color:oklch(78.7% 0.05186 243.94)}.teaching-scene .ll-logical-node.ll-active{background:oklch(40.07% 0.04299 77.17);border-color:oklch(77.8% 0.11066 76.39)}.teaching-scene .ll-memory-scroll{background:oklch(24.48% 0.04860 254.45);border-color:oklch(39.61% 0.06253 249.66);max-height:360px}.teaching-scene .ll-memory-node rect{fill:oklch(34.55% 0.06096 251.54);stroke:oklch(57.89% 0.07762 248.12)}.teaching-scene .ll-memory-node line{stroke:oklch(49.31% 0.06642 250.74)}.teaching-scene .ll-memory-node.ll-active rect{fill:oklch(40.07% 0.04299 77.17);stroke:oklch(80.42% 0.10667 76.78)}.teaching-scene .ll-data{fill:oklch(96.9% 0.01542 247.99)}.teaching-scene .ll-next{fill:oklch(83.26% 0.04352 244.01)}.teaching-scene .ll-address,.teaching-scene .ll-next-address{fill:oklch(76.84% 0.08712 248.01)}.teaching-scene .ll-reference-label{fill:oklch(78.37% 0.08626 177.57)}.teaching-scene .ll-memory-note,.teaching-scene .ll-detached{color:oklch(68.08% 0.05576 248.66)}.teaching-scene .ll-variable-strip,.teaching-scene .ll-working-label{color:oklch(80.82% 0.10578 80.30);fill:oklch(80.82% 0.10578 80.30)}.classroom-view .teaching-scene .ll-laboratory{max-width:1100px;margin:auto;gap:10px}.classroom-view .teaching-scene .ll-memory-scroll{max-height:260px}.classroom-view .teaching-scene .ll-reference-summary{padding:6px 12px}.classroom-view .teaching-scene .ll-logical-panel,.classroom-view .teaching-scene .ll-physical-panel{padding:10px}.classroom-view .teaching-scene .ll-logical-panel h3,.classroom-view .teaching-scene .ll-physical-panel h3{margin-bottom:5px}.classroom-view .teaching-scene .ll-memory-note{font-size:9px;margin-bottom:5px}.classroom-view .teaching-scene .ll-variable-strip{margin-top:5px}.classroom-view .teaching-scene .ll-logical-strip{padding-bottom:4px}.classroom-view .teaching-scene .ll-detached{margin-top:0;font-size:9px}@media(max-width:740px){.ll-reference-summary{gap:9px;font-size:10px}.ll-logical-panel,.ll-physical-panel{padding:10px}.ll-logical-node{width:130px}.ll-memory-scroll{max-height:450px}.ll-memory-note,.ll-detached{font-size:10px}.teaching-scene .ll-memory-scroll{max-height:310px}.classroom-view .teaching-scene .ll-memory-scroll{max-height:230px}}
/* Projection layout: keep both representations above the caption/transport at
   720px height. The logical chain wraps beside a complete small memory map;
   larger maps keep their own scroll region rather than enlarging the scene. */
@media(min-width:741px){
 .classroom-view .teaching-scene .ll-laboratory{display:grid;grid-template-columns:minmax(280px,.75fr) minmax(0,1.4fr);align-items:start;gap:10px}
 .classroom-view .teaching-scene .ll-reference-summary{grid-column:1/-1;padding:4px 12px;min-height:28px}
 .classroom-view .teaching-scene .ll-logical-panel,.classroom-view .teaching-scene .ll-physical-panel{min-width:0;padding:10px}
 .classroom-view .teaching-scene .ll-logical-strip{flex-wrap:wrap;gap:7px 5px;max-height:265px;overflow:auto;padding:4px 2px}
 .classroom-view .teaching-scene .ll-head-chip{flex-basis:100%}
 .classroom-view .teaching-scene .ll-logical-node{width:130px}
 .classroom-view .teaching-scene .ll-logical-fields strong{padding:6px;font-size:13px}
 .classroom-view .teaching-scene .ll-logical-fields>span{padding:5px;font-size:9px}
 .classroom-view .teaching-scene .ll-memory-map{width:100%;height:auto;min-width:560px}
 .classroom-view .teaching-scene .ll-memory-scroll{max-height:260px}
}

/* Begin with the chain students follow. Real allocation details remain available
   through the shared memory toggle, without remounting or changing the model. */
.ll-stage-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.ll-length-label{font:11px -apple-system,sans-serif;color:oklch(63.05% 0.04123 300.44)}.ll-node-title small{font:inherit}.ll-logical-fields strong small{display:block;font:9px -apple-system,sans-serif;font-weight:700;letter-spacing:1px;margin-bottom:3px;opacity:.65}.ll-card-variables{text-align:center;font:10px ui-monospace,monospace;padding:5px;background:oklch(95.18% 0.02540 171.96);color:oklch(52.64% 0.08729 174.16)}.ll-head-chip small,.ll-null small{display:block;font:9px -apple-system,sans-serif;font-weight:500;letter-spacing:0;margin-top:3px}.ll-head-chip b{font-size:21px}.ll-staging,.ll-release-tray{margin:12px 0 0;padding:14px;border:1px dashed oklch(79.86% 0.07221 301.24);border-radius:12px;background:oklch(96.87% 0.01799 303.42);display:flex;align-items:center;gap:20px;min-width:0}.ll-tray-caption{flex:0 0 160px;font:11px/1.5 -apple-system,sans-serif;color:oklch(59.39% 0.05833 304.38)}.ll-tray-caption strong{display:block;color:oklch(48.75% 0.13214 299.02);font-size:12px;margin-bottom:4px}.ll-staging-cards{display:flex;gap:15px;overflow:auto;padding:10px 6px;min-width:0}.ll-release-tray{border-color:oklch(85.25% 0.04104 356.54);background:oklch(97.69% 0.00894 0.12)}.ll-release-tray .ll-tray-caption strong{color:oklch(61.2% 0.09103 1.40)}.ll-logical-node.ll-released{opacity:.4;pointer-events:none;border-style:dashed}.ll-legend{display:flex;gap:18px;flex-wrap:wrap;color:oklch(62.07% 0.03248 302.76);font:10px/1.5 -apple-system,sans-serif;margin-top:15px}.ll-legend span{display:flex;align-items:center;gap:5px}.ll-legend i{width:7px;height:7px;border-radius:50%;display:inline-block}.ll-legend-active{background:oklch(65.78% 0.11464 174.65)}.ll-legend-new{background:oklch(64% 0.15933 297.99)}.ll-legend-link{background:oklch(78.32% 0.13709 79.10)}.ll-travel-dot{position:absolute;width:13px;height:13px;border-radius:50%;background:oklch(68.87% 0.12142 174.57);box-shadow:0 0 0 5px oklch(88.01% 0.06882 176.35 / 0.4196),0 0 18px oklch(68.87% 0.12142 174.57 / 0.502);pointer-events:none;z-index:12}.ll-release-badge{background:oklch(92.26% 0.02476 355.35)!important;color:oklch(58% 0.09942 0.73)!important}
.learning-simple .ll-reference-summary,.learning-simple .ll-physical-panel{display:none}.learning-simple.memory-details .ll-reference-summary{display:flex}.learning-simple.memory-details .ll-physical-panel{display:block}
.learning-simple .ll-laboratory{gap:16px;color:oklch(45.3% 0.06144 301.36)}.learning-simple .ll-logical-panel,.learning-simple .teaching-scene .ll-logical-panel{background:transparent;border:0;padding:2px;box-shadow:none}.learning-simple .ll-logical-panel h3,.learning-simple .teaching-scene .ll-logical-panel h3{font:700 12px -apple-system,sans-serif;color:oklch(51.19% 0.06947 302.14);margin:0}.learning-simple .ll-logical-panel h3 span{font-weight:400;color:oklch(67.16% 0.03978 304.51)}.learning-simple .ll-logical-strip{padding:25px 8px 20px;gap:12px;min-height:183px;align-items:center;overflow:auto;flex-wrap:nowrap;max-height:none}.learning-simple .ll-logical-node,.learning-simple .teaching-scene .ll-logical-node{width:112px;border:2px solid oklch(88.62% 0.03813 302.44);border-radius:15px;overflow:hidden;background:oklch(100% 0 0);box-shadow:0 6px 0 oklch(92.02% 0.02398 304.48);transition:border-color .15s}.learning-simple .ll-logical-node[role=button]:hover{border-color:oklch(69.96% 0.11993 300.97)}.learning-simple .ll-node-title,.learning-simple .teaching-scene .ll-node-title{background:oklch(96.25% 0.01675 304.80);padding:7px 8px;color:oklch(64.45% 0.06480 304.18);font-size:9px;min-height:28px;gap:4px;justify-content:space-between;flex-wrap:wrap}.learning-simple .ll-node-title span{font-size:7px;background:oklch(94.77% 0.02250 175.95);color:oklch(56.41% 0.07404 176.10);padding:2px 4px}.learning-simple .ll-logical-fields,.learning-simple .teaching-scene .ll-logical-fields{font:10px/1.4 -apple-system,sans-serif}.learning-simple .ll-logical-fields strong,.learning-simple .teaching-scene .ll-logical-fields strong{font:750 31px/1.1 -apple-system,sans-serif;color:oklch(47.74% 0.08954 301.53);border:0;padding:13px 6px 12px;transform-origin:center}.learning-simple .ll-logical-fields strong small{font:700 8px/1.2 -apple-system,sans-serif;color:oklch(74.23% 0.04958 305.77);letter-spacing:1.3px;margin-bottom:5px}.learning-simple .ll-logical-fields>span,.learning-simple .teaching-scene .ll-logical-fields>span{padding:7px 3px;border-top:1px solid oklch(93.81% 0.02260 305.60);color:oklch(70.33% 0.04889 306.35);font:8px ui-monospace,monospace}.learning-simple .ll-logical-fields b{font-weight:600;color:oklch(55.9% 0.07271 302.04)}.learning-simple .ll-logical-link{color:oklch(77.8% 0.05166 304.65);font-size:32px;line-height:1;transform-origin:left center}.learning-simple .ll-logical-link.ll-changed{color:oklch(76.47% 0.13090 82.79);text-shadow:0 0 16px oklch(83.8% 0.12645 88.14 / 0.3333)}.learning-simple .ll-head-chip{flex:none;text-align:center;color:oklch(60.32% 0.07768 302.47);font:700 10px -apple-system,sans-serif;min-width:58px;white-space:normal}.learning-simple .ll-head-chip b{display:block;font-size:27px;color:oklch(65.01% 0.09571 302.03);line-height:1.25}.learning-simple .ll-head-chip small{color:oklch(76.23% 0.04962 307.10)}.learning-simple .ll-null{flex:none;text-align:center;border:1px dashed oklch(85.98% 0.02849 311.28);border-radius:10px;padding:9px;color:oklch(72.65% 0.04147 308.60);font:700 9px ui-monospace,monospace}.learning-simple .ll-null small{font-size:8px;color:oklch(76.04% 0.02985 313.30)}.learning-simple .ll-logical-node.ll-active,.learning-simple .teaching-scene .ll-logical-node.ll-active{background:oklch(98.18% 0.01270 172.38);border-color:oklch(70.71% 0.11079 176.05);box-shadow:0 6px 0 oklch(90.18% 0.04100 173.19)}.learning-simple .ll-logical-node.ll-active .ll-node-title{background:oklch(95.18% 0.02540 171.96);color:oklch(64.84% 0.08085 175.20)}.learning-simple .ll-logical-node.ll-active .ll-logical-fields strong{color:oklch(59.6% 0.10486 173.01)}.learning-simple .ll-logical-node.ll-new,.learning-simple .ll-logical-node.ll-waiting{border-color:oklch(70.01% 0.12099 303.29);background:oklch(97.88% 0.01259 306.03);box-shadow:0 6px 0 oklch(89.46% 0.04481 307.23)}.learning-simple .ll-logical-node.ll-waiting .ll-node-title{background:oklch(93.36% 0.03251 305.34)}.learning-simple .ll-logical-node.ll-released{background:oklch(98.73% 0.00689 354.79);border-color:oklch(83.08% 0.04133 356.58);box-shadow:0 4px 0 oklch(92.09% 0.01867 356.45)}.learning-simple .ll-card-variables{background:oklch(94.96% 0.02019 169.33);color:oklch(55.8% 0.09659 172.63);font:700 9px/1.3 -apple-system,sans-serif;padding:5px}.learning-simple .ll-staging .ll-logical-node,.learning-simple .ll-release-tray .ll-logical-node{width:105px}.learning-simple .ll-staging .ll-logical-fields strong,.learning-simple .ll-release-tray .ll-logical-fields strong{font-size:25px;padding-top:9px;padding-bottom:8px}.learning-simple .ll-staging,.learning-simple .ll-release-tray{padding:10px 14px}.learning-simple .ll-legend{justify-content:center;font-size:10px;margin-top:8px}.learning-simple .ll-memory-note,.learning-simple .teaching-scene .ll-memory-note{color:oklch(61.76% 0.04660 303.26)}.learning-simple .ll-physical-panel,.learning-simple .teaching-scene .ll-physical-panel{background:oklch(98.53% 0.00818 301.36);border-color:oklch(89.95% 0.03026 307.10)}.learning-simple .ll-physical-panel h3,.learning-simple .teaching-scene .ll-physical-panel h3{color:oklch(53.4% 0.07300 305.41)}.learning-simple .ll-reference-summary,.learning-simple .teaching-scene .ll-reference-summary{background:oklch(94.69% 0.02129 306.84);color:oklch(63.64% 0.06569 306.26)}.learning-simple .ll-reference-summary strong,.learning-simple .teaching-scene .ll-reference-summary strong{color:oklch(53.79% 0.09393 302.87)}.learning-simple .ll-memory-scroll,.learning-simple .teaching-scene .ll-memory-scroll{background:oklch(96.98% 0.01262 306.03);border-color:oklch(88.57% 0.03329 307.14)}.learning-simple .ll-memory-node rect,.learning-simple .teaching-scene .ll-memory-node rect{fill:oklch(100% 0 0);stroke:oklch(73.28% 0.06787 305.98)}.learning-simple .ll-memory-node line,.learning-simple .teaching-scene .ll-memory-node line{stroke:oklch(89.76% 0.03192 308.07)}.learning-simple .ll-memory-node.ll-active rect,.learning-simple .teaching-scene .ll-memory-node.ll-active rect{fill:oklch(96.71% 0.01673 168.51);stroke:oklch(69.14% 0.09486 172.90)}.learning-simple .ll-data,.learning-simple .teaching-scene .ll-data{fill:oklch(50.32% 0.09375 306.72)}.learning-simple .ll-next,.learning-simple .teaching-scene .ll-next{fill:oklch(67.31% 0.07231 305.85)}.learning-simple .ll-address,.learning-simple .ll-next-address,.learning-simple .teaching-scene .ll-address,.learning-simple .teaching-scene .ll-next-address{fill:oklch(65.2% 0.09385 304.96)}.learning-simple .ll-reference-label,.learning-simple .teaching-scene .ll-reference-label{fill:oklch(65.97% 0.08895 174.08)}.learning-simple .ll-working-label,.learning-simple .teaching-scene .ll-working-label{fill:oklch(68.58% 0.09517 86.33)}.learning-simple .ll-edge{stroke:oklch(75.63% 0.06305 306.51)}.learning-simple .ll-edge.ll-changed{stroke:oklch(76.81% 0.11857 84.21)}.learning-simple .ll-reference-edge{stroke:oklch(73.5% 0.08499 172.90)}.learning-simple .ll-variable-strip,.learning-simple .teaching-scene .ll-variable-strip{color:oklch(60.54% 0.08010 78.49)}
.learning-simple.classroom-view .teaching-scene .ll-laboratory{display:flex;max-width:1100px;gap:15px}.learning-simple.classroom-view .teaching-scene .ll-logical-strip{justify-content:center;flex-wrap:nowrap;max-height:none;padding-top:35px;padding-bottom:30px}.learning-simple.classroom-view .teaching-scene .ll-logical-node{width:130px}.learning-simple.classroom-view .teaching-scene .ll-logical-fields strong{font-size:38px}.learning-simple.classroom-view.memory-details .teaching-scene .ll-memory-scroll{max-height:200px}.learning-simple.classroom-view.memory-details .teaching-scene .ll-logical-strip{padding-top:15px;padding-bottom:15px;min-height:150px}.learning-simple.classroom-view.memory-details .teaching-scene .ll-logical-node{width:100px}.learning-simple.classroom-view.memory-details .teaching-scene .ll-logical-fields strong{font-size:26px}
@media(max-width:740px){.ll-staging,.ll-release-tray{display:block}.ll-tray-caption{margin-bottom:4px;font-size:10px}.ll-tray-caption strong{font-size:11px}.learning-simple .ll-logical-strip{gap:9px;min-height:171px}.learning-simple .ll-logical-node,.learning-simple.classroom-view .teaching-scene .ll-logical-node{width:101px}.learning-simple .ll-logical-fields strong,.learning-simple.classroom-view .teaching-scene .ll-logical-fields strong{font-size:29px}.learning-simple .ll-logical-link{font-size:27px}.learning-simple .ll-head-chip{min-width:44px;font-size:9px}.learning-simple .ll-head-chip small{font-size:8px}.learning-simple .ll-length-label{font-size:10px}.learning-simple .ll-legend{font-size:9px;gap:12px}.learning-simple.classroom-view .teaching-scene .ll-logical-strip{justify-content:flex-start}}
.ll-connection-preview{display:flex;align-items:center;justify-content:center;gap:5px;flex-wrap:wrap;padding:8px 5px;background:oklch(94.02% 0.03500 303.81);color:oklch(60.37% 0.12014 305.83);font:10px/1.3 -apple-system,sans-serif;border-top:1px solid oklch(88.14% 0.05043 306.01);transform-origin:center}.ll-connection-preview>span{font-weight:600}.ll-connection-preview strong{font-size:17px;line-height:1;color:oklch(51% 0.12687 305.76)}.ll-connection-preview small{font:9px ui-monospace,monospace;color:oklch(67.6% 0.08173 306.69)}.learning-simple .ll-staging .ll-logical-node{width:133px}.ll-logical-pointer-overlay{position:absolute;left:0;top:0;z-index:14;overflow:visible;pointer-events:none}.ll-logical-pointer{fill:none;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round}.ll-pointer-after{stroke:oklch(60.73% 0.16997 300.45);filter:drop-shadow(0 1px 3px oklch(70.57% 0.12494 305.58 / 0.4))}.ll-pointer-before{stroke:oklch(78.29% 0.05832 343.27);stroke-width:2.5;stroke-dasharray:6 5}.ll-pointer-null{fill:oklch(60.73% 0.16997 300.45);font:700 10px ui-monospace,monospace;paint-order:stroke;stroke:oklch(100% 0 0);stroke-width:3px;stroke-linejoin:round}

body.learning-simple.workbench :is(#scene,#teaching-scene) .ll-logical-node{
 transition:border-color .15s,box-shadow .3s ease,opacity .3s ease;
}
body.learning-simple.workbench :is(#scene,#teaching-scene) .ll-logical-node.active-move:not(.direct-node){
 position:relative;
}
body.learning-simple.workbench :is(#scene,#teaching-scene) .ll-memory-node.inactive-dim{
 opacity:.5;
}

/* Guided chains can scroll without clipping neighboring rows or their highlights. */
body.workbench #teaching-scene .ll-logical-strip {
  max-width: 100%;
  padding-inline: 12px;
  overscroll-behavior-inline: contain;
}
body.workbench #teaching-scene .ll-logical-strip:focus-visible {
  outline: 2px solid oklch(50.84% 0.11636 305.73);
  outline-offset: -2px;
}
body.workbench #teaching-scene [data-ll-multi] .ll-logical-strip {
  min-height: 100px;
  padding-block: 11px 12px;
}
body.workbench #teaching-scene [data-ll-multi] .ll-node-title {
  min-height: 20px;
  padding-block: 3px;
}
body.workbench #teaching-scene [data-ll-multi] .ll-logical-fields strong {
  padding-block: 4px;
  font-size: 20px;
}
body.workbench #teaching-scene [data-ll-multi] .ll-logical-fields > span,
body.workbench #teaching-scene [data-ll-multi] .ll-card-variables {
  padding-block: 3px;
}
body.workbench #teaching-scene .ll-staging-cards { padding-block: 12px; }
@media (max-width: 760px) {
  body.workbench #teaching-scene .ll-logical-strip { padding-inline: 8px; }
  body.workbench #teaching-scene [data-ll-multi] .ll-logical-strip { min-height: 88px; }
}

body.workbench .ll-card-variables {
  display:flex; justify-content:center; flex-wrap:wrap; gap:3px;
}
body.workbench .ll-card-variables [data-pointer-role] {
  padding:0 4px; border-radius:4px; font-weight:700;
  color:var(--pointer-ink,oklch(43.31% 0.07182 310.44)); background:var(--pointer-fill,oklch(93.78% 0.02134 306.83));
}

.ll-chain-piece {
  display:inline-flex;
  flex:none;
  align-items:center;
  gap:8px;
  min-width:0;
}
body.workbench #teaching-scene .ll-logical-strip {
  position:relative;
  align-items:flex-start;
  justify-content:flex-start;
  flex-wrap:wrap;
  min-height:0;
  padding-block:12px 16px;
  row-gap:17px;
}
body.workbench #teaching-scene .ll-logical-fields strong { overflow-wrap:anywhere; }
body.workbench #teaching-scene .ll-turn-link {
  position:relative;
  color:transparent;
}
body.workbench #teaching-scene .ll-turn-link::after {
  position:absolute;
  inset:0;
  content:'↴';
  color:oklch(48.86% 0.10936 305.44);
}
body.workbench #teaching-scene .ll-turn-link.ll-changed::after { color:oklch(55.06% 0.11003 68.53); }
@media (max-width: 760px) {
  body.workbench #teaching-scene .ll-logical-strip { column-gap:6px; row-gap:12px; }
  body.workbench #teaching-scene .ll-chain-piece { gap:5px; }
}

body.workbench #teaching-scene .ll-logical-node.ll-temporary {
 border-style:dashed;
 border-color:oklch(58% .105 73);
 background:oklch(96% .032 81);
}
body.workbench #teaching-scene .ll-temporary .ll-node-title { color:oklch(37% .075 69);background:oklch(91% .048 82); }
:root[data-theme="dark"] body.workbench #teaching-scene .ll-logical-node.ll-temporary {
 border-color:var(--aura-amber);
 background:oklch(27% .047 76);
}
:root[data-theme="dark"] body.workbench #teaching-scene .ll-temporary .ll-node-title {
 color:var(--aura-amber);
 background:oklch(31% .047 76);
}
@media(max-width:760px){
 body.workbench[data-structure="list"] #teaching-scene .ll-logical-strip {
  overflow-x:clip;
  overflow-y:visible;
  justify-content:flex-start;
 }
 body.workbench #teaching-scene .ll-stage-heading { flex-wrap:wrap;row-gap:3px; }
}
body.workbench #teaching-scene .ll-dummy-caption {
 display:block;font:750 11px/1.2 ui-monospace,monospace;color:oklch(42% .077 72);
}
:root[data-theme="dark"] body.workbench #teaching-scene .ll-dummy-caption { color:var(--aura-amber); }
