:root{--bg:#f6f5f0;--paper:#fff;--ink:#1d303a;--muted:#657477;--line:#e3e6df;--nav:#182c36;--accent:#f0b097;--accent-dark:#984927;--mint:#dcebe2;--green:#315d48;--radius:22px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',system-ui,sans-serif;font-size:15px;line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #b66644;outline-offset:4px}button:disabled{cursor:default;opacity:.45}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:'Manrope',system-ui,sans-serif;letter-spacing:-.04em}h1{font-size:clamp(30px,3.3vw,44px);font-weight:800;line-height:1.2}h2{font-size:24px;line-height:1.3}h3{font-size:19px;line-height:1.35}button{border:0}svg{width:21px;height:21px;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.sidebar{width:245px;position:fixed;inset:0 auto 0 0;background:var(--nav);color:#f7f7f2;display:flex;flex-direction:column;padding:35px 23px;z-index:5}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-size:21px;letter-spacing:-.7px;line-height:1.15}.brand b{font-weight:600}.brand-mark{border:1px solid #7a8e90;border-radius:13px;font-family:serif;font-size:34px;width:47px;height:51px;line-height:45px;text-align:center;color:var(--accent);letter-spacing:-8px;padding-right:8px}.brand-mark span{color:#fff}.side-label{font-size:9px;font-weight:700;letter-spacing:1.7px;color:#8fa2a6;margin:51px 8px 17px}nav a{display:flex;gap:13px;align-items:center;text-decoration:none;border-radius:12px;padding:13px 15px;color:#b9c7ca;margin-bottom:6px;font-size:14px}nav a.active{background:#30464e;color:#fff}nav a.active svg{color:var(--accent)}.side-note{margin-top:auto;padding:28px 9px 32px;color:#c6d3d4;border-bottom:1px solid #3c5057}.small-sun{color:var(--accent);font-size:31px}.side-note p{font-size:16px;line-height:1.7;margin:9px 0 17px}.side-note small{font-size:8px;letter-spacing:1px;color:#82999e}.settings-link{background:transparent;color:#b7c4c6;font-size:12px;padding:22px 5px 0;text-align:left}.shell{margin-left:245px}.topbar{height:88px;border-bottom:1px solid var(--line);padding:0 42px;display:flex;align-items:center;justify-content:space-between;background:#f9f8f4}.top-title{font-size:10px;letter-spacing:2px;font-weight:700;color:#748286}.profile{display:flex;gap:10px;align-items:center;background:none;color:var(--ink);font-size:13px}.avatar{width:33px;height:33px;border-radius:50%;background:#e8dfd1;display:grid;place-items:center;font-weight:700}main{padding:37px 42px 20px;max-width:1480px;margin:auto;min-height:calc(100vh - 160px)}footer{padding:20px 42px 30px;color:#6b787b;font-size:11px;display:flex;justify-content:space-between;gap:20px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:#6a7b7d}.page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:27px}.page-head h1{margin:7px 0 11px}.sub{color:var(--muted);max-width:610px;font-size:14px}.badge{display:inline-flex;align-items:center;gap:7px;border:1px solid #dbe2d9;background:#fafbf7;border-radius:99px;padding:7px 12px;font-size:10px;white-space:nowrap}.dot{width:6px;height:6px;background:#699376;border-radius:50%}.dashboard{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);gap:23px}.hero{background:var(--nav);color:white;border-radius:var(--radius);padding:31px 32px;position:relative;overflow:hidden;min-height:310px;display:flex;flex-direction:column;align-items:flex-start}.hero .eyebrow{color:#a9c1c4}.hero h2{font-size:clamp(26px,2.6vw,36px);line-height:1.22;margin:21px 0 13px;max-width:355px;position:relative;z-index:1}.hero p{color:#bbcbd0;font-size:13px;max-width:335px;position:relative;z-index:1}.hero .button{margin-top:26px;position:relative;z-index:1}.hero-meta{font-size:10px;color:#a6bdc1;margin-top:17px;position:relative;z-index:1}.art{position:absolute;right:-30px;top:31px;width:235px;height:235px;opacity:.5;transform:rotate(-14deg);pointer-events:none}.art .ring{position:absolute;border:1px solid #89a5a7;border-radius:50%;width:100%;height:100%}.art .ring:nth-child(2){inset:25px;width:185px;height:185px}.art .ring:nth-child(3){inset:50px;width:135px;height:135px}.art .ring:nth-child(4){inset:76px;width:83px;height:83px}.art:after{content:'Aa';position:absolute;inset:73px 50px;color:var(--accent);font:italic 55px Georgia,serif}.spark{position:absolute;right:25px;bottom:18px;color:var(--accent);font-size:42px}.button{display:inline-flex;justify-content:center;align-items:center;gap:9px;background:var(--nav);color:#fff;padding:12px 19px;border-radius:11px;font-weight:600;font-size:13px;text-decoration:none;min-height:44px}.button.peach{background:var(--accent);color:#24333a}.button.ghost{background:#f0f3ed;color:var(--ink);border:1px solid #e0e6dc}.button.small{padding:9px 12px;font-size:12px}.button.outline{background:none;border:1px solid #d5dfd6;color:var(--ink)}.right-stack{display:flex;flex-direction:column;gap:19px}.card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:24px}.card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.card-heading h3{font-size:16px}.label{color:var(--muted);font-size:11px}.timer-layout{display:flex;align-items:center;justify-content:space-between;gap:12px}.timer{font-family:'Manrope',system-ui;font-size:38px;letter-spacing:-2px;font-weight:700;font-variant-numeric:tabular-nums;line-height:1.1}.timer-label{font-size:11px;color:var(--muted);margin-top:6px}.timer-controls{display:flex;gap:7px}.icon-button{border-radius:50%;width:40px;height:40px;display:grid;place-items:center;background:#edf1eb;color:var(--ink)}.icon-button.dark{background:var(--nav);color:white}.timer-track{height:4px;background:#edf1ea;border-radius:9px;margin-top:23px;overflow:hidden}.timer-track span{display:block;height:100%;background:#df9e83;width:0}.tip-card{background:#eceee4;border:0;flex:1;position:relative}.tip-card .eyebrow{font-size:9px;color:#748265}.tip-card p{font-size:15px;margin-top:14px;max-width:250px}.tip-card small{display:block;color:#75816b;margin-top:11px;font-size:11px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:20px}.stat{padding:17px 19px;border-radius:15px;background:#fff;border:1px solid var(--line)}.stat-top{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:8px}.stat strong{font-family:'Manrope',system-ui;font-size:27px;display:block;margin:6px 0 2px}.stat small{font-size:10px;color:#7c8686}.section-head{display:flex;justify-content:space-between;align-items:center;margin:28px 0 14px}.section-head h2{font-size:18px}.text-link{background:none;color:#546d68;font-size:11px;text-decoration:none;display:inline-flex;align-items:center;gap:5px}.lesson-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.lesson-card{border:1px solid var(--line);border-radius:17px;padding:20px;background:#fff;text-decoration:none;display:flex;flex-direction:column;transition:transform .18s,border-color .18s;position:relative;min-height:204px}.lesson-card:hover{transform:translateY(-3px);border-color:#a7bbae}.lesson-number{display:flex;justify-content:space-between;align-items:center;font-size:10px;font-weight:700;color:#87928a}.lesson-icon{width:37px;height:37px;border-radius:11px;display:grid;place-items:center;background:#e6eee8;color:#466959;margin:14px 0}.lesson-card:nth-child(3n+2) .lesson-icon{background:#f4e8df;color:#9b6d54}.lesson-card:nth-child(3n) .lesson-icon{background:#e9ecf4;color:#596b8e}.lesson-card h3{font-size:15px;letter-spacing:-.3px;margin-bottom:6px}.lesson-card p{font-size:11px;color:var(--muted)}.lesson-card .lesson-bottom{margin-top:auto;padding-top:15px;display:flex;justify-content:space-between;font-size:10px;color:#7e8985}.checkmark{color:#4e8067}.pill{padding:4px 8px;border-radius:6px;background:#eef3ed;font-size:9px;color:#57745f}.notice{background:#eef2eb;border:1px solid #dce5d7;border-radius:13px;padding:13px 16px;color:#5a6c61;font-size:12px;margin-bottom:21px}.tabs{display:flex;gap:5px;background:#e9ede5;padding:5px;border-radius:12px;margin:22px 0;max-width:510px}.tabs button{background:none;padding:10px 14px;border-radius:8px;color:#617068;flex:1;font-size:12px}.tabs button.active{background:#fff;box-shadow:0 2px 4px #182c3607;color:var(--ink);font-weight:700}.lesson-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(255px,1fr);gap:23px}.rule{font-size:15px;line-height:1.8;margin-top:14px}.example{display:flex;justify-content:space-between;align-items:center;gap:15px;border-bottom:1px solid var(--line);padding:18px 0}.example:last-child{border:0}.example strong{font-size:18px;font-weight:500;display:block}.example small{color:var(--muted);font-size:12px;display:block;margin-top:4px}.example button{flex-shrink:0}.instruction{font-size:13px;color:var(--muted);line-height:1.7;margin-top:10px}.phrase-row{padding:14px 0;border-bottom:1px solid var(--line);display:flex;gap:12px;align-items:center;justify-content:space-between}.phrase-row:last-child{border:0}.phrase-row b{font-size:14px;font-weight:500}.phrase-row small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.step-list{counter-reset:steps;list-style:none;padding:0;margin:15px 0}.step-list li{padding:12px 0 12px 35px;font-size:13px;position:relative}.step-list li:before{counter-increment:steps;content:counter(steps);position:absolute;left:0;top:10px;background:#edf1eb;color:#597260;width:24px;height:24px;border-radius:50%;text-align:center;line-height:24px;font-size:11px}.question-meta{font-size:10px;text-transform:uppercase;letter-spacing:1.5px;color:#7b8981;margin-bottom:15px}.question-title{font-size:24px;line-height:1.5;letter-spacing:-.6px}.options{display:grid;gap:11px;margin:25px 0}.option{display:flex;gap:13px;align-items:center;text-align:left;padding:15px 17px;border:1px solid #dce3d8;border-radius:12px;background:#fbfcf9;color:var(--ink);font-size:15px}.option .letter{font-size:11px;background:#edf1e9;width:26px;height:26px;border-radius:7px;display:grid;place-items:center;flex-shrink:0}.option.selected{border:2px solid #5c7e66;padding:14px 16px;background:#edf4eb}.option.correct{border-color:#548b65;background:#e9f5e9}.option.incorrect{border-color:#bd786a;background:#fbefeb}.answer-input{width:100%;padding:17px;margin:23px 0;border:1px solid #cfd9cb;background:#fafcf7;border-radius:12px;resize:vertical;min-height:90px;font-size:18px}.feedback{border-radius:12px;padding:16px;background:#edf5ec;color:#365d40;margin:16px 0;font-size:13px}.feedback.wrong{background:#fbefe9;color:#8b5139}.feedback strong{display:block;margin-bottom:5px}.exercise-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:22px}.progress-line{height:5px;border-radius:9px;background:#e7ece3;margin-bottom:25px;overflow:hidden}.progress-line span{height:100%;display:block;background:#6f9278}.score{font:700 60px 'Manrope',system-ui;color:#3e6650;letter-spacing:-3px}.record-controls{display:flex;gap:9px;flex-wrap:wrap;margin:20px 0}.waveform{height:75px;display:flex;justify-content:center;align-items:center;gap:6px;background:#f2f5ed;border-radius:15px;margin:18px 0}.waveform i{width:5px;border-radius:9px;background:#a9bcac;display:block;height:19px}.waveform i:nth-child(3n){height:35px}.waveform i:nth-child(2n){height:49px}.waveform.recording i{background:#bd8063;animation:pulse .75s ease-in-out infinite alternate}.waveform.recording i:nth-child(2n){animation-delay:.25s}@keyframes pulse{to{height:12px}}audio{width:100%;margin:15px 0}.quote{font-size:25px;line-height:1.5;letter-spacing:-.7px;padding:22px 0}.review-card{max-width:720px;margin:auto;text-align:center;min-height:300px;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:40px}.review-card .en{font-size:clamp(24px,4vw,36px);line-height:1.4;letter-spacing:-1px}.review-card .es{font-size:19px;color:#68796a;margin:20px 0}.review-controls{display:flex;justify-content:center;gap:12px;margin-top:20px;flex-wrap:wrap}.review-info{display:flex;justify-content:space-between;gap:12px;margin:0 auto 20px;max-width:720px;font-size:12px;color:var(--muted)}.phase-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.phase-card .eyebrow{color:#8a7258}.phase-card h3{margin:12px 0 8px;font-size:21px}.phase-card p{font-size:13px;color:var(--muted)}.phase-test{margin-top:18px;padding-top:16px;border-top:1px solid var(--line);font-size:12px;color:#55685b}.phase-test b{font-size:9px;letter-spacing:1px;display:block;color:#7b897f;margin-bottom:5px}.grammar-tags{font-size:11px;background:#eff2e9;padding:9px 11px;border-radius:7px;margin-top:15px}.roadmap-end{background:var(--nav);color:#fff;padding:26px;margin-top:23px;border-radius:20px}.roadmap-end p{margin:10px 0;color:#bed0d2;font-size:13px}.metrics-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.metrics-grid .score{font-size:42px}.history{display:flex;align-items:center;justify-content:space-between;padding:14px 0;border-bottom:1px solid var(--line);gap:15px;font-size:13px}.empty{padding:40px 20px;text-align:center;color:#6c7e72;font-size:14px}.empty svg{width:38px;height:38px;margin-bottom:13px}.modal-backdrop{position:fixed;inset:0;background:#0a1b24a8;z-index:50;display:grid;place-items:center;padding:20px}.modal{background:var(--bg);width:min(580px,100%);border-radius:22px;padding:28px;max-height:90vh;overflow-y:auto;box-shadow:0 20px 100px #00121b50}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.modal h2{font-size:22px}.field{display:block;margin:17px 0;font-size:12px;color:#5f7067}.field input,.field select{display:block;margin-top:7px;width:100%;padding:12px;border:1px solid #d4ddcf;border-radius:9px;background:#fff;color:var(--ink)}.source-link{font-size:12px;color:#496955;display:block;padding:9px 0}.storage-note{font-size:12px;color:#6c7b70;line-height:1.7;margin:18px 0}.mobile-nav{display:none}.skip{position:fixed;top:-80px;left:15px;z-index:99;background:white;padding:10px}.skip:focus{top:10px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%) translateY(120px);background:#203b2d;color:#fff;border-radius:12px;padding:14px 22px;font-size:13px;z-index:80;transition:transform .2s;max-width:90vw;box-shadow:0 5px 30px #0002}#toast.visible{transform:translateX(-50%) translateY(0)}.audio-status{font-size:11px;color:#687d6b;min-height:17px;margin:10px 0}.back-link{display:inline-flex;gap:8px;align-items:center;font-size:12px;background:none;color:#6a7d70;margin-bottom:20px;padding:0}.lesson-banner{display:flex;align-items:center;gap:10px;font-size:11px;margin-top:15px;color:#728371}.sources{margin-top:20px}.checklist{list-style:none;padding:0;font-size:13px;color:#5d7164}.checklist li{padding:8px 0}.checklist li:before{content:'✓';padding-right:10px;color:#71876e}.practice-text{width:100%;min-height:135px;border:1px solid #d6dfce;border-radius:12px;padding:14px;background:#fcfdf9;margin-top:17px;color:var(--ink)}.diagnostic-prompts{display:grid;gap:13px;margin-top:19px}.diagnostic-prompts div{background:#f4f6ef;border-radius:12px;padding:17px;font-size:13px}.diagnostic-prompts b{display:block;margin-bottom:6px}.alert{background:#faece3;color:#7f5035;padding:12px;border-radius:10px;font-size:12px;margin-bottom:15px}body.modal-open{overflow:hidden}
@media(min-width:1450px){main{padding-top:48px}.hero{min-height:340px}.hero h2{max-width:440px}.art{right:10px;opacity:.6;width:260px;height:260px}.art .ring:nth-child(2){width:210px;height:210px}.art .ring:nth-child(3){width:160px;height:160px}.art .ring:nth-child(4){width:110px;height:110px}}
@media(max-width:1180px){.sidebar{width:215px;padding:30px 18px}.shell{margin-left:215px}main{padding:30px 27px 20px}.topbar{padding:0 27px}.dashboard{grid-template-columns:1.4fr 1fr;gap:17px}.hero{padding:27px}.hero h2{max-width:260px}.art{right:-90px;opacity:.25}.lesson-grid{grid-template-columns:repeat(2,1fr)}.lesson-layout{grid-template-columns:1.5fr 1fr;gap:17px}footer{padding:20px 27px}.stats{gap:9px}.stat{padding:15px}.badge{font-size:9px}}
@media(max-width:900px){.sidebar{width:185px;padding:28px 13px}.shell{margin-left:185px}.brand{font-size:18px}.brand-mark{width:39px;height:46px;font-size:31px}.side-label{font-size:8px;letter-spacing:1px}nav a{padding:12px;font-size:12px;gap:10px}.dashboard{grid-template-columns:1fr}.right-stack{display:grid;grid-template-columns:1fr 1fr;gap:15px}.hero{min-height:290px}.hero h2{max-width:360px}.art{right:8px;opacity:.35}.lesson-layout{grid-template-columns:1fr}.page-head .badge{display:none}.metrics-grid{grid-template-columns:1fr 1fr}.phase-grid{grid-template-columns:1fr}.side-note small{font-size:7px}.side-note p{font-size:14px}}
@media(max-width:650px){.sidebar{display:none}.shell{margin-left:0}.topbar{height:64px;padding:0 21px}.top-title{font-size:8px;letter-spacing:1.3px}main{padding:26px 19px 24px}.page-head{margin-bottom:23px}h1{font-size:31px}.sub{font-size:13px}.hero{padding:26px;min-height:302px;border-radius:20px}.hero h2{font-size:30px;max-width:275px}.hero p{max-width:255px}.art{right:-67px;opacity:.23}.right-stack{grid-template-columns:1fr}.tip-card{display:none}.card{padding:21px;border-radius:18px}.stats{gap:8px;margin-top:15px}.stat{padding:13px 10px}.stat-top{font-size:9px;gap:5px}.stat-top svg{width:15px;height:15px}.stat strong{font-size:24px}.stat small{font-size:8px}.lesson-grid{grid-template-columns:1fr 1fr;gap:10px}.lesson-card{padding:15px;min-height:213px}.lesson-card h3{font-size:14px}.lesson-card p{font-size:10px}.lesson-card .lesson-bottom{font-size:9px}.section-head h2{font-size:17px}.text-link{font-size:10px}footer{font-size:10px;padding:15px 20px 100px;display:block}footer span{display:block;margin-top:6px}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;border-top:1px solid #d9e2d4;background:#fffefb;z-index:20;justify-content:space-around;padding:8px 5px calc(7px + env(safe-area-inset-bottom))}.mobile-nav a{display:flex;flex-direction:column;gap:4px;color:#748475;font-size:9px;padding:5px 8px;margin:0;border-radius:9px;min-width:53px}.mobile-nav a.active{background:#edf2e9;color:#345b45}.mobile-nav a.active svg{color:#345b45}.mobile-nav svg{width:20px;height:20px}#toast{bottom:90px}.metrics-grid{grid-template-columns:1fr}.tabs button{padding:9px 8px;font-size:11px}.question-title{font-size:21px}.quote{font-size:22px}.review-card{padding:32px 22px;min-height:325px}.review-info{font-size:10px}.example strong{font-size:16px}.option{font-size:14px;padding:14px}.option.selected{padding:13px}.modal{padding:23px}.page-head h1{margin-top:6px}.timer{font-size:35px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.daily-live{position:sticky;top:0;z-index:15;background:#dfeade;border-bottom:1px solid #c5d7c3;padding:12px 30px;display:flex;gap:17px;align-items:center;justify-content:flex-end;font-size:12px;color:#345b40}.daily-live[hidden]{display:none}.daily-live span{margin-right:auto}.daily-live button{background:#315d48;color:#fff;border-radius:7px;padding:7px 12px;font-size:11px}.daily-live a{font-size:11px}.daily-top{display:grid;grid-template-columns:1fr 1.3fr;gap:20px;margin-bottom:22px}.daily-total{font:700 49px 'Manrope',system-ui;letter-spacing:-2px;margin:15px 0 22px;color:#41684b}.daily-total span{font-size:20px;color:#7a8b7d;letter-spacing:-.5px}.daily-blocks{display:grid;gap:16px}.daily-block{display:flex;gap:21px;align-items:flex-start}.block-number{background:#e9eee2;color:#627658;flex-shrink:0;width:45px;height:45px;border-radius:13px;display:grid;place-items:center;font-size:15px;font-weight:700}.daily-block.done .block-number{background:#3d674c;color:white}.block-content{flex:1}.block-content h3{margin:8px 0 2px;font-size:22px}.block-actions{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.block-task{display:flex;align-items:flex-start;gap:9px;font-size:12px;color:#63745f;margin-top:16px}.block-task input{flex-shrink:0;margin-top:4px;accent-color:#416b4a;min-width:16px;min-height:16px}.track-tabs{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:23px}.track-tabs button{border:1px solid #dbe3d5;background:#fff;padding:11px 17px;border-radius:10px;color:#64775f;font-size:12px;min-height:44px}.track-tabs button.active{background:#315d48;color:#fff;border-color:#315d48}.memory-card{max-width:850px;padding:30px}.memory-card h2{font-size:27px;line-height:1.5;margin:13px 0}.memory-card .answer-input{margin-top:9px}.memory-model{background:#f0f4eb;border:1px solid #d9e2d1;border-radius:14px;padding:21px;margin:20px 0}.memory-model .quote{padding:12px 0}.clinical-intro{background:var(--nav);color:#fff;border-radius:20px;display:flex;align-items:center;justify-content:space-between;gap:25px;padding:28px;margin-bottom:23px}.clinical-intro .eyebrow{color:#a7c3b6}.clinical-intro h2{font-size:24px;max-width:580px;margin-top:12px}.clinical-intro .instruction{color:#c0d0c8;max-width:550px}.clinical-intro .button{flex-shrink:0}.term-table{margin-top:20px}.term-heading,.term-row{display:grid;grid-template-columns:1fr 1.3fr 1fr;gap:17px}.term-heading{font-size:9px;letter-spacing:1px;color:#73866e;background:#f2f5ed;padding:12px;border-radius:9px}.term-row{padding:15px 12px;border-bottom:1px solid var(--line);font-size:12px}.term-row b{font-weight:600}.term-row .text-link{margin-left:5px}.term-row svg{width:16px;height:16px}.clinical-supplement{margin-top:24px}.patient-case{border-bottom:1px solid var(--line);padding:22px 0}.case-top{display:flex;align-items:center;justify-content:space-between;gap:15px}.case-top h3{font-size:21px}.patient-case details{margin-top:15px}.patient-case summary{cursor:pointer;font-size:12px;color:#547250;padding:9px 0}.patient-case details[open]{background:#f3f6ed;padding:12px;border-radius:11px}.clinical-supplement .phrase-row small{font-size:12px;line-height:1.7}
.brand>span:last-child{font-size:18px;line-height:1.3;min-width:0}.brand b{font-size:19px}.brand-mark{flex-shrink:0;letter-spacing:-4px;padding-right:4px}.top-title{letter-spacing:1.4px}
.extended-text{max-width:900px;font-size:16px;line-height:1.95;margin:25px 0 32px}.extended-text p{margin-bottom:19px}.skill-question{border:1px solid #d7e0d2;border-radius:12px;padding:18px;margin:10px 0}.skill-question legend{font-size:14px;font-weight:600;padding:0 5px}.skill-question label{display:flex;gap:10px;align-items:flex-start;padding:10px 0;font-size:14px}.skill-question input{margin-top:5px;accent-color:#416b4a;flex-shrink:0}.skill-question .feedback{line-height:1.6}.rubric{display:grid;grid-template-columns:repeat(2,1fr);gap:0 20px;margin-top:18px}.rubric .field{font-size:12px}.rubric select{margin-top:8px}.skills-callout{background:#edf3e8;padding:17px;border-radius:13px;margin:20px 0;font-size:13px}
@media(max-width:650px){.extended-text{font-size:15px;line-height:1.85}.rubric{grid-template-columns:1fr}.skill-question{padding:14px}.skill-question label{font-size:13px}.mobile-nav a{min-width:0;flex:1}.history{flex-wrap:wrap}}
@media(max-width:900px){.brand>span:last-child{font-size:15px}.brand b{font-size:16px}}
@media(max-width:900px){.daily-top{grid-template-columns:1fr}.clinical-intro{align-items:flex-start;flex-direction:column}.term-heading,.term-row{grid-template-columns:1fr 1.2fr 1fr}.daily-live{padding:11px 22px;gap:10px}.daily-live span{font-size:11px}}
@media(max-width:650px){.daily-block{padding:20px 16px;gap:13px}.block-number{width:32px;height:32px;border-radius:9px;font-size:12px}.block-content h3{font-size:19px}.block-content .eyebrow{font-size:8px;letter-spacing:1px}.daily-block .button{font-size:11px}.daily-live{padding:10px 15px;flex-wrap:wrap;gap:8px}.daily-live span{width:100%;font-size:11px}.daily-live button{margin-left:auto}.daily-top{gap:15px}.memory-card{padding:21px}.memory-card h2{font-size:23px}.memory-model{padding:16px}.term-heading{display:none}.term-row{grid-template-columns:1fr;gap:6px;padding:16px 0}.term-row span:nth-child(2):before{content:'Paciente: ';font-weight:600;color:#73816b}.term-row span:nth-child(3){color:#728169}.clinical-intro{padding:24px}.clinical-intro h2{font-size:23px}.case-top h3{font-size:18px}.track-tabs{gap:6px}.track-tabs button{font-size:11px;padding:10px 12px}.mobile-nav a{padding:5px 4px;min-width:45px;font-size:8px}.mobile-nav{gap:0}.clinical-supplement .phrase-row small{font-size:11px}}
.home-study{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr);gap:20px}.home-study .hero{min-height:315px}.home-today{display:flex;flex-direction:column}.home-minutes{font:700 52px system-ui;letter-spacing:-2px;margin:0 0 12px;color:#365d47}.home-minutes span{font-size:19px;font-weight:500;color:#77847a}.home-today h3{font-size:19px}.home-today .text-link{margin-top:auto;padding-top:10px}.today-results,.attempt-inline{display:flex;align-items:center;gap:14px;flex-wrap:wrap;font-size:13px;margin:15px 0}.result-good{color:#315e43}.result-wrong{color:#97462e}.attempt-inline{background:#f3f5ef;border-radius:10px;padding:12px;margin:0 0 20px}.attempt-inline a{margin-left:auto;font-size:12px}.section-sub{font-size:13px;color:var(--muted);margin:-5px 0 17px;max-width:830px}.levels-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.level-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px;text-decoration:none;min-height:217px;transition:border-color .18s,transform .18s}.level-card:hover{transform:translateY(-2px);border-color:#a4b7a5}.level-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px}.level-code{display:grid;place-items:center;border-radius:11px;width:46px;height:43px;background:#e5eee5;color:#375e47;font-size:21px;font-weight:750}.level-b1 .level-code,.level-b2 .level-code{background:#f5e7da;color:#8b5134}.level-c1 .level-code{background:#e6e9f0;color:#495e86}.level-card h3{font-size:17px;margin-bottom:8px;line-height:1.45}.level-card p{font-size:13px;color:var(--muted);line-height:1.65}.level-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--line);margin-top:auto;padding-top:14px;font-size:10px;color:#687e6c}.level-card-bottom svg{flex-shrink:0}.specialty-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.specialty-card{display:flex;align-items:flex-start;gap:13px;padding:22px 17px;background:#edf1e8;border:1px solid #dae4d4;border-radius:18px;text-decoration:none}.specialty-card>svg{width:17px;height:17px;flex-shrink:0;margin-top:12px}.specialty-symbol{display:grid;place-items:center;background:#fff;border-radius:11px;min-width:35px;height:39px;color:#4a7252}.specialty-card .eyebrow{font-size:8px;letter-spacing:1px;line-height:1.5}.specialty-card h3{font-size:16px;line-height:1.5;margin:7px 0}.specialty-card p{font-size:12px;color:#5d7262;line-height:1.6}.specialty-card small{font-size:10px;color:#6b7e6b;display:block;margin-top:13px}.practice-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.practice-shortcuts a{background:#fff;border:1px solid var(--line);border-radius:15px;padding:20px;text-decoration:none}.practice-shortcuts h3{font-size:14px;margin:13px 0 7px}.practice-shortcuts p{font-size:12px;color:var(--muted)}.practice-shortcuts a>svg:last-child{width:16px;height:16px;margin-top:15px}.method-card{margin-top:24px;background:#f0f2e9}.method-card h2{font-size:22px;margin:14px 0}.method-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:20px 0}.method-steps b{font-size:12px}.method-steps p{font-size:12px;color:#617563;margin-top:5px}.free-timer{margin-top:22px}.free-timer summary,.error-solutions summary{cursor:pointer;font-size:14px;font-weight:650}.free-timer .timer-layout{margin-top:25px}.level-intro{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(210px,1fr);gap:28px;margin-bottom:26px}.level-intro h2{font-size:24px;margin-top:12px}.level-actions{display:flex;flex-direction:column;gap:12px;justify-content:center;align-items:stretch}.level-actions .text-link{padding:7px 0}.block-steps{list-style:none;margin:16px 0;padding:0;display:flex;gap:8px;flex-wrap:wrap}.block-steps li{background:#f0f3eb;padding:8px 10px;border-radius:8px;color:#5f735e;font-size:11px}.error-summary{display:flex;gap:25px;flex-wrap:wrap;margin:10px 0 22px;font-size:13px;color:#63755f}.error-summary b{font-size:22px;color:var(--ink)}.error-start{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:20px}.error-start .button{flex-shrink:0}.error-row{border-top:1px solid var(--line);padding:22px 0;margin-top:16px;font-size:14px}.error-row-top{display:flex;gap:15px;align-items:center;justify-content:space-between;margin-bottom:12px}.error-row h3{font-size:18px;margin-bottom:12px}.error-given{color:#985239;margin-bottom:8px}.error-row .label{display:block;margin:14px 0}.reading-context{margin:20px 0}.reading-context summary{cursor:pointer;color:#486b54;font-size:13px}.automatic-results{margin-bottom:22px}.result-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:22px 0}.result-metrics strong{display:block;font-size:32px;letter-spacing:-1px}.result-metrics span{font-size:12px;color:#6a7d6f}.clinical-intro .level-actions{min-width:200px;max-width:270px}
@media(max-width:1180px){.specialty-grid{grid-template-columns:1fr}.specialty-card p{max-width:570px}.specialty-card>svg{margin-left:auto}.practice-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}.levels-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.home-study{grid-template-columns:1fr}.level-intro{grid-template-columns:1fr}.level-actions{align-items:flex-start}.method-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.home-today .text-link{margin-top:10px}.error-start{align-items:flex-start;flex-direction:column}.clinical-intro .level-actions{max-width:none}.level-card{padding:20px}}
@media(max-width:650px){.levels-grid{grid-template-columns:1fr;gap:12px}.level-card{min-height:190px}.home-study .hero{min-height:310px}.home-minutes{font-size:44px}.home-study{gap:15px}.method-card h2{font-size:20px}.practice-shortcuts{gap:10px}.practice-shortcuts a{padding:16px}.specialty-card{padding:19px 16px}.specialty-card h3{font-size:17px}.result-metrics{gap:12px}.result-metrics strong{font-size:24px}.result-metrics span{font-size:10px}.error-row-top{align-items:flex-start;flex-direction:column;gap:9px}.block-steps{display:grid;gap:6px}.block-content{min-width:0}.error-start .button{width:100%}.level-actions .button{width:100%}}
/* Expanded curriculum, evidence and readable clinical models. */
.deep-guide{margin-top:22px;line-height:1.65}
.deep-guide h3{margin:14px 0}
.deep-guide p{overflow-wrap:anywhere}
.deep-guide details,.glossary{padding:14px 0;border-top:1px solid var(--line,#dde3db)}
.deep-guide summary{cursor:pointer;line-height:1.6;font-weight:600}
.guide-contrast,.guide-pitfall{padding:18px;margin:18px 0;border-radius:12px;background:#eef3eb}
.guide-pitfall{background:#fff1e8}
.bank-results{display:grid;gap:12px;margin:22px 0}
.bank-results>div{padding:16px;border:1px solid #d9e2d9;border-radius:12px;display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between}
.bank-results>div>p{flex-basis:100%;overflow-wrap:anywhere}
.bank-results .pill{white-space:normal}
audio{display:block;width:100%;max-width:700px;margin:20px 0}
.content-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:22px 0}
.content-tools a{color:inherit;text-decoration:none;padding:24px;background:#eef3eb;border:1px solid #d9e2d9;border-radius:16px}
.content-tools h3{margin:10px 0;font-size:20px}
.content-tools p{font-size:13px;line-height:1.7}
.content-tools svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.6}
.track-tabs{overflow-x:auto}
.skill-question legend{line-height:1.7}
.skill-question label{line-height:1.6;align-items:flex-start}
textarea{overflow-wrap:anywhere}
@media(max-width:760px){.content-tools{grid-template-columns:1fr}.bank-results>div{align-items:flex-start}.deep-guide h3{overflow-wrap:anywhere}audio{max-width:100%}}

/* Long progress labels and non-clinical tables remain readable on narrow screens. */
.history{gap:12px;flex-wrap:wrap}.history>a,.history>div{min-width:0;overflow-wrap:anywhere}.history .pill{white-space:normal;overflow-wrap:anywhere}
@media(max-width:650px){.academic-table .term-row span:nth-child(2):before{content:'Cómo practicar: '}.academic-table .term-row span:nth-child(3):before{content:'Abrir: ';font-weight:600}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

.hero .brand-motto{color:#f9f5ef;font-size:15px;line-height:1.55;margin-bottom:14px;max-width:370px}.brand-motto strong{color:var(--accent);font-weight:700}

/* Foundation pieces: labels stay paired with the phrase on small screens. */
.base-example{padding:18px 0;border-bottom:1px solid var(--line)}
.base-pieces{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:12px}
.base-pieces>div{background:var(--bg);border:1px solid var(--line);border-radius:12px;padding:12px 15px;min-width:0;overflow-wrap:anywhere}
.base-pieces b,.base-pieces small{display:block}.base-pieces small{color:var(--muted);font-size:12px;margin-top:5px}

/* v16: readable, keyboard-accessible assessment controls */
.checkpoint-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:18px}.checkpoint-question{margin:24px 0;padding:18px;border:1px solid #d7d9d1;border-radius:14px}.checkpoint-question legend{font-weight:700;padding:0 6px}.checkpoint-question label{display:flex;align-items:center;gap:12px;min-height:48px;padding:8px;cursor:pointer}.checkpoint-question input{flex:none}.checkpoint-text{white-space:pre-line;line-height:1.85;max-width:75ch}.checkpoint-feedback{padding:12px;background:#f1f4ec;border-radius:8px}.checkpoint-audio{width:100%;margin:16px 0}.checkpoint-history{overflow-wrap:anywhere}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #286b60;outline-offset:3px}.checkpoint-grid .button{margin:4px 0}button:disabled{cursor:not-allowed;opacity:.55}
/* v17 account experience */
#account-bar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:10px 42px;border-bottom:1px solid var(--line);font-size:12px;background:#edf3ef;color:#315d48}#account-bar a{margin-left:auto;font-weight:700;color:inherit}.demo-badge{background:#ffdfb2;color:#6b441b;padding:5px 9px;border-radius:30px;font-size:10px;font-weight:700;letter-spacing:.04em}#sync-status{overflow-wrap:anywhere}.account-welcome{display:grid;grid-template-columns:1fr 1fr;gap:34px;align-items:start}.account-story{padding:28px 12px}.account-story h1{font-size:clamp(34px,4.8vw,62px);line-height:1.08;letter-spacing:-.045em;margin:20px 0}.account-story>p{font-size:17px;line-height:1.65;max-width:450px}.account-story .eyebrow{color:#984927}.account-points{display:flex;flex-wrap:wrap;gap:10px;margin:28px 0}.account-points span{padding:9px 12px;border:1px solid #ccd8cf;border-radius:30px;font-size:12px}.account-card{max-width:780px}.account-card h2{font-size:28px;margin:8px 0 16px}.account-card p{line-height:1.65;margin:12px 0}.account-card .field{display:flex;flex-direction:column;gap:8px;margin:18px 0}.account-card input:not([type=checkbox]){width:100%;min-height:48px;border:1px solid #c8d6ce;border-radius:10px;padding:12px;font-size:16px;background:#fbfcfa}.account-card form>.button{width:100%;margin-top:20px;justify-content:center}.account-check{display:flex;gap:10px;align-items:center;font-size:13px;min-height:40px}.account-links{display:flex;flex-wrap:wrap;gap:14px;margin-top:24px;font-size:12px}.account-links a{color:#315d48}.account-card details{margin:24px 0}.account-card summary{min-height:40px;cursor:pointer;font-weight:600}.account-card .notice{font-size:12px;line-height:1.6}.account-card #account-message{font-size:13px;color:#7a4725}.account-card .record-controls{flex-wrap:wrap}.account-card #demo-enter{width:100%;justify-content:center}body:has(.account-welcome) .mobile-nav{display:none}
@media(max-width:900px){.account-welcome{grid-template-columns:1fr;gap:15px}.account-story{padding:5px}.account-story h1{font-size:38px}.account-story>p{font-size:15px}.account-points{margin:18px 0}.account-card h2{font-size:25px}#account-bar{padding:10px 18px}.account-welcome .account-card{max-width:none}}

/* v18: learning evidence and contextual reports */
.transfer-home{margin:20px 0}.writing-coach{margin:18px 0;background:var(--paper,#faf7f0)}.report-launch{font-size:12px;padding:7px 12px;margin-left:auto}.report-entry{margin:16px 0;overflow-wrap:anywhere}.report-entry code{white-space:normal}.checkpoint-question label{display:flex;gap:12px;align-items:flex-start;margin:12px 0}.checkpoint-question input{flex-shrink:0}.transfer-home p{max-width:75ch}#transfer-message,#report-message{margin-top:14px}#transfer-form .field{margin-top:18px}@media(max-width:600px){#account-bar{flex-wrap:wrap}.report-launch{margin-left:0}.transfer-home .button{white-space:normal}}

/* Version comparison and session audio. */
#conflict-comparison table{width:100%;border-collapse:collapse;margin:16px 0;font-size:14px;background:var(--paper)}
#conflict-comparison caption{text-align:left;font-weight:700;padding:10px 0}
#conflict-comparison th,#conflict-comparison td{padding:10px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
#conflict-comparison thead{background:var(--mint)}
#conflict-comparison tbody th{font-weight:500}
#record-output audio{display:block;width:100%;max-width:520px;margin:14px 0}
#record-output .text-link{display:inline-block;margin:4px 18px 12px 0}

#backup-preview:not(:empty){margin-top:20px;padding:16px;border:1px solid var(--line);border-radius:12px}
#backup-preview p{margin:12px 0}
#backup-preview table{width:100%;border-collapse:collapse;font-size:13px}
#backup-preview th,#backup-preview td{padding:8px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
#backup-preview caption{text-align:left;font-weight:700;padding:8px 0}
#backup-preview thead{background:var(--mint)}
