/* Pronunciation only. Load after practice-page.css and the shared theme. */
body.pn-practice .session-bar { background: transparent; border-color: var(--border); flex-wrap: wrap; }
body.pn-practice .sec-label { color: var(--muted); font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; }
body.pn-practice .diff-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
body.pn-practice #modeCards { display: flex; flex-wrap: wrap; }
body.pn-practice #modeCards > .diff-card { flex: 1 1 130px; }
body.pn-practice .diff-card { min-width: 0; min-height: 52px; padding: 16px; background: var(--practice-card); border: 1px solid var(--border2); border-radius: 12px; font-family: inherit; }
body.pn-practice .diff-card:hover { background: var(--surface2); border-color: var(--sky); }
body.pn-practice .diff-card[aria-pressed="true"] { background: var(--practice-accent-wash); border-color: var(--sky); }
body.pn-practice .diff-label { color: var(--text); font-size: 14px; font-weight: 500; margin-bottom: 0; overflow-wrap: anywhere; }
body.pn-practice .diff-card[aria-pressed="true"] .diff-label { color: var(--sky); }
body.pn-practice .level-row { flex-wrap: wrap; gap: 8px; overflow: visible; margin-bottom: 0; padding: 0; }
body.pn-practice .level-pill { min-height: 44px; height: auto; min-width: 44px; border-radius: 999px; background: transparent; color: var(--muted); font-weight: 500; }
body.pn-practice .level-pill.active { background: var(--practice-accent-wash); color: var(--sky); border-color: var(--sky); }
body.pn-practice .level-pill:hover { background: var(--surface2); border-color: var(--sky); }
body.pn-practice .pronunciation-workspace,
body.pn-practice .result-card,
body.pn-practice #emptyState .listen-card,
body.pn-practice #blockedState .listen-card,
body.pn-practice #genLoadingState .listen-card,
body.pn-practice #genFailedState .listen-card { background: var(--practice-card); border-color: var(--border); border-radius: 20px; padding: 32px; margin-bottom: 24px; animation: none; }
body.pn-practice .pronunciation-workspace { border: 1px solid var(--border); }
body.pn-practice #promptCard { background: transparent; border: 0; border-radius: 0; padding: 0 0 24px; margin: 0 0 24px; border-bottom: 1px solid var(--border); animation: none; }
body.pn-practice .input-card { background: transparent; border: 0; border-radius: 0; padding: 0; margin-bottom: 0; }
body.pn-practice #promptText { color: var(--text); font-size: clamp(23px,3vw,30px); font-weight: 500; line-height: 1.6; margin: 8px 0 24px; overflow-wrap: anywhere; }
body.pn-practice .prompt-head { text-align: start; align-items: center; }
body.pn-practice .prompt-head .sec-label { margin-bottom: 0; }
body.pn-practice .play-btn { background: var(--practice-accent-wash); color: var(--sky); border: 1px solid var(--sky); width: 76px; height: 76px; }
body.pn-practice .play-btn:hover:not(:disabled) { background: var(--bg2); transform: none; }
body.pn-practice .play-btn.playing { background: var(--practice-accent-wash); border-color: var(--sky); animation: none; }
body.pn-practice .play-btn:disabled { opacity: 1; }
body.pn-practice .play-label { font-size: 14px; font-weight: 400; }
body.pn-practice .save-btn { width: 44px; height: 44px; background: transparent; border-color: var(--border2); color: var(--muted); }
body.pn-practice .save-btn:hover { background: var(--surface2); filter: none; }
body.pn-practice .save-btn.saved { color: var(--mint); border-color: var(--mint); background: transparent; }
body.pn-practice .rec-btn,
body.pn-practice .btn-start,
body.pn-practice .btn-next-sentence { min-height: 52px; border-radius: 999px; border: 1px solid transparent; background: var(--sky); color: var(--practice-on-accent); font-weight: 600; box-shadow: none; }
body.pn-practice .rec-btn:hover,
body.pn-practice .btn-start:hover,
body.pn-practice .btn-next-sentence:hover { background: var(--sky2); color: var(--practice-on-accent); transform: none; filter: none; }
body.pn-practice .rec-btn.recording { background: var(--practice-card); color: var(--red); border-color: var(--red); }
body.pn-practice .rec-btn.recording:hover { background: var(--bg); color: var(--red); }
body.pn-practice .rec-pulse { animation: none; }
body.pn-practice .mic-settings-btn { border-radius: 12px; background: transparent; color: var(--muted); }
body.pn-practice .mic-settings-btn:hover { background: var(--surface2); color: var(--text); border-color: var(--border2); }
body.pn-practice .mic-settings-panel { background: var(--bg); border-color: var(--border); padding: 16px; }
body.pn-practice .mic-settings-label { display: block; font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; }
body.pn-practice .mic-settings-panel select { min-width: 0; min-height: 48px; background: var(--practice-card); color: var(--text); font-size: 16px; border-color: var(--border2); }
body.pn-practice .mic-retry-btn { min-height: 44px; background: transparent; color: var(--sky); border-color: var(--border2); font-weight: 500; }
body.pn-practice .mic-retry-btn:hover { background: var(--surface2); filter: none; }
body.pn-practice .rec-hint { font-size: 13px; line-height: 1.6; text-align: start; }
body.pn-practice :is(.diff-card,.level-pill,.rec-btn,.mic-settings-btn,.mic-retry-btn):disabled { opacity: 1; background: var(--bg3); color: var(--muted); border-color: var(--border); cursor: not-allowed; }
body.pn-practice .score-circle-wrap { justify-content: flex-start; }
body.pn-practice .score-pct { font-size: 28px; font-weight: 600; }
body.pn-practice .score-grade { font-size: 12px; font-weight: 500; }
body.pn-practice #subStats { flex-wrap: wrap; justify-content: flex-start !important; gap: 12px !important; font-size: 14px !important; }
body.pn-practice .your-block,
body.pn-practice .pronunciation-target { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 16px; margin-bottom: 20px; }
body.pn-practice .your-label { font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; }
body.pn-practice .your-words,
body.pn-practice #pronunciationResultText { font-size: 18px; line-height: 1.6; overflow-wrap: anywhere; }
body.pn-practice #emptyTitle,
body.pn-practice #blockedTitle { font-size: 20px; font-weight: 600; line-height: 1.5; margin-bottom: 12px; }
body.pn-practice .ai-banner { background: transparent; border: 0; padding: 0; align-items: flex-start; }
body.pn-practice .ai-banner-badge { background: var(--bg2); color: var(--muted); font-weight: 500; }
body.pn-practice .ai-badge-nav { background: transparent; color: var(--muted); border-color: var(--border); }
body.pn-practice .ai-dot { animation: none; }

@media (max-width: 860px) {
  body.pn-practice .pronunciation-workspace,
  body.pn-practice .result-card,
  body.pn-practice #emptyState .listen-card,
  body.pn-practice #blockedState .listen-card,
  body.pn-practice #genLoadingState .listen-card,
  body.pn-practice #genFailedState .listen-card { padding: 20px; border-radius: 16px; }
}
@media (max-width: 500px) {
  body.pn-practice .diff-row { grid-template-columns: minmax(0,1fr); }
  body.pn-practice #modeCards { display: grid; grid-template-columns: minmax(0,1fr); }
  body.pn-practice .speaking-row { flex-wrap: wrap; }
  body.pn-practice .rec-btn { min-width: 0; font-size: 14px; padding: 14px; }
}
html.pp-embedded-exercise body.pn-practice .main-content { padding-top: 28px !important; }
