.bio-lesson-scene{background:#fff;border:1px solid #cbd5e1;border-radius:1rem;grid-template-columns:minmax(0,1fr) 280px;gap:1rem;padding:.75rem;display:grid}.bio-model{background:#f0fdfa;border-radius:.75rem;justify-content:center;align-items:center;min-width:0;min-height:280px;display:flex;overflow:auto}.bio-model-svg{width:100%;height:auto;max-height:70vh;display:block}.bio-lesson-note{min-height:0;padding:.75rem;overflow:auto}.bio-taxonomy{width:100%;min-width:280px;padding:1rem}.bio-rank{background:#fff;border:1px solid #5eead4;border-radius:.5rem;grid-template-columns:1fr 1fr 1fr;gap:.5rem;margin-bottom:.4rem;padding:.6rem;font-size:.9rem;display:grid}.bio-taxonomy p{margin-top:1rem;font-size:.8rem}.bio-process-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem;width:100%;padding:1rem;display:grid}.bio-hotspot:focus-visible{outline:4px solid #b45309}.af-biology-lesson-stage[data-expanded=true] .bio-lesson-scene{height:var(--af-stage-canvas-height);grid-template-columns:minmax(0,1fr) clamp(200px,28vw,320px);min-height:0;overflow:hidden}.af-biology-lesson-stage[data-expanded=true] .bio-model{height:100%;min-height:0}.af-biology-lesson-stage[data-expanded=true] .bio-model-svg{object-fit:contain;width:100%;height:100%;max-height:100%}.af-biology-lesson-stage[data-expanded=true] .bio-process-grid{grid-template-columns:repeat(3,minmax(0,1fr));max-height:100%;overflow:auto}.af-biology-lesson-stage[data-expanded=true] .bio-taxonomy{max-height:100%;overflow:auto}@media (max-width:700px){.bio-lesson-scene{grid-template-columns:minmax(0,1fr)}.bio-lesson-note{max-height:250px}.bio-rank{font-size:.75rem}.bio-controls{max-width:100%}}@media (max-width:700px) and (orientation:portrait){.af-biology-lesson-stage[data-expanded=true] .bio-lesson-scene{grid-template-rows:minmax(0,1fr) minmax(80px,30%);grid-template-columns:minmax(0,1fr)}.af-biology-lesson-stage[data-expanded=true] .bio-lesson-note{max-height:100%;padding:.3rem}}@media (prefers-reduced-motion:reduce){.bio-page *{scroll-behavior:auto}}.bio-classification{color:#0f172a;align-self:stretch;width:100%;min-width:0;padding:1rem;overflow:auto}.bio-taxonomy-scroll{border:1px solid #99f6e4;border-radius:.6rem;max-width:100%;overflow:auto}.bio-taxonomy-scroll:focus-visible{outline:3px solid #b45309}.bio-taxonomy-table{border-collapse:collapse;table-layout:fixed;background:#fff;width:100%;min-width:460px;font-size:.85rem}.bio-taxonomy-table th,.bio-taxonomy-table td{text-align:left;overflow-wrap:anywhere;vertical-align:top;border-bottom:1px solid #cbd5e1;padding:.6rem}.bio-taxonomy-table th:first-child{width:25%}.bio-taxonomy-table thead{background:#ccfbf1}.bio-taxonomy-table tr[data-shared=true]{background:#f0fdfa}.bio-taxonomy-table tr[data-active=true]{outline-offset:-2px;outline:2px solid #b45309}.bio-organism-notes{grid-template-columns:1fr 1fr;gap:1rem;display:grid}.bio-controls input[type=search]{color:#0f172a;background:#fff;border:1px solid #cbd5e1;border-radius:.5rem;max-width:220px;min-height:44px;padding:.4rem}.bio-organism-count{align-self:center;font-size:.75rem}.af-biology-lesson-stage[data-expanded=true] .bio-classification{height:100%;max-height:100%}@media (max-width:480px){.bio-organism-notes{grid-template-columns:1fr}.bio-classification{padding:.5rem}}.bio-species-images{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1rem;margin-bottom:1rem;display:grid}.bio-reference-image{background:#fff;border:1px solid #cbd5e1;border-radius:.75rem;min-width:0;overflow:hidden}.bio-reference-image img{object-fit:contain;background:#f8fafc;width:100%;height:220px;display:block}.bio-reference-image figcaption{overflow-wrap:anywhere;padding:.65rem;font-size:.85rem}.bio-reference-image details{color:#334155}.bio-cell-reference{align-self:stretch;width:100%;max-height:100%;padding:.75rem;overflow:auto}.bio-cell-reference .bio-reference-image img{object-fit:contain;height:auto;min-height:220px;max-height:60vh}.bio-organelle-guide{flex-wrap:wrap;gap:.5rem;display:flex}.af-biology-lesson-stage[data-expanded=true] .bio-cell-reference .bio-reference-image img{min-height:140px;max-height:55dvh}.af-biology-lesson-stage[data-expanded=true] .bio-species-images img{height:clamp(110px,25dvh,220px)}@media (max-width:480px){.bio-species-images{gap:.5rem}.bio-species-images img{height:150px}.bio-species-images figcaption{padding:.4rem;font-size:.75rem}}.bio-image-error{background:#fef3c7;padding:1rem;display:none}.bio-reference-image[data-image-error=true] .bio-image-error{display:block}
