.microscope { width: min(940px, 100%); }
.microscope__body { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(190px, 0.65fr); align-items: center; gap: 18px; padding: 16px; }
#microscopeCanvas { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; border: 1px solid #303846; border-radius: 12px; background: #070a10; }
.microscope__info { display: grid; gap: 12px; align-content: center; color: var(--text); }
.microscope__info strong { color: #e8c15a; font-size: 15px; }
.microscope__info p { margin: 0; color: var(--dim); line-height: 1.6; }
.microscope__legend { display: flex; align-items: center; gap: 8px; color: #c9d1dc; font-size: 12px; }
.microscope__legend i { width: 9px; height: 9px; border-radius: 50%; background: #a76ce0; box-shadow: 0 0 10px #a76ce0; }
.microscope__info small { color: var(--dim); line-height: 1.5; }
.eng-equipment { width: min(620px, 100%); }
.eng-equipment__body { display: grid; grid-template-columns: minmax(150px, 220px) minmax(0, 1fr); align-items: center; gap: 18px; padding: 18px; color: var(--text); line-height: 1.6; }
.eng-equipment__preview, .microscope__device { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; border: 1px solid #303846; border-radius: 10px; background: #080d13; image-rendering: pixelated; }
.eng-equipment__copy { display: grid; gap: 12px; }
.eng-equipment__copy p { margin: 0; }
.eng-equipment__copy #engEquipmentFeedback { min-height: 1.6em; color: #a9d8b2; }
.microscope__device { max-width: 180px; }
.anatomy { width: min(1120px, 100%); }
.anatomy .panel__head > div { min-width: 0; }
.anatomy .panel__head p { margin: 6px 0 0; max-width: 70ch; color: var(--dim); line-height: 1.45; }
.anatomy__body { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr); gap: 16px; padding: 16px; min-height: 0; }
#anatomyCanvas { display: block; width: 100%; height: auto; align-self: start; aspect-ratio: 8 / 5; border: 1px solid #303846; border-radius: 12px; background: #e6dfd0; }
.anatomy__legend { display: flex; flex-direction: column; min-height: 0; color: var(--text); }
.anatomy__legend h3 { margin: 0 0 8px; color: #e8c15a; font-size: 14px; }
.anatomy__legend ol { display: grid; gap: 6px; margin: 0; padding: 0 5px 0 26px; overflow-y: auto; max-height: min(54vh, 500px); }
.anatomy__legend li { padding: 5px 7px; color: var(--dim); line-height: 1.4; border-radius: 6px; }
.anatomy__legend li::marker { color: #75b8c2; font-weight: 700; }
.anatomy__legend li strong, .anatomy__legend li span { display: block; }
.anatomy__legend li strong { margin-bottom: 2px; color: #e6e9ec; font-size: 12px; }
.anatomy__legend li span { font-size: 11px; }
.anatomy__legend li[role="button"] { cursor: pointer; }
.anatomy__legend li.is-highlighted { background: rgba(215, 108, 66, 0.18); outline: 1px solid rgba(215, 108, 66, 0.55); }
.anatomy__legend small { display: block; padding-top: 10px; color: var(--dim); line-height: 1.4; }
@media (max-width: 700px) {
  .microscope__body { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 12px; }
  .microscope__info { gap: 8px; }
  .eng-equipment__body { grid-template-columns: minmax(0, 1fr); padding: 14px; }
  .eng-equipment__preview { max-width: 240px; justify-self: center; }
  .anatomy__body { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 12px; }
  .anatomy__legend ol { max-height: 28vh; }
}
