/* Speak journey components; follow the existing orange and white app system. */
.flow-top { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:22px 0; border-bottom:1px solid var(--line); }
.flow-top a { color:var(--muted); font-size:14px; }
.flow-heading { margin:10px 0 0; font-size:clamp(32px,6vw,44px); line-height:1.1; letter-spacing:-.035em; font-weight:600; }
.flow-copy { margin:0; color:var(--muted); font-size:17px; line-height:1.6; }
.flow-label { color:var(--accent-text); font-size:12px; text-transform:uppercase; letter-spacing:.12em; font-weight:600; }
.flow-box { padding:24px; border:1px solid var(--line); border-radius:12px; display:flex; flex-direction:column; gap:14px; }
.flow-box h2 { margin:0; font-size:24px; letter-spacing:-.02em; font-weight:600; }
.flow-options { display:grid; gap:10px; }
.flow-choice { min-height:64px; padding:18px 20px; background:var(--card); border:1px solid var(--line); border-radius:10px; text-align:left; line-height:1.4; font-size:17px; }
.flow-choice[aria-pressed=true] { border-color:var(--accent); background:var(--accent-tint); color:var(--accent-text); }
.flow-choice small { display:block; margin-top:4px; color:var(--muted); font-size:14px; }
.flow-actions { display:flex; align-items:center; gap:12px; }
.flow-actions .btn-main { flex:1; padding:0 24px; }
.btn-main:disabled { opacity:.4; cursor:default; }
.flow-status { padding:12px 16px; border-radius:8px; background:var(--accent-tint); color:var(--accent-text); font-size:14px; line-height:1.5; }
.course-reason { font-size:13px; color:var(--accent-text); margin:6px 0; line-height:1.5; }
.course-tag { align-self:flex-start; color:var(--muted); font-size:12px; margin-top:6px; }
.course-summary { padding:20px 0; border-bottom:1px solid var(--line); }
.course-summary h2 { font-size:22px; margin:0 0 8px; font-weight:600; }
.course-summary p { margin:0; color:var(--muted); line-height:1.5; }
.phrase-preview { padding:24px 0; border-bottom:1px solid var(--line); }
.phrase-preview h2 { font-size:21px; font-weight:500; margin:0; }
.phrase-preview [lang=gu] { font-size:27px; line-height:1.7; color:var(--accent-text); margin:12px 0 4px; }
.phrase-preview p { margin:4px 0; line-height:1.5; color:var(--muted); }
.preview-done { background:var(--soft); padding:20px; border-radius:10px; }
.preview-done h2 { margin:0 0 8px; font-weight:600; font-size:24px; }
.profile-row { display:flex; justify-content:space-between; gap:24px; padding:16px 0; border-bottom:1px solid var(--line); line-height:1.5; }
.profile-row dt { color:var(--muted); }
.profile-row dd { margin:0; text-align:right; }
#v-onboard .scroll, #v-account .scroll, #v-preview .scroll, #v-profile .scroll { padding-top:0; }
#v-path .path-h h1 { font-size:38px; }
#v-path .core { padding-top:0; border:0; }
#hero-start { min-height:58px; height:auto; padding-top:12px; padding-bottom:12px; text-align:left; }
.chat-log { display:flex; flex-direction:column; gap:12px; }
.chat-message { max-width:90%; margin:0; padding:16px 20px; border-radius:12px; background:var(--soft); line-height:1.6; white-space:pre-wrap; }
.chat-message.user { align-self:flex-end; background:var(--accent-tint); }
.chat-form { display:flex; flex-direction:column; gap:12px; }
.chat-form textarea { padding:16px; font:inherit; color:var(--ink); border:1px solid var(--line); border-radius:10px; background:var(--card); resize:vertical; }
.chat-form textarea:focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
.play-sm { height:auto; min-height:44px; padding-top:12px; padding-bottom:12px; line-height:1.4; }
/* Learning actions remain available on narrow screens and at large text sizes. */
.lesson-card { margin-bottom:20px; }
.lesson-actions, .player-help { display:flex; flex-wrap:wrap; gap:8px 16px; align-items:center; }
.lesson-actions .btn-main { padding:12px 22px; min-height:48px; height:auto; }
.lesson-actions .btn-plain { padding:8px; text-align:left; }
.player-help { justify-content:center; flex-shrink:0; }
.player-help .toggle { min-height:44px; border-radius:10px; }
.ability-card { text-align:left; color:var(--ink); cursor:pointer; min-width:180px; }
.ability-card:hover { border-color:var(--accent); background:var(--accent-tint); }
.ability-status { font-size:12px; font-weight:600; color:var(--accent-text); }
.preview-settings { border-top:1px solid var(--line); padding:18px 0; }
.preview-settings summary { cursor:pointer; min-height:44px; padding:10px 0; font-weight:600; }
.preview-settings > p { font-size:14px; }
.practice-status { font-size:14px; line-height:1.5; color:var(--ink-2); margin:0; }
.practice-script { padding:18px; border-radius:10px; background:var(--soft); }
.practice-script p { margin:4px 0; }
.practice-script [lang=gu] { font-size:28px; line-height:1.6; }
.practice-feedback { display:flex; flex-direction:column; gap:12px; padding:22px; border:1px solid var(--accent); background:var(--accent-tint); border-radius:10px; }
.practice-feedback h2, .practice-feedback p { margin:0; line-height:1.5; }
.practice-feedback .flow-copy { font-size:15px; color:var(--ink-2); }
.practice-summary-row { display:flex; flex-direction:column; gap:8px; padding:16px; border-bottom:1px solid var(--line); }
.practice-summary-row [lang=gu] { font-size:22px; line-height:1.5; }
.flow-choice:disabled { opacity:1; color:var(--ink-2); cursor:default; }
.flow-choice[aria-pressed=true] { border-color:var(--accent); }
.player { overflow-y:auto; }
.player .stage { min-height:260px; flex:1 0 auto; gap:16px; }
.player .cue { min-height:100px; }
.player .p-note { margin:0; }
.flow-copy, .fine, .course-tag, .p-note, .flow-top a { color:#65615B; }
.account-prompt { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 18px; background:var(--soft); border:1px solid var(--line); border-radius:12px; font-size:14.5px; color:var(--ink-2); }
.account-prompt span { font-weight:500; }
.account-prompt button { flex:none; background:none; border:0; padding:6px 12px; font-size:14.5px; font-weight:600; color:var(--accent-text); cursor:pointer; text-decoration:underline; text-underline-offset:3px; border-radius:6px; }
.account-prompt button:hover { color:var(--accent); background:var(--accent-tint); }
@media (max-width:480px) {
  .hero h2 { font-size:29px; }
  .hero .start { width:100%; justify-content:center; padding:12px 16px; }
  .lesson-actions { align-items:stretch; }
  .lesson-actions > button { flex:1 1 100%; justify-content:center; }
  .flow-top { flex-wrap:wrap; }
  .player .ring { width:180px; }
  .player .stage { min-height:260px; }
  .player .cue b { font-size:19px; }
  .profile-row { gap:12px; flex-wrap:wrap; }
  .profile-row dd { text-align:left; }
  .account-prompt { padding:10px 14px; font-size:13.5px; flex-wrap:wrap; }
}

