paimm-anatomy{display:block;margin:18px 0;contain:content}.species-anatomy{border:1px solid var(--line,#a5c2b6);border-radius:18px;overflow:hidden;background:var(--paper,#fffdf5);color:var(--ink,#18382f)}.anatomy-plate{margin:0}.anatomy-zoom{display:block;width:100%;padding:0;border:0;border-radius:0;background:#faf8f1;cursor:zoom-in}.anatomy-zoom img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}.anatomy-plate figcaption{padding:10px 16px;font-size:14px;line-height:1.6}.anatomy-whole{padding:14px 18px 0;font-size:17px;line-height:1.9}.anatomy-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:9px;padding:12px 18px}.anatomy-toolbar button,.anatomy-path button{font:inherit;min-height:44px}.anatomy-status{font-size:15px}.anatomy-path{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:0 18px}.anatomy-path button{min-width:0;padding:12px 8px;background:var(--panel,#edf4e9);border:2px solid transparent;border-radius:12px;color:inherit;text-align:left}.anatomy-path button[aria-pressed=true]{border-color:var(--accent,#237558);background:var(--panel,#f9fff7);box-shadow:0 0 0 2px #8ddac933}.anatomy-path svg{width:100%;height:92px;color:var(--accent,#237558);display:block}.anatomy-number{font-size:20px;font-weight:800}.anatomy-path strong{display:block;font-size:16px;line-height:1.6}.anatomy-signal{position:relative;margin:14px 24px;height:7px;border-radius:20px;background:#9dc2b2;--signal-position:0%}.anatomy-signal i{display:block;position:absolute;left:clamp(0%,var(--signal-position),100%);top:50%;width:17px;height:17px;border-radius:50%;transform:translate(-50%,-50%);background:#e78a3b;box-shadow:0 0 12px #ffbd6a}.anatomy-stage-explanation,.anatomy-detail{padding:12px 18px}.anatomy-stage-explanation h4{font-size:18px;margin:0 0 8px}.anatomy-stage-explanation p,.anatomy-detail p{font-size:16px;line-height:1.9}.anatomy-detail summary{cursor:pointer;font-size:16px;min-height:44px}.anatomy-viewer{max-width:min(96vw,1500px);max-height:95vh;padding:25px;border:1px solid #83aa99;border-radius:18px;background:#fffef8;color:#173b2b}.anatomy-viewer img{max-width:100%;height:auto}.anatomy-close{position:sticky;top:0;float:right;font-size:28px;min-width:48px;min-height:48px;background:#fffef8;color:#18382f}.anatomy-picker{max-width:100%;min-height:44px;font:inherit;margin:10px 0}.anatomy-viewer::backdrop{background:#061f27d9}@media(max-width:700px){.anatomy-path{grid-template-columns:repeat(2,minmax(0,1fr));padding:0 12px}.anatomy-path svg{height:76px}.anatomy-path strong{font-size:16px}.anatomy-whole{padding:12px;font-size:16px}.anatomy-toolbar{padding:8px 12px}.anatomy-stage-explanation,.anatomy-detail{padding:10px 12px}}@media(prefers-reduced-motion:reduce){.species-anatomy *{transition:none!important;animation:none!important}}

.species-anatomy{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,1fr);align-items:start}
.anatomy-plate{grid-column:1;grid-row:1/7;position:sticky;top:10px}
.anatomy-whole,.anatomy-toolbar,.anatomy-path,.anatomy-signal,.anatomy-stage-explanation{grid-column:2}
.anatomy-path{grid-template-columns:repeat(2,minmax(0,1fr))}.anatomy-detail{grid-column:1/-1}.anatomy-zoom img{max-height:470px}
.adaptive-anatomy{margin:18px 0;overflow:hidden;border-radius:16px;background:var(--panel);border:1px solid var(--line)}
.adaptive-anatomy svg{display:block;width:100%;height:auto}.adaptive-anatomy figcaption{padding:14px;font-size:16px;line-height:1.8}
.adaptive-observation{display:flex;gap:14px;align-items:center;padding:12px}.adaptive-observation img{width:120px;height:105px;object-fit:cover;border-radius:10px}
.adaptive-observation p{font-size:16px;line-height:1.8;flex:1;margin:0}
paimm-anatomy[data-playing=true] .anatomy-path button[aria-pressed=true] svg{animation:anatomy-vibrate .48s ease-in-out infinite alternate;filter:drop-shadow(0 0 5px #f9b968)}
@keyframes anatomy-vibrate{from{transform:translateX(-2px) scale(.97)}to{transform:translateX(2px) scale(1.04)}}
@media(max-width:900px){.species-anatomy{display:block}.anatomy-plate{position:static}.anatomy-zoom img{max-height:340px}.anatomy-path{grid-template-columns:repeat(4,minmax(0,1fr))}.anatomy-path svg{height:75px}}
@media(max-width:600px){.anatomy-zoom img{max-height:260px}.anatomy-path{grid-template-columns:repeat(2,minmax(0,1fr))}.adaptive-observation img{width:85px;height:95px}}
@media(prefers-reduced-motion:reduce){paimm-anatomy[data-playing=true] .anatomy-path button[aria-pressed=true] svg{animation:none}}
.senses-app #answer-feedback,.senses-eyes #answer-feedback{scroll-margin-top:90px}
.senses-app button.primary:hover{background:var(--accent);color:var(--paper);filter:brightness(.94)}
.senses-app .answer-grid button.correct:disabled,.senses-app .answer-grid button.wrong:disabled{opacity:1}
paimm-anatomy{container-type:inline-size}
@container(max-width:800px){.species-anatomy{display:block}.anatomy-plate{position:static}.anatomy-zoom img{max-height:340px}.anatomy-path{grid-template-columns:repeat(2,minmax(0,1fr))}}
paimm-anatomy{scroll-margin-top:90px}
body.senses-app[data-theme=dark] #paimm-language-select,html[data-theme=dark] body.senses-eyes #paimm-language-select{background:#fffef9;color:#193c43}
