.room-map { display: none; }

.app-page[data-band="9-12"] .exam { width: min(1240px, calc(100% - 28px)); padding: 20px 0; }
.app-page[data-band="9-12"] .exam > nav { border-color: #315b7d; background: #081d35; box-shadow: 0 10px 30px #0004; }
.app-page[data-band="9-12"] .exam > nav span { color: #9fb5c9; }
.app-page[data-band="9-12"] .exam > nav .active { color: #06182c; background: #7de7e2; }
.app-page[data-band="9-12"] .exam > nav .done { color: #d5fbf8; background: #17616a; }
.app-page[data-band="9-12"] .exam-grid { grid-template-columns: 1.3fr .7fr; gap: 18px; }
.app-page[data-band="9-12"] .exam-grid aside { position: relative; min-height: 540px; border: 2px solid #4a88aa; background: #07182d; box-shadow: 0 22px 60px #0007; }
.app-page[data-band="9-12"] .exam-grid aside picture { display: block; width: 100%; height: 100%; }
.app-page[data-band="9-12"] .exam-grid aside img { object-position: center; }
.app-page[data-band="9-12"] .room-map { position: absolute; inset: 0; display: block; pointer-events: none; }
.app-page[data-band="9-12"] .room-map[hidden] { display: none; }
.app-page[data-band="9-12"] .room-map span { position: absolute; transform: translate(-50%,-100%); padding: 6px 10px; border: 1px solid #77e8e3; border-radius: 999px; color: #fff; background: #071a32dc; box-shadow: 0 5px 18px #0008; font-size: .76rem; font-weight: 900; white-space: nowrap; backdrop-filter: blur(6px); }
.app-page[data-band="9-12"] .room-map .library { top: 49%; left: 25%; }
.app-page[data-band="9-12"] .room-map .science { top: 49%; left: 75%; }
.app-page[data-band="9-12"] .room-map .control { top: 94%; left: 25%; }
.app-page[data-band="9-12"] .room-map .garden { top: 94%; left: 75%; }
.app-page[data-band="9-12"] .exam-grid article { min-height: 540px; padding: 30px; border: 1px solid #315b7d; color: #f5f9fd; background: linear-gradient(160deg,#102d4b,#071a32); box-shadow: 0 22px 60px #0007; }
.app-page[data-band="9-12"] .question-head { color: #a8bfd2; }
.app-page[data-band="9-12"] .question-head b { color: #8df3ec; background: #164258; }
.app-page[data-band="9-12"] .exam article > .eyebrow { color: #7de7e2; }
.app-page[data-band="9-12"] .exam article h1 { color: #fff; font-size: clamp(1.7rem,3vw,2.35rem); }
.app-page[data-band="9-12"] .exam article > p { color: #c5d5e3; }
.app-page[data-band="9-12"] .listen { color: #06243a; border: 0; background: #7de7e2; box-shadow: 0 5px 0 #17858b; }
.app-page[data-band="9-12"] .choice,
.app-page[data-band="9-12"] .record { min-height: 62px; border: 1px solid #416786; color: #eef7ff; background: #123554; font-weight: 800; }
.app-page[data-band="9-12"] .choice:hover { border-color: #7de7e2; background: #174563; }
.app-page[data-band="9-12"] .choice.selected { border-color: #7de7e2; color: #06243a; background: #bdf5f1; }
.app-page[data-band="9-12"] .response textarea { min-height: 150px; color: #f7fbff; border-color: #416786; background: #0d2945; }
.app-page[data-band="9-12"] .exam article footer { color: #a8bfd2; }

@media (max-width: 780px) {
  .app-page[data-band="9-12"] .exam { width: min(100% - 18px, 680px); padding: 10px 0 18px; }
  .app-page[data-band="9-12"] .exam > nav { margin-bottom: 10px; }
  .app-page[data-band="9-12"] .exam > nav span { min-width: 92px; font-size: .82rem; }
  .app-page[data-band="9-12"] .exam-grid { grid-template-columns: 1fr; gap: 10px; }
  .app-page[data-band="9-12"] .exam-grid aside { min-height: 0; height: auto; max-height: none; aspect-ratio: 16/9; border-radius: 18px; }
  .app-page[data-band="9-12"] .room-map span { padding: 4px 7px; font-size: clamp(.56rem,2.2vw,.72rem); }
  .app-page[data-band="9-12"] .exam-grid article { min-height: 0; padding: 20px 18px; border-radius: 18px; }
  .app-page[data-band="9-12"] .exam article > .eyebrow { margin-top: 14px; }
  .app-page[data-band="9-12"] .exam article h1 { font-size: 1.55rem; }
  .app-page[data-band="9-12"] .response textarea { min-height: 105px; }
  .app-page[data-band="9-12"] .exam article footer { margin-top: 18px; padding-top: 0; }
}
