/* Placement Test only. Load after site-theme.css and practice-page.css. */
body.pt-practice .main-content { max-width: 960px; }
body.pt-practice .main-content#mainContent > :not(script):not(style) { max-width: 800px !important; }
body.pt-practice .module-header { text-align: start; }
body.pt-practice .intro-wrap,
body.pt-practice .results-wrap,
body.pt-practice #screenTesting { width: 100%; max-width: 800px !important; }
body.pt-practice .mascot-display { display: none; }
body.pt-practice .glass-card,
body.pt-practice .question-card,
body.pt-practice .results-hero,
body.pt-practice .mistakes-card { background: var(--practice-card); border-color: var(--border); border-radius: 20px; padding: 32px; animation: none; }
body.pt-practice .glass-card > p { text-align: start !important; font-size: 15px !important; }
body.pt-practice .placement-section-title { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 16px; letter-spacing: 0; }
body.pt-practice .mode-selector { gap: 16px; }
body.pt-practice .mode-card { font: inherit; text-align: start; min-width: 0; padding: 20px; background: var(--bg); border: 1px solid var(--border2); border-radius: 14px; color: var(--text); transform: none; }
body.pt-practice .mode-card > span { display: block; }
body.pt-practice .mode-card:hover { background: var(--surface2); border-color: var(--sky); }
body.pt-practice .mode-card.selected-short,
body.pt-practice .mode-card.selected-intensive { background: var(--practice-accent-wash); border-color: var(--sky); box-shadow: inset 0 0 0 1px var(--sky); }
body.pt-practice .mode-title { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
body.pt-practice .mode-desc,
body.pt-practice .mode-time { font-size: 13px; color: var(--muted); line-height: 1.6; }
body.pt-practice .mode-icon { color: var(--sky); margin-bottom: 16px; }
body.pt-practice #skillsOverview { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 0 24px; }
body.pt-practice .skill-row { min-width: 0; padding: 16px 0; }
body.pt-practice .skill-row > div:last-child { min-width: 0; }
body.pt-practice .skill-name,
body.pt-practice .sr-name,
body.pt-practice .mistake-q { color: var(--text); }
body.pt-practice .skill-icon-box,
body.pt-practice .sr-icon { background: var(--practice-accent-wash); }
body.pt-practice .skill-count { font-size: 13px; line-height: 1.6; }
body.pt-practice .btn-neon,
body.pt-practice .btn-neon.purple,
body.pt-practice .btn-primary-full,
body.pt-practice .btn-modal-submit { min-height: 48px; border-radius: 12px; border: 1px solid transparent; background: var(--sky); color: var(--practice-on-accent); font-size: 15px; font-weight: 600; box-shadow: none; transform: none; }
body.pt-practice .btn-neon:hover:not(:disabled),
body.pt-practice .btn-neon.purple:hover:not(:disabled),
body.pt-practice .btn-primary-full:hover,
body.pt-practice .btn-modal-submit:hover { background: var(--sky2); color: var(--practice-on-accent); transform: none; }
body.pt-practice .btn-neon:disabled { opacity: 1; background: var(--bg3); color: var(--muted); border-color: var(--border); cursor: not-allowed; }
body.pt-practice .progress-wrap { margin-bottom: 24px; }
body.pt-practice .progress-meta { gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
body.pt-practice .progress-track,
body.pt-practice .sr-bar-wrap { background: var(--bg3); height: 6px; }
body.pt-practice .progress-fill { height: 6px; }
body.pt-practice .placement-level { background: var(--practice-accent-wash) !important; color: var(--sky) !important; font-weight: 500 !important; }
body.pt-practice .question-text { font-size: clamp(22px,2.8vw,28px); line-height: 1.6; font-weight: 500; margin-bottom: 24px; overflow-wrap: anywhere; }
body.pt-practice .question-text:focus,
body.pt-practice #placementResultsTitle:focus { outline: none; }
body.pt-practice .mc-option { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; background: var(--bg); border-color: var(--border2); padding: 16px 20px; text-align: start; font-size: 17px; line-height: 1.6; }
body.pt-practice .mc-option > span:first-child { min-width: 0; overflow-wrap: anywhere; }
body.pt-practice .placement-option-status { flex-shrink: 0; font-size: 20px; }
body.pt-practice .mc-option:hover:not(:disabled) { border-color: var(--sky); background: var(--practice-accent-wash); }
body.pt-practice .mc-option.correct { background: var(--bg); color: var(--emerald); border-color: var(--emerald); }
body.pt-practice .mc-option.wrong { background: var(--bg); color: var(--red); border-color: var(--red); }
body.pt-practice .answer-feedback { padding: 16px; font-size: 15px; line-height: 1.7; overflow-wrap: anywhere; }
body.pt-practice .answer-feedback.correct-fb { background: var(--bg); border-color: var(--emerald); color: var(--emerald); }
body.pt-practice .answer-feedback.wrong-fb { background: var(--bg); border-color: var(--red); color: var(--red); }
body.pt-practice .writing-textarea { background: var(--bg); border-color: var(--border2); min-height: 160px; font-size: 17px; padding: 16px 20px; }
body.pt-practice .writing-textarea::placeholder,
body.pt-practice .min-label { color: var(--muted); }
body.pt-practice .min-label,
body.pt-practice .word-count { font-size: 13px; line-height: 1.6; }
body.pt-practice .listen-btn { min-height: 48px; color: var(--sky); background: var(--practice-accent-wash); border-color: var(--border2); border-radius: 12px; }
body.pt-practice .listen-btn:hover { background: var(--surface2); border-color: var(--sky); }
body.pt-practice .rec-btn { min-height: 56px; background: var(--practice-accent-wash); border-color: var(--sky); color: var(--sky); }
body.pt-practice .rec-btn.recording { background: var(--bg); border-color: var(--red); color: var(--red); }
body.pt-practice .rec-btn:hover,
body.pt-practice .rating-btn:hover { filter: none; transform: none; }
body.pt-practice .transcript-box { background: var(--bg); border-color: var(--border); padding: 20px; overflow-wrap: anywhere; }
body.pt-practice .skip-link { min-height: 44px; font-size: 14px; }
body.pt-practice .rating-label { font-size: 15px; line-height: 1.7; }
body.pt-practice .rating-btn { min-height: 48px; background: var(--bg); font-size: 14px; padding: 14px; }
body.pt-practice .rating-btn.struggled { color: var(--red); border-color: var(--red); }
body.pt-practice .rating-btn.okay { color: var(--amber); border-color: var(--amber); }
body.pt-practice .rating-btn.confident { color: var(--emerald); border-color: var(--emerald); }
body.pt-practice .rating-btn:disabled { opacity: .7; cursor: wait; }
body.pt-practice .results-title { font-weight: 600; }
body.pt-practice .results-sub { line-height: 1.7; }
body.pt-practice .award-icon { margin-bottom: 16px; }
body.pt-practice .award-icon svg { width: 40px; height: 40px; }
body.pt-practice .level-badge { background: var(--practice-accent-wash); border-color: var(--border); }
body.pt-practice .level-badge .cefr { font-size: 40px; font-weight: 600; }
body.pt-practice .skill-results { text-align: start; }
body.pt-practice .skill-result-row { gap: 12px; }
body.pt-practice .sr-name { min-width: 0; font-size: 14px; }
body.pt-practice .sr-level { flex-shrink: 0; font-weight: 600; }
body.pt-practice .btn-retake,
body.pt-practice .btn-outline,
body.pt-practice .btn-modal-cancel { min-height: 48px; color: var(--muted); border-color: var(--border2); border-radius: 12px; background: transparent; }
body.pt-practice .mistakes-card { overflow-wrap: anywhere; }
body.pt-practice .mistake-q,
body.pt-practice .mistake-your,
body.pt-practice .mistake-correct { font-size: 14px; line-height: 1.7; }
body.pt-practice .modal-card { background: var(--practice-card); border-color: var(--border); padding: 24px; }
body.pt-practice .ai-badge-nav { color: var(--muted); background: transparent; border-color: var(--border); }
body.pt-practice .ai-dot { animation: none; }
body.pt-practice .pp-session-notice { background: var(--practice-card); border-color: var(--border); box-shadow: none; }
html[data-theme] body.pt-practice .pp-session-notice strong,
html[data-theme] body.pt-practice .pp-session-notice button { color: var(--text) !important; }
html[data-theme] body.pt-practice .pp-session-notice span { color: var(--muted) !important; }
body.pt-practice .pp-session-notice button { min-height: 44px; background: transparent; border-color: var(--border2); }

@media (max-width: 860px) {
  body.pt-practice .glass-card,
  body.pt-practice .question-card,
  body.pt-practice .results-hero,
  body.pt-practice .mistakes-card { padding: 20px; border-radius: 16px; }
}
@media (max-width: 500px) {
  body.pt-practice .mode-selector,
  body.pt-practice .rating-row { flex-direction: column; }
  body.pt-practice #skillsOverview { grid-template-columns: minmax(0,1fr); }
  body.pt-practice .sr-bar-wrap { flex: 1; }
  body.pt-practice .sr-icon { width: 32px; height: 32px; }
  body.pt-practice .sr-name { flex: 2; }
}
html.pp-embedded-exercise body.pt-practice .main-content { padding-top: 28px !important; }
