@layer structure {
/* One idea and one board at a time, using Quiet Move's existing type and palette. */
.lesson-flow-heading{display:flex;justify-content:space-between;align-items:center;gap:32px;margin-bottom:6px}
.lesson-flow-heading>div{max-width:900px;min-width:0}
.lesson-flow-heading h1{font:400 clamp(30px,3.2vw,44px)/1.12 var(--book);letter-spacing:-.035em;margin:10px 0 12px}
.lesson-flow-heading>div>p:last-child{font-size:14px;line-height:1.6;max-width:780px;color:#666}
.lesson-flow-meta{font-size:11px;color:#777}
.content-step-lesson{gap:22px}
.lesson-flow-heading .section-mark{flex:0 0 120px;width:120px;max-width:120px;height:110px;margin:0;overflow:hidden;align-self:center}
.lesson-flow-heading .section-mark.compact .mark-stage{height:110px;width:120px;overflow:hidden}
.lesson-flow-heading .section-mark.compact .mark-scene{transform:scale(.28);transform-origin:top left;width:306px;left:14px}
.lesson-flow-heading figcaption{display:none}
.lesson-flow-content{display:flex;flex-direction:column;gap:26px;width:100%;min-width:0}
.lesson-flow{border-top:1px solid #111;scroll-margin-top:24px}
.lesson-flow [hidden]{display:none!important}
.lesson-flow-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-bottom:1px solid #ccc;margin-bottom:28px}
.lesson-flow-steps>button{display:flex;align-items:center;gap:12px;text-align:left;font:500 13px/1.4 var(--body);color:#777;background:none;border:0;border-bottom:3px solid transparent;padding:17px 16px;cursor:pointer;min-width:0}
.lesson-flow-steps>button>span:nth-child(2){min-width:0;flex:1}
.lesson-flow-steps>button[aria-selected=true]{color:#111;border-bottom-color:#111}
.lesson-flow-steps>button.complete .flow-step-count{background:#111;color:#fff}
.lesson-flow-steps>button>small{font-size:11px;white-space:nowrap}
.flow-step-count{display:grid;place-items:center;width:24px;height:24px;border:1px solid #ccc;flex-shrink:0;font-size:11px}
.lesson-flow-theory.content-theory-section{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:48px;row-gap:10px;padding:0;margin-bottom:24px}
.lesson-flow-theory h2{font:600 24px/1.3 var(--bold);align-self:start;margin:0;max-width:470px}
.lesson-flow-theory>p{font:400 16px/1.7 var(--body);margin:0;max-width:570px;color:#333}
.lesson-flow-explanation{grid-column:2;font-size:12px;color:#666}
.lesson-flow-explanation>summary{cursor:pointer;text-decoration:underline;text-underline-offset:4px;width:fit-content;list-style:none}
.lesson-flow-explanation>summary::after{content:' +';text-decoration:none}
.lesson-flow-explanation[open]>summary::after{content:' −'}
.lesson-flow-explanation>p{font-size:14px;line-height:1.75;max-width:65ch;margin:14px 0 0}
.lesson-flow-modes{display:flex;gap:24px;border-bottom:1px solid #ddd;padding-left:0;margin-bottom:24px}
.lesson-flow-modes>button{font:500 13px/1.5 var(--body);padding:10px 0;background:none;border:0;border-bottom:2px solid transparent;color:#777;cursor:pointer}
.lesson-flow-modes>button[aria-pressed=true]{color:#111;border-bottom-color:#111}
.lesson-flow-modes span{font-size:10px;padding-left:6px}
.lesson-flow-example{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:start}
.lesson-demo-position{min-width:0}
.lesson-demo-position .board-shell{width:100%;max-width:420px;margin:0 0 0 20px}
.lesson-demo-position .square.target:after{inset:4px;width:auto;height:auto;border:1px dashed #333;border-radius:0;background:transparent;opacity:.65}
.lesson-demo-copy{display:flex;flex-direction:column;gap:14px;min-width:0;padding-top:2px}
.lesson-demo-copy>.lesson-flow-theory{display:flex;flex-direction:column;gap:12px;margin-bottom:8px}
.lesson-demo-copy>.lesson-flow-theory>p{font-size:16px;line-height:1.7;color:#222;max-width:52ch}
.lesson-flow-reminder{margin-bottom:20px;font-size:12px;color:#777}
.lesson-flow-reminder>summary{cursor:pointer;width:fit-content}
.lesson-flow-reminder>p{max-width:60ch;font-size:14px;line-height:1.7;margin-top:12px}
.lesson-demo-copy>p:not(.lesson-flow-label):not(.lesson-demo-status){font-size:15px;line-height:1.7;max-width:55ch;color:#444}
.lesson-flow-label{font-size:12px;color:#777}
.lesson-demo-actions{display:flex;gap:10px;flex-wrap:wrap;margin:3px 0}
.lesson-demo-actions .btn{min-width:0;min-height:42px;font-size:12px;padding:10px 16px}
.lesson-demo-status{font-size:12px;line-height:1.6;min-height:20px;color:#777;max-width:55ch}
.lesson-demo-explanation{font-size:12px;color:#666;max-width:60ch}
.lesson-demo-explanation>summary{cursor:pointer;text-decoration:underline;text-underline-offset:3px;width:fit-content}
.lesson-demo-explanation>p{font-size:13px;line-height:1.75;margin-top:12px}
.lesson-demo-explanation>a{display:inline-block;margin-top:12px;text-decoration:underline;text-underline-offset:3px}
.lesson-quick-preview{margin-top:8px;padding:22px 0 0;border-top:1px solid #ccc;display:flex;flex-direction:column;align-items:flex-start;gap:14px}
.lesson-quick-preview h3{font:600 20px/1.35 var(--bold);margin:0}
.lesson-quick-preview p{font-size:15px;line-height:1.6;max-width:52ch}
.lesson-quick-preview .btn{font-size:13px;min-width:190px;min-height:44px}
.lesson-flow-footer{display:flex;justify-content:space-between;align-items:center;gap:24px;border-top:1px solid #ddd;padding-top:22px;margin-top:30px}
.lesson-flow-footer>p{font-size:12px;color:#777;max-width:420px}
.lesson-flow-footer>.btn{font-size:12px;min-width:0;max-width:50%;min-height:42px;padding:12px 18px}
.lesson-flow-practice .content-exercise-heading>div>.note{display:none}
.lesson-flow-practice .content-exercise-heading{padding-top:0;border:0}
.lesson-flow-practice .content-exercise-heading>div>p{font-size:12px;color:#666}
.lesson-flow-practice .content-exercise-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px}
.lesson-flow-practice .content-position .board-shell{max-width:420px}
.lesson-flow-practice .content-position-notes>h3{font-size:22px;line-height:1.35}
.lesson-flow-practice .content-position-notes>.note{display:none}
.lesson-flow-practice .content-exercise-footer{padding-top:16px}
.lesson-flow-practice .content-exercise-tools .btn{font-size:12px}
.lesson-flow-summary,.lesson-topic-nav{border-top:1px solid #ccc;padding-top:18px}
.lesson-flow-summary>summary,.lesson-topic-nav>summary{cursor:pointer;font-size:14px;font-weight:500}
.lesson-flow-summary>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;padding:24px 0 0}
.lesson-flow-summary h2{font-size:17px;margin-bottom:14px}
.lesson-flow-summary p,.lesson-flow-summary ul{font-size:13px;line-height:1.7}
.lesson-flow-summary .text-link{margin-top:14px;display:inline-block;font-size:12px}
.content-step-lesson .content-lesson-complete{padding-top:24px;gap:14px}
.content-step-lesson .content-lesson-complete h2{font-size:25px}
.content-step-lesson .content-lesson-complete>p{font-size:13px;max-width:680px}
.lesson-topic-nav>div{padding-top:20px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 32px}
.lesson-topic-nav .step-link{min-height:0;padding:14px 0;font-size:13px}
.lesson-flow button:focus-visible{outline:2px solid #111;outline-offset:5px}
.lesson-flow-theory>h2:focus{outline:none}
@media(hover:hover) and (pointer:fine){.lesson-flow-steps>button:hover,.lesson-flow-modes>button:hover{color:#111;background:#fafafa}.lesson-flow button.btn{transition:background-color 150ms ease,color 150ms ease,transform 150ms cubic-bezier(.23,1,.32,1)}.lesson-flow button.btn:active{transform:scale(.98)}}
@media(max-width:850px){.lesson-flow-example,.lesson-flow-practice .content-exercise-layout{gap:32px}.lesson-flow-theory.content-theory-section{gap:12px 32px}.lesson-demo-position .board-shell{max-width:calc(100% - 20px)}.lesson-flow-heading .section-mark{display:none}.lesson-flow-steps>button{padding:14px 8px;gap:8px;font-size:12px}.lesson-flow-summary>div{grid-template-columns:1fr;gap:24px}}
@media(max-width:650px){.content-step-lesson{gap:22px}.lesson-flow-heading h1{font-size:30px}.lesson-flow-heading>div>p:last-child{font-size:13px}.lesson-flow-steps{margin-bottom:22px}.lesson-flow-steps>button{align-items:flex-start;flex-wrap:wrap;gap:6px;padding:13px 8px}.lesson-flow-steps>button>span:nth-child(2){flex:1 1 calc(100% - 34px);font-size:12px}.lesson-flow-steps>button>small{padding-left:32px;flex-basis:100%;font-size:10px}.flow-step-count{width:23px;height:23px}.lesson-flow-theory.content-theory-section{display:flex;gap:12px;margin-bottom:18px}.lesson-flow-theory h2{font-size:22px}.lesson-flow-theory>p{font-size:15px;line-height:1.7}.lesson-flow-explanation{font-size:12px}.lesson-flow-example{grid-template-columns:1fr;gap:28px}.lesson-demo-position .board-shell{max-width:calc(100% - 20px);margin-left:20px}.lesson-demo-copy{gap:12px}.lesson-demo-copy>p:not(.lesson-flow-label):not(.lesson-demo-status){font-size:14px}.lesson-quick-preview{padding-top:18px;margin-top:0}.lesson-flow-practice .content-exercise-layout{grid-template-columns:1fr;gap:24px}.lesson-flow-practice .content-position .board-shell{max-width:calc(100% - 20px)}.lesson-flow-practice .content-position-notes>h3{font-size:20px}.lesson-flow-footer{align-items:flex-start;gap:20px;flex-direction:column}.lesson-flow-footer>.btn{max-width:100%;width:100%}.lesson-topic-nav>div{grid-template-columns:1fr}.content-step-lesson .content-lesson-complete .button-row{align-items:stretch}.content-step-lesson .content-lesson-complete .btn{min-width:0;width:100%}}
@media(prefers-reduced-motion:reduce){.lesson-flow button.btn{transition:none!important}}
@media(max-width:650px){.lesson-flow-example{display:flex;flex-direction:column;gap:20px}.lesson-demo-copy{display:contents}.lesson-demo-copy>.lesson-flow-theory{order:-1;width:100%;margin:0}.lesson-demo-position,.lesson-quick-preview{width:100%}.lesson-demo-copy>.lesson-flow-label{margin-top:4px}.lesson-demo-copy>.lesson-flow-theory>p{font-size:15px}.lesson-demo-status{min-height:0}}
@media(max-width:650px){.content-step-lesson{padding-top:24px;gap:18px}.content-step-lesson .breadcrumb>span:last-child,.content-step-lesson .breadcrumb>span:nth-last-child(2){display:none}.lesson-flow-heading>div>p:last-child{display:none}.lesson-flow-heading h1{margin-bottom:0}.lesson-flow-steps{margin-bottom:14px}.lesson-flow-modes{margin-bottom:18px}.lesson-demo-copy>.lesson-flow-theory>p{line-height:1.6}}

}
