/* Lecture 02 shell retained; these rules own only the new Lecture 03 teaching figures. */
.l3-stage{padding:30px 56px 44px;display:grid;grid-template-rows:auto minmax(0,1fr);gap:20px;background:#fff;overflow:hidden}
.l3-stage .slide-head{height:auto;padding:0 0 18px;border-bottom:1px solid #DFE4EA;margin:0}
.l3-stage .slide-head h1{font-size:42px;line-height:1.28;color:var(--blue);letter-spacing:-.025em;font-weight:600;text-wrap:balance}
.l3-stage .slide-head>p{font-size:25px;line-height:1.5;margin:12px 0 0;color:var(--muted);max-width:100%}
.l3-stage .scene-area{display:grid;grid-template-rows:minmax(0,1fr) auto;width:100%;height:100%;gap:18px;min-height:0}
.diagram-frame{min-height:0;min-width:0;display:flex;align-items:center;justify-content:center;overflow:visible}
.diagram-frame>svg{display:block;width:100%;height:auto;max-height:100%;overflow:visible;font-family:var(--font);font-weight:400}
.l3-stage .teaching-conclusion{min-height:70px;padding-top:16px;border-top:1px solid #DFE4EA}
.l3-stage .teaching-conclusion p{font-size:28px;line-height:1.5;font-weight:600;color:var(--blue);margin:0}
.l3-shell .lecture-dock{grid-template-columns:1fr auto 1fr;height:52px}
.l3-shell .lecture-dock button{min-height:40px}.l3-shell .dock-tools{gap:16px}
.l3-stage .mobile-figure-open,.diagram-scroll-hint{display:none}
.current-note{padding:16px;background:#FFF5D8}
.dialog-body .sources{display:flex;flex-wrap:wrap;gap:12px 24px}
.dialog-body li[aria-current]{font-weight:600;color:var(--blue)}
.directory-search{display:grid;grid-template-columns:max-content minmax(260px,1fr);align-items:center;gap:14px;margin:22px 0;font-weight:650;color:var(--blue)}
.directory-search input{font:inherit;padding:11px 14px;border:1px solid var(--line);border-radius:8px;color:var(--ink);background:#fff;min-width:0}
.directory-search input:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
.directory-count{font-variant-numeric:tabular-nums;color:var(--muted)}
.directory-results section[hidden],.directory-item[hidden]{display:none!important}
.l3-stage:focus{outline:0}
@media(max-width:1100px) and (min-width:701px){.l3-shell .dock-tools{gap:8px}.l3-shell .lecture-dock{grid-template-columns:auto 1fr auto}.l3-shell .dock-tools button[data-action=fullscreen]{display:none}}
@media(max-width:700px){
.l3-shell{grid-template-rows:minmax(0,1fr) 58px}.l3-shell .lecture-viewport{overflow:auto}.l3-stage{position:relative;display:block;padding:24px 20px 32px;overflow:visible}
.l3-stage .slide-head{padding-bottom:20px;margin-bottom:22px}.l3-stage .slide-head h1{font-size:29px;line-height:1.4;text-wrap:wrap}.l3-stage .slide-head>p{font-size:18px;line-height:1.65}
.diagram-scroll-hint{display:block;margin:0;font-size:15px;line-height:1.5;color:var(--muted)}
.l3-stage .scene-area{display:flex;flex-direction:column;gap:20px;height:auto}.diagram-frame{display:block;overflow-x:auto;overflow-y:hidden;max-width:100%;padding-bottom:12px}.diagram-frame>svg{width:1100px;max-width:none;height:440px;max-height:none}
.l3-stage .teaching-conclusion{min-height:0;padding-top:18px}.l3-stage .teaching-conclusion p{font-size:20px;line-height:1.7}.l3-stage .mobile-figure-open{display:inline-block;font-size:16px;margin-top:22px;padding:9px 12px;border:1px solid var(--line);border-radius:5px}
.l3-shell .lecture-dock{display:flex;height:58px;gap:2px;padding:4px 6px}.l3-shell .dock-tools{gap:2px}.l3-shell .dock-tools button{font-size:13px;padding:6px;min-height:44px}.l3-shell .dock-tools .questionnaire-link,.l3-shell .dock-tools button[data-action=fullscreen],.l3-shell .page-position,.l3-shell .cue-position{display:none}.l3-shell .dock-navigation{gap:2px}.l3-shell .dock-navigation .primary{min-width:76px;font-size:14px}.l3-shell .dock-location button{min-width:36px}.l3-shell .dock-location button span{display:none}
.directory-search{grid-template-columns:1fr;gap:8px}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
