body{background:#fdfefd;color:#143b33}
.workspace{position:relative;isolation:isolate;background-image:linear-gradient(#ffffffa6,#ffffffd9),url('/assets/tuscany-background.png');background-position:center;background-size:cover;background-attachment:fixed;min-height:100dvh}
.workspace>:not(.ambient-birds){position:relative;z-index:1}
.ambient-birds{position:fixed;inset:0 0 auto 236px;height:100dvh;overflow:hidden;pointer-events:none;z-index:0}
.ambient-flock{position:absolute;top:64%;left:0;display:flex;align-items:flex-start;gap:18px;color:#29483c;opacity:0;animation:ambient-flight 28s linear 5s infinite}
.flying-bird{--bird-scale:1;position:relative;display:block;width:34px;height:22px;filter:drop-shadow(0 2px 2px #fff8);transform:scale(var(--bird-scale))}
.flying-bird::before{content:"";position:absolute;left:7px;top:9px;width:22px;height:6px;border-radius:70% 45% 55% 70%;background:currentColor}
.flying-bird::after{content:"";position:absolute;left:1px;top:10px;width:7px;height:4px;background:currentColor;clip-path:polygon(0 50%,100% 0,100% 100%)}
.bird-wing{position:absolute;left:16px;top:10px;width:16px;height:6px;background:currentColor;border-radius:18% 90% 25% 70%;transform-origin:left center;animation-duration:.55s;animation-timing-function:ease-in-out;animation-iteration-count:infinite;animation-direction:alternate}
.bird-wing-near{animation-name:ambient-wing-near}
.bird-wing-far{opacity:.62;animation-name:ambient-wing-far}
.flying-bird:nth-child(2){--bird-scale:.72;margin-top:24px}.flying-bird:nth-child(2) .bird-wing{animation-delay:-.22s}
.flying-bird:nth-child(3){--bird-scale:.86;margin-top:7px}.flying-bird:nth-child(3) .bird-wing{animation-delay:-.39s}
@keyframes ambient-flight{0%{opacity:0;transform:translate3d(105vw,0,0)}8%{opacity:.09}55%{opacity:.06}68%,100%{opacity:0;transform:translate3d(-28vw,0,0)}}
@keyframes ambient-wing-near{from{transform:rotate(-12deg) scaleY(.35)}to{transform:rotate(-62deg) scaleY(1)}}
@keyframes ambient-wing-far{from{transform:rotate(12deg) scaleY(.35)}to{transform:rotate(58deg) scaleY(1)}}
main{max-width:1120px;padding-top:16px;padding-bottom:60px}
button,a{transition:background-color .15s,color .15s}
.primary{background:#075444;color:#fff;border-radius:999px;box-shadow:0 6px 16px #163c2914;min-height:48px;padding:12px 25px}
.primary:hover{background:#043e32}
.secondary{border-radius:12px}
.page-heading{position:relative;min-height:110px;align-items:center}
.page-heading h1,.course-heading h1{font-size:34px;line-height:1.4;font-weight:750;color:#07392e}
.page-heading h1:after,.course-heading h1:after{content:"";display:block;width:26px;height:3px;background:#ad8753;border-radius:2px;margin-top:10px}
.page-heading .eyebrow{display:none}
.subtitle{font-size:15px;color:#626973;line-height:1.8;margin-top:14px}
.topbar{background:#ffffffed;border-color:#edf0eb;height:auto;min-height:56px;padding-block:4px;gap:12px;flex-wrap:wrap}
.page-footer{color:#70786f;gap:16px;flex-wrap:wrap}
.michael-image{display:block;object-fit:contain;width:180px;height:210px;flex-shrink:0}
.course-top{display:flex;justify-content:space-between;gap:16px;margin-bottom:22px;flex-wrap:wrap}
.course-top .inline-link{font-size:12px;min-height:36px}
.course-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.course-heading>span{font-size:12px;color:var(--muted)}
.course-heading strong{font-size:21px;color:var(--green);margin-left:12px}
.course-story{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 0 8px;border-bottom:1px solid var(--line)}
.course-story>div{flex:1;min-width:0}
.course-story h2{font-size:30px;line-height:1.5}
.course-story p{font-size:16px;color:var(--muted);margin:10px 0 24px}
.course-story .michael-image{width:210px;height:240px;align-self:flex-end}
.learning-path{list-style:none;padding:24px 0 0;margin:0 auto;width:min(100%,410px)}
.learning-path li{position:relative;padding-bottom:12px}
.learning-path li:not(:last-child):after{content:"";position:absolute;width:2px;left:31px;top:60px;bottom:-4px;background:repeating-linear-gradient(to bottom,#cbd2c8 0 6px,transparent 6px 12px)}
.learning-path button{position:relative;z-index:1;display:flex;width:100%;justify-content:flex-start;text-align:left;gap:24px;min-height:62px;padding:0;background:transparent;color:#253b35;font-size:18px;font-weight:650}
.learning-path button:disabled{opacity:1;color:#8a8c88}
.path-node{flex:0 0 62px;width:62px;height:62px;display:grid;place-items:center;border:6px solid #f2f4ef;background:#eae9e4;border-radius:50%;color:#736858}
.path-node svg{width:27px;height:27px}
.learning-path .completed .path-node{background:#e0eee4;color:#075444}
.learning-path button:not(:disabled):hover .path-node{background:#075444;color:#fff}
.learning-path .final-step .path-node{border-color:#eee5cc;background:#fffdf4;color:#a38042}
.learning-path small{display:block;font-size:10px;font-weight:400;margin-top:3px;color:#727a72}
.course-goal{margin:0 0 8px 86px;display:grid;gap:7px}
.course-goal-count{display:flex;justify-content:space-between;gap:8px;font-size:12px;color:var(--muted)}
.course-goal-count strong{color:var(--green);font-variant-numeric:tabular-nums;font-weight:650}
.course-goal progress{max-width:none;height:8px;display:block}
.learning-path .course-goal small{margin:0;font-size:11px;line-height:1.5}
.course-progress{display:grid;gap:10px;justify-items:center;margin:24px auto 38px;font-size:13px}
progress{appearance:none;height:9px;width:100%;max-width:320px;border:0;border-radius:99px;overflow:hidden;background:#e9e8e5}
progress::-webkit-progress-bar{background:#e9e8e5;border-radius:99px}
progress::-webkit-progress-value{background:#075444;border-radius:99px}
progress::-moz-progress-bar{background:#075444;border-radius:99px}
body[data-view="study"] main{max-width:980px}
body[data-view="weekly"] main{max-width:820px}
body[data-view="setup"] main{max-width:900px}
body[data-view="setup"] .practice-layout{display:block}
body[data-view="setup"] .practice-section{padding:0}
body[data-view="setup"] .page-heading h1{font-size:24px}
body[data-view="setup"] .start-row{display:flex;flex-direction:column;align-items:center;gap:10px;margin-top:28px}
body[data-view="setup"] .start-row .primary{width:min(100%,360px);min-height:64px;font-size:21px;justify-content:center;box-shadow:0 6px 16px #07544426}
.word-plan{padding:16px 0;border-block:1px solid var(--line);margin:16px 0}
.word-plan dl{margin:0;display:grid;gap:10px}
.word-plan dl>div{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.word-plan dt{font-size:12px;color:var(--muted)}
.word-plan dd{margin:0;font-size:14px;font-weight:600}
.word-plan p{font-size:12px;line-height:1.7;margin-top:12px}
.word-activity{display:block;margin-top:16px}
body[data-view="setup"] .lesson-number{margin-top:18px}
body[data-view="setup"] .practice-fields{margin-top:16px}
body[data-view="setup"] .practice-fields .sentence-category{grid-column:1/-1}
#editor .dialog-actions{flex-wrap:wrap}
#editor .dialog-actions>button{padding-inline:16px;white-space:nowrap;flex-shrink:0}
body[data-view="setup"] .practice-fields:has(#study-topic):not(:has(#study-seconds)){grid-template-columns:1fr}
.word-guide{border-top:1px solid var(--line);margin-top:28px;padding-top:20px;font-size:13px;line-height:1.8}
.word-guide h2{font-size:17px}.word-guide ol{padding-left:22px}.word-guide p{margin-top:12px}
.word-guide details{margin-top:16px}.word-meaning{font-size:24px;font-weight:650;margin:14px 0}
h1.question.word-meanings{flex-direction:column;gap:10px}
.word-meaning-row{display:flex;align-items:baseline;justify-content:center;gap:10px;max-width:100%;min-width:0}
.word-meaning-text{min-width:0;overflow-wrap:anywhere}
.word-meaning-secondary{font-size:15px;font-weight:500;line-height:1.7;color:var(--muted)}
.word-meaning-row .meaning-pos{flex:0 0 auto;align-self:flex-start;margin-top:3px;min-width:30px;width:auto;padding-inline:5px;font-size:12px;letter-spacing:0;white-space:nowrap}
.meaning-pos::before{content:attr(data-label)}
.word-practice .answer-heading>.pos-badge{flex-basis:auto;min-width:32px;padding-inline:6px;white-space:nowrap}
.word-repetition{padding:16px 0;display:grid;gap:12px;border-top:1px solid var(--line)}
.word-repetition h2{font-size:17px}.word-repetition p{margin:0;line-height:1.7}
body[data-view="weekly"] .page-heading h1{font-size:24px;line-height:1.5}
body[data-view="study"] .overview{margin-top:30px}
body[data-view="study"] .practice-layout{display:block}
body[data-view="study"] .practice-config{max-width:740px}
body[data-view="study"] .practice-section{padding:16px 0}
.segmented{border-radius:999px;background:#f0efeb;flex-wrap:wrap}
.segmented button{border-radius:999px;min-width:90px}
.segmented button.selected{background:#075444;color:#fff;box-shadow:none}
.field-intro{display:flex;justify-content:space-between;align-items:center;gap:20px;border-block:1px solid var(--line);padding:24px 0 30px;margin-bottom:28px}
.field-intro h2{font-size:27px}
.field-intro h2 small{display:block;white-space:nowrap;font-size:15px;margin-top:6px}
.field-intro p:not(.eyebrow){font-size:15px;line-height:1.8;color:var(--muted);margin:10px 0 20px}
.field-intro .michael-image{width:200px;height:210px}
.field-list{display:grid;gap:14px}
.field-item{display:flex;text-align:left;justify-content:flex-start;align-items:center;width:100%;gap:18px;padding:22px;background:#fff;border:1px solid #f0f0eb;border-radius:20px;box-shadow:0 5px 20px #333d2608;color:var(--ink)}
.field-item:disabled{opacity:1;cursor:default}
.field-copy{flex:1;min-width:0}
.field-copy strong{display:block;font-size:22px;line-height:1.4}
.field-subtitle{display:block;font-size:14px;line-height:1.7;text-wrap:balance;font-weight:500}
.field-copy small{display:block;color:var(--muted);line-height:1.7;margin-top:4px}
.field-icon{width:58px;height:58px;flex:0 0 58px;display:grid;place-items:center;border-radius:50%;background:#edf6f0;color:#075444}
.field-icon svg{width:30px;height:30px}
.field-azure .field-icon{background:#eaf3fa;color:#307baa}
.field-math .field-icon{background:#fff3db;color:#906b16}
.field-dialogue .field-icon{background:#faeeee;color:#a45260}
.field-wellbeing .field-icon{background:#eaf5f3;color:#247a71}
.field-philosophy .field-icon{background:#edf0f8;color:#566990}
.field-status{flex-shrink:0;font-size:12px;color:#66655f;background:#f2f0ed;border-radius:99px;padding:5px 12px}
body[data-view="fields"] main{max-width:900px}
.learn-directory .workspace{margin-left:0;min-height:100vh}
.learn-directory .topbar{max-width:900px;margin:auto;padding-inline:24px}
.learn-directory main{padding-bottom:24px}
.learn-directory .page-footer{padding-bottom:28px}
.learn-directory .field-item{text-decoration:none;border-radius:8px}
.learn-directory a.field-item:hover{border-color:var(--accent)}
.learn-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 0 28px}
.learn-heading h1{font-size:30px;line-height:1.65;letter-spacing:0}
.learn-heading .michael-image{width:150px;height:150px;flex-shrink:0}
@media(max-width:600px){.learn-heading{gap:8px}.learn-heading h1{font-size:22px}.learn-heading .michael-image{width:85px;height:110px}.learn-directory .field-item{padding:16px 12px;gap:10px}.learn-directory .field-status{padding:4px 8px}}
@media(max-width:380px){.learn-heading h1{font-size:18px}.learn-directory .field-item{display:grid;grid-template-columns:40px minmax(0,1fr)}.learn-directory .field-status{grid-column:2;justify-self:start}.learn-directory .field-copy strong{font-size:17px}.learn-directory .field-subtitle{font-size:13px}}
body[data-view="library"] .page-heading{padding-right:115px}
.library-michael{position:absolute;right:0;top:0;width:105px;height:100px}
body[data-view="library"] .page-heading>.primary{font-size:12px;padding:10px 14px;white-space:nowrap}
.library-toolbar{flex-direction:column;align-items:stretch;gap:18px}
.library-toolbar .search{order:-1;max-width:none;min-height:52px;flex:auto}
.library-toolbar .search input{border-radius:18px;border-color:#efefeb;background:#fff;padding-block:17px;box-shadow:0 4px 18px #202c1c06}
.library-toolbar .segmented{background:transparent;border-radius:0;padding:0;justify-content:flex-start;gap:8px;min-width:0}
.library-toolbar .segmented button{flex:0 0 auto;height:44px;min-height:44px;line-height:1.4;white-space:nowrap;border-radius:8px;background:#f2f0ed;color:#5b5a55;padding:0 16px;font-size:12px;font-weight:600}
.library-toolbar .segmented .selected{color:#fff;background:#075444}
#material-list .material-row{margin-bottom:14px;padding:20px;border:1px solid #f1f1ed;background:#fff;border-radius:18px;box-shadow:0 5px 22px #23342508}
#material-list .material-icon{background:#edf5ef;width:45px;height:45px;flex:0 0 45px;border-radius:50%;margin-top:8px}
#material-list .material-icon svg{width:25px;height:25px}
#material-list .material-body h3{font-family:inherit;font-size:17px;font-weight:650}
#material-list .material-body p{font-size:12px;line-height:1.7}
.backup-actions{border-top:1px dashed #baa079;gap:12px;padding-top:24px}
body[data-view="records"] .page-heading{padding-right:170px;min-height:150px}
body[data-view="records"] #weekly-growth{margin-top:40px}
.record-transfer{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;margin:0 0 28px}
.record-transfer button{max-width:100%;white-space:normal;text-align:left}
.records-michael{position:absolute;right:0;bottom:0;width:165px;height:140px}
.period-toggle{width:min(100%,280px);margin:8px 0 24px}
.period-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:20px 0;margin:0 0 24px;border-block:1px solid var(--line)}
.period-metrics>div{text-align:center;border-right:1px solid var(--line)}
.period-metrics>div:last-child{border:0}
.period-metrics dt{display:grid;justify-items:center;gap:9px;color:var(--muted);font-size:13px}
.period-metrics dt svg{width:26px;height:26px;color:#8c7654}
.period-metrics dd{margin:12px 0 0;font-size:38px;font-weight:700;font-variant-numeric:tabular-nums;line-height:1.1}
.period-metrics small{font-size:17px;margin-left:3px}
.wpm-section{padding:20px 0 28px;border-bottom:1px solid var(--line)}
.wpm-section h2{font-size:21px}
.wpm-section p{font-size:12px;color:var(--muted);margin-top:8px}
.wpm-section .section-heading>strong{font-size:28px;white-space:nowrap;color:var(--green)}
.wpm-section small{font-size:11px;margin-left:5px}
.wpm-line-chart{display:block;width:100%;height:auto;max-height:260px;aspect-ratio:2;overflow:visible}
.wpm-line-chart text{font-family:inherit;font-size:10px;fill:#626a72}
.period-breakdown{display:grid;gap:12px;padding:24px 0 34px}
.period-breakdown>div{display:flex;align-items:center;gap:16px;padding:20px;background:#fff;border:1px solid #eceee8;border-radius:18px}
.period-breakdown>div>svg{width:29px;height:29px;color:#947b57}
.period-breakdown>div>span{flex:1;font-size:16px;font-weight:600}
.period-breakdown strong{font-size:26px;color:#075444}
.period-breakdown small{font-size:12px;margin-left:5px}
body[data-view="records"] main>.overview{margin:24px 0}
.michael-story{max-width:760px;margin:auto}
.michael-story>h1{font-size:23px;text-align:center;margin:0 0 30px}
.michael-story>.inline-link{margin-bottom:20px}
.michael-hero{position:relative;min-height:390px;background:#f5efe6;overflow:hidden;padding:26px 24px;margin-bottom:20px}
.michael-hero>div{position:relative;z-index:1;max-width:54%;pointer-events:none}
.michael-hero h2{font-size:36px;line-height:1.45;color:#07382e}
.michael-hero p{font-size:17px;line-height:1.9;margin-top:24px;color:#576067}
.michael-hero .michael-image{position:absolute;width:290px;height:390px;right:8px;bottom:0;object-position:bottom}
.knowledge-section{padding:24px 0;border-block:1px solid var(--line);margin:20px 0}
.knowledge-section h2{display:flex;align-items:center;gap:10px;font-size:20px}
.knowledge-section>.section-heading>strong{font-size:32px;color:#8d6828}
.knowledge-section small{font-size:11px;margin-left:5px}
.knowledge-fields{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;text-align:center}
.knowledge-fields>div{display:flex;flex-direction:column;align-items:center;gap:10px;font-size:12px;min-width:0}
.knowledge-fields .field-icon{width:52px;height:52px;flex-basis:52px}
.knowledge-fields small{margin:0;color:var(--muted);font-size:10px}
.next-milestone{display:flex;gap:24px;padding:24px 0 36px}
.milestone-icon>svg{width:45px;height:45px;color:#a58454}
.next-milestone>div{flex:1}
.next-milestone h2{font-size:18px}
.next-milestone p{font-size:15px;line-height:1.8;margin:12px 0}
.next-milestone strong{font-size:33px;color:#937035}
.next-milestone progress{display:block;margin:20px 0}
.michael-return{width:100%}
.speaking-practice .question-area{position:relative;max-width:730px;padding-bottom:12px}
.speaking-practice h1.question{font-size:32px;line-height:1.7;text-align:left;justify-content:flex-start;margin:32px auto 20px;max-width:620px}
.speaking-practice .recording-panel{border:0;margin:24px 0 10px;padding:0}
.recording-panel>.recording-status{display:block;margin-top:10px;line-height:1.6}
.sentence-training{padding:20px 0;border-top:1px solid var(--line);display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:12px}
.sentence-training h2{flex-basis:100%;font-size:18px;line-height:1.6;margin:0;text-align:center}
.sentence-training small{flex-basis:100%;color:var(--muted);text-align:center;font-size:11px}
.sentence-training button span{font-variant-numeric:tabular-nums;min-width:38px}
.sentence-response{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 16px;padding:12px 0;border-block:1px solid var(--line);font-size:13px}
.sentence-response strong{font-size:24px;font-variant-numeric:tabular-nums;min-width:90px}
.sentence-response strong small{font-size:12px;margin-left:4px}
.sentence-response>span:last-child{flex-basis:100%;color:var(--muted)}
.sentence-response-summary{margin:24px 0;text-align:left;border-block:1px solid var(--line);padding:16px 0}
.sentence-response-summary h2{font-size:20px}
.sentence-response-summary ol{padding-left:24px}
.sentence-response-summary li{padding:10px 0;border-top:1px solid var(--line);overflow-wrap:anywhere}
.sentence-response-summary li strong{margin-left:12px;white-space:nowrap;font-variant-numeric:tabular-nums}
.sentence-response-summary li small{display:block;color:var(--muted)}
.sentence-lesson .session-top{flex-wrap:wrap;gap:12px}
.sentence-session-tools{display:flex;align-items:center;gap:4px;margin-left:auto}
.sentence-lesson .session-top>span{white-space:nowrap}
@media(max-width:600px){.sentence-lesson .session-top{row-gap:4px}.sentence-lesson .session-top>span{order:3;flex-basis:100%;text-align:center}}
.sentence-examples-button{margin-left:auto;white-space:nowrap}
.sentence-question-heading{display:flex;align-items:center;justify-content:center;gap:8px;margin:16px 0}
.practice-config .last-study{font-size:13px;line-height:1.6;margin:8px 0 12px}
.sentence-question-heading h1.question{min-height:0;margin:0;font-size:24px;line-height:1.6;min-width:0;overflow-wrap:anywhere}
.sentence-question-heading>.icon-button{flex:0 0 44px;width:44px;height:44px}
.sentence-plan dd{overflow-wrap:anywhere}
#sentence-examples{width:min(640px,calc(100% - 32px));max-height:80vh}
#sentence-examples-list{padding-left:24px}
#sentence-examples-list li{padding:14px 0;border-bottom:1px solid var(--line)}
#sentence-examples-list p{line-height:1.7;overflow-wrap:anywhere;margin:4px 0}
.speaking-practice .recording-status{text-align:center}
.speaking-practice .recording-controls{justify-content:center}
.speaking-practice .recording-controls>[data-action="record-start"],.speaking-practice .recording-controls>[data-action="record-stop"]{border-radius:50%;width:152px;height:152px;min-width:152px;display:flex;flex-direction:column;gap:12px;border:8px solid #f0f4ee;background:#075444;color:#fff;box-shadow:0 8px 26px #21483414;font-size:15px;padding:12px}
.speaking-practice .recording-controls>[data-action="record-start"] svg,.speaking-practice .recording-controls>[data-action="record-stop"] svg{width:47px;height:47px}
.speaking-practice .recording-controls>[data-action="record-stop"]{background:#8a433b}
.speaking-practice .thinking{padding:12px 0;gap:12px}
.speaking-practice .countdown{border:0;width:auto;height:auto;display:flex;flex-direction:row;gap:8px;font-size:12px}
.speaking-practice .countdown span{font-size:16px}
.speaking-practice .thinking>.primary{background:transparent;color:#977541;box-shadow:none;border-radius:0;border-bottom:1px solid #b6986d;min-height:38px;padding:4px 0;font-size:14px}
.practice-michael{width:135px;height:120px;margin:12px 0 0 auto}
@keyframes michael-arrive{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
.course-story,.field-intro,.michael-hero{animation:michael-arrive .35s ease-out}
@media(min-width:1100px){.learning-path{width:100%;display:grid;grid-template-columns:repeat(3,1fr);gap:20px 12px}.learning-path li:after{display:none}.learning-path button{gap:12px;font-size:15px}.course-story{padding-inline:26px}.course-story .michael-image{width:200px;height:220px}}
@media(max-width:800px){main{max-width:720px;padding:22px 20px 44px}.topbar{height:54px;padding-inline:20px}.breadcrumb{font-size:9px}.breadcrumb b{font-size:10px}.sidebar{height:calc(78px + env(safe-area-inset-bottom));background:#fffffff5;box-shadow:0 -4px 18px #36433505}.sidebar nav{height:78px}.sidebar nav button{font-size:11px;gap:5px;position:relative;color:#6a6e76}.sidebar nav button>svg{width:27px;height:27px}.sidebar nav button.active{border-top:0;color:#075444}.sidebar nav button.active:after{content:"";position:absolute;bottom:3px;width:5px;height:5px;background:#075444;border-radius:50%}.workspace{padding-bottom:calc(78px + env(safe-area-inset-bottom))}.page-heading h1,.course-heading h1{font-size:30px}.course-top{margin-bottom:12px}.course-story{gap:8px;min-height:200px;padding-top:18px}.course-story h2{font-size:27px}.course-story p{font-size:14px;margin:10px 0 18px}.course-story .michael-image{width:155px;height:190px}.course-story .primary{font-size:13px;padding:12px 18px}.learning-path{padding-top:20px;width:290px}.learning-path button{font-size:17px;gap:22px;min-height:61px}.learning-path li{padding-bottom:12px}.course-progress{margin:18px auto 30px}.course-heading>span{font-size:11px}.course-heading strong{font-size:20px}.field-intro .michael-image{width:145px;height:160px}.field-intro h2{font-size:23px}.field-intro p:not(.eyebrow){font-size:13px}.field-item{padding:18px 16px;gap:12px}.field-copy strong{font-size:20px}.field-copy small{font-size:11px}.field-icon{width:52px;height:52px;flex-basis:52px}.field-status{font-size:10px;padding:4px 8px}.field-intro .primary{font-size:13px;padding:12px 20px}.page-heading{min-height:105px;gap:14px;flex-wrap:wrap}body[data-view="library"] .page-heading{padding-right:85px}.library-michael{width:80px;height:90px}.library-toolbar .segmented button{padding:10px 13px;font-size:11px;min-width:0}#material-list .material-row{padding:17px 12px}#material-list .material-body h3{font-size:16px}#material-list .material-icon{width:38px;height:38px;flex-basis:38px}body[data-view="records"] .page-heading{padding-right:125px;min-height:125px}.records-michael{width:120px;height:105px}.period-metrics dd{font-size:33px}.wpm-section h2{font-size:18px}.wpm-section .section-heading{gap:10px}.wpm-section .section-heading>strong{font-size:24px}.period-breakdown>div{padding:18px 16px;gap:12px}.period-breakdown>div>span{font-size:16px}.period-breakdown strong{font-size:23px}.michael-hero{min-height:365px;margin-inline:-20px;padding:24px 20px}.michael-hero h2{font-size:29px}.michael-hero p{font-size:13px;line-height:1.9}.michael-hero .michael-image{width:230px;height:310px;right:-5px}.michael-hero>div{max-width:65%}.knowledge-section h2{font-size:18px}.knowledge-fields{gap:6px}.knowledge-fields .field-icon{width:45px;height:45px;flex-basis:45px}.knowledge-fields>div{font-size:10px}.knowledge-fields svg{width:25px;height:25px}.speaking-practice h1.question{font-size:28px;min-height:125px}.speaking-practice .recording-controls>[data-action="record-start"],.speaking-practice .recording-controls>[data-action="record-stop"]{width:148px;height:148px;min-width:148px}}
@media(max-width:370px){main{padding-inline:16px}.course-story h2{font-size:23px}.course-story p{font-size:12px}.course-story .michael-image{width:110px;height:150px}.course-story .primary{font-size:12px;padding:11px 13px}.course-top .inline-link{font-size:11px}.field-intro{gap:8px}.field-intro .michael-image{width:108px;height:142px}.field-copy strong{font-size:17px}.field-copy small{font-size:10px}.field-item{padding:16px 10px;gap:9px}.field-icon{width:42px;height:42px;flex-basis:42px}.field-icon svg{width:24px;height:24px}.field-status{padding:4px 7px}.field-item>svg{display:none}.michael-hero{margin-inline:-16px}.michael-hero h2{font-size:26px}.michael-hero p{font-size:12px;max-width:160px}.michael-hero .michael-image{width:203px;height:270px}.knowledge-fields .field-icon{width:38px;height:38px;flex-basis:38px}.knowledge-section h2{font-size:16px}.knowledge-section>.section-heading>strong{font-size:26px}.period-metrics dd{font-size:28px}.period-metrics small{font-size:13px}.wpm-section h2{font-size:16px}.period-breakdown>div>span{font-size:14px}.speaking-practice h1.question{font-size:25px}.learning-path{width:100%}}
@media(prefers-reduced-motion:reduce){.ambient-birds{display:none}.course-story,.field-intro,.michael-hero{animation:none}button,a{transition:none}}
@media(max-width:800px){.course-story h2{font-size:24px}.course-story .michael-image{width:125px;height:165px}}
@media(max-width:1050px){.michael-hero{display:grid;grid-template-columns:1fr;gap:16px;min-height:0;background:#f5efe6}.michael-hero>div{max-width:none}.michael-hero p{max-width:none;margin-top:14px}.michael-hero .michael-image{position:static;width:100%;height:320px;object-position:center}}
@media(max-width:800px){.ambient-birds{left:0;height:calc(100dvh - 78px)}.ambient-flock{top:62%}}
@media(max-width:600px){.course-story .michael-image{width:120px;height:160px}}
@media(max-width:370px){.course-story h2{font-size:20px}.course-story .michael-image{width:106px;height:145px}}
#material-list .material-row{padding-block:12px}
.course-top{margin-bottom:8px}
.page-heading{min-height:0;margin-bottom:20px}
body[data-view="weekly"] .page-heading h1{font-size:22px;line-height:1.35}
body[data-view="weekly"] .weekly-panel{margin-top:0;padding-top:16px}
@media(max-width:800px){main{padding-top:12px}.topbar{height:auto;min-height:48px;padding-block:2px}.topbar .icon-button{width:44px;height:44px}.page-heading{min-height:0;margin-bottom:16px}}
.course-heading{justify-content:flex-end;gap:14px;min-height:28px}
.course-heading h1{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.course-heading strong{font-size:17px;margin-left:6px}
.course-heading .course-day{font-size:12px;border-left:1px solid var(--line);padding-left:14px}
.course-story{min-height:0;padding:12px 0;gap:16px}
.course-story h2{font-size:21px;margin:0 0 10px}
.course-story .primary{min-height:42px;padding:9px 18px;font-size:13px}
.course-story .michael-image{width:110px;height:110px;align-self:center}
.learning-schedule{min-width:0;margin-top:20px}
.schedule-date-nav{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:4px;border-bottom:1px solid var(--line);padding-bottom:8px}
.schedule-date-nav .icon-button{width:44px;height:44px;flex:0 0 44px}
.schedule-date-tools{display:flex;align-items:center;justify-content:center;gap:4px;min-width:0}
.schedule-date-nav .schedule-date{margin:0;text-align:center;font-size:18px;line-height:1.6;overflow-wrap:anywhere}
.schedule-date-nav .schedule-date>span{display:inline-block;font-size:11px;margin-left:4px}
@media(max-width:380px){.schedule-date-nav .schedule-date{font-size:16px}}
#daily-goals-editor{width:min(560px,calc(100% - 32px));max-height:85dvh}
#daily-goals-editor .dialog-heading h2{font-size:20px}
#daily-goals-date{font-size:14px;color:var(--green);margin:8px 0 18px}
.daily-goals-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.daily-goals-fields label{display:flex;flex-direction:column;justify-content:space-between;gap:6px;margin:0;font-size:12px;line-height:1.6}
.daily-goals-fields input{width:100%;min-width:0;font-size:16px}
#daily-goals-editor .check-line{margin-top:18px}
#daily-goals-editor .metric-note{margin:10px 0}
.schedule-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;width:100%;min-width:0}
.schedule-track::-webkit-scrollbar{display:none}
.schedule-day{flex:0 0 100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always;padding-bottom:16px}
.schedule-date{font-size:19px;margin:20px 0 0;line-height:1.5}
.schedule-date>span{font-size:12px;color:var(--green);margin-left:8px;font-weight:500}
.schedule-day .learning-path{max-width:100%}
.schedule-day .course-goal-count{flex-wrap:wrap}
.course-test-score>strong{font-size:23px;color:var(--green);font-variant-numeric:tabular-nums}
.learning-path .course-test-score>strong>small{display:inline;font-size:12px}
.unavailable-goal{color:var(--muted)}
.schedule-day:not([data-today="true"]) .learning-path button:disabled{color:#52665f}
@media(max-width:600px){.course-story h2{font-size:18px}.course-story .michael-image{width:88px;height:96px}.learning-schedule{margin-top:12px}.schedule-date{font-size:18px}}
.course-story{position:relative;isolation:isolate;height:260px;min-height:0;overflow:hidden;border:0;padding:24px 32px;justify-content:flex-end;background:#24483d}
.course-story>.story-scenery{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 65%;z-index:-2}
.course-story::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,transparent 35%,#061c168c 72%,#061c16b3)}
.course-story>.course-story-copy{flex:0 1 35%;text-align:right}
.course-story h2{color:#fff;font-size:24px;line-height:1.5;margin-bottom:12px;text-shadow:0 1px 5px #0008}
.course-story h2 span{display:block}
.course-story .primary{background:#fff;color:#075444;box-shadow:none;min-height:44px}
.course-story>[data-action="scenery-settings"]{position:absolute;right:8px;top:8px;width:44px;height:44px;color:#fff;background:#10282099;border-radius:6px}
.course-story>.weather-credit{position:absolute;bottom:6px;right:12px;color:#fff;font-size:10px;text-shadow:0 1px 3px #000}
@media(max-width:600px){.course-story{height:200px;padding:40px 16px 12px}.course-story h2{font-size:18px}.course-story>.course-story-copy{flex-basis:43%}.course-story>.story-scenery{object-position:40% center}.course-story .primary{padding:8px 14px}}
.practice-menu-michael{height:150px;display:flex;align-items:flex-end;justify-content:center;overflow:hidden;margin:0 auto -4px;pointer-events:none}
.practice-menu-michael img{display:block;width:210px;height:210px;object-fit:contain;object-position:center bottom;transform:translateY(48px)}
body[data-view="setup"] .practice-config>.segmented{position:relative;z-index:1;border-radius:24px;padding:4px;background:#eaf0eb}
body[data-view="setup"] .practice-config>.segmented button{border-radius:20px}
.library-review-tools{display:flex;gap:10px;flex-wrap:wrap;margin:-8px 0 22px}
.library-review-tools .selected{background:var(--green);color:#fff}
.reading-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
.reading-heading>div:first-child{min-width:0}
.reading-font-controls{flex:0 0 auto;margin-top:14px;padding:3px}
.reading-font-controls button{min-width:42px;min-height:38px;padding:6px 10px}
.reading-workspace .reading-passage.reading-font-small{font-size:15px}
.reading-workspace .reading-passage.reading-font-medium{font-size:17px}
@media(max-width:600px){.practice-menu-michael{height:120px}.practice-menu-michael img{width:170px;height:170px;transform:translateY(40px)}.reading-heading{gap:10px}.reading-font-controls{margin-top:8px}.reading-font-controls button{min-width:38px;padding-inline:8px}.library-review-tools>button{flex:1 1 210px}}

:root:not([data-theme="night"]){color-scheme:light;--day-bg:#efeee9;--day-surface:#f6f5f0;--line:#dedfd7;background:var(--day-bg)}
:root:not([data-theme="night"]) body{background:var(--day-bg)}
:root:not([data-theme="night"]) .workspace{background-color:var(--day-bg);background-image:linear-gradient(#efeee9a6,#efeee9cc),url('/assets/tuscany-background.png')}
:root:not([data-theme="night"]) :is(.sidebar,.topbar,dialog,.material-menu,.sound-popover,#editor .dialog-actions,.field-item,.period-breakdown>div){background:var(--day-surface);border-color:var(--line)}
:root:not([data-theme="night"]) :is(input,select,textarea,.library-toolbar .search input,.secondary){background-color:var(--day-surface);border-color:var(--line)}
:root:not([data-theme="night"]) .secondary:hover{background-color:var(--pale)}
:root:not([data-theme="night"]) .speaking-practice .recording-controls>[data-action="record-start"]{background-color:#075444;color:#fff}
:root:not([data-theme="night"]) .speaking-practice .recording-controls>[data-action="record-stop"]{background-color:#8a433b;color:#fff}
:root:not([data-theme="night"]) #material-list .material-row{background:var(--day-surface);border-color:var(--line)}

:root[data-theme="night"]{color-scheme:dark;--ink:#f0f5f1;--green:#b9e1c9;--muted:#b3c5bd;--line:#496052;--orange:#e5c58c;--pale:#294037;--night-bg:#162b24;--night-surface:#1c332b;--night-selected:#385344;background:var(--night-bg);color:var(--ink)}
[data-theme="night"] body{background:var(--night-bg);color:var(--ink)}
[data-theme="night"] .workspace{background-color:var(--night-bg);background-image:linear-gradient(#162b24cc,#162b24c7),url('/assets/tuscany-background.png')}
[data-theme="night"] :is(.sidebar,.topbar,dialog,.material-menu,.sound-popover,#editor .dialog-actions){background:var(--night-surface);color:var(--ink);border-color:var(--line)}
[data-theme="night"] :is(.page-heading h1,.course-heading h1,.learning-path button,.michael-hero h2,.period-breakdown strong){color:var(--ink)}
[data-theme="night"] :is(.subtitle,.page-footer,.connection,.workspace-label,.edition,.metric-label,.metric-note,.section-note,.material-topic,.learning-path small,.learning-path button:disabled,.sidebar nav button,.icon-button,.ai-privacy,.ai-caveat,.weekly-score-grid small,.cost-breakdown dt span,.cost-breakdown dd small,.cost-details,.time-breakdown thead th,.michael-hero p){color:var(--muted)}
[data-theme="night"] :is(input,select,textarea,.library-toolbar .search input){background:var(--night-bg);color:var(--ink);border-color:var(--line);accent-color:var(--green)}
[data-theme="night"] :is(input,textarea)::placeholder{color:var(--muted);opacity:1}
[data-theme="night"] :is(.secondary,.small-button,.segmented,.library-toolbar .segmented button,.field-status,.path-node,.material-icon,.field-icon,.answer-heading .icon-button,.test-score-bands li){background:var(--pale);color:var(--ink);border-color:var(--line)}
[data-theme="night"] .segmented button{color:var(--ink)}
[data-theme="night"] body[data-view="library"] .library-toolbar .segmented{background:transparent}
[data-theme="night"] .practice-description{color:var(--muted)}
[data-theme="night"] body[data-view="setup"] .practice-config>.segmented{background:var(--pale)}
[data-theme="night"] :is(.primary,.segmented button.selected,.library-toolbar .segmented .selected,.library-review-tools .selected){background:var(--green);color:var(--night-bg)}
[data-theme="night"] .primary:hover{background:#d4eedf}
[data-theme="night"] :is(.secondary:hover,.icon-button:hover,.sidebar nav button:hover,.sidebar nav button.active,.auto-play-control [aria-checked="true"],.test-score-bands li.is-current){background:var(--night-selected);color:var(--ink)}
[data-theme="night"] :is(.text-button,.inline-link,.check-line,label){color:var(--ink)}
[data-theme="night"] :is(.field-item,.period-breakdown>div,.michael-hero,.daily-scene,.scene-caption){background:var(--night-surface);color:var(--ink);border-color:var(--line)}
[data-theme="night"] #material-list .material-row{background:var(--night-surface);border-color:var(--line)}
[data-theme="night"] #material-list .material-icon{background:var(--pale)}
[data-theme="night"] :is(.path-node,.learning-path .completed .path-node,.learning-path .final-step .path-node){background:var(--pale);color:var(--green);border-color:var(--night-surface)}
[data-theme="night"] .learning-path button:not(:disabled):hover .path-node{background:var(--green);color:var(--night-bg)}
[data-theme="night"] :is(.mini-track,.session-track,.bar-track,progress){background:var(--pale)}
[data-theme="night"] progress::-webkit-progress-bar{background:var(--pale)}
[data-theme="night"] progress::-webkit-progress-value{background:var(--green)}
[data-theme="night"] progress::-moz-progress-bar{background:var(--green)}
[data-theme="night"] .sidebar nav button.active:after{background:var(--green)}
[data-theme="night"] .trial-status{background:var(--pale);color:var(--ink);border-color:var(--line)}
[data-theme="night"] :is(.warning,.material-topic b){background:#51452c;color:#ffe2a8}
[data-theme="night"] :is(.error,.recording-stop,.material-menu [data-action="delete"]){color:#ffbcb2}
[data-theme="night"] .pos-badge{background:#304955;color:#d4e9f4}
[data-theme="night"] .sound-highlight--good{background:#315440;color:#d1efd8}
[data-theme="night"] .sound-highlight--improve{background:#583737;color:#ffd4cf}
[data-theme="night"] :is(.knowledge-section>.section-heading>strong,.next-milestone strong,.speaking-practice .thinking>.primary){color:var(--orange)}
[data-theme="night"] .speaking-practice .recording-controls>[data-action="record-start"]{background:var(--pale);color:var(--ink);border-color:var(--line)}
[data-theme="night"] .speaking-practice .recording-controls>[data-action="record-stop"]{background:#773f38;color:#fff;border-color:var(--line)}
[data-theme="night"] .wpm-line-chart text{fill:var(--muted)}
[data-theme="night"] .wpm-line-chart :is(line,polyline){stroke:var(--green)}
[data-theme="night"] .result-mark{background:var(--pale);color:var(--green)}
[data-theme="night"] .scene-caption p{color:var(--ink)}
[data-theme="night"] .scene-caption>:is(span,div){color:var(--muted)}
[data-theme="night"] dialog::backdrop{background:#04130ecc}
#theme-toggle{width:44px;height:44px;flex:0 0 44px}
@media(max-width:600px){.topbar .top-actions{gap:2px;flex-wrap:wrap;margin-left:auto}.topbar .breadcrumb{min-width:0;flex:1 1 120px}}