
/* Learning flow v3: same theme, clearer single path from meaning to corrected speech. */
.meaning-block{margin-top:20px;padding:17px 20px;border:1px solid #cfe1df;border-left:4px solid #478b85;border-radius:10px;background:#f4faf8}
.meaning-block h4,.model-answer h4{font-size:1.03rem;color:#183b47;margin-bottom:10px}
.meaning-block h4 span,.model-answer h4 span{font-size:.82rem;font-weight:450;color:#627780}
.meaning-block .pair p{margin-bottom:5px}
.context-corrections{list-style:none;display:grid;gap:14px;padding:0;margin:16px 0 0}
.context-correction{padding:0;border:1px solid #dae8e7;border-radius:12px;overflow:hidden;background:#fff}
.correction-step{display:flex;align-items:flex-start;gap:12px;padding:14px 16px;background:#f8fafb}
.correction-step.suggested{border-top:1px solid #dae7e6;background:#eaf6f2}
.step-bullet{display:flex;flex:0 0 28px;height:28px;align-items:center;justify-content:center;border:1px solid #9db1b8;color:#344e59;border-radius:50%;font-size:.75rem;font-weight:800}
.suggested .step-bullet{background:#276d67;border-color:#276d67;color:#fff}
.step-copy{flex:1;min-width:0}
.step-copy .smallcap{font-size:.69rem;color:#5d737b;font-weight:800;display:block;letter-spacing:.04em;margin-bottom:5px}
.fragment-en{font-size:.96rem;line-height:1.4;color:#4d5961;margin:0 0 6px}
.corrected-text{font-size:1.06rem;line-height:1.47;font-weight:750;color:#16554e;margin:2px 0 5px}
.translated-text{font-size:.94rem;line-height:1.5;color:#355d56;margin:0}
.uncertainty-pair p{font-size:.75rem!important;line-height:1.4!important;margin:2px 0!important;color:#7a858b}
.correction-explain{border-top:1px solid #e5ecec;padding:12px 17px 15px 56px}
.correction-explain .smallcap{display:block;margin-bottom:5px;color:#5b7380}
.correction-explain .pair p{margin:2px 0 5px;font-size:.89rem}
.correction-explain .pair .en{font-size:.83rem;color:#64747b}
.tts-button{background:#fff;border:1px solid #a2c5c0;border-radius:8px;padding:8px 10px;color:#164a49;font-weight:750;cursor:pointer;font-size:.77rem;max-width:120px;flex:0 0 auto;line-height:1.35}
.tts-button:hover,.tts-button:focus-visible{background:#e5f5f1;border-color:#447e75}
.tts-button:disabled{opacity:.5;cursor:not-allowed}
.correction-intro{font-size:.92rem;margin-bottom:4px}
.correction-intro-en{font-size:.84rem;color:#667c83;margin-bottom:7px}
.tts-disclaimer,.tts-disclaimer-en{font-size:.77rem!important;color:#697980;margin-bottom:3px!important}
.model-answer{background:#fff;border:1px solid #b8d9d4;border-left:4px solid #378c7b;padding:18px 20px;margin-top:26px;border-radius:12px}
.model-answer .model-inner{padding:0}
.model-answer .model-note p{margin-bottom:4px;font-size:.81rem}
.model-answer .model-en{font-size:1.08rem;line-height:1.65;font-weight:730;color:#193d46;margin-top:12px}
.model-answer .model-pt{font-size:.96rem;line-height:1.6;color:#416268}
.model-answer .tts-model{margin-top:10px;max-width:none}
.voice-help{font-size:.83rem;color:#59777d;margin-top:9px}
@media(max-width:620px){.correction-step{flex-wrap:wrap;padding:13px}.step-copy{flex:1 1 calc(100% - 45px)}.correction-step .tts-button{margin-left:40px;max-width:none}.correction-explain{padding:11px 15px}.model-answer{padding:15px}}
@media print{.tts-button{display:none!important}.model-answer{break-inside:avoid}}

/* Clear bilingual navigation and controls; no change to overall theme. */
.brand-en{font-size:.78em;letter-spacing:.025em;font-weight:650;color:#5d747b}
.topnav a{display:grid;gap:1px;line-height:1.15;text-align:center}
.topnav a small{display:block;font-size:.79em;font-weight:500;letter-spacing:0;color:#71838b}
.section-title .heading-en{display:block;color:#647d82;font-weight:480;font-size:.60em;letter-spacing:0;margin-top:6px}
.overview-side-title .heading-en{display:block;color:#6b8088;font-weight:500;font-size:.84em;margin-top:3px}
.hero-controls small,.secondary-link small,.lesson-end small{font-size:.8em;font-weight:500}
.tts-button small{display:block;margin-top:1px;font-size:.89em;font-weight:500}
.progress-area label{flex-wrap:wrap;align-items:center}
.progress-area label .progress-en{font-size:.87em;font-weight:450;color:#677e85}
.progress-area label #progress-text{margin-left:auto;white-space:nowrap;font-size:.9em}
.drill-meaning{font-size:.83rem!important;color:#365f62;line-height:1.55;border-top:1px solid #d5e6e3;margin-top:9px;padding-top:8px}
@media(max-width:620px){html{scroll-padding-top:124px}.lesson{scroll-margin-top:130px}.topnav a{font-size:.75rem}.topnav a small{font-size:.78em}.brand-en{font-size:.72em}.hero-controls>*{line-height:1.35}.lesson-end{flex-wrap:wrap}.lesson-end a{font-size:.8rem}}


/* Bilingual legibility patch R2: translation labels are visible, never collapsed or JS-dependent. */
.language-clarity{margin:20px 0 2px;color:#fff;max-width:590px;font-size:.92rem;font-weight:650}
.language-clarity-en{margin:0;color:#d2e9e8;max-width:590px;font-size:.83rem}
.hero-heading-en{max-width:690px;font-weight:600;font-size:1.08rem;color:#cae2e2;margin-top:-6px;margin-bottom:13px}
.translation-label{margin:7px 0 4px!important;font-size:.70rem!important;letter-spacing:.03em;text-transform:uppercase;font-weight:800!important;line-height:1.35!important}
.fragment-pt-label{color:#557178!important;margin-top:8px!important}
.fragment-pt{color:#2c5155!important;font-size:.91rem!important;line-height:1.5!important;margin:2px 0 0!important;border-left:2px solid #96b8b6;padding-left:9px}
.full-pt-label{color:#15594f!important;margin:10px 0 4px!important}
.full-en-label{color:#2f6060!important;margin:4px 0!important}
.translated-text{font-size:.99rem!important;color:#163f3b!important;font-weight:610!important;background:#dcf0e9;border-radius:5px;padding:7px 9px;line-height:1.55!important}
.model-pt-label{color:#28645c!important;margin-top:16px!important}
.model-en-label{color:#47717a!important;margin-top:12px!important}
.model-pt{font-size:1rem!important;color:#214e49!important;background:#edf6f3;border-radius:6px;padding:10px 12px;line-height:1.6!important}
.correction-step.suggested{background:#f0f8f5}
@media(max-width:620px){.translation-label{font-size:.68rem!important}.fragment-pt{font-size:.88rem!important}.translated-text{font-size:.93rem!important}.hero-heading-en{font-size:1rem}}
@media print{.translated-text,.model-pt{print-color-adjust:exact;-webkit-print-color-adjust:exact}}

/* R3: remove the confusing A/B markers and simplify each bilingual comparison. */
.correction-step{gap:11px}
.correction-step .step-copy{flex:1 1 auto;min-width:0}
.correction-step .smallcap{font-size:.82rem!important;line-height:1.45!important;letter-spacing:0!important;color:#254a50!important;font-weight:750!important;text-transform:none!important}
.translation-label{letter-spacing:0!important;text-transform:none!important;font-size:.78rem!important;line-height:1.45!important}
.fragment-pt{font-weight:520}
.correction-step:not(.suggested){background:#f5f8f9}
.correction-step.suggested{background:#edf7f3}
.correction-explain{padding-left:16px}
.tts-button{max-width:158px;white-space:normal}
@media(max-width:620px){.correction-step .step-copy{flex:1 1 100%}.correction-step .tts-button{margin-left:0!important;max-width:100%;width:100%}}

/* R4: explicit, readable bilingual blocks; site content remains semantic HTML. */
.translation-promise{margin-top:15px;padding:13px 15px;border:1px solid rgba(212,237,232,.5);border-radius:9px;background:rgba(12,50,53,.28);max-width:700px}
.translation-promise p{margin:0 0 5px;color:#fff;font-size:.88rem;line-height:1.5}
.translation-promise p:last-child{margin-bottom:0;color:#def2ee;font-size:.82rem}
.hero .translation-link{font-size:.82rem}
.explicit-bilingual{padding:5px 0 8px;display:block!important}
.explicit-bilingual > .pt,.explicit-bilingual > .en{display:block!important;visibility:visible!important;opacity:1!important;max-height:none!important;overflow:visible!important;padding:10px 12px!important;margin:0!important;line-height:1.58!important}
.explicit-bilingual > .pt{background:#e8f5ef;color:#183e3a!important;border-left:4px solid #348878;border-radius:5px 5px 0 0}
.explicit-bilingual > .en{background:#f5f7f8;color:#354c59!important;border-left:4px solid #93a9b4;border-radius:0 0 5px 5px;font-size:.91rem!important}
.translation-language-label{display:block!important;font-size:.66rem!important;letter-spacing:.06em!important;font-weight:800!important;text-transform:uppercase!important;margin-bottom:6px!important;color:#27574c!important}
.en > .translation-language-label{color:#596c76!important}
.translation-label,.translated-text,.fragment-pt,.model-pt,.question-pt,.voice-prompt-pt{display:block!important;visibility:visible!important;opacity:1!important;max-height:none!important}
.translated-text,.model-pt{background:#deefe9!important;color:#163f3b!important;line-height:1.65!important}
.drill-meaning-en{font-size:.82rem;color:#5f777c;margin:0 0 6px 0}
.build-marker{font-weight:700!important;color:#fff!important;font-size:.76rem!important}
@media(max-width:620px){.explicit-bilingual > .pt,.explicit-bilingual > .en{padding:10px!important}.translation-promise{padding:12px}}
