/* Public study pages, phase 3. No administrator, account or homepage selectors. */
.mf32-study { --study-ink:#243747; --study-muted:#506674; --study-blue:#086da6; --study-line:#d9e4e9; }
.mf32-study *, .mf32-study *::before, .mf32-study *::after { box-sizing:border-box; }
.mf32-study [hidden] { display:none !important; }
.mf32-study :where(a,button,summary,select,input,[tabindex]):focus-visible { outline:3px solid #086da6; outline-offset:4px; }
.mf32-study :where(button,summary,select) { touch-action:manipulation; }
.mf32-study :where(button,a,summary) { -webkit-tap-highlight-color:transparent; }
.mf32-study .lesson-hints-toolbar { display:flex; justify-content:flex-end; margin:0 0 16px; min-width:0; }
.mf32-study .lesson-hints-toolbar button { min-height:44px; max-width:100%; padding:6px 10px; border:1px solid #ccdce5; border-radius:12px; display:inline-flex; gap:10px; align-items:center; background:#fff; color:#355c72; font:650 12px/1.35 system-ui,-apple-system,'Segoe UI',sans-serif; cursor:pointer; }
.mf32-study .hints-switch-label { display:grid; gap:1px; }
.mf32-study .hints-switch-track { width:32px; height:20px; flex:0 0 32px; padding:2px; border:1px solid #aabfc9; border-radius:999px; background:#dce6eb; }
.mf32-study .hints-switch-track::after { content:''; display:block; width:14px; height:14px; border-radius:50%; background:#fff; box-shadow:0 1px 2px #20354526; transition:transform .12s ease; }
.mf32-study .lesson-hints-toolbar button[aria-pressed='true'] .hints-switch-track { background:#086da6; border-color:#086da6; }
.mf32-study .lesson-hints-toolbar button[aria-pressed='true'] .hints-switch-track::after { transform:translateX(12px); }
.mf32-study .lesson-hints-toolbar button[aria-pressed='mixed'] .hints-switch-track { background:#6a8595; border-color:#6a8595; }
.mf32-study .lesson-hints-toolbar button[aria-pressed='mixed'] .hints-switch-track::after { transform:translateX(6px); }
.mf32-study .lesson-hint-hidden { display:none !important; }
.mf32-study .voice-trigger { color:#08628a !important; background:#eff7fb !important; border-color:#c7dce8 !important; min-height:44px; }
.mf32-study .clip-play { min-width:46px; min-height:46px; }
.mf32-study .mf32-lesson-navigation { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin:36px 0 0; padding-top:24px; border-top:1px solid var(--study-line); }
.mf32-study .mf32-neighbor { display:flex; flex-direction:column; gap:6px; min-width:0; padding:18px; border:1px solid var(--study-line); border-radius:14px; background:#fff; color:var(--study-ink); text-decoration:none; overflow-wrap:anywhere; }
.mf32-study .mf32-neighbor:hover { border-color:#7cb0cb; background:#f4f9fc; }
.mf32-study .mf32-neighbor-next { text-align:right; }
.mf32-study .mf32-neighbor-direction { color:#08628a; font:650 13px/1.4 system-ui,-apple-system,'Segoe UI',sans-serif; }
.mf32-study .mf32-neighbor strong { font:650 18px/1.45 system-ui,-apple-system,'Segoe UI',sans-serif; }
.mf32-study .mf32-neighbor small { font:400 14px/1.5 system-ui,-apple-system,'Segoe UI',sans-serif; color:var(--study-muted); }
@media(max-width:480px) { .mf32-study .mf32-lesson-navigation { gap:10px; } .mf32-study .mf32-neighbor { padding:14px; } .mf32-study .mf32-neighbor strong { font-size:16px; } }
@media(prefers-reduced-motion:reduce) { .mf32-study .hints-switch-track::after { transition:none; } }
