/* Зелёная тема 01Биологии поверх общей системы компонентов. */
:root {
  --pine: #062d25; --pine-2: #064e3b; --forest: #047857; --brand: #059669; --brand-2: #10b981;
  --mint-glow: #6ee7b7; --lime: #d9f99d; --bg: #f2f8f4; --mint: #e4f7ed; --mint-2: #b9e8ce;
  --ink: #123b32; --ink-soft: #3f6258; --muted: #687f76; --line: #dcebe2;
  --grad: linear-gradient(135deg, #10b981, #047857);
  --band: radial-gradient(900px 280px at 88% -40%, rgba(110,231,183,.34), transparent 70%), linear-gradient(95deg, #062d25 0%, #065f46 58%, #0f766e 100%);
  --home: radial-gradient(900px 600px at 88% 0%, rgba(52,211,153,.28), transparent 65%), radial-gradient(800px 600px at 0% 100%, rgba(132,204,22,.16), transparent 65%), linear-gradient(150deg, #041f19 0%, #064e3b 58%, #115e59 100%);
  --shadow: 0 1px 2px rgba(6,45,37,.05), 0 8px 24px rgba(6,45,37,.08);
  --shadow-lg: 0 2px 4px rgba(6,45,37,.08), 0 18px 40px rgba(6,45,37,.16);
}
html:has(body.is-home) { background: #041f19; }
body.is-home #ftr { background: rgba(4,31,25,.58); }
#hdr::after { content: 'DNA'; font-size: 128px; letter-spacing: -.08em; bottom: -28px; }
.home-logo img { width: 118px; }
.home-logo .word b { background: linear-gradient(120deg, #a7f3d0, #4ade80); -webkit-background-clip: text; background-clip: text; }
.home-sub { color: #d1fae5; }
.all-topics { background: #059669; box-shadow: 0 10px 30px rgba(52,211,153,.22); }
.all-topics:hover { background: #10b981; }
.tile.senior { background: #047857; }
.tile.senior:hover { background: #059669; }
.tile.junior { background: #3f9f7c; }
.tile.exam.ege, .tile.exam.oge { background: #d97706; }
.tile.exam.ege:hover, .tile.exam.oge:hover { background: #f59e0b; }
.btn.primary { box-shadow: 0 6px 16px rgba(5,150,105,.25); }
.btn.primary:hover { box-shadow: 0 9px 22px rgba(5,150,105,.32); }
.card-label { background: #e7f6d8; color: #3f6212; }
.opt::before { background: #e1f5e9; color: #047857; }
.side-card { background: linear-gradient(165deg, #062d25, #065f46); }
.stat-row div:nth-child(1) { background: linear-gradient(135deg, #10b981, #047857); }
.stat-row div:nth-child(2) { background: linear-gradient(135deg, #065f46, #062d25); }
.stat-row div:nth-child(3) { background: linear-gradient(135deg, #84cc16, #4d7c0f); }
.legend { background: rgba(6,45,37,.82); }
.atlas-dark .graph-stage { background: #041f19; }
body.is-home::before { background: var(--home); }
@media (max-width: 760px) { #hdr::after { font-size: 90px; } .home-logo img { width: 88px; } }

/* Сова в той же зелёной гамме, что плитки #047857; геометрия оригинала сохранена. */
.home-logo img { filter: url(#bio-owl-green); }

/* Оригинальная сова среди биологических символов, без изменений исходного растра. */
.bio-mascot{position:relative;display:inline-flex;align-items:center;justify-content:center;width:150px;min-width:150px;height:194px;margin-right:4px}
.home-logo .bio-mascot img{width:115px;position:relative;z-index:2;margin-top:-18px}
.bio-branch{position:absolute;bottom:0;left:-9px;width:168px;height:84px;z-index:3;pointer-events:none}
.bio-dna-badge{position:absolute;right:-5px;bottom:46px;display:grid;place-items:center;width:47px;height:51px;background:#e8f3df;border:2px solid #a5d0a3;border-radius:14px;color:#32694b;z-index:4;box-shadow:0 4px 12px #001b2430}
.bio-dna-badge svg{width:29px;height:37px}
@media(max-width:760px){.bio-mascot{width:100px;min-width:100px;height:147px}.home-logo .bio-mascot img{width:83px}.bio-branch{width:123px;height:64px;left:-12px}.bio-dna-badge{width:34px;height:39px;right:-7px;bottom:36px;border-radius:10px}.bio-dna-badge svg{width:22px;height:30px}}
/* Учебные дополнения и лаборатория используют общие карточки сайта. */
.bio-deep{padding:26px 28px;border-top:1px solid var(--line)}
.bio-deep>p{line-height:1.85;margin:16px 0;color:var(--ink-soft)}
.bio-deep h3{font-size:24px;line-height:1.3;color:var(--ink)}
.bio-worked{padding:22px;margin-top:24px;border:1px solid #bfdccc;border-left:4px solid #16865b;border-radius:12px;background:#f0f8f3}
.bio-worked h4{font-size:19px;line-height:1.5;margin:14px 0}
.bio-worked li{line-height:1.75;margin:8px 0}
.bio-lab .card>h3{font-size:24px;margin:12px 0 16px}
.bio-lab .card>p{line-height:1.8}
.bio-lab-controls{display:flex;align-items:end;gap:18px;margin:22px 0;flex-wrap:wrap}
.bio-lab-controls label{display:grid;gap:8px;flex:1;min-width:130px;font-size:14px;font-weight:700}
.bio-lab-controls input,.bio-lab-controls select{width:100%;border:1px solid var(--line);border-radius:9px;padding:12px;background:#fff;color:var(--ink);font:inherit}
.bio-lab-controls>span{align-self:center;font-size:24px}
.bio-punnett td,.bio-punnett th{text-align:center;font-size:20px}
.bio-punnett td{background:#e9f5ee;font-weight:700}
.bio-lab caption{text-align:left;padding:10px 0;color:var(--ink-soft);font-size:14px}
.bio-calculation{padding:20px;background:var(--mint);border-radius:12px;font-size:26px;font-weight:700}
.bio-lab-choices{border:0;padding:0;display:grid;gap:12px;margin:20px 0}
.bio-lab-choices label{display:flex;align-items:baseline;gap:10px;padding:14px;background:var(--mint);border-radius:10px;line-height:1.6}
.bio-lab-choices input{flex:none;accent-color:var(--brand)}
.bio-lab details{margin:18px 0;line-height:1.8}.bio-lab summary{cursor:pointer;font-weight:700}
@media(max-width:720px){.bio-deep{padding:20px 16px}.bio-worked{padding:16px}.bio-lab-controls{gap:10px}.bio-lab .card>h3{font-size:21px}}
