/* Profile only. Account, CEFR, language and recommendation owners stay intact. */
body.profile-practice [hidden] { display: none !important; }
body.profile-practice .profile-shell { max-width: 800px; }
body.profile-practice .profile-card { color: var(--text); background: var(--practice-card); border-color: var(--border); border-radius: 16px; padding: 28px; margin-bottom: 24px; }
body.profile-practice .profile-top { text-align: start; padding-top: 28px; }
body.profile-practice .profile-identity { display: flex; align-items: center; gap: 24px; }
body.profile-practice .profile-identity-copy { min-width: 0; }
body.profile-practice .avatar-ring { flex: 0 0 80px; width: 80px; height: 80px; color: var(--sky); background: var(--practice-accent-wash) !important; border: 1px solid var(--border); font-size: 26px; font-weight: 500; }
body.profile-practice .avatar-name { color: var(--text); font-size: clamp(26px,3vw,32px); font-weight: 600; line-height: 1.4; margin: 0 0 8px; overflow-wrap: anywhere; }
body.profile-practice .avatar-meta { color: var(--muted); font-size: 15px; line-height: 1.8; overflow-wrap: anywhere; }
body.profile-practice .profile-badges { justify-content: flex-start; gap: 12px; margin-top: 24px; }
body.profile-practice .profile-badge { max-width: 100%; color: var(--muted); background: var(--bg); border-color: var(--border); font-size: 13px; font-weight: 500; line-height: 1.7; padding: 6px 10px; overflow-wrap: anywhere; }
body.profile-practice .profile-badge.level { color: var(--mint); background: var(--bg); border-color: var(--border); }
body.profile-practice .profile-section-title { font-size: 22px; font-weight: 500; line-height: 1.6; margin-bottom: 16px; }
body.profile-practice .profile-text { color: var(--text); font-size: 17px; line-height: 1.8; white-space: pre-line; overflow-wrap: anywhere; }
body.profile-practice .profile-actions { gap: 12px; margin: 0 0 28px; justify-content: flex-start; }
body.profile-practice .profile-setup-card .profile-actions { margin: 20px 0 0; }
body.profile-practice .btn { max-width: 100%; min-height: 48px; color: var(--muted); background: transparent; border: 1px solid var(--border2); border-radius: 12px; padding: 12px 18px; font-size: 14px; font-weight: 500; line-height: 1.7; text-align: center; }
html[data-theme] body.profile-practice .btn.primary { color: var(--practice-on-accent) !important; background: var(--sky); border-color: var(--sky); font-weight: 600; }
html[data-theme] body.profile-practice .btn.primary:hover:not(:disabled) { background: var(--sky2); }
body.profile-practice .btn.secondary:hover:not(:disabled) { color: var(--text); background: var(--surface2); }
body.profile-practice .hero { grid-template-columns: minmax(0,1fr) 88px; gap: 28px; margin-bottom: 28px; }
body.profile-practice .hero h1,
body.profile-practice .profile-empty h1 { color: var(--text); font-size: clamp(26px,3vw,34px); font-weight: 600; line-height: 1.4; margin: 0 0 16px; }
body.profile-practice .hero-copy { color: var(--muted); font-size: 16px; line-height: 1.8; margin: 0; }
body.profile-practice .eyebrow { color: var(--sky); background: transparent; border: 0; border-radius: 0; padding: 0; margin-bottom: 12px; font-size: 13px; font-weight: 500; line-height: 1.7; letter-spacing: 0; text-transform: none; }
body.profile-practice .eyebrow .dot { display: none; }
body.profile-practice .mascot-wrap { min-height: 0; }
body.profile-practice .mascot-wrap::after { display: none; }
body.profile-practice .mascot-wrap img { width: 88px; height: auto; max-width: 100%; object-fit: contain; filter: none; animation: none; }
body.profile-practice .profile-empty { text-align: start; }
body.profile-practice .profile-empty .mascot-wrap { justify-content: flex-start; margin-bottom: 24px; }
body.profile-practice .profile-empty .profile-actions { margin: 24px 0 0; }
body.profile-practice .profile-form { gap: 24px; }
body.profile-practice .profile-form .profile-card { margin-bottom: 0; }
body.profile-practice .form-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
body.profile-practice .field { min-width: 0; }
body.profile-practice .field label,
body.profile-practice .profile-field-label { display: block; color: var(--muted); font-size: 14px; font-weight: 500; line-height: 1.7; letter-spacing: 0; text-transform: none; margin: 0 0 10px; }
body.profile-practice .field :is(input,select,textarea) { min-width: 0; max-width: 100%; min-height: 52px; color: var(--text); background: var(--bg); border-color: var(--border2); border-radius: 12px; font-size: 17px; font-weight: 400; line-height: 1.7; padding: 14px 16px; }
body.profile-practice .field :is(input,textarea)::placeholder { color: var(--muted); }
body.profile-practice .field :is(input,select,textarea):focus { border-color: var(--sky); box-shadow: none; }
body.profile-practice .field textarea { min-height: 140px; }
body.profile-practice .field [aria-invalid="true"] { border-color: var(--coral); }
body.profile-practice .readonly-value { color: var(--mint); background: var(--bg); border-color: var(--border); font-family: 'DM Sans',sans-serif; font-size: 17px; font-weight: 500; line-height: 1.7; min-height: 52px; padding: 14px 16px; overflow-wrap: anywhere; }
body.profile-practice .avatar-edit { gap: 20px; margin: 24px 0; }
body.profile-practice .small-note,
body.profile-practice #countryCodeHelp { color: var(--muted); font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
body.profile-practice #countryCodeHelp { display: block; margin-top: 10px; }
body.profile-practice .profile-privacy-note { color: var(--text); background: var(--bg); border-color: var(--border); border-radius: 12px; padding: 20px; gap: 16px; }
body.profile-practice .profile-privacy-note > div { min-width: 0; }
body.profile-practice .profile-privacy-icon { color: var(--sky); background: var(--practice-accent-wash); border-color: var(--border); font-size: 15px; font-weight: 500; }
body.profile-practice .profile-privacy-note strong { font-size: 17px; font-weight: 500; line-height: 1.7; margin-bottom: 10px; overflow-wrap: anywhere; }
body.profile-practice .profile-privacy-note p { color: var(--muted); font-size: 15px; line-height: 1.8; overflow-wrap: anywhere; }
body.profile-practice .save-row { justify-content: flex-start; gap: 12px; padding: 20px; background: var(--practice-card); border: 1px solid var(--border); border-radius: 16px; }
body.profile-practice .profile-message { font-size: 14px; font-weight: 400; line-height: 1.8; overflow-wrap: anywhere; }
body.profile-practice .profile-message.error { color: var(--coral); }
body.profile-practice :is(input,select,textarea,button):disabled { color: var(--muted) !important; background: var(--bg3) !important; border-color: var(--border); opacity: 1; cursor: not-allowed; }
body.profile-practice .pp-exercise-recommendations { background: var(--practice-card); border-color: var(--border); border-radius: 16px; padding: 28px; margin-bottom: 24px; }
body.profile-practice .pp-rec-head { flex-wrap: wrap; gap: 16px; }
body.profile-practice .pp-rec-head h2 { font-size: 24px; font-weight: 500; line-height: 1.5; }
body.profile-practice .pp-rec-head p { font-size: 15px; line-height: 1.8; }
body.profile-practice .pp-rec-kicker { color: var(--muted); font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; }
body.profile-practice .pp-rec-profile-link { min-height: 48px; max-width: 100%; color: var(--sky); background: transparent; border-color: var(--border2); border-radius: 12px; padding: 12px; font-family: 'DM Sans',sans-serif; font-size: 14px; font-weight: 500; white-space: normal; text-align: center; }
body.profile-practice .pp-rec-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
body.profile-practice .pp-rec-card { min-width: 0; background: var(--bg); border-color: var(--border); border-radius: 12px; padding: 20px; }
body.profile-practice .pp-rec-card.is-main { grid-column: 1/-1; background: var(--practice-accent-wash); border-color: var(--sky); }
body.profile-practice .pp-rec-card:hover { background: var(--surface2); border-color: var(--sky); }
body.profile-practice .pp-rec-top { flex-wrap: wrap; }
body.profile-practice .pp-rec-icon { color: var(--sky); background: var(--practice-accent-wash); font-weight: 500; }
body.profile-practice .pp-rec-tag { color: var(--muted); background: var(--bg); border-color: var(--border); font-size: 12px; font-weight: 500; overflow-wrap: anywhere; }
body.profile-practice .pp-rec-title { font-size: 19px; font-weight: 500; line-height: 1.6; overflow-wrap: anywhere; }
body.profile-practice .pp-rec-card p { font-size: 15px; line-height: 1.8; overflow-wrap: anywhere; }
body.profile-practice .pp-rec-action { color: var(--sky); font-size: 14px; font-weight: 500; flex-wrap: wrap; }
@media (max-width: 760px) {
  body.profile-practice .profile-card,
  body.profile-practice .pp-exercise-recommendations { padding: 20px; }
  body.profile-practice .form-grid,
  body.profile-practice .pp-rec-grid { grid-template-columns: minmax(0,1fr); }
  body.profile-practice .field.full { grid-column: auto; }
  body.profile-practice .hero { grid-template-columns: minmax(0,1fr) 56px; gap: 16px; }
  body.profile-practice .mascot-wrap img { width: 56px; }
}
@media (max-width: 440px) {
  body.profile-practice .profile-identity { flex-direction: column; align-items: flex-start; gap: 16px; }
  body.profile-practice .hero { grid-template-columns: minmax(0,1fr); }
  body.profile-practice .hero .mascot-wrap { grid-row: 1; justify-content: flex-start; }
  body.profile-practice .profile-actions > .btn,
  body.profile-practice .save-row > .btn { width: 100%; }
  body.profile-practice .profile-privacy-note { flex-direction: column; }
}
html.pp-embedded-exercise body.profile-practice .main-content { padding-top: 28px !important; }
