/* Additive presentation only; no Canvas/SVG dimensions or teaching coordinates changed. */
body.bio-explain-v2.scope-full-lock{overflow:hidden}
body.bio-explain-v2 .scope-head{position:relative;z-index:10;isolation:isolate;pointer-events:auto;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}
body.bio-explain-v2 .scope-head-tools{position:relative;z-index:11;pointer-events:auto;flex-shrink:0;display:flex;gap:6px}
body.bio-explain-v2 .scope-head-tools .primary{position:relative;touch-action:manipulation;min-height:44px;cursor:pointer}
body.bio-explain-v2 .scope-full .scope-head{align-items:center;background:var(--bg-base,#11261f)}
body.bio-explain-v2 .scope-full :is(.scope-view,.scope-sidebar){position:relative;z-index:0}
body.bio-explain-v2 .bio-figure-notes h4{font-size:24px;line-height:1.4;margin:0 0 6px;color:var(--yellow,#fde047)}
body.bio-explain-v2 .bio-figure-notes .bio-observe-note{font-size:22px;line-height:1.6;color:var(--white,#f2ecd9)}
body.bio-explain-v2 .bio-figure-notes .bio-display-note{font-size:16px;line-height:1.5;color:var(--muted,#b4c9bf);margin-top:8px}
body.bio-explain-v2 #partStatus,body.bio-explain-v2 #needStatus{background:transparent;border:0;border-radius:0;padding:0;margin:6px 0;min-height:0;font-size:22px;line-height:1.6}
/* Number, title and explanation share the same line rather than two tall rows. */
body.bio-explain-v2 #scopeTracking .bio-tracking-steps{grid-template-columns:1fr;gap:6px;margin:12px 0}
body.bio-explain-v2 #scopeTracking .bio-tracking-steps li{padding:8px 12px;font-size:22px;line-height:1.5;border-radius:8px}
body.bio-explain-v2 #scopeTracking .bio-tracking-steps li::before{content:counter(steps) '. ';display:inline;font:700 22px 'JetBrains Mono',monospace;margin-right:4px}
/* The source photograph is cropped in a viewport; a small whole-image map stays visible. */
body.bio-explain-v2 #scopeTypesWorkbench .bio-part-viewport{position:relative;width:min(100%,850px);aspect-ratio:4/3;overflow:hidden;border-radius:10px;background:#1c3d34;flex:0 0 auto}
body.bio-explain-v2 #scopeTypesWorkbench .bio-part-viewport .scope-instrument{position:absolute;inset:0 auto auto 0;display:block;width:100%;height:auto;max-width:none;max-height:none;margin:0;border-radius:0;transform-origin:0 0;transition:transform .3s ease;pointer-events:none;user-select:none}
body.bio-explain-v2 #scopeTypesWorkbench .bio-part-viewport.bio-part-whole{aspect-ratio:455/600;width:min(100%,455px)}
.bio-part-overview{display:flex;align-items:center;gap:10px;flex:0 0 auto;margin:10px 0 6px}
.bio-part-mini{position:relative;width:106px;aspect-ratio:455/600;overflow:hidden;border-radius:6px;flex:0 0 106px}
.bio-part-mini img{display:block;width:100%;height:auto}
.bio-part-crop-marker{position:absolute;border:3px solid #fde047;box-shadow:0 0 0 1px #11261f;pointer-events:none}
.bio-part-overview figcaption{font-size:16px;line-height:1.4;color:var(--muted,#b4c9bf)}
body.bio-explain-v2 .bio-part-reset{font-size:17px;padding:6px 10px;min-height:44px}
body.bio-explain-v2 #scopeTypesWorkbench.scope-full .bio-part-viewport{width:min(100%,calc(var(--bio-visual-h,380px) * 4 / 3));max-height:var(--bio-visual-h,380px)}
body.bio-explain-v2 #scopeTypesWorkbench.scope-full .bio-part-viewport.bio-part-whole{width:min(100%,calc(var(--bio-visual-h,380px) * 455 / 600))}
body.bio-explain-v2 #scopeTypesWorkbench.scope-full .bio-figure-notes{max-height:min(30dvh,230px)}
body.bio-explain-v2 .bio-needs-workbench{display:grid;gap:10px;padding:12px;min-width:0}
body.bio-explain-v2 .bio-needs-workbench .scope-head h3{font-size:19px;line-height:1.4;margin:0;flex:1}
body.bio-explain-v2 .bio-needs-workbench .bio-needs-toolbar{margin:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
body.bio-explain-v2 .bio-needs-toolbar button{font-size:17px;min-height:44px;line-height:1.4;padding:6px 8px;white-space:normal}
.bio-needs-view{min-width:0;min-height:0;display:flex;align-items:center;justify-content:center}
body.bio-explain-v2 .bio-needs-view .habitat-image{width:100%;height:auto;aspect-ratio:1672/940;object-fit:contain;margin:0}
body.bio-explain-v2 .bio-needs-workbench.scope-full{position:fixed;inset:0;z-index:15000;width:100%;height:100vh;height:100dvh;max-width:none;margin:0;border:0;border-radius:0;background:var(--bg-base,#11261f);overflow:hidden;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr) auto;gap:8px}
body.bio-explain-v2 .bio-needs-workbench.scope-full .scope-head{grid-row:1;grid-column:1;padding-right:var(--bio-lang-clearance,180px)}
body.bio-explain-v2 .bio-needs-workbench.scope-full .bio-needs-toolbar{grid-row:2;grid-column:1}
body.bio-explain-v2 .bio-needs-workbench.scope-full .bio-needs-view{grid-row:3;grid-column:1;overflow:hidden}
body.bio-explain-v2 .bio-needs-workbench.scope-full .habitat-image{width:min(100%,calc(var(--bio-needs-h,360px) * var(--ar)));max-height:var(--bio-needs-h,360px);height:auto}
body.bio-explain-v2 .bio-needs-workbench.scope-full .bio-needs-caption{grid-row:4;grid-column:1;max-height:32dvh;overflow:auto;overscroll-behavior:contain}
body.bio-explain-v2 .floating-lang-container{z-index:19000}
@media(max-width:480px){body.bio-explain-v2 .bio-needs-workbench .bio-needs-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}body.bio-explain-v2 .scope-full .scope-head{padding-right:0;padding-top:62px}}
@media(prefers-reduced-motion:reduce){body.bio-explain-v2 #scopeTypesWorkbench .bio-part-viewport .scope-instrument{transition:none}}
