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')}

/* Learning directory */
.learn-directory{--learn-paper:#fbf8f2;--learn-ink:#251f1a;--learn-muted:#75695e;--learn-line:#ddd2c3;--learn-gold:#9b7440;background:var(--learn-paper);color:var(--learn-ink)}
.learn-directory .workspace{margin:0;min-height:100vh;padding:0;background:var(--learn-paper);background-image:none}
.learn-directory .learn-topbar{position:relative;z-index:5;width:100%;max-width:none;height:64px;min-height:64px;margin:0;padding:0 clamp(24px,5vw,76px);border-color:#e7ddcf;background:#fffdfa;box-shadow:0 2px 14px #5b45210a}
.learn-directory .brand>span{font-family:"Yu Mincho",YuMincho,Georgia,serif;font-size:28px;color:#2a241f}
.learn-topbar nav{align-self:stretch;display:flex;align-items:center;gap:34px}
.learn-topbar nav>a{position:relative;display:grid;place-items:center;align-self:stretch;color:#7c7065;font-size:13px}
.learn-topbar nav>a.is-current{color:#2d2925}
.learn-topbar nav>a.is-current::after{content:"";position:absolute;right:0;bottom:0;left:0;height:2px;background:var(--learn-gold)}
.learn-topbar .account-link{align-self:center;width:38px;height:38px;border-radius:50%;background:#eee8de;color:#8b7558}
.learn-topbar .account-link svg{width:21px;height:21px}
body.learn-directory main{width:100%;max-width:none;min-height:0;margin:0;padding:0}
.learn-heading{position:relative;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);align-items:start;height:470px;overflow:hidden;padding:70px clamp(24px,calc((100vw - 1100px)/2),80px) 0;margin:0;background:#f1e5d5}
.learn-heading::before{content:"";position:absolute;inset:0;background:linear-gradient(105deg,#faf8f4 0%,#f3f0e9 50%,#efebe3 76%,#ede9e1 100%)}
.learn-hero-copy{position:relative;z-index:2;padding-top:15px}
.learn-heading h1{max-width:700px;font-family:"Yu Mincho",YuMincho,Georgia,serif;font-size:clamp(31px,3vw,48px);font-weight:500;line-height:1.45;color:var(--learn-ink);letter-spacing:0;text-wrap:balance}
.learn-heading .learn-hero-copy>p{margin-top:8px;font-family:"Yu Mincho",YuMincho,Georgia,serif;font-size:24px;color:#786858}
.learn-heading .michael-image{position:absolute;z-index:1;top:0;right:0;bottom:auto;width:min(40vw,470px);height:auto;aspect-ratio:1;object-fit:contain;filter:drop-shadow(0 16px 22px #7b5c3a26)}
.learn-heading .learn-hero-media{filter:none}
.learn-hero-media>img{display:block;width:100%;height:100%;object-fit:contain}
.learn-hero-media:has(.learn-hero-video.is-ready)>img{visibility:hidden}
.learn-hero-video{position:absolute;top:0;left:50%;transform:translateX(-50%);width:calc(100% * 828 / 1108);height:100%;object-fit:contain;opacity:0;pointer-events:none;mask-image:linear-gradient(to bottom,transparent,#000 3%,#000 98%,transparent),linear-gradient(to right,transparent,#000 3%,#000 97%,transparent);mask-composite:intersect}
.learn-hero-video.is-ready{opacity:1}
.hero-motion-toggle{position:absolute;z-index:4;top:12px;right:16px;width:44px;height:44px;border:1px solid var(--learn-line);border-radius:50%;background:#fffdfae6;color:var(--learn-ink)}
.hero-motion-toggle:hover{background:#fff}
.continue-panel{position:absolute;z-index:3;left:clamp(24px,calc((100vw - 1100px)/2),80px);bottom:28px;display:grid;grid-template-columns:86px minmax(190px,1fr) auto;grid-template-rows:auto 1fr;align-items:center;column-gap:20px;width:min(590px,calc(100% - 48px));min-height:125px;padding:17px 24px;border:1px solid #dfd4c5;border-radius:8px;background:#fffdfaf2;box-shadow:0 9px 24px #49331617;backdrop-filter:blur(8px)}
.continue-kicker{grid-column:1/-1;align-self:start;font-size:12px;color:#7d6f60}
.continue-icon{grid-row:2;display:grid;place-items:center;width:86px;height:76px;overflow:hidden;border-radius:5px;background:#f5efe6}
.continue-icon img{display:block;width:78px;height:78px;object-fit:contain}
.continue-copy{grid-row:2;display:grid;gap:4px;min-width:0}
.continue-copy strong{font-family:"Yu Mincho",YuMincho,Georgia,serif;font-size:22px;font-weight:600}
.continue-copy small{font-size:13px;color:var(--learn-muted);line-height:1.6}
.continue-action{grid-row:2;display:flex;align-items:center;gap:10px;min-height:44px;padding:10px 18px;border-radius:999px;background:linear-gradient(135deg,#c9a36b,#8f6734);color:#fff;font-size:13px;white-space:nowrap;box-shadow:0 5px 12px #7f5c2c24}
.continue-action svg{width:17px;height:17px}
.learning-fields,.journey-banner{max-width:1120px;margin:0 auto;padding:48px 24px 0}
.learn-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:12px}
.learn-section-heading h2{font-family:"Yu Mincho",YuMincho,Georgia,serif;font-size:31px;font-weight:600;line-height:1.4}
.learn-section-heading p{padding-bottom:5px;color:var(--learn-muted);font-size:13px}
.learn-directory .field-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.learn-directory .field-item{display:grid;grid-template-columns:96px minmax(0,1fr) 34px;align-items:center;gap:12px;min-height:125px;padding:12px 16px 12px 8px;border:1px solid var(--learn-line);border-radius:8px;background:#fffdfa;color:var(--learn-ink);box-shadow:0 4px 14px #63451708;text-align:left;text-decoration:none}
.learn-directory a.field-item:hover{border-color:#b89a70;background:#fff;box-shadow:0 7px 20px #63451712;transform:translateY(-1px)}
.learn-directory .field-item[aria-disabled="true"]{cursor:default}
.learn-directory .field-icon{display:grid;place-items:center;width:96px;height:96px;border-radius:0;background:transparent;color:inherit}
.learn-directory .field-icon img{display:block;width:96px;height:96px;object-fit:contain}
.learn-directory .field-copy{min-width:0}
.learn-directory .field-copy strong{display:block;font-family:"Yu Mincho",YuMincho,Georgia,serif;font-size:20px;font-weight:600;line-height:1.45}
.learn-directory .field-subtitle{display:block;margin-top:3px;font-family:"Yu Gothic",Meiryo,sans-serif;font-size:12px;font-weight:500;color:#5f554b;white-space:normal}
.learn-directory .field-copy small{display:none}
.learn-directory .field-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.field-arrow{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#f0ebe3;color:#756957}
.field-arrow svg{width:16px;height:16px}
.journey-banner{padding-bottom:54px}
.journey-picture{position:relative;min-height:260px;overflow:hidden;border-radius:8px;background:#d8c8ae}
.journey-picture>img{display:block;width:100%;height:300px;object-fit:cover;object-position:center 55%}
.journey-picture::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#271b0f75,transparent 58%)}
.journey-picture>div{position:absolute;z-index:1;left:34px;bottom:28px;color:#fff;text-shadow:0 1px 6px #24170d99}
.journey-picture p{font-family:"Yu Mincho",YuMincho,Georgia,serif;font-size:24px}
.journey-picture span{display:block;margin-top:9px;font-size:10px;letter-spacing:.12em}
.learn-directory .page-footer{max-width:1120px;margin:auto;padding:22px 24px 36px;border-top:1px solid var(--learn-line);color:#817365}
@media(max-width:850px){.learn-heading{grid-template-columns:1fr minmax(280px,.75fr);height:430px;padding-top:50px}.learn-heading h1{font-size:31px}.learn-heading .learn-hero-copy>p{font-size:19px}.learn-heading .michael-image{right:0;bottom:auto;width:min(40vw,340px)}.continue-panel{right:auto;left:24px;width:min(430px,calc(100% - 48px))}.learn-directory .field-list{grid-template-columns:repeat(2,minmax(0,1fr))}.learn-directory .field-item{grid-template-columns:82px minmax(0,1fr) 32px}.learn-directory .field-icon,.learn-directory .field-icon img{width:82px;height:82px}}
@media(min-width:641px) and (max-width:760px){.learn-heading .michael-image{right:0;bottom:0;width:240px}.continue-panel{width:360px;grid-template-columns:58px minmax(0,1fr) 42px;column-gap:10px;padding:12px}.continue-icon,.continue-icon img{width:58px;height:58px}.continue-copy strong{font-size:17px}.continue-copy small{font-size:10px}.continue-action{width:38px;height:38px;min-height:38px;padding:0;font-size:0}.continue-action svg{width:16px;height:16px}}
@media(max-width:640px){.learn-directory .learn-topbar{height:58px;min-height:58px;padding-inline:18px}.learn-directory .brand>span{font-size:23px}.learn-topbar nav{gap:16px}.learn-topbar nav>a{font-size:11px}.learn-topbar nav>a:nth-child(2){display:none}.learn-topbar .account-link{width:34px;height:34px}.learn-heading{display:flex;flex-direction:column;align-items:stretch;height:auto;min-height:0;padding:28px 16px 20px;overflow:hidden}.learn-hero-copy{padding:0}.learn-heading h1{max-width:none;font-size:clamp(24px,7vw,30px);line-height:1.5}.learn-heading .learn-hero-copy>p{margin-top:6px;font-size:16px}.learn-heading .michael-image{position:relative;right:auto;bottom:auto;align-self:flex-end;width:clamp(120px,35vw,150px);height:auto;margin:-2px 0 -6px;object-fit:contain}.continue-panel{position:relative;inset:auto;grid-template-columns:52px minmax(0,1fr) auto;grid-template-rows:auto 1fr;column-gap:10px;width:100%;min-height:96px;margin:0;padding:11px 12px}.continue-kicker{font-size:10px}.continue-icon,.continue-icon img{width:52px;height:52px}.continue-copy strong{font-size:17px}.continue-copy small{font-size:10px}.continue-action{width:auto;height:38px;min-height:38px;gap:4px;padding:0 8px;font-size:11px}.continue-action svg{width:15px;height:15px}.learning-fields,.journey-banner{padding:28px 16px 0}.learning-fields .learn-section-heading{display:block;margin-bottom:14px}.learn-section-heading h2{font-size:25px}.learning-fields .learn-section-heading p{max-width:none;margin-top:4px;padding:0;font-size:11px;line-height:1.7;text-align:left;white-space:nowrap}.learn-directory .field-list{grid-template-columns:1fr;gap:9px}.learn-directory .field-item{grid-template-columns:76px minmax(0,1fr) 32px;min-height:94px;padding:8px 12px 8px 4px}.learn-directory .field-icon,.learn-directory .field-icon img{width:76px;height:76px}.learn-directory .field-copy strong{font-size:18px}.learn-directory .field-subtitle{font-size:11px}.journey-banner{padding-bottom:40px}.journey-banner .learn-section-heading{display:block}.journey-banner .learn-section-heading p{max-width:none;margin-top:4px;text-align:left}.journey-picture{min-height:220px}.journey-picture>img{height:240px}.journey-picture>div{left:20px;bottom:20px}.journey-picture p{font-size:19px}.learn-directory .page-footer{padding-inline:16px}}
@media(max-width:370px){.learn-directory .brand>span{font-size:21px}.learn-topbar nav{gap:10px}.learn-heading h1{font-size:24px}.learn-directory .field-copy strong{font-size:16px}.learn-directory .field-subtitle{font-size:10px}}
@media(prefers-reduced-motion:reduce){.learn-directory a.field-item:hover{transform:none}}
.learn-directory .learn-heading{display:flex;flex-direction:column;justify-content:space-between;gap:32px;height:auto;min-height:min(720px,calc(100svh - 120px));padding:96px 7% 28px;isolation:isolate;background:#efebe3}
.learn-directory .learn-heading::before{z-index:1;pointer-events:none;background:linear-gradient(90deg,#faf8f4f2 0%,#faf8f4d9 35%,#faf8f440 62%,transparent 82%),linear-gradient(0deg,#efebe399,transparent 32%)}
.learn-directory .learn-heading .learn-hero-media{position:absolute;inset:0;width:100%;height:100%;margin:0;aspect-ratio:auto;overflow:hidden;z-index:0;pointer-events:none}
.learn-directory :is(.learn-hero-video,.learn-hero-poster){position:absolute;inset:0 0 auto auto;transform:none;width:min(62%,700px);height:114%;object-fit:cover;object-position:50% 0%;mask-image:linear-gradient(90deg,transparent,#000 16%,#000 96%,transparent)}
.learn-directory .learn-hero-copy{max-width:560px;padding:0;isolation:isolate;text-shadow:0 1px 3px #fff}
.learn-directory .learn-hero-copy::before{content:"";position:absolute;inset:-28px -36px;z-index:-1;pointer-events:none;background:linear-gradient(90deg,#fffffff5 0%,#ffffffe6 70%,#ffffffb3 100%);filter:blur(24px)}
.learn-directory .continue-panel{position:relative;inset:auto;flex-shrink:0;margin:0;width:min(590px,100%)}
.learn-entry{position:relative;z-index:3;width:100%;flex-shrink:0}
.learn-signin{display:flex;flex-direction:column;align-items:center;gap:6px;width:min(100%,424px);margin-inline:auto}
@media(min-width:641px){.learn-signin{margin-left:0;margin-right:auto}}
.learn-signin-link{display:grid;grid-template-columns:20px minmax(0,1fr) 20px;align-items:center;gap:8px;width:100%;min-height:64px;padding:14px 22px;border:1px solid #fff9edd9;border-radius:999px;background:linear-gradient(180deg,#ffffff0d,transparent 48%),linear-gradient(110deg,#896232e6,#73552fe6 72%,#6a4e2be6);color:#fffaf1;box-shadow:inset 0 1px 0 #fff4,0 3px 10px #4933160c;backdrop-filter:blur(6px);font-family:"Yu Mincho",YuMincho,Georgia,serif;font-size:20px;font-weight:500;line-height:1.5;letter-spacing:0;text-align:center;text-decoration:none}
.learn-signin-link span{grid-column:2;min-width:0;overflow-wrap:anywhere}
.learn-signin-link svg{grid-column:3;width:20px;height:20px;stroke-width:1.5}
.learn-signin-link:hover{background:linear-gradient(180deg,#ffffff0d,transparent 48%),linear-gradient(110deg,#805a2be6,#674a27e6 72%,#5e4423e6);box-shadow:inset 0 1px 0 #fff4,0 4px 14px #49331618}
.learn-signin-link:active{box-shadow:inset 0 2px 5px #49331640}
.learn-trial-link{display:flex;align-items:center;justify-content:center;gap:10px;max-width:100%;min-height:44px;padding:8px 12px;color:#655039;background:transparent;border-radius:0;font-family:"Yu Mincho",YuMincho,Georgia,serif;font-size:14px;font-weight:500;line-height:1.5;letter-spacing:0;text-decoration:none;text-shadow:0 1px 3px #fff}
.learn-trial-link span{min-width:0;overflow-wrap:anywhere;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
.learn-trial-link:hover{color:#38291a}
.learn-trial-link svg{flex:0 0 16px;width:16px;height:16px;stroke-width:1.5}
.learn-directory .learn-rings{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;width:100%;max-width:1060px;margin:0;padding:0;background:none;border:0;box-shadow:none}
.learn-ring-item{display:flex;flex-direction:column;align-items:center;min-width:0;gap:3px}
.learn-ring{display:flex;align-items:center;flex-direction:column;gap:7px;width:100%;padding:0;border:0;background:none;color:#43392f;box-shadow:none;letter-spacing:0}
.ring-disc{display:block;position:relative;width:min(100%,124px);aspect-ratio:1;perspective:650px;opacity:.92}
.ring-flipper{position:absolute;inset:0;transform-style:preserve-3d;transition:transform .52s cubic-bezier(.2,.75,.25,1)}
.learn-ring[aria-pressed="true"] .ring-flipper{transform:rotateY(180deg)}
.ring-face{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:6px solid #ffffffed;border-radius:50%;backface-visibility:hidden;background:conic-gradient(#b68d54 var(--ring-progress),#e9dfcf 0);isolation:isolate}
.ring-face::before{content:"";position:absolute;inset:5px;z-index:-1;border-radius:50%;background:#fffdf8}
.ring-face svg{width:24px;height:24px;color:#96713e}
.ring-name{font:14px/1.1 Georgia,serif;letter-spacing:0}
.ring-value{font:500 22px/1.1 Georgia,"Yu Mincho",serif;letter-spacing:0}
.ring-next{font-size:10px;line-height:1.3;letter-spacing:0;color:#655b50}
.ring-back{transform:rotateY(180deg);background:conic-gradient(#759280 var(--ring-progress),#e2e9e2 0)}
.ring-back .ring-value{font-size:19px}
.ring-next:empty{display:none}
.ring-back svg{width:16px;height:16px;color:#527760}
.learn-ring:hover{background:none;transform:none}
.learn-entry :is(a,button):focus-visible{outline:3px solid #39765b;outline-offset:4px}
.learn-account-status{max-width:560px;font-size:12px;line-height:1.6;background:#fffdfaf2;color:#514538}
.learn-account-status:empty{display:none}
.learn-greeting{margin:0 0 12px;font-size:16px;line-height:1.5;overflow-wrap:anywhere}
#learn-account-dialog{max-width:min(480px,calc(100vw - 32px));overflow-wrap:anywhere}
#learn-account-dialog .actions{display:flex;flex-wrap:wrap;gap:16px}
.ring-announcement{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.learn-entry [hidden]{display:none}
@media(min-width:641px) and (max-width:1050px){.learn-directory .learn-rings{gap:8px}.ring-face{border-width:4px}.ring-face::before{inset:4px}.ring-face svg{width:18px;height:18px}.ring-name{font-size:10px}.ring-value{font-size:18px}.ring-next{font-size:9px}.ring-back .ring-value{font-size:15px}}
@media(max-width:640px){.learn-directory .learn-heading.has-learning-rings{padding-top:30px;gap:125px;min-height:min(720px,calc(100svh - 76px))}.learn-directory .learn-rings{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 8px;max-width:430px;margin:auto}.ring-disc{width:min(100%,96px)}.ring-face{border-width:4px;gap:2px}.ring-face::before{inset:4px}.ring-face svg{width:19px;height:19px}.ring-name{font-size:11px}.ring-value{font-size:19px}.ring-back .ring-value{font-size:17px}.learn-signin-link{min-height:58px;grid-template-columns:16px minmax(0,1fr) 16px;padding:12px 14px;gap:6px;font-size:16px}.learn-signin-link svg{width:16px;height:16px}.learn-trial-link{font-size:13px}}
@media(prefers-reduced-motion:reduce){.ring-flipper{transition:none}}
@media(max-width:850px){.learn-directory .learn-hero-copy{max-width:420px}.learn-directory .continue-panel{width:min(430px,100%)}}
@media(min-width:761px) and (max-width:850px){.learn-directory .continue-panel{grid-template-columns:64px minmax(0,1fr) auto;column-gap:12px;padding-inline:16px}.learn-directory .continue-icon,.learn-directory .continue-icon img{width:64px;height:64px}}
@media(max-width:640px){.learn-directory .learn-heading{min-height:min(600px,calc(100svh - 110px));padding:54px 16px 20px;gap:160px}.learn-directory .learn-heading::before{background:linear-gradient(180deg,#faf8f4ed 0%,#faf8f4a6 23%,transparent 48%,#efebe326 72%,#efebe3d9 100%)}.learn-directory :is(.learn-hero-video,.learn-hero-poster){width:100%;object-position:50% 0%;mask-image:none}.learn-directory .learn-hero-copy{max-width:100%}.learn-directory .learn-hero-copy::before{inset:-16px -12px;filter:blur(16px)}.learn-directory .learn-hero-copy h1{font-size:26px}.learn-directory .continue-panel{width:100%}}
: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}}