/* Lectoria / Mango light
   Spacing: 4, 8, 12, 16, 24, 32, 48, 64, 96. Layout: 1184px / 24px gutters.
   This presentation layer intentionally leaves access and learning state untouched.
   body.mango specificity also covers the lazily loaded course stylesheet. */
:root{color-scheme:light;--paper:#FBFEFC;--paper-deep:#EAF6F1;--ink:#123C40;--muted:#526E70;--green:#00666E;--green-2:#00747B;--mint:#D7F4ED;--coral:#00747B;--coral-soft:#FFF0B7;--white:#FFFFFF;--line:#D4E4DE;--shadow:0 16px 48px #123c4010;--radius:24px;--sans:Onest,Arial,sans-serif;--serif:Literata,Georgia,serif;--mango:#FFD135;--turquoise:#00C8BB;--danger:#9C3C30;--danger-soft:#FFF0EB;--container:1184px}
body.mango{margin:0;background:var(--paper);color:var(--ink);font:400 16px/1.6 var(--sans);text-rendering:optimizeLegibility;padding-bottom:0}
body.mango *{box-sizing:border-box}
body.mango :is(button,input,select,textarea){font-family:var(--sans)}
body.mango button{cursor:pointer;touch-action:manipulation}
body.mango button:disabled{cursor:default}
body.mango :is(button,a,input,summary,select,textarea):focus-visible{outline:3px solid var(--green);outline-offset:4px}
body.mango [hidden]{display:none!important}
body.mango :is(h1,h2,h3,h4){color:inherit;text-wrap:balance}
body.mango :is(h1,h2){font-family:var(--sans);font-weight:700;letter-spacing:-.045em;line-height:1.12}
body.mango h1{font-size:clamp(32px,4vw,52px)}
body.mango h2{font-size:clamp(26px,3vw,40px)}
body.mango p{line-height:1.65}
body.mango .ui-icon{display:inline-block;flex:none;width:22px;height:22px;vertical-align:middle}
body.mango .mango-mascot{display:block;object-fit:contain}
body.mango .muted{color:var(--muted)}
body.mango :is(.page,.profile-page,.modal){animation:none}
body.mango .eyebrow{gap:10px;font:700 11px/1.5 var(--sans);letter-spacing:.1em;color:var(--green)}
body.mango .eyebrow:before{width:20px;height:4px;border-radius:4px;background:var(--mango)}
body.mango :is(.primary-btn,.secondary-btn,.profile-primary-action){display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:14px 24px;border-radius:16px;font:700 15px/1.45 var(--sans);border:1px solid transparent;transition:background .18s,box-shadow .18s,transform .18s;text-align:center;text-decoration:none}
body.mango :is(.primary-btn,.profile-primary-action){color:white;background:var(--green);box-shadow:0 4px 0 #004c53}
body.mango :is(.primary-btn,.profile-primary-action):hover{background:#00565E;transform:translateY(-1px);box-shadow:0 5px 0 #004c53}
body.mango :is(.primary-btn,.profile-primary-action):active{transform:translateY(2px);box-shadow:0 2px 0 #004c53}
body.mango .secondary-btn{color:var(--ink);background:white;border-color:var(--line);box-shadow:none}
body.mango .secondary-btn:hover{background:var(--mint);border-color:#9ECFC8;transform:none}
body.mango .primary-btn:disabled{opacity:1;color:#647C7D;background:#E1ECE7;box-shadow:none;border-color:#D4E4DE;transform:none}
body.mango .text-link{color:var(--green);text-underline-offset:4px}
body.mango .site-header{height:76px;padding:0 max(24px,calc((100vw - var(--container))/2));border-bottom:1px solid var(--line);background:#FBFEFCF5;backdrop-filter:blur(16px);box-shadow:none}
body.mango .site-header:is(.reader-header,.diagnostic-header,.lesson-header){display:none}
body.mango .header-center{min-width:0}
body.mango .brand{font:800 23px/1 var(--sans);letter-spacing:-.05em;gap:10px;color:var(--ink)}
body.mango .brand-mark{width:31px;height:30px;gap:3px;align-items:center;transform:rotate(-5deg)}
body.mango .brand-mark i{width:14px;height:26px;border-radius:4px 9px 9px 4px;background:var(--green);transform:none}
body.mango .brand-mark i:last-child{background:var(--mango);border-radius:9px 4px 4px 9px;transform:translateY(-3px)}
body.mango .header-actions{gap:10px}
body.mango :is(.nav-login,.header-cta){min-height:44px;border-radius:14px;font:700 13px/1.3 var(--sans);padding:12px 18px}
body.mango .nav-login{background:white;border:1px solid var(--line);color:var(--ink)}
body.mango .header-cta{background:var(--green);color:white;border:1px solid var(--green)}
body.mango .mobile-nav{border:1px solid var(--line);box-shadow:0 4px 24px #123c4014;background:#FFFFFFF5;border-radius:24px;backdrop-filter:blur(14px)}
body.mango .mobile-nav a{font-family:var(--sans);color:var(--muted);min-height:54px}
body.mango .mobile-nav a.active{background:var(--mint);color:var(--green);border-radius:17px}
body.mango .mobile-nav .nav-icon{width:23px;height:23px}

/* LANDING — the bright face of a calm reading product. */
body.mango .mango-home{padding-top:100px;overflow:clip;min-height:100dvh}
body.mango .mango-hero{position:relative;display:grid;grid-template-columns:.9fr 1.1fr;gap:0 32px;align-items:center;max-width:var(--container);margin:0 auto;padding:48px 48px 20px;background:var(--mango);border-radius:36px;isolation:isolate}
body.mango .mango-hero-heading{grid-column:1/-1;text-align:center;position:relative;z-index:1}
body.mango .mango-kicker{display:inline-flex;font-size:11px;font-weight:700;letter-spacing:.11em;text-transform:uppercase;line-height:1.5}
body.mango .mango-hero h1{margin:18px auto 24px;max-width:1000px;font-size:clamp(44px,5.4vw,76px);letter-spacing:-.065em;line-height:1.04}
body.mango .mango-hero h1 em{font-style:normal;color:var(--green)}
body.mango .mango-hero-copy{padding:4px 0 32px;position:relative;z-index:2}
body.mango .mango-hero-copy>p{font-size:18px;line-height:1.65;max-width:440px;margin:0 0 24px}
body.mango .mango-hero-actions{display:flex;flex-direction:column;align-items:flex-start;gap:20px}
body.mango .mango-hero .primary-btn{min-height:56px;padding:16px 26px}
body.mango .mango-demo-link{font-size:13px;text-decoration:underline;text-underline-offset:5px;line-height:1.5}
body.mango .mango-hero-note{display:block;font-size:12px;margin-top:24px}
body.mango .mango-team-scene{position:relative;margin:0;height:340px;min-width:0;align-self:end}
body.mango .mango-scene-page{position:absolute;width:86%;height:79%;background:#FFF9E7;border-radius:50% 44% 34% 45%;bottom:28px;left:6%;transform:rotate(-7deg)}
body.mango .mango-team-pair{position:absolute;bottom:8px;left:-30px;width:92%;height:auto;z-index:1}
body.mango .mango-team-gecko{position:absolute;width:39%;height:auto;right:-24px;bottom:29px;z-index:2;transform:rotate(8deg)}
body.mango .mango-hello{position:absolute;right:27px;top:3px;padding:8px 19px;background:var(--green);color:white;font-size:22px;line-height:1.2;font-weight:700;border-radius:16px 16px 2px 16px;transform:rotate(8deg);z-index:3}
body.mango .mango-team-scene figcaption{position:absolute;bottom:2px;left:0;right:0;text-align:center;font-size:10px;font-weight:600;letter-spacing:.02em;z-index:4}
body.mango .mango-at-a-glance{max-width:var(--container);margin:0 auto;padding:32px 48px;display:grid;grid-template-columns:repeat(3,1fr);gap:24px;border-bottom:1px solid var(--line)}
body.mango .mango-at-a-glance>div{display:flex;align-items:center;gap:14px}
body.mango .mango-at-a-glance .ui-icon{width:26px;height:26px;color:var(--green)}
body.mango .mango-at-a-glance strong{display:block;font-size:15px;line-height:1.5}
body.mango .mango-at-a-glance small{display:block;font-size:12px;color:var(--muted)}
body.mango .mango-section{max-width:var(--container);margin:0 auto;padding:96px 0 0}
body.mango .mango-section-head{margin-bottom:32px;max-width:730px}
body.mango .mango-section-head h2{font-size:clamp(32px,4vw,52px);margin:16px 0 20px;letter-spacing:-.055em}
body.mango .mango-section-head>p{max-width:620px;color:var(--muted);font-size:16px;margin:0}
body.mango .mango-path{display:grid;grid-template-columns:.8fr 1fr;gap:80px}
body.mango .mango-path-steps{display:grid;gap:0;padding:0 0 0 20px;position:relative}
body.mango .mango-path-steps:before{content:'';position:absolute;top:26px;bottom:58px;left:45px;width:2px;background:var(--line)}
body.mango .mango-path-steps article{position:relative;padding:0 0 30px 76px;min-height:122px}
body.mango .mango-path-steps article:last-child{padding-bottom:0}
body.mango .mango-step-icon{position:absolute;left:0;top:0;display:grid;place-items:center;width:52px;height:52px;border-radius:18px;background:var(--mint);border:6px solid var(--paper);color:var(--green)}
body.mango .mango-path-steps article:first-child .mango-step-icon{background:var(--mango)}
body.mango .mango-path-steps h3{margin:7px 0 8px;font-size:18px;line-height:1.3;letter-spacing:-.025em}
body.mango .mango-path-steps p{margin:0;font-size:14px;color:var(--muted)}
body.mango .mango-demo-section{scroll-margin-top:100px}
body.mango .mango-reading-demo{display:grid;grid-template-columns:1.1fr 1fr;gap:64px;align-items:center;background:var(--mint);padding:48px;border-radius:32px}
body.mango .mango-demo-book{padding:36px;background:white;border:1px solid #BCDCD3;border-radius:8px 24px 24px 8px;box-shadow:-6px 0 0 #B2D6CB,0 12px 32px #123c4010;min-width:0}
body.mango .mango-demo-label{font-size:10px;color:var(--muted);font-weight:600;letter-spacing:.04em}
body.mango .mango-demo-book h3{font:500 26px/1.3 var(--serif);margin:22px 0}
body.mango .mango-demo-book>p{font:400 24px/1.9 var(--serif);margin:0 0 24px}
body.mango .mango-demo-book>p button{font:inherit;color:var(--ink);background:var(--mango);border:0;border-radius:6px;padding:0 3px;box-shadow:0 2px 0 #D9A600}
body.mango .mango-demo-translation{display:flex;align-items:center;gap:10px;padding:12px 14px;margin:0 0 20px;background:#E9FAF4;border:1px solid #BCDCD3;border-radius:16px}
body.mango .mango-demo-translation img{width:56px;height:56px;flex:none}
body.mango .mango-demo-translation strong{font-size:15px;display:block}
body.mango .mango-demo-translation div>span{font-size:12px;color:var(--muted);display:block;margin-top:2px}
body.mango .mango-demo-footnote{font-size:11px;color:var(--muted);display:block}
body.mango .mango-sticker{display:inline-block;background:var(--mango);border-radius:8px;padding:5px 12px;transform:rotate(-3deg);font-weight:700;font-size:11px}
body.mango .mango-demo-aside h3{font-size:28px;line-height:1.2;letter-spacing:-.04em;margin:24px 0 16px}
body.mango .mango-demo-aside p{font-size:15px;color:var(--muted);margin:0 0 24px}
body.mango .mango-story-shelf{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
body.mango .mango-story{position:relative;display:flex;flex-direction:column;align-items:flex-start;min-height:310px;padding:28px;border:1px solid #123c401a;border-radius:8px 24px 24px 8px;box-shadow:inset 6px 0 0 #123c400c,0 5px 0 #123c4014;text-align:left;overflow:hidden;transition:transform .2s}
body.mango .mango-story:hover{transform:translateY(-5px)}
body.mango .story-cafe{background:#FFD135;color:#123C40}
body.mango .story-photo{background:#00666E;color:white}
body.mango .story-map{background:#CBF2E7;color:#123C40}
body.mango .mango-story>span{font-size:11px;font-weight:600;opacity:.85}
body.mango .mango-story>strong{position:relative;z-index:1;margin:30px 0 44px;font:500 clamp(28px,3.3vw,42px)/1.15 var(--serif);letter-spacing:-.04em}
body.mango .mango-story>i{position:absolute;right:22px;bottom:30px;display:grid;place-items:center;width:92px;height:92px;border-radius:50%;border:1px solid currentColor;opacity:.24;transform:rotate(-12deg)}
body.mango .mango-story>i .ui-icon{width:44px;height:44px}
body.mango .mango-story>small{margin-top:auto;font-size:12px;position:relative;z-index:1}
body.mango .mango-team-section{display:grid;grid-template-columns:1fr 2fr;gap:48px;align-items:start}
body.mango .mango-team-roles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
body.mango .mango-team-roles article{border-top:2px solid var(--line);padding-top:22px}
body.mango .mango-team-roles article>span{display:grid;place-items:center;width:42px;height:42px;background:var(--mint);border-radius:14px;color:var(--green)}
body.mango .mango-team-roles article:nth-child(2)>span{background:var(--mango)}
body.mango .mango-team-roles h3{margin:16px 0 2px;font-size:23px;letter-spacing:-.04em}
body.mango .mango-team-roles b{font-size:11px;color:var(--green)}
body.mango .mango-team-roles p{font-size:13px;color:var(--muted);margin:10px 0 0}
body.mango .mango-faq{display:grid;grid-template-columns:.75fr 1.25fr;gap:64px}
body.mango .mango-faq-list details{border-bottom:1px solid var(--line)}
body.mango .mango-faq-list details:first-child{border-top:1px solid var(--line)}
body.mango .mango-faq summary{display:flex;align-items:center;justify-content:space-between;gap:24px;list-style:none;padding:24px 0;cursor:pointer;font-size:16px;font-weight:600;line-height:1.5}
body.mango .mango-faq summary::-webkit-details-marker{display:none}
body.mango .mango-faq summary .ui-icon{width:18px;height:18px;transition:transform .2s}
body.mango .mango-faq details[open] summary .ui-icon{transform:rotate(180deg)}
body.mango .mango-faq details p{margin:0 30px 24px 0;font-size:14px;color:var(--muted)}
body.mango .mango-final{max-width:var(--container);margin:96px auto 0;padding:48px 64px;background:var(--mango);border-radius:32px;display:grid;grid-template-columns:1fr 250px;gap:48px;align-items:center;overflow:hidden}
body.mango .mango-final h2{font-size:clamp(32px,4vw,48px);margin:16px 0}
body.mango .mango-final p{font-size:15px;margin:0 0 24px;max-width:530px}
body.mango .mango-final-gecko{width:250px;height:250px;transform:rotate(7deg)}

/* CABINET / LIBRARY / VOCABULARY */
body.mango :is(.profile-page,.course-dashboard,.vocabulary-page,.library-page,.journey-page,.legal-page){width:min(var(--container),calc(100% - 48px));max-width:var(--container);padding:120px 0 64px;margin:0 auto}
body.mango :is(.profile-hero,.journey-hero,.library-intro){margin-bottom:32px;gap:24px}
body.mango :is(.profile-hero,.journey-hero) h1{margin:12px 0}
body.mango .profile-hero p{font-size:14px;color:var(--muted);overflow-wrap:anywhere}
body.mango .profile-access-pill{padding:8px 14px;border:1px solid #A9DACE;background:var(--mint);color:var(--green);border-radius:12px;font-size:12px}
body.mango .profile-access-pill.expired{border-color:#EBC3AD;background:var(--danger-soft);color:var(--danger)}
body.mango .profile-main-grid{gap:24px;grid-template-columns:1.3fr 1fr}
body.mango :is(.profile-learning-card,.profile-access-card){padding:32px;border-radius:28px;box-shadow:none;border:1px solid var(--line);background:white;color:var(--ink)}
body.mango .profile-learning-card{position:relative;background:var(--mint);border-color:#BBDDD1;overflow:hidden}
body.mango .profile-learning-card>p{max-width:520px}
body.mango :is(.profile-learning-card,.profile-access-card)>span{font-size:11px;letter-spacing:.08em;text-transform:uppercase;font-weight:700;color:var(--green)}
body.mango :is(.profile-learning-card,.profile-access-card) h2{font-size:28px;margin:12px 0 16px;line-height:1.2}
body.mango :is(.profile-learning-card,.profile-access-card) p{font-size:14px;color:var(--muted)}
body.mango .profile-primary-action{width:100%;margin-top:24px}
body.mango .profile-progress-copy{font-size:12px;color:var(--ink);margin-top:24px}
body.mango .profile-progress-copy small{color:var(--green)}
body.mango .profile-progress{height:8px;border-radius:8px;background:#BEDDD5;overflow:hidden}
body.mango .profile-progress i{background:var(--green);border-radius:8px}
body.mango .profile-access-card .secondary-btn{margin-top:24px;width:100%}
body.mango .profile-stats{gap:24px;margin:24px 0}
body.mango .profile-stats article{border:1px solid var(--line);border-radius:24px;background:white;padding:24px;box-shadow:none}
body.mango .profile-stats b{color:var(--green);font:700 38px/1 var(--sans);letter-spacing:-.05em}
body.mango .profile-stats :is(span,a){color:var(--muted);font-size:13px;margin-top:10px}
body.mango .profile-stats a{color:var(--green);text-decoration:underline;text-underline-offset:4px}
body.mango .profile-settings-card{padding:32px;border-radius:24px;border:1px solid var(--line);background:white}
body.mango .profile-security h2{font-size:20px;overflow-wrap:anywhere;letter-spacing:-.025em}
body.mango .profile-security p{font-size:13px;color:var(--muted)}
body.mango .profile-logout{color:var(--danger);background:var(--danger-soft);border:1px solid #F0D3C4;border-radius:14px;padding:12px 16px;font-size:13px;min-height:44px}
body.mango .language-transition{background:#FFF6D1;border:1px solid #E9D68E;border-radius:20px;padding:24px}
body.mango .flow-strip{padding:18px 24px;border-radius:20px;background:var(--mint);border:1px solid #BBDDD1;margin-bottom:32px}
body.mango .library-intro h1{font-family:var(--sans);font-weight:700;font-size:clamp(32px,4vw,52px)}
body.mango .level-card{background:var(--mint);border:1px solid #BBDDD1;border-radius:22px;box-shadow:none;color:var(--ink)}
body.mango .filters{display:flex;gap:8px;flex-wrap:wrap;margin:24px 0 32px}
body.mango .filter-btn{background:white;border:1px solid var(--line);border-radius:12px;min-height:42px;font-size:13px;color:var(--muted);padding:10px 18px}
body.mango .filter-btn.active{background:var(--green);color:white;border-color:var(--green)}
body.mango .book-grid{gap:24px;grid-template-columns:repeat(4,minmax(0,1fr))}
body.mango .book-card{padding:16px;border:1px solid var(--line);border-radius:24px;background:white;box-shadow:none;transition:transform .18s,border-color .18s}
body.mango .book-card:hover{transform:translateY(-4px);border-color:#8BC6BE;box-shadow:0 12px 24px #123c400a}
body.mango .book-card-cover{height:260px;border-radius:6px 16px 16px 6px;box-shadow:inset 5px 0 0 #FFFFFF20;font-family:var(--serif)}
body.mango .book-card:nth-child(4n+1) .book-card-cover{background:#FFD135!important;color:#123C40}
body.mango .book-card:nth-child(4n+2) .book-card-cover{background:#00666E!important;color:#FFFFFF}
body.mango .book-card:nth-child(4n+3) .book-card-cover{background:#CBF2E7!important;color:#123C40}
body.mango .book-card:nth-child(4n+4) .book-card-cover{background:#F8B8A5!important;color:#123C40}
body.mango .book-card-cover :is(.cover-author,.cover-ornament,.cover-title){color:inherit}
body.mango .book-card-info h3{font:700 18px/1.3 var(--sans);margin-top:18px;letter-spacing:-.025em}
body.mango .book-card-info p{font-size:12px}
body.mango .book-level{background:#FFFFFFE0;color:var(--ink);border-radius:8px;font-size:11px;font-weight:700}
body.mango .book-card-coverage{background:var(--mint);color:var(--green);border-radius:10px;font-size:11px}
body.mango .metric-grid{gap:16px;margin:24px 0}
body.mango .metric-card{background:white;border:1px solid var(--line);border-radius:22px;padding:24px}
body.mango .metric-card strong{font:700 36px/1 var(--sans);color:var(--green)}
body.mango .journey-layout{gap:24px}
body.mango .panel{padding:28px;background:white;border:1px solid var(--line);border-radius:24px;box-shadow:none}
body.mango .panel h2{font-size:25px}
body.mango .level-ring{background:var(--mango);color:var(--ink);border:0;box-shadow:none}
body.mango .vocabulary-page>h1{margin:16px 0}
body.mango .vocabulary-page>p{max-width:650px;color:var(--muted);margin:0 0 32px}
body.mango .context-vocabulary-entry{background:white;border:1px solid var(--line);border-radius:22px;padding:24px;margin-bottom:16px;box-shadow:none}
body.mango .context-vocabulary-entry header strong{font:600 25px/1.3 var(--serif);color:var(--ink)}
body.mango .context-vocabulary-entry .audio-mini{min-width:42px;min-height:42px;border-radius:12px;background:var(--mint);color:var(--green);border:0}
body.mango .context-vocabulary-entry button:not(.audio-mini){border-radius:12px;min-height:42px;padding:9px 16px;background:white;border:1px solid var(--line);font-size:13px}
body.mango .context-vocabulary-entry details{border-radius:12px;background:#F0F8F4;padding:12px 16px;font-size:13px}
body.mango .empty-vocab{max-width:600px;margin:24px auto;padding:40px 24px;background:var(--mint);border:1px solid #BCDCD3;border-radius:28px}
body.mango .empty-vocab h3{font:700 24px/1.3 var(--sans)}
body.mango .empty-vocab p{color:var(--muted);font-size:14px}

/* COURSE — consistent hierarchy, a single next step, no global site chrome. */
body.mango .course-hero{position:relative;padding:36px 40px;background:var(--mint);border:1px solid #BBDDD1;border-radius:32px;margin-bottom:24px;overflow:hidden}
body.mango .course-hero h1{font-size:clamp(32px,4vw,48px);max-width:650px;margin:16px 0 20px;font-family:var(--sans);font-weight:700}
body.mango .course-hero>p{max-width:620px;color:var(--muted);font-size:15px;margin:0 0 28px}
body.mango .course-hero .mango-course-coach{position:absolute;right:24px;bottom:14px;width:280px;height:240px;object-fit:contain;pointer-events:none}
body.mango .course-continue{position:relative;z-index:1;display:grid;grid-template-columns:1fr auto;align-items:center;gap:6px 24px;width:min(620px,100%);max-width:none;margin:0;padding:20px 24px;border:0;border-radius:20px;background:var(--green);color:white;box-shadow:0 4px 0 #004C53;text-align:left}
body.mango .course-continue small{grid-column:1/-1;color:#C8EEE8;font-size:11px}
body.mango .course-continue strong{font:700 20px/1.3 var(--sans)}
body.mango .course-continue>span{font-size:11px;color:white}
body.mango .course-overview{display:grid;grid-template-columns:auto 1fr;gap:8px 16px;padding:24px;border:1px solid var(--line);border-radius:22px;background:white;margin:0 0 24px}
body.mango .course-overview b{font-size:18px;letter-spacing:-.025em}
body.mango .course-overview>span{font-size:12px;color:var(--muted);align-self:center}
body.mango .course-overview>i{grid-column:1/-1;height:8px;margin-top:8px;background:#E4EFEA;border-radius:8px;overflow:hidden}
body.mango .course-overview em{display:block;background:var(--green);height:100%;border-radius:8px}
body.mango .course-modules{display:grid;gap:16px}
body.mango .course-modules details{padding:0;border:1px solid var(--line);border-radius:24px;background:white;overflow:hidden;box-shadow:none}
body.mango .course-modules summary{padding:24px 28px;min-height:104px;gap:16px;list-style:none}
body.mango .course-modules summary::-webkit-details-marker{display:none}
body.mango .course-modules summary i{color:var(--green);font-size:11px;font-style:normal;letter-spacing:.06em}
body.mango .course-modules summary strong{font:700 22px/1.3 var(--sans);letter-spacing:-.035em;margin:4px 0}
body.mango .course-modules summary small{font-size:12px;color:var(--muted)}
body.mango .course-modules details[open]>summary{background:#F0F9F4;border-bottom:1px solid var(--line)}
body.mango .course-modules details>p{padding:20px 28px 0;margin:0;font-size:14px;color:var(--muted)}
body.mango .course-lessons{display:grid;grid-template-columns:1fr;gap:8px;padding:24px 28px}
body.mango .course-lesson-entry{border-radius:16px;background:white;border:1px solid var(--line);overflow:hidden}
body.mango .course-lesson{padding:18px 20px;gap:16px;min-height:88px;border:0;border-radius:0;background:white;box-shadow:none;color:var(--ink)}
body.mango .course-lesson>span{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:12px;background:#EEF6F1;border:1px solid var(--line);font-size:13px;font-weight:700;color:var(--green)}
body.mango .course-lesson strong{font-size:15px;line-height:1.4;color:inherit}
body.mango .course-lesson small{font-size:12px;line-height:1.5;color:var(--muted)}
body.mango .course-lesson.current{background:#FFF6CD;color:var(--ink);outline:none}
body.mango .course-lesson.current>span{background:var(--mango);border-color:#E0B72C}
body.mango .course-lesson.done{background:#F3FBF7;color:var(--ink)}
body.mango .course-lesson.done>span{background:var(--mint);border-color:#BBDDD1}
body.mango .course-lesson.locked{opacity:1;background:#F7FAF8;color:#617B7C}
body.mango .course-lesson.locked small{color:#617B7C}
body.mango .course-lesson.payment-locked{background:#F7FAF8}
body.mango .course-lesson .ui-icon{width:19px;height:19px}
body.mango .course-lesson-review{padding:12px 20px;background:#F0F8F4;border-top:1px solid var(--line);color:var(--green);font-size:12px}
body.mango .course-lesson-review button{background:white;color:var(--green);border:1px solid #BCDCD3;border-radius:12px;min-height:40px;font-size:12px}
body.mango .module-bridge{margin:0 28px 24px;padding:22px;background:var(--mint);border:1px solid #BCDCD3;border-radius:18px}
body.mango .module-bridge h3{font:700 20px/1.3 var(--sans);letter-spacing:-.025em}
body.mango .module-bridge p{font-size:13px;color:var(--muted)}
body.mango .lesson-shell{--lesson-header-offset:0px;padding-top:0;background:var(--paper);min-height:100dvh}
body.mango .lesson-top{position:sticky;z-index:40;top:0;display:grid;grid-template-columns:auto minmax(60px,1fr) auto;align-items:center;gap:24px;min-height:76px;padding:16px max(24px,calc((100vw - 896px)/2));background:#FBFEFCF5;backdrop-filter:blur(14px);border-bottom:1px solid var(--line);font-size:14px}
body.mango .lesson-top>a{min-height:40px;display:flex;align-items:center;gap:8px;color:var(--green);font-weight:600}
body.mango .lesson-top>div{height:8px;border-radius:8px;background:#DDECE4;overflow:hidden}
body.mango .lesson-top>div>span{display:block;height:100%;background:var(--green);border-radius:8px}
body.mango .lesson-top>b{font-size:13px;white-space:nowrap;font-weight:700;color:var(--muted);font-variant-numeric:tabular-nums}
body.mango .lesson-stage{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;min-height:calc(100dvh - 76px);width:min(896px,100%);margin:0 auto;padding:48px 24px calc(136px + env(safe-area-inset-bottom));gap:24px}
body.mango .lesson-stage>div{width:100%;max-width:none}
body.mango .lesson-stage :is(h1,.course-task h1,.bridge-preview h1){font:700 clamp(28px,3.6vw,42px)/1.17 var(--sans);letter-spacing:-.045em;margin:16px 0 24px}
body.mango .lesson-stage p{font-size:16px;color:var(--muted)}
body.mango .lesson-stage .eyebrow{font-size:11px}
body.mango .lesson-actions{position:fixed;z-index:50;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:92px;padding:16px max(24px,calc((100vw - 848px)/2)) calc(20px + env(safe-area-inset-bottom));background:#FFFFFFF5;backdrop-filter:blur(14px);border-top:1px solid var(--line);box-shadow:0 -6px 24px #123c4005}
body.mango .lesson-actions>button:first-child:not(.primary-btn){min-height:48px;padding:12px 18px;border-radius:14px;border:1px solid var(--line);background:#F6FAF7;color:var(--muted);font:600 13px/1.4 var(--sans);box-shadow:none}
body.mango .lesson-actions .primary-btn{min-width:148px;min-height:48px}
body.mango .lesson-preview{max-width:700px;margin:auto}
body.mango .lesson-preview ul{padding:0;list-style:none;display:grid;gap:8px}
body.mango .lesson-preview li{padding:14px 18px;background:white;border:1px solid var(--line);border-radius:14px;font-size:14px}
body.mango .lesson-card{text-align:center;max-width:680px!important;margin:0 auto}
body.mango .lesson-card h1{font-family:var(--serif);font-weight:500;font-size:clamp(36px,5vw,58px);margin:20px 0 16px}
body.mango .lesson-card>p{font-size:20px;line-height:1.5}
body.mango .lesson-card .listen-button{margin-top:24px}
body.mango :is(.card-example,.unit-example,.teaching-example){text-align:left;padding:24px;border:1px solid #D4E4DE;border-left:4px solid var(--turquoise);background:white;border-radius:6px 20px 20px 6px;margin:24px 0}
body.mango :is(.card-example,.unit-example,.teaching-example) strong{font-family:var(--serif);font-size:23px;font-weight:500;line-height:1.6}
body.mango :is(.unit-explanation,.card-explanation,.teaching-explanation){background:var(--mint);padding:24px;border-radius:20px;text-align:left;margin:24px 0;color:var(--ink)}
body.mango .lesson-card :is(.teaching-formula,.unit-formula){background:var(--mint);border:1px solid #BCDCD3;border-radius:16px;padding:16px}
body.mango .listen-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:12px 20px;border:1px solid #A3CFC9;border-radius:14px;background:white;color:var(--green);font:700 14px/1.5 var(--sans);box-shadow:none}
body.mango .listen-button:hover{background:var(--mint)}
body.mango .task-options{display:grid;gap:12px;margin-top:24px}
body.mango .task-options button{min-height:58px;border:1px solid var(--line);border-radius:16px;background:white;color:var(--ink);padding:16px 22px;text-align:left;font:500 17px/1.5 var(--sans);box-shadow:0 3px 0 #E4EDE7}
body.mango .task-options button:hover:not(:disabled){border-color:var(--green);background:#F0FAF5}
body.mango .task-options button.selected{border-color:var(--green);background:var(--mint);color:var(--green);box-shadow:0 3px 0 #94C7BD}
body.mango .task-options button.correct-answer{border-color:var(--green);background:var(--mint);opacity:1;color:var(--green)}
body.mango .task-options button:disabled:not(.correct-answer):not(.selected){opacity:.7}
body.mango .task-context{padding:18px 22px;border-radius:16px;background:var(--mint);font-family:var(--serif);font-size:23px!important;color:var(--ink)!important}
body.mango .build-answer{min-height:100px;padding:24px;border:2px solid #BCDCD3;border-radius:20px;background:white;box-shadow:none;font:500 clamp(22px,3vw,30px)/1.55 var(--serif);margin:0 0 24px;overflow-wrap:anywhere}
body.mango .build-answer>span{font:400 15px/1.5 var(--sans);color:var(--muted)}
body.mango .build-tokens{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 24px}
body.mango .build-tokens button{min-height:52px;min-width:56px;padding:12px 18px;border:1px solid #A3CFC9;border-radius:14px;background:white;font-size:18px;box-shadow:0 3px 0 #D3E6DC}
body.mango .build-tokens button.selected{background:#EAF2ED;border-color:#D4E4DE;box-shadow:none;color:#708482;opacity:1}
body.mango .builder-controls{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 24px}
body.mango .builder-controls button{border:1px solid var(--line);border-radius:12px;background:white;padding:10px 16px;min-height:44px;font-size:13px;box-shadow:none}
body.mango .builder-controls button:disabled{opacity:.55}
body.mango .recall-hint{display:flex;flex-direction:column;gap:5px;padding:20px 24px;border:1px solid var(--line);border-radius:18px;background:white;max-width:none;margin:24px 0}
body.mango .recall-hint span{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}
body.mango .recall-hint strong{font-weight:500;font-size:16px}
body.mango .recall-reveal{display:inline-flex;width:auto;max-width:100%;min-height:52px;justify-content:center;align-items:center;padding:14px 22px;border:1px solid #A3CFC9;border-radius:16px;background:white;color:var(--green);font:700 15px/1.45 var(--sans);white-space:normal}
body.mango .task-feedback{padding:20px 24px;margin-top:24px;background:var(--mint);border:1px solid #BCDCD3;border-radius:20px;font-size:15px;gap:16px}
body.mango .task-feedback.wrong{background:var(--danger-soft);border-color:#E9C7B6;color:var(--danger)}
body.mango .task-feedback button{border:1px solid currentColor;border-radius:12px;min-height:44px;padding:10px 16px;background:white;font-size:13px}
body.mango .bridge-words{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:24px}
body.mango .bridge-words article{padding:22px;background:white;border:1px solid var(--line);border-radius:18px}
body.mango .bridge-words b{font:600 23px/1.4 var(--serif)}
body.mango .bridge-words span{font-size:14px;color:var(--muted);margin-top:4px}
body.mango .lesson-result{text-align:center;max-width:650px!important;margin:auto}
body.mango .lesson-result>.mango-mascot{width:150px;height:150px;margin:0 auto}
body.mango .lesson-result>span{display:grid;place-items:center;width:64px;height:64px;margin:0 auto 24px;border-radius:20px;background:var(--mint);color:var(--green);font-size:28px}
body.mango .lesson-result h1{font-family:var(--sans)}
body.mango .lesson-result .primary-btn{margin-top:24px}
body.mango :is(.course-gate,.course-loading){width:min(800px,calc(100% - 48px));padding:96px 0 48px;margin:auto;min-height:60dvh}
body.mango :is(.readiness-card,.route-card){background:white;border:1px solid var(--line);border-radius:24px;padding:28px;box-shadow:none}
body.mango .route-cards{gap:24px}

/* Reading keeps the book typography and an uninterrupted column. */
body.mango .lesson-stage.reading-question-stage{width:min(1184px,100%);justify-content:flex-start;padding-top:32px}
body.mango .course-reading-check{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:24px;align-items:start}
body.mango .course-reading-page{padding:32px;background:white;border:1px solid var(--line);border-radius:24px;box-shadow:none}
body.mango .course-reading-page h1{font:500 clamp(27px,3vw,36px)/1.3 var(--serif);letter-spacing:-.035em;margin:16px 0 28px}
body.mango .course-reading-copy{font:400 clamp(20px,2.2vw,23px)/1.95 var(--serif);color:var(--ink)}
body.mango .course-reading-copy p{font:inherit;color:inherit;margin:0 0 1.25em}
body.mango .course-reading-sentence{display:inline;position:static;font:inherit;line-height:inherit;border:0;border-bottom:1px solid transparent;background:transparent;color:inherit;padding:2px 0;text-align:left;box-decoration-break:clone;-webkit-box-decoration-break:clone;border-radius:4px}
body.mango .course-reading-sentence:hover{background:#E9F9F0}
body.mango .course-reading-sentence[aria-pressed=true]{background:#FFF0AC;color:var(--ink);border-bottom-color:#C4A01D}
body.mango .course-reading-translation:not([hidden]){display:block;padding:16px 18px;background:var(--mint);border:1px solid #BCDCD3;border-radius:16px;margin:16px 0;font-family:var(--sans);scroll-margin-block:96px 120px}
body.mango .course-reading-translation small{display:block;color:var(--green);font-size:10px;letter-spacing:.04em;margin-bottom:8px}
body.mango .course-reading-translation-text{display:block;font-size:16px;line-height:1.6}
body.mango .course-reading-translation .listen-button{margin-top:12px;font-size:12px;min-height:42px}
body.mango .course-reading-support{display:flex;align-items:flex-start;gap:12px;padding:16px 0 0;margin:0;border-top:1px solid var(--line);background:transparent}
body.mango .course-reading-support>span{display:grid;place-items:center;width:34px;height:34px;flex:none;background:var(--mint);border-radius:10px;font-size:14px;font-weight:700;color:var(--green)}
body.mango .course-reading-support p{margin:0;font:400 12px/1.6 var(--sans);color:var(--muted)}
body.mango .course-reading-question{position:sticky;top:100px;border:1px solid var(--line);border-radius:24px;padding:28px;background:#F0F9F4}
body.mango .course-reading-question>p{font-size:12px;margin:10px 0 24px}
body.mango .course-reading-question h2{font:700 24px/1.3 var(--sans);letter-spacing:-.03em;margin:12px 0 24px}
body.mango .course-reading-question .task-options button{font-size:15px;padding:14px 18px;min-height:52px}
body.mango .reader-shell{background:var(--reader-bg);color:var(--reader-ink)}
body.mango .reader-sidebar{border-color:var(--line);padding:28px 24px;background:var(--reader-side)}
body.mango .reader-back{font-size:13px;min-height:40px;color:var(--green)}
body.mango .reader-book-title{font:700 22px/1.3 var(--sans);letter-spacing:-.03em}
body.mango .reader-author{font:400 12px/1.5 var(--sans);color:var(--muted)}
body.mango .reader-course-label{font-size:10px;letter-spacing:.08em;color:var(--green)}
body.mango .chapter-link{padding:14px 12px;border-radius:14px;font-size:13px;line-height:1.4;margin-bottom:6px}
body.mango .chapter-link.active{background:var(--mint);color:var(--green)}
body.mango .reader-topbar{height:72px;border-bottom:1px solid var(--line);padding:12px 24px}
body.mango .reader-topbar-center{font-size:12px;line-height:1.5;text-align:center;padding:0 12px}
body.mango .icon-btn{display:grid;place-items:center;min-width:42px;height:42px;border:1px solid var(--line);border-radius:13px;background:var(--reader-side,white);font:500 16px var(--sans);color:inherit}
body.mango .icon-btn .ui-icon{width:19px;height:19px}
body.mango .reading-progress{height:3px;background:var(--line)}
body.mango .reading-progress span,body.mango .reading-progress i{background:var(--green)}
body.mango .reader-article{padding:40px 32px 120px;font-family:var(--serif);color:var(--reader-ink);font-size:var(--reader-font);line-height:var(--reader-leading)}
body.mango .reader-article h1{font:500 clamp(32px,4vw,44px)/1.2 var(--serif);letter-spacing:-.04em;margin:16px 0 36px;color:inherit}
body.mango .reader-article>p{font:inherit;line-height:var(--reader-leading)}
body.mango .reader-article .lesson-brief{padding:20px 24px;border:1px solid var(--line);border-radius:20px;background:var(--reader-side);margin:0 0 40px;font-family:var(--sans);box-shadow:none}
body.mango .lesson-brief h2{font:700 19px/1.3 var(--sans);letter-spacing:-.02em;margin:8px 0 10px}
body.mango .reader-article .lesson-brief p{font:400 12px/1.65 var(--sans);color:var(--muted)}
body.mango .reader-word:hover{background:#D7F4ED;color:#123C40}
body.mango .reader-word.learning{background:#FFF0AC;color:#123C40;border-bottom-color:#B49318}
body.mango .reader-word.expression-active{background:#D7F4ED;color:#123C40;border-bottom-color:var(--green)}
body.mango .sentence-translate-btn{display:inline-flex;align-items:center;min-height:32px;margin:3px 2px 3px 6px;padding:5px 10px;border:0;border-radius:10px;background:#D7F4ED;color:#00666E;font:600 10px/1.4 var(--sans);vertical-align:middle}
body.mango .reader-settings{top:80px;right:24px;padding:24px;border:1px solid var(--line);border-radius:22px;background:white;box-shadow:var(--shadow)}
body.mango .chapter-end{border-color:var(--line);font-family:var(--sans)}
body.mango .chapter-end h2{font-family:var(--sans);font-size:27px}
body.mango .chapter-end p{font-family:var(--sans);font-size:14px}

/* Diagnostic, not an intimidating exam. */
body.mango .diagnostic-page{min-height:100dvh;padding:32px 24px 64px;background:var(--paper)}
body.mango .diagnostic-shell{max-width:1100px;margin:auto;padding:0}
body.mango .diagnostic-top{font-size:12px;gap:24px;color:var(--muted);padding:0 0 20px}
body.mango .diagnostic-top>a{color:var(--green);font-weight:600;min-height:44px;display:flex;align-items:center}
body.mango .diagnostic-progress{height:8px;border-radius:8px;background:#E0ECE5;overflow:hidden}
body.mango .diagnostic-progress i{background:var(--green);border-radius:8px}
body.mango .diagnostic-heading{display:grid;grid-template-columns:1fr .6fr;gap:40px;align-items:end;padding:32px 0}
body.mango .diagnostic-heading h1{font:700 clamp(28px,3.6vw,42px)/1.15 var(--sans);letter-spacing:-.045em;margin:12px 0 0}
body.mango .diagnostic-heading>p{font-size:13px;color:var(--muted)}
body.mango .diagnostic-workspace{grid-template-columns:1.1fr 1fr;gap:24px;align-items:start}
body.mango :is(.diagnostic-passage,.diagnostic-question){min-height:360px;padding:32px;border:1px solid var(--line);border-radius:24px;box-shadow:none}
body.mango .diagnostic-passage{background:white}
body.mango .passage-text{font:400 clamp(21px,2.4vw,27px)/1.9 var(--serif);color:var(--ink)}
body.mango .diagnostic-question{background:#F0F9F4}
body.mango .diagnostic-question>small{font-size:10px;color:var(--green);letter-spacing:.08em}
body.mango .diagnostic-question h2{font:700 23px/1.3 var(--sans);letter-spacing:-.03em;margin:12px 0 24px}
body.mango .diagnostic-options{gap:10px}
body.mango .diagnostic-options button{padding:14px 18px;font-size:15px;line-height:1.5;border:1px solid var(--line);border-radius:14px;background:white;min-height:50px;box-shadow:0 2px 0 #E0ECE5}
body.mango .diagnostic-options button.selected{color:var(--green);background:var(--mint);border-color:var(--green)}
body.mango .diagnostic-comfort>div{grid-template-columns:1fr 1fr;margin-top:12px}
body.mango .diagnostic-comfort>small{font-size:12px;color:var(--ink);text-transform:none;letter-spacing:0}
body.mango .diagnostic-comfort button{min-height:48px;font-size:12px;font-weight:600;background:white;justify-content:center;border-radius:12px;padding:12px;border-color:var(--line)}
body.mango .diagnostic-too-hard{margin-top:24px;padding:14px 16px;border:1px solid #BCDCD3;background:transparent;border-radius:14px;display:flex;flex-direction:column;align-items:flex-start;gap:2px}
body.mango .diagnostic-too-hard span{font-size:13px;color:var(--ink)}
body.mango .diagnostic-too-hard small{font-size:11px;color:var(--muted);white-space:normal}
body.mango .diagnostic-result{width:min(720px,100%);margin:40px auto;padding:40px;background:white;border:1px solid var(--line);border-radius:32px;text-align:left}
body.mango .diagnostic-result h1{font:700 clamp(30px,4vw,44px)/1.15 var(--sans);letter-spacing:-.045em;margin:16px 0 24px}
body.mango .diagnostic-result>p{font-size:14px;max-width:none;margin:16px 0;color:var(--muted)}
body.mango .diagnostic-result h2{font-size:25px;margin:28px 0 16px}
body.mango .result-evidence{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:24px 0}
body.mango .result-evidence>div{padding:20px;border-radius:18px;background:var(--mint);color:var(--ink)}
body.mango .result-evidence strong{font:700 28px/1.2 var(--sans);display:block;letter-spacing:-.04em}
body.mango .result-evidence span{font-size:11px;margin-top:6px;display:block;color:var(--muted)}
body.mango .diagnostic-result .primary-btn{margin-right:10px;margin-bottom:12px}
body.mango .diagnostic-result .text-link{background:transparent;border:0;padding:12px 0;font-size:12px;text-decoration:underline}

/* Sheets and dialogs share one visual and spacing contract. */
body.mango .modal-layer{background:#123C4066;backdrop-filter:blur(7px);padding:24px}
body.mango.dialog-open{overflow:hidden}
body.mango .modal{position:relative;padding:40px;border:1px solid #FFFFFF;border-radius:28px;background:white;box-shadow:0 24px 80px #123c4026;max-height:calc(100dvh - 48px);overflow:auto;color:var(--ink)}
body.mango .modal h2{font:700 clamp(26px,3vw,36px)/1.15 var(--sans);letter-spacing:-.045em;margin:18px 0 16px;padding-right:20px}
body.mango .modal>p{font-size:14px;color:var(--muted)}
body.mango .modal-close{top:16px;right:16px;width:38px;height:38px;border:1px solid var(--line);border-radius:12px;background:#F2F8F4;color:var(--ink);font-size:22px}
body.mango .auth-modal{width:min(500px,100%)}
body.mango .auth-tabs{padding:4px;border-radius:14px;background:#EDF5F0;gap:4px;margin:24px 0}
body.mango .auth-tabs button{min-height:42px;border-radius:11px;font-size:13px;color:var(--muted)}
body.mango .auth-tabs button.active{background:white;box-shadow:0 2px 6px #123c400b;color:var(--green)}
body.mango .field label{font-size:12px;margin-bottom:8px;font-weight:600;color:var(--ink)}
body.mango .field input{min-height:52px;padding:14px 16px;border:1px solid #BDD3C9;border-radius:13px;background:#FBFEFC;font-size:16px;color:var(--ink);box-shadow:none}
body.mango .field{margin-bottom:18px}
body.mango .password-field input{padding-right:94px}
body.mango .password-field button{font-size:11px;color:var(--green);min-height:40px;padding:8px 12px}
body.mango .auth-submit{width:100%;margin-top:8px}
body.mango .auth-text-button{font-size:12px;color:var(--green);min-height:44px}
body.mango .consent-check{font-size:11px;line-height:1.6;color:var(--muted)}
body.mango input[type=checkbox]{accent-color:var(--green)}
body.mango .paywall-modal{width:min(860px,100%);padding:40px}
body.mango .paywall-description{font-size:14px;max-width:640px}
body.mango .paywall-context{background:var(--mint);color:var(--green);padding:13px 16px;border-radius:14px;font-size:12px;margin:24px 0}
body.mango .paywall-plans{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 24px}
body.mango .paywall-plan{position:relative;display:flex;flex-direction:column;gap:8px;min-height:190px;padding:42px 22px 20px;background:white;border:1px solid var(--line);border-radius:20px;text-align:left;box-shadow:none}
body.mango .paywall-plan>span{position:absolute;top:12px;left:12px;right:12px;display:block;font:600 9px/1.5 var(--sans);letter-spacing:0;background:#EAF5EF;color:var(--green);padding:4px 7px;border-radius:7px;white-space:normal;text-align:center}
body.mango .paywall-plan strong{font-size:17px;color:var(--ink)}
body.mango .paywall-plan b{font:700 31px/1.2 var(--sans);color:var(--ink);letter-spacing:-.05em}
body.mango .paywall-plan small{font-size:11px;color:var(--muted)}
body.mango .paywall-plan.selected{background:#FFF7D7;border:2px solid #B69A2C;padding:41px 21px 19px;box-shadow:0 3px 0 #E2CC79}
body.mango .paywall-plan.selected>span{background:var(--mango);color:var(--ink)}
body.mango .paywall-footer{padding:24px 0 0;border-top:1px solid var(--line);margin:0;background:transparent;display:grid;gap:20px}
body.mango .paywall-assurances{display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center;padding:0;background:transparent;border:0}
body.mango .paywall-early{max-width:360px;margin:0;font-size:11px;line-height:1.6;color:var(--muted)}
body.mango .paywall-once{display:flex;gap:10px;align-items:center;background:transparent;padding:0;border:0;color:var(--green)}
body.mango .paywall-once i{width:28px;height:28px;border-radius:9px;background:var(--mint);font-size:12px}
body.mango .paywall-once b{font-size:12px}
body.mango .paywall-once small{font-size:10px;color:var(--muted)}
body.mango .checkout-consent{padding:0;margin:0;font-size:11px}
body.mango .paywall-action{padding:0;border:0;margin:0;background:none}
body.mango .paywall-checkout{width:100%;min-height:54px;font-size:15px}
body.mango .paywall-notice{padding:14px 16px;background:#FFF6D4;border:1px solid #E6D49B;border-radius:14px;font-size:13px}
body.mango :is(.word-sheet,.sentence-sheet){padding:28px;border:1px solid var(--line);border-radius:24px;background:white;color:var(--ink);box-shadow:0 16px 60px #123c4029;max-height:calc(100dvh - 112px);overflow:auto;overscroll-behavior:contain}
body.mango :is(.word-sheet,.sentence-sheet) h2{font-family:var(--serif);font-weight:500;font-size:30px;line-height:1.25;letter-spacing:-.03em}
body.mango :is(.word-sheet,.sentence-sheet) .sheet-close{border-radius:12px;background:#F0F7F2;border:1px solid var(--line)}
body.mango .word-sheet .translation{color:var(--green);font-size:25px;font-family:var(--serif)}
body.mango .word-actions button{border-radius:14px;min-height:48px;font-size:14px}
body.mango .word-actions button:last-child{background:var(--green);color:white;border:1px solid var(--green)}
body.mango .word-actions button:first-child{background:white;border:1px solid var(--line);color:var(--green)}
body.mango .sentence-sheet .sentence-translation{background:var(--mint);padding:18px;border-radius:16px;color:var(--ink)}
body.mango .audio-options{margin:12px 0;color:var(--muted);font-size:11px;gap:8px}
body.mango .audio-options button{min-height:34px;border:1px solid var(--line);border-radius:10px;background:white;color:var(--green);font-size:11px}
body.mango .toast{background:var(--ink);color:white;border-radius:14px;font-family:var(--sans);font-size:13px;box-shadow:var(--shadow)}
body.mango .completion-icon{background:var(--mint);color:var(--green);border-radius:20px}
body.mango .chapter-comfort-options button{border-color:var(--line);background:white;border-radius:16px;padding:16px;font-size:14px}
body.mango .chapter-comfort-options button:hover{background:var(--mint)}

/* Install prompt, privacy controls and public documents are part of the product. */
body.mango .home-pwa-section{max-width:var(--container);margin:96px auto 0;padding:40px;display:grid;grid-template-columns:1fr 1fr;gap:48px;background:#F0F9F4;border:1px solid var(--line);border-radius:28px}
body.mango .home-pwa-section h2{font:700 34px/1.15 var(--sans);letter-spacing:-.04em}
body.mango .home-pwa-section p{font-size:14px;color:var(--muted)}
body.mango .home-pwa-card{background:white;border:1px solid var(--line);border-radius:22px;padding:28px;box-shadow:none;color:var(--ink)}
body.mango .home-pwa-card .primary-btn{width:100%}
body.mango .pwa-device{background:var(--mint);color:var(--green)}
body.mango .legal-footer{width:min(var(--container),calc(100% - 48px));max-width:var(--container);margin:72px auto 0;padding:40px 0 24px;border-top:1px solid var(--line);background:transparent;color:var(--ink)}
body.mango .footer-main{grid-template-columns:1.2fr 1fr 1fr;gap:64px}
body.mango .footer-brand p{font-size:14px;color:var(--ink)}
body.mango .footer-promise{font-size:12px;color:var(--muted)}
body.mango .footer-heading{color:var(--green);font-size:10px;letter-spacing:.1em}
body.mango .footer-links a,body.mango .footer-contact{font-size:12px;color:var(--ink);line-height:1.6}
body.mango .footer-hours{font-size:11px;color:var(--muted)}
body.mango .footer-bottom{border-color:var(--line);font-size:10px;color:var(--muted);padding-top:24px;margin-top:32px}
body.mango .privacy-choice{background:white;border:1px solid var(--line);border-radius:24px;color:var(--ink);box-shadow:0 12px 50px #123c4024;font:400 13px/1.6 var(--sans)}
body.mango .privacy-choice strong{font-size:17px;letter-spacing:-.02em}
body.mango .privacy-choice p{font-size:12px;color:var(--muted)}
body.mango .privacy-actions button{border:1px solid #BCDCD3;border-radius:12px;background:#F7FCF9;color:var(--green);font:600 12px/1.5 var(--sans)}
body.mango .privacy-actions button:hover{background:var(--mint)}
body.mango.mango-legal{background:var(--paper);font:400 16px/1.7 var(--sans)}
body.mango-legal .topbar{padding:16px max(24px,calc((100vw - 1184px)/2));background:white;border-color:var(--line);min-height:76px}
body.mango-legal .topbar nav a{font-size:12px;color:var(--green)}
body.mango-legal .hero{display:block;min-height:0;padding:56px max(24px,calc((100vw - 1040px)/2));background:var(--mango);color:var(--ink)}
body.mango-legal .hero:before{display:none}
body.mango-legal .hero h1{font:700 clamp(32px,5vw,56px)/1.12 var(--sans);letter-spacing:-.05em;max-width:850px;margin:16px 0}
body.mango-legal .hero .eyebrow{color:var(--green)}
body.mango-legal .hero p{font-size:16px;color:var(--ink)}
body.mango-legal .content{max-width:1090px;padding:40px 24px;margin:auto}
body.mango-legal .content section{border-color:var(--line);border-radius:24px;background:white;padding:32px}
body.mango-legal .content h2{font:700 26px/1.2 var(--sans);letter-spacing:-.03em}
body.mango-legal .plan{border-color:var(--line);border-radius:20px;background:white}
body.mango-legal .plan.featured{background:#FFF7D1;border-color:#D7BC5F}
body.mango-legal .footer{background:#EAF6F0;color:var(--ink);border-color:var(--line)}

@media(min-width:1500px){body.mango .mango-hero h1{font-size:80px}body.mango .mango-team-scene{height:370px}}
@media(max-width:1232px){body.mango :is(.mango-hero,.mango-section,.mango-final,.mango-at-a-glance,.home-pwa-section){margin-left:24px;margin-right:24px}body.mango .mango-hero{padding:40px 36px 20px}body.mango .mango-team-pair{left:-20px}body.mango .mango-team-gecko{right:-12px}body.mango .mango-path{gap:48px}body.mango .mango-reading-demo{padding:36px;gap:36px}body.mango .course-hero .mango-course-coach{width:240px;opacity:.9}body.mango .course-hero h1,body.mango .course-hero>p{max-width:65%}body.mango .course-continue{max-width:65%}body.mango .mango-team-section{grid-template-columns:1fr;gap:8px}body.mango .mango-team-roles{gap:32px}}
@media(max-width:950px){body.mango .mango-hero h1{font-size:58px}body.mango .mango-hero-copy>p{font-size:16px}body.mango .mango-team-scene{height:290px}body.mango .mango-at-a-glance{padding:28px 16px;gap:16px}body.mango .mango-at-a-glance strong{font-size:13px}body.mango .mango-at-a-glance small{font-size:10px}body.mango .mango-reading-demo{gap:28px;padding:28px}body.mango .mango-demo-book{padding:28px}body.mango .mango-demo-aside h3{font-size:25px}body.mango .book-grid{grid-template-columns:repeat(3,minmax(0,1fr))}body.mango .book-card-cover{height:230px}body.mango .mango-faq{gap:32px}body.mango .footer-main{gap:32px}body.mango .course-reading-check{grid-template-columns:1fr 1fr;gap:16px}body.mango .course-reading-page,body.mango .course-reading-question{padding:24px}body.mango .diagnostic-workspace{gap:16px}body.mango :is(.diagnostic-passage,.diagnostic-question){padding:24px}}
@media(max-width:760px){
 body.mango{padding-bottom:calc(88px + env(safe-area-inset-bottom))}
 body.mango.focused-lesson,body.mango[data-screen=diagnostic]{padding-bottom:0}
 body.mango .site-header{height:64px;padding:0 20px;grid-template-columns:1fr auto}
 body.mango .header-center{display:none}body.mango .header-actions{display:flex}body.mango .header-cta{display:none}body.mango .nav-login{font-size:12px;min-height:38px;padding:9px 14px;border-radius:12px}body.mango .brand{font-size:21px}
 body.mango .brand-mark{width:28px;height:27px}body.mango .brand-mark i{width:12px;height:23px}
 body.mango .mobile-nav{left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom));width:auto;max-width:480px;margin:auto;min-height:68px;padding:6px;gap:4px}
 body.mango .mobile-nav a{font-size:10px;gap:4px;padding:6px 4px}
 body.mango .mango-home{padding-top:80px}
 body.mango :is(.mango-hero,.mango-section,.mango-final,.mango-at-a-glance,.home-pwa-section){margin-left:16px;margin-right:16px}
 body.mango .mango-hero{grid-template-columns:1fr;gap:0;padding:32px 24px 18px;border-radius:28px}
 body.mango .mango-hero-heading{text-align:left}body.mango .mango-kicker{font-size:9px;letter-spacing:.08em}
 body.mango .mango-hero h1{font-size:clamp(36px,8.8vw,58px);line-height:1.04;margin:18px 0 22px;letter-spacing:-.06em}
 body.mango .mango-hero-copy{padding:0}body.mango .mango-hero-copy>p{font-size:15px;line-height:1.6;max-width:100%;margin-bottom:24px}
 body.mango .mango-hero-actions{align-items:stretch;gap:18px}body.mango .mango-hero .primary-btn{width:100%;min-height:54px;padding:15px 16px;font-size:14px}body.mango .mango-demo-link{text-align:center;font-size:11px}
 body.mango .mango-hero-note{font-size:10px;text-align:center;margin-top:16px}
 body.mango .mango-team-scene{height:280px;width:min(440px,100%);margin:12px auto 0}
 body.mango .mango-team-pair{width:96%;left:-18px;bottom:14px}body.mango .mango-team-gecko{width:39%;right:-5px;bottom:31px}body.mango .mango-scene-page{bottom:32px;height:74%}body.mango .mango-hello{right:18px;top:16px;font-size:18px;padding:7px 14px}body.mango .mango-team-scene figcaption{font-size:9px}
 body.mango .mango-at-a-glance{grid-template-columns:1fr;gap:18px;padding:28px 16px}
 body.mango .mango-at-a-glance>div{gap:16px}body.mango .mango-at-a-glance strong{font-size:14px}body.mango .mango-at-a-glance small{font-size:11px}
 body.mango .mango-section{padding-top:64px}body.mango .mango-section-head{margin-bottom:28px}body.mango .mango-section-head h2{font-size:34px;line-height:1.12;margin:12px 0 18px}body.mango .mango-section-head>p{font-size:14px}
 body.mango .mango-path{grid-template-columns:1fr;gap:8px}body.mango .mango-path-steps{padding-left:0}body.mango .mango-path-steps:before{left:25px}body.mango .mango-path-steps article{padding-left:68px;padding-bottom:26px;min-height:126px}body.mango .mango-path-steps h3{font-size:17px}body.mango .mango-path-steps p{font-size:13px}
 body.mango .mango-reading-demo{grid-template-columns:1fr;gap:32px;padding:24px 20px;border-radius:24px}body.mango .mango-demo-book{padding:24px;border-radius:8px 18px 18px 8px}body.mango .mango-demo-book>p{font-size:22px}body.mango .mango-demo-book h3{font-size:24px}body.mango .mango-demo-aside h3{font-size:26px;margin:20px 0 14px}body.mango .mango-demo-aside p{font-size:14px}body.mango .mango-demo-aside .secondary-btn{width:100%}
 body.mango .mango-story-shelf{grid-template-columns:1fr;gap:16px}body.mango .mango-story{min-height:230px;padding:24px 28px}body.mango .mango-story>strong{font-size:35px;margin:24px 0 32px}body.mango .mango-story>i{width:104px;height:104px;right:30px;bottom:40px}
 body.mango .mango-team-section{gap:0}body.mango .mango-team-roles{grid-template-columns:1fr;gap:24px}body.mango .mango-team-roles article{display:grid;grid-template-columns:48px 1fr;gap:0 16px;padding-top:20px}body.mango .mango-team-roles article>span{grid-row:1/4}body.mango .mango-team-roles h3{margin:0 0 2px;font-size:22px}body.mango .mango-team-roles b{font-size:12px}body.mango .mango-team-roles p{grid-column:2;font-size:13px;margin-top:8px}
 body.mango .mango-faq{grid-template-columns:1fr;gap:0}body.mango .mango-faq summary{font-size:14px;padding:20px 0;gap:16px}body.mango .mango-faq details p{font-size:13px;margin-right:12px}
 body.mango .mango-final{margin-top:64px;padding:32px 24px;grid-template-columns:1fr;gap:16px;position:relative;border-radius:24px}body.mango .mango-final h2{font-size:34px;margin:16px 0}body.mango .mango-final p{font-size:14px}body.mango .mango-final .primary-btn{width:100%}body.mango .mango-final-gecko{width:170px;height:170px;justify-self:center;margin-bottom:-24px}
 body.mango .home-pwa-section{margin-top:64px;padding:28px 24px;grid-template-columns:1fr;gap:24px;border-radius:24px}body.mango .home-pwa-section h2{font-size:30px}body.mango .home-pwa-card{padding:22px}body.mango .home-pwa-section p{font-size:13px}
 body.mango .legal-footer{width:calc(100% - 40px);margin-top:48px;padding-top:32px}body.mango .footer-main{grid-template-columns:1fr 1fr;gap:32px 24px}body.mango .footer-brand{grid-column:1/-1}body.mango .footer-bottom{display:flex;flex-direction:column;gap:10px;align-items:flex-start;font-size:9px}
 body.mango :is(.profile-page,.course-dashboard,.vocabulary-page,.library-page,.journey-page,.legal-page){width:calc(100% - 32px);padding:96px 0 32px}
 body.mango .profile-hero{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-bottom:24px}body.mango .profile-hero h1{font-size:34px}body.mango .profile-main-grid{grid-template-columns:1fr;gap:16px}body.mango :is(.profile-learning-card,.profile-access-card){padding:24px;border-radius:24px}body.mango :is(.profile-learning-card,.profile-access-card) h2{font-size:25px}
 body.mango .profile-stats{gap:8px;margin:16px 0}body.mango .profile-stats article{padding:18px 12px;border-radius:18px;min-width:0}body.mango .profile-stats b{font-size:28px}body.mango .profile-stats :is(span,a){font-size:10px;line-height:1.4;margin-top:8px;overflow-wrap:anywhere}
 body.mango .profile-settings-card{padding:24px;display:block}body.mango .profile-security h2{font-size:18px}body.mango .profile-logout{margin-top:20px;width:100%}
 body.mango .course-hero{padding:28px 24px;border-radius:26px}body.mango .course-hero h1{max-width:100%;font-size:34px;margin:14px 0 18px}body.mango .course-hero>p{max-width:100%;font-size:13px;margin-bottom:24px}body.mango .course-hero .mango-course-coach{display:none}body.mango .course-continue{max-width:100%;padding:20px;grid-template-columns:1fr;gap:6px;border-radius:18px}body.mango .course-continue strong{font-size:20px}body.mango .course-continue>span{margin-top:8px;font-size:11px}
 body.mango .course-overview{grid-template-columns:1fr;padding:20px;gap:6px;border-radius:20px}body.mango .course-overview>span{font-size:11px}body.mango .course-overview b{font-size:20px}body.mango .course-overview>i{grid-column:1;margin-top:10px}
 body.mango .course-modules summary{padding:20px;min-height:96px}body.mango .course-modules summary strong{font-size:20px}body.mango .course-modules summary small{font-size:11px}body.mango .course-modules details>p{padding:16px 20px 0;font-size:12px}body.mango .course-lessons{padding:20px 12px;gap:8px}body.mango .course-lesson{padding:16px 12px;gap:12px;min-height:88px}body.mango .course-lesson>span{width:32px;height:32px;font-size:11px;border-radius:10px}body.mango .course-lesson strong{font-size:13px}body.mango .course-lesson small{font-size:11px}body.mango .course-lesson>div{min-width:0}body.mango .module-bridge{margin:0 12px 16px;padding:20px}body.mango .module-bridge h3{font-size:19px}body.mango .course-lesson-review{padding:12px;flex-wrap:wrap;font-size:11px}
 body.mango .lesson-top{min-height:68px;padding:12px 20px;gap:16px;font-size:13px}body.mango .lesson-top>b{font-size:12px}body.mango .lesson-stage{padding:32px 20px calc(128px + env(safe-area-inset-bottom));min-height:calc(100dvh - 68px);gap:20px}body.mango .lesson-stage :is(h1,.course-task h1,.bridge-preview h1){font-size:30px;line-height:1.2;margin:14px 0 24px}body.mango .lesson-stage p{font-size:14px}body.mango .lesson-stage .eyebrow{font-size:10px;letter-spacing:.07em}
 body.mango .lesson-actions{min-height:84px;padding:14px 16px calc(18px + env(safe-area-inset-bottom));gap:12px}body.mango .lesson-actions .primary-btn{min-width:130px;font-size:13px;min-height:48px;padding:12px 18px;border-radius:14px}body.mango .lesson-actions>button:first-child:not(.primary-btn){font-size:11px;min-height:48px;padding:12px 14px;border-radius:14px}
 body.mango .lesson-card h1{font-size:44px;font-family:var(--serif);font-weight:500;margin:20px 0 16px}body.mango .lesson-card>p{font-size:19px}body.mango :is(.card-example,.unit-example,.teaching-example){padding:20px;margin:24px 0}body.mango :is(.card-example,.unit-example,.teaching-example) strong{font-size:21px}body.mango .listen-button{font-size:13px;min-height:48px;padding:12px 18px}
 body.mango .task-options{gap:12px;margin-top:24px}body.mango .task-options button{font-size:16px;padding:15px 18px;min-height:56px}body.mango .build-answer{min-height:94px;padding:20px;font-size:23px;margin-bottom:20px}body.mango .build-tokens{gap:10px;margin-bottom:20px}body.mango .build-tokens button{font-size:17px;min-width:48px;padding:10px 15px;min-height:48px}body.mango .builder-controls{gap:8px;margin-bottom:24px}body.mango .builder-controls button{font-size:11px;padding:10px 12px}body.mango .recall-reveal{font-size:14px;width:100%;padding:14px 18px}body.mango .recall-hint{padding:18px 20px}body.mango .task-feedback{padding:18px;flex-direction:column;align-items:flex-start;font-size:13px;gap:12px}body.mango .task-feedback button{width:100%}body.mango .bridge-words{gap:12px}body.mango .bridge-words article{padding:18px 14px}body.mango .bridge-words b{font-size:20px}body.mango .bridge-words span{font-size:12px}
 body.mango .lesson-stage.reading-question-stage{padding:24px 16px calc(128px + env(safe-area-inset-bottom))}body.mango .course-reading-check{grid-template-columns:1fr;gap:20px}body.mango .course-reading-page{padding:24px 20px;border-radius:22px}body.mango .course-reading-page h1{font-size:28px;font-family:var(--serif);margin:16px 0 24px}body.mango .course-reading-copy{font-size:21px;line-height:1.95;max-height:none;overflow:visible}body.mango .course-reading-copy p{font:inherit;color:var(--ink)}body.mango .course-reading-question{position:static;padding:24px 20px;border-radius:22px}body.mango .course-reading-question h2{font-size:23px}body.mango .course-reading-question>p{font-size:11px}body.mango .course-reading-translation-text{font-size:15px}body.mango .course-reading-support p{font-size:11px}body.mango .course-reading-check>.course-reading-page{max-height:none;overflow:visible}
 body.mango .diagnostic-page{padding:16px 16px 40px}body.mango .diagnostic-top{gap:20px;font-size:10px;padding-bottom:14px}body.mango .diagnostic-top>span{text-align:right;max-width:170px}body.mango .diagnostic-heading{grid-template-columns:1fr;gap:16px;padding:24px 0}body.mango .diagnostic-heading h1{font-size:29px}body.mango .diagnostic-heading>p{font-size:12px;max-width:100%}body.mango .diagnostic-workspace{grid-template-columns:1fr;gap:16px}body.mango :is(.diagnostic-passage,.diagnostic-question){padding:24px 20px;border-radius:22px;min-height:0}body.mango .passage-text{font-size:22px;line-height:1.85}body.mango .diagnostic-question h2{font-size:23px;margin-bottom:20px}body.mango .diagnostic-options button{font-size:15px}body.mango .diagnostic-result{padding:28px 24px;margin:16px auto;border-radius:24px}body.mango .diagnostic-result h1{font-size:30px}body.mango .diagnostic-result>p{font-size:13px}body.mango .diagnostic-result h2{font-size:23px}body.mango .diagnostic-result :is(.primary-btn,.secondary-btn){width:100%;margin:0 0 12px;font-size:13px}body.mango .result-evidence{gap:10px}body.mango .result-evidence>div{padding:16px}body.mango .result-evidence strong{font-size:24px}
 body.mango .book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}body.mango .book-card{padding:10px;border-radius:18px}body.mango .book-card-cover{height:210px;padding:18px 14px}body.mango .book-card-cover h3{font-size:23px}body.mango .book-card-info h3{font-size:15px;margin-top:14px}body.mango .book-card-info p{font-size:10px}body.mango .book-card-coverage{font-size:9px;padding:6px 8px}body.mango .book-card-meta{gap:6px;font-size:9px}body.mango .library-intro{gap:20px;margin-bottom:24px}body.mango .library-intro h1{font-size:34px}body.mango .level-card{padding:20px}body.mango .filters{gap:6px;margin:20px 0 24px}body.mango .filter-btn{font-size:11px;padding:9px 13px;min-height:40px}body.mango .flow-strip{padding:16px;font-size:12px;flex-wrap:wrap}
 body.mango .metric-grid{gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}body.mango .metric-card{padding:20px;border-radius:20px}body.mango .metric-card strong{font-size:30px}body.mango .journey-layout{grid-template-columns:1fr;gap:20px}body.mango .panel{padding:24px}body.mango .panel h2{font-size:24px}body.mango .context-vocabulary-entry{padding:20px;border-radius:20px}body.mango .context-vocabulary-entry header strong{font-size:23px}
 body.mango .reader-topbar{height:64px;padding:10px 12px;gap:4px}body.mango .reader-topbar-center{font-size:10px;padding:0 8px;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body.mango .reader-tools{gap:6px}body.mango .icon-btn{min-width:38px;width:38px;height:38px;border-radius:12px;font-size:14px}body.mango .reader-article{padding:28px 20px 100px}body.mango .reader-article h1{font-size:34px;margin-bottom:28px}body.mango .reader-article .lesson-brief{padding:18px;margin-bottom:32px}body.mango .lesson-brief h2{font-size:18px}body.mango .reader-article .lesson-brief p{font-size:11px}body.mango .reader-settings{top:72px;right:12px;max-width:calc(100% - 24px);padding:22px}
 body.mango .modal-layer{padding:12px}body.mango .modal{padding:32px 24px 28px;border-radius:24px;max-height:calc(100dvh - 24px);width:100%}body.mango .modal h2{font-size:28px;margin:18px 0 16px;padding-right:12px}body.mango .modal>.eyebrow{font-size:10px;padding-right:22px}body.mango .modal>p{font-size:13px}body.mango .modal-close{top:12px;right:12px;width:34px;height:34px;border-radius:11px}body.mango .auth-modal{max-width:460px}body.mango .field input{min-height:50px;font-size:16px}body.mango .consent-check{font-size:10px}
 body.mango .paywall-modal{padding:32px 20px 24px}body.mango .paywall-modal h2{font-size:28px;max-width:320px}body.mango .paywall-plans{gap:8px;margin-bottom:20px}body.mango .paywall-plan{min-height:166px;padding:48px 10px 16px;border-radius:16px;gap:7px}body.mango .paywall-plan.selected{padding:47px 9px 15px}body.mango .paywall-plan>span{font-size:8px;top:9px;left:5px;right:5px;padding:4px 3px;line-height:1.3;min-height:29px;display:flex;align-items:center;justify-content:center}body.mango .paywall-plan strong{font-size:13px}body.mango .paywall-plan b{font-size:23px;white-space:nowrap}body.mango .paywall-plan small{font-size:9px}body.mango .paywall-context{font-size:11px;margin:20px 0;padding:12px 14px}body.mango .paywall-footer{gap:18px;padding-top:20px}body.mango .paywall-assurances{grid-template-columns:1fr;gap:14px}body.mango .paywall-early{font-size:10px}body.mango .paywall-once{padding:12px 14px;background:#F0F9F4;border-radius:12px}body.mango .checkout-consent{font-size:10px}body.mango .paywall-checkout{font-size:13px;min-height:52px}
 body.mango :is(.word-sheet,.sentence-sheet){left:8px;right:8px;bottom:calc(8px + env(safe-area-inset-bottom));width:auto;max-width:none;padding:24px;border-radius:24px;max-height:calc(100dvh - 96px)}body.mango :is(.word-sheet,.sentence-sheet) h2{font-size:28px}body.mango .word-actions button{font-size:13px;min-height:48px}body.mango .word-sheet .translation{font-size:23px}body.mango .toast{max-width:calc(100% - 32px);font-size:12px}
 body.mango .privacy-choice{left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));padding:20px;border-radius:22px}body.mango .privacy-choice strong{font-size:16px}body.mango .privacy-actions button{min-height:44px}
 body.mango-legal{padding-bottom:0}body.mango-legal .topbar{padding:16px 20px;gap:20px;align-items:flex-start}body.mango-legal .topbar nav{gap:8px 12px}body.mango-legal .topbar nav a{font-size:10px}body.mango-legal .hero{padding:40px 24px}body.mango-legal .hero h1{font-size:36px}body.mango-legal .hero p{font-size:14px}body.mango-legal .content{padding:24px 16px}body.mango-legal .content section{padding:24px;border-radius:22px}body.mango-legal .content h2{font-size:24px}
}
@media(max-width:360px){body.mango .mango-hero{padding:28px 20px 18px}body.mango .mango-hero h1{font-size:33px}body.mango .mango-team-scene{height:225px}body.mango .mango-hero-copy>p{font-size:14px}body.mango .lesson-top{padding:10px 16px;gap:12px}body.mango .lesson-actions{gap:8px;padding-left:12px;padding-right:12px}body.mango .lesson-actions .primary-btn{min-width:112px;padding:12px 14px}body.mango .lesson-actions>button:first-child:not(.primary-btn){font-size:10px;padding:12px}body.mango .book-card-cover{height:185px}body.mango .paywall-modal{padding-left:16px;padding-right:16px}body.mango .paywall-plan b{font-size:21px}body.mango .paywall-plan strong{font-size:12px}body.mango .mango-demo-book{padding:20px}}
/* Teaching cards use real course-engine class names; keep examples visually separate. */
body.mango :is(.word-sheet,.sentence-sheet,.course-reading-translation){animation:none}
body.mango .task-options button:disabled.selected:not(.correct-answer){background:var(--danger-soft);color:var(--danger);border-color:#D6A18D;box-shadow:0 3px 0 #EACFC3}
body.mango .task-feedback{display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px;font:400 14px/1.6 var(--sans)}
body.mango .task-feedback>b{font-weight:700}
body.mango .recall-hint strong{font-family:var(--sans)}
body.mango .builder-controls{flex-direction:row}
body.mango .builder-controls button{flex:1}
body.mango .lesson-stage .course-reading-page h1{font:500 clamp(28px,3vw,36px)/1.3 var(--serif);letter-spacing:-.035em}
body.mango .word-audio-settings{margin:10px 0 18px;border-bottom:1px solid var(--line);padding-bottom:8px}
body.mango .word-audio-settings summary{font:500 11px/1.5 var(--sans);color:var(--muted);cursor:pointer;min-height:28px}
body.mango .word-audio-settings .pronunciation-options{margin:8px 0 4px;justify-content:flex-start}
body.mango .word-sheet .transcription{font:400 11px/1.4 var(--sans);color:var(--muted);margin:4px 0}
body.mango .word-sheet .lemma{font-size:11px;margin:0 0 8px;color:var(--muted)}
body.mango .word-sheet .definition{font:400 12px/1.6 var(--sans);margin:14px 0 20px;color:var(--muted)}
body.mango .word-sheet .translation-source{font:600 9px/1.5 var(--sans);letter-spacing:.04em;color:var(--green);margin-top:10px}
body.mango .book-modal{display:grid;grid-template-columns:280px minmax(0,1fr);padding:0;max-width:880px}
body.mango .modal-cover-wrap{padding:36px;display:grid;place-items:center;background:var(--mint);min-width:0}
body.mango .modal-cover{width:100%;height:300px;padding:24px;border-radius:6px 18px 18px 6px;background:var(--green)!important;color:white;box-shadow:-6px 5px 0 #9BC8BB;transform:rotate(-3deg)}
body.mango .modal-cover h2{font:500 32px/1.2 var(--serif);padding:0;margin:48px 0 18px;letter-spacing:-.03em}
body.mango .modal-cover>span{font-size:10px}
body.mango .modal-cover p{font:400 12px/1.5 var(--sans);color:#D7F4ED}
body.mango .modal-content{position:static;padding:40px 32px}
body.mango .modal-content h1{font:700 34px/1.15 var(--sans);letter-spacing:-.045em;margin:16px 0}
body.mango .modal-byline{font:400 11px/1.6 var(--sans);color:var(--muted)}
body.mango .modal-description{font-size:14px;color:var(--muted);margin:20px 0}
body.mango .module-outcome{padding:18px;border-radius:16px;background:var(--mint);border:1px solid #BCDCD3;font-size:12px}
body.mango .modal-meta{padding:20px 0;margin:20px 0;border-color:var(--line);gap:16px}
body.mango .modal-meta strong{font:700 18px/1.2 var(--sans);color:var(--ink)}
body.mango .modal-content>.primary-btn{width:100%}
@media(max-width:760px){body.mango .task-feedback{flex-direction:column;align-items:flex-start}body.mango .book-modal{display:block;padding:0;max-width:460px}body.mango .modal-cover-wrap{display:none}body.mango .modal-content{padding:40px 24px 28px}body.mango .modal-content h1{font-size:29px;padding-right:12px}body.mango .modal-description{font-size:13px}body.mango .modal-meta{margin:20px 0;padding:20px 0}body.mango .word-sheet .word-head h3{font-size:27px}}
@media(max-width:360px){body.mango .paywall-plan b{font-size:20px}}
body.mango .book-card-cover{display:flex;flex-direction:column;padding:22px;box-shadow:inset 5px 0 0 #123c400a;transition:none}
body.mango .book-card:hover .book-card-cover{transform:none;box-shadow:inset 5px 0 0 #123c400a}
body.mango .book-card-cover:after{display:none}
body.mango .course-cover-label{position:static;align-self:flex-start;padding:3px 7px;max-width:100%;font-size:7px;letter-spacing:.02em;border:1px solid currentColor;border-radius:6px;opacity:.75}
body.mango .book-card-cover .genre{display:block;margin-top:10px;font:600 9px/1.5 var(--sans);letter-spacing:.03em}
body.mango .book-card-cover h2{font:500 clamp(23px,2.4vw,30px)/1.18 var(--serif);letter-spacing:-.035em;margin:22px 0 14px;max-width:100%;color:inherit;text-align:left;text-wrap:pretty}
body.mango .book-card-cover .author{margin-top:auto;position:relative;z-index:1;font:400 10px/1.5 var(--sans);color:inherit;opacity:.8}
body.mango .cover-art{opacity:.18}
body.mango .book-card-info{padding:18px 2px 2px}
body.mango .book-card-info h3{font:700 17px/1.3 var(--sans);margin:8px 0 10px;letter-spacing:-.025em}
body.mango .book-card-info>p{font:400 12px/1.55 var(--sans);color:var(--muted);margin:0 0 16px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
body.mango .module-meta-line{color:var(--green);font-size:8px;letter-spacing:.04em}
body.mango .word-head h3{font:500 30px/1.3 var(--serif);color:var(--ink)}
body.mango .word-head>button{display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--line);border-radius:12px;background:var(--mint);color:var(--green)}
@media(max-width:760px){body.mango .book-card-cover{padding:16px 12px;height:230px}body.mango .book-card-cover h2{font-size:23px;margin:20px 0 12px}body.mango .book-card-info h3{font-size:15px}body.mango .book-card-info>p{font-size:11px}body.mango .book-card-meta{font-size:9px;flex-wrap:wrap;gap:6px}body.mango .course-cover-label{font-size:6px}body.mango .module-meta-line{font-size:7px}}
body.mango .paywall-plan>span{transform:none;width:auto;max-width:none}
body.mango .paywall-footer{border:0;border-top:1px solid var(--line);border-radius:0}
body.mango .paywall-assurances{margin:0}
body.mango .checkout-consent{border:0;border-radius:0;background:transparent}
@media(max-width:760px){body.mango .profile-access-pill{align-self:flex-start}}
body.mango .course-dashboard,body.mango .vocabulary-page{background:transparent}
body.mango .lesson-stage .lesson-card h1{font:500 clamp(40px,5vw,58px)/1.2 var(--serif);letter-spacing:-.04em;margin:18px 0 20px}
body.mango .lesson-card-meaning{flex-wrap:wrap;gap:6px 12px;margin-bottom:24px;color:var(--muted)}
body.mango .lesson-card-meaning>span{font-size:10px;letter-spacing:.08em}
body.mango .lesson-card-meaning>strong{font:500 24px/1.3 var(--serif);color:var(--green)}
body.mango .lesson-card-explanation{padding:24px;background:var(--mint);border:1px solid #BCDCD3;border-radius:20px;box-shadow:none;text-align:left}
body.mango .lesson-card-explanation>span,body.mango .lesson-card-example>span{font-size:10px;color:var(--green);letter-spacing:.08em;margin:0 0 10px;font-weight:700}
body.mango .lesson-card-explanation p{color:var(--ink);font-size:15px;line-height:1.65;margin:0}
body.mango .lesson-card-example{display:block;padding:24px;margin-top:16px;border:1px solid var(--line);border-left:4px solid var(--turquoise);border-radius:6px 20px 20px 6px;background:white;text-align:left}
body.mango .lesson-card-example p{display:flex;flex-direction:column;align-items:flex-start;gap:6px;margin:0}
body.mango .lesson-card-example b{font:500 24px/1.5 var(--serif);color:var(--ink)}
body.mango .lesson-card-example small{font:400 13px/1.5 var(--sans);color:var(--muted)}
body.mango .lesson-card-formula{background:#F4FCF7;border-radius:14px;gap:10px;padding:14px;flex-wrap:wrap}
body.mango .lesson-card-formula b{background:white;color:var(--green);padding:8px 12px;border:1px solid #C9E3D8;border-radius:10px;font-size:14px}
body.mango .lesson-teaching-card>.listen-button{margin:24px 0 12px}
body.mango .pronunciation-options{font-size:11px;color:var(--muted);gap:8px 16px;margin:4px 0 12px}
body.mango .pronunciation-options select{background:white;border:1px solid var(--line);border-radius:10px;min-height:36px;padding:6px 10px;color:var(--green)}
body.mango .lesson-preview>div{padding:24px;border:1px solid var(--line);border-radius:20px;background:white;font-size:15px;line-height:1.65}
body.mango .lesson-preview>div>b{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--green);margin-bottom:10px}
@media(max-width:760px){body.mango .mobile-nav{transform:none;left:12px;right:12px;width:calc(100% - 24px)}body.mango .lesson-stage .lesson-card h1{font-size:44px}body.mango .lesson-card-explanation,body.mango .lesson-card-example{padding:20px}body.mango .lesson-card-explanation p{font-size:14px}body.mango .lesson-card-example b{font-size:21px}body.mango .lesson-card-meaning>strong{font-size:23px}body.mango .lesson-preview>div{padding:20px;font-size:14px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}body.mango *,body.mango *:before,body.mango *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Last-mile states belong to the same grid as the rest of the course. */
body.mango .course-shell:not(.course-dashboard):not(.vocabulary-page){background:transparent;color:var(--ink);width:min(100% - 48px,896px);max-width:896px;margin-inline:auto;padding:124px 0 120px;min-height:70dvh}
body.mango .course-shell:not(.course-dashboard):not(.vocabulary-page)>h1,
body.mango .final-routes>header h1{font:700 clamp(32px,4.8vw,54px)/1.12 var(--sans);letter-spacing:-.045em}
body.mango .final-routes{gap:24px}
body.mango .final-routes>header p{font:400 16px/1.65 var(--sans);color:var(--muted)}
body.mango .route-card{min-width:0;min-height:0;padding:24px;align-content:start}
body.mango .route-card.selected{border:1px solid var(--green);box-shadow:inset 0 0 0 1px var(--green);background:var(--mint)}
body.mango .route-card>span{color:var(--green);letter-spacing:.06em;font-size:10px}
body.mango .route-card strong{font:700 22px/1.2 var(--sans);letter-spacing:-.03em}
body.mango .route-card :is(p,small){color:var(--muted);font-size:13px;line-height:1.6}
body.mango :is(.route-preview,.guided-opening){padding:24px;border:1px solid var(--line);border-radius:24px;background:white}
body.mango .route-preview span{background:var(--mint);padding:12px;color:var(--muted)}
body.mango .route-preview span b{color:var(--ink)}
body.mango .route-preview>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}
body.mango .free-library-card{background:var(--mint);border:1px solid #BCDCD3;padding:24px;border-radius:24px;gap:8px}
body.mango .readiness-card .readiness-sentence{background:var(--bg);border:1px solid var(--line);border-radius:16px;margin:0}
body.mango .readiness-card h2{font:700 21px/1.4 var(--sans);letter-spacing:-.025em}
body.mango .readiness-comfort{gap:12px}
body.mango .readiness-comfort button{font:600 14px/1.4 var(--sans);color:var(--green)}
body.mango .reader-page[data-reader-theme=dark]{--muted:#AEC7C2;--line:#3F5B54}
body.mango .reader-page[data-reader-theme=dark] :is(.reader-kicker,.reader-course-label,.lesson-plan,.lesson-brief>div>span){color:#A2E9DE}
body.mango .reader-page[data-reader-theme=dark] :is(.chapter-link,.chapter-list a,.reader-label,.chapter-kicker,.chapter-progress,.reader-topbar,.reader-toolbar){color:var(--reader-ink)}
body.mango .reader-page[data-reader-theme=dark] .chapter-link.active{background:#2D514A;color:#E8FFF9}
body.mango .reader-page[data-reader-theme=dark] :is(.sentence-translate-btn,.reader-icon-btn){color:#A2E9DE;background:#294B43;border-color:#49695E}
body.mango .reader-page[data-reader-theme=dark] .reader-word:hover{background:#36554A;color:#FFF}
@media(max-width:760px){
 body.mango .course-shell:not(.course-dashboard):not(.vocabulary-page){width:calc(100% - 32px);padding:96px 0 120px}
 body.mango .route-card,body.mango :is(.route-preview,.guided-opening,.readiness-card){padding:20px;border-radius:20px}
 body.mango .readiness-card h2{font-size:19px}
 body.mango .readiness-card .readiness-sentence{padding:14px}
}
