@charset "UTF-8";
:root{--ink:#203c35;--muted:#5c6c65;--green:#174e42;--green-dark:#103b32;--sage:#e6eee4;--cream:#f6f4ed;--white:#fff;--line:#dce2d9;--gold:#ead59b;--error:#a1392d;--radius:22px;--shadow:0 8px 35px #173a2b06;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--cream);font-size:16px;line-height:1.6}
*{box-sizing:border-box}body{margin:0}h1,h2,h3,p{margin:0 0 16px}h1,h2,h3{line-height:1.18;letter-spacing:-.035em;font-weight:650}h1{font-size:clamp(32px,4vw,48px)}h2{font-size:26px}h3{font-size:19px}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}img{max-width:100%;height:auto}strong{font-weight:650}small{font-size:13px;line-height:1.5}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #b87517;outline-offset:4px}input,select,textarea{color:var(--ink)}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip{position:fixed;top:-100px;left:16px;background:var(--green);color:white;padding:12px;z-index:100}.skip:focus{top:10px}
.header{max-width:1280px;margin:auto;padding:24px 40px;display:flex;align-items:center;justify-content:space-between;gap:28px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;color:var(--ink);font-size:20px;font-weight:700;letter-spacing:.04em}.brand:hover{text-decoration:none}.brand small{display:block;font-size:11px;letter-spacing:0;color:var(--muted);font-weight:400}.brand-mark{background:var(--green);color:#fff;width:45px;height:45px;border-radius:14px;font:italic 44px/40px Georgia,serif;padding-left:9px;letter-spacing:-8px}.brand-mark span{color:var(--gold);font-size:37px}.header nav{display:flex;align-items:center;gap:24px;font-size:14px}.header nav a{color:var(--muted);white-space:nowrap}.header nav a[aria-current=page]{color:var(--green);font-weight:700}.header nav form{margin:0}.shell{max-width:1200px;margin:auto;padding:42px 0 64px;outline:none}.footer{max-width:1200px;margin:auto;padding:24px 0;border-top:1px solid var(--line);color:var(--muted);font-size:12px;display:flex;justify-content:space-between;gap:20px}
.page-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:32px}.page-heading h1{margin:7px 0 12px}.page-heading p{margin:0}.section-label,.eyebrow{font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin-bottom:14px}.eyebrow{font-size:12px}.muted,.caption{color:var(--muted)}.caption{font-size:13px;line-height:1.6;margin-top:13px}.quiet-link{font-size:14px;font-weight:600;color:var(--green);background:none;border:0;padding:4px 0;text-align:left;min-height:36px;display:inline-flex;align-items:center}.text-button{background:none;border:0;color:var(--muted);min-height:44px;padding:0 8px}.button{display:inline-flex;align-items:center;justify-content:center;gap:20px;background:var(--green);color:#fff;border:1px solid transparent;border-radius:12px;padding:13px 23px;font-weight:600;font-size:15px;line-height:1.4;min-height:50px;text-align:center}.button:hover{background:var(--green-dark);text-decoration:none}.button.secondary{background:#fff;color:var(--green);border-color:#bdcec0}.button.secondary:hover{background:var(--sage)}.button.cream{background:#f8eed4;color:var(--green-dark)}.button.cream:hover{background:#fff5de}.full{width:100%}.small-button{font-size:13px;padding:8px 15px;min-height:44px}.button-row{display:flex;flex-wrap:wrap;gap:12px}.next-button{margin-top:25px}.grid{display:grid;gap:24px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:30px;box-shadow:var(--shadow);min-width:0}.card h2:last-child,.card p:last-child{margin-bottom:0}.narrow{max-width:620px;margin:22px auto}.section{margin-top:32px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.section-heading h2{margin:0}.empty{text-align:center;padding:38px 20px}.empty h3{margin-top:14px}.empty p{color:var(--muted)}.soft{background:#eeeee5;border:1px dashed #d4d9cd;border-radius:18px}.notice{padding:20px;background:#f2f4ec;border-radius:14px;margin-top:25px;font-size:14px}.notice p{margin:8px 0 0}.status{display:inline-block;border:1px solid #ccd8ca;background:#edf3eb;color:#36543c;padding:5px 10px;border-radius:8px;font-size:12px;line-height:1.45}.flash{border-radius:12px;padding:16px 20px;background:#f7ead3;color:#75511f;margin-bottom:22px;border:1px solid #ddc896}.flash.danger{background:#fbe9e4;color:#8f3022;border-color:#e8bfb3}.flash.success,.flash.info{background:#e9f2e8;color:#245c36;border-color:#b8d1b9}
.hero{display:grid;grid-template-columns:1.25fr 1fr;align-items:center;gap:40px;padding:44px 50px;border-radius:28px}.hero p{max-width:520px}.hero img{max-height:340px;width:100%;object-fit:contain}.hero h1{font:normal clamp(38px,5vw,64px)/1.06 Georgia,serif;letter-spacing:-.04em}.hero h2{font:normal clamp(32px,4vw,49px)/1.13 Georgia,serif;letter-spacing:-.025em;margin:20px 0}.welcome{background:#e9eddf;margin-bottom:28px}.learning-hero{background:var(--green);color:#fff;overflow:hidden;position:relative}.learning-hero .eyebrow{color:#ccdfce}.learning-hero p{color:#e0e9df;font-size:16px}.hero-detail{font-size:12px!important;line-height:1.8;margin:24px 0 0!important}.hero-visual{position:relative;text-align:center}.hero-visual img{filter:drop-shadow(0 15px 10px #09291d20)}.floating-note{position:absolute;right:0;bottom:10px;background:#fff5df;color:var(--green);padding:14px 24px;border-radius:12px;box-shadow:0 7px 18px #10231c20;font:italic 20px/1.4 Georgia,serif;transform:rotate(-4deg)}.dashboard-grid{margin-top:24px}.dashboard-grid h2{font-size:22px}.metric-line{display:flex;gap:20px;align-items:center;margin:24px 0 18px}.metric-line>strong{font-size:44px;line-height:1;letter-spacing:-.05em}.metric-line strong small{font-size:22px;margin-left:2px}.metric-line>span{font-size:13px;color:var(--muted);line-height:1.5}.metric-line span small{font-size:11px}progress{width:100%;height:7px;appearance:none;border:0;border-radius:8px;overflow:hidden;background:#e9ece5}progress::-webkit-progress-bar{background:#e9ece5;border-radius:8px}progress::-webkit-progress-value{background:#478565;border-radius:8px}progress::-moz-progress-bar{background:#478565;border-radius:8px}.revision-card{background:#f0efe1}.revision-icon{font-size:48px;color:var(--green);line-height:1.2;display:block;margin:10px 0 15px}.recent-list{display:grid;gap:10px}.recent-row{display:flex;align-items:center;gap:16px;padding:18px 22px;border-radius:15px;border:1px solid var(--line);background:#fff;color:var(--ink)}.recent-row>span:last-child{margin-left:auto;white-space:nowrap;font-size:13px}.recent-row small,.revision-row small,td small{display:block;color:var(--muted)}.step-number{display:inline-flex;width:46px;height:46px;border-radius:14px;background:#e7eee0;align-items:center;justify-content:center;color:var(--green);font-weight:600;margin-bottom:22px}.step-number.small{width:38px;height:38px;margin:0;flex-shrink:0}.profile-note{display:flex;gap:30px;flex-wrap:wrap;padding:22px 0;color:var(--muted);font-size:14px}.profile-note small{width:100%}
.login-page .shell{max-width:1140px;padding-top:55px}.login-page .header{border:0;max-width:1220px}.login-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:80px;align-items:start}.login-story h1{font:normal clamp(48px,5vw,68px)/1.04 Georgia,serif;letter-spacing:-.045em;margin:25px 0}.login-story>p{max-width:430px;color:var(--muted);font-size:17px}.login-form{padding:42px;margin-top:18px}.login-form h2{font-size:31px;margin:17px 0}.login-form form{margin-top:30px}.login-form .button{margin-top:10px}.dot{width:8px;height:8px;border-radius:50%;background:var(--green);display:inline-block;margin-right:8px}.book-art{height:330px;position:relative;padding:20px 45px;margin:15px 0 30px;background:radial-gradient(ellipse,#e6e9d6 0,transparent 68%)}.book-page{height:280px;max-width:365px;margin:auto;background:#fefdf9;border-radius:8px 22px 22px 8px;border-left:8px solid #dfd9b8;box-shadow:14px 18px 0 #dfd4b3,15px 20px 25px #40523a13;transform:rotate(-7deg);padding:28px;position:relative}.book-page>span:first-child{font-size:9px;letter-spacing:.13em;color:var(--muted)}.book-page h2{font:normal 35px/1.16 Georgia,serif;margin:15px 0;color:var(--green)}.art-lines{height:40px;width:110px;background:repeating-linear-gradient(transparent 0 9px,#dbe1d4 10px 12px,transparent 13px 20px)}.art-circle{position:absolute;bottom:40px;right:30px;background:#dce8d8;width:86px;height:86px;border-radius:50%;font:italic 38px/86px Georgia,serif;text-align:center;color:var(--green)}.book-tab{position:absolute;bottom:5px;right:0;background:#e9d89f;border-radius:10px;padding:14px 22px;font:italic 17px Georgia,serif;transform:rotate(3deg)}.login-benefits{display:flex;gap:24px;flex-wrap:wrap;font-size:12px;color:var(--muted)}.access-help{padding:24px 0;margin-top:25px;border-top:1px solid var(--line);font-size:13px}.access-help p{margin:8px 0 0;color:var(--muted)}.field{margin-bottom:20px;min-width:0}.field label{display:block;font-size:13px;font-weight:600;margin-bottom:8px}.field input,.field select,.field textarea{width:100%;border:1px solid #ccd5ca;border-radius:10px;background:#fff;padding:12px 14px;min-height:48px;font-size:15px;line-height:1.5}.field textarea{min-height:110px;resize:vertical}.field input::placeholder{color:#6c786e}.form-error{font-size:13px;color:var(--error);margin-top:8px}.password-wrap{position:relative}.password-wrap input{padding-right:70px}.password-toggle{position:absolute;right:9px;top:32px;padding:9px;border:0;background:none;color:var(--green);font-size:13px;min-height:40px}.check-label{display:flex;align-items:center;gap:10px;margin-bottom:16px;font-size:14px}.check-label input{width:18px;height:18px;accent-color:var(--green)}.form-grid .field{margin-bottom:0}.form-grid{margin-bottom:24px}.credential-box{background:#eff2e8;border-radius:16px;padding:25px;word-break:break-word;margin:24px 0}.credential-box dt{font-size:12px;color:var(--muted);margin-top:15px}.credential-box dt:first-child{margin-top:0}.credential-box dd{margin:3px 0;font-weight:650}.password-value{font-family:Consolas,monospace;font-size:20px}
.map-legend{display:flex;gap:25px;flex-wrap:wrap;font-size:13px;color:var(--muted);padding:0 0 24px}.course-map{position:relative;display:grid;gap:28px}.stage-panel{background:#fff;border:1px solid var(--line);border-radius:24px;padding:32px}.current-stage{border:2px solid #5c9271;background:#fcfefa}.stage-heading{display:flex;align-items:center;gap:24px;margin-bottom:28px}.stage-heading p{color:var(--muted);font-size:14px;margin:0}.stage-heading h2{margin-bottom:8px}.stage-heading .section-label{margin-bottom:6px}.stage-number{font:normal 36px Georgia,serif;background:#e8eddf;color:var(--green);width:78px;height:78px;border-radius:20px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.unit-card{background:#f6f7f1;padding:22px;border-radius:17px;border:1px solid #e4e8df}.unit-card h3{font-size:17px;margin-bottom:20px}.unit-card h3>span{display:block;font-size:10px;text-transform:uppercase;color:var(--muted);letter-spacing:.1em;margin-bottom:8px}.chapter-list{list-style:none;margin:0;padding:0}.chapter-list li{border-top:1px solid var(--line)}.chapter-list a,.locked-chapter{display:flex;align-items:center;gap:12px;padding:13px 0;font-size:13px;color:var(--ink);min-height:62px}.chapter-list small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.locked-chapter{color:#6e796d}.chapter-dot{width:24px;height:24px;border:1px solid #ccd6c6;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#416749;flex-shrink:0}.stage-foot{display:flex;justify-content:space-between;gap:15px;color:var(--muted);font-size:11px;padding-top:23px}.textbook-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:28px}.textbook-layout article,.textbook-layout aside{display:grid;gap:24px;align-content:start}.textbook-layout article h2{font-size:24px}.textbook-layout article .card>h2:first-of-type{font-size:22px;line-height:1.5}.concept-visual{background:#edf1e3;border-radius:18px;padding:22px;margin:22px 0;display:grid;grid-template-columns:1fr 1.2fr;gap:18px;align-items:center}.concept-visual img{max-height:180px;object-fit:contain}.pattern{padding:13px 16px;background:#fffef8;border-radius:10px;font-size:17px;color:var(--green);margin:9px 0;border:1px solid #d9e1ce}.story-text,.passage{font-size:18px;line-height:1.85}.dialogue{white-space:pre-line;background:#f5f2e9;padding:22px;border-radius:16px;line-height:1.8}.dialogue h2{white-space:normal}.audio-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border:1px solid #adc4ae;border-radius:9px;padding:8px 14px;background:#fff;color:var(--green);font-size:13px}.pronounce-item{padding:12px 0;border-bottom:1px solid var(--line)}.pronounce-item p{margin:0 0 8px}.lesson-outline{padding-left:25px;color:var(--muted);font-size:14px}.lesson-outline li{padding:8px 0}.revision-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0;border-bottom:1px solid var(--line);font-size:14px}.revision-row>div{min-width:0}.revision-row strong{overflow-wrap:anywhere}.revision-row form{flex-shrink:0}.mistake-item{border-bottom:1px solid var(--line);padding:15px 0;font-size:14px}.mistake-item summary{cursor:pointer;min-height:44px;display:list-item;list-style:disclosure-closed;padding-right:10px}.mistake-item[open] summary{list-style:disclosure-open}.mistake-item p{padding:12px 0 0;margin:0}.domains{display:grid;gap:20px;margin-top:25px}.domain>div{display:flex;justify-content:space-between;gap:12px;font-size:14px;margin-bottom:7px}.domain strong{font-size:12px}.domain .caption{margin:4px 0}.stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:30px 0}.stat-grid strong{display:block;font-size:30px}.stat-grid span{display:block;font-size:12px;color:var(--muted)}.history{max-height:560px;overflow:auto;margin-top:24px}.history>div{display:flex;gap:16px;padding:0 0 22px}.history p{font-size:13px;margin:6px 0}.history small{font-size:11px;color:var(--muted)}.history-dot{width:10px;height:10px;border-radius:50%;background:#7a997b;flex-shrink:0;margin-top:9px}
.focus-page{background:#f5f6ef}.focus-page .shell{padding:35px 25px;max-width:840px}.player-header{max-width:1050px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:25px 30px;gap:24px}.player-header>span:nth-child(2){text-align:center;font-size:14px;font-weight:600}.player-header small{display:block;color:var(--muted);font-size:11px;font-weight:400;margin-top:3px}.player-count{font-size:12px;white-space:nowrap;color:var(--muted)}.player-progress{display:block;max-width:990px;margin:auto;height:5px}.player-shell{max-width:690px;margin:auto}.player-shell> .section-label{text-align:center;margin:5px 0 24px}.interaction{padding:32px;background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow)}.interaction h1{font-size:clamp(25px,3vw,34px);line-height:1.3;margin-bottom:25px}.teaching-text{font-size:18px;line-height:1.85}.passage{padding:22px;background:#f2f4e9;border-radius:16px;margin:20px 0}.passage p{margin:0}.passage .section-label{font-size:10px;margin-bottom:10px}.example-stack{display:grid;gap:10px}.example-stack>div{padding:15px;background:#edf3e7;border-radius:12px;display:flex;align-items:center;justify-content:space-between;gap:15px}.options{border:0;margin:24px 0;padding:0;display:grid;gap:12px}.option{display:flex;align-items:center;gap:15px;border:1.5px solid #d4ded0;border-radius:13px;padding:16px 18px;background:#fcfdf9;cursor:pointer;min-height:62px;font-size:17px}.option:has(input:checked){border-color:#3f7851;background:#eaf3e4}.option:hover{background:#f1f5eb}.option input{width:19px;height:19px;accent-color:var(--green);flex-shrink:0}.player-actions{margin-top:30px;border-top:1px solid var(--line);padding-top:16px}.player-actions .caption{margin:0 0 16px}.audio-panel{text-align:center;padding:24px;background:#eaf0e4;border-radius:16px;margin-bottom:24px}.audio-panel .quiet-link{display:block;margin:auto}.transcript{background:#fff;padding:18px;border-radius:10px;text-align:left;white-space:pre-line}.word-bank{display:flex;gap:9px;flex-wrap:wrap;margin:25px 0}.word-token{background:#f1f4e8;border:1px solid #ccd9c4;border-radius:8px;padding:8px 13px;min-height:44px}.matching{display:grid;gap:10px}.matching .field{display:grid;grid-template-columns:1fr 2fr;align-items:center;gap:20px}.feedback-card{padding:40px;border:1px solid #c7d9bb;background:#edf6e6;border-radius:24px;text-align:center}.feedback-card.practice{background:#faf0d9;border-color:#e6d7ae}.feedback-card h1{font-size:34px;margin:20px 0}.feedback-card p{font-size:18px;line-height:1.8;margin-bottom:30px}.feedback-symbol{font-size:54px;color:var(--green);display:block;margin-bottom:22px}.result-card{max-width:720px;margin:10px auto;text-align:center;padding:42px}.result-mark{font-size:60px;color:var(--green);width:95px;height:95px;border-radius:50%;background:#e5eedc;margin:0 auto 28px}.result-card form{margin:30px 0 12px}.result-score{font-size:72px;line-height:1.2;color:var(--green);letter-spacing:-.06em;margin:25px}.result-score small{font-size:30px}.probe-results{display:grid;gap:10px;text-align:left;margin:28px 0}.probe-results>div{display:flex;justify-content:space-between;padding:14px;background:#f3f5ed;border-radius:10px;font-size:13px}.result-card .flash{text-align:left;font-size:14px}.result-card .flash p{margin:8px 0}.result-card .passage{text-align:left;font-size:16px}
.stats-bar{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}.stats-bar section{background:#fff;padding:24px 30px;border-radius:18px;border:1px solid var(--line)}.stats-bar span{display:block;color:var(--muted);font-size:13px}.stats-bar strong{display:block;font-size:39px;margin-top:8px;line-height:1.2}.table-wrap{overflow:auto;max-width:100%;border-radius:12px}table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}th{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.05em;background:#f6f7f1;padding:15px 13px;white-space:nowrap}td{padding:19px 13px;border-bottom:1px solid var(--line);vertical-align:top;min-width:110px}td:first-child{min-width:180px}td small{font-size:10px;margin-top:5px;overflow-wrap:anywhere}.strong-link{font-weight:650}.filters{display:flex;gap:15px;align-items:flex-end;flex-wrap:wrap;margin-bottom:25px}.filters .field{margin:0;flex:1 1 150px}.filters .field input,.filters .field select{font-size:13px}.course-promo{display:grid;grid-template-columns:1.5fr 1fr;gap:15px;align-items:center}.course-promo img{max-height:230px}.table-wrap .empty{min-width:0}
@media(min-width:1500px){.shell{padding-top:50px}.login-page .shell{padding-top:80px}}
@media(max-width:1270px){.shell,.footer{margin-left:35px;margin-right:35px}.header{padding:22px 35px}.login-grid{gap:50px}.header nav{gap:20px}}
@media(max-width:1000px){.header{flex-wrap:wrap}.header nav{width:100%;justify-content:flex-start;gap:25px;overflow-x:auto;padding-bottom:5px}.header nav form{margin-left:auto}.hero{padding:35px;gap:25px}.grid.three{grid-template-columns:1fr 1fr}.dashboard-grid>.card:last-child{grid-column:1/-1}.units{grid-template-columns:1fr!important}.unit-card h3{margin-bottom:10px}.chapter-list{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.login-grid{gap:35px}.login-form{padding:30px}.login-story h1{font-size:53px}.book-art{padding:25px 15px}.login-benefits{gap:12px}.textbook-layout{grid-template-columns:1.6fr 1fr}.card{padding:25px}.profile-note{gap:15px}}
@media(max-width:760px){.shell,.footer{margin-left:22px;margin-right:22px}.shell{padding-top:30px}.header{padding:20px 22px}.header nav{gap:21px}.hero{grid-template-columns:1fr}.hero-visual{display:none}.hero>img{max-height:230px}.learning-hero{padding:32px}.page-heading{align-items:flex-start;flex-direction:column;gap:18px;margin-bottom:25px}.grid.two,.grid.three{grid-template-columns:1fr}.dashboard-grid>.card:last-child{grid-column:auto}.welcome{gap:25px}.welcome h1{font-size:45px}.welcome>img{display:none}.login-grid{grid-template-columns:1fr;gap:28px}.login-story h1{font-size:49px;margin:14px 0 22px}.login-story .book-art{display:none}.login-page .shell{padding-top:20px}.login-story .login-benefits{margin-top:25px}.login-form{margin:0}.login-page .footer{margin-top:5px}.textbook-layout{grid-template-columns:1fr}.concept-visual{grid-template-columns:1fr 1.3fr;padding:18px}.pattern{font-size:15px;padding:11px}.stage-panel{padding:24px}.stage-heading{gap:18px}.stage-number{width:60px;height:60px;border-radius:16px;font-size:28px}.stage-foot{flex-direction:column;gap:7px}.stats-bar{grid-template-columns:1fr 1fr;gap:14px}.stats-bar section{padding:20px}.stats-bar strong{font-size:34px}.footer{flex-direction:column;gap:8px}.player-header{padding:20px;gap:15px}.player-header .quiet-link{font-size:12px}.player-header>span:nth-child(2){font-size:12px}.player-header small{font-size:9px}.player-count{font-size:10px}.focus-page .shell{padding:28px 0}.interaction{padding:25px}.interaction h1{font-size:27px}.teaching-text{font-size:17px}.feedback-card{padding:30px 22px}.feedback-card h1{font-size:28px}.feedback-card p{font-size:16px}.result-card{padding:30px 24px}.profile-note{font-size:13px}.card h2{font-size:23px}}
@media(max-width:440px){.shell,.footer{margin-left:16px;margin-right:16px}.header{padding:18px 16px}.brand small{font-size:10px}.header nav{gap:18px;font-size:12px}.header nav form{margin-left:0}.header .text-button{font-size:12px}.login-form{padding:26px}.login-story h1{font-size:46px}.chapter-list{grid-template-columns:1fr}.concept-visual{grid-template-columns:1fr}.concept-visual img{max-height:130px}.interaction{padding:23px 20px;border-radius:18px}.option{font-size:16px;padding:15px}.stage-panel{padding:20px}.hero{padding:28px}.stage-heading h2{font-size:23px}.revision-row{gap:12px;font-size:13px}.recent-row{padding:16px;gap:12px}.recent-row strong{font-size:14px}.recent-row>span:last-child{font-size:11px}.page-heading h1{font-size:33px}.probe-results>div{gap:15px;flex-direction:column}.result-score{font-size:62px}.course-promo{grid-template-columns:1fr}.course-promo img{display:none}.filters .field{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto;transition:none!important;animation:none!important}}
.picture-question{padding:25px;background:#edf2e5;border-radius:16px;text-align:center;margin:20px 0}.picture-question img{width:200px;height:180px;object-fit:contain}.word-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}.word-heading h2{margin:0}.word-example{padding:15px;background:#f3f5ed;border-radius:12px;font-size:14px;line-height:1.6}.word-card>p{font-size:14px;color:var(--muted)}.challenge-banner{display:flex;gap:30px;align-items:center;justify-content:space-between;margin-top:24px;background:#efe8d4;border-radius:17px;padding:22px 30px}.challenge-banner p{font-size:13px;margin:5px 0 0;max-width:600px}.challenge-banner form{flex-shrink:0}.placement-estimates{font-size:13px;border:1px solid var(--line);border-radius:10px;padding:12px;margin-bottom:20px}.placement-estimates summary{min-height:36px;cursor:pointer}.placement-estimates p{margin:6px 0}
@media(max-width:760px){.header nav{flex-wrap:wrap;overflow:visible;gap:5px 17px;padding:0}.header nav a,.header nav button{display:inline-flex;align-items:center;min-height:44px;white-space:nowrap}.header nav form{margin-left:0}.challenge-banner{flex-direction:column;align-items:flex-start;gap:15px}.table-wrap:has(td[data-label]){overflow:visible}.table-wrap:has(td[data-label]) table,.table-wrap:has(td[data-label]) tbody{display:block}.table-wrap:has(td[data-label]) thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.table-wrap:has(td[data-label]) tr{display:block;border:1px solid var(--line);border-radius:14px;padding:12px 18px;margin:18px 0;background:#fcfdf8}.table-wrap:has(td[data-label]) td{display:block;min-width:0;padding:10px 0;border:0}.table-wrap td[data-label]::before{content:attr(data-label);display:block;font-size:10px;text-transform:uppercase;letter-spacing:.07em;color:var(--muted);margin-bottom:5px}.word-heading{align-items:flex-start}.word-heading h2{font-size:24px}}

/* Learner dashboard 4.0 — one clear system, four expressive learning worlds. */
body.theme-jungle{--theme:#167a64;--theme-dark:#0d5849;--theme-soft:#e6f5e7;--theme-pale:#f3faed;--theme-pop:#f29b51;--theme-sun:#f3ce61;--theme-ink:#16483d;--green:var(--theme);--green-dark:var(--theme-dark);--sage:var(--theme-soft)}
body.theme-ocean{--theme:#167b98;--theme-dark:#0f5269;--theme-soft:#e1f4f6;--theme-pale:#f1fbfa;--theme-pop:#f28e72;--theme-sun:#f3cd68;--theme-ink:#164957;--green:var(--theme);--green-dark:var(--theme-dark);--sage:var(--theme-soft)}
body.theme-space{--theme:#6657b9;--theme-dark:#44358c;--theme-soft:#ece9fb;--theme-pale:#f8f5ff;--theme-pop:#f0789a;--theme-sun:#f3ce61;--theme-ink:#35305f;--green:var(--theme);--green-dark:var(--theme-dark);--sage:var(--theme-soft)}
body.theme-calm{--theme:#386c64;--theme-dark:#254e48;--theme-soft:#e8f0ec;--theme-pale:#f5f8f4;--theme-pop:#c98b68;--theme-sun:#dfc57e;--theme-ink:#2a4944;--green:var(--theme);--green-dark:var(--theme-dark);--sage:var(--theme-soft)}
.dashboard-page{background:linear-gradient(180deg,#fffdf8 0,#f8f7f0 680px,#f5f4ec 100%);min-height:100vh}.dashboard-page .header{max-width:1440px}.dashboard-page .shell,.dashboard-page .footer{max-width:1360px}.header-profile{display:flex;align-items:center;gap:9px;border-left:1px solid var(--line);padding-left:17px;color:var(--ink);line-height:1.15;white-space:nowrap}.header-profile>span:first-child{width:35px;height:35px;border-radius:12px;background:var(--theme-soft,#e8eee8);color:var(--theme,#174e42);display:grid;place-items:center;font-weight:800}.header-profile>span:last-child{font-size:12px;font-weight:700}.header-profile small{display:block;color:var(--muted);font-size:9px;font-weight:500;margin-top:4px}
.dashboard-greeting{display:flex;justify-content:space-between;gap:28px;align-items:flex-end;margin-bottom:25px}.dashboard-greeting h1{font-family:Georgia,serif;font-weight:500;font-size:clamp(31px,3.2vw,46px);margin:5px 0 7px;color:var(--theme-ink)}.dashboard-greeting p{margin:0}.learner-dashboard{display:grid;grid-template-columns:92px minmax(0,1fr);gap:24px;align-items:start}.dashboard-rail{position:sticky;top:18px;padding:13px 9px;background:var(--theme-dark);border-radius:24px;display:grid;gap:7px;box-shadow:0 18px 38px #153e3124}.dashboard-rail a{display:grid;place-items:center;gap:3px;color:#d9ece7;padding:11px 4px;border-radius:15px;min-height:65px}.dashboard-rail a:hover,.dashboard-rail a.active{background:#ffffff1f;color:#fff;text-decoration:none}.dashboard-rail a.active{box-shadow:inset 3px 0 0 var(--theme-sun)}.dashboard-rail a>span{font-size:22px;line-height:1}.dashboard-rail small{font-size:9px;font-weight:700}.dashboard-canvas{min-width:0}.quest-hero{display:grid;grid-template-columns:1.15fr .85fr;min-height:362px;overflow:hidden;background:linear-gradient(125deg,var(--theme-dark),var(--theme) 58%,color-mix(in srgb,var(--theme) 72%,#86c67c));color:#fff;border-radius:30px;box-shadow:0 20px 55px color-mix(in srgb,var(--theme) 22%,transparent);position:relative}.quest-hero::before,.quest-hero::after{content:"";position:absolute;border-radius:50%;border:1px solid #ffffff1c}.quest-hero::before{width:330px;height:330px;right:-90px;top:-150px}.quest-hero::after{width:210px;height:210px;left:45%;bottom:-150px}.quest-copy{padding:42px 20px 35px 46px;position:relative;z-index:1}.quest-kicker{display:flex;align-items:center;gap:14px;font-size:10px;letter-spacing:.15em;font-weight:800;color:#d8ebe3}.quest-badge{background:#ffffff18;border:1px solid #ffffff2e;border-radius:100px;padding:5px 10px;letter-spacing:.05em}.quest-copy h2{font:500 clamp(38px,4.5vw,62px)/1.03 Georgia,serif;letter-spacing:-.04em;margin:24px 0 17px;max-width:680px}.quest-copy>p{color:#e6f1ed;max-width:570px;font-size:16px;line-height:1.7}.quest-button{background:var(--theme-sun);color:#243d35;margin-top:5px;border-radius:14px;box-shadow:0 8px 18px #082a202c}.quest-button:hover{background:#ffe199;color:#1e382f}.quest-meta{display:flex;gap:20px;flex-wrap:wrap;font-size:11px;color:#d6e7e0;margin-top:20px}.quest-meta span+span::before{content:"◷";margin-right:6px}.companion-scene{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px;background:radial-gradient(circle at 52% 45%,#ffffff2b 0 25%,transparent 62%)}.companion{width:172px;height:172px;display:grid;place-items:center;font-size:112px;filter:drop-shadow(0 16px 8px #17332930);animation:companion-float 4s ease-in-out infinite}.companion-message{background:#fffdf5;color:var(--theme-ink);border-radius:14px;padding:12px 17px;text-align:center;box-shadow:0 12px 25px #11362924;transform:rotate(-2deg);max-width:230px}.companion-message strong,.companion-message span{display:block}.companion-message strong{font:600 16px Georgia,serif}.companion-message span{font-size:10px;color:var(--muted);margin-top:3px}.scene-spark{position:absolute;color:var(--theme-sun);font-size:29px;animation:sparkle 2.4s ease-in-out infinite}.scene-spark.one{top:58px;right:18%}.scene-spark.two{top:33%;left:15%;font-size:19px;animation-delay:.8s}.quest-trail{width:76%;display:flex;align-items:center;margin-top:25px}.quest-trail i{width:26px;height:26px;border-radius:50%;background:#ffffff32;border:1px solid #ffffff66;color:#fff;display:grid;place-items:center;font-style:normal;font-size:10px;font-weight:800;flex-shrink:0}.quest-trail i.done{background:var(--theme-sun);color:var(--theme-dark)}.quest-trail i.current{width:34px;height:34px;background:#fff;color:var(--theme);box-shadow:0 0 0 5px #ffffff23}.quest-trail b{height:2px;background:#ffffff4d;flex:1}.quest-trail b:first-of-type{background:var(--theme-sun)}
@keyframes companion-float{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-9px) rotate(1deg)}}@keyframes sparkle{0%,100%{opacity:.5;transform:scale(.75) rotate(0)}50%{opacity:1;transform:scale(1.2) rotate(18deg)}}
.dashboard-metrics{display:grid;grid-template-columns:1fr 1fr 1.12fr;gap:18px;margin-top:18px}.metric-card,.personalise-card,.activity-card,.awards-card,.recent-dashboard{background:#fff;border:1px solid color-mix(in srgb,var(--theme) 15%,#dfe4dc);border-radius:21px;box-shadow:0 8px 32px #173a2b09}.metric-card{padding:22px;min-height:180px}.metric-heading{display:flex;gap:13px;align-items:center}.metric-icon{width:47px;height:47px;border-radius:15px;display:grid;place-items:center;background:var(--theme-soft);font-size:24px}.metric-heading>div>span,.metric-label{display:block;font-size:9px;letter-spacing:.12em;color:var(--muted);font-weight:800}.metric-heading strong{display:block;font-size:22px;color:var(--theme-ink);margin-top:3px}.streak-card{background:linear-gradient(145deg,#fff 55%,color-mix(in srgb,var(--theme-sun) 18%,#fff))}.streak-week{display:flex;justify-content:space-between;gap:4px;margin:17px 0 8px}.streak-week span{display:grid;gap:3px;place-items:center}.streak-week i{width:24px;height:24px;border-radius:50%;font-style:normal;display:grid;place-items:center;background:#edf0e9;color:#98a19a;font-size:11px}.streak-week .complete i{background:var(--theme-pop);color:#fff}.streak-week small{font-size:8px;color:var(--muted)}.streak-card p{font-size:10px;color:var(--muted);margin:8px 0 0}.xp-card{background:linear-gradient(145deg,#fff 55%,var(--theme-soft))}.xp-track{height:13px;border-radius:20px;background:#e9ede6;margin:25px 0 10px;overflow:hidden;padding:3px}.xp-track i{height:100%;display:block;border-radius:20px;background:linear-gradient(90deg,var(--theme),var(--theme-pop));min-width:4px;transition:width .5s ease}.metric-foot{display:flex;justify-content:space-between;gap:10px;color:var(--muted);font-size:9px}.metric-foot span:first-child{color:var(--theme);font-weight:800}.course-progress-card{display:grid;grid-template-columns:108px 1fr;gap:18px;align-items:center;background:linear-gradient(145deg,#fff 55%,color-mix(in srgb,var(--theme-pop) 10%,#fff))}.progress-ring{--size:102px;width:var(--size);height:var(--size);border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--theme) calc(var(--progress)*1%),#e5eae3 0);position:relative}.progress-ring::before{content:"";position:absolute;inset:10px;background:#fff;border-radius:50%}.progress-ring span{position:relative;text-align:center;line-height:1.1}.progress-ring strong,.progress-ring small{display:block}.progress-ring strong{font-size:23px;color:var(--theme-ink)}.progress-ring small{font-size:8px;color:var(--muted);margin-top:3px}.course-progress-card>div:last-child>strong{display:block;margin:6px 0 3px;font-size:16px}.course-progress-card>div:last-child>small{display:block;color:var(--muted);font-size:10px}.course-progress-card a{font-size:10px;font-weight:700;display:inline-block;margin-top:12px}
.personalise-card{display:grid;grid-template-columns:.68fr 1.32fr;gap:30px;padding:27px 30px;margin-top:18px;background:linear-gradient(115deg,#fff,var(--theme-pale))}.personalise-intro h2{font:500 25px Georgia,serif;margin:3px 0 8px}.personalise-intro p{font-size:12px;color:var(--muted);margin:0;max-width:330px}.personalise-card fieldset{border:0;padding:0;margin:0}.theme-options{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.theme-option{cursor:pointer}.theme-option input{position:absolute;opacity:0;pointer-events:none}.theme-swatch{border:2px solid transparent;border-radius:14px;min-height:69px;padding:9px;display:flex;gap:7px;align-items:flex-end;justify-content:center;position:relative;box-shadow:inset 0 0 0 1px #0000000c}.theme-swatch i{font-size:29px;font-style:normal;filter:drop-shadow(0 4px 3px #0002)}.theme-swatch b{font-size:10px}.theme-swatch-jungle{background:linear-gradient(145deg,#dff3d5,#62b283);color:#174b3e}.theme-swatch-ocean{background:linear-gradient(145deg,#dff5f7,#70bed0);color:#164b59}.theme-swatch-space{background:linear-gradient(145deg,#eee8ff,#8e80d9);color:#37305f}.theme-swatch-calm{background:linear-gradient(145deg,#f2eee4,#a9c1b5);color:#304a45}.theme-option input:checked+.theme-swatch{border-color:var(--theme);box-shadow:0 0 0 3px color-mix(in srgb,var(--theme) 13%,transparent)}.theme-option input:focus-visible+.theme-swatch{outline:3px solid #b87517;outline-offset:3px}.mode-options{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px!important}.mode-options legend{font-size:9px;font-weight:800;color:var(--muted);letter-spacing:.08em;margin-bottom:7px}.mode-options label{cursor:pointer}.mode-options input{position:absolute;opacity:0}.mode-options label>span{display:block;border:1px solid var(--line);border-radius:11px;padding:8px 10px;background:#fff}.mode-options b,.mode-options small{display:block}.mode-options b{font-size:10px}.mode-options small{font-size:8px;color:var(--muted);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mode-options input:checked+span{border-color:var(--theme);background:var(--theme-soft);color:var(--theme-dark)}.mode-options input:focus-visible+span{outline:3px solid #b87517;outline-offset:2px}.preference-actions{display:flex;align-items:center;gap:12px;margin-top:11px}.preference-actions .button{min-height:38px;padding:7px 15px;font-size:11px}.preference-actions>span{font-size:9px;color:var(--muted)}
.dashboard-lower{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}.activity-card,.awards-card{padding:25px 28px}.activity-card .section-heading,.awards-card .section-heading{margin-bottom:15px}.activity-card .section-label,.awards-card .section-label{margin:0 0 3px}.activity-card h2,.awards-card h2,.recent-dashboard h2{font:500 24px Georgia,serif;margin:0}.activity-card .section-heading>strong,.awards-card .section-heading>strong{color:var(--theme);font-size:18px}.activity-chart{height:145px;display:grid;grid-template-columns:repeat(7,1fr);gap:12px;align-items:end;border-bottom:1px solid var(--line);padding:10px 8px 0}.activity-chart>div{height:100%;display:grid;grid-template-rows:1fr 17px 18px;justify-items:center;align-items:end}.activity-chart>div>span{height:100%;width:15px;background:#eef1eb;border-radius:9px 9px 0 0;display:flex;align-items:flex-end;overflow:hidden}.activity-chart i{width:100%;display:block;min-height:5px;background:linear-gradient(var(--theme-pop),var(--theme));border-radius:9px 9px 0 0}.activity-chart b{font-size:8px;color:var(--theme-dark)}.activity-chart small{font-size:9px;color:var(--muted)}.activity-card>p{font-size:10px;color:var(--muted);margin:13px 0 0}.award-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.award{display:flex;gap:10px;align-items:center;padding:10px;border-radius:13px;background:var(--theme-pale);border:1px solid color-mix(in srgb,var(--theme) 10%,#e7e9e3)}.award>span{font-size:26px;width:38px;height:38px;border-radius:12px;background:#fff;display:grid;place-items:center}.award strong,.award small{display:block}.award strong{font-size:11px}.award small{font-size:8px;color:var(--muted);line-height:1.35;margin-top:2px}.award.locked{filter:grayscale(1);opacity:.48}.recent-dashboard{padding:26px 28px;margin-top:18px}.recent-dashboard .section-label{margin-bottom:3px}.recent-dashboard .empty{width:100%}.empty-companion{font-size:42px}.dashboard-page .profile-note{margin-bottom:0}
.experience-focused .companion-scene{background:linear-gradient(145deg,#ffffff0d,#00000008)}.experience-focused .companion{font-size:85px;filter:grayscale(.15);animation:none}.experience-focused .scene-spark{display:none}.experience-focused .quest-hero{background:linear-gradient(120deg,var(--theme-dark),var(--theme))}.experience-focused .dashboard-rail a>span{font-size:19px}.experience-focused .personalise-card,.experience-focused .metric-card{background:#fff}.experience-playful .metric-card:hover,.experience-playful .award:hover{transform:translateY(-3px);box-shadow:0 12px 30px #173a2b12}.experience-playful .metric-card,.experience-playful .award{transition:transform .2s ease,box-shadow .2s ease}.experience-playful .quest-hero{background-image:radial-gradient(circle at 80% 20%,#ffffff23 0 4px,transparent 5px),radial-gradient(circle at 90% 42%,#ffffff18 0 7px,transparent 8px),linear-gradient(125deg,var(--theme-dark),var(--theme) 58%,color-mix(in srgb,var(--theme) 72%,#86c67c))}
@media(max-width:1100px){.dashboard-page .header nav{gap:14px}.header-profile{display:none}.learner-dashboard{grid-template-columns:78px minmax(0,1fr)}.dashboard-metrics{grid-template-columns:1fr 1fr}.course-progress-card{grid-column:1/-1}.personalise-card{grid-template-columns:1fr}.quest-copy{padding-left:36px}.companion{font-size:96px}.dashboard-page .shell,.dashboard-page .footer{margin-left:28px;margin-right:28px}}
@media(max-width:800px){.dashboard-greeting{align-items:flex-start;flex-direction:column;gap:12px}.learner-dashboard{display:block}.dashboard-rail{position:static;display:flex;justify-content:space-around;margin-bottom:16px;padding:7px}.dashboard-rail a{flex:1;min-height:54px;padding:7px}.dashboard-rail a.active{box-shadow:inset 0 -3px 0 var(--theme-sun)}.quest-hero{grid-template-columns:1fr}.quest-copy{padding:34px}.companion-scene{min-height:245px;padding:20px}.companion{width:130px;height:130px;font-size:86px}.quest-trail{max-width:300px}.dashboard-lower{grid-template-columns:1fr}.theme-options{grid-template-columns:repeat(4,1fr)}.dashboard-page .shell{padding-top:28px}.dashboard-greeting h1{font-size:36px}}
@media(max-width:560px){.dashboard-page .shell,.dashboard-page .footer{margin-left:14px;margin-right:14px}.dashboard-page .header{padding-left:16px;padding-right:16px}.dashboard-greeting h1{font-size:31px}.dashboard-greeting>.quiet-link{display:none}.dashboard-rail small{font-size:8px}.dashboard-rail a>span{font-size:19px}.quest-copy{padding:28px 24px}.quest-copy h2{font-size:39px}.quest-copy>p{font-size:14px}.companion-scene{min-height:220px}.dashboard-metrics{grid-template-columns:1fr}.course-progress-card{grid-column:auto}.metric-card{min-height:0}.personalise-card,.activity-card,.awards-card,.recent-dashboard{padding:23px 19px}.theme-options{grid-template-columns:1fr 1fr}.theme-swatch{min-height:61px}.mode-options{grid-template-columns:1fr}.mode-options small{white-space:normal}.preference-actions{align-items:flex-start;flex-direction:column}.award-grid{grid-template-columns:1fr}.activity-chart{gap:6px;padding-left:2px;padding-right:2px}.recent-dashboard .section-heading{align-items:flex-start}.recent-row>span:last-child{display:none}.course-progress-card{grid-template-columns:94px 1fr}.progress-ring{--size:90px}.profile-note{align-items:flex-start}.quest-meta span+span::before{display:none}}
@media(prefers-reduced-motion:reduce){.companion,.scene-spark{animation:none!important}.xp-track i{transition:none}}

/* Learner memory, identity and results */
.profile-avatar{width:42px;height:42px;border-radius:14px;object-fit:cover}.experience-preview{display:flex;align-items:center;gap:24px;padding:26px;background:var(--surface-soft,#edf4ef);border-radius:24px;margin-bottom:26px}.experience-preview img{width:100px;height:100px;object-fit:contain}.avatar-options{display:flex;flex-wrap:wrap;gap:14px;border:0;margin:24px 0;padding:0}.avatar-options legend{font-size:1.15rem;font-weight:700;margin-bottom:14px}.avatar-options label{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;padding:14px;border:2px solid #dce5df;border-radius:20px;min-width:110px;cursor:pointer}.avatar-options img{width:72px;height:72px}.avatar-options label:has(input:checked){border-color:#286f5a;background:#e6f3ec}.avatar-options input{width:20px;height:20px}.memory-card details{margin:16px 0}.memory-card summary,.learning-save summary{cursor:pointer;font-weight:600;min-height:44px;padding:12px 0}.card-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.memory-card textarea{width:100%;min-height:90px}.learning-save{border-top:1px solid #dce5df;margin-top:24px;padding-top:16px}.learning-save textarea{width:100%;min-height:100px}.certificate-document{max-width:850px;margin:30px auto;padding:clamp(24px,5vw,64px);border:2px solid #286f5a}.certificate-name{font-size:2rem;font-weight:650}.certificate-document dl{display:grid;grid-template-columns:170px 1fr;gap:16px}.certificate-document dd{margin:0}.wrap-anywhere{overflow-wrap:anywhere}.experience-focused .experience-preview img[data-companion-preview]{display:none}.theme-options legend{font-weight:700;margin-bottom:12px}@media(max-width:600px){.experience-preview{gap:12px;padding:16px;flex-wrap:wrap}.experience-preview img{width:70px;height:70px}.avatar-options{gap:8px}.avatar-options label{min-width:95px;padding:10px}.certificate-document dl{grid-template-columns:1fr;gap:8px}}@media print{.header,.footer,.skip,[data-print],.certificate-document .button{display:none}.certificate-document{box-shadow:none;margin:0}.shell{max-width:100%}}

.chosen-companion{width:100%;height:100%;object-fit:contain}.quest-hero:has(.quest-copy:only-child){grid-template-columns:1fr}.header nav{flex-wrap:wrap}.header-profile{min-width:max-content}
