:root{color-scheme:dark;font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue","PingFang SC",sans-serif;color:#edf3f5;background:#101416;font-synthesis:none;--ease:cubic-bezier(.22,1,.36,1)}*{box-sizing:border-box}body{margin:0}button{font:inherit;cursor:pointer;border:0}button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:2px solid #91d5ed;outline-offset:5px}button:disabled{cursor:wait;opacity:.55}.lab{padding:30px clamp(20px,4vw,64px) 28px;overflow:hidden;background:radial-gradient(ellipse at 70% 50%,#243a452b,transparent 70%)}.lab-header{display:flex;align-items:center;gap:26px;border-bottom:1px solid #ffffff18;padding-bottom:25px;font-size:13px;color:#b1bec5}.logo{width:92px;height:48px;object-fit:contain;filter:brightness(0) invert(1);opacity:.86}.lab-header>span{display:flex;align-items:center;gap:15px}.lab-header i{font-size:10px;border:1px solid #ffffff22;border-radius:30px;padding:5px 8px;font-style:normal}.quiet{background:transparent;color:#b9c6cc;padding:10px 12px;font-size:12px}.lab-header>.quiet{margin-left:auto}.lessons{display:flex;gap:7px;margin:25px 0 28px;overflow:auto;padding:4px 0}.lessons button{flex-shrink:0;background:transparent;color:#88969f;padding:10px 16px;border-radius:24px;transition:color .2s,background .2s;font-size:12px}.lessons button[aria-pressed=true]{background:#d6e9f014;color:#eaf7ff}.lessons button small{font-size:10px;margin-right:8px;opacity:.5}.intro{display:flex;align-items:flex-end;justify-content:space-between;gap:30px}.eyebrow{font-size:9px;letter-spacing:.18em;color:#839eaf}h1{font-weight:400;font-size:clamp(25px,3.2vw,42px);letter-spacing:-.03em;margin:12px 0 0;line-height:1.3}h1 em{font-style:normal;color:#afd6e6}.intro p{font-size:12px;color:#91a2ad;line-height:1.8}.canvas{position:relative;height:470px;max-width:1100px;margin:16px auto 10px}.connections{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}.wire,.pulse{fill:none;stroke:#b9dce52a;stroke-width:1.25;stroke-linecap:round}.pulse{stroke:#a3daed;opacity:0;stroke-dasharray:.14 .86;stroke-dashoffset:1}.canvas[data-state=running] .pulse{opacity:.7;animation:connect 1.1s ease-in-out both}.canvas[data-state=running] #pulse-b{animation-delay:.16s}.canvas[data-state=complete] .wire{stroke:#acd4e969;transition:stroke .5s}.node{position:absolute;width:27%;margin:0;background:linear-gradient(140deg,#23313dc7,#121a23ed);border:1px solid #c0d8ec2a;border-radius:13px;box-shadow:0 10px 30px #0003;overflow:visible;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);transition:box-shadow .25s,border-color .25s,opacity .3s;z-index:2}.node header{height:37px;padding:0 13px;display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#7b95a7;touch-action:none;user-select:none}.node b{font-weight:500;color:#d6e2e8;margin-left:8px;font-size:11px}.handle{font-size:18px;font-style:normal;color:#748996}.input-node header{cursor:grab}.node.is-dragging{z-index:5;border-color:#afd6e69c;box-shadow:0 20px 44px #0008}.is-dragging header{cursor:grabbing}.node>img{width:100%;height:157px;object-fit:contain;display:block;background:#eef1f0;border-radius:0 0 12px 12px}.port{position:absolute;width:8px;height:8px;border-radius:50%;border:1px solid #d3e6ecaa;background:#607b89;right:-4px;top:50%;box-shadow:0 0 0 5px #afcfe914}.result-node{width:37%;top:23%;left:59%}.result-node>.port{left:-4px;right:auto}.result-node header{height:40px}.result-status{font-size:9px;color:#88a2b2}.result-image{position:relative;height:260px;border-radius:0 0 12px 12px;overflow:hidden;background:#131c2277}.result-image>img{display:block;width:100%;height:100%;object-fit:contain;background:#edf1ee;opacity:0;filter:blur(12px);transform:scale(1.015);transition:opacity .52s var(--ease),filter .6s var(--ease),transform .6s var(--ease)}.result-placeholder{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:18px;color:#899faa;font-size:11px;transition:opacity .3s}.result-orbit{width:50px;height:50px;border:1px solid #a3d9ec40;border-radius:50%;box-shadow:0 0 0 12px #a3d9ec08,0 0 0 24px #a3d9ec04}.canvas[data-state=running] .result-orbit{animation:breathe 1s ease-in-out infinite}.canvas[data-state=complete] .result-image>img{opacity:1;filter:blur(0);transform:none}.canvas[data-state=complete] .result-placeholder{opacity:0}.lab-footer{display:flex;align-items:center;gap:22px;border-top:1px solid #ffffff14;padding-top:22px}.lab-footer>div{display:flex;gap:10px;flex-shrink:0}.primary{padding:13px 21px;border-radius:25px;background:#dfedf3;color:#13212c;font-size:12px;box-shadow:0 3px 15px #0002;transition:transform .25s var(--ease),background .2s}.primary:hover{background:#fff;transform:translateY(-2px)}.primary>span{font-size:9px;margin-right:7px}.lab-footer p{font-size:11px;color:#7d919f;line-height:1.7;flex:1}.prompt-link{font-size:12px;background:transparent;color:#bbd6e2;padding:10px 0;white-space:nowrap}.prompt-link span{margin-left:16px}dialog{color:#edf3f5;background:linear-gradient(145deg,#17272ff5,#111a1ff5);border:1px solid #bad6e338;border-radius:22px;width:min(420px,calc(100vw - 32px));padding:40px 38px 30px;text-align:center;box-shadow:0 30px 100px #000a;backdrop-filter:blur(28px)}dialog::backdrop{background:#02090cbb;backdrop-filter:blur(14px)}.dialog-close{position:absolute;right:15px;top:12px;background:transparent;color:#abc3d0;font-size:24px;width:32px;height:32px}h2{font-weight:400;font-size:38px;line-height:1.2;margin:19px 0;letter-spacing:-.04em}dialog p{font-size:13px;line-height:1.8;color:#99b0bc}.qr{background:white;padding:14px;border-radius:14px;margin:24px auto 17px;width:210px}.qr img{display:block;width:100%;height:auto}dialog small{font-size:10px;color:#8da8b6}@keyframes connect{to{stroke-dashoffset:-.12}}@keyframes breathe{50%{transform:scale(1.13);opacity:.5}}
@media(max-width:600px){.lab{padding:20px 16px}.lab-header{gap:14px;padding-bottom:20px}.logo{width:68px;height:36px}.lab-header>span{font-size:11px;flex-direction:column;align-items:flex-start;gap:6px}.lab-header i{font-size:8px;padding:3px 6px}.lab-header .quiet{font-size:10px;padding:8px 0}.lessons{gap:0;margin:20px 0}.lessons button{font-size:10px;padding:10px 11px}.lessons button small{font-size:8px;margin-right:5px}.intro{display:block}.intro p{font-size:11px;margin-top:14px}.canvas{height:505px;margin-top:22px}.node{width:43%}.node header{font-size:8px;padding-inline:9px}.node b{font-size:9px;margin-left:5px}.node>img{height:140px}.input-node>.port{top:auto;bottom:-4px;left:50%;right:auto}.result-node{width:68%;left:16%;top:53%}.result-node>.port{top:-4px;left:50%}.result-image{height:183px}.lab-footer{display:grid;grid-template-columns:1fr auto;gap:10px;padding-top:18px}.lab-footer>div{gap:3px}.lab-footer p{grid-row:2;grid-column:1/-1;margin:2px 0}.primary{padding:12px 15px}.prompt-link{font-size:10px}.prompt-link span{margin-left:6px}.quiet{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}.result-image>img{filter:none;transform:none}}
/* The original lesson sequence remains the main interaction. */
[hidden]{display:none!important}.lab{position:relative;isolation:isolate;background:#101719}.lab>*:not(.lab-echo){position:relative;z-index:1}.lab-echo{position:absolute;inset:80px -8% 0;width:116%;height:calc(100% - 80px);z-index:0;pointer-events:none;opacity:.26;overflow:visible}.lab-echo>g:first-of-type{stroke-width:45}.lab-echo .echo-contours{stroke-width:1.2;opacity:.4}.learning-steps{display:flex;gap:12px;align-items:center;margin:8px 0 38px}.learning-steps button{display:flex;gap:10px;align-items:center;padding:10px 14px;border-radius:25px;background:transparent;color:#8097a4;font-size:12px}.learning-steps button span{font-size:10px;display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#b5d6e610}.learning-steps button[aria-current=step]{background:#bcdce91c;color:#f2fbff}.learning-steps button[aria-current=step] span{background:#8ebcd1;color:#102736}.learning-steps button:disabled{cursor:default;opacity:.35}.learning-steps i{font-style:normal;color:#678292;font-size:12px}.intro{gap:35px}.intro h1{max-width:22em;font-size:clamp(26px,3.15vw,44px);text-wrap:balance}.intro>p{white-space:nowrap;font-size:11px}.asset-stage{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.9fr);gap:clamp(30px,7vw,95px);align-items:center;padding:35px 3% 45px;max-width:1180px;margin:auto}.single-asset{margin:0;min-width:0}.asset-image{display:block;width:100%;padding:0;background:transparent;border:0;cursor:zoom-in}.single-asset .asset-image{height:360px}.asset-image img{display:block;width:100%;height:100%;object-fit:contain}.single-asset figcaption{font-size:12px;color:#91acb9;margin-top:16px;text-align:center}.single-asset img{border-radius:12px}.question-panel>p:first-of-type{font-size:clamp(15px,1.6vw,20px);line-height:1.85;color:#c2d4dd;margin:18px 0 34px}.question-panel h2{font-size:clamp(21px,2.4vw,30px);line-height:1.6;margin:0 0 14px;font-weight:500;text-wrap:balance}.clue{font-size:12px;line-height:1.85;color:#8ba6b5}.try-note{font-size:11px;color:#8099a7;margin-top:28px}.method-intro{margin:26px auto 22px;max-width:1100px}.method-intro>span{font-size:12px;color:#c1d8e4;display:block}.method-intro i{font-style:normal;color:#648ca2;margin:0 13px}.method-intro p{font-size:12px;line-height:1.9;color:#8eaab9;max-width:78ch;margin:12px 0 0}.canvas{height:590px;margin-top:18px}.input-node{width:29%}.input-node>.asset-image{height:198px;background:#ecf0ef;border-radius:0 0 12px 12px;overflow:hidden}.node-caption{position:absolute;top:100%;left:0;right:0;font-size:10px;color:#8eabbc;line-height:1.6;margin:8px 0 0}.node header small{font-size:10px;color:#85b9d3}.result-node{width:51%;left:46%;top:45px}.result-node>.port{top:118px}.result-image{height:360px}.generator-inputs{padding:15px 18px;border-bottom:1px solid #b0d2e21e}.prompt-content{max-width:1100px;margin:16px auto 30px;padding:0 0 18px}.connected-heading{display:flex;justify-content:space-between;font-size:10px;color:#8faabb;margin-bottom:11px}.connected-inputs{display:grid;grid-template-columns:1fr 1fr;gap:9px}.connected-image{display:flex;align-items:center;gap:9px;border:1px solid #b0d2e21e;border-radius:8px;background:#9cc5de08;color:#aacbde;min-height:60px;padding:8px 10px;text-align:left;font-size:10px;line-height:1.6}.connected-image img{height:40px;width:35px;object-fit:contain;background:#e9efee;border-radius:3px}.connected-image[aria-pressed=true]{border-color:#8ecdea;background:#7bbbdf22}.prompt-heading{display:flex;align-items:center;justify-content:space-between;margin:20px 0 9px;color:#99c7e0;font-size:11px}.prompt-heading .quiet{padding:10px 12px;font-size:12px;min-height:44px}.simple-prompt{font-size:clamp(14px,1.6vw,19px);line-height:1.9;margin:0;background:#0b192159;padding:17px 18px;border-left:2px solid #74b8d5;border-radius:4px 12px 12px 4px;color:#e1ecf1;overflow:visible}.mention{display:inline;border-radius:4px;background:#91c7e31f;color:#aad7ee;padding:2px 4px;margin:0 2px;font:inherit;border-bottom:1px solid #7fb7d899}.mention[aria-pressed=true]{color:#fff;background:#588dab80}.node.is-reference{border-color:#9fdef7;box-shadow:0 0 0 4px #72bfe81a,0 14px 44px #0005}.wire.is-reference{stroke:#a4dff5;stroke-width:2}.prompt-content>#reference-feedback{font-size:10px;color:#799aaa;line-height:1.6;margin:14px 0}.prompt-content>.prompt-link{display:flex;justify-content:space-between;width:100%;border-top:1px solid #c7e4f21b;padding:15px 0 10px;margin-top:8px;font-size:11px}.sample-settings{font-size:10px;color:#7f9dae;margin-top:6px}.sample-settings summary{cursor:pointer;padding:9px 0}.sample-settings p{line-height:1.7;margin:6px 0}.canvas[data-state=running] .result-image{animation:node-reveal .42s var(--ease) both}.canvas[data-state=running] .pulse{opacity:.9}.lab-footer{display:flex;min-height:90px}.lab-footer>.primary{margin-left:auto;white-space:nowrap;flex-shrink:0}.lab-footer p{font-size:10px}.lab-footer .quiet{font-size:11px}.compare-stage{padding:35px 0 40px;max-width:1180px;margin:auto}.comparison-images{display:grid;grid-template-columns:1fr 1fr;gap:26px}.comparison-images figure{margin:0;min-width:0}.comparison-images .asset-image{height:350px;background:#dce7e60b;border-radius:14px;overflow:hidden}.comparison-images figcaption{font-size:11px;color:#a4c0cf;display:flex;align-items:center;justify-content:space-between;min-height:45px}.comparison-images .quiet{font-size:10px;padding:8px 0}.result-questions{border-top:1px solid #b1ccdd22;margin-top:22px;padding-top:23px}.result-questions h2{font-size:23px;margin:0 0 12px}.result-questions>p{font-size:12px;line-height:1.8;color:#a1bac8}.result-questions details{margin-top:22px;font-size:12px;color:#cee0e9}.result-questions summary{cursor:pointer}.result-questions ul{font-size:12px;line-height:2;color:#a8c5d5;padding-left:20px;margin:18px 0}.result-questions #result-note{font-size:11px;color:#839eaf;margin-top:20px;max-width:78ch}#asset-preview{width:min(900px,calc(100vw - 36px));max-height:90dvh;padding:18px;background:#15232beF;text-align:left}#asset-preview header{display:flex;align-items:center;justify-content:space-between;font-size:13px;margin-bottom:12px}#asset-preview-image{display:block;width:100%;height:70dvh;object-fit:contain;border-radius:8px}.lab[data-step="0"] .canvas{display:none}.lab[data-step="2"] .canvas{display:none}@keyframes node-reveal{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}
@media(max-width:800px){.intro{display:block}.intro>p{white-space:normal}.asset-stage{gap:30px;padding-inline:0}.question-panel h2{font-size:22px}.prompt-content{padding:0 0 18px}.simple-prompt{font-size:15px;padding:12px}.connected-image{padding:6px;gap:5px}.connected-image img{width:24px;height:30px}.connected-image span{font-size:9px}}
@media(max-width:600px){.lab{padding:20px 16px 16px}.lab-echo{inset:60px -40% 0;width:180%;height:calc(100% - 60px);opacity:.23}.learning-steps{gap:3px;margin:10px -4px 25px}.learning-steps button{padding:8px 6px;font-size:10px;gap:5px}.learning-steps button span{width:20px;height:20px;font-size:9px}.learning-steps i{font-size:10px}.intro h1{font-size:27px}.asset-stage{display:block;padding:26px 0}.single-asset .asset-image{height:300px}.single-asset figcaption{font-size:11px}.question-panel{padding:28px 2px 0}.question-panel>p:first-of-type{font-size:15px;line-height:1.85;margin:13px 0 24px}.question-panel h2{font-size:21px}.try-note{margin-top:20px;font-size:10px}.method-intro{margin-top:22px}.method-intro>span{font-size:10px}.method-intro i{margin:0 6px}.method-intro p{font-size:11px;line-height:1.9}.input-node{width:43%}.input-node>.asset-image{height:160px}.node header small{font-size:8px}.node-caption{font-size:9px}.result-node{top:310px;left:2%;width:96%}.result-node>.port{top:-4px;left:50%}.prompt-content{padding:0 0 18px}.connected-image{min-height:55px;padding:8px}.connected-image img{height:35px;width:30px}.connected-image span{font-size:10px}.simple-prompt{font-size:16px;line-height:1.9;padding:15px}.result-image{height:330px}.lab-footer{display:grid;grid-template-columns:1fr auto;gap:10px;padding-top:15px;min-height:100px}.lab-footer>div{gap:0;grid-row:1;grid-column:1}.lab-footer>.primary{grid-row:1;grid-column:2;font-size:11px;padding:12px 15px}.lab-footer .quiet{font-size:10px;padding:9px 6px}.lab-footer p{grid-row:2;grid-column:1/-1;font-size:10px}.comparison-images{gap:12px}.comparison-images .asset-image{height:210px}.comparison-images figcaption{display:block;min-height:60px;font-size:10px;padding-top:10px}.comparison-images figcaption button{display:block}.result-questions h2{font-size:20px;line-height:1.6}.result-questions>p{font-size:12px}#asset-preview-image{height:65dvh}}
@media(prefers-reduced-motion:reduce){.lab-echo{opacity:.18}.canvas[data-state=running] .result-image{animation:none}}

/* The prompt stays in the reading flow before and after the generation demo. */
.canvas-guide{max-width:1100px;margin:0 auto;color:#93aeba;font-size:12px;line-height:1.8}
.mobile-orientation{display:none}
.prompt-heading{margin-top:0;font-size:14px}
.prompt-link{min-height:48px;align-items:center}
.simple-prompt{font-size:clamp(16px,1.65vw,20px);line-height:1.95}
.mention{padding:4px 6px;min-height:44px;touch-action:manipulation}
button{touch-action:manipulation}
.node header{touch-action:auto}
.input-node header{touch-action:none;min-height:44px}
.result-image{height:360px}
.lab-footer .primary,.lab-footer .quiet,.lessons button,.learning-steps button,#learn{min-height:44px}
.dialog-close,#close-preview{min-width:44px;min-height:44px}
#progress-dialog{max-height:calc(100dvh - 24px);overflow:auto}
.wechat-copy{display:flex;flex-direction:column;gap:8px;align-items:center;width:100%;margin-top:18px;padding:12px;background:#87bdce14;border:1px solid #93c6d72e;border-radius:12px;color:#e5f3f7;min-height:48px}
.wechat-copy span{user-select:all;font-size:15px}.wechat-copy b{font-size:12px;font-weight:400;color:#abd1e1}
.wechat-copy-status{min-height:1.5em;margin:8px 0 0!important;font-size:11px!important}
@media(max-width:600px){
  .lab{padding-inline:max(16px,env(safe-area-inset-left));padding-bottom:max(20px,env(safe-area-inset-bottom))}
  .mobile-orientation{display:flex;align-items:center;gap:12px;padding:13px 0 16px;margin:0 0 12px;border-bottom:1px solid #b0d2e21a;color:#b6d1de}
  .rotate-phone{display:grid;place-items:center;width:28px;height:40px;border:1.5px solid #7ca9bd;border-radius:6px;font-size:22px;flex-shrink:0}
  .mobile-orientation strong,.mobile-orientation div>span{display:block;font-weight:400;font-size:13px;line-height:1.8}.mobile-orientation div>span{font-size:11px;color:#829eae}
  .lessons{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:18px 0}.lessons button{text-align:left;font-size:12px;padding:10px 12px}.lessons button small{font-size:10px}
  .learning-steps{justify-content:space-between;gap:2px}.learning-steps button{font-size:11px;padding:8px 3px;gap:4px}.learning-steps i{font-size:9px}
  .canvas-guide{font-size:11px}.node header{padding:0 7px}.node header b{font-size:10px}.node header small{font-size:9px}.handle{font-size:16px}
  .generator-inputs{padding:12px}.node-caption{font-size:10px}.result-image{height:300px}
  .prompt-heading{font-size:14px}.simple-prompt{padding:14px;font-size:16px}.prompt-content>.prompt-link{font-size:13px}.sample-settings{font-size:12px}.sample-settings summary{min-height:44px;display:list-item;padding-top:13px}
  .lab-footer{grid-template-columns:1fr;gap:12px}.lab-footer>div{grid-column:1;grid-row:3;justify-content:space-between}.lab-footer>.primary{grid-column:1;grid-row:1;width:100%;min-height:48px;font-size:14px}.lab-footer p{grid-row:2;font-size:11px;text-align:center}.lab-footer .quiet{font-size:12px}
  .comparison-images .asset-image{height:240px}.comparison-images .quiet{min-height:44px}.single-asset .asset-image{height:min(300px,50svh)}
  #progress-dialog{padding:34px 22px 18px}#progress-dialog h2{font-size:32px}.qr{margin:18px auto 14px;width:min(200px,60vw)}
}
@media(max-height:500px) and (min-width:601px){.lab{padding-top:20px}.asset-stage{grid-template-columns:1fr 1fr;padding-top:24px}.single-asset .asset-image{height:270px}.mobile-orientation{display:none}.learning-steps{margin-bottom:22px}}
@media(hover:hover){.primary:active{transform:scale(.98)}}
@media(hover:none){.primary:hover{transform:none}.primary:active{transform:scale(.98)}.lab-echo{opacity:.18}}

/* 0928v9: reuse the source lesson's references / instructions split. */
.lesson-workspace{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,1fr);gap:24px;margin:18px 0 22px;align-items:start}
.creation-stage{min-width:0}.instruction{min-width:0;padding:20px;border:1px solid #b3d5e326;border-radius:18px;background:linear-gradient(145deg,#1c2a31ed,#122027ed)}
.reference-guide{border-bottom:1px solid #b3d5e320;padding-bottom:12px;margin-bottom:12px}.reference-guide summary{font-size:15px;font-weight:500;line-height:1.5;cursor:pointer;min-height:32px}.reference-guide p,.reference-guide li{font-size:12px;line-height:1.7;color:#a5bbc7}.reference-guide p{margin:8px 0}.reference-guide strong{color:#acd7ec}.reference-guide ol{margin:8px 0;padding-left:20px}.reference-guide .reference-check{font-size:11px;color:#8fa8b7}
.lab[data-step="1"] .intro h1{font-size:clamp(25px,2.5vw,34px);margin-top:7px}
.lab[data-step="1"] .method-intro{margin:0 0 10px}.lab[data-step="1"] .method-intro p{margin-top:6px;line-height:1.7;font-size:12px}
.lab[data-step="1"] .canvas{margin:14px 0 0;max-width:none}
.lab[data-step="1"] .input-node{width:47%;transition:opacity .3s,transform .45s var(--ease),border-color .25s}
.lab[data-step="1"] .input-node>.asset-image{height:clamp(170px,23vw,280px)}
.lab[data-step="1"] .node-caption{position:static;margin:0;padding:10px 12px;font-size:11px;line-height:1.6}
.lab[data-step="1"] .input-node>.port{top:auto;bottom:-4px;left:50%;right:auto}
.lab[data-step="1"] .result-node{top:4px;left:0;width:100%;visibility:hidden;opacity:0;pointer-events:none}
.lab[data-step="1"] .result-node>.port{top:50%;left:50%}
.lab[data-step="1"] .generator-inputs{display:none}
.lab[data-step="1"] .result-image{height:clamp(230px,30vw,360px)}
.canvas[data-state="running"] .input-node{opacity:.4;transform:none}
.lab[data-step="1"] .canvas[data-state="running"] .result-node{visibility:visible;animation:course-result-in .3s 1s var(--ease) both}
.lab[data-step="1"] .canvas[data-state="complete"]:not([data-reference]) .result-node{visibility:visible;opacity:1;pointer-events:auto}
.canvas[data-state="complete"]:not([data-reference]) .input-node{visibility:hidden;opacity:0;pointer-events:none}
.lab[data-step="1"] .canvas[data-state="complete"] .connections{opacity:0}
.instruction .prompt-content{margin:0;padding:0}.instruction .prompt-heading{margin:0 0 6px;font-size:13px}.instruction .simple-prompt{font-size:17px;line-height:1.8;padding:15px 14px;background:#87b6d412;border-left:3px solid #88c6e7}.instruction #reference-feedback{font-size:11px;line-height:1.7;margin:10px 0}.instruction .prompt-link{font-size:12px}.instruction .sample-settings{font-size:11px}
.lab[data-step="2"] .compare-stage{padding:0}.lab[data-step="2"] .comparison-images{gap:14px}.lab[data-step="2"] .comparison-images .asset-image{height:clamp(180px,25vw,330px)}
@keyframes course-result-in{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}
@media(max-width:900px) and (min-width:601px){.lesson-workspace{grid-template-columns:minmax(0,1.15fr) minmax(265px,1fr);gap:16px}.instruction{padding:16px}.instruction .simple-prompt{font-size:16px}.lab[data-step="1"] .input-node>.asset-image{height:180px}}
@media(max-width:600px){
 .lesson-workspace{grid-template-columns:minmax(0,1fr);gap:16px;margin-top:12px}.instruction{padding:15px;border-radius:14px}
 .reference-guide summary{font-size:14px;min-height:36px}.reference-guide p,.reference-guide li{font-size:13px}.reference-guide{padding-bottom:6px;margin-bottom:8px}
 .lab[data-step="1"] .intro>p{margin:6px 0}.lab[data-step="1"] .method-intro{margin-bottom:8px}.lab[data-step="1"] .canvas{margin-top:10px}
 .lab[data-step="1"] .input-node>.asset-image{height:104px}.lab[data-step="1"] .node-caption{font-size:10px;line-height:1.5;padding:7px 8px}.lab[data-step="1"] .result-image{height:204px}
 .instruction .simple-prompt{font-size:16px;line-height:1.75;padding:12px}.instruction .prompt-link{font-size:13px}.instruction .sample-settings{font-size:12px}
 .lab[data-step="2"] .comparison-images .asset-image{height:210px}
}
@media(prefers-reduced-motion:reduce){.lab[data-step="1"] .canvas[data-state="running"] .result-node{animation:none;opacity:1}.canvas[data-state="running"] .input-node{transform:none}}

/* Keep the same converging wires and travelling pulse across the source layout. */
.lesson-workspace{position:relative;isolation:isolate}.lesson-workspace>.connections{z-index:1;pointer-events:none}.creation-stage,.instruction{position:relative;z-index:2}
.instruction-port{position:absolute;left:-5px;top:52%;width:9px;height:9px;border:1px solid #c4e5f0;border-radius:50%;background:#698d9e;box-shadow:0 0 0 5px #a4d2e511}
.lesson-workspace[data-state="running"] .pulse{opacity:.9;animation:connect 1.1s ease-in-out both}.lesson-workspace[data-state="running"] #pulse-b{animation-delay:.16s}
.lesson-workspace[data-state="complete"] .wire{stroke:#acd4e969}.lesson-workspace[data-state="running"] .instruction-port{animation:breathe 1s ease-in-out infinite}
@media(max-width:600px){.instruction-port{top:-5px;left:calc(50% - 4px)}}

.lab[data-step="2"] .connections,.lab[data-step="2"] .instruction-port{display:none}
.lesson-workspace:has(.canvas[data-state="complete"]:not([data-reference]))>.connections,.lesson-workspace:has(.canvas[data-state="complete"]:not([data-reference])) .instruction-port{opacity:0}
