/* Conversation uses the shared WeSpark desktop practice tokens. */
@media (min-width:1100px){
body[data-spark-page=conversation] .dictation-intro .spark-wave{display:none}
body[data-spark-page=conversation] .dictation-bottom-nav svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
body[data-spark-page=conversation] .conversation-grid{grid-template-columns:minmax(0,1fr) 300px;gap:20px}
body[data-spark-page=conversation] .conversation-grid:has(>.conversation-support[hidden]){grid-template-columns:minmax(0,1fr)}
body[data-spark-page=conversation] .conversation-workspace.card{padding:0;overflow:hidden}
body[data-spark-page=conversation] .conversation-content-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 24px 0}
body[data-spark-page=conversation] .conversation-content-heading .eyebrow{margin:0;font-size:14px;line-height:1.5;font-weight:600;color:var(--practice-gold-ink)}
body[data-spark-page=conversation] .conversation-content-heading #conversation-progress{font-size:13px;line-height:1.5;font-weight:500;color:var(--practice-muted);font-variant-numeric:tabular-nums}
body[data-spark-page=conversation] .conversation-workspace #conversation-intro{padding-top:0}
body[data-spark-page=conversation] .conversation-workspace .card{padding:24px;border:0;border-radius:0;box-shadow:none;background:none}
body[data-spark-page=conversation] .conversation-task-art{display:none}
body[data-spark-page=conversation] .conversation-scene{display:grid;grid-template-columns:240px minmax(0,1fr);gap:28px;align-items:center;margin:22px 0 28px}
body[data-spark-page=conversation] .conversation-scene-image{display:block;width:240px;height:212px;object-fit:cover;border-radius:12px}
body[data-spark-page=conversation] .task-card h3{max-width:30ch;font-size:25px;line-height:1.4;font-weight:600;letter-spacing:-.025em;margin:0 0 12px;text-wrap:balance}
body[data-spark-page=conversation] .conversation-scenario{max-width:65ch;margin:0;color:var(--practice-muted);font-size:14px;line-height:1.8}
body[data-spark-page=conversation] .task-card svg{width:24px;height:24px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
body[data-spark-page=conversation] .conversation-role{display:flex;align-items:flex-start;gap:12px;margin:18px 0 0;font-size:13px;line-height:1.7;color:var(--practice-ink)}
body[data-spark-page=conversation] .conversation-role svg{color:var(--practice-gold-ink);margin-top:2px}
body[data-spark-page=conversation] .conversation-role strong{display:block;font-weight:600;margin-bottom:2px}
body[data-spark-page=conversation] .conversation-mission{border-top:1px solid var(--practice-line);padding-top:22px}
body[data-spark-page=conversation] .conversation-mission h4{font-size:14px;line-height:1.6;font-weight:600;margin:0 0 18px}
body[data-spark-page=conversation] .conversation-brief{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;list-style:none;padding:0;margin:0 0 26px}
body[data-spark-page=conversation] .conversation-brief li{display:flex;align-items:flex-start;gap:12px;font-size:13px;line-height:1.7}
body[data-spark-page=conversation] .conversation-brief li>svg{color:var(--practice-gold-ink);margin-top:2px}
body[data-spark-page=conversation] .conversation-brief strong{display:block;font-size:14px;font-weight:600;margin-bottom:6px}
body[data-spark-page=conversation] .conversation-brief p{margin:0;color:var(--practice-muted);font-size:13px;line-height:1.7}
body[data-spark-page=conversation] .conversation-start-row{display:flex;align-items:center;justify-content:space-between;gap:32px;border-top:1px solid var(--practice-line);padding-top:24px}
body[data-spark-page=conversation] .conversation-start-row>.button{flex:none;min-height:48px;padding-inline:24px}
body[data-spark-page=conversation] .conversation-format{display:flex;align-items:center;gap:10px;font-size:12px;line-height:1.7;color:var(--practice-muted);margin:0}
body[data-spark-page=conversation] .conversation-format strong{display:block;font-weight:500;color:var(--practice-ink)}
body[data-spark-page=conversation] .conversation-grid:has(#conversation-intro:not([hidden])){grid-template-columns:minmax(0,1fr)}
body[data-spark-page=conversation] .conversation-grid:has(#conversation-intro:not([hidden])) .conversation-support .card{padding:14px 24px}
body[data-spark-page=conversation] .conversation-grid:has(#conversation-intro:not([hidden])) .conversation-support details[open]{max-width:760px}
body[data-spark-page=conversation] .conversation-support{gap:16px}
body[data-spark-page=conversation] .conversation-support .card{padding:18px}
body[data-spark-page=conversation] .conversation-support summary{display:list-item;min-height:28px;font-size:14px;line-height:1.6;border-radius:4px}
body[data-spark-page=conversation] .conversation-support summary:hover{color:var(--practice-gold-ink)}
body[data-spark-page=conversation] .conversation-support summary h3{display:inline;font:inherit;margin:0;color:inherit}
body[data-spark-page=conversation] .conversation-support h4{font-size:12px;line-height:1.6;font-weight:600;color:var(--practice-ink);margin:16px 0 6px}
body[data-spark-page=conversation] .conversation-support p{font-size:13px;line-height:1.7;margin:8px 0}
body[data-spark-page=conversation] .conversation-support p[lang=en]{padding:10px 12px;margin:6px 0;background:#f8f6eb;color:var(--practice-ink);border-radius:8px;line-height:1.9}
body[data-spark-page=conversation] .conversation-support .micro{font-size:12px}
body[data-spark-page=conversation] .chat-messages{max-height:330px;gap:14px;overscroll-behavior:contain;scroll-padding:8px}
body[data-spark-page=conversation] .chat-message{max-width:90%;background:#f8f6eb;border-radius:14px 14px 14px 4px}
body[data-spark-page=conversation] .chat-message.user{background:#fff1bf;border-radius:14px 14px 4px 14px}
body[data-spark-page=conversation] .chat-message p{font-size:17px;line-height:1.7;overflow-wrap:anywhere}
body[data-spark-page=conversation] .chat-message .text-button{margin-top:10px;min-height:32px}
body[data-spark-page=conversation] .conversation-workspace .voice-workspace{margin-top:20px;padding:18px 20px}
body[data-spark-page=conversation] .voice-state{font-size:15px}
body[data-spark-page=conversation] .voice-workspace .button{min-width:172px}
body[data-spark-page=conversation] .voice-workspace.recording{border-color:var(--practice-red);background:var(--practice-red-bg)}
body[data-spark-page=conversation] .conversation-workspace .practice-actions{margin-top:16px;padding-top:12px}
body[data-spark-page=conversation] .final-feedback>h3,body[data-spark-page=conversation] #conversation-partial h3{font-size:22px;line-height:1.5;margin:12px 0 20px;font-weight:600}
body[data-spark-page=conversation] .feedback-item{margin-top:16px;padding-top:16px}
body[data-spark-page=conversation] .feedback-item h4{font-size:14px;line-height:1.6;margin:0 0 8px;font-weight:600}
body[data-spark-page=conversation] .feedback-item p{font-size:14px;line-height:1.75;margin:8px 0}
body[data-spark-page=conversation] .feedback-item p[lang=en]{padding:12px 14px;background:#f8f6eb;color:var(--practice-ink);border-radius:8px;font-size:16px}
body[data-spark-page=conversation] :is(.card,.voice-workspace){overflow-wrap:break-word}
/* A stable transcript above a persistent voice composer. */
body[data-spark-page=conversation] .conversation-workspace #conversation-chat{padding:0}
body[data-spark-page=conversation] .conversation-workspace:has(#conversation-chat:not([hidden])) .conversation-content-heading{padding-bottom:16px;border-bottom:1px solid var(--practice-line)}
body[data-spark-page=conversation] .conversation-room{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 24px}
body[data-spark-page=conversation] .conversation-room-person{display:flex;align-items:center;gap:12px;min-width:0}
body[data-spark-page=conversation] .conversation-room-person img{object-fit:contain;width:48px;height:48px}
body[data-spark-page=conversation] .conversation-room h3{font-size:15px;font-weight:600;line-height:1.5;margin:0}
body[data-spark-page=conversation] .conversation-room h3 span{font-size:10px;font-weight:500;padding:2px 5px;border-radius:4px;background:#f0eee4;color:var(--practice-muted);margin-left:6px;vertical-align:middle}
body[data-spark-page=conversation] .conversation-room p{font-size:12px;line-height:1.6;color:var(--practice-muted);margin:3px 0 0}
body[data-spark-page=conversation] .conversation-room .text-button{font-size:12px;flex:none}
body[data-spark-page=conversation] .chat-messages{display:flex;flex-direction:column;height:320px;max-height:320px;overflow-y:auto;padding:22px 24px;gap:22px;background:#faf8f1;scrollbar-gutter:stable}
body[data-spark-page=conversation] .chat-message,body[data-spark-page=conversation] .chat-message.user{display:flex;align-items:flex-end;gap:10px;width:100%;max-width:100%;padding:0;border:0;border-radius:0;background:none;box-shadow:none;margin:0}
body[data-spark-page=conversation] .chat-message.user{flex-direction:row-reverse}
body[data-spark-page=conversation] .chat-avatar{display:grid;place-items:center;flex:0 0 32px;width:32px;height:36px;color:var(--practice-gold-ink)}
body[data-spark-page=conversation] .chat-avatar img{width:36px;height:36px;object-fit:contain}
body[data-spark-page=conversation] .chat-avatar svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
body[data-spark-page=conversation] .chat-bubble{max-width:80%;padding:13px 16px;background:var(--practice-surface);border:1px solid var(--practice-line);border-radius:14px 14px 14px 4px}
body[data-spark-page=conversation] .chat-message.user .chat-bubble{background:#fff1bf;border-color:#ebd694;border-radius:14px 14px 4px 14px}
body[data-spark-page=conversation] .chat-message .speaker{font-size:11px;font-weight:500;margin-bottom:5px}
body[data-spark-page=conversation] .chat-message p,body[data-spark-page=conversation] .chat-message.user p{font-size:15px;line-height:1.75;margin:0}
body[data-spark-page=conversation] .chat-listen{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:3px 6px;margin:8px 0 0 -6px;border:0;border-radius:6px;background:none;color:var(--practice-gold-ink);font-size:11px;cursor:pointer}
body[data-spark-page=conversation] .chat-listen:hover{background:#fff1bf}
body[data-spark-page=conversation] .chat-listen svg,body[data-spark-page=conversation] .voice-compose-actions svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
body[data-spark-page=conversation] .conversation-workspace .voice-workspace{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0;padding:18px 24px;border:0;border-radius:0;background:#faf8f1;min-height:110px}
body[data-spark-page=conversation] .voice-compose-copy{display:flex;align-items:center;gap:14px;min-width:0}
body[data-spark-page=conversation] .voice-state{font-size:14px;line-height:1.6}
body[data-spark-page=conversation] .voice-workspace .micro{margin:4px 0 0;font-size:12px;line-height:1.6;max-width:40ch}
body[data-spark-page=conversation] .voice-compose-actions{flex:none}
body[data-spark-page=conversation] .voice-workspace .button{min-width:158px;font-size:13px;min-height:46px}
body[data-spark-page=conversation] .voice-indicator{display:flex;align-items:center;justify-content:center;gap:3px;width:40px;height:40px;flex:none;border-radius:50%;background:#f5f2e8;color:var(--practice-gold-ink)}
body[data-spark-page=conversation] .voice-indicator i{width:3px;height:8px;border-radius:2px;background:currentColor}
body[data-spark-page=conversation] .voice-indicator i:nth-child(2n){height:16px}
body[data-spark-page=conversation] .voice-indicator i:nth-child(3){height:22px}
body[data-spark-page=conversation] .voice-workspace.recording{background:var(--practice-red-bg)}
body[data-spark-page=conversation] .voice-workspace.recording .voice-indicator{background:#f4ded5;color:var(--practice-red)}
body[data-spark-page=conversation] .voice-workspace[data-phase=processing] .voice-indicator{background:#fff1bf}
body[data-spark-page=conversation] .voice-workspace:is([data-phase=mic-error],[data-phase=silence],[data-phase=processing-error]) .voice-state{color:var(--practice-red)}
body[data-spark-page=conversation] .conversation-grid:has(#conversation-chat:not([hidden])) .conversation-support{position:sticky;top:24px}
body[data-spark-page=conversation] .practice-main:has(#conversation-chat:not([hidden]))>.dictation-intro{margin-bottom:16px}
body[data-spark-page=conversation] .practice-main:has(#conversation-chat:not([hidden])) .dictation-intro>[data-spark-slot]{display:none}
body[data-spark-page=conversation] .conversation-workspace .voice-workspace{justify-content:center;min-height:88px;padding:12px 24px 22px}
body[data-spark-page=conversation] .voice-workspace:is([data-phase=ready],[data-phase=recording]) .voice-compose-copy{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
body[data-spark-page=conversation] .voice-workspace .voice-indicator{display:none}
body[data-spark-page=conversation] .voice-compose-actions{padding-bottom:14px}
body[data-spark-page=conversation] .voice-workspace :is(#conversation-record,#conversation-stop){position:relative;width:54px;min-width:54px;height:44px;padding:10px;border-radius:9px}
body[data-spark-page=conversation] .voice-compose-actions :is(#conversation-record,#conversation-stop) svg{width:22px;height:22px}
body[data-spark-page=conversation] .voice-compose-actions kbd{position:absolute;top:calc(100% + 6px);left:50%;transform:translateX(-50%);font-family:inherit;font-size:10px;font-weight:500;line-height:16px;color:var(--practice-muted)}
body[data-spark-page=conversation] .voice-workspace[data-phase=processing] .voice-compose-actions{display:none}
body[data-spark-page=conversation] .chat-message{align-items:flex-start}
body[data-spark-page=conversation] .chat-avatar{margin-top:8px}
body[data-spark-page=conversation] .chat-message-content{max-width:80%;min-width:0}
body[data-spark-page=conversation] .chat-message-content .chat-bubble{max-width:100%}
body[data-spark-page=conversation] .chat-message-tools{display:flex;justify-content:flex-end;gap:7px;margin-top:7px}
body[data-spark-page=conversation] .chat-message-tools button{display:grid;place-items:center;width:30px;height:30px;min-height:30px;padding:6px;margin:0;border:1px solid var(--practice-line);border-radius:50%;background:var(--practice-surface);color:var(--practice-muted);cursor:pointer}
body[data-spark-page=conversation] .chat-message-tools button:hover,body[data-spark-page=conversation] .chat-message-tools button[aria-expanded=true]{background:#fff1bf;border-color:#d8bd77;color:var(--practice-gold-ink)}
body[data-spark-page=conversation] .chat-message-tools svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
body[data-spark-page=conversation] .chat-message .chat-translation{margin-top:10px;font-size:13px;line-height:1.7;color:var(--practice-muted);padding:0 4px}
body[data-spark-page=conversation] .voice-workspace[data-phase=recording] #conversation-stop{animation:conversation-recording-pulse 1.35s ease-in-out infinite}
@keyframes conversation-recording-pulse{
0%,100%{box-shadow:0 0 0 0 #854b3738;filter:brightness(1)}
50%{box-shadow:0 0 0 7px #854b3700;filter:brightness(1.12)}
}
@media(prefers-reduced-motion:reduce){body[data-spark-page=conversation] #conversation-stop{animation:none!important}}
}

/* Sentence review stays attached to the speaker; full review follows the task. */
@media(min-width:1100px){
body[data-spark-page=conversation] .turn-feedback{margin-top:7px;max-width:100%;color:var(--practice-muted);font-size:12px;line-height:1.7}
body[data-spark-page=conversation] .feedback-heading{display:flex;align-items:center;justify-content:space-between;gap:32px;padding:6px 0 22px}
body[data-spark-page=conversation] .feedback-heading h3{font-size:24px;line-height:1.4;letter-spacing:-.025em;margin:8px 0;font-weight:600}
body[data-spark-page=conversation] .feedback-heading p{font-size:13px;line-height:1.7;color:var(--practice-muted);margin:0}
body[data-spark-page=conversation] .feedback-achievement{flex:none;display:flex;flex-direction:column;align-items:center;padding:0 16px;color:var(--practice-gold-ink)}
body[data-spark-page=conversation] .feedback-achievement strong{font-size:38px;font-weight:600;line-height:1.2;letter-spacing:-.05em}
body[data-spark-page=conversation] .feedback-achievement strong span{font-size:22px;color:var(--practice-muted);font-weight:400}
body[data-spark-page=conversation] .feedback-achievement>span{font-size:11px;margin-top:5px}
body[data-spark-page=conversation] .feedback-missions{display:flex;align-items:center;gap:24px;padding:16px 0;margin:0;list-style:none;border-block:1px solid var(--practice-line)}
body[data-spark-page=conversation] .feedback-missions li{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--practice-ink)}
body[data-spark-page=conversation] .feedback-missions li span{color:var(--practice-gold-ink);font-size:14px}
body[data-spark-page=conversation] .feedback-takeaways{display:grid;grid-template-columns:1fr 1fr;gap:32px;padding:22px 0 26px}
body[data-spark-page=conversation] .feedback-takeaways h4{font-size:12px;font-weight:600;margin:0 0 8px;color:var(--practice-gold-ink)}
body[data-spark-page=conversation] .feedback-takeaways p{font-size:13px;line-height:1.8;color:var(--practice-muted);margin:0;max-width:55ch}
body[data-spark-page=conversation] .feedback-review{border-top:1px solid var(--practice-line);padding:24px 0}
body[data-spark-page=conversation] .feedback-review>h4{font-size:16px;font-weight:600;margin:0 0 18px}
body[data-spark-page=conversation] #feedback-tabs{display:flex;gap:6px;border-bottom:1px solid var(--practice-line);padding-bottom:8px}
body[data-spark-page=conversation] #feedback-tabs button{display:flex;align-items:center;justify-content:center;gap:8px;flex:1;min-height:42px;padding:8px 12px;white-space:nowrap;font:inherit;font-size:12px;font-weight:500;border:1px solid transparent;border-radius:8px;background:none;color:var(--practice-muted);cursor:pointer}
body[data-spark-page=conversation] #feedback-tabs button[aria-selected=true]{background:#fff1bf;border-color:#ebd694;color:var(--practice-gold-ink)}
body[data-spark-page=conversation] #feedback-tabs button:hover{background:#f8f6eb;color:var(--practice-ink)}
body[data-spark-page=conversation] #feedback-tabs svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
body[data-spark-page=conversation] .feedback-criterion-intro{font-size:12px;line-height:1.7;color:var(--practice-muted);margin:16px 0 24px}
body[data-spark-page=conversation] .feedback-timeline{padding:0;margin:0;list-style:none}
body[data-spark-page=conversation] .feedback-turn{display:grid;grid-template-columns:32px minmax(0,1fr);gap:16px;padding-bottom:24px;position:relative}
body[data-spark-page=conversation] .feedback-turn:not(:last-child)::before{content:'';position:absolute;left:15px;top:32px;bottom:0;width:1px;background:var(--practice-line)}
body[data-spark-page=conversation] .feedback-turn-number{display:grid;place-items:center;width:32px;height:32px;border:1px solid var(--practice-line);border-radius:50%;font-size:11px;font-weight:500;color:var(--practice-gold-ink);background:#faf8f1;font-variant-numeric:tabular-nums}
body[data-spark-page=conversation] .feedback-question{font-size:13px;line-height:1.7;color:var(--practice-muted);margin:3px 0 10px}
body[data-spark-page=conversation] .feedback-answer{font-size:15px;line-height:1.8;background:#faf8f1;border:0;border-radius:8px;padding:12px 16px;margin:0;color:var(--practice-ink)}
body[data-spark-page=conversation] .feedback-turn-note{padding:12px 16px 0}
body[data-spark-page=conversation] .feedback-turn-note p{font-size:12px;line-height:1.8;color:var(--practice-muted);margin:5px 0}
body[data-spark-page=conversation] .feedback-turn-note p[lang=en]{font-size:14px;font-weight:500;color:var(--practice-gold-ink)}
}

@media(min-width:1100px){
body[data-spark-page=conversation] .feedback-turn .turn-feedback{margin:5px 16px 0}
}

/* Sentence review: one icon at rest, two-tab card on demand. */
@media(min-width:1100px){
body[data-spark-page=conversation] .turn-feedback{margin-top:8px;max-width:100%;font-size:13px;line-height:1.7}
body[data-spark-page=conversation] .turn-feedback.is-open{margin-top:0}
body[data-spark-page=conversation] .sentence-review-tools{display:flex;align-items:center;gap:8px;margin-top:7px}
body[data-spark-page=conversation] .turn-feedback-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:32px;height:32px;padding:6px;border:1px solid var(--practice-line);border-radius:50%;background:var(--practice-surface);color:var(--practice-gold-ink);cursor:pointer;font:inherit;font-size:11px}
body[data-spark-page=conversation] .turn-feedback-toggle[aria-expanded=true]{border-color:#d8bd77;background:#fff9e6;border-radius:18px;padding-inline:10px}
body[data-spark-page=conversation] .turn-feedback-toggle:hover{background:#fff1bf;border-color:#d8bd77}
body[data-spark-page=conversation] .turn-feedback-toggle svg{width:17px;height:17px;fill:currentColor;stroke:currentColor;stroke-width:1;flex:none}
body[data-spark-page=conversation] .sentence-review-card{padding:18px 20px;background:var(--practice-surface);border:1px solid var(--practice-line);border-radius:18px 4px 18px 18px;color:var(--practice-ink);box-shadow:0 2px 5px #29291608}
body[data-spark-page=conversation] .sentence-review-tabs{display:flex;gap:8px;margin-bottom:18px}
body[data-spark-page=conversation] .sentence-review-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;padding:6px 12px;border:1px solid var(--practice-line);border-radius:20px;background:none;color:var(--practice-ink);font:inherit;font-size:12px;cursor:pointer;white-space:nowrap}
body[data-spark-page=conversation] .sentence-review-tabs button[aria-selected=true]{color:var(--practice-gold-ink);border-color:#b89539;background:#fffaf0}
body[data-spark-page=conversation] .sentence-review-tabs button:hover{background:#faf8f1}
body[data-spark-page=conversation] .sentence-review-tabs svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
body[data-spark-page=conversation] .sentence-review-card .sentence-review-comment{font-size:13px;line-height:1.8;color:var(--practice-gold-ink);margin:0 0 8px}
body[data-spark-page=conversation] .sentence-review-card .sentence-review-suggestion{font-size:14px;line-height:1.8;margin:0 0 16px;color:var(--practice-gold-ink)}
body[data-spark-page=conversation] .sentence-review-card .sentence-review-transcript{border-top:1px solid var(--practice-line);padding-top:16px;font-size:16px;line-height:1.9;margin:0}
body[data-spark-page=conversation] .review-word{font-weight:600;border-radius:3px}
body[data-spark-page=conversation] .review-word.clear{color:#17633a;background:#dff2e3}
body[data-spark-page=conversation] .review-word.practice{color:#755800;background:#fff0a6;border-radius:3px;text-decoration:underline dotted;text-underline-offset:4px}
body[data-spark-page=conversation] .review-word.unclear{color:#b42318;background:#fde5e3;text-decoration:underline;text-underline-offset:4px}
body[data-spark-page=conversation] .sentence-word-legend,body[data-spark-page=conversation] .sentence-pause-legend{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;font-size:10px;line-height:1.7;color:var(--practice-muted);margin-top:12px}
body[data-spark-page=conversation] .sentence-word-legend>span,body[data-spark-page=conversation] .sentence-pause-legend>span{display:inline-flex;align-items:center;gap:6px}
body[data-spark-page=conversation] .sentence-word-legend>span::before{content:'';width:6px;height:6px;border-radius:50%;background:#17633a}
body[data-spark-page=conversation] .sentence-word-legend>.practice::before{background:#d5ab00}
body[data-spark-page=conversation] .sentence-word-legend>.unclear::before{background:#b42318}
body[data-spark-page=conversation] .sentence-review-card .sentence-pauses{font-size:16px;line-height:2;margin:0}
body[data-spark-page=conversation] .pause-marker{display:inline-block;width:16px;height:3px;background:#357246;vertical-align:baseline;border-radius:2px;margin-inline:4px}
body[data-spark-page=conversation] .pause-marker.bad{background:#a83f39}
body[data-spark-page=conversation] .sentence-pause-legend>span::before{content:'';width:15px;height:3px;border-radius:2px;background:#357246}
body[data-spark-page=conversation] .sentence-pause-legend>.bad::before{background:#a83f39}
body[data-spark-page=conversation] .sentence-pause-legend>.repeat::before{width:6px;height:6px;border-radius:50%;background:#a83f39}
body[data-spark-page=conversation] .sentence-pause-legend>.filler::before{width:6px;height:6px;border-radius:50%;background:#b48523}
body[data-spark-page=conversation] .speech-speed{margin-top:18px;padding-top:16px;border-top:1px solid var(--practice-line);padding-bottom:12px}
body[data-spark-page=conversation] .speech-speed p{font-size:13px;line-height:1.7;margin:0 0 10px}
body[data-spark-page=conversation] .speech-speed strong{font-weight:500;color:var(--practice-gold-ink)}
body[data-spark-page=conversation] .speech-speed-gauge{position:relative;width:100%;height:17px;border-radius:5px;background:linear-gradient(90deg,#b94c3f 0%,#d7a23e 20%,#e1c856 35%,#74a75b 45%,#74a75b 60%,#e1c856 72%,#d7a23e 83%,#b94c3f 100%)}
body[data-spark-page=conversation] .speech-speed-marker{position:absolute;top:calc(100% + 4px);transform:translateX(-50%);width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-bottom:6px solid var(--practice-muted)}
body[data-spark-page=conversation] .feedback-turn .turn-feedback{margin:8px 0 0}
body[data-spark-page=conversation] .sentence-review-card [role=tabpanel]:focus-visible{outline:2px solid var(--practice-gold-ink);outline-offset:5px;border-radius:4px}
}

@media(min-width:1100px){
body[data-spark-page=conversation] .conversation-ended{padding:24px;border-top:1px solid var(--practice-line);background:var(--practice-surface);text-align:center}
body[data-spark-page=conversation] .conversation-ended h4{font-size:15px;line-height:1.6;font-weight:600;margin:0 0 6px}
body[data-spark-page=conversation] .conversation-ended p{font-size:13px;line-height:1.7;color:var(--practice-muted);margin:0}
body[data-spark-page=conversation] .conversation-ended-actions{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:18px}
body[data-spark-page=conversation] .conversation-ended-actions .button{min-height:42px;gap:8px}
body[data-spark-page=conversation] .conversation-ended-actions svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
body[data-spark-page=conversation] #conversation-back-to-chat{margin:0 0 20px;font-size:12px}
}

/* Persistent context rail for conversation and review. */
@media(min-width:1100px){
body[data-spark-page=conversation] .conversation-support{display:flex;flex-direction:column;align-self:start;gap:16px;position:sticky;top:24px;min-width:0}
body[data-spark-page=conversation] .conversation-support>.card{margin:0;padding:20px}
body[data-spark-page=conversation] .conversation-support h3{font-size:16px;font-weight:600;line-height:1.5;margin:0 0 16px;color:var(--practice-ink)}
body[data-spark-page=conversation] #conversation-task-title{display:flex;justify-content:space-between;align-items:center;gap:12px}
body[data-spark-page=conversation] #conversation-task-count{font-size:11px;font-weight:500;color:var(--practice-muted);font-variant-numeric:tabular-nums}
body[data-spark-page=conversation] .conversation-task-list{display:flex;flex-direction:column;gap:8px;list-style:none;margin:0;padding:0}
body[data-spark-page=conversation] .conversation-task-list li{display:flex;align-items:flex-start;gap:10px;padding:12px;border-radius:8px;background:#f8f6ee;color:var(--practice-ink);font-size:12px;line-height:1.6}
body[data-spark-page=conversation] .conversation-task-list li[data-complete=true]{background:#eaf3e6;color:#315e3b}
body[data-spark-page=conversation] .mission-check{display:grid;place-items:center;flex:none;width:17px;height:17px;border:1px solid #b9bbae;border-radius:4px;margin-top:1px;font-size:11px;line-height:1}
body[data-spark-page=conversation] [data-complete=true] .mission-check{background:#386c46;border-color:#386c46;color:white}
body[data-spark-page=conversation] .mission-status{display:block;margin-top:3px;font-size:10px;color:var(--practice-muted)}
body[data-spark-page=conversation] [data-complete=true] .mission-status{color:#386c46}
body[data-spark-page=conversation] .conversation-description-tags{display:flex;gap:8px;margin-bottom:14px}
body[data-spark-page=conversation] .conversation-description-tags span{font-size:11px;line-height:1.5;padding:4px 9px;border-radius:6px;background:#edf2e8;color:#3d6044}
body[data-spark-page=conversation] .conversation-description-tags span:last-child{background:#fff1bf;color:var(--practice-gold-ink)}
body[data-spark-page=conversation] .conversation-description p{font-size:12px;line-height:1.8;color:var(--practice-muted);margin:0}
body[data-spark-page=conversation] .conversation-context-more{margin-top:8px}
body[data-spark-page=conversation] .conversation-context-more summary{font-size:12px;font-weight:500;min-height:24px}
body[data-spark-page=conversation] .conversation-context-more p{margin-top:8px}
body[data-spark-page=conversation] .conversation-roles{margin:18px 0 0;border-top:1px solid var(--practice-line);padding-top:14px;display:flex;flex-direction:column;gap:12px}
body[data-spark-page=conversation] .conversation-roles>div{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:baseline;gap:10px;font-size:11px;line-height:1.6}
body[data-spark-page=conversation] .conversation-roles dt{font-weight:600;color:var(--practice-gold-ink)}
body[data-spark-page=conversation] .conversation-roles dd{margin:0;color:var(--practice-muted)}
}

@media(min-width:1100px){
body[data-spark-page=conversation] .conversation-inline-hints{margin:0;background:#faf8f1;border-radius:0;padding:8px 24px 0}
body[data-spark-page=conversation] .conversation-inline-hints>summary{display:flex;align-items:center;gap:8px;list-style:none;cursor:pointer;min-height:36px}
body[data-spark-page=conversation] .conversation-inline-hints>summary::-webkit-details-marker{display:none}
body[data-spark-page=conversation] .conversation-inline-hints>summary::after{content:'';width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin-left:auto;margin-right:3px}
body[data-spark-page=conversation] .conversation-inline-hints[open]>summary::after{transform:rotate(225deg);margin-top:5px}
body[data-spark-page=conversation] .conversation-inline-hints h3{font-size:12px;font-weight:500;line-height:1.6;margin:0}
body[data-spark-page=conversation] .hint-spark{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#fff1bf;color:var(--practice-gold-ink)}
body[data-spark-page=conversation] .hint-spark svg{width:14px;height:14px;fill:currentColor;stroke:currentColor;stroke-width:1}
body[data-spark-page=conversation] #conversation-hint-list{list-style:none;counter-reset:hint;margin:10px 0 4px;padding:16px;background:var(--practice-surface);border-radius:10px;display:flex;flex-direction:column;gap:18px}
body[data-spark-page=conversation] #conversation-hint-list li{counter-increment:hint;display:grid;grid-template-columns:16px minmax(0,1fr) auto;align-items:start;gap:10px;font-size:14px;line-height:1.8}
body[data-spark-page=conversation] #conversation-hint-list li::before{content:counter(hint)'.';color:var(--practice-muted);font-size:12px;padding-top:2px}
body[data-spark-page=conversation] .hint-sentence p{margin:0;font-size:14px;line-height:1.8}
body[data-spark-page=conversation] .hint-sentence .hint-translation{font-size:12px;color:var(--practice-muted);margin-top:6px}
body[data-spark-page=conversation] .hint-sentence-tools{display:flex;gap:6px;align-items:center}
body[data-spark-page=conversation] .hint-sentence-tools button{display:grid;place-items:center;width:30px;height:30px;padding:6px;border-radius:50%;border:1px solid var(--practice-line);background:var(--practice-surface);color:var(--practice-muted);cursor:pointer}
body[data-spark-page=conversation] .hint-sentence-tools button:hover,body[data-spark-page=conversation] .hint-sentence-tools button[aria-expanded=true]{color:var(--practice-gold-ink);background:#fff1bf;border-color:#d8bd77}
body[data-spark-page=conversation] .hint-sentence-tools svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
}

/* Review follows a dedicated header, criterion controls and annotated timeline. */
@media(min-width:1100px){
body[data-spark-page=conversation] .conversation-workspace:has(#conversation-final:not([hidden]))>.conversation-content-heading{display:none}
body[data-spark-page=conversation] .practice-main:has(#conversation-final:not([hidden]))>.dictation-intro{display:none}
body[data-spark-page=conversation] .conversation-workspace #conversation-final{display:flex;flex-direction:column;padding:0;height:calc(100vh - 280px);min-height:450px;overflow:hidden}
body[data-spark-page=conversation] .review-screen-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;border-bottom:1px solid var(--practice-line);flex:none}
body[data-spark-page=conversation] .review-screen-header>div{display:flex;align-items:center;gap:10px;min-width:0}
body[data-spark-page=conversation] .review-screen-header h3{font-size:18px;line-height:1.5;font-weight:600;letter-spacing:-.02em;margin:0}
body[data-spark-page=conversation] .review-screen-header #conversation-back-to-chat{display:grid;place-items:center;width:34px;height:34px;margin:0;padding:7px;flex:none;border:1px solid var(--practice-line);border-radius:50%;background:var(--practice-surface);color:var(--practice-muted);cursor:pointer}
body[data-spark-page=conversation] .review-screen-header .button{display:flex;align-items:center;gap:7px;min-height:38px;font-size:12px;padding:8px 14px;flex:none}
body[data-spark-page=conversation] .review-screen-header svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
body[data-spark-page=conversation] .review-screen-body{padding:20px;overflow-y:auto;min-height:0;overscroll-behavior:contain;scrollbar-gutter:stable}
body[data-spark-page=conversation] .review-scenario-title{font-size:16px;line-height:1.6;font-weight:600;margin:0 0 20px}
body[data-spark-page=conversation] #feedback-tabs{gap:7px;padding:0;border:0;margin-bottom:22px}
body[data-spark-page=conversation] #feedback-tabs button{flex:1;min-width:0;min-height:58px;padding:9px 7px;gap:6px;font-size:11px;border:1px solid var(--practice-line);border-radius:8px;background:var(--practice-surface)}
body[data-spark-page=conversation] #feedback-tabs button[aria-selected=true]{color:var(--practice-gold-ink);border-color:#b89540;background:#fff9e5}
body[data-spark-page=conversation] #feedback-tabs button:hover{background:#f8f6eb}
body[data-spark-page=conversation] #feedback-tabs svg{width:19px;height:19px}
body[data-spark-page=conversation] .review-timeline-title{font-size:14px;font-weight:600;line-height:1.7;margin:0 0 16px}
body[data-spark-page=conversation] #feedback-panel>.sentence-word-legend,body[data-spark-page=conversation] #feedback-panel>.sentence-pause-legend{margin:-4px 0 20px}
body[data-spark-page=conversation] .feedback-turn{display:flex;flex-direction:column;gap:14px;padding:0 0 24px}
body[data-spark-page=conversation] .feedback-turn:not(:last-child)::before{left:15px;top:32px;bottom:0}
body[data-spark-page=conversation] .review-question-row{display:grid;grid-template-columns:32px minmax(0,1fr);align-items:start;gap:10px;position:relative}
body[data-spark-page=conversation] .review-question-row img{width:32px;height:32px;object-fit:contain;background:var(--practice-surface);z-index:1}
body[data-spark-page=conversation] .feedback-question{border:1px solid var(--practice-line);border-radius:9px;padding:12px 14px;margin:0;background:var(--practice-surface);color:var(--practice-ink);font-size:13px;line-height:1.8}
body[data-spark-page=conversation] .review-response{margin-left:42px;position:relative;border-radius:10px;background:#f5f4ec;padding:14px 16px;min-width:0}
body[data-spark-page=conversation] .review-response::before{content:'';position:absolute;left:-31px;top:20px;width:9px;height:9px;border-radius:50%;background:#b9d6b9;box-shadow:0 0 0 4px var(--practice-surface)}
body[data-spark-page=conversation] .review-response-label{display:block;font-size:10px;line-height:1.7;color:#386c46;font-weight:500;margin-bottom:8px}
body[data-spark-page=conversation] .review-response p{font-size:14px;line-height:1.9;margin:0}
body[data-spark-page=conversation] .review-response .review-explanation{font-size:11px;line-height:1.8;color:var(--practice-muted);margin-top:10px}
body[data-spark-page=conversation] .review-response .review-key-phrase{display:inline-block;font-size:13px;line-height:1.8;color:#17633a;background:#dff2e3;border-radius:4px;padding:2px 5px;margin-top:10px}
body[data-spark-page=conversation] .review-response .review-correction{font-size:13px;margin-top:10px}
body[data-spark-page=conversation] .review-correction ins{text-decoration:none;background:#dff2e3;color:#17633a;border-radius:3px;padding:2px 4px}
body[data-spark-page=conversation] .review-intonation strong{font-weight:700;color:var(--practice-gold-ink)}
body[data-spark-page=conversation] .review-response .speech-speed{margin-top:12px;padding-top:12px}
body[data-spark-page=conversation] .review-response .speech-speed p{font-size:11px;margin-bottom:8px}
}

@media(min-width:1100px){
body[data-spark-page=conversation] .review-response-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
body[data-spark-page=conversation] .review-response-header .review-response-label{margin:0}
body[data-spark-page=conversation] .review-recording-play{display:grid;place-items:center;width:30px;height:30px;border:1px solid var(--practice-line);border-radius:50%;padding:6px;background:var(--practice-surface);color:#386c46;cursor:pointer}
body[data-spark-page=conversation] .review-recording-play svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
body[data-spark-page=conversation] .review-recording-play:hover,body[data-spark-page=conversation] .review-recording-play[aria-pressed=true]{background:#dff2e3;border-color:#7da783}
body[data-spark-page=conversation] .review-recording-play:disabled{opacity:.4;cursor:default}
body[data-spark-page=conversation] .voice-workspace:is([data-phase=requesting-mic],[data-phase=saving-recording]) .voice-compose-actions{display:none}
}

@media(min-width:1100px){
body[data-spark-page=conversation] .review-response p>.review-recording-play{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;margin:0 8px 2px 0;width:26px;height:26px;padding:4px}
}

@media(min-width:1100px){
body[data-spark-page=conversation] .vocabulary-summary{display:grid;grid-template-columns:minmax(130px,.85fr) minmax(0,1.6fr);gap:24px;align-items:stretch;margin:8px 0 24px}
body[data-spark-page=conversation] .vocabulary-overview{display:flex;flex-direction:column;justify-content:space-between;gap:24px;padding-bottom:24px}
body[data-spark-page=conversation] .vocabulary-overview h4{font-size:14px;line-height:1.7;font-weight:600;margin:0}
body[data-spark-page=conversation] .vocabulary-advanced{display:flex;flex-direction:column;gap:5px}
body[data-spark-page=conversation] .vocabulary-advanced strong{font-size:40px;line-height:1.15;letter-spacing:-.04em;color:#386c46;font-weight:600}
body[data-spark-page=conversation] .vocabulary-advanced span{font-size:12px;line-height:1.7;color:var(--practice-muted)}
body[data-spark-page=conversation] .vocabulary-advanced small{font-size:10px;line-height:1.6;color:var(--practice-muted)}
body[data-spark-page=conversation] .vocabulary-level-chart{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;min-width:0}
body[data-spark-page=conversation] .vocabulary-level-bar{display:flex;flex-direction:column;align-items:center;gap:7px;min-width:0}
body[data-spark-page=conversation] .vocabulary-level-track{position:relative;width:100%;height:158px;background:#f0f1ec;border-radius:8px;isolation:isolate}
body[data-spark-page=conversation] .vocabulary-level-fill{position:absolute;bottom:0;left:0;width:100%;background:var(--cefr-color);border-radius:8px}
body[data-spark-page=conversation] .vocabulary-level-value{position:absolute;left:50%;transform:translateX(-50%);font-size:12px;line-height:1.7;font-weight:500;color:var(--practice-ink);padding-bottom:3px;white-space:nowrap}
body[data-spark-page=conversation] .vocabulary-level-label{display:inline-flex;align-items:center;justify-content:center;padding:3px 7px;min-width:30px;background:var(--cefr-color);color:var(--cefr-ink,#fff);font-size:12px;font-weight:500;line-height:1.6;border-radius:4px}
body[data-spark-page=conversation] .cefr-a1{--cefr-color:#b9dfc8;--cefr-ink:#214d35}
body[data-spark-page=conversation] .cefr-a2{--cefr-color:#75b794;--cefr-ink:#183f2d}
body[data-spark-page=conversation] .cefr-b1{--cefr-color:#397b57}
body[data-spark-page=conversation] .cefr-b2{--cefr-color:#2c6246}
body[data-spark-page=conversation] .cefr-c1{--cefr-color:#204a36}
body[data-spark-page=conversation] .cefr-c2{--cefr-color:#303930}
body[data-spark-page=conversation] .vocabulary-level-table{border-collapse:separate;border-spacing:0;overflow:hidden;border:1px solid var(--practice-line);border-radius:9px;width:100%;font-size:13px;line-height:2}
body[data-spark-page=conversation] .vocabulary-level-table caption{text-align:left;font-size:12px;font-weight:500;line-height:1.7;margin-bottom:12px}
body[data-spark-page=conversation] .vocabulary-level-table tr:nth-child(odd){background:#f4f4ed}
body[data-spark-page=conversation] .vocabulary-level-table th{padding:16px;width:64px;text-align:left;vertical-align:top}
body[data-spark-page=conversation] .vocabulary-level-table td{padding:16px 16px 16px 0;color:var(--practice-muted);overflow-wrap:anywhere}
body[data-spark-page=conversation] .vocabulary-level-table .vocabulary-empty{font-size:12px;color:var(--practice-muted)}
}

@media(min-width:1100px){
body[data-spark-page=conversation] .grammar-controls{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:0 0 22px}
body[data-spark-page=conversation] .grammar-legend{display:flex;align-items:center;gap:14px;flex-wrap:wrap;font-size:10px;line-height:1.7;color:var(--practice-muted)}
body[data-spark-page=conversation] .grammar-legend>span{display:inline-flex;align-items:center;gap:6px}
body[data-spark-page=conversation] .grammar-legend>span::before{content:'';width:13px;height:9px;border-radius:2px;background:#fde5e3;border-bottom:2px solid #b42318}
body[data-spark-page=conversation] .grammar-legend>.improve::before{background:#fff0a6;border-color:#755800}
body[data-spark-page=conversation] .grammar-legend>.corrected::before{background:#dff2e3;border-color:#17633a}
body[data-spark-page=conversation] .grammar-suggestions-label{display:inline-flex;align-items:center;gap:7px;font-size:11px;color:var(--practice-muted);cursor:pointer}
body[data-spark-page=conversation] #grammar-suggestions{appearance:none;position:relative;width:29px;height:17px;border:1px solid #aaa99d;border-radius:20px;background:#c4c3b7;cursor:pointer;margin:0}
body[data-spark-page=conversation] #grammar-suggestions::after{content:'';position:absolute;top:2px;left:2px;width:11px;height:11px;border-radius:50%;background:white}
body[data-spark-page=conversation] #grammar-suggestions:checked{background:#476c43;border-color:#476c43}
body[data-spark-page=conversation] #grammar-suggestions:checked::after{left:14px}
body[data-spark-page=conversation] #grammar-suggestions:focus-visible{outline:2px solid var(--practice-gold-ink);outline-offset:3px}
body[data-spark-page=conversation] .grammar-original.has-suggestion[data-kind=improve]{display:inline;color:#755800;background:#fff0a6;text-decoration:underline dotted;text-underline-offset:4px;border-radius:3px}
body[data-spark-page=conversation] .grammar-original.has-suggestion[data-kind=error]{color:#b42318;background:#fde5e3;text-decoration:line-through}
body[data-spark-page=conversation] .grammar-correction{margin-top:12px}
body[data-spark-page=conversation] .grammar-correction>summary{display:inline;list-style:none;font-size:13px;line-height:2;cursor:pointer;color:#17633a}
body[data-spark-page=conversation] .grammar-correction>summary::-webkit-details-marker{display:none}
body[data-spark-page=conversation] .grammar-example-label{color:var(--practice-muted);font-size:11px}
body[data-spark-page=conversation] .grammar-replacement{background:#dff2e3;padding:3px 5px;border-radius:4px}
body[data-spark-page=conversation] .grammar-correction>summary::after{content:'';display:inline-block;width:6px;height:6px;border-right:1.5px solid #17633a;border-bottom:1.5px solid #17633a;transform:rotate(45deg);margin:0 4px 3px 8px}
body[data-spark-page=conversation] .grammar-correction[open]>summary::after{transform:rotate(225deg);margin-bottom:0}
body[data-spark-page=conversation] .grammar-correction-detail{margin-top:12px;padding:12px 14px;background:var(--practice-surface);border:1px solid var(--practice-line);border-radius:8px}
body[data-spark-page=conversation] .grammar-correction-detail strong{font-size:12px;font-weight:600;color:var(--practice-ink)}
body[data-spark-page=conversation] .review-response .grammar-correction-detail p{font-size:12px;line-height:1.8;color:var(--practice-muted);margin-top:5px}
}

@media(min-width:1100px){
body[data-spark-page=conversation] .review-average-speed{margin:0 0 26px;padding:16px 18px 28px;border:0;border-radius:10px;background:#f5f4ec}
body[data-spark-page=conversation] .review-average-speed p{font-size:13px;line-height:1.7;margin:0 0 12px}
}

@media(min-width:1100px){
body[data-spark-page=conversation] .intonation-tabs{display:flex;gap:18px;border-bottom:1px solid var(--practice-line);margin:0 0 22px}
body[data-spark-page=conversation] .intonation-tabs button{background:none;border:0;border-bottom:2px solid transparent;padding:10px 2px;font:inherit;font-size:12px;color:var(--practice-muted);cursor:pointer;white-space:nowrap}
body[data-spark-page=conversation] .intonation-tabs button[aria-selected=true]{border-bottom-color:var(--practice-gold-ink);color:var(--practice-ink);font-weight:600}
body[data-spark-page=conversation] .intonation-tabs button:hover{color:var(--practice-gold-ink)}
body[data-spark-page=conversation] .intonation-legend{display:flex;gap:16px;flex-wrap:wrap;margin:0 0 22px;font-size:10px;line-height:1.7;color:var(--practice-muted)}
body[data-spark-page=conversation] .intonation-legend>span{display:inline-flex;align-items:center;gap:6px}
body[data-spark-page=conversation] .intonation-legend>span::before{content:'';width:6px;height:6px;border-radius:50%;background:#b42318}
body[data-spark-page=conversation] .intonation-legend>.correct::before{background:#17633a}
body[data-spark-page=conversation] .intonation-legend>.missing::before{background:#d5ab00}
body[data-spark-page=conversation] .intonation-stress{font-size:1.2em;font-weight:650;line-height:1.8;border-radius:3px}
body[data-spark-page=conversation] :is(.intonation-stress,.intonation-syllable).wrong{color:#b42318;background:#fde5e3;text-decoration:underline;text-underline-offset:4px}
body[data-spark-page=conversation] :is(.intonation-stress,.intonation-syllable).correct{color:#17633a;background:#dff2e3}
body[data-spark-page=conversation] :is(.intonation-stress,.intonation-syllable).missing{color:#755800;background:#fff0a6;text-decoration:underline dotted;text-underline-offset:4px}
body[data-spark-page=conversation] .intonation-syllable{display:inline-block;border-radius:3px;padding:0 3px}
body[data-spark-page=conversation] .intonation-syllable strong{font-weight:700;font-size:1.2em;color:inherit}
body[data-spark-page=conversation] .review-response .intonation-no-data{text-align:center;font-size:12px;line-height:1.7;color:var(--practice-muted);margin:6px 0 14px}
}

/* Reference motion, within the approved desktop lesson frame. */
@media(min-width:1100px){
body[data-lesson-shell][data-spark-page=conversation] .lesson-content>main{padding-bottom:16px}
body[data-lesson-shell][data-spark-page=conversation] .lesson-content>main:has(#conversation-intro:not([hidden])){max-width:1080px}
body[data-spark-page=conversation] .dictation-intro{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
body[data-spark-page=conversation] #conversation-progress{font-size:13px;font-weight:550;color:var(--practice-muted);font-variant-numeric:tabular-nums}
body[data-spark-page=conversation] .conversation-workspace:has(#conversation-intro:not([hidden])){background:transparent;border:0;box-shadow:none;overflow:visible}
body[data-spark-page=conversation] .conversation-workspace #conversation-intro{padding:0;overflow:visible}
body[data-spark-page=conversation] .conversation-scene{grid-template-columns:minmax(0,1fr) 360px;gap:40px;align-items:start;margin:0;min-height:0}
body[data-spark-page=conversation] .conversation-scene-copy{position:relative;z-index:1;padding:0}
body[data-spark-page=conversation] .task-card h3{max-width:18ch;margin:0 0 14px;font-size:38px;font-weight:700;line-height:1.18;letter-spacing:-.03em;text-wrap:balance;color:var(--practice-ink)}
body[data-spark-page=conversation] .conversation-scenario{font-size:14px;line-height:1.85;max-width:52ch;color:#565e4e}
body[data-spark-page=conversation] .conversation-role{margin-top:16px;font-size:13px;line-height:1.7;color:#565e4e}
body[data-spark-page=conversation] .conversation-role strong{color:var(--practice-ink)}
body[data-spark-page=conversation] .conversation-scene-art{position:relative;align-self:start;height:430px;min-height:0;padding:0;margin-top:4px}
body[data-spark-page=conversation] .conversation-scene-image{width:100%;height:100%;max-height:none;min-height:0;object-fit:cover;border-radius:32px 32px 70px 32px;transform-origin:60% 65%}
body[data-spark-page=conversation] .conversation-start-row{flex-direction:row-reverse;align-items:center;justify-content:flex-end;gap:18px;border:0;padding:0;margin-top:24px}
body[data-spark-page=conversation] .conversation-start-row>.button{min-height:50px;padding-inline:16px}
body[data-spark-page=conversation] .conversation-format{font-size:12px;gap:9px;color:#565e4e}
body[data-spark-page=conversation] .conversation-format strong{font-weight:550}
body[data-spark-page=conversation] .conversation-format>svg{width:18px;height:18px}
body[data-spark-page=conversation] .conversation-mission{display:block;border-top:1px solid #dddcc8;padding-top:16px;margin-top:20px}
body[data-spark-page=conversation] .conversation-mission h4{font-size:14px;line-height:1.65;margin:0 0 12px;max-width:none}
body[data-spark-page=conversation] .conversation-brief{grid-template-columns:1fr;gap:12px;margin:0;counter-reset:conversation-goal}
body[data-spark-page=conversation] .conversation-brief li{display:flex;align-items:center;gap:12px;position:relative;padding:0;counter-increment:conversation-goal}
body[data-spark-page=conversation] .conversation-brief li:before{content:counter(conversation-goal);flex:none;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#edf1df;color:#465638;font-size:12px;font-weight:650}
body[data-spark-page=conversation] .conversation-brief li:after{content:none}
body[data-spark-page=conversation] .conversation-brief li>svg{display:none}
body[data-spark-page=conversation] .conversation-brief strong{font-size:13px;line-height:1.7;margin:0}
body[data-spark-page=conversation] .conversation-brief p{min-height:0;font-size:12px;line-height:1.8;color:#565e4e}
body[data-spark-page=conversation] .conversation-brief li>div{display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 10px}
body[data-spark-page=conversation] .dictation-bottom-nav{margin-top:20px;padding-top:16px}
/* Reading sequence: title → setting → role → goals → launch.
   Reserve every block's space; visibility also keeps waiting controls out of Tab order. */
body[data-spark-page=conversation][data-glass-motion=true] #conversation-intro:not([hidden]) .conversation-scene-copy>h3{animation:conversation-title-in 700ms cubic-bezier(.16,1,.3,1) both}
body[data-spark-page=conversation][data-glass-motion=true] #conversation-intro:not([hidden]) .conversation-scene-image{animation:conversation-scene-in 800ms cubic-bezier(.16,1,.3,1) 700ms both}
body[data-spark-page=conversation][data-glass-motion=true] #conversation-intro:not([hidden]) :is(.conversation-scenario,.conversation-role,.conversation-start-row,.conversation-mission h4,.conversation-brief li){animation:conversation-reading-in 550ms cubic-bezier(.16,1,.3,1) var(--reading-delay) both}
body[data-spark-page=conversation] .conversation-scenario{--reading-delay:2s}
body[data-spark-page=conversation] .conversation-role{--reading-delay:5.5s}
body[data-spark-page=conversation] .conversation-start-row{--reading-delay:15s}
body[data-spark-page=conversation] .conversation-mission h4{--reading-delay:7.3s}
body[data-spark-page=conversation] .conversation-brief li{--reading-delay:8.5s}
body[data-spark-page=conversation] .conversation-brief li:nth-child(2){--reading-delay:10.5s}
body[data-spark-page=conversation] .conversation-brief li:nth-child(3){--reading-delay:12.5s}
@keyframes conversation-reading-in{from{opacity:0;visibility:hidden;transform:translateY(12px)}to{opacity:1;visibility:visible;transform:none}}
body[data-spark-page=conversation][data-glass-motion=true] .chat-message{animation:conversation-arrive 240ms cubic-bezier(.16,1,.3,1) both}
@keyframes conversation-title-in{from{clip-path:inset(0 0 100%);transform:translateY(14px)}to{clip-path:inset(0);transform:none}}
@keyframes conversation-scene-in{from{visibility:hidden;opacity:0;transform:translateX(28px) rotate(2deg) scale(.96)}to{visibility:visible;opacity:1;transform:none}}
@keyframes conversation-arrive{from{opacity:.25;transform:translateY(14px)}to{opacity:1;transform:none}}
}
@media(min-width:1100px) and (max-width:1300px){body[data-spark-page=conversation] .conversation-scene{gap:28px}body[data-spark-page=conversation] .task-card h3{font-size:36px}}
@media(prefers-reduced-motion:reduce){body[data-spark-page=conversation] #conversation-intro *,body[data-spark-page=conversation] .chat-message{animation:none!important;transition:none!important;clip-path:none!important;transform:none!important}}
