:root{--ink:#153f49;--petrol:#103f4b;--gold:#f8d154;--muted:#60787f;--line:#d8e5e7;--paper:#fff;--bg:#f5f8f7;--cyan:#dff1f4;--lavender:#eeebf9;--yellow:#fff3c7;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);font-size:16px;line-height:1.55;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg)}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.45;cursor:default}button{border:0}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.16;letter-spacing:-.035em}h1{font-size:36px;margin:9px 0 12px;font-weight:750}h2{font-size:25px;margin-bottom:13px}h3{font-size:19px;margin-bottom:12px}p{color:var(--muted)}small{font-size:12px}.icon{width:23px;height:23px;flex:none;vertical-align:middle}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #e1a900;outline-offset:4px}main:focus{outline:none}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip{position:fixed;left:16px;top:-100px;z-index:100;background:var(--gold);padding:12px 24px;border-radius:8px}.skip:focus{top:10px}.sidebar{position:fixed;inset:0 auto 0 0;width:238px;background:var(--petrol);color:#f7faf8;padding:32px 22px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:13px;font-size:22px;font-weight:800;line-height:1.05;letter-spacing:.04em}.brand-mark{height:48px;width:44px;background:var(--gold);color:var(--petrol);display:flex;align-items:center;justify-content:center;font-size:33px;line-height:1;border-radius:5px;transform:rotate(-4deg);letter-spacing:-.08em}.brand-mark span{font-size:18px;margin-top:15px}.brand .lab{font-weight:400;color:var(--gold);margin-left:5px}.brand small{display:block;font-size:8px;letter-spacing:.1em;margin-top:10px;color:#b1c9ce}.side-caption{font-size:9px;letter-spacing:.15em;color:#89aab2;margin:44px 12px 14px}.nav-link{display:flex;align-items:center;gap:12px;padding:13px 12px;border-radius:7px;font-size:14px;margin:5px 0;color:#d9e7e9;min-height:48px}.nav-link:hover{background:#ffffff0b}.nav-link.active{background:#ffffff15;color:var(--gold);box-shadow:inset 3px 0 var(--gold)}.nav-link small{margin-left:auto;border:1px solid #577983;border-radius:4px;padding:0 5px;font-size:10px}.sidebar-bottom{margin-top:auto;padding-top:24px;color:#8eafb8}.sidebar-bottom>small{display:block;font-size:10px;line-height:1.8;padding:20px 10px 0}.book-note{padding:17px 14px;border:1px solid #426671;border-radius:7px;display:flex;flex-direction:column;gap:10px}.tiny-tag{font-size:8px;letter-spacing:.14em;color:var(--gold)}.book-note b{font-size:19px;color:white;line-height:1.35;letter-spacing:-.02em}.book-note>span:last-child{font-size:10px}.install-button{margin-top:14px;width:100%;padding:10px;background:var(--gold);border-radius:6px;font-size:13px;font-weight:700}.workspace{margin-left:238px;min-height:100vh}.topbar{height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 42px;border-bottom:1px solid var(--line);background:#ffffffb3;gap:15px}.top-label{font-size:9px;font-weight:650;letter-spacing:.14em;color:#769095}.top-right{display:flex;align-items:center;gap:20px}.save-state{font-size:10px;color:var(--muted)}.save-state:before{content:"";display:inline-block;width:5px;height:5px;border-radius:50%;background:#699284;margin:0 7px 1px 0}.avatar{background:#e9eeee;width:34px;height:34px;display:grid;place-items:center;font-size:13px;font-weight:700;border:1px solid #d7e1e3;border-radius:50%}main{max-width:1270px;margin:auto;padding:36px 42px 60px;min-height:calc(100vh - 145px)}.page-title{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:28px}.page-title p{font-size:13px;margin:0;max-width:700px;line-height:1.7}.eyebrow{font-size:9px;font-weight:750;letter-spacing:.14em;color:#48828d}.hero{background:var(--petrol);border-radius:13px;min-height:300px;display:grid;grid-template-columns:1.1fr 1fr;overflow:hidden;position:relative;color:white}.hero-copy{padding:32px 35px;position:relative;z-index:1}.hero-tag{font-size:9px;letter-spacing:.12em;color:#b6d4da;display:inline-flex;align-items:center;gap:7px}.hero-tag:before{content:"";background:var(--gold);width:5px;height:5px}.hero h2{font-size:38px;margin:17px 0 14px;line-height:1.15;letter-spacing:-.045em}.hero h2 em{color:var(--gold);font-style:normal}.hero p{font-size:12px;color:#c4dadd;margin-bottom:24px}.button{display:inline-flex;justify-content:center;align-items:center;gap:12px;min-height:44px;padding:11px 19px;border-radius:6px;font-size:12px;font-weight:700;line-height:1.4;transition:background .15s,transform .15s;white-space:normal;text-align:center;border:1px solid transparent}.button .icon{height:18px;width:18px}.button:hover{filter:brightness(.97)}.button:active{transform:translateY(1px)}.primary{background:var(--gold);color:var(--petrol)}.secondary{background:#fff;border-color:#adc7cd;color:var(--petrol)}.quiet{background:transparent;border-color:transparent;color:#557880}.hero-art{position:relative;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at 70% 60%,#1b5763,transparent 65%);padding:30px}.art-paper{position:relative;width:260px;background-color:#f3faf8;background-image:linear-gradient(#c8e2e366 1px,transparent 1px),linear-gradient(90deg,#c8e2e366 1px,transparent 1px);background-size:18px 18px;border:6px solid #f4f9f6;box-shadow:0 12px 30px #062c3677;transform:rotate(5deg);padding:13px 8px 5px;color:var(--petrol)}.paper-note{font-family:Georgia,serif;font-style:italic;font-size:15px;display:block;transform:rotate(-2deg);text-align:center}.art-paper svg{width:100%;display:block}.art-paper text{font-family:Georgia,serif;font-style:italic;fill:var(--petrol);font-size:19px}.art-sticker{position:absolute;right:23px;bottom:26px;padding:14px 18px;background:var(--gold);color:var(--petrol);font-size:11px;font-weight:700;line-height:1.3;transform:rotate(-6deg);box-shadow:0 5px 10px #082f3720}.quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0 38px}.quick-card{display:flex;gap:13px;align-items:center;padding:18px 15px;border-radius:8px;border:1px solid #d7e5e7;transition:transform .15s}.quick-card:hover,.chapter-card:hover,.lesson-card:hover{transform:translateY(-2px);box-shadow:0 6px 20px #103f4b09}.quick-card>.icon:first-child{height:25px;width:25px}.quick-card>.icon:last-child{width:16px;height:16px;margin-left:auto}.quick-card b{display:block;font-size:12px;line-height:1.4}.quick-card span{font-size:9px;display:block;margin-top:3px;color:#5c767c}.cyan{background:var(--cyan)}.lavender{background:var(--lavender)}.yellow{background:var(--yellow)}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin:30px 0 19px}.section-heading h2{font-size:24px;margin:7px 0 0}.total-progress{font-size:10px;color:#759096;padding-bottom:4px}.chapter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.chapter-card{background:white;border:1px solid var(--line);border-radius:8px;padding:21px 20px;display:flex;flex-direction:column;min-height:208px;transition:transform .15s,box-shadow .15s}.chapter-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px;gap:5px}.chapter-number{background:#eaf2f2;border:1px solid #d5e4e6;color:#467580;border-radius:4px;font-size:12px;font-weight:750;padding:3px 8px;min-width:34px;text-align:center}.tiny-muted{font-size:10px;color:#7b9398;line-height:1.6}.tiny-muted .icon{width:13px;height:13px;margin-left:5px}.chapter-card h3{font-size:16px;line-height:1.25;letter-spacing:-.015em;margin-bottom:8px}.chapter-card p{font-size:10px;line-height:1.5;margin:0 0 17px}.progress-track{height:3px;background:#e9f0ef;border-radius:2px;margin-top:auto;overflow:hidden}.progress-track>span{display:block;background:#32a2ad;height:100%}.chapter-meta{display:flex;justify-content:space-between;font-size:9px;color:#83979b;margin-top:10px}.chapter-meta b{font-weight:600;color:#587d84}footer{display:flex;justify-content:space-between;gap:20px;padding:22px 42px;border-top:1px solid var(--line);font-size:10px;color:#8b9fa3}footer a{text-decoration:underline;text-underline-offset:3px}.text-link{background:none;color:#3e7682;font-size:12px;font-weight:650;padding:8px 0;display:inline-block}.text-link:hover{text-decoration:underline;text-underline-offset:4px}.chapter-intro{display:flex;gap:25px;align-items:center;background-color:#ebf4f4;background-image:linear-gradient(#d7e8e750 1px,transparent 1px),linear-gradient(90deg,#d7e8e750 1px,transparent 1px);background-size:20px 20px;padding:30px;border-radius:10px;margin-bottom:25px}.chapter-intro p{font-size:13px;margin-bottom:0}.chapter-number.large{font-size:32px;padding:12px 20px;background:white}.mode-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.panel{background:white;border:1px solid var(--line);border-radius:9px;padding:27px}.panel p{font-size:13px;line-height:1.8}.mode-grid .panel{display:flex;flex-direction:column}.mode-grid .button{margin-top:auto}.mode-icon,.lesson-icon{width:48px;height:48px;border-radius:9px;display:grid;place-items:center;margin-bottom:20px}.note-banner{display:flex;align-items:center;gap:17px;margin:25px 0;padding:20px 23px;background:#e9f2f1;border:1px solid var(--line);border-radius:8px}.note-banner p{margin:0;font-size:12px;color:#456b73}.note-banner.lavender{background:var(--lavender)}.note-banner.yellow{background:var(--yellow)}.filter-panel{display:grid;grid-template-columns:1.2fr 1.3fr .8fr .85fr;gap:13px;background:white;border:1px solid var(--line);border-radius:9px;padding:21px}label{display:block;font-size:11px;font-weight:650}input:not([type=checkbox]):not([type=radio]),select,textarea{display:block;width:100%;min-width:0;background:#fff;border:1px solid #bfd3d7;border-radius:5px;min-height:43px;padding:10px 12px;margin-top:7px;font-size:13px;line-height:1.5}textarea{resize:vertical}select{padding-right:24px}input::placeholder,textarea::placeholder{color:#8b9da2;opacity:1;font-size:12px}.list-heading{display:flex;justify-content:space-between;gap:20px;font-size:11px;color:#7a9298;margin:23px 0 13px}.list-heading b{color:#426d78}.exercise-list{background:white;border:1px solid var(--line);border-radius:9px;overflow:hidden}.exercise-row{display:flex;align-items:center;gap:20px;padding:18px 23px;border-bottom:1px solid #e7efef;min-height:81px}.exercise-row:last-child{border-bottom:0}.exercise-row:hover{background:#f8fbfa}.exercise-id{font-size:12px;color:#7a969b;min-width:28px;font-variant-numeric:tabular-nums}.exercise-summary{flex:1}.exercise-summary b{font-size:14px;font-weight:650;display:block;line-height:1.45;letter-spacing:-.01em}.exercise-summary span{display:block;font-size:10px;color:#8a9ca1;margin-top:4px}.badge{display:inline-flex;font-size:9px;font-weight:700;border-radius:4px;padding:4px 8px;white-space:nowrap;align-items:center}.level-1{background:#e7f3ec;color:#507a5a}.level-2{background:#fff1ca;color:#8c6a1d}.level-3{background:#eee9f7;color:#766294}.row-status{width:26px;display:grid;place-items:center;color:#8ca6ac}.row-status .icon{width:18px;height:18px}.row-status.done{color:#319579}.empty{text-align:center;padding:65px 30px}.empty.small{padding:28px}.empty h3{font-size:19px}.empty p{font-size:13px}.exercise-layout{display:grid;grid-template-columns:minmax(0,1fr) 265px;gap:23px;align-items:start}.exercise-paper,.oral-paper{background-color:#fff;background-image:linear-gradient(#d9e8e744 1px,transparent 1px),linear-gradient(90deg,#d9e8e744 1px,transparent 1px);background-size:22px 22px;border:1px solid #c7dbdf;border-radius:10px;padding:30px}.paper-top{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:28px}.favorite-button{background:transparent;display:flex;align-items:center;gap:6px;font-size:10px;color:#80989e;padding:8px 0}.favorite-button .icon{height:18px;width:18px}.favorite-button.selected{color:#9f791c}.favorite-button.selected .icon{fill:#ffe9a0}.question{font-size:20px;color:var(--ink);line-height:1.6;margin-bottom:30px;letter-spacing:-.015em;white-space:pre-line}.answer-label{font-size:12px;color:#526f78;margin-bottom:12px}.numeric-wrap{display:flex;align-items:center;max-width:350px;border:1px solid #accbd1;border-radius:6px;background:white}.numeric-wrap input:not([type=radio]){margin:0;border:none;background:transparent;font-size:22px;padding:13px 17px;min-width:50px}.numeric-wrap>span{font-size:13px;color:#6e8b93;padding:0 17px 0 8px;white-space:nowrap}.input-hint{font-size:10px;margin:10px 0 21px;line-height:1.7}.answer-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.answer-options{border:0;padding:0;margin:0}.answer-option{display:flex;align-items:center;gap:12px;border:1px solid #cbdfe2;border-radius:6px;background:#fff;margin:10px 0;padding:14px 15px;min-height:54px;font-size:13px;font-weight:450;cursor:pointer}.answer-option:has(input:checked){border-color:#267b8f;background:#ecf7f8;box-shadow:0 0 0 1px #267b8f}.answer-option input{accent-color:#1a6476}.option-letter{border:1px solid #d2e1e4;border-radius:4px;font-size:10px;padding:2px 6px;color:#7b999f}.feedback{padding:14px 16px;margin-top:20px;border-radius:6px;border:1px solid;display:flex;flex-direction:column;gap:5px;font-size:12px}.feedback span{font-size:11px}.feedback.success{background:#e7f4eb;border-color:#c0dcc9;color:#3c7553}.feedback.warning{background:#fff4d8;border-color:#e9d9ac;color:#80652d}.solution{margin-top:30px;background:#edf7f4;border:1px solid #bcd9cf;border-left:4px solid #459d83;padding:24px;border-radius:5px}.solution h2{font-size:22px;margin:9px 0 22px}.solution ol{padding-left:21px;margin-bottom:0}.solution li{font-size:13px;line-height:1.85;margin:12px 0;padding-left:7px}.self-assess{margin-top:20px;border-top:1px solid #c2dcd4;padding-top:15px}.self-assess p{font-size:12px}.self-assess .button{margin:5px 5px 0 0}.next-row{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-top:30px;padding-top:23px;border-top:1px solid var(--line);flex-wrap:wrap}.exercise-aside{display:flex;flex-direction:column;gap:18px}.tip-card{background:#fff7db;padding:23px;border-color:#e8ddb5}.tip-card h3{font-size:21px;margin:8px 0 14px}.tip-card ol{padding-left:17px;font-size:12px;color:#6d795f}.tip-card li{margin:10px 0;padding-left:3px}.tip-card .tiny-muted{font-size:10px;margin:10px 0 0}.notes-card{padding:23px}.notes-card label{font-size:15px}.notes-card p{font-size:11px;margin:7px 0 15px}.notes-card small{display:block;color:#8a9da0;margin-top:8px;font-size:9px}.lesson-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px}.lesson-card{border:1px solid var(--line);border-radius:10px;background:white;padding:27px;transition:transform .15s,box-shadow .15s;display:flex;flex-direction:column}.lesson-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px;gap:10px}.lesson-icon{margin-bottom:16px}.lesson-card h2{font-size:22px;margin-bottom:12px}.lesson-card p{font-size:12px;margin-bottom:25px}.lesson-bottom{border-top:1px solid var(--line);padding-top:16px;margin-top:auto;display:flex;justify-content:space-between;gap:15px;align-items:center;font-size:10px;color:#839ba0}.lesson-bottom b{color:#427582}.lesson-bottom .icon{height:15px;width:15px;margin-left:5px}.oral-progress{display:flex;align-items:center;gap:10px;margin-bottom:25px}.oral-progress button{border:1px solid #cadfe2;border-radius:50%;height:39px;width:39px;background:white;font-size:12px}.oral-progress button.active{background:var(--petrol);border-color:var(--petrol);color:white}.oral-progress button.rated:not(.active){background:#e0f1e9;color:#4d826c}.oral-progress span{font-size:9px;letter-spacing:.1em;margin-left:12px;color:#79949b}.oral-paper{max-width:850px;padding:38px}.oral-paper h2{font-size:27px;line-height:1.45;margin-top:12px;margin-bottom:20px}.oral-instruction{font-size:12px;margin-bottom:25px}#oral-model{margin-top:32px;border-top:1px solid var(--line);padding-top:28px}#oral-model h3{font-size:18px}.check-list{list-style:none;padding:0}.check-list li{display:flex;gap:12px;margin:16px 0;font-size:14px;line-height:1.8}.check-list .icon{color:#5c9f8b;height:19px;width:19px;margin-top:4px}.followup{background:#eeeaf9;padding:20px;border-radius:6px;margin:25px 0}.followup p{color:#695b85;font-size:14px;margin:10px 0 0}.rating-buttons{display:flex;gap:9px;flex-wrap:wrap}.summary-panel{max-width:850px}.summary-list{list-style:none;padding:0;margin:28px 0}.summary-list li{padding:16px 0;border-top:1px solid var(--line);display:flex;align-items:center;gap:20px;justify-content:space-between}.summary-list button{text-align:left;background:none;padding:0;flex:1;font-size:13px;color:#3e7380;line-height:1.65}.summary-list span{font-size:10px;color:#82999f}.audio-player{background:var(--petrol);color:white;padding:28px;border-radius:10px;display:flex;gap:27px;align-items:center}.player-icon{width:85px;height:85px;flex:none;border:1px solid #557780;border-radius:50%;display:grid;place-items:center;background:#ffffff08}.player-icon .icon{width:39px;height:39px;color:var(--gold)}.player-main{flex:1}.player-main>b{font-size:12px;display:block;margin-bottom:15px;color:#b5d1d6}.player-actions{display:flex;gap:8px;flex-wrap:wrap}.player-actions .quiet{color:#d2e2e5}.player-main>label{display:flex;align-items:center;gap:12px;font-size:10px;font-weight:450;margin-top:16px;color:#c3d8de}.player-main select{display:inline-block;width:90px;min-height:32px;font-size:11px;padding:4px 6px;margin:0;color:var(--ink)}.transcript{margin-top:28px;background:white;padding:30px;border:1px solid var(--line);border-radius:10px}.transcript-part{display:flex;gap:22px;align-items:start;margin-top:15px;padding:20px 17px;border-left:3px solid transparent;border-radius:3px;transition:background .2s}.transcript-part.speaking{background:#fff6d9;border-left-color:var(--gold)}.segment-number{background:#edf3f3;border:1px solid #cfdee1;color:#76949b;font-size:12px;border-radius:50%;min-width:34px;min-height:34px}.transcript-part p{font-size:16px;line-height:1.95;color:#3e626a;margin:0}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.stat-grid>div{background:white;border:1px solid var(--line);border-radius:9px;padding:25px}.stat-grid strong{display:block;font-size:38px;font-weight:650;letter-spacing:-.05em;line-height:1.2}.stat-grid strong small{font-size:17px;margin-left:4px;color:#9aaeb2;letter-spacing:0}.stat-grid span{font-size:11px;color:#7a969d;display:block;margin-top:11px}.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.profile-grid h2{font-size:24px}.profile-grid form>label{margin-bottom:20px}.checkbox{display:flex;align-items:center;gap:10px;margin:20px 0;font-weight:450}.checkbox input{width:17px;height:17px;accent-color:var(--petrol)}.button-stack{display:flex;gap:9px;flex-wrap:wrap;margin:20px 0}.profile-grid small{font-size:10px;color:#7f999f}.cloud-panel{grid-column:1/-1}.cloud-panel h2{margin-top:10px}.cloud-panel form{max-width:480px}.cloud-panel .tiny-muted{font-size:11px;margin-bottom:0}.status-note{background:#edf5f4;border:1px solid #c9ddda;padding:20px;border-radius:7px;max-width:660px;margin:20px 0}.status-note b{font-size:14px}.status-note p{margin:7px 0 0;font-size:12px}.file-label{cursor:pointer}.file-label input{display:none!important}.prose{max-width:850px}.prose h2{font-size:23px;margin-top:30px}.prose h2:first-child{margin-top:0}.prose p{font-size:14px}.loading{padding:80px;text-align:center;color:#78949b}#toast{position:fixed;bottom:24px;left:calc(50% + 119px);transform:translate(-50%,20px);opacity:0;pointer-events:none;z-index:100;background:var(--petrol);color:white;border:1px solid #6e939b;border-radius:8px;padding:14px 22px;font-size:12px;max-width:min(600px,90vw);box-shadow:0 8px 30px #123d4b22;transition:transform .2s,opacity .2s}#toast.visible{opacity:1;transform:translate(-50%,0)}.large-text .question,.large-text .transcript-part p{font-size:22px}.large-text .solution li,.large-text .check-list li{font-size:17px}.large-text .exercise-summary b{font-size:17px}
@media(min-width:1550px){main{padding-top:44px}.hero h2{font-size:46px}.hero-copy{padding:38px 42px}.hero{min-height:350px}.art-paper{width:300px}.art-sticker{right:40px;bottom:30px}.chapter-card{min-height:222px}.chapter-card h3{font-size:18px}}
@media(max-width:1150px){.sidebar{width:208px;padding:28px 15px}.workspace{margin-left:208px}.topbar{padding:0 28px}main{padding:30px 28px 50px}.brand{font-size:19px}.brand small{font-size:7px}.hero h2{font-size:33px}.hero-copy{padding:30px 27px}.hero-art{padding:28px 17px}.art-paper{width:220px}.art-sticker{right:10px;bottom:20px;font-size:10px}.quick-grid{gap:10px}.quick-card{padding:15px 12px;gap:9px}.quick-card>.icon:last-child{display:none}.quick-card span{font-size:9px}.chapter-card{padding:19px 17px}.exercise-layout{grid-template-columns:minmax(0,1fr) 230px;gap:17px}.exercise-paper{padding:24px}.exercise-aside .panel{padding:20px}.filter-panel{grid-template-columns:1fr 1fr}.stat-grid{gap:10px}.stat-grid>div{padding:19px}#toast{left:calc(50% + 104px)}}
@media(max-width:900px){.sidebar{inset:auto 0 0;width:100%;padding:0 10px calc(env(safe-area-inset-bottom) + 3px);height:auto;min-height:64px;display:block;background:#103f4b;box-shadow:0 -1px 12px #103f4b15}.sidebar .brand,.side-caption,.sidebar-bottom{display:none}#navigation{display:flex;justify-content:space-around;gap:3px}.nav-link{flex:1;display:flex;flex-direction:column;gap:5px;font-size:9px;text-align:center;justify-content:center;padding:9px 3px 7px;margin:0;border-radius:0;line-height:1.2}.nav-link .icon{width:21px;height:21px}.nav-link.active{box-shadow:inset 0 3px var(--gold);background:#ffffff08}.nav-link small{display:none}.workspace{margin-left:0;padding-bottom:70px}.topbar{height:59px;padding:0 25px}.top-label{font-size:8px;letter-spacing:.1em}.top-right{gap:12px}.save-state{font-size:9px}main{padding:29px 25px 40px}.hero{min-height:320px}.hero h2{font-size:38px}.hero-copy{padding:32px}.art-paper{width:250px}.chapter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.chapter-card h3{font-size:15px}.chapter-card{padding:17px 14px}.chapter-heading .tiny-muted{font-size:9px}.chapter-heading .icon{display:none}.exercise-layout{grid-template-columns:minmax(0,1fr) 230px}.mode-grid{gap:13px}.mode-grid .panel{padding:20px}.mode-grid h2{font-size:23px}footer{padding:20px 25px}#toast{bottom:82px;left:50%}}
@media(max-width:640px){h1{font-size:29px;line-height:1.2}.page-title{display:block;margin-bottom:22px}.page-title>.text-link{margin-top:10px}.page-title p{font-size:12px;line-height:1.75}.eyebrow{font-size:8px;letter-spacing:.13em}.topbar{padding:0 19px}.top-label{font-size:8px;max-width:125px;line-height:1.5}.save-state{max-width:150px;font-size:8px;line-height:1.4}.save-state:before{width:4px;height:4px;margin-right:4px}.avatar{width:30px;height:30px}.top-right{gap:9px}main{padding:27px 18px 34px}.hero{display:block;min-height:0;border-radius:10px}.hero-copy{padding:27px 24px 29px;max-width:100%}.hero h2{font-size:34px;margin-top:16px}.hero p{font-size:12px}.hero-art{display:none}.hero-tag{font-size:8px}.hero .button{font-size:12px}.quick-grid{grid-template-columns:1fr;gap:9px;margin:17px 0 29px}.quick-card{padding:15px 18px;gap:16px}.quick-card b{font-size:13px}.quick-card span{font-size:10px}.quick-card>.icon:last-child{display:block}.quick-card>.icon:first-child{width:24px;height:24px}.section-heading{margin:26px 0 16px;gap:12px}.section-heading h2{font-size:22px}.total-progress{font-size:9px;max-width:100px;text-align:right}.chapter-grid{grid-template-columns:1fr;gap:12px}.chapter-card{min-height:0;padding:20px}.chapter-heading{margin-bottom:14px}.chapter-heading .tiny-muted{font-size:10px}.chapter-heading .icon{display:inline-block}.chapter-card h3{font-size:19px;margin-bottom:7px}.chapter-card p{font-size:12px;margin-bottom:20px}.chapter-meta{font-size:10px}.chapter-number{font-size:13px}.chapter-intro{padding:24px 20px;gap:17px}.chapter-number.large{font-size:26px;padding:10px 15px}.chapter-intro h2{font-size:22px}.chapter-intro p{font-size:12px}.mode-grid{grid-template-columns:1fr}.mode-grid .panel{padding:25px}.mode-icon{margin-bottom:18px}.mode-grid .button{align-self:start}.note-banner{padding:18px;gap:13px}.note-banner p{font-size:11px;line-height:1.75}.filter-panel{padding:17px;gap:14px 11px}.filter-panel label{font-size:10px}.filter-panel .search-label{grid-column:1/-1}.filter-panel label:nth-child(2){grid-column:1/-1}.list-heading{font-size:10px;margin:20px 0 13px}.list-heading>span{max-width:60%;font-size:9px;text-align:right}.exercise-row{padding:17px 13px;gap:11px}.exercise-id{font-size:10px;min-width:22px}.exercise-summary b{font-size:12px}.exercise-summary span{font-size:9px}.exercise-row .badge{font-size:8px;padding:3px 6px}.row-status{width:18px}.exercise-layout{grid-template-columns:1fr}.exercise-paper{padding:22px 18px}.paper-top{gap:9px;margin-bottom:23px}.favorite-button{font-size:9px;min-height:36px}.question{font-size:19px;line-height:1.7}.answer-actions{gap:6px}.answer-actions .button{font-size:11px;padding:12px 14px}.next-row{gap:15px;margin-top:25px}.next-row .button{font-size:11px;padding:11px 14px}.solution{padding:20px 17px}.solution h2{font-size:21px}.solution li{font-size:13px;line-height:1.8}.solution .eyebrow{font-size:7px}.self-assess .button{width:100%;margin-right:0;font-size:10px}.tip-card ol{font-size:13px}.exercise-aside{gap:13px}.notes-card textarea{font-size:16px!important}.lesson-grid{grid-template-columns:1fr;gap:15px}.lesson-card{padding:24px}.lesson-card h2{font-size:23px}.lesson-bottom{font-size:11px}.oral-progress{gap:8px}.oral-progress button{width:37px;height:37px}.oral-progress span{font-size:7px;margin-left:auto}.oral-paper{padding:25px 20px}.oral-paper h2{font-size:23px;line-height:1.5}.oral-instruction{font-size:12px}.check-list li{font-size:13px}.rating-buttons{display:grid;grid-template-columns:1fr;width:100%;gap:8px}.rating-buttons .button{justify-content:flex-start}.summary-panel{padding:24px 19px}.summary-list li{align-items:start;gap:15px}.summary-list span{max-width:70px;text-align:right}.summary-list button{font-size:12px}.audio-player{padding:23px 20px;gap:16px;align-items:start}.player-icon{height:44px;width:44px;margin-top:2px}.player-icon .icon{width:23px;height:23px}.player-main>b{font-size:11px}.player-actions{gap:5px}.player-actions .button{font-size:11px;padding:10px 13px}.player-actions .quiet{padding-left:5px}.transcript{padding:24px 17px}.transcript-part{padding:16px 5px;gap:13px}.transcript-part p{font-size:15px;line-height:1.9}.segment-number{min-width:29px;min-height:29px;font-size:10px;margin-top:3px}.stat-grid{grid-template-columns:1fr 1fr;gap:12px}.stat-grid>div{padding:20px 18px}.stat-grid strong{font-size:35px}.stat-grid span{font-size:10px}.profile-grid{grid-template-columns:1fr}.profile-grid .panel{padding:24px 22px}.profile-grid h2{font-size:24px}.profile-grid label{font-size:12px}.profile-grid input:not([type=checkbox]){font-size:16px}.button-stack{gap:6px}.button-stack .button{font-size:11px}.status-note{padding:17px}.prose{padding:25px 22px}.prose h2{font-size:22px}.prose p{font-size:13px}footer{display:block;font-size:9px;padding:20px}footer a{display:block;margin-top:10px}#toast{font-size:11px;width:max-content;max-width:calc(100vw - 28px);padding:12px 17px}.empty{padding:45px 20px}.empty.small{padding:25px 20px}.loading{padding:60px 20px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
:root{--teal:#167d91;--pink:#b73773}.mint{background:#e1f1e9}.quick-grid.four-tools,.mode-grid.four-tools{grid-template-columns:repeat(2,minmax(0,1fr))}.video-thumbnail{background-color:#e4f1ed;background-image:linear-gradient(#11616f0b 1px,transparent 1px),linear-gradient(90deg,#11616f0b 1px,transparent 1px);background-size:17px 17px;border-radius:8px;padding:20px;margin:20px 0;display:grid;gap:12px;min-height:145px}.video-thumbnail>span{font-size:8px;letter-spacing:.12em;color:#427b72}.video-thumbnail>b{font-size:20px;line-height:1.3}.video-shell{border:1px solid #c7dbdf;border-radius:13px;overflow:hidden;background:white;box-shadow:0 10px 30px #103f4b08}.video-topline{display:flex;justify-content:space-between;gap:12px;padding:13px 24px;background:var(--petrol);color:#d9f0ee;font-size:10px;letter-spacing:.04em}.animated-board{padding:28px;background-color:#fbfcf8;background-image:linear-gradient(#167d910c 1px,transparent 1px),linear-gradient(90deg,#167d910c 1px,transparent 1px);background-size:24px 24px}.board-title{border-bottom:1px solid #c5dadc;padding-bottom:14px}.board-title h2{margin:9px 0 0;font-size:29px}.board-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);align-items:center;gap:25px;margin:20px 0}.diagram-wrap{min-width:0}.diagram-wrap svg{display:block;width:100%;height:auto;overflow:visible}.diagram-wrap text{font-family:Inter,'Segoe UI',Arial,sans-serif;font-size:18px;fill:var(--ink);stroke:none}.diagram-wrap text.big{font-size:26px;font-weight:700}.diagram-stroke{fill:none;stroke-width:3;stroke-linecap:round}.diagram-body{stroke:var(--teal);stroke-width:2;fill:#d5eceb}.diagram-note{display:block;text-align:center;color:#70898d;font-size:9px;margin-top:5px}.scene-points{list-style:none;padding:0;margin:0;display:grid;gap:15px}.scene-points li{display:flex;gap:12px;font-size:13px;line-height:1.7;align-items:flex-start}.scene-points li>span{min-width:23px;height:23px;display:grid;place-items:center;background:#dcece8;border-radius:50%;font-size:11px;font-weight:700}.scene-formula{background:var(--petrol);color:#fff7cf;font-size:24px;padding:18px 22px;border-radius:8px;font-weight:650;text-align:center;line-height:1.5;overflow-wrap:anywhere}.scene-note{margin:16px 0 0;text-align:center;font-size:12px;color:#486770;line-height:1.7}.video-timeline{height:4px;background:#dfebeb}.video-timeline span{display:block;height:100%;background:#d6a92e;transition:width .4s}.video-caption{padding:20px 25px;margin:0;font-size:14px;line-height:1.9;color:#345b65;min-height:100px}.video-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:0 25px 15px}.video-controls label{display:flex;align-items:center;gap:10px;margin-left:auto;font-size:11px}.video-controls select{width:auto;padding:7px}.video-status{font-size:11px;margin:0;padding:0 25px 20px;line-height:1.7}.scene-navigation{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0}.scene-navigation button{display:flex;align-items:center;gap:10px;padding:15px;background:#fff;border:1px solid var(--line);border-radius:7px;text-align:left;font-size:11px;line-height:1.5}.scene-navigation button.active{background:#e3f0ee;border-color:#7aa7a7}.scene-navigation b{font-size:16px;color:#277f84}.video-transcript{background:white;border:1px solid var(--line);padding:20px 25px;border-radius:8px;margin:25px 0}.video-transcript summary,details summary{cursor:pointer;line-height:1.6;font-weight:600}.video-transcript section{margin-top:25px}.video-transcript p{line-height:1.9;font-size:14px}.video-check h2{margin-top:10px}.check-options{display:flex;gap:10px;flex-wrap:wrap}.video-check-feedback{margin:18px 0;color:#245f5c}.video-check details{font-size:14px}.video-check details p{margin:15px 0 0}.followup details{font-size:13px}.followup details p{margin:12px 0 0}.is-playing .scene-points li{animation:scene-in .7s both;animation-delay:calc(var(--step)*.7s)}.is-playing .diagram-stroke{stroke-dasharray:700;stroke-dashoffset:700;animation:draw-line 2s ease-out forwards}.is-playing .scene-formula{animation:scene-in .8s .4s both}@keyframes draw-line{to{stroke-dashoffset:0}}@keyframes scene-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@media(max-width:1100px){.board-grid{grid-template-columns:1fr}.diagram-wrap{max-width:620px;width:100%;margin:auto}.scene-points{grid-template-columns:repeat(3,1fr);gap:12px}.scene-points li{font-size:12px}.scene-points li>span{display:none}}@media(max-width:640px){.quick-grid.four-tools,.mode-grid.four-tools{grid-template-columns:1fr}.nav-link{font-size:8px}.nav-link .icon{width:19px;height:19px}.video-topline{padding:12px 15px;font-size:8px}.animated-board{padding:20px 14px}.board-title h2{font-size:24px}.board-grid{gap:14px;margin:14px 0}.scene-points{grid-template-columns:1fr;gap:9px}.scene-points li{font-size:12px}.scene-points li>span{display:grid;min-width:21px;height:21px}.scene-formula{font-size:19px;padding:14px 10px}.scene-note{font-size:11px}.video-caption{font-size:13px;padding:18px;min-height:100px}.video-controls{padding:0 16px 14px;gap:7px}.video-controls .button{font-size:11px;padding:11px 13px}.video-controls label{margin-left:0}.video-status{padding:0 18px 18px;font-size:10px}.scene-navigation{grid-template-columns:1fr 1fr;gap:8px}.scene-navigation button{font-size:10px;padding:12px 10px;gap:7px}.video-transcript{padding:20px 18px}.video-check{padding:22px 18px}.check-options .button{font-size:12px}.video-check p{font-size:13px}.video-check details{font-size:12px}}@media(prefers-reduced-motion:reduce){.is-playing *{animation:none!important;stroke-dashoffset:0!important}.video-timeline span{transition:none}}

.diagram-zoom{display:none}@media(max-width:640px){.diagram-zoom{display:block;margin:9px auto 0;font-size:11px}.diagram-wrap{overflow-x:auto}.diagram-wrap.zoomed svg{min-width:660px}.diagram-wrap.zoomed .diagram-note{text-align:left;padding-left:12px}.diagram-wrap.zoomed .diagram-zoom{margin-left:12px}}

/* Reading preference applies to all lesson formats. */
.large-text .video-caption,.large-text .video-transcript p,.large-text .scene-points li,.large-text .followup p,.large-text .video-check p,.large-text .video-check details,.large-text .oral-instruction{font-size:18px;line-height:1.85}
.large-text .scene-formula{font-size:27px}.large-text .scene-note{font-size:16px}.large-text .scene-navigation button{font-size:14px}

/* Study support: restrained paper colors and native keyboard-accessible disclosures. */
.hint-panel{border:1px solid #e5d89d;background:#fffcf0;border-radius:9px;padding:20px 23px;margin:25px 0}
.hint-intro{font-size:13px;margin:7px 0 13px}.exercise-hint summary{padding:8px 0;font-size:14px;min-height:44px}.exercise-hint p{font-size:14px;line-height:1.8;margin:10px 0 14px;color:#3c5960}.second-hint{border-top:1px solid #e5d89d;margin-top:12px;padding-top:5px}
.model-answer{border-left:3px solid #277f84;background:#edf6f5;padding:24px;margin:25px 0}.model-answer p{font-size:16px;line-height:1.9;color:#284e58;margin:12px 0}.model-answer small{color:#60787f;line-height:1.6;display:block}
.printable-banner{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:25px 28px;border:1px solid var(--line);background:#fff;border-radius:10px;margin:25px 0 35px}.printable-banner h2{font-size:23px;margin:8px 0}.printable-banner p{font-size:13px;margin:0;max-width:580px}.printable-banner .button{flex-shrink:0}
.printable-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-bottom:26px}.printable-card{display:flex;align-items:flex-start;flex-direction:column;min-width:0}.printable-card h2{margin:10px 0 12px}.printable-card>p,.printable-card li{font-size:14px;line-height:1.8}.printable-card ul{padding-left:20px;color:var(--muted);margin:0 0 20px}.printable-card .printable-meta{margin-top:auto;font-size:12px;padding-top:14px}.printable-open{font-size:12px;margin-top:15px}.printable-cover{background:var(--petrol);color:white;border-radius:6px;border-bottom:6px solid var(--gold);padding:24px 25px;display:flex;flex-direction:column;gap:23px;width:100%;margin-bottom:27px;min-height:182px}.printable-cover>span{font-size:12px;letter-spacing:.15em}.printable-cover>span b{color:var(--gold)}.printable-cover strong{font-size:30px;letter-spacing:-.03em;line-height:1.15}.printable-cover small{color:#c4dadd;font-size:8px;letter-spacing:.15em}
.large-text .exercise-hint p,.large-text .model-answer p,.large-text .printable-card>p,.large-text .printable-card li{font-size:18px;line-height:1.85}
@media(max-width:900px){.sidebar{overflow-y:auto}.printable-grid{gap:16px}}
@media(max-width:640px){.printable-grid{grid-template-columns:1fr}.printable-banner{display:block;padding:22px}.printable-banner .button{margin-top:18px}.hint-panel{padding:18px}.exercise-hint summary{font-size:13px}.model-answer{padding:18px}.model-answer p{font-size:14px}.printable-cover strong{font-size:28px}}
