.dse-model-section{margin-top:24px}.model-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.model-heading h3{font-size:1.45rem;margin:.2em 0}.model-heading .eyebrow{margin-bottom:4px}.model-badge{padding:7px 12px;border:1px solid var(--line);border-radius:5px;background:var(--pale);font-size:.9rem;font-weight:bold;color:var(--navy);white-space:nowrap}.model-presets{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.model-presets button{font-size:.9rem;min-height:44px}.assessment-layout{grid-template-columns:minmax(0,1.6fr) minmax(230px,1fr);align-items:start}.station{aspect-ratio:4/3;isolation:isolate;background:#f4f7fa}.station #station-image{width:100%;height:100%;object-fit:contain}.station canvas{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;outline-offset:-4px!important}.station canvas[hidden],.station #station-image[hidden]{display:none}.station #hotspots{position:absolute;inset:0;pointer-events:none}.station .hotspot{pointer-events:auto;width:40px;min-height:40px;z-index:2}.station .hotspot[hidden]{display:none}.station .model-jigsaw{display:none;position:absolute;right:12px;bottom:12px;width:36px!important;height:36px!important;opacity:.5;pointer-events:none;z-index:2}.station[data-renderer=3d] .model-jigsaw{display:block}.station[data-renderer=2d] .share-camera-panel{display:none}.station:fullscreen{aspect-ratio:auto;width:100vw;height:100vh;max-width:none;border:0;border-radius:0}.model-caption{margin-top:14px}.station .share-camera-panel{z-index:5}.station .share-camera-popup-body{max-height:min(65vh,440px)}@media(max-width:900px){.assessment-layout{grid-template-columns:minmax(0,1fr)}.model-heading{align-items:flex-start}.model-heading h3{font-size:1.25rem}.model-badge{font-size:.8rem}.station .hotspot{width:36px;min-height:36px}.model-presets button{flex:1 1 auto}}@media print{.model-presets,.model-heading,.model-caption,[data-model-status],.station{display:none!important}}

.station [data-hotspot-leaders]{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:1}.station [data-hotspot-leaders] line{stroke:#8b9fb1;stroke-width:1.2}.station .hotspot{width:44px;min-height:44px}
/* The learning controls stay directly beneath the live scene, including fullscreen. */
.model-lab{min-width:0}.model-stage{min-width:0;border:1px solid #b9cddd;border-radius:10px;overflow:hidden;background:#fff;box-shadow:0 14px 35px #09274412}.model-stage .station{border:0;border-radius:0;outline:none}.assessment-layout{grid-template-columns:minmax(0,2.15fr) minmax(230px,1fr);gap:20px}.model-stage [data-model-lab-controls]{padding:18px;background:#f4f7fa;border-top:3px solid #123e68}.model-choices{border:0;padding:0;margin:0;min-width:0}.model-choices legend{font-size:1.1rem;font-weight:800;color:#123e68;padding:0}.model-choices p{font-size:.9rem;line-height:1.5;margin:8px 0 14px}.model-choice-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,185px),1fr));gap:8px}.model-choice{display:flex!important;align-items:flex-start;gap:9px;padding:12px!important;min-height:64px;background:#fff;border:1px solid #bdcddd;border-radius:6px;cursor:pointer;margin:0!important;font-size:.88rem!important;line-height:1.35;transition:background .15s,border-color .15s}.model-choice:hover{border-color:#123e68}.model-choice.is-checked{border-color:#bd152a;background:#fff3f5;box-shadow:inset 3px 0 #ef1b2d}.model-choice input{flex:0 0 20px!important;width:20px!important;height:20px;min-height:20px;margin:1px 0 0!important;accent-color:#b8172a}.model-choice small{display:block;font-weight:400;color:#475c70;font-size:.72rem;margin-top:4px}.model-lab-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.model-lab-actions button{min-height:44px;flex:1 1 150px;font-size:.8rem;padding:10px}.model-lab-actions [data-model-adjusted]{background:#123e68;color:#fff}.model-lab-actions [data-model-adjusted][aria-pressed=true]{background:#092744;border-color:#ef1b2d;box-shadow:inset 0 -3px #ef1b2d}.model-lab-status{font-weight:700;color:#123e68;font-size:.86rem;line-height:1.5;margin:14px 0}.model-explanations{padding:0!important;background:#fff!important;border:1px solid #bdcddd!important;border-radius:6px}.model-explanations summary{padding:13px;min-height:44px;font-size:.9rem}.model-explanations article{margin:0 14px;padding:14px 0;border-top:1px solid #cbd8e5;font-size:.9rem;line-height:1.55}.model-explanations h4{font-size:1rem;color:#123e68;margin:0 0 8px}.model-explanations p{margin:8px 0}.model-scope{color:#4c5f70;font-size:.76rem;line-height:1.5;margin:12px 0 0}.model-still-effects{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:1}.station[data-renderer=3d] .model-still-effects{display:none}.model-lab:fullscreen{box-sizing:border-box;display:block;width:100vw;height:100dvh;overflow:auto;background:#fff;padding:12px;max-width:none}.model-lab:fullscreen .assessment-layout{max-width:1600px;margin:auto;grid-template-columns:minmax(0,3fr) minmax(220px,1fr)}.model-lab:fullscreen .station{aspect-ratio:16/9;max-height:65vh}.model-lab:fullscreen .model-presets{margin:0 auto 12px;max-width:1600px}.model-lab:fullscreen [data-model-status]{max-width:1600px;margin:8px auto}.model-lab:fullscreen .model-choice-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
@media(max-width:1100px){.assessment-layout{grid-template-columns:minmax(0,1fr)}#area-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#area-list button{margin:0;min-width:0}#area-list button span{overflow-wrap:anywhere}.model-lab:fullscreen .assessment-layout{grid-template-columns:1fr}}
@media(max-width:560px){.model-heading{display:block}.model-badge{display:inline-block;margin-top:8px}.model-stage [data-model-lab-controls]{padding:12px}.model-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.model-choice{padding:10px!important;gap:7px;font-size:.8rem!important}.model-lab:fullscreen .model-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#area-list{grid-template-columns:1fr}.model-lab:fullscreen .station{aspect-ratio:4/3;max-height:58vh}.model-lab:fullscreen{padding:8px}}
@media(prefers-reduced-motion:reduce){.model-choice{transition:none}}
@media print{[data-model-lab-controls]{display:none!important}.model-stage{border:0;box-shadow:none}}

.dse-mobile-study { display:none; }
@media screen and (max-width:700px), screen and (max-width:1000px) and (max-height:540px) and (orientation:landscape) {
  .dse-mobile-study { display:block; min-width:0; padding:8px 10px; background:white; color:#102236; border-top:3px solid #123e68; }
  .dse-mobile-study small { font-size:12px; font-weight:700; color:#345267; }
  .dse-mobile-study h3 { margin:2px 0 5px; font-size:17px; line-height:1.2; }
  .dse-mobile-study p { margin:0 0 6px; padding:5px 8px; border-left:3px solid #b36c14; background:#fff6e6; font-size:14px; line-height:1.35; }
  .dse-mobile-study p strong { display:block; color:#694015; }
  .dse-mobile-study nav { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; }
  .dse-mobile-study button { min-width:0; min-height:44px; white-space:normal; padding:6px; font-size:14px; line-height:1.2; }
  .dse-mobile-study [data-study-next] { background:#123e68; color:white; }
  .dse-mobile-study button:disabled { opacity:.5; }
  .model-stage .station { aspect-ratio:auto; height:clamp(160px,34svh,300px); min-height:0; scroll-margin-block-start:5px; }
  .model-stage .station .hotspot[aria-pressed=true] { outline:3px solid #f0ac2a; outline-offset:1px; z-index:3; }
  .model-stage, .assessment-layout > *, .model-lab, .model-stage [data-model-lab-controls] { min-width:0; }
  .model-choice-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media screen and (max-width:1000px) and (max-height:540px) and (orientation:landscape) {
  html body .model-lab .assessment-layout { grid-template-columns:minmax(0,1fr); }
  .model-stage { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); align-items:start; }
  .model-stage > .station { grid-column:1; grid-row:1; height:clamp(160px,73svh,350px); width:100%; }
  .model-stage > .dse-mobile-study { grid-column:2; grid-row:1; border-top-width:0; }
  .model-stage > [data-model-lab-controls] { grid-column:1/-1; }
}

.dse-mobile-study[data-native-controls] nav { display:none; }
@media screen and (max-width:700px), screen and (max-width:1000px) and (max-height:540px) and (orientation:landscape) {
  .model-stage .model-narration:has(.dse-mobile-study) { margin:4px 0; padding:5px; }
  .model-stage .model-narration .dse-mobile-study { padding:6px; margin:0 0 4px; border:0; border-radius:3px; }
  .model-stage .model-narration .dse-mobile-study p { color:#263746; }
  .model-stage .model-narration .dse-mobile-study strong { color:#694015; }
}
@media screen and (max-width:1000px) and (max-height:540px) and (orientation:landscape) {
  .model-stage > .model-narration:has(.dse-mobile-study) { grid-column:2; grid-row:1; margin:0; }
}
