/* Study and examination layers stay within the established instrument atlas. */
.exam-dock{pointer-events:auto}
.patient-view-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.exam-magnifier{display:flex;align-items:center;gap:2px;padding:3px;background:#fffffff0;border:1px solid var(--line);border-radius:9px}.exam-magnifier button{border:0;min-width:34px;min-height:37px;padding:3px;font-size:18px;background:transparent}.exam-magnifier output{min-width:28px;text-align:center;font-size:11px;font-variant-numeric:tabular-nums}
.exam-feedback{padding:13px;margin-bottom:20px;border:1px solid var(--line);border-inline-start:3px solid var(--teal);border-radius:9px;background:#f1f6f4;font-size:13px;line-height:1.6}.exam-feedback p{margin:5px 0 0;font-size:11px;color:var(--muted)}.exam-feedback[data-motion=with]{background:#f8f2e6;border-color:#cda959}.exam-feedback[data-motion=against]{background:#eef3fa;border-color:#7897b3}.exam-feedback[data-motion=neutral]{background:#eaf4ed;border-color:#6a977a}.exam-control-group{margin-top:18px;padding:12px;border:1px solid var(--line);border-radius:9px;background:#f2f6f5}.exam-control-title{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;font-weight:650;margin-bottom:8px}.exam-control-title output{font-variant-numeric:tabular-nums;white-space:nowrap}.exam-presets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.exam-presets button{min-height:40px;padding:5px 2px;font-size:12px}.exam-presets [aria-pressed=true],.exam-distance [aria-pressed=true]{background:var(--teal-soft);color:var(--teal);border-color:var(--teal);font-weight:750}.exam-distance{background:#faf6ed}.exam-distance .range-heading{margin-top:12px;font-size:10px}.exam-distance .angle-stops{display:flex;gap:5px}.exam-distance .angle-stops button{flex:1;min-height:40px}.exam-sequence{font-size:11px;line-height:1.9;margin:15px 0;color:var(--muted)}#examStreak{direction:ltr}
.part-learning{display:grid;gap:10px;margin-top:18px}.part-evidence{font-size:10px;line-height:1.7;color:var(--muted);border-inline-start:2px solid #92b2aa;padding-inline-start:8px}.part-learning button{background:var(--teal-soft);color:var(--teal);font-size:11px;min-height:42px}.part-learning a{font-size:10px;color:var(--muted);text-decoration:underline;text-underline-offset:3px}
.exam-start{background:var(--teal);color:#fff;border:0;font-weight:700;min-height:44px;padding:12px 18px}.exam-start:hover{background:#183e3d}.heading-actions{flex-wrap:wrap}.heading-actions .practice-link{background:transparent;color:var(--teal);border:1px solid var(--line)}
.patient-guide h2{font-size:25px;margin:12px 0 22px}.exam-label{display:block;font-size:12px;font-weight:650;margin:14px 0 8px}.patient-guide select,.exam-lenses select{width:100%;min-height:42px;background:#f6f8f4;border:1px solid var(--line);border-radius:8px;padding:8px;color:var(--ink)}
.exam-eye-switch{display:flex;gap:6px;margin:12px 0 20px}.exam-eye-switch button{flex:1;padding:8px 4px;font-size:11px}.exam-eye-switch [aria-pressed=true]{color:#fff;background:var(--teal);border-color:var(--teal)}
.exam-steps{display:grid;gap:4px}.exam-steps button{text-align:start;border:0;background:transparent;display:flex;gap:9px;align-items:center;font-size:12px;min-height:40px}.exam-steps span{display:grid;place-items:center;width:22px;height:22px;border:1px solid var(--line);border-radius:50%;font-size:10px}.exam-steps [aria-current]{background:var(--teal-soft);color:var(--teal);font-weight:750}.exam-steps [aria-current] span{background:var(--teal);color:#fff;border-color:var(--teal)}
.exam-lesson{font-size:12px;line-height:1.9;padding:12px 0;border-bottom:1px solid var(--line);margin:10px 0}.exam-progress{display:flex;justify-content:space-between;gap:8px;font-size:11px;align-items:center}.exam-progress strong{font-size:16px;direction:ltr;font-variant-numeric:tabular-nums}.exam-issue{color:var(--teal);font-size:12px;line-height:1.8}.exam-limit{font-size:10px;line-height:1.85;color:var(--muted);margin-top:18px}.exam-results,.exam-sources{border-top:1px solid var(--line);margin-top:18px;padding-top:12px;font-size:11px;line-height:1.8}.exam-results summary,.exam-sources summary{cursor:pointer;font-weight:750;padding:7px 0}.exam-results article{display:grid;gap:7px;margin:12px 0;padding:12px;background:var(--teal-soft);border-radius:10px}.exam-results article>b{font-size:13px}.exam-results p,.exam-sources p{font-size:10px;color:var(--muted)}.exam-sources ol{padding-inline-start:18px}.exam-sources li{font-size:11px!important;margin-bottom:14px!important;padding-inline-start:0!important}.exam-sources a{color:var(--teal);text-decoration:underline;text-underline-offset:3px}.exam-sources small{display:block;color:var(--muted);line-height:1.7;margin-top:4px}
.exam-lenses{border-bottom:1px solid var(--line);padding-bottom:22px;margin-bottom:20px}.exam-lens-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.exam-lens-heading b{background:var(--teal-soft);color:var(--teal);border-radius:5px;padding:4px 9px;font-size:12px}.exam-lens-label{display:flex;justify-content:space-between;font-size:12px;font-weight:650;margin:13px 0 8px}.exam-lens-label span{color:var(--muted)}.exam-stepper{display:grid;grid-template-columns:42px minmax(0,1fr) 42px;gap:6px}.exam-stepper button{font-size:20px;padding:3px;min-height:42px}.exam-stepper input{width:100%;min-width:0;text-align:center;border:1px solid var(--line);border-radius:8px;background:#fafbf8;color:var(--ink);font-size:18px;font-weight:650;font-variant-numeric:tabular-nums;appearance:textfield}.exam-stepper input::-webkit-inner-spin-button{appearance:none}.exam-clear{width:100%;margin-top:14px;font-size:11px}.exam-lenses .toggle-row{margin-top:18px}#examSphereSlider{margin-top:18px}#examSphereSlider .range-heading{font-size:10px}
.workspace[data-session=patient] .patient-controls>h2{font-size:20px}.workspace[data-session=patient] .stage-bottom{inset-inline:14px;bottom:14px;max-width:none}.exam-dock{width:100%;max-width:610px;margin:auto;padding:10px;border:1px solid #dce5dd;border-radius:12px;background:#fbfcf8f5;box-shadow:0 3px 18px #163e3212}.exam-live{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px;padding:2px 4px 8px;font-size:11px}.exam-live>span{font-weight:700;color:var(--teal)}.exam-live bdi{font-size:10px;color:var(--muted)}.exam-dock-actions{display:grid;grid-template-columns:1fr 1fr 1.3fr;gap:6px}.exam-dock button{font-size:11px;min-height:40px;padding:7px}#examRecord{background:var(--teal);color:#fff;border-color:var(--teal)}#examSweep[aria-pressed=true]{background:var(--teal-soft);border-color:var(--teal)}button:disabled{cursor:not-allowed}.workspace[data-session=patient] .gesture-hint{font-size:10px;margin:6px auto 0;padding:3px 6px;max-width:fit-content}.workspace[data-session=patient] .patient-inset{bottom:144px}
.exam-lenses input[type=number],.exam-lenses input[type=range],#workingDistance,#patientPupil,#angle{direction:ltr}.workspace[data-session=patient] .patient-controls .micro-note{line-height:1.8}.patient-guide #examAnnouncement{font-size:11px;color:var(--teal)}
@media(min-width:1280px){.workspace[data-session=patient]{grid-template-columns:250px minmax(0,1fr) 290px}}
@media(max-width:900px){.heading-actions{gap:8px}.exam-start{font-size:11px;padding:10px 12px}.exam-lenses{margin-top:0}.exam-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.patient-guide h2{margin-bottom:16px}.exam-dock{max-width:540px}}
@media(max-width:540px){.page-heading{gap:16px}.heading-actions{width:100%;justify-content:flex-start}.exam-start{flex:1;min-width:190px}.heading-actions .practice-link{font-size:10px;padding:10px}.workspace[data-session=patient] .stage-bottom{inset-inline:8px;bottom:8px}.exam-dock{padding:8px}.exam-dock button{font-size:10px;padding:7px 4px}.exam-live{display:block;line-height:1.65}.exam-live bdi{display:block}.workspace[data-session=patient] .patient-inset{bottom:151px;width:76px;height:92px}.workspace[data-session=patient] .gesture-hint{display:none}.exam-eye-switch button{min-height:44px}.exam-lenses{padding:16px 0}.exam-steps button{min-height:44px}}
@media(prefers-reduced-motion:reduce){.exam-dock button{transition:none}}
@media(max-width:380px){.patient-view-toolbar{flex-wrap:nowrap;gap:4px}.patient-view-switch button{font-size:9px;padding-inline:6px}.exam-magnifier button{min-width:25px;min-height:32px}.exam-magnifier output{min-width:24px;font-size:10px}}
