.course-active .unit-tabs,.course-active .sidebar-note,.course-active .sidebar-bottom,.course-active #teacher-button,.course-active #reset-progress,.course-active #notebook-button{display:none}.course-active .sidebar-label{font-size:0}.course-active .sidebar-label:after{content:'GRADE 5 / CURSO';font-size:.75rem}.course-link{color:#175741;text-underline-offset:4px}.course-units{display:grid;gap:22px}.course-unit ol{padding-left:26px}.course-unit li{padding:12px 4px;border-bottom:1px solid #dce5d9}.course-status{display:block;font-size:.8rem;color:#657260;margin-top:4px}.course-status.ready{color:#175741;font-weight:700}.course-nav-unit{margin-top:18px}.course-nav-unit>a{display:block;padding:8px 5px;font-size:.82rem;line-height:1.4}.course-nav-unit>a:first-child{font-weight:800}.course-nav-unit [aria-current]{background:#dfecd3;border-radius:7px}.course-question{margin:20px 0;padding:18px;background:#f4f7ef;border:1px solid #ccd7c5;border-radius:10px}.course-question label{line-height:1.6}.course-vocabulary li{margin:10px 0;line-height:1.65}.course-reading article{padding:20px}.course-reading .reading-prose{max-width:70ch}.course-reading .reading-prose p{line-height:1.8}.course-path{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin:24px 0;padding:16px;background:#e7efdb;border-radius:10px}.course-path b{padding:10px;border:1px solid #bbcab2;background:#fffef8;border-radius:7px}.course-active .course-activity{margin-top:28px}.course-active .course-quiz{border:2px solid #456b54}.course-active #main>[role=status]{margin:22px 0;font-size:.85rem}.course-video a{font-weight:700}.course-active .reading-section summary{line-height:1.5}@media(min-width:1100px){.course-units{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.course-reading article{padding:12px}.course-question{padding:12px}.course-active .sidebar{display:block;max-height:230px;overflow:auto}.course-active .sidebar nav{display:block}.course-path{justify-content:flex-start}.course-active .top-actions{flex-wrap:wrap}.course-active .saved-evidence-visual{max-width:100%}}

.course-active:not(.course-lesson-active) .science-floating-tools,.course-active:not(.course-lesson-active) #read{display:none}

.web-explorer{display:grid;gap:24px;grid-template-columns:minmax(260px,340px) minmax(0,1fr);align-items:start}.web-figure{margin:0;min-width:0}.web-figure svg{display:block;width:100%;height:auto}.web-figure figcaption{font-size:.9rem;line-height:1.6}.web-check-options{display:flex;flex-direction:column;align-items:stretch;gap:10px;margin:16px 0}.web-check-options button{white-space:normal;text-align:left;min-height:44px}.web-setting{display:block;margin:20px 0;line-height:1.6}.web-setting input{width:auto}.web-controls .course-path{overflow-wrap:anywhere}.web-controls button:focus-visible,.web-check-options button:focus-visible{outline:3px solid #175741;outline-offset:3px}@media(max-width:1050px){.web-explorer{grid-template-columns:1fr}.web-figure{width:100%;max-width:340px;margin:auto}}

.stage-buttons{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.stage-buttons button{min-height:44px;white-space:normal}.stage-buttons [aria-pressed=true]{background:#24573a;color:#fff}.stage-buttons button:focus-visible{outline:3px solid #b35416;outline-offset:3px}.stage-explorer{display:grid;grid-template-columns:minmax(220px,320px) minmax(0,1fr);gap:22px;align-items:start}.stage-explorer figure{margin:0;min-width:0}.stage-explorer svg{display:block;width:100%;height:auto}.stage-explorer figcaption{line-height:1.6;font-size:.9rem}@media(max-width:1050px){.stage-explorer{grid-template-columns:1fr}.stage-explorer figure{max-width:320px;margin:auto}}

.relationship-pair{display:grid;grid-template-columns:1fr 1fr;gap:1rem;padding:1rem;background:#fffef8;border:1px solid #b9cdbd;border-radius:12px}.relationship-pair section{padding:.75rem;border:1px solid #c4d5c7;border-radius:10px;background:#edf4e5}.relationship-symbol{display:block;width:120px;height:90px;max-width:100%}.relationship-pair h4{margin:.5rem 0}.competition-controls{display:flex;gap:1rem;flex-wrap:wrap}.competition-controls label{flex:1;min-width:190px}.competition-controls select{display:block;width:100%;margin:.5rem 0 1rem}.competition-round{padding:1rem;background:#fffef8;border:1px solid #b9cdbd;border-radius:12px;margin:1rem 0}.competition-flock{display:grid;grid-template-columns:6rem 1fr;gap:.4rem;align-items:center;margin:1rem 0}.competition-flock>span:last-child{grid-column:2}.model-bird{display:inline-block;font-size:2rem;padding-right:.25rem;color:#546353}.model-bird.has-food{color:#087158}/* Automatic SVG margins shift the notebook renderer; keep the diagram at its measured origin. */
#course-decomposer-diagram{display:block;width:100%;height:auto;max-width:340px;margin:0}@media(max-width:550px){.relationship-pair{grid-template-columns:1fr}.competition-flock{grid-template-columns:1fr}.competition-flock>span:last-child{grid-column:1}}
#main[data-course-current-lesson="ecosystems-04"] .saved-evidence-visual table{table-layout:fixed}#main[data-course-current-lesson="ecosystems-04"] .saved-evidence-visual th,#main[data-course-current-lesson="ecosystems-04"] .saved-evidence-visual td,#main[data-course-current-lesson="ecosystems-04"] .saved-evidence-visual caption{white-space:normal;overflow-wrap:anywhere}

.change-explorer{display:grid;grid-template-columns:minmax(240px,380px) minmax(0,1fr);gap:22px;align-items:start}.change-explorer figure{margin:0;min-width:0}.change-explorer svg{display:block;width:100%;height:auto;margin:0}.change-explorer figcaption{font-size:.9rem;line-height:1.6}.change-explorer li,.assessment-connections li{margin:12px 0;line-height:1.6;overflow-wrap:anywhere}#course-change-scenario,#course-restoration-patch{display:block;width:100%;max-width:100%;margin:12px 0 20px}#main:is([data-course-current-lesson="ecosystems-05"],[data-course-current-lesson="ecosystems-test"]) .saved-evidence-visual table{table-layout:fixed}#main:is([data-course-current-lesson="ecosystems-05"],[data-course-current-lesson="ecosystems-test"]) .saved-evidence-visual :is(th,td,caption){white-space:normal;overflow-wrap:anywhere}@media(max-width:1050px){.change-explorer{grid-template-columns:1fr}.change-explorer figure{max-width:380px}}

/* Widths in the SVG share one scale; layout gaps never encode distance. */
.solar-size-figure{margin:1rem 0;max-width:540px}.solar-size-figure svg{display:block;width:100%;height:auto;margin:0}.solar-size-figure figcaption{line-height:1.55;margin-top:.6rem}.solar-body-clues{display:grid;gap:.75rem}.solar-body-clues div{padding:.7rem;border-left:4px solid #526c94;background:#f3f5f0}.solar-body-clues dt{font-weight:700}.solar-body-clues dd{margin:.25rem 0 0;line-height:1.55}#main[data-course-current-lesson="space-01"] .table-scroll table{min-width:0;width:100%;table-layout:fixed}#main[data-course-current-lesson="space-01"] .table-scroll th,#main[data-course-current-lesson="space-01"] .table-scroll td{overflow-wrap:anywhere}

.orbit-figure{margin:1rem 0;max-width:520px}.orbit-figure svg{display:block;width:100%;height:auto;margin:0}.orbit-figure figcaption,.course-record-text{line-height:1.6}.course-record-text{white-space:pre-line;overflow-wrap:anywhere}.mission-tools{margin:1rem 0;border:1px solid #bac9bc;padding:1rem;min-width:0}.mission-tools label{display:flex;align-items:flex-start;gap:.65rem;min-height:44px;padding:.5rem 0}.mission-tools input{width:1.2rem;height:1.2rem;flex:0 0 auto;margin:.2rem 0}.course-record h4{margin-top:0}

.star-figure{margin:1rem 0;max-width:520px}.star-figure svg{display:block;width:100%;height:auto;margin:0}.star-figure figcaption{line-height:1.6;margin-top:.75rem}

/* Two fixed local projections share the daily model, not screen coordinates. */
.rotation-figure{margin:1rem 0;max-width:480px;min-width:0}.rotation-figure svg{display:block;width:100%;height:auto;margin:0}.rotation-figure figcaption{line-height:1.6;margin-top:.75rem}.shadow-views{display:grid;grid-template-columns:1fr 1fr;gap:20px}.shadow-views .rotation-figure{max-width:420px}#main[data-course-current-lesson="space-04"] select{display:block;max-width:100%;margin:12px 0 20px}#main[data-course-current-lesson="space-04"] .table-scroll table{table-layout:fixed;min-width:0;width:100%}#main[data-course-current-lesson="space-04"] .table-scroll :is(th,td,caption){white-space:normal;overflow-wrap:anywhere}@media(max-width:1100px){.shadow-views{grid-template-columns:1fr}}
