/* Restore existing artwork; change only HTML type and spacing.
   Teacher correction: images stay; oversized page text becomes more compact. */
@import url('ui_atomics_1008_v1.css');
body.bio-atomics {font-size:20px;line-height:1.65}
body.bio-atomics[data-biology-unit="intro"] {--bio-hero-image:url('life_habitat_v1.jpg');--bio-hero-gradient:linear-gradient(105deg,rgba(11,26,21,.94),rgba(11,26,21,.62))}
body.bio-atomics[data-biology-unit="microscope"] {--bio-hero-image:url('../covers/biology_microscope_cover_v1.jpg');--bio-hero-gradient:linear-gradient(105deg,rgba(11,26,21,.94),rgba(11,26,21,.62))}
body.bio-atomics[data-biology-unit="cells"] {--bio-hero-image:url('../covers/biology_cells_cover_v1.jpg');--bio-hero-gradient:linear-gradient(105deg,rgba(11,26,21,.94),rgba(11,26,21,.62))}
body.bio-atomics[data-biology-unit="matter_transport"] {--bio-hero-image:url('../covers/biology_matter_transport_cover_v1.png');--bio-hero-gradient:linear-gradient(105deg,rgba(11,26,21,.94),rgba(11,26,21,.52))}
body.bio-atomics[data-biology-unit="organization"] {--bio-hero-image:url('../covers/biology_organization_cover_v1.png');--bio-hero-gradient:linear-gradient(105deg,rgba(11,26,21,.94),rgba(11,26,21,.55))}
body.bio-atomics[data-biology-unit="scale"] {--bio-hero-image:url('../covers/biology_scale_cover_v1.png');--bio-hero-gradient:linear-gradient(105deg,rgba(11,26,21,.95),rgba(11,26,21,.56))}
body.bio-atomics[data-biology-unit="nutrients"] {--bio-hero-image:url('../covers/biology_nutrients_cover_v1.png');--bio-hero-gradient:linear-gradient(105deg,rgba(11,26,21,.96),rgba(11,26,21,.7))}
body.bio-atomics[data-biology-unit="enzymes"] {--bio-hero-image:url('../covers/biology_enzymes_cover_v1.png');--bio-hero-gradient:linear-gradient(105deg,rgba(11,26,21,.96),rgba(11,26,21,.65))}
body.bio-atomics[data-biology-unit="photosynthesis"] {--bio-hero-image:url('../covers/biology_photosynthesis_cover_v1.png');--bio-hero-gradient:linear-gradient(105deg,rgba(11,26,21,.94),rgba(11,26,21,.62))}
body.bio-atomics[data-biology-unit="animal_nutrition"] {--bio-hero-image:url('../covers/biology_animal_nutrition_cover_v1.png');--bio-hero-gradient:linear-gradient(100deg,rgba(11,26,21,.94),rgba(11,26,21,.66))}
body.bio-atomics[data-biology-unit] .hero {
  background:var(--bio-hero-gradient),var(--bio-hero-image) center/cover no-repeat;
  border:2px solid var(--rule);border-radius:22px;box-shadow:none;
  padding:28px 26px;margin:20px 0;text-align:left;overflow:hidden;
}
body.bio-atomics h1 {font-size:36px;line-height:1.35;letter-spacing:.5px}
body.bio-atomics .hero .eyebrow {font-size:20px;line-height:1.5}
body.bio-atomics .hero p:not(.eyebrow) {font-size:20px;line-height:1.65;max-width:760px}
body.bio-atomics :is(h2,.lesson h2,.board h2) {font-size:28px;line-height:1.4}
body.bio-atomics :is(h3,.board h3,.an-note h3,.life-card h3,.scope-type h3,.lab-controls h3,.org-controls h3,.an-controls h3) {font-size:24px;line-height:1.4}
body.bio-atomics .lesson {padding:22px}
body.bio-atomics .lesson :is(p,li,label,figcaption,summary) {font-size:20px;line-height:1.65}
body.bio-atomics :is(.lead,.ps-intro,.ps-timeline li,.ps-condition,.scope-readouts span,.readout,.unit-value,.unit-table,.cell-gallery figcaption,.cell-image-state,.scope-control label,.scope-selector>label) {font-size:20px;line-height:1.65}
body.bio-atomics .tabs {margin:20px 0;gap:10px}
body.bio-atomics .tab-btn {min-height:112px;padding:14px 10px}
body.bio-atomics .tab-main {font-size:20px;line-height:1.4}
body.bio-atomics .tab-sub {font-size:16px;line-height:1.35}
body.bio-atomics .hook-box {padding:16px 18px;margin-bottom:20px;gap:16px}
body.bio-atomics .hook-title {font-size:24px}
body.bio-atomics .hook-text {font-size:20px;line-height:1.65}
body.bio-atomics :is(.action-btn,.choice,.preset,.answer-btn,.need-btn,.full-btn,.ps-controls button) {font-size:20px;min-height:48px;padding:8px 14px}
body.bio-atomics :is(select,input:not([type=range])) {font-size:20px;min-height:48px}
body.bio-atomics :is(.control label,.lab-controls label,.scope-control label,.an-controls label,.ps-control label) {font-size:20px}
body.bio-atomics :is(.lab-caption,.org-caption,.an-caption,.lab-status,.ps-status,.status,.scope-status,.an-closure,.concept) {font-size:20px;line-height:1.65}
body.bio-atomics :is(.fact strong,.cell-gallery strong,.cell-photo-credit h4) {font-size:22px}
body.bio-atomics :is(.an-credit,.photo-credit,.cell-photo-credit .rights,.cell-gallery .rights,.model-note,.small-note,.closing,.scale-note,.ps-sources) {font-size:18px;line-height:1.6}
body.bio-atomics :is(.expanded,.is-expanded) :is(.action-btn,.choice,.preset) {font-size:20px;min-height:48px;padding:8px 12px}
body.bio-atomics :is(.expanded,.is-expanded) :is(.lab-controls h3,.org-controls h3,.an-controls h3) {font-size:24px}
body.bio-atomics footer {font-size:20px}
/* Preview list: artwork above the caption, never replaced by text-only cards. */
body.bio-atomics .preview-card {padding:0;overflow:hidden}
body.bio-atomics .preview-card .preview-art {display:block;background:var(--bg-base);border-bottom:1px solid var(--rule)}
body.bio-atomics .preview-card .preview-art img {display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain}
body.bio-atomics .preview-card .preview-copy {padding:20px}
body.bio-atomics .preview-card h2 {font-size:26px}
body.bio-atomics .preview-card p {font-size:20px}
body.bio-atomics .preview-gallery-note {font-size:18px;color:var(--muted)}
@media(max-width:900px){body.bio-atomics .tab-btn{min-height:104px}}
@media(max-width:720px){body.bio-atomics h1{font-size:30px}body.bio-atomics[data-biology-unit] .hero{padding:24px 20px}body.bio-atomics .lesson{padding:18px 14px}body.bio-atomics .hero p:not(.eyebrow){font-size:20px}}
@media(max-width:480px){body.bio-atomics .tab-btn{min-height:92px}body.bio-atomics h1{font-size:28px}body.bio-atomics .hook-box{padding:16px 14px}}
