/* Static styles from supplied Night 3; source SHA256 f1513232565b7c65f37c7581e021a8e58b6ea98f596598e683718744bec7096f. No reference scripts. */

:root{color-scheme:light;--bg:#f6f7f1;--bg-deep:#eef1e7;--card:#fff;--ink:#1b2420;--muted:#68746d;--line:#e6ebe1;--soft:#f0f3ea;--primary:#3d6a49;--primary-deep:#25452f;--primary-bright:#4f8a5e;--primary-soft:#e3ede4;--sage:#8bab86;--blue:#6f93b3;--blue-soft:#e9f1f7;--clay:#c17a52;--clay-soft:#faeee3;--lav:#9c8fb2;--lav-soft:#f1edf7;--sand:#c8a86b;--sand-soft:#f6eedc;--danger:#a83f34;--gold:#d1a24a;--font:'Cairo','Segoe UI',Tahoma,Arial,sans-serif;--en:'Plus Jakarta Sans','Segoe UI',Arial,sans-serif;--ease:cubic-bezier(.22,1,.36,1);--ease-spring:cubic-bezier(.34,1.56,.64,1);--shadow:0 1px 2px #1b24200a,0 10px 28px -6px #1b242014;--shadow-lg:0 24px 64px -12px #16241a2c;--shadow-glow:0 0 0 1px #ffffff80 inset,0 10px 30px -8px #3d6a4945;--grad-primary:linear-gradient(135deg,#4f8a5e,#274a32);--grad-gold:linear-gradient(135deg,#e0b566,#c17a52);--radius:18px;--rail:94px}
@supports(font-variation-settings:normal){:root{--font:'Cairo','Segoe UI',Tahoma,Arial,sans-serif}}
html,body{overflow-x:hidden;max-width:100%}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:85px}body{margin:0;background:var(--bg);color:var(--ink);font:14.5px/1.8 var(--font);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer;border:0;background:none}button,a{touch-action:manipulation;-webkit-tap-highlight-color:transparent}button:disabled{opacity:.45;cursor:not-allowed}a{color:inherit;text-decoration:none}h1,h2,h3,h4,p{margin:0}h1,h2,h3{line-height:1.6}h1{font-size:30px}h2{font-size:22px}h3{font-size:16px}h4{font-size:14.5px}input,select,textarea{min-height:44px;max-width:100%;min-width:0;background:var(--card);border:1px solid var(--line);border-radius:10px;padding:10px 13px}input::placeholder,textarea::placeholder{color:var(--muted);opacity:.8}textarea{width:100%;resize:vertical;line-height:1.9}input[type=checkbox]{width:19px;min-height:19px;accent-color:var(--primary)}input[type=range]{padding:0;accent-color:var(--primary)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex='0']:focus-visible{outline:3px solid var(--clay);outline-offset:3px}button:focus:not(:focus-visible){outline:0}[hidden]{display:none!important}.en,.num{font-family:var(--en);direction:ltr;unicode-bidi:isolate}.num{font-variant-numeric:tabular-nums;font-weight:650;letter-spacing:-.6px}.muted{color:var(--muted)}.small{font-size:13.5px}.micro{font-size:12.5px}.center{text-align:center}.left{text-align:left}.right{text-align:right}.full{width:100%}.grow{flex:1;min-width:0}.mt{margin-top:22px}.mt12{margin-top:12px}.mb{margin-bottom:18px}.flex,.between,.form-actions,.card-head{display:flex;align-items:center;gap:10px}.between,.card-head{justify-content:space-between}.wrap{flex-wrap:wrap}.stack{display:grid;gap:15px;min-width:0}.line{height:1px;background:var(--line);margin:20px 0}.icon{width:22px;height:22px;flex:none;vertical-align:middle;stroke-width:1.7}.icon.sm{width:17px;height:17px}.icon.lg{width:29px;height:29px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip{position:fixed;top:-90px;left:20px;z-index:1000;background:var(--ink);color:white;padding:12px 20px;border-radius:9px}.skip:focus{top:10px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:43px;padding:9px 17px;border-radius:11px;border:1px solid var(--line);background:var(--card);font-size:13.5px;font-weight:650;transition:transform .18s var(--ease),background .18s;position:relative;overflow:hidden}.btn:hover:not(:disabled){background:var(--soft);transform:translateY(-2px)}.btn:active:not(:disabled){transform:scale(.98)}.btn.primary,.btn.ink{background:var(--primary);border-color:var(--primary);color:#fff}.btn.primary:hover,.btn.ink:hover{background:var(--primary-deep)}.btn.soft{background:var(--primary-soft);color:var(--primary-deep);border-color:transparent}.btn.clay{background:var(--clay-soft);color:#8d543d}.btn.ghost{border-color:transparent;background:transparent}.btn.danger{color:var(--danger)}.btn.sm{min-height:34px;padding:6px 10px;font-size:12.5px}.ibtn{display:inline-grid;place-items:center;width:39px;height:39px;border-radius:50%;background:var(--soft);flex:none;transition:.2s}.ibtn:hover{background:var(--primary-soft);transform:translateY(-1px)}.ibtn.active{color:var(--primary-deep);background:var(--primary-soft)}.text-btn{display:inline-flex;align-items:center;gap:6px;min-height:34px;color:#a46145;font-size:11px;padding:3px 0}.text-btn:hover{color:var(--primary)}.pill,.level{display:inline-flex;align-items:center;gap:5px;border-radius:7px;padding:3px 9px;font-size:12px;color:var(--muted);background:var(--soft);white-space:nowrap}.level{font:650 12.5px var(--en);color:var(--primary-deep);background:var(--primary-soft)}.pill.peach{background:var(--clay-soft);color:#875036}.pill.purple{background:var(--lav-soft);color:#726681}.pill.green,.pill.lime{background:var(--primary-soft);color:var(--primary-deep)}.pill.dark{background:#25352dd9;color:#fff}.pill.outline{border:1px solid var(--line);background:none}.symbol{width:47px;height:47px;border-radius:16px;background:var(--primary-soft);color:var(--primary);display:grid;place-items:center;flex:none}.symbol.blue{color:#557c9c;background:var(--blue-soft)}.symbol.clay,.symbol.peach{color:#a86142;background:var(--clay-soft)}.symbol.lav,.symbol.purple{background:var(--lav-soft);color:#807295}.symbol.sand{background:#f6f1e6;color:#aa834a}.symbol .icon{width:26px;height:26px}.chips{display:flex;align-items:center;flex-wrap:wrap;gap:7px}.chip{background:var(--soft);border:1px solid transparent;border-radius:8px;padding:6px 11px;font-size:12.5px;min-height:34px}.chip.active{color:var(--primary-deep);background:var(--primary-soft);border-color:#b6c7b6}.segmented,.tabs{display:flex;gap:3px;align-items:center;max-width:100%;padding:4px;background:var(--soft);border-radius:10px;flex-wrap:wrap}.segmented button,.tabs button{font-size:12.5px;padding:6px 13px;min-height:32px;border-radius:8px;color:var(--muted);white-space:nowrap}.segmented button.active,.tabs button.active{background:var(--primary);color:white}.eyebrow{font:12px/1.6 var(--en);letter-spacing:.1em;color:var(--muted)}.label{display:block;font-size:13.5px;font-weight:600;margin-bottom:7px}.field{margin-bottom:17px;min-width:0}.field input,.field select{width:100%}.help{font-size:12.5px;color:var(--muted);margin-top:6px}.form-grid,.dual-grid,.two-col{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start}.form-grid .full{grid-column:1/-1}.form-actions{margin-top:20px;flex-wrap:wrap}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:20px;min-width:0;box-shadow:var(--shadow);position:relative}.card-head{margin-bottom:13px;align-items:flex-start}.card-head h3{font-size:17px;font-weight:750}.card-head p{font-size:12.5px;color:var(--muted);margin-top:3px}.card-head .text-btn{white-space:nowrap}.soft-box{padding:16px;border-radius:12px;background:var(--soft)}.notice{display:flex;align-items:flex-start;gap:10px;padding:13px 16px;border-radius:11px;background:var(--soft);font-size:12.5px;line-height:1.9;color:var(--muted)}.notice.warn{background:var(--clay-soft);color:#89533d}.notice .icon{margin-top:2px}.error-text{color:var(--danger);font-size:12px;margin-top:9px}.empty{display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;gap:12px;padding:32px 22px;min-height:180px}.empty p{max-width:420px;color:var(--muted);font-size:13.5px}.progress{height:6px;border-radius:12px;background:var(--soft);overflow:hidden;direction:ltr}.progress span{display:block;height:100%;background:var(--primary);border-radius:12px;transition:width .5s var(--ease)}
/* Faithful physical layout: logo on left, narrow left rail, RTL content. */
.masthead{height:76px;padding:0 25px;display:flex;direction:ltr;align-items:center;gap:30px;background:var(--card);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:40}.brand{display:flex;gap:10px;align-items:center;min-width:220px}.brand-mark{display:flex;gap:4px;align-items:center;height:41px;color:#be7e62}.brand-mark i{width:5px;background:currentColor;border-radius:7px;animation:mark-in .5s var(--ease) both}.brand-mark i:nth-child(1){height:17px}.brand-mark i:nth-child(2){height:29px}.brand-mark i:nth-child(3){height:40px}.brand-mark i:nth-child(4){height:28px}.brand-name{font-size:19px;font-weight:800;direction:rtl;line-height:1.5}.brand small{display:block;font:11px var(--en);letter-spacing:.1em;color:var(--ink)}.top-search{display:flex;align-items:center;gap:10px;flex:1;max-width:640px;padding:0 15px;background:#f8f9f7;border:1px solid var(--line);border-radius:15px;min-height:43px;direction:rtl}.top-search .icon{width:16px;height:16px}.top-search input{border:0;background:none;padding:8px 0;flex:1;min-height:40px;font-size:12.5px}.youtube-icon{background:#b5664b;border-radius:5px;display:grid;place-items:center;width:23px;height:16px;color:white;font-size:11px;flex:none}.primary-nav{display:flex;align-items:center;gap:20px;direction:rtl}.primary-nav button{font-size:13.5px;white-space:nowrap;min-height:42px;color:var(--muted)}.primary-nav button.active{color:var(--primary);font-weight:700}.header-actions{display:flex;align-items:center;gap:9px;direction:rtl;margin-left:auto}.avatar{display:grid;place-items:center;width:37px;height:37px;border-radius:50%;background:var(--primary-soft);color:var(--primary-deep);font-size:17px;flex:none}.profile-label{text-align:right;line-height:1.5;font-size:13.5px}.profile-label small{display:block;font-size:11px;color:var(--muted)}.header-actions>.ibtn{background:none}.rail{position:fixed;left:0;top:76px;bottom:0;width:var(--rail);z-index:30;background:var(--card);border-right:1px solid var(--line);border-radius:0 22px 0 0;padding:18px 10px 8px;overflow:auto;scrollbar-width:none;display:flex;flex-direction:column}.rail nav{display:grid;gap:13px}.rail-button{display:flex;align-items:center;flex-direction:column;gap:7px;width:100%;padding:10px 2px;color:var(--muted);border-radius:19px;font-size:12px;min-height:68px;position:relative}.rail-button .rail-icon{width:32px;height:32px;border-radius:50%;background:var(--soft);display:grid;place-items:center}.rail-button .icon{width:20px;height:20px}.rail-button.active{background:var(--primary-soft);color:var(--primary-deep);font-weight:750}.rail-button.active .rail-icon{background:#ccdbcd;transform:scale(1.12)}.rail-button:hover:not(.active){background:var(--soft)}.rail-bottom{margin-top:auto;min-height:150px;padding-top:25px;display:grid;align-items:end}.rail-bottom .en{font:italic 13.5px/1.5 Georgia;color:var(--primary);text-align:center;transform:rotate(-7deg)}.rail-mini{height:75px;object-fit:cover;width:100%;border-radius:30px 30px 8px 8px;opacity:.65;margin-top:13px}.main{margin-left:var(--rail);padding:14px 18px 22px;max-width:1860px;min-height:calc(100vh - 76px)}.edition-bar{display:flex;justify-content:space-between;align-items:center;margin:0 4px 10px;font-size:12px;color:var(--muted);gap:12px;flex-wrap:wrap}.data-control{display:flex;align-items:center;gap:5px}.data-control button{font-size:12px;min-height:29px;padding:3px 9px;border-radius:6px}.data-control button.active{background:#eee6d9;color:#79583a}.data-control .status-dot{width:5px;height:5px;background:var(--clay);border-radius:50%;margin:0 4px}.edition-actions{display:flex;align-items:center;gap:13px;font-size:12px}.edition-actions button{font-size:12px;display:flex;gap:5px;align-items:center}.edition-actions .icon{width:14px;height:14px}.footer{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-top:24px;padding:17px 5px 0;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}.footer .en{font-size:11px;letter-spacing:.1em}.page{animation:page-in .3s var(--ease)}.pagehead{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:20px 0}.pagehead h1{font-size:27px}.pagehead p{font-size:13.5px;color:var(--muted);margin-top:5px}.page-actions{display:flex;gap:9px;flex-wrap:wrap}.menu-scrim{position:fixed;inset:0;background:#17271e55;backdrop-filter:blur(4px);z-index:70;opacity:0;visibility:hidden}.menu-scrim.open{opacity:1;visibility:visible}.nav-drawer{position:fixed;left:20px;top:88px;width:310px;max-height:calc(100dvh - 112px);overflow:auto;border-radius:20px;padding:22px;background:var(--card);box-shadow:0 20px 80px #17271e30;border:1px solid var(--line);z-index:80;display:none}.nav-drawer.open{display:block;animation:page-in .23s var(--ease)}.nav-label{font-size:12px;color:var(--muted);padding:18px 10px 6px}.nav-item{display:flex;gap:9px;align-items:center;width:100%;text-align:right;padding:9px 11px;border-radius:9px;font-size:13.5px;min-height:40px}.nav-item.active,.nav-item:hover{background:var(--primary-soft);color:var(--primary-deep)}.nav-item .count{margin-right:auto;font:12px var(--en);background:var(--soft);padding:1px 6px;border-radius:5px}.mobile-nav{display:none}
/* Panoramic signature. Background is art only; every label and path is real HTML/SVG. */
.hero{position:relative;isolation:isolate;overflow:hidden;border-radius:20px;min-height:294px;background:#f5f0e8;margin-bottom:14px;direction:ltr;display:flex;align-items:center;border:1px solid #f1f0eb}.hero-art{position:absolute;inset:0 0 0 23%;width:77%;height:100%;object-fit:cover;object-position:center;z-index:-2}.hero:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#faf8f2 3%,#faf8f2f2 21%,#faf8f27a 39%,#faf8f20a 64%,transparent)}.hero-copy{direction:rtl;width:37%;padding:24px 27px;text-align:right;align-self:flex-start;z-index:2}.hero-copy h1{font-size:30px;line-height:1.65;font-weight:800;letter-spacing:-.6px}.hero-copy p{font-size:13.5px;color:#4f5951;margin-top:5px}.hero-copy .en{display:block;text-align:right;font:italic 13.5px/1.7 Georgia;color:#69736b;margin-top:8px}.hero-copy .hero-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:22px}.hero-copy .btn{font-size:12.5px;min-height:41px}.journey-plot{position:absolute;left:36%;right:15%;top:28px;bottom:15px;direction:ltr}.journey-plot svg{width:100%;height:100%;overflow:visible}.journey-route{fill:none;stroke:#f3e3be;stroke-width:3;stroke-dasharray:2 5;stroke-linecap:round}.journey-active{fill:none;stroke:#f4d390;stroke-width:4;stroke-linecap:round}.route-pin{fill:var(--primary);stroke:white;stroke-width:2.5}.journey-level{cursor:pointer}.journey-level text{font:650 15px var(--en);fill:#fff;paint-order:stroke;stroke:#23352980;stroke-width:3px}.journey-level .sub{font:12px var(--font);fill:white;stroke-width:2px}.journey-level circle{transition:r .2s}.journey-level:hover circle{r:8}.journey-flag{fill:#c28664;stroke:white;stroke-width:1}.hero-caption{position:absolute;right:15px;bottom:10px;font:italic 12px Georgia;color:white;text-shadow:0 1px 5px #233529}.hero-progress{position:absolute;top:12%;left:41%;transform:translateX(-50%);text-align:center;direction:rtl}.hero-progress strong{display:block;font:750 26px var(--en);color:#fff;background:var(--primary);border:2px solid white;border-radius:10px;padding:4px 10px;box-shadow:0 4px 14px #15291c22}.hero-progress small{display:inline-block;padding:3px 9px;font-size:11px;background:#fffffff2;color:var(--primary-deep);border-radius:6px;margin-bottom:5px}.hero-note{position:absolute;left:27px;bottom:14px;z-index:2;font-size:11px;color:#71746c;max-width:31%}.hero.compact{min-height:154px}.hero.compact .hero-copy{width:56%;padding:25px 28px}.hero.compact h1{font-size:29px}.hero.compact .hero-art{left:35%;width:65%}.hero.compact:after{background:linear-gradient(90deg,#faf8f2 15%,#faf8f2ed 36%,#faf8f25a 68%,transparent)}.hero.compact .journey-plot{opacity:.75;left:51%;right:14%;top:20px;bottom:10px}.hero.compact .hero-progress{display:none}.hero.compact .journey-level .sub{display:none}
.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) 1.55fr;direction:ltr;gap:12px;margin:0 0 14px}.kpi{direction:rtl;padding:17px 16px;display:flex;align-items:center;justify-content:space-between;gap:13px;min-height:95px;background:var(--card);border-radius:15px;border:1px solid var(--line);text-align:right;transition:.2s}.kpi:hover{transform:translateY(-2px);box-shadow:0 8px 22px #27342b09}.kpi strong{font-size:24px;line-height:1.3;display:block}.kpi label{font-size:12.5px;display:block;cursor:pointer}.kpi small{font-size:11px;color:var(--muted);display:block;margin-top:4px}.kpi .symbol{width:53px;height:53px;border-radius:20px}.quote-mini{background:#f5f3ec;direction:rtl;display:flex;flex-direction:column;justify-content:center;align-items:center;border:1px solid var(--line);border-radius:15px;padding:13px 20px;text-align:center;position:relative}.quote-mini:before{content:'“';position:absolute;font:60px Georgia;right:14px;top:0;opacity:.18;color:#908370}.quote-mini p{font-size:14.5px;font-weight:550}.quote-mini .en{font:italic 12.5px Georgia;color:var(--muted);margin-top:7px}.home-main{display:grid;grid-template-columns:minmax(0,2.55fr) minmax(285px,1fr);gap:14px;direction:ltr;margin-bottom:14px}.home-main>*,.home-bottom>*{direction:rtl;min-width:0}.river-card{padding:19px 21px 13px}.river-layout{display:flex;direction:ltr;align-items:center;gap:7px}.river-plot{flex:1;min-width:0;position:relative}.chart-svg{width:100%;height:auto;display:block;direction:ltr;font-family:var(--en);overflow:visible}.chart-svg text{fill:var(--muted);font-size:10px}.chart-svg .label-ar{font:10px var(--font)}.chart-svg .value-label{fill:var(--ink);font-weight:650}.chart-svg .gridline{stroke:var(--line);stroke-dasharray:2 4;fill:none}.curve-line{fill:none;stroke:var(--primary);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.point-hit{cursor:pointer}.point-hit:hover circle,.point-hit:focus-visible circle{stroke-width:3;r:5}.river-layer{transition:opacity .25s;cursor:pointer;stroke:#ffffff55;stroke-width:.7}.river-layer:hover{opacity:.82}.river-legend{display:grid;gap:9px;direction:rtl;min-width:92px}.river-legend button{display:flex;gap:7px;align-items:center;font-size:12px;padding:4px 1px;white-space:nowrap}.river-legend i{width:9px;height:9px;border-radius:50%;display:inline-block}.river-legend .muted-out{opacity:.35}.chart-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:10px;color:var(--muted);margin-top:7px}.chart-foot button{font-size:10px;color:var(--muted)}.skills-visual{position:relative;min-height:184px;display:grid;place-items:center;margin:5px 0}.main-ring{width:177px;height:177px;position:relative;display:grid;place-items:center;direction:ltr}.main-ring svg{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg)}.ring-label{text-align:center;direction:rtl;z-index:1}.ring-label strong{font:750 29px var(--en);letter-spacing:-1px;display:block}.ring-label small{font-size:10px;color:var(--muted)}.ring-arc{fill:none;stroke-linecap:round;stroke-width:12}.skill-stamp{position:absolute;display:grid;place-items:center;gap:2px;padding:8px 11px;border-radius:20px;background:var(--soft);font-size:12px;min-width:65px}.skill-stamp strong{font-size:14.5px}.skill-stamp .icon{width:21px;height:21px}.skill-stamp:nth-of-type(1){left:0;top:4px;color:#506b53;background:var(--primary-soft)}.skill-stamp:nth-of-type(2){right:0;top:4px;color:#547895;background:var(--blue-soft)}.skill-stamp:nth-of-type(3){left:0;bottom:0;color:#a26950;background:var(--clay-soft)}.skill-stamp:nth-of-type(4){right:0;bottom:0;color:#7f7393;background:var(--lav-soft)}.home-bottom{display:grid;grid-template-columns:minmax(190px,.85fr) minmax(260px,1.55fr) minmax(230px,1.1fr) minmax(265px,1.35fr);gap:13px;direction:ltr}.home-bottom .card{padding:17px}.cefr-stair{display:flex;gap:10px;align-items:center;min-height:206px;position:relative}.cefr-list{display:flex;flex-direction:column;gap:9px;z-index:1}.cefr-list button{display:flex;gap:9px;align-items:center;font:12.5px var(--en);min-height:23px}.cefr-list i{height:9px;width:20px;border-radius:6px;background:var(--line);display:block}.cefr-list .active{font-weight:750;color:var(--primary)}.cefr-list .active i{background:var(--primary);height:18px}.cefr-art{position:absolute;inset:5px 0 0 auto;width:72%;height:100%;object-fit:contain;opacity:.92}.cefr-list small{font:10.5px var(--font)}.week-activity{display:grid;grid-template-columns:repeat(7,1fr);gap:8px;direction:ltr;padding:5px 0}.week-column{display:grid;gap:7px;text-align:center;min-width:0}.week-column small{font-size:11px;color:var(--muted)}.week-stack{display:grid;gap:3px;border-radius:10px;overflow:hidden;padding:5px;background:var(--soft);height:91px;position:relative}.week-stack i{border-radius:3px;background:#e9eee7;height:9px}.week-stack i.on{background:#a8bda5}.week-stack .check-bubble{position:absolute;top:32px;left:50%;transform:translateX(-50%);width:19px;height:19px;border-radius:50%;background:var(--primary);color:white;display:grid;place-items:center;border:2px solid white;font-size:12px}.legend-row{display:flex;gap:14px;flex-wrap:wrap;justify-content:center;font-size:11px;color:var(--muted);margin-top:10px}.legend-row i{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--sage);margin-left:4px}.review-mini-list{display:flex;gap:5px;margin-top:10px;overflow:auto}.review-mini-list button{border-radius:10px;min-width:58px;flex:1;padding:10px 5px;background:var(--soft);font:12px var(--en)}.review-mini-list small{display:block;font:11px var(--font);color:var(--muted);margin-top:5px}.lesson-cover{height:130px;position:relative;overflow:hidden;border-radius:12px;background:#e0e8e0;isolation:isolate;display:flex;align-items:flex-end;padding:15px;direction:ltr}.lesson-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform .6s var(--ease)}.lesson-cover:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#203d2dcc,transparent 90%)}.lesson-cover strong{font:700 23px/1.2 var(--en);color:#fff;max-width:85%;letter-spacing:-.5px}.lesson-cover:hover img{transform:scale(1.04)}.lesson-cover .play-circle{position:absolute;right:11px;top:11px;width:33px;height:33px;display:grid;place-items:center;background:#ffffffed;border-radius:50%;color:var(--primary)}.cover-meta{position:absolute;right:10px;bottom:10px;font:10.5px var(--en);padding:2px 5px;background:#15261dd9;color:white;border-radius:4px}.lesson-reco h4{font:650 15px/1.5 var(--en);direction:ltr;text-align:right;margin-top:10px}.lesson-reco>p{font-size:12.5px;color:var(--muted);margin:7px 0 12px}.lesson-reco .tags{display:flex;gap:5px;margin:7px 0}.lesson-reco .btn{min-height:35px;font-size:12.5px}.network-svg{height:230px;max-width:100%;display:block;width:100%;direction:ltr}.network-svg text{font:600 11px var(--en);fill:var(--ink);text-anchor:middle}.network-svg .ar{font:10px var(--font);fill:var(--muted)}.network-svg .network-node{cursor:pointer}.network-node:hover circle{stroke:var(--primary);stroke-width:2}.network-node:focus-visible{outline:0}.network-node:focus-visible circle{stroke:var(--clay);stroke-width:3}.network-link{stroke:#d8e1da;stroke-width:1;stroke-dasharray:3 4}.task-row{display:flex;gap:11px;align-items:center;padding:13px 0;border-bottom:1px solid var(--line)}.task-row:last-child{border-bottom:0}.task-check{display:grid;place-items:center;border:1.5px solid #c5d0c4;border-radius:50%;width:26px;height:26px;flex:none;color:var(--primary);font-size:14.5px}.task-check.done{background:var(--primary);color:white;border-color:var(--primary)}.task-row h4{font-size:13.5px;font-weight:600}.task-row p{font-size:12px;color:var(--muted)}.task-row .task-points{font:600 12.5px var(--en);color:var(--primary);margin-right:auto}.mini-bar-grid{display:grid;grid-template-columns:repeat(7,1fr);align-items:end;height:160px;gap:16px;direction:ltr;padding:20px 12px 25px}.mini-bar-col{position:relative;height:100%;display:flex;align-items:center;justify-content:flex-end;flex-direction:column;min-width:0}.mini-bar-col i{display:block;width:100%;height:var(--h);min-height:2px;border-radius:6px 6px 2px 2px;background:var(--sage);animation:bar-in .65s var(--ease) both;transform-origin:bottom}.mini-bar-col:nth-child(2n) i{background:#7c9b80}.mini-bar-col b{font:12px var(--en);margin-bottom:5px}.mini-bar-col small{position:absolute;top:100%;font-size:11px;color:var(--muted);white-space:nowrap;margin-top:5px}
/* Dedicated progress page: measured activity, plan/pace, explicit projections. */
.progress-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-bottom:14px}.progress-kpis .kpi strong{font-size:28px}.progress-main{display:grid;grid-template-columns:minmax(0,2.35fr) minmax(240px,1fr) minmax(265px,1fr);gap:13px;direction:ltr}.progress-main>.card{direction:rtl}.pace-gauge{width:100%;max-height:173px;display:block;margin:6px auto 0}.pace-gauge text{font-family:var(--font);fill:var(--muted);font-size:10px}.pace-gauge .pace-text{fill:var(--primary-deep);font-weight:750;font-size:18px}.pace-needle{transform-origin:130px 123px;transition:transform .7s var(--ease)}.pace-facts{font-size:12.5px;line-height:1.85;padding:11px 13px;background:var(--soft);border-radius:10px}.scenario{display:flex;gap:9px;align-items:center;padding:11px 0;border-bottom:1px solid var(--line)}.scenario strong{font-size:13.5px}.scenario small{display:block;font-size:11px;color:var(--muted)}.scenario .num{margin-right:auto;font-size:16px}.scenario .symbol{width:31px;height:31px;border-radius:50%}.scenario .icon{width:17px;height:17px}.scenario:last-child{border:0}.forecast-date{padding:15px;background:var(--primary-soft);border-radius:12px;margin:10px 0}.forecast-date strong{font-size:22px;color:var(--primary-deep);display:block}.scenario-slider{display:flex;align-items:center;gap:10px;margin-top:12px;font-size:12.5px}.scenario-slider input{width:100%;min-width:0}.analytics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-top:14px}.metrics-row{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:15px 0}.mini-metric{padding:14px;background:var(--soft);border-radius:12px;text-align:center}.mini-metric strong{font:700 25px var(--en);display:block}.mini-metric small{font-size:12px;color:var(--muted)}.rings-row{display:flex;justify-content:space-around;gap:7px;padding:10px 0 5px}.small-ring{width:64px;height:64px;position:relative;display:grid;place-items:center;direction:ltr}.small-ring svg{position:absolute;inset:0;transform:rotate(-90deg)}.small-ring strong{font:650 13px var(--en);z-index:1}.ring-item{text-align:center;font-size:10px}.ring-item span{display:block;margin-top:5px}.ring-item small{font-size:9px;color:var(--muted)}.evidence-list{display:grid;gap:4px;margin-top:10px}.evidence-item{display:flex;gap:10px;align-items:center;font-size:12.5px;padding:7px 0;border-bottom:1px solid var(--line)}.evidence-item strong{margin-right:auto;font-family:var(--en)}.roadmap-strip{display:flex;justify-content:space-between;gap:10px;position:relative;margin:22px 0 14px;direction:ltr}.roadmap-strip:before{content:'';position:absolute;top:17px;height:2px;left:6%;right:6%;background:var(--line)}.roadmap-item{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;font-size:12.5px;flex:1;min-width:0}.roadmap-item b{width:36px;height:36px;border-radius:50%;background:var(--soft);border:2px solid var(--card);display:grid;place-items:center;font-family:var(--en)}.roadmap-item.active b{background:var(--primary);color:white;box-shadow:0 0 0 4px var(--primary-soft)}.roadmap-item small{font-size:11px;color:var(--muted);text-align:center;direction:rtl}.table-scroll{overflow:auto;border:1px solid var(--line);border-radius:12px}table{width:100%;border-collapse:collapse;font-size:12.5px;background:var(--card)}th,td{padding:12px 14px;border-bottom:1px solid var(--line);text-align:right}th{font-size:12px;color:var(--muted);background:var(--soft);font-weight:600}tr:last-child td{border:0}.event-row{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid var(--line);font-size:12.5px}.event-row .symbol{width:32px;height:32px;border-radius:10px}.event-row .icon{width:18px;height:18px}.event-row h4{font-size:12.5px}.event-row p{font-size:12px;color:var(--muted)}.event-row small{font-size:11px;color:var(--muted);margin-right:auto}
/* Classroom */
.studio-grid{display:grid;grid-template-columns:minmax(0,2.3fr) minmax(280px,1fr);gap:16px;direction:ltr;align-items:start}.studio-grid>*{direction:rtl;min-width:0}.studio-lead{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(210px,1fr);gap:20px;direction:ltr;align-items:start}.studio-lead>*{direction:rtl;min-width:0}.player-wrap{aspect-ratio:16/9;min-height:200px;position:relative;overflow:hidden;border-radius:15px;background:#25382f;isolation:isolate;display:grid;place-items:center;color:white}.player-wrap>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;filter:brightness(.7)}.player-wrap:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#1b322bd9,transparent);z-index:-1}.player-wrap iframe,.player-wrap video{width:100%;height:100%;position:absolute;inset:0;border:0;z-index:3;background:#111}.player-wrap audio{width:90%;z-index:3}.player-demo-art{padding:40px 24px 25px;text-align:center;width:100%}.player-demo-art .serif{font:750 29px/1.2 var(--en);max-width:340px;margin:12px auto}.player-demo-art small{display:block;font-size:11px;opacity:.75;max-width:350px;margin:auto}.player-top{position:absolute;top:12px;left:12px;right:12px;display:flex;justify-content:space-between;gap:8px;z-index:2}.player-top .eyebrow{color:#fff9;font-size:10.5px}.big-play{width:54px;height:54px;border-radius:50%;background:#fffffff2;color:var(--primary-deep);display:grid;place-items:center;margin:0 auto 12px;box-shadow:0 0 0 7px #ffffff15;transition:transform .2s}.big-play:hover{transform:scale(1.05)}.big-play .icon{fill:currentColor;width:24px;height:24px}.wave{display:flex;gap:3px;align-items:center;justify-content:center;height:24px;direction:ltr;margin:9px 0}.wave i{width:3px;height:var(--v,12px);background:#bfd0bd;border-radius:3px;transform-origin:center}.speaking .wave i{animation:sound-wave .7s ease-in-out infinite alternate;animation-delay:var(--d,0s)}.player-note{font-size:12px;color:var(--muted);margin-top:9px}.player-controls{display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap;margin-top:13px}.player-controls .btn{font-size:12px;padding:7px 11px;min-height:37px}.player-controls select{font-size:12.5px;min-height:36px;padding:6px 8px}.player-controls .ibtn{width:33px;height:33px}.lesson-intro h2{font-size:22px;line-height:1.6}.lesson-intro .en{display:block;font-size:13.5px;color:var(--muted);margin-top:5px}.lesson-intro p{font-size:13.5px;color:var(--muted);margin:12px 0}.timer{display:flex;align-items:center;gap:9px;border:1px solid var(--line);background:var(--card);border-radius:10px;padding:5px 10px;width:fit-content}.timer time{font:650 16px var(--en);min-width:45px;direction:ltr}.timer button{color:var(--primary);display:flex;padding:4px}.timer-state{font-size:11px;color:var(--muted);margin-top:3px}.stage-path{display:flex;gap:7px;margin:18px 0;justify-content:space-between}.stage-path button{flex:1;display:flex;align-items:center;justify-content:center;gap:7px;border-radius:9px;background:var(--soft);padding:9px 7px;min-height:40px;font-size:12.5px}.stage-path button.active{background:var(--primary-soft);color:var(--primary-deep);font-weight:650}.stage-path span{font:12px var(--en);width:20px;height:20px;border:1px solid #becabd;border-radius:50%;display:grid;place-items:center}.stage-path button.done span{background:var(--primary);color:white;border-color:var(--primary)}.studio-tab-area{margin-top:18px}.studio-tab-area>.tabs{display:flex;margin-bottom:16px}.studio-tab-area>.tabs button{flex:1}.transcript-head{padding:0 0 12px}.transcript-scroll{max-height:365px;overflow:auto;scrollbar-width:thin;padding:3px 3px}.cue{padding:12px 11px;border-radius:10px;border-bottom:1px solid var(--line);margin-bottom:3px;direction:ltr;position:relative;transition:background .2s}.cue.active{background:var(--primary-soft);border-color:transparent}.cue-head{display:flex;gap:10px;align-items:center;justify-content:space-between;font-size:11px;color:var(--muted);margin-bottom:5px}.cue-time{font:12px var(--en);padding:4px 5px;color:var(--primary);min-height:26px}.cue-text{font:14px/1.9 var(--en);text-align:left;direction:ltr;overflow-wrap:anywhere}.cue-ar{font-size:12.5px;color:var(--muted);direction:rtl;text-align:right;margin-top:5px}.cue-tools{display:flex;gap:10px;direction:rtl;flex-wrap:wrap;margin-top:5px}.cue-tools button{font-size:11px;color:var(--muted);min-height:26px;display:flex;align-items:center;gap:3px}.cue-tools .icon{width:13px;height:13px}.term-link{font:inherit;background:#bed1b850;color:#36513b;border-bottom:1px dashed #94af8f;padding:0 3px;display:inline;border-radius:3px;cursor:pointer}.transcript-search{margin:8px 0}.transcript-search input{width:100%;font-size:12.5px;min-height:38px}.transcript-hidden{padding:45px 24px;text-align:center;min-height:260px;display:grid;place-content:center;gap:14px}.transcript-hidden .symbol{margin:auto}.source-quote{font:16px/1.95 var(--en);direction:ltr;text-align:left;padding:17px 20px;background:var(--soft);border-left:3px solid var(--sage);border-radius:0 12px 12px 0;overflow-wrap:anywhere}.mini-word{display:flex;align-items:center;gap:9px;padding:9px 0;border-bottom:1px solid var(--line);font-size:12.5px}.mini-word .en{font-weight:600;min-width:78px;text-align:left}.mini-word .muted{font-size:12px}.mini-word .ibtn{width:27px;height:27px;margin-right:auto}.mini-word .icon{width:14px;height:14px}.phrase-row{padding:10px 12px;background:var(--soft);border-radius:9px;margin-top:7px;display:flex;justify-content:space-between;gap:9px;font-size:12px}.phrase-row .en{font-weight:600}.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:14px 0}.info-grid>div{padding:12px;background:var(--soft);border-radius:10px;display:flex;align-items:center;gap:9px;font-size:12.5px}.info-grid small{display:block;font-size:11px;color:var(--muted)}.info-grid .icon{color:var(--primary)}.focus-strip{display:none}.focus .masthead,.focus .rail,.focus .edition-bar,.focus .footer,.focus .mobile-nav,.focus .hero,.focus .studio-aside,.focus .secondary-control{display:none}.focus .main{margin:0;max-width:1120px;margin:auto;padding-top:25px}.focus .studio-grid{grid-template-columns:1fr}.focus .focus-strip{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.focus .focus-strip h3{font-size:17px}.focus .lesson-intro{display:none}.focus .studio-lead{grid-template-columns:1fr;max-width:620px;margin:auto}.focus .studio-tab-area{display:block}.focus .studio-tab-area>.tabs{display:none}
/* Vocabulary and library */
.library-categories{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:13px;margin:18px 0}.category-tile{border-radius:13px;overflow:hidden;background:var(--card);border:1px solid var(--line);text-align:right;transition:.2s}.category-tile:hover{transform:translateY(-3px)}.category-tile img{height:85px;object-fit:cover;width:100%}.category-tile span{display:flex;align-items:center;gap:8px;padding:10px;font-size:12.5px}.category-tile .icon{color:var(--primary);width:18px;height:18px}.library-tools{display:flex;gap:13px;align-items:center;flex-wrap:wrap;margin:18px 0}.library-tools input{flex:1;min-width:170px}.library-tools select{max-width:180px;font-size:12.5px}.lesson-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.lesson-card{border:1px solid var(--line);border-radius:16px;background:var(--card);overflow:hidden;min-width:0}.lesson-card .lesson-cover{border-radius:0;height:170px}.lesson-body{padding:17px}.lesson-title{font:650 17px/1.6 var(--en);direction:ltr;text-align:right;width:100%;padding:0}.lesson-body p{font-size:12.5px;color:var(--muted);margin:6px 0 12px}.lesson-body .progress{margin-top:11px;height:4px}.lesson-body .between{font-size:12px}.lesson-grid.list{grid-template-columns:1fr}.lesson-grid.list .lesson-card{display:flex;direction:ltr}.lesson-grid.list .lesson-cover{width:225px;flex:none;height:160px}.lesson-grid.list .lesson-body{flex:1;direction:rtl}.vocab-layout{display:grid;grid-template-columns:minmax(265px,1fr) minmax(320px,1.16fr) minmax(270px,1.1fr);gap:15px;direction:ltr;align-items:start}.vocab-layout>*{direction:rtl;min-width:0}.word-list{max-height:510px;overflow:auto;padding:4px 0}.word-list-item{display:flex;align-items:center;gap:12px;width:100%;text-align:right;padding:12px 9px;border:1px solid transparent;border-bottom-color:var(--line);border-radius:10px;transition:background .2s}.word-list-item.active{background:var(--primary-soft);border-color:#adc2ad}.word-list-item .en{display:block;font-size:15px;font-weight:650;direction:ltr;text-align:left}.word-list-item small{font-size:12px;color:var(--muted)}.word-list-item .symbol{width:36px;height:36px;border-radius:11px}.word-list-item .symbol .icon{width:18px;height:18px}.word-list-item .level{margin-right:auto}.word-detail{padding:24px}.word-detail .term{font:750 34px/1.3 var(--en);direction:ltr;text-align:left;overflow-wrap:anywhere;letter-spacing:-.8px}.word-detail .word-kind{font:12.5px var(--en);text-align:left;color:var(--muted);direction:ltr;margin-top:6px}.detail-section{border-top:1px solid var(--line);padding-top:17px;margin-top:20px}.detail-section h4{display:flex;align-items:center;gap:8px;margin-bottom:10px}.detail-section h4 .icon{width:18px;height:18px;color:var(--sage)}.detail-section .en{font-size:14.5px;text-align:left;display:block}.skill-toggles{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:12px}.skill-toggle{display:grid;place-items:center;gap:7px;padding:13px 5px;border:1px solid var(--line);border-radius:11px;background:var(--soft);font-size:12px}.skill-toggle.on{background:var(--primary-soft);border-color:#b3c5b1;color:var(--primary-deep)}.word-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:14px 0}.word-toolbar input{min-width:150px;flex:1}.word-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.word-card .word-term{font:700 23px var(--en);direction:ltr}.word-card .word-kind{font:12px var(--en);color:var(--muted);margin-top:7px}.word-card .word-ar{margin:13px 0 6px}.word-card .word-simple{font:13.5px/1.8 var(--en);direction:ltr;text-align:left;color:var(--muted)}.word-foot{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);margin-top:15px;padding-top:12px;font-size:11px;color:var(--muted)}
/* Retrieval, challenge and daily rhythm */
.review-layout{display:grid;grid-template-columns:minmax(200px,.7fr) minmax(330px,1.6fr) minmax(270px,1fr);gap:17px;direction:ltr;align-items:start}.review-layout>*{direction:rtl;min-width:0}.review-mode{display:flex;align-items:center;gap:11px;width:100%;padding:15px 10px;border-bottom:1px solid var(--line);font-size:13.5px;text-align:right}.review-mode.active{background:var(--primary-soft);border-radius:12px;color:var(--primary-deep)}.review-mode small{display:block;font-size:12px;color:var(--muted)}.review-stage{min-height:345px;padding:25px;text-align:center;border:1px solid var(--line);border-radius:19px;background:var(--card);display:flex;flex-direction:column;justify-content:center;gap:17px;box-shadow:0 10px 28px #27342b05}.review-stage .term{font:700 37px var(--en);direction:ltr}.review-stage .source-quote{font-size:15px;text-align:center}.flash-term{font:750 39px/1.4 var(--en);direction:ltr;text-align:center;margin:27px 0 15px}.flash-answer{text-align:center;background:var(--primary-soft);padding:19px;border-radius:13px;margin-top:18px;animation:flip-in .35s var(--ease)}.flash-answer .en{font-size:14.5px;display:block;margin-top:9px}.ratings{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-top:20px}.ratings .btn{display:flex;flex-direction:column;font-size:13.5px;padding:10px 7px;gap:4px}.ratings small{font-size:11px;color:var(--muted);font-weight:400}.quiz-shell{max-width:820px;margin:auto}.quiz-card{padding:28px}.quiz-question{font-size:20px;margin:16px 0}.quiz-context{font:20px/1.9 var(--en);direction:ltr;text-align:left;padding:22px;border-radius:12px;background:var(--soft);margin:18px 0}.quiz-options{display:grid;gap:10px;margin-top:20px}.quiz-option{display:flex;align-items:center;gap:12px;min-height:55px;border:1px solid var(--line);border-radius:11px;background:var(--card);padding:12px 15px;text-align:right;font-size:14.5px}.quiz-option:hover:not(:disabled){background:var(--primary-soft)}.quiz-option .choice{width:27px;height:27px;border-radius:50%;background:var(--soft);display:grid;place-items:center;font:12.5px var(--en);flex:none}.quiz-option.correct{background:var(--primary-soft);color:#36563b;border-color:#92b28d}.quiz-option.wrong{background:var(--clay-soft);color:#9c4c39;border-color:#d2a190}.quiz-option:disabled{opacity:1}.quiz-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:20px}.feedback{background:var(--primary-soft);padding:17px 20px;border-radius:11px;margin-top:20px;animation:page-in .25s}.feedback.wrong{background:var(--clay-soft)}.feedback p{font-size:13.5px;margin-top:8px}.success-art{width:78px;height:78px;border-radius:50%;display:grid;place-items:center;background:var(--primary-soft);color:var(--primary);margin:15px auto}.success-art .icon{width:36px;height:36px}.result-stats{display:flex;justify-content:center;gap:40px;margin:22px 0}.result-stats strong{font:700 30px var(--en);display:block}.result-stats small{font-size:12.5px;color:var(--muted)}.practice-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:18px}.practice-tile h3{margin-top:15px}.practice-tile p{font-size:13.5px;color:var(--muted);margin:7px 0 15px;min-height:42px}.badge-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.badge-item{padding:19px 12px;border:1px solid var(--line);border-radius:14px;text-align:center;background:var(--card);position:relative}.badge-item.locked{opacity:.6}.medal{width:61px;height:69px;margin:0 auto 10px;background:var(--primary-soft);color:var(--primary);clip-path:polygon(50% 0,94% 24%,94% 76%,50% 100%,6% 76%,6% 24%);display:grid;place-items:center}.medal .icon{width:29px;height:29px}.badge-item:nth-child(4n+2) .medal{background:var(--clay-soft);color:var(--clay)}.badge-item:nth-child(4n+3) .medal{background:var(--lav-soft);color:#837199}.badge-item:nth-child(4n) .medal{background:var(--blue-soft);color:#6d94b5}.badge-item h4{font-size:13.5px}.badge-item p{font-size:12px;color:var(--muted);margin-top:6px}.badge-item .progress{margin-top:10px;height:4px}.week-days{display:grid;grid-template-columns:repeat(7,1fr);gap:11px;direction:ltr;margin:20px 0}.day{display:flex;flex-direction:column;align-items:center;gap:5px;background:var(--card);border:1px solid var(--line);border-radius:12px;padding:15px 5px;font-size:12px;min-width:0}.day .num{font-size:24px}.day.active{background:var(--primary-soft);border-color:#a0b49b}.heatmap{display:grid;grid-template-columns:repeat(14,1fr);gap:4px;direction:ltr;padding:12px 0}.heat-cell{height:20px;background:var(--soft);border-radius:4px;position:relative}.heat-cell:hover{outline:2px solid var(--primary);outline-offset:1px}.settings-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;align-items:start}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 0;border-bottom:1px solid var(--line)}.setting-row h4{font-size:13.5px}.setting-row p{font-size:12.5px;color:var(--muted);max-width:330px;margin-top:4px}.toggle{width:45px;height:26px;border-radius:20px;background:#d7dfd4;padding:3px;direction:ltr;flex:none}.toggle:after{content:'';display:block;background:white;width:20px;height:20px;border-radius:50%;transition:transform .22s var(--ease)}.toggle.on{background:var(--primary)}.toggle.on:after{transform:translateX(19px)}.pages-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.page-link{padding:20px;border:1px solid var(--line);background:var(--card);border-radius:14px;display:flex;align-items:center;gap:14px;text-align:right;font-size:14.5px}.page-link small{display:block;color:var(--muted);font:12px var(--en);margin-top:3px}.admin-banner{border:1px solid #d8cbb7;background:#f6f1e8;color:#735d3e;padding:13px 17px;border-radius:12px;margin-bottom:17px;font-size:13.5px}.auth-box{max-width:490px;margin:35px auto;padding:30px;background:var(--card);border:1px solid var(--line);border-radius:20px}.auth-box .brand{justify-content:center;margin-bottom:25px}.auth-box h2{margin-bottom:8px}.auth-box p{font-size:13.5px;color:var(--muted);margin-bottom:25px}
/* Dialogs and motion */
dialog{width:730px;max-width:calc(100vw - 30px);max-height:90dvh;background:var(--card);color:var(--ink);border:1px solid var(--line);border-radius:21px;padding:0;box-shadow:0 28px 80px #2032262f;overflow:auto}dialog[open]{animation:dialog-in .26s var(--ease)}dialog::backdrop{background:#18271e65;backdrop-filter:blur(4px)}.dialog-head{position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 25px 16px;border-bottom:1px solid var(--line);background:var(--card)}.dialog-head h2{font-size:21px}.dialog-head p{font-size:11px;color:var(--muted);margin-top:4px}.dialog-body{padding:23px 25px}.upload-box{background:var(--soft);border:1px dashed #a6b8a2;border-radius:14px;padding:22px;text-align:center;display:grid;gap:10px}.upload-box input{width:100%;font-size:12.5px}.upload-box small{font-size:12px;color:var(--muted)}.check-line{display:flex;gap:9px;align-items:center;font-size:12.5px}.search-result{display:flex;align-items:center;gap:12px;width:100%;text-align:right;padding:12px;border-radius:10px}.search-result:hover{background:var(--soft)}.search-result h4{font-size:13.5px}.search-result small{font-size:12px;color:var(--muted)}.diagnostic-options{display:grid;gap:10px}.diagnostic-option{display:flex;align-items:center;gap:12px;text-align:right;padding:15px;border:1px solid var(--line);border-radius:11px}.diagnostic-option:hover{background:var(--primary-soft)}.diagnostic-option p{font-size:12.5px;color:var(--muted);margin-top:5px}.step-no{width:27px;height:27px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;flex:none;font:12.5px var(--en)}.record-player{width:100%;margin:15px 0}.record-live{color:var(--danger);font-size:13.5px;padding:15px}.keyboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.keyboard-grid>div{display:flex;justify-content:space-between;gap:10px;font-size:12.5px;padding:12px;background:var(--soft);border-radius:8px}.keyboard-grid kbd{font-family:var(--en)}.toast-stack{position:fixed;left:22px;bottom:22px;z-index:200;display:grid;gap:9px;max-width:min(420px,calc(100vw - 38px));pointer-events:none}.toast{display:flex;gap:10px;padding:14px 18px;background:#2f4437;color:white;border-radius:12px;font-size:13.5px;box-shadow:0 8px 25px #22372820;animation:page-in .25s var(--ease)}.toast .icon{color:#c6d7c3;width:18px}.chart-tooltip{position:fixed;background:#2f4037;color:white;border-radius:10px;padding:10px 14px;z-index:120;font-size:11px;pointer-events:none;max-width:250px;text-align:center;box-shadow:0 6px 22px #27342b25}.chart-tooltip b{display:block;font:650 14px var(--en)}.chart-tooltip small{color:#d3dfd3;font-size:10px}.confetti{position:fixed;width:6px;height:9px;border-radius:2px;pointer-events:none;z-index:180;animation:confetti-fall 1s var(--ease) both}.reveal{animation:page-in .45s var(--ease) both;animation-delay:calc(var(--i,0)*50ms)}body.reduced *,body.reduced *:before,body.reduced *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.page-hidden *{animation-play-state:paused!important}.large-text{font-size:15px}.large-text .cue-text{font-size:19px}.large-text .micro,.large-text .small,.large-text .card p,.large-text .cue-ar{font-size:14px}body[data-theme=dark]{color-scheme:dark;--bg:#17221c;--card:#202d24;--ink:#edf2e9;--muted:#afbbaa;--line:#344337;--soft:#2b3930;--primary:#93b092;--primary-deep:#c2d6ba;--primary-soft:#334b38;--blue-soft:#293a46;--clay-soft:#463a2d;--lav-soft:#37333f}.hero{color:#202927}.hero .btn.primary{background:#4d6d55;color:white}.hero .btn:not(.primary){color:#35513d;background:#fff}.hero-progress strong{background:#4d6d55}.hero-progress small{color:#35513d}body[data-theme=dark] .hero .hero-copy p{color:#415543}body[data-theme=dark] .hero .hero-copy .en{color:#557156}body[data-theme=dark] .quote-mini{background:var(--soft)}body[data-theme=dark] .top-search{background:var(--soft)}body[data-theme=dark] .journey-level text{fill:white}.btn.primary{color:#fff}body[data-theme=dark] .btn.primary{color:#162419}
@keyframes page-in{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}@keyframes dialog-in{from{opacity:0;transform:translateY(15px) scale(.98)}to{opacity:1;transform:none}}@keyframes mark-in{from{transform:scaleY(.2)}to{transform:scaleY(1)}}@keyframes bar-in{from{transform:scaleY(.02);opacity:.4}to{transform:scaleY(1);opacity:1}}@keyframes sound-wave{from{transform:scaleY(.3)}to{transform:scaleY(1)}}@keyframes flip-in{from{opacity:0;transform:perspective(800px) rotateX(-10deg)}to{opacity:1;transform:none}}@keyframes confetti-fall{from{transform:translate(0,0) rotate(0);opacity:1}to{transform:translate(var(--x),var(--y)) rotate(var(--r));opacity:0}}
@media(min-width:1700px){.main{padding:19px 28px;margin-right:auto}.hero{min-height:335px}.hero-copy h1{font-size:37px}.river-card{min-height:315px}.hero-copy{padding:28px 35px}.home-bottom .card{padding:21px}.network-svg{height:260px}}
@media(max-width:1300px){.masthead{gap:17px;padding:0 19px}.brand{min-width:200px}.brand-name{font-size:17px}.primary-nav{gap:13px}.primary-nav button{font-size:12.5px}.hero-copy{width:39%;padding:25px 23px}.hero-copy h1{font-size:27px}.hero-copy p{font-size:12.5px}.hero-copy .hero-actions{gap:8px;margin-top:16px}.kpis{grid-template-columns:repeat(4,1fr)}.quote-mini{grid-column:1/-1;min-height:50px;flex-direction:row;gap:20px}.quote-mini .en{margin:0}.home-bottom{grid-template-columns:.85fr 1.5fr 1.1fr}.home-bottom>.network-card{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;align-items:center}.network-card .network-svg{height:210px}.home-main{grid-template-columns:2fr 1fr}.progress-main{grid-template-columns:1.7fr 1fr}.progress-main>.forecast-card{grid-column:1/-1;display:grid;grid-template-columns:1fr 1.5fr 1fr;gap:20px;align-items:start}.analytics-grid{grid-template-columns:repeat(2,1fr)}.library-categories{grid-template-columns:repeat(3,1fr)}.vocab-layout{grid-template-columns:1fr 1.2fr}.vocab-layout>.vocab-analytics{grid-column:1/-1;grid-template-columns:1fr 1fr}.review-layout{grid-template-columns:.8fr 1.7fr}.review-layout>.review-aside{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:20px}.studio-lead{grid-template-columns:1fr}.lesson-intro{display:none}.hero.compact .hero-copy h1{font-size:26px}.studio-grid{grid-template-columns:2fr 1fr}.badge-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:1050px){:root{--rail:76px}.primary-nav{display:none}.rail{padding-left:7px;padding-right:7px}.rail-button{font-size:11px}.rail nav{gap:6px}.main{padding:12px 14px}.hero{min-height:270px}.hero-copy h1{font-size:24px}.hero-copy{width:44%;padding:22px}.hero .hero-actions .btn{font-size:12px}.journey-plot{left:39%;right:9%}.hero-art{left:18%;width:82%}.hero-note{max-width:35%;left:22px;font-size:10.5px}.home-main{grid-template-columns:1fr}.skills-card{min-height:230px}.skills-visual{max-width:440px;margin:auto}.home-bottom{grid-template-columns:1fr 1.5fr}.home-bottom>.lesson-reco{grid-column:1}.home-bottom>.network-card{grid-column:2;display:block}.home-bottom .network-svg{height:210px}.kpi{padding:15px 10px;gap:8px}.kpi .symbol{width:40px;height:40px;border-radius:14px}.kpi strong{font-size:21px}.kpi label{font-size:12px}.progress-kpis{grid-template-columns:repeat(2,1fr)}.studio-grid{grid-template-columns:1fr}.studio-aside{display:grid;grid-template-columns:1fr 1fr;gap:15px}.studio-lead{grid-template-columns:1.5fr 1fr}.lesson-intro{display:block}.lesson-grid{grid-template-columns:repeat(2,1fr)}.hero.compact .hero-copy{width:57%}.pages-grid{grid-template-columns:repeat(3,1fr)}.practice-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){:root{--rail:0px}.masthead{height:68px;padding:0 17px;gap:11px}.brand{min-width:0;gap:8px}.brand-name{font-size:16px}.brand small{font-size:10px;letter-spacing:.1em}.brand-mark{gap:3px;transform:scale(.8);width:25px}.top-search{display:none}.profile-label{display:none}.header-actions{gap:3px}.header-actions .ibtn{width:33px;height:33px}.rail{display:none}.main{padding:11px 15px 91px;margin:0;max-width:none}.edition-bar{margin:0 0 9px;gap:4px}.edition-actions .date-label{display:none}.data-control{gap:1px}.data-control button{font-size:11px;padding:3px 7px}.hero{min-height:350px;border-radius:17px;margin-bottom:12px;display:block}.hero-copy{width:100%;padding:21px 21px 0;position:relative;min-height:166px;text-align:right}.hero-copy h1{font-size:26px;line-height:1.6;max-width:90%}.hero-copy p{font-size:12.5px;max-width:85%}.hero-copy .en{font-size:12px}.hero-copy .hero-actions{margin-top:12px;gap:8px}.hero-copy .hero-actions .btn{min-height:35px;font-size:12px}.hero-art{inset:92px 0 0 0;width:100%;height:calc(100% - 92px);object-position:60% 50%}.hero:after{background:linear-gradient(180deg,#faf8f2 0%,#faf8f2f2 36%,#faf8f220 66%,transparent)}.journey-plot{left:7%;right:13%;top:185px;bottom:12px}.hero-note{max-width:90%;left:18px;bottom:7px;font-size:10.5px;color:white;text-shadow:0 1px 4px #000}.hero-caption{display:none}.hero.compact{min-height:173px}.hero.compact .hero-copy{width:82%;padding:23px 20px;min-height:0}.hero.compact .hero-copy h1{font-size:24px}.hero.compact .hero-copy p{max-width:90%;font-size:12px}.hero.compact .hero-art{inset:0 0 0 20%;width:80%;height:100%;opacity:.7}.hero.compact:after{background:linear-gradient(90deg,#faf8f2e8 20%,#faf8f29e 63%,#faf8f20a)}.hero.compact .journey-plot{display:none}.kpis{grid-template-columns:repeat(2,1fr);gap:9px;margin-bottom:12px}.kpi{padding:14px;min-height:89px;gap:7px}.kpi strong{font-size:23px}.kpi .symbol{width:43px;height:43px}.quote-mini{min-height:60px;padding:12px 19px;flex-direction:column;gap:5px}.quote-mini p{font-size:13.5px}.quote-mini .en{font-size:12px}.card{padding:18px;border-radius:15px}.card-head{gap:8px}.card-head h3{font-size:17px}.card-head p{font-size:12.5px}.home-main{gap:12px}.river-card{padding:17px 15px 12px}.river-card .card-head{flex-wrap:wrap}.river-card .segmented{padding:3px}.segmented button{padding:5px 10px;font-size:12px;min-height:31px}.river-layout{flex-direction:column;gap:7px}.river-plot{width:100%}.river-legend{display:flex;flex-wrap:wrap;justify-content:center;gap:13px;width:100%}.river-legend button{font-size:12px}.chart-foot{font-size:9px}.chart-svg text{font-size:11px}.skills-card{padding:18px 25px}.skills-visual{max-width:340px;min-height:200px}.main-ring{width:179px;height:179px}.home-bottom{grid-template-columns:1fr;gap:12px}.home-bottom>.lesson-reco,.home-bottom>.network-card{grid-column:auto}.cefr-stair{min-height:187px}.cefr-art{width:52%;right:10%}.cefr-list{padding:0 20px}.home-bottom .lesson-reco{display:grid;grid-template-columns:1fr 1fr;gap:7px 14px}.lesson-reco .card-head{grid-column:1/-1}.lesson-reco .lesson-cover{grid-row:2/6;height:177px}.lesson-reco>p{grid-column:2}.lesson-reco .tags{grid-column:2;align-self:start}.lesson-reco h4{margin:0;font-size:15px}.lesson-reco>.btn{grid-column:1/-1}.lesson-reco .between{grid-column:1/-1}.home-bottom .network-svg{height:244px}.progress-kpis{gap:9px}.progress-kpis .kpi strong{font-size:24px}.progress-main{grid-template-columns:1fr}.progress-main>.forecast-card{grid-column:auto;display:block}.analytics-grid{grid-template-columns:1fr 1fr;gap:10px}.analytics-grid>.card{padding:15px}.analytics-grid .card-head h3{font-size:15px}.analytics-grid .card-head p{font-size:12px}.analytics-grid .mini-bar-grid{gap:7px;padding:12px 2px 22px;height:142px}.mini-bar-col small{font-size:10.5px}.analytics-grid>.wide-mobile{grid-column:1/-1}.rings-row{flex-wrap:wrap;gap:14px}.forecast-date{padding:18px}.dual-grid,.two-col,.form-grid,.settings-grid{grid-template-columns:1fr}.metrics-row{gap:8px}.mini-metric strong{font-size:22px}.vocab-layout{grid-template-columns:1fr}.vocab-layout>.vocab-analytics{grid-column:auto;grid-template-columns:1fr}.word-list{max-height:320px}.vocab-layout>.word-detail{scroll-margin-top:85px}.word-grid{grid-template-columns:1fr}.library-categories{grid-template-columns:repeat(3,1fr);gap:9px}.category-tile img{height:63px}.category-tile span{font-size:11px;padding:8px;gap:5px}.category-tile .icon{width:15px;height:15px}.lesson-grid{grid-template-columns:1fr}.lesson-card .lesson-cover{height:190px}.lesson-grid.list .lesson-cover{width:128px;min-height:166px;height:auto}.lesson-grid.list .lesson-cover strong{font-size:19px}.lesson-grid.list .lesson-body{padding:13px}.lesson-grid.list .lesson-title{font-size:16px}.library-tools{gap:8px}.library-tools input{min-width:100%}.library-tools select{flex:1;max-width:none}.studio-lead{grid-template-columns:1fr}.lesson-intro{display:block}.lesson-intro h2{font-size:22px}.studio-grid{gap:12px}.studio-aside{grid-template-columns:1fr}.player-demo-art .serif{font-size:27px}.player-demo-art{padding:40px 15px 18px}.player-wrap{aspect-ratio:16/10;min-height:200px}.stage-path{gap:5px}.stage-path button{font-size:12px;padding:8px 4px;gap:5px}.stage-path span{width:18px;height:18px;font-size:11px}.studio-tab-area>.tabs{flex-wrap:nowrap;overflow:auto;justify-content:flex-start}.studio-tab-area>.tabs button{flex:none;font-size:12px;padding:7px 11px}.cue-text{font-size:15px}.cue-tools button{font-size:12px;min-height:34px}.cue-ar{font-size:13.5px}.transcript-scroll{max-height:400px}.transcript-head>.between{flex-wrap:wrap}.focus .main{padding:20px 15px 25px}.focus .lesson-intro{display:none}.review-layout{grid-template-columns:1fr}.review-layout>.review-modes{display:flex;overflow:auto;gap:8px;padding:10px 12px}.review-modes>h3{display:none}.review-mode{width:auto;flex:none;padding:10px 13px;border:0;border-radius:9px;min-height:43px}.review-mode small{display:none}.review-mode .icon{width:19px;height:19px}.review-layout>.review-aside{grid-column:auto;display:block}.ratings{grid-template-columns:repeat(2,1fr)}.quiz-card{padding:22px 18px}.quiz-question{font-size:19px}.quiz-context{font-size:17px;padding:17px}.practice-grid{grid-template-columns:1fr}.badge-grid{grid-template-columns:repeat(2,1fr)}.week-days{gap:6px}.day{padding:11px 4px;font-size:11px}.day .num{font-size:20px}.pages-grid{grid-template-columns:repeat(2,1fr);gap:10px}.page-link{padding:14px;gap:9px;font-size:12.5px}.page-link .symbol{width:35px;height:35px;border-radius:10px}.pagehead{flex-wrap:wrap;gap:12px}.pagehead h1{font-size:24px}.nav-drawer{left:14px;right:14px;top:80px;width:auto;max-height:calc(100dvh - 104px)}.mobile-nav{position:fixed;bottom:10px;bottom:calc(10px + env(safe-area-inset-bottom));left:14px;right:14px;z-index:50;display:flex;align-items:center;justify-content:space-around;background:var(--card);border:1px solid var(--line);border-radius:21px;padding:8px 5px;box-shadow:0 6px 28px #24372a15;direction:rtl}.mobile-nav button{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:52px;min-height:41px;font-size:11px;color:var(--muted);border-radius:11px;padding:4px 6px}.mobile-nav button.active{color:var(--primary-deep);font-weight:650;background:var(--primary-soft)}.mobile-nav button.add{background:var(--primary);color:white;min-width:45px;width:45px;height:45px;border-radius:50%;margin-top:-16px;box-shadow:0 4px 13px #486d5030}.mobile-nav .icon{width:21px;height:21px}.footer{font-size:11px;gap:10px}.toast-stack{bottom:94px;left:18px}.keyboard-grid{grid-template-columns:1fr}.dialog-head,.dialog-body{padding-left:19px;padding-right:19px}.dialog-head h2{font-size:19px}.auth-box{margin:20px 0;padding:23px}.word-toolbar{gap:8px}.word-toolbar input{min-width:100%}.word-toolbar .chips{gap:5px}.large-text .hero-copy h1{font-size:26px}}
@media(max-width:375px){.main{padding-left:11px;padding-right:11px}.brand-name{font-size:15px}.masthead{padding:0 12px}.header-actions .avatar{display:none}.hero-copy h1{font-size:23px}.kpi{padding:12px 10px}.kpi .symbol{width:36px;height:36px}.kpi .symbol .icon{width:23px;height:23px}.analytics-grid{grid-template-columns:1fr}.analytics-grid>.wide-mobile{grid-column:auto}.skill-stamp{min-width:59px;padding:8px}.hero-progress strong{font-size:23px}.page-link{padding:12px}.library-categories{grid-template-columns:1fr 1fr}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{.masthead,.rail,.mobile-nav,.edition-actions,.footer,.btn,.ibtn,.nav-drawer,.toast-stack,.hero,.data-control{display:none!important}.main{margin:0;padding:0}.card{box-shadow:none;break-inside:avoid}.home-main,.home-bottom,.progress-main,.analytics-grid{display:block}.card{margin-bottom:16px}.page{animation:none}body{background:white;color:#111}}

/* English Studio / PULSE — original interface. Existing learning engine, new composition. */
:root{--bg:#eef1f0;--bg-deep:#e8edec;--card:#fff;--ink:#213539;--muted:#65777a;--line:#e4ebea;--soft:#f3f6f5;--primary:#206b72;--primary-deep:#164f56;--primary-bright:#38848a;--primary-soft:#e2f1ec;--sage:#78ab9a;--blue:#83afcb;--blue-soft:#e9f3fa;--clay:#c77f51;--clay-soft:#fff0df;--lav:#ab9bce;--lav-soft:#f0ebf7;--sand:#e8b166;--sand-soft:#faf2db;--danger:#a84540;--gold:#d29f55;--font:'Noto Sans Arabic','Tahoma',sans-serif;--en:'Inter','Arial',sans-serif;--radius:23px;--shadow:0 2px 3px #1e424604,0 12px 28px -20px #1e424628;--shadow-lg:0 18px 44px -20px #1e424630;--grad-primary:linear-gradient(140deg,#2f7980,#1c5c63);--grad-gold:linear-gradient(140deg,#ffe3a2,#daa358)}
html,body{overflow-x:visible;max-width:none}html{scroll-padding-top:30px}body{padding:20px;background:var(--bg);font-size:15px;line-height:1.8;letter-spacing:0;color:var(--ink)}button,input,select,textarea{font-family:var(--font)}h1,h2,h3{font-weight:750;letter-spacing:-.5px}h1{font-size:30px}h2{font-size:23px}h3{font-size:17px}.en,.num{font-family:var(--en)}.num{font-variant-numeric:tabular-nums;letter-spacing:-.9px}.micro{font-size:12.5px}.small{font-size:14.5px}.eyebrow{font-size:12px;letter-spacing:.1em;font-weight:600}.icon{stroke-width:1.65}.btn{min-height:43px;font-size:13.5px;border-radius:13px;padding:9px 16px;border-color:#d9e3e2;box-shadow:none}.btn.primary,.btn.ink{background:var(--primary);border-color:var(--primary);color:#fff}.btn.primary:hover,.btn.ink:hover{background:var(--primary-deep);transform:translateY(-1px)}.btn.soft{background:var(--primary-soft);color:var(--primary-deep)}.btn.ghost{border-color:transparent}.ibtn{width:39px;height:39px;border-radius:12px}.pill,.level{border-radius:8px;font-size:12px}.pill.blue{background:var(--blue-soft);color:#375e7a}.pill.purple{background:var(--lav-soft);color:#63527f}.pill.peach{background:var(--clay-soft);color:#8b5736}.chip{border-radius:20px;border:1px solid var(--line);min-height:35px;background:white}.chip.active{background:var(--primary);border-color:var(--primary);color:#fff}.card{border:1px solid var(--line);border-radius:var(--radius);padding:23px;box-shadow:var(--shadow)}.card-head h3{font-size:18px}.card-head p{font-size:12.5px}.notice{font-size:13.5px;background:var(--soft);border:1px solid var(--line)}.text-btn{color:var(--primary);font-size:12px}.symbol{background:var(--primary-soft);border-radius:16px;box-shadow:inset 0 1px 0 #fff9}.symbol.blue{background:var(--blue-soft);color:#5280a1}.symbol.lav{background:var(--lav-soft);color:#8070a0}.symbol.clay{background:var(--clay-soft);color:#bb835b}input,select,textarea{border-color:#cbd7d7;background:#fff;font-size:14.5px;border-radius:12px}.line{margin:20px 0}.help{font-size:12.5px}.btn:focus-visible,.ibtn:focus-visible,button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #326d83;outline-offset:4px}.btn:active{transform:scale(.98)}
/* App frame: no persistent navigation rail and no scenic hero. */
.pulse-app{max-width:1550px;margin:auto;background:#fcfdfc;min-height:calc(100dvh - 40px);border:1px solid #fff;border-radius:28px;box-shadow:0 20px 80px -48px #36515950;position:relative;overflow:clip}.masthead{height:86px;background:white;position:relative;top:auto;z-index:40;padding:0 29px;gap:26px;direction:rtl;border-bottom:1px solid var(--line)}.brand{min-width:220px;gap:10px;direction:rtl}.brand-name{font-size:20px;font-weight:800;letter-spacing:-.7px}.brand small{font-size:10.5px;letter-spacing:.1em;color:var(--muted);margin-top:3px}.pulse-logo{width:39px;height:43px;display:grid;place-items:center;position:relative;direction:ltr}.pulse-logo i{position:absolute;border-radius:20px;background:#327782;transform:rotate(-22deg);width:10px;height:29px;left:2px;top:12px}.pulse-logo i:nth-child(2){left:14px;height:41px;top:0;background:#79b6b2}.pulse-logo i:nth-child(3){left:26px;height:25px;top:7px;background:#b5a5d7}.top-search{max-width:280px;min-width:100px;min-height:41px;border-radius:12px;background:#f4f7f6;border:0;padding:0 11px}.top-search input{font-size:12.5px;min-height:40px;padding:6px 0}.top-search .youtube-icon{display:none}.primary-nav{display:flex;gap:3px;direction:rtl;margin:auto}.primary-nav button{font-size:13.5px;min-height:40px;border-radius:10px;padding:8px 12px;display:flex;gap:6px;align-items:center}.primary-nav button .icon{width:17px;height:17px}.primary-nav button.active{background:var(--primary-soft);color:var(--primary-deep)}.header-actions{margin:0;gap:7px;direction:rtl}.header-actions .profile-label{display:none}.header-actions>.ibtn{background:#f4f6f5;width:36px;height:36px}.avatar{height:37px;width:37px;font-size:16px;background:#e4edeb;color:#356168;border:1px solid #cfdedb}.rail{display:none}.main{margin:0;max-width:none;width:100%;padding:15px 28px 24px;min-height:calc(100vh - 145px)}.edition-bar{position:relative;left:auto;bottom:auto;margin:0 0 18px;padding:0 1px;background:transparent;border:0;box-shadow:none;font-size:12px}.data-control{background:#f0f3f2;border-radius:7px;padding:2px;gap:0}.data-control button{font-size:11px;min-height:27px;padding:3px 9px}.data-control button.active{background:#fff;color:var(--primary-deep);box-shadow:0 1px 4px #29474715}.data-control .status-dot{display:none}.edition-actions{gap:12px;font-size:12px}.edition-actions button{font-size:12px}.edition-actions .date-label{display:none}.edition-actions #breadcrumb{font-weight:650;color:#4d6469}.footer{margin-top:30px;padding:18px 0 4px;font-size:12px;opacity:.9}.page{animation:pulsePage .24s ease both}.pagehead{margin:12px 0 23px}.hero,.hero.compact{background:none;border:0;box-shadow:none;min-height:0;height:auto;margin:0 0 24px;padding:0;display:block;overflow:visible}.hero:after,.hero:before{display:none}.hero .pulse-page-title{display:flex;align-items:center;gap:16px;justify-content:space-between;direction:rtl}.pulse-page-title h1{font-size:29px;line-height:1.5;margin:7px 0 6px}.pulse-page-title p{font-size:13.5px;color:var(--muted);max-width:780px}.pulse-page-title .eyebrow{font-size:11px;letter-spacing:.1em;color:var(--primary)}.pulse-page-title .hero-actions{margin:0;direction:rtl}.nav-drawer{left:30px;right:auto;top:106px;border-radius:22px;padding:20px;width:315px;border:1px solid var(--line);box-shadow:0 22px 60px #17383c30}.menu-scrim{background:#123b3c33}.nav-item{font-size:13.5px;min-height:44px}.mobile-nav{display:none}
/* Daily composition: agenda / interactive instrument / action sheet. */
.pulse-home{display:grid;grid-template-columns:216px minmax(420px,1fr) 276px;gap:23px;align-items:start;direction:ltr}.pulse-home>*{direction:rtl;min-width:0}.pulse-agenda{padding:7px 0 0 7px}.pulse-agenda h1{font-size:31px;line-height:1.55;margin:10px 0 6px;font-weight:800;letter-spacing:-1px}.pulse-agenda .hello-small{font-size:14.5px;color:var(--muted)}.pulse-agenda .hello-en{font:14.5px/1.65 var(--en);color:#7b8b8f;margin-bottom:20px;letter-spacing:-.2px}.pulse-agenda .btn{width:100%;justify-content:center;font-size:13.5px}.pulse-agenda .btn.apricot{background:#f7c69b;color:#573b26;border-color:#f7c69b;font-weight:750}.pulse-agenda .btn.ghost{margin-top:5px;border:1px solid #dee6e3;background:white}.pulse-calendar{margin:27px 0 0}.pulse-calendar .between{margin-bottom:12px}.pulse-calendar h3{font-size:15px;letter-spacing:0}.pulse-calendar .calendar-nav{display:flex;gap:4px;direction:ltr}.pulse-calendar .calendar-nav button{height:29px;width:29px;border-radius:50%;background:#f0f3f1;color:#5e797c}.pulse-calendar .cal-week,.pulse-calendar .cal-days{display:grid;grid-template-columns:repeat(7,1fr);direction:ltr;gap:4px}.cal-week span{font-size:11px;text-align:center;color:#7b8789;padding-bottom:8px}.cal-days button{font:12.5px var(--en);height:27px;width:100%;border-radius:50%;background:none;position:relative;color:#6e8083;border:1px solid transparent}.cal-days button:hover{background:#e5f0ed}.cal-days button.studied{border-color:#c8ddd5;color:#386b62}.cal-days button.studied:after{content:'';position:absolute;bottom:3px;left:calc(50% - 1px);height:3px;width:3px;background:#8cb6a7;border-radius:50%}.cal-days button.selected{background:#206b72;color:white;border-color:#206b72;box-shadow:0 4px 10px #206b7220}.cal-days button.today{font-weight:800;color:#9e622f;border-color:#efc49c}.cal-days button.selected.today{color:#fff;border-color:transparent}.calendar-caption{font-size:11px;color:#71858a;margin-top:12px;line-height:1.9}.pulse-side-progress{margin-top:22px;padding-top:20px;border-top:1px solid var(--line);display:flex;align-items:center;gap:11px}.pulse-side-progress strong{font:600 27px var(--en);display:block}.pulse-side-progress p{font-size:12.5px;color:var(--muted)}.small-dial{height:59px;width:59px;border-radius:50%;background:conic-gradient(#83b7a6 var(--ring),#e8eeeb 0);position:relative;flex:none;display:grid;place-items:center;box-shadow:inset 0 1px 1px #fff}.small-dial:before{content:'';position:absolute;inset:7px;background:#fcfdfc;border-radius:50%}.small-dial .icon{z-index:1;color:#4a8177;width:23px}.pulse-review-ticket{margin-top:24px;border-radius:19px;padding:21px 18px;background:#24494d;color:white;position:relative;overflow:hidden}.pulse-review-ticket:before{content:'';position:absolute;width:105px;height:105px;border:1px solid #ffffff18;border-radius:50%;left:-49px;top:-40px;box-shadow:0 0 0 14px #ffffff05,0 0 0 29px #ffffff03}.pulse-review-ticket .eyebrow{color:#bfd8d6;font-size:10.5px}.pulse-review-ticket strong{font:500 39px/1 var(--en);display:block;margin:15px 0 7px}.pulse-review-ticket p{color:#d7e6e3;font-size:12.5px}.pulse-review-ticket .btn{background:#fff;color:#274b4d;border:0;width:100%;font-size:12.5px;min-height:35px;margin-top:15px}.pulse-main-column{display:grid;gap:19px}.pulse-instrument{background:#f2f5f4;border:1px solid #e8edeb;border-radius:26px;padding:20px 23px 16px;position:relative;overflow:hidden;box-shadow:inset 0 1px 0 white;min-height:418px}.instrument-top{display:flex;align-items:start;justify-content:space-between;gap:10px;direction:rtl}.instrument-top h2{font-size:20px}.instrument-top p{font-size:12.5px;color:var(--muted);margin-top:3px}.pulse-switch{display:flex;gap:2px;border:1px solid #dde6e3;background:#eaf0ee;border-radius:10px;padding:3px}.pulse-switch button{padding:4px 10px;min-height:29px;font-size:12px;color:#688084;border-radius:7px;white-space:nowrap}.pulse-switch button.active{background:white;box-shadow:0 2px 5px #173b3f10;color:var(--primary)}.instrument-stage{height:296px;position:relative;max-width:590px;margin:auto;direction:ltr}.instrument-stage>svg{height:100%;width:100%;display:block;overflow:visible}.radial-gate{cursor:pointer}.radial-gate:hover .gate-hit,.radial-gate:focus-visible .gate-hit{opacity:.1}.radial-gate:focus-visible{outline:0}.radial-gate:focus-visible .gate-marker{stroke:var(--primary);stroke-width:3}.radial-gate .gate-hit{fill:var(--primary);opacity:0;transition:opacity .16s}.radial-gate .dial-gate-label{font:600 11px var(--font);fill:#314d52}.radial-gate .dial-gate-sub{font:9px var(--font);fill:#6d8185}.dial-center{position:absolute;left:50%;top:44%;transform:translate(-50%,-50%);text-align:center;width:142px}.dial-center .num{font-size:53px;font-weight:550;letter-spacing:-3px;line-height:1.25;color:#29484d}.dial-center .num small{font-size:21px;color:#899e9f;letter-spacing:-1px}.dial-center p{font-size:10px;color:#6f8788;margin-top:4px}.dial-center .en{font-size:8px;letter-spacing:2px;color:#8da1a3;margin-top:8px;display:block}.dial-selected{position:absolute;bottom:0;left:50%;transform:translateX(-50%);font-size:10px;direction:rtl;text-align:center;white-space:nowrap;background:#fff;border:1px solid #dee8e5;padding:6px 13px;border-radius:18px;box-shadow:0 6px 13px -10px #31504c80}.dial-selected b{color:var(--primary);margin-inline-start:5px}.instrument-foot{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #dee7e3;padding-top:12px;margin-top:13px;gap:12px;font-size:12px;color:#75878a}.instrument-foot .tag-note{display:flex;align-items:center;gap:5px}.instrument-foot .tag-note i{width:6px;height:6px;background:#82b4a7;border-radius:50%}.instrument-foot .text-btn{font-size:10px;min-height:25px}.pulse-week-bars{width:100%;height:280px;direction:ltr}.pulse-week-bars text{font:10px var(--en);fill:#6b7e80}.pulse-week-bars .ar{font-family:var(--font);font-size:12px}.pulse-mission-card{background:var(--clay-soft);border:1px solid #f5e3cc;border-radius:23px;padding:19px 21px;position:relative;overflow:hidden;min-height:191px;display:grid;grid-template-columns:1fr 150px;direction:rtl;gap:12px;align-items:center}.pulse-mission-card h3{font-size:21px;margin:6px 0 7px}.pulse-mission-card p{font-size:12.5px;color:#8a7563;max-width:285px;margin-bottom:11px;line-height:1.9}.pulse-mission-card .eyebrow{color:#ac7853;font-size:10.5px}.pulse-mission-card .btn{font-size:12.5px;min-height:35px;padding:7px 12px;background:#243f42;color:#fff;border-color:transparent}.pulse-graphic{position:relative;height:144px;direction:ltr;user-select:none}.pulse-graphic .tile{position:absolute;width:105px;height:69px;display:flex;align-items:center;justify-content:center;gap:5px;border:1px solid #fff8;box-shadow:5px 10px 14px -9px #57665855;transition:transform .25s;border-radius:19px;background:#97beb8;color:#254e50;transform:rotate(-12deg);top:11px;left:5px;font:700 16px var(--en)}.pulse-graphic .tile:after{content:'';position:absolute;bottom:-5px;left:18px;width:16px;height:16px;background:inherit;transform:rotate(28deg);border-radius:3px}.pulse-graphic .tile+ .tile{background:#a9cadd;top:65px;left:40px;transform:rotate(8deg);color:#37576c}.pulse-graphic .tile .icon{width:30px;height:30px}.pulse-graphic .tiny-star{position:absolute;right:0;top:9px;color:#daa267;font-size:32px;line-height:1}.pulse-graphic .p-dot{position:absolute;width:10px;height:10px;background:#c6b4dc;border-radius:50%;left:10px;bottom:0}.pulse-mission-card:hover .tile:first-child{transform:translateY(-3px) rotate(-9deg)}.pulse-mission-card:hover .tile+.tile{transform:translateY(2px) rotate(5deg)}
/* Action sheet and modular tactile detail. */
.pulse-action-column{display:grid;gap:20px}.pulse-tasks{border:1px solid #e1e9e6;padding:20px 19px 15px;border-radius:23px;background:white;box-shadow:0 9px 28px -20px #24505125;position:relative}.pulse-tasks:before{content:'';position:absolute;inset:7px -6px -7px 6px;border:1px dashed #dce5e1;border-radius:23px;z-index:-1}.pulse-tasks h3{font-size:18px}.pulse-tasks .sub{font-size:12px;color:#728b8d;margin:4px 0 17px}.pulse-task{display:grid;grid-template-columns:35px 1fr 20px;gap:10px;align-items:center;direction:ltr;padding:13px 0;border-bottom:1px solid #eff2f0;width:100%;text-align:right;background:none;min-height:75px}.pulse-task:last-child{border-bottom:0}.pulse-task .task-icon{width:35px;height:38px;border-radius:12px;display:grid;place-items:center;background:#e8f1f7;color:#709bb5}.pulse-task:nth-of-type(2) .task-icon{background:#efeaf6;color:#9c86bd}.pulse-task:nth-of-type(3) .task-icon{background:#fff0de;color:#c39160}.pulse-task:nth-of-type(4) .task-icon{background:#e6f2eb;color:#78a38d}.task-icon .icon{width:19px;height:19px}.pulse-task>span:nth-child(2){direction:rtl;text-align:right}.pulse-task b{display:block;font-size:12.5px;font-weight:600}.pulse-task small{font-size:11px;color:#829195;display:block;margin-top:3px}.pulse-task .status-square{height:18px;width:18px;border-radius:6px;border:1px solid #cbd8d4;display:grid;place-items:center}.pulse-task.done .status-square{background:#83ad93;border-color:#83ad93;color:white}.pulse-task .status-square .icon{height:12px;width:12px}.pulse-task:hover b{color:var(--primary)}.pulse-task:focus-visible{outline-offset:1px}.pulse-session-control{background:#f4f5f5;border:1px solid #e8eceb;border-radius:21px;padding:18px 20px;min-height:170px}.pulse-session-control .between h3{font-size:15px}.session-knob{display:flex;align-items:center;gap:16px;margin-top:16px;direction:ltr}.session-knob .knob{height:81px;width:81px;border-radius:50%;flex:none;display:grid;place-items:center;background:#f9fbfa;box-shadow:5px 5px 10px #dce3e3,-5px -5px 10px #fff,inset 0 0 0 1px #edf2ef;position:relative}.session-knob .knob:before{content:'';position:absolute;inset:8px;border:1px dashed #bdcecb;border-radius:50%}.session-knob .knob .num{font-size:27px;color:#3c5e61}.session-knob .knob .num small{font-size:12px;margin-left:2px;color:#92a09e}.knob-description{text-align:right;direction:rtl;flex:1}.knob-description p{font-size:12px;color:#7b8e91;line-height:1.9}.dose-options{display:flex;gap:5px;margin-top:8px}.dose-options button{flex:1;font:12px var(--en);min-height:30px;border-radius:8px;background:#fff;border:1px solid #dce7e5}.dose-options button.active{background:var(--primary);color:#fff;border-color:var(--primary)}.pulse-seals{padding:0 4px}.pulse-seals h3{font-size:16px}.pulse-seals>.between .text-btn{font-size:10px}.seal-items{display:flex;justify-content:space-between;gap:9px;margin-top:12px}.pulse-seal{background:none;padding:0;display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0;font-size:11px;color:#7f9193}.seal-symbol{width:52px;height:57px;display:grid;place-items:center;background:#e5eee9;clip-path:polygon(50% 0,94% 24%,94% 76%,50% 100%,6% 76%,6% 24%);position:relative;color:#5f8a7b}.seal-symbol:before{content:'';position:absolute;inset:4px;background:#ffffff65;clip-path:inherit}.seal-symbol .icon{height:24px;width:24px;z-index:1}.pulse-seal:nth-child(2) .seal-symbol{background:#f5e7ce;color:#bb9460}.pulse-seal:nth-child(3) .seal-symbol{background:#eae4f1;color:#9e8db7}.pulse-seal.locked{opacity:.55}.pulse-seal:hover .seal-symbol{transform:translateY(-3px);transition:transform .2s}.pulse-foot-analytics{grid-column:2/4;display:grid;grid-template-columns:1.8fr 1fr;gap:22px;border-top:1px solid var(--line);padding-top:21px;margin-top:0;direction:ltr}.pulse-foot-analytics>*{direction:rtl;min-width:0}.pulse-activity{display:grid;grid-template-columns:85px 1fr;direction:ltr;gap:19px;align-items:center}.activity-score{direction:rtl;text-align:right}.activity-score strong{font:600 33px var(--en);color:#2d565b}.activity-score p{font-size:12px;line-height:1.8;color:#7b9093;margin-top:4px}.activity-label{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.activity-label h3{font-size:16px}.activity-label .text-btn{font-size:10px}.pulse-mini-bars{display:flex;align-items:end;justify-content:space-around;gap:12px;height:112px;direction:ltr;padding:12px 8px 22px;position:relative;background:repeating-linear-gradient(to top,transparent,transparent 24px,#eef2ef 24px,#eef2ef 25px)}.pulse-mini-bars button{height:100%;width:26px;flex:1;max-width:42px;display:flex;align-items:center;justify-content:end;flex-direction:column;padding:0;background:none;position:relative}.pulse-mini-bars i{width:100%;height:var(--h);border-radius:10px 10px 3px 3px;background:var(--c);position:relative;box-shadow:inset 1px 1px 1px #fff7}.pulse-mini-bars i:after{content:'';position:absolute;inset:0;background:repeating-linear-gradient(-28deg,transparent 0 6px,#ffffff38 6px 7px);border-radius:inherit}.pulse-mini-bars b{font:11px var(--en);position:absolute;bottom:calc(var(--h) + 3px);color:#739197}.pulse-mini-bars small{position:absolute;bottom:-19px;white-space:nowrap;font-size:10.5px;color:#81908f}.pulse-mini-bars button:hover i{filter:brightness(.93)}.pulse-forecast-teaser{background:#eef4f7;border:1px solid #e1ebef;padding:19px 20px;border-radius:20px;display:flex;gap:14px;align-items:center}.pulse-forecast-teaser h3{font-size:15px}.pulse-forecast-teaser p{font-size:12px;color:#7e9398;line-height:1.9;margin-top:7px}.pulse-forecast-teaser strong{font:600 28px var(--en);display:block;color:#4d7d92;margin:6px 0}.pulse-forecast-teaser small{font:12.5px var(--font);margin-left:5px}.pulse-forecast-teaser svg{width:87px;height:87px;flex:none}.pulse-tail{grid-column:1/-1;display:flex;justify-content:space-between;gap:15px;border-top:1px solid var(--line);padding:17px 0 0;margin-top:0;font-size:12.5px;color:#819190}.pulse-tail .en{font-size:12.5px;font-style:italic}
/* Progress: one large analytical plane, dial + changeable forecast. */
.pulse-progress-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(270px,.9fr);gap:22px;direction:ltr}.pulse-progress-grid>*{direction:rtl;min-width:0}.pulse-chart-plane{background:#f3f7f6;border:1px solid #e5ece9;border-radius:26px;padding:25px}.pulse-chart-plane h2{font-size:22px}.pulse-chart-plane .chart-svg{min-height:280px;margin-top:18px}.pulse-chart-plane .chart-svg text{font-size:11px}.pulse-chart-plane .curve-line{stroke:var(--primary);stroke-width:3;filter:none}.pulse-chart-plane .legend-row{font-size:11px;gap:18px}.pulse-chart-metrics{display:flex;gap:25px;border-bottom:1px solid #dde8e5;margin:20px 0 8px;padding-bottom:18px;flex-wrap:wrap}.pulse-chart-metrics strong{font:600 30px var(--en);display:block}.pulse-chart-metrics span{font-size:11px;color:#748b8b}.pulse-pace-card{padding:24px;background:#fff;border-radius:23px;border:1px solid var(--line)}.pulse-pace-card .pace-gauge{max-height:194px;margin:13px auto}.pulse-pace-card h3{font-size:19px}.pulse-pace-card .pace-facts{font-size:12.5px;background:var(--soft)}.pulse-pace-card .forecast-date{background:#e8f1f6;margin-top:20px}.pulse-pace-card .forecast-date strong{font-size:25px;color:#527b93}.pulse-pace-card input{width:100%}.pulse-pace-card .scenario-slider{font-size:12.5px}.pulse-metrics-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:21px;margin-top:22px}.pulse-metrics-grid .card{padding:22px;box-shadow:none}.pulse-metrics-grid h3{font-size:16px}.pulse-evidence{display:grid;gap:14px;margin-top:20px}.pulse-evidence-row{display:grid;grid-template-columns:90px 1fr 53px;align-items:center;gap:8px;font-size:12.5px}.pulse-evidence-row .e-track{height:8px;border-radius:9px;background:#e9efec;direction:ltr}.pulse-evidence-row .e-track>i{display:block;background:var(--e-color);height:8px;border-radius:9px}.pulse-evidence-row b{font:600 13.5px var(--en);text-align:left}.pulse-metrics-grid .week-activity{gap:6px}.pulse-metrics-grid .week-stack{height:108px}.pulse-analysis-link{font-size:12.5px;color:#688d94;margin-top:15px;display:block}.pulse-data-stamp{font-size:12px;color:#73868b;margin-top:13px}
/* Other workspaces share the new chrome, but not the home layout. */
.studio-grid{grid-template-columns:minmax(0,1fr) 315px;gap:22px}.studio-grid>.card{box-shadow:none;padding:24px;border-radius:25px}.studio-lead{grid-template-columns:1.3fr 1fr;gap:24px}.lesson-intro{display:block!important}.lesson-intro h2{font-size:24px;direction:ltr;text-align:left}.lesson-intro .en{font-size:12.5px}.player-wrap{border-radius:18px;min-height:220px;background:#234b52;box-shadow:none;aspect-ratio:16/10}.player-wrap>img{opacity:.65;filter:saturate(.5)}.big-play{border:1px solid #ffffff55;background:#ffffffec;color:var(--primary);box-shadow:0 0 0 9px #ffffff12}.player-demo-art .serif{font-size:28px}.player-top .eyebrow{font-size:10.5px}.stage-path{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:13px 0}.stage-path button{background:#f5f8f6;font-size:13.5px;min-height:44px;border:1px solid #e7eeea}.stage-path button.active{background:var(--primary);color:#fff}.stage-path button.active span{border-color:#bfd5d3}.studio-tab-area>.tabs{background:#f1f5f3;border-radius:13px;padding:5px;margin-bottom:20px;gap:3px}.tabs button,.segmented button{min-height:34px;font-size:12.5px}.studio-tab-area>.tabs button.active{background:white;color:var(--primary);box-shadow:0 2px 6px #24454d15}.transcript-scroll{max-height:460px;padding:4px}.cue{padding:15px 16px;min-height:80px;margin-bottom:7px;border-bottom:1px solid #e9eeeb}.cue.active{background:#eaf4f1;border:1px solid #d4e5de}.cue-text{font-size:15px;line-height:1.95}.cue-ar{font-size:13.5px}.cue-tools button{font-size:12px;min-height:30px}.cue-time{font-size:12px}.term-link{background:#d9e9ee;border-bottom:1px dashed #89b1bf;color:#315966}.studio-aside .card{box-shadow:none;padding:22px}.studio-aside .info-grid>div{font-size:12.5px;padding:12px}.source-quote{background:#eef4f3;border-left-color:#9dbfb4}.library-categories{grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}.category-tile{border-radius:16px}.category-tile img{height:72px;filter:saturate(.5)}.category-tile span{font-size:12.5px;min-height:50px}.library-tools{margin:24px 0;gap:10px}.library-tools select{min-height:44px}.lesson-grid{gap:20px}.lesson-card{border-radius:21px;box-shadow:0 8px 23px -19px #35585d55}.lesson-cover{background:#e9f1f4}.lesson-cover img{filter:saturate(.5)}.lesson-card .lesson-cover{height:188px}.lesson-body{padding:21px}.lesson-title{font-size:17px}.lesson-body p{font-size:13.5px}.lesson-cover strong{font-size:24px}.lesson-card .pulse-cover{height:180px;padding:22px;background:var(--cover);color:var(--cover-ink);position:relative;overflow:hidden;direction:ltr}.pulse-cover>span{font:10.5px var(--en);letter-spacing:.1em}.pulse-cover strong{font:600 27px/1.15 var(--en);display:block;max-width:75%;margin-top:24px;letter-spacing:-.7px;position:relative;z-index:1}.pulse-cover .icon{position:absolute;width:100px;height:100px;right:-15px;bottom:8px;opacity:.22;stroke-width:1}.pulse-cover:after{content:'';position:absolute;width:135px;height:135px;border-radius:50%;border:20px solid #ffffff30;top:-45px;right:-30px}.pulse-cover .play-circle{position:absolute;bottom:16px;right:16px;background:white;width:32px;height:32px;border-radius:50%;display:grid;place-items:center}.pulse-cover .play-circle .icon{position:static;width:15px;height:15px;opacity:1;stroke-width:1.6}.lesson-grid.list .pulse-cover{width:225px;flex:none;height:175px}.vocab-layout{grid-template-columns:290px minmax(0,1fr) 285px;gap:20px}.word-list{max-height:545px}.word-list-item{padding:14px 9px}.word-list-item.active{background:#e6f1ed;border-color:#b5d3c6}.word-list-item .en{font-size:15px}.word-detail{padding:27px}.word-detail .term{font-size:34px}.detail-section{margin-top:23px}.detail-section p{font-size:14.5px}.skill-toggle{padding:13px 7px;font-size:12.5px}.network-svg{height:223px}.review-layout{gap:23px;grid-template-columns:220px minmax(0,1.4fr) 280px}.review-stage{box-shadow:0 13px 30px -22px #27444f40;border-radius:25px;background:#fdfefd;min-height:357px;padding:31px}.review-stage h2{font-size:26px}.review-mode{font-size:13.5px;min-height:66px}.review-mode.active{border-radius:14px}.review-mode small{font-size:12px}.flash-answer{background:#eaf4ee}.flash-term{font-size:38px}.ratings .btn{min-height:56px}.badge-grid{gap:18px}.badge-item{border-radius:22px;padding:25px}.medal{height:75px;width:67px}.badge-item h4{font-size:14.5px}.badge-item p{font-size:12.5px}.settings-grid .card{box-shadow:none}.pages-grid{gap:15px}.page-link{border-radius:18px;background:#fff;font-size:14.5px;min-height:89px}.practice-tile p{font-size:13.5px}.quiz-card{box-shadow:none;border-radius:26px}.quiz-context{background:#e9f2f0;border-radius:18px}.quiz-option{min-height:58px;font-size:14.5px;border-radius:14px}.form-grid{gap:18px}.setting-row{min-height:83px}.setting-row h4{font-size:14.5px}.toggle.on{background:var(--primary)}.table-scroll{border-radius:16px}th,td{padding:14px;font-size:13.5px}.progress span{background:var(--primary)}.chart-svg text{font-size:11px}.chart-foot,.chart-foot button{font-size:10px}.mini-bar-col i{min-height:0}.event-row{min-height:58px}.chart-tooltip{background:#254a51}.toast{background:#254a51}.toast-stack{bottom:30px}.confetti{display:none}dialog{border-radius:24px;box-shadow:0 30px 90px #153a443b}.dialog-head{padding:23px 26px 18px}.dialog-body{padding:25px 26px}.dialog-head h2{font-size:22px}.pulse-form-note{padding:12px 14px;background:var(--blue-soft);font-size:13.5px;border-radius:10px}
/* Mission arena: challenge rather than decorative checkboxes. */
.pulse-arena{display:grid;grid-template-columns:220px minmax(0,1fr) 260px;gap:24px;direction:ltr;align-items:start}.pulse-arena>*{direction:rtl;min-width:0}.mission-route{padding:18px 0}.mission-route h3{font-size:16px;margin-bottom:17px}.gate-route{display:flex;gap:11px;align-items:center;min-height:65px;border-bottom:1px solid var(--line);color:#7a8e8e;font-size:13.5px;width:100%;padding:12px 8px;text-align:right;border-radius:12px}.gate-route .gate-number{height:30px;width:30px;flex:none;background:#f0f4f1;border:1px solid #dce6e1;display:grid;place-items:center;border-radius:50%;font:12.5px var(--en)}.gate-route.active{background:#e4f0ed;color:var(--primary);border-color:transparent;font-weight:700}.gate-route.solved .gate-number{background:#7ca998;color:white;border-color:transparent}.gate-route small{font-size:11px;display:block;margin-top:3px;font-weight:400}.mission-route .eyebrow{font-size:10.5px;letter-spacing:.1em}.mission-route .mission-word{font:600 28px/1.2 var(--en);margin:18px 0 24px;direction:ltr;text-align:left;color:#648e8f;letter-spacing:-.8px}.mission-stage{padding:29px;background:white;border:1px solid #dfe8e3;border-radius:27px;box-shadow:0 12px 40px -30px #1a454980}.mission-stage .stage-meta{display:flex;justify-content:space-between;gap:10px;align-items:center;color:#7e9293;font-size:12px;margin-bottom:20px}.mission-stage h2{font-size:26px;line-height:1.55}.mission-stage>.sub{font-size:13.5px;color:#7c9290;margin-top:9px;line-height:1.9}.mission-context{background:#f1f6f4;border-radius:18px;padding:22px 23px;margin:22px 0;font:500 19px/1.8 var(--en);direction:ltr;text-align:left;color:#3c5b60}.mission-context.ar{font:14px/2 var(--font);direction:rtl;text-align:right}.mission-answer-options{display:grid;gap:10px}.mission-answer-option{display:flex;align-items:center;gap:13px;border:1px solid #dce5e1;border-radius:14px;padding:13px 15px;min-height:55px;text-align:right;width:100%;font-size:14.5px}.mission-answer-option .num{height:24px;width:24px;border:1px solid #dae5df;border-radius:7px;display:grid;place-items:center;font-size:12px;color:#90a09c}.mission-answer-option.selected{background:#e6f1ec;border-color:#a3c7b7;color:#285b51}.mission-order-target{border:1.5px dashed #bfcfc8;background:#f7faf8;min-height:98px;padding:16px;border-radius:18px;display:flex;gap:8px;flex-wrap:wrap;direction:ltr;align-items:center}.mission-order-target .empty-order{font:13.5px var(--font);direction:rtl;color:#8a9c99;margin:auto}.mission-tokens{display:flex;flex-wrap:wrap;gap:9px;direction:ltr;margin:20px 0}.word-piece{padding:11px 15px;border-radius:11px;background:#eef3f8;border:1px solid #d4e0e6;border-bottom:3px solid #cad8df;font:600 15px var(--en);min-height:44px;color:#416778;transition:transform .15s,background .15s}.word-piece:hover{transform:translateY(-2px);background:#e3eff5}.word-piece:disabled{opacity:.3}.mission-order-target .word-piece{background:white;color:#285d60;border-color:#c1d8d0}.mission-match{position:relative;display:grid;grid-template-columns:1fr 70px 1fr;direction:ltr;gap:0;margin:23px 0}.match-side{display:grid;gap:13px;position:relative;z-index:2}.match-side button{min-height:57px;background:white;border:1px solid #dfe7e3;border-radius:14px;font:600 13.5px/1.6 var(--en);padding:10px;text-align:center}.match-side.ar button{font:13.5px/1.7 var(--font)}.match-side button.paired{background:#e8f2ed;border-color:#adc9b9}.match-side button.selected{box-shadow:0 0 0 2px #72a595;border-color:#72a595}.match-side button:disabled{opacity:1}.match-wires{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:1}.match-wires path{fill:none;stroke:#83ab99;stroke-width:2.5;stroke-linecap:round;stroke-dasharray:250;animation:wireDraw .45s ease-out both}.mission-match .match-side:first-child{grid-column:1}.mission-match .match-side:last-child{grid-column:3}.mission-input{width:100%;min-height:65px!important;font:600 22px var(--en);background:#f8fbf9;border:1px solid #c5d9d0;border-radius:15px;padding:17px;direction:ltr;text-align:left}.mission-toolbar{display:flex;justify-content:space-between;gap:13px;align-items:center;border-top:1px solid var(--line);margin-top:26px;padding-top:20px;flex-wrap:wrap}.mission-toolbar .btn{font-size:13.5px}.mission-hint{margin-top:15px;padding:15px;border-radius:12px;background:#fbf0df;font-size:13.5px;color:#937545}.mission-feedback{background:#edf5ef;border:1px solid #cfe0d4;border-radius:17px;padding:19px;margin-top:20px;animation:pulsePage .25s ease}.mission-feedback.wrong{background:#fcf0e7;border-color:#edd7c5}.mission-feedback h3{font-size:16px}.mission-feedback p{font-size:13.5px;margin-top:8px;color:#658075}.mission-feedback.wrong p{color:#8c7261}.mission-feedback small{font-size:12px;color:#89958c;display:block;margin-top:9px}.mission-note{padding:22px;border-radius:20px;background:#eef3f6;border:1px solid #e0eaee}.mission-note h3{font-size:16px;margin-bottom:10px}.mission-note p{font-size:13.5px;color:#6c8791;line-height:2}.mission-note .btn{width:100%;margin-top:15px;font-size:12.5px}.mission-coins{display:flex;align-items:center;gap:13px;margin-top:22px}.coin{height:48px;width:48px;border-radius:50%;background:#f5deb5;color:#b58337;border:5px solid #faeacb;display:grid;place-items:center;box-shadow:0 4px 13px #e7d0a328}.coin .icon{width:23px;height:23px}.mission-coins b{font:600 29px var(--en);display:block}.mission-coins small{font-size:12px;color:#7b9091}.mission-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:20px}.mission-gallery .pulse-mission-card{display:block;min-height:260px}.mission-gallery .pulse-graphic{height:110px;width:130px;float:left;transform:scale(.75);transform-origin:bottom left}.mission-gallery .pulse-mission-card h3{font-size:24px;margin-top:16px}.mission-gallery .pulse-mission-card p{max-width:250px}.mission-gallery .pulse-mission-card:nth-child(2){background:#e8f3ed;border-color:#d6e6dc}.mission-gallery .pulse-mission-card:nth-child(3){background:#eef0f8;border-color:#e0e3ee}.mission-gallery .pulse-mission-card .btn{margin-top:9px}.mission-result{max-width:850px;margin:auto;background:#fff;border:1px solid var(--line);border-radius:28px;padding:36px;text-align:center}.mission-result .result-medal{margin:0 auto 22px;height:83px;width:76px;display:grid;place-items:center;background:#e7d5a8;color:#80682f;clip-path:polygon(50% 0,96% 24%,96% 76%,50% 100%,4% 76%,4% 24%)}.result-medal .icon{height:38px;width:38px}.mission-result h2{font-size:31px}.mission-result .mission-summary{display:grid;grid-template-columns:repeat(3,1fr);margin:25px 0 20px;gap:15px}.mission-summary>div{padding:20px 10px;background:#f4f7f5;border-radius:18px}.mission-summary strong{display:block;font:600 31px var(--en)}.mission-summary small{font-size:12.5px;color:#7e9390}.mission-compare{display:flex;justify-content:center;gap:28px;align-items:center;padding:18px;background:#eaf2f6;border-radius:16px;margin-bottom:20px;font-size:13.5px}.mission-compare .num{font-size:20px}.mission-result textarea{text-align:left;direction:ltr;min-height:100px;font-size:16px}.mission-result .field{text-align:right}.mission-result .mission-result-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin:22px 0}.new-activity{position:absolute;right:19px;top:15px;width:7px;height:7px;background:#e0b76d;border-radius:50%}.mission-live-only{font-size:12px;color:#869695;margin-top:17px}.pulse-backup-controls{display:flex;gap:10px;flex-wrap:wrap;margin-top:15px}.pulse-hint-link{font-size:12.5px;color:#6e898e;text-decoration:underline;text-underline-offset:4px}
@keyframes pulsePage{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}@keyframes wireDraw{from{stroke-dashoffset:250}to{stroke-dashoffset:0}}@keyframes gateConfirm{0%{transform:scale(.95)}60%{transform:scale(1.05)}100%{transform:scale(1)}}
/* Dark appearance remains a user option; palette has its own contrast, not inverted media. */
body[data-theme=dark]{--bg:#16262a;--card:#213338;--ink:#e7efed;--muted:#a0b6b6;--line:#35494b;--soft:#2c4144;--primary:#83b9b2;--primary-deep:#b7dcd7;--primary-soft:#354f50;--blue-soft:#324b59;--clay-soft:#514539;--lav-soft:#49475c;--shadow:none}.pulse-app:has(body){display:block}body[data-theme=dark] .pulse-app,body[data-theme=dark] .main{background:#1c3034}body[data-theme=dark] .masthead,body[data-theme=dark] .pulse-tasks,body[data-theme=dark] .mission-stage,body[data-theme=dark] .mission-result,body[data-theme=dark] .pulse-pace-card{background:var(--card)}body[data-theme=dark] .pulse-instrument,body[data-theme=dark] .pulse-session-control,body[data-theme=dark] .pulse-chart-plane{background:#2b4246;border-color:#41585a}body[data-theme=dark] .dial-center .num,body[data-theme=dark] .pulse-page-title h1,body[data-theme=dark] .brand-name,body[data-theme=dark] .radial-gate .dial-gate-label{color:var(--ink);fill:var(--ink)}body[data-theme=dark] .dial-center p,body[data-theme=dark] .instrument-top p,body[data-theme=dark] .instrument-foot{color:#adc5c6}body[data-theme=dark] .dial-selected,body[data-theme=dark] .pulse-switch button.active,body[data-theme=dark] .dose-options button{background:#20353a;color:#d0e0dc}body[data-theme=dark] .pulse-mission-card{background:#4b443c}body[data-theme=dark] .pulse-mission-card p{color:#d4c6b8}body[data-theme=dark] .session-knob .knob{background:#2a4146;box-shadow:4px 4px 9px #172c30,-4px -4px 9px #395056}body[data-theme=dark] .session-knob .knob .num{color:#d0e5e3}body[data-theme=dark] .pulse-forecast-teaser,body[data-theme=dark] .mission-note{background:#2a414e;border-color:#3c5660}body[data-theme=dark] .mission-context,body[data-theme=dark] .mission-summary>div{background:#2b4245;color:#d1e5e1}body[data-theme=dark] .match-side button,body[data-theme=dark] .mission-input,body[data-theme=dark] .mission-order-target{background:#233b40;color:#dceae4}body[data-theme=dark] .btn.primary,body[data-theme=dark] .btn.ink{color:#15383b}body[data-theme=dark] .pulse-mini-bars{background:none}
/* A readable reflow, not a scaled desktop. */
@media(min-width:1650px){body{padding:30px}.pulse-app{max-width:1600px}.main{padding:19px 35px 30px}.pulse-home{grid-template-columns:235px minmax(0,1fr) 295px;gap:30px}.pulse-instrument{min-height:445px}.instrument-stage{height:320px}.pulse-agenda h1{font-size:35px}.pulse-tasks{padding:25px}.pulse-task{min-height:82px}.pulse-mission-card{min-height:205px}.pulse-foot-analytics{gap:30px}.masthead{padding:0 35px}}
@media(max-width:1250px){body{padding:14px}.masthead{padding:0 22px;gap:16px}.brand{min-width:195px}.brand-name{font-size:17px}.primary-nav button{font-size:12.5px;padding:8px 10px}.primary-nav button .icon{display:none}.top-search{max-width:190px}.main{padding:14px 22px 25px}.pulse-home{grid-template-columns:185px minmax(0,1fr) 243px;gap:19px}.pulse-agenda{padding-left:0}.pulse-agenda h1{font-size:27px}.pulse-instrument{padding:18px 16px}.instrument-top h2{font-size:18px}.instrument-stage{height:272px}.pulse-instrument{min-height:397px}.pulse-tasks{padding:18px 15px}.pulse-task{gap:7px;grid-template-columns:29px 1fr 18px;min-height:72px}.pulse-task .task-icon{width:29px}.pulse-task b{font-size:12px}.pulse-mission-card{grid-template-columns:1fr 118px;padding:19px}.pulse-graphic{transform:scale(.84);transform-origin:center}.pulse-mission-card h3{font-size:20px}.pulse-mission-card p{font-size:12px}.pulse-foot-analytics{grid-template-columns:1.5fr 1fr;gap:15px}.pulse-forecast-teaser{padding:17px;gap:8px}.pulse-forecast-teaser svg{width:68px}.pulse-activity{grid-template-columns:60px 1fr;gap:10px}.activity-score strong{font-size:27px}.pulse-mini-bars{gap:9px}.pulse-mini-bars small{font-size:10.5px}.studio-grid{grid-template-columns:minmax(0,1fr) 265px;gap:18px}.studio-grid>.card{padding:19px}.studio-lead{grid-template-columns:1fr 1fr;gap:17px}.lesson-intro h2{font-size:20px}.player-wrap{min-height:220px}.studio-aside .card{padding:17px}.vocab-layout{grid-template-columns:260px minmax(0,1fr)}.vocab-layout>.vocab-analytics{grid-column:1/-1;grid-template-columns:1fr 1fr}.review-layout{grid-template-columns:185px minmax(0,1fr) 240px;gap:15px}.pulse-arena{grid-template-columns:180px minmax(0,1fr) 223px;gap:17px}.mission-stage{padding:24px}.mission-stage h2{font-size:24px}.mission-match{grid-template-columns:1fr 44px 1fr}.pulse-metrics-grid{gap:15px}.pulse-metrics-grid .card{padding:18px}}
@media(max-width:1020px){.top-search{display:none}.primary-nav{margin:auto}.masthead{height:79px}.pulse-home{grid-template-columns:190px minmax(0,1fr);gap:23px}.pulse-main-column{grid-column:2}.pulse-action-column{grid-column:1/-1;grid-template-columns:1.7fr 1fr;align-items:start}.pulse-tasks{grid-row:1/3}.pulse-instrument{min-height:393px}.instrument-stage{height:278px}.pulse-foot-analytics{grid-column:1/-1;grid-template-columns:1.5fr 1fr}.pulse-agenda .pulse-review-ticket{margin-top:20px}.pulse-tail{font-size:12px}.pulse-task b{font-size:13.5px}.pulse-task small{font-size:12px}.pulse-action-column .pulse-task{min-height:74px}.studio-grid{grid-template-columns:1fr}.studio-aside{grid-template-columns:1fr 1fr;gap:18px}.studio-lead{grid-template-columns:1.3fr 1fr}.pulse-progress-grid{grid-template-columns:minmax(0,1.5fr) 270px;gap:17px}.pulse-chart-plane{padding:22px}.pulse-chart-plane .chart-svg{min-height:237px}.pulse-metrics-grid{grid-template-columns:1fr 1fr}.pulse-metrics-grid>.card:last-child{grid-column:1/-1}.pulse-arena{grid-template-columns:170px minmax(0,1fr)}.pulse-arena>.mission-aside{grid-column:1/-1;display:flex;gap:20px;align-items:center}.mission-note{flex:1}.mission-aside .mission-coins{margin:0 20px}.mission-gallery{gap:14px}.mission-gallery .pulse-mission-card{padding:20px}.mission-gallery .pulse-mission-card h3{font-size:19px}.review-layout{grid-template-columns:190px 1fr}.review-layout>.review-aside{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:20px}.pages-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){body{padding:0;background:#fcfdfc}.pulse-app{border:0;border-radius:0;min-height:100dvh;overflow:clip}.masthead{height:69px;padding:0 17px;gap:12px;position:relative}.brand{min-width:0;flex:1;gap:9px}.brand-name{font-size:18px}.brand small{font-size:10px;letter-spacing:.1em}.pulse-logo{transform:scale(.85);width:35px}.primary-nav{display:none}.header-actions .avatar{width:32px;height:32px}.header-actions .ibtn{width:32px;height:32px}.header-actions .notify{display:none}.main{padding:12px 17px 100px}.edition-bar{margin-bottom:15px;gap:7px;font-size:11px}.edition-actions{gap:6px}.edition-actions #breadcrumb{display:none}.data-control button{font-size:11px;min-height:27px;padding:3px 7px}.source-caption{display:none}.pulse-home{display:flex;flex-direction:column;gap:18px;direction:rtl}.pulse-home>*{width:100%}.pulse-agenda{padding:0;display:grid;grid-template-columns:1fr auto;gap:2px 13px}.pulse-agenda>.eyebrow{grid-column:1/-1;font-size:10.5px;letter-spacing:.1em}.pulse-agenda h1{font-size:29px;margin:5px 0 0;grid-column:1;line-height:1.5}.pulse-agenda .hello-small{font-size:12.5px}.pulse-agenda .hello-en{font-size:12px;margin:7px 0 0;grid-column:1}.pulse-agenda>.btn.apricot{grid-column:2;grid-row:2/4;align-self:center;min-width:96px;max-width:110px;font-size:12px;min-height:41px;padding:8px 11px}.pulse-agenda>.btn.ghost,.pulse-calendar,.pulse-side-progress,.pulse-review-ticket{display:none}.pulse-main-column{display:grid;gap:17px}.pulse-instrument{padding:17px 15px 14px;min-height:0;border-radius:23px}.instrument-top h2{font-size:18px;line-height:1.6}.instrument-top p{font-size:12px;margin-top:2px;max-width:200px}.pulse-switch button{font-size:11px;padding:4px 8px;min-height:28px}.instrument-stage{height:274px;max-width:420px;margin:3px auto 0}.dial-center{top:44%;width:120px}.dial-center .num{font-size:48px}.dial-center .num small{font-size:19px}.dial-center p{font-size:9px}.dial-center .en{font-size:7px;letter-spacing:1.5px}.dial-selected{font-size:9px;padding:5px 11px;max-width:97%;overflow:hidden;text-overflow:ellipsis}.radial-gate .dial-gate-label{font-size:12px}.radial-gate .dial-gate-sub{font-size:10px}.instrument-foot{font-size:11px;margin-top:13px;padding-top:10px;gap:6px}.instrument-foot .text-btn{font-size:9px}.pulse-mission-card{border-radius:21px;padding:20px;min-height:187px;grid-template-columns:1fr 100px;gap:6px}.pulse-mission-card h3{font-size:23px}.pulse-mission-card p{font-size:12.5px;margin-bottom:12px}.pulse-graphic{transform:scale(.68);transform-origin:center left;left:-3px;width:142px}.pulse-mission-card .btn{font-size:12.5px;min-height:39px;padding:7px 13px}.pulse-action-column{display:grid;grid-template-columns:1fr;gap:18px}.pulse-tasks{padding:20px;border-radius:23px;grid-row:auto}.pulse-tasks h3{font-size:19px}.pulse-task{grid-template-columns:38px 1fr 23px;gap:12px;padding:13px 0}.pulse-task .task-icon{width:38px;height:40px}.pulse-task b{font-size:13.5px}.pulse-task small{font-size:12px}.pulse-task .status-square{width:22px;height:22px}.pulse-session-control{display:grid;grid-template-columns:1fr 1.2fr;gap:15px;align-items:center;padding:19px;min-height:142px}.pulse-session-control .between{display:block}.pulse-session-control .between h3{font-size:16px}.pulse-session-control .between .pill{margin-top:7px}.session-knob{margin:0;gap:13px}.session-knob .knob{height:67px;width:67px}.session-knob .knob .num{font-size:23px}.knob-description p{display:none}.dose-options{flex-direction:column;margin:0;gap:4px}.dose-options button{min-width:36px;min-height:25px}.pulse-seals{padding:0 5px}.seal-items{justify-content:space-around;margin-top:15px}.pulse-seal{font-size:12.5px}.seal-symbol{width:65px;height:69px}.seal-symbol .icon{width:28px;height:28px}.pulse-foot-analytics{display:grid;grid-template-columns:1fr;gap:20px;margin-top:3px;padding-top:20px}.pulse-activity{grid-template-columns:65px 1fr;gap:16px}.activity-label h3{font-size:16px}.activity-score strong{font-size:31px}.pulse-mini-bars{height:130px}.pulse-mini-bars small{font-size:11px}.pulse-forecast-teaser{min-height:136px;padding:20px;justify-content:space-between;gap:20px}.pulse-forecast-teaser h3{font-size:16px}.pulse-forecast-teaser p{font-size:12.5px;max-width:250px}.pulse-forecast-teaser svg{width:88px;height:88px}.pulse-tail{font-size:12px;flex-wrap:wrap;gap:5px}.pulse-tail .en{font-size:12px}.footer{display:none}.mobile-nav{display:flex;position:fixed;bottom:calc(10px + env(safe-area-inset-bottom));left:13px;right:13px;z-index:60;background:#fffffff5;backdrop-filter:blur(10px);border:1px solid #dce6e1;border-radius:21px;box-shadow:0 12px 28px #20444920;padding:7px 4px;direction:rtl}.mobile-nav button{min-width:52px;min-height:47px;gap:3px;font-size:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:12px;color:#768c8c}.mobile-nav button.active{background:#e3f0eb;color:#225c5d}.mobile-nav button.add{border-radius:14px;width:47px;height:47px;min-width:47px;background:var(--primary);margin-top:0;box-shadow:none;color:#fff}.mobile-nav .icon{width:20px;height:20px}.hero .pulse-page-title{display:block}.pulse-page-title h1{font-size:27px;margin:7px 0}.pulse-page-title p{font-size:13.5px;line-height:1.9}.pulse-page-title .hero-actions{margin-top:13px;justify-content:start}.pulse-page-title .hero-actions .btn{font-size:12.5px}.card{padding:20px;border-radius:20px}.pulse-progress-grid{grid-template-columns:1fr;gap:18px}.pulse-chart-plane{padding:20px 15px}.pulse-chart-plane h2{font-size:21px}.pulse-chart-metrics{gap:19px;margin:18px 0 0}.pulse-chart-metrics strong{font-size:28px}.pulse-chart-metrics span{font-size:10px}.pulse-chart-plane .chart-svg{min-height:0;margin:20px 0 8px}.pulse-chart-plane .chart-svg text{font-size:12px}.pulse-chart-plane .legend-row{font-size:10px}.pulse-pace-card{padding:23px}.pulse-pace-card .pace-gauge{max-height:205px}.pulse-metrics-grid{grid-template-columns:1fr;gap:17px;margin-top:17px}.pulse-metrics-grid>.card:last-child{grid-column:auto}.pulse-metrics-grid .card{padding:21px}.pulse-evidence-row{grid-template-columns:93px 1fr 55px;font-size:13.5px}.pulse-data-stamp{font-size:12px;line-height:1.9}.studio-grid{grid-template-columns:1fr;gap:17px}.studio-lead{grid-template-columns:1fr;gap:19px}.studio-grid>.card{padding:16px}.player-wrap{min-height:205px;aspect-ratio:16/10}.player-demo-art .serif{font-size:27px}.lesson-intro h2{font-size:24px}.lesson-intro p{font-size:13.5px}.lesson-intro .timer{margin-top:12px}.stage-path{gap:5px}.stage-path button{font-size:12px;gap:5px;padding:7px 4px}.stage-path span{height:18px;width:18px;font-size:11px}.studio-tab-area>.tabs{overflow:auto;flex-wrap:nowrap;display:flex;gap:4px;padding:4px}.studio-tab-area>.tabs button{flex:none;padding:7px 10px;font-size:12.5px;min-height:37px}.studio-aside{display:grid;grid-template-columns:1fr;gap:17px}.cue{padding:12px 10px}.cue-text{font-size:15px}.cue-ar{font-size:13.5px}.cue-tools{gap:12px}.cue-tools button{font-size:12px;min-height:33px}.transcript-scroll{max-height:480px}.transcript-head>.between{gap:10px}.transcript-head>.between h3{font-size:17px}.player-controls{gap:9px}.player-controls .btn{font-size:12px;min-height:39px}.library-categories{grid-template-columns:repeat(3,1fr);gap:10px}.category-tile img{height:53px}.category-tile span{font-size:11px;padding:8px 5px;gap:5px}.library-tools select{font-size:13.5px}.lesson-grid{grid-template-columns:1fr;gap:18px}.lesson-card .pulse-cover{height:190px}.lesson-body{padding:20px}.lesson-title{font-size:17px}.lesson-grid.list .pulse-cover{width:123px;min-height:180px;height:auto;padding:15px}.lesson-grid.list .pulse-cover strong{font-size:19px;max-width:100%}.lesson-grid.list .pulse-cover>span{font-size:9px;letter-spacing:1px}.lesson-grid.list .pulse-cover>.icon{height:75px;width:75px}.vocab-layout{grid-template-columns:1fr;gap:18px}.vocab-layout>.vocab-analytics{grid-column:auto;grid-template-columns:1fr}.word-list{max-height:300px}.word-detail{padding:23px}.word-detail .term{font-size:34px}.detail-section{padding-top:17px}.detail-section p,.detail-section .en{font-size:15px}.skill-toggle{font-size:12.5px;min-height:83px}.review-layout{display:grid;grid-template-columns:1fr;gap:17px}.review-layout>.review-modes{display:flex;padding:10px;overflow:auto;gap:6px}.review-mode{flex:none;min-height:45px;font-size:12.5px;padding:9px 11px;border:1px solid var(--line);border-radius:10px}.review-mode small{display:none}.review-stage{padding:23px;min-height:330px}.review-stage h2{font-size:26px}.review-layout>.review-aside{display:grid;grid-template-columns:1fr;gap:15px}.review-aside .mt{margin-top:0}.badge-grid{grid-template-columns:1fr 1fr}.pages-grid{grid-template-columns:1fr 1fr;gap:12px}.page-link{font-size:12.5px;padding:16px 13px;gap:9px}.page-link small{font-size:10.5px}.page-link .symbol{height:36px;width:36px}.settings-grid,.two-col,.dual-grid,.form-grid{grid-template-columns:1fr}.toast-stack{bottom:92px;left:16px}.dialog-head,.dialog-body{padding:19px}.dialog-head h2{font-size:20px}.nav-drawer{top:82px;left:15px;right:15px;width:auto;max-height:calc(100dvh - 110px)}.pulse-arena{grid-template-columns:1fr;gap:17px}.mission-route{padding:0}.mission-route>.eyebrow,.mission-route>.mission-word,.mission-route>h3,.mission-route>.btn,.mission-route>.mission-live-only{display:none}.mission-route .mission-gates{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.gate-route{flex-direction:column;gap:6px;min-height:83px;padding:9px 3px;border:1px solid #e4ebe6;font-size:12px;justify-content:center;text-align:center}.gate-route .gate-number{height:26px;width:26px;font-size:12px}.gate-route small{display:none}.mission-stage{padding:22px 17px;border-radius:22px}.mission-stage h2{font-size:23px}.mission-stage .stage-meta{margin-bottom:17px;font-size:11px}.mission-stage>.sub{font-size:13.5px}.mission-context{padding:19px;font-size:18px;margin:19px 0}.mission-context.ar{font-size:13px;line-height:1.95}.mission-answer-option{padding:12px;gap:9px;font-size:13.5px;min-height:58px}.mission-order-target{padding:13px;min-height:126px;gap:7px}.word-piece{font-size:14.5px;padding:10px 12px;min-height:44px}.mission-tokens{gap:8px}.mission-toolbar{gap:11px;margin-top:23px}.mission-toolbar .btn{min-height:44px;font-size:12.5px;padding:9px 12px}.mission-match{grid-template-columns:1fr 36px 1fr;margin:22px 0}.match-side{gap:14px}.match-side button{min-height:65px;border-radius:12px;font-size:12.5px;padding:9px 7px}.match-side.ar button{font-size:12.5px}.mission-input{font-size:20px}.mission-feedback{padding:17px}.mission-feedback p{font-size:13.5px}.mission-feedback h3{font-size:16px}.pulse-arena>.mission-aside{display:block;grid-column:auto}.mission-note{padding:20px}.mission-aside .mission-coins{margin:20px 5px}.mission-gallery{grid-template-columns:1fr;gap:17px}.mission-gallery .pulse-mission-card{min-height:222px;padding:22px}.mission-gallery .pulse-mission-card h3{font-size:25px}.mission-gallery .pulse-mission-card p{font-size:13.5px}.mission-gallery .pulse-graphic{transform:scale(.72);height:119px}.mission-result{padding:27px 19px;border-radius:23px}.mission-result h2{font-size:27px}.mission-result .mission-summary{gap:9px}.mission-summary>div{padding:16px 7px}.mission-summary strong{font-size:26px}.mission-summary small{font-size:11px}.mission-compare{gap:18px;font-size:12.5px;padding:16px 9px}.mission-result textarea{font-size:16px}.pulse-hint-link{font-size:12.5px;min-height:39px}body[data-theme=dark] .mobile-nav{background:#223e41f5}.focus .masthead,.focus .mobile-nav{display:none}.focus .main{padding:17px;max-width:none}.focus .studio-aside{display:none}.focus .studio-grid{grid-template-columns:1fr}}
@media(max-width:374px){.main{padding-left:12px;padding-right:12px}.masthead{padding:0 12px}.brand-name{font-size:16px}.pulse-agenda h1{font-size:27px}.pulse-instrument{padding:16px 12px}.instrument-stage{height:264px}.instrument-top h2{font-size:17px}.dial-center .num{font-size:44px}.pulse-switch button{padding:4px 6px}.pulse-mission-card{grid-template-columns:1fr 86px;padding:18px}.pulse-graphic{transform:scale(.62)}.pulse-mission-card h3{font-size:22px}.mission-stage{padding:21px 14px}.mission-match{grid-template-columns:1fr 30px 1fr}.match-side button{font-size:12px}.match-side.ar button{font-size:12px}.pulse-calendar{display:none}.edition-actions #source-caption{display:none}}
body.reduced *,body.reduced *:before,body.reduced *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{body{padding:0}.pulse-app{border:0;box-shadow:none}.masthead,.mobile-nav,.edition-bar,.footer,.btn,.ibtn{display:none}.main{padding:0}.pulse-home,.pulse-progress-grid,.pulse-metrics-grid,.pulse-arena{display:block}.pulse-calendar{display:block}.pulse-home>*{margin-bottom:20px}.pulse-mission-card,.pulse-instrument,.card{break-inside:avoid;box-shadow:none}}
/* Final layout pass: the agenda spans both content rows instead of pushing charts below a blank gap. */
.main:focus{outline:none}.pulse-agenda{grid-row:1/3}.pulse-main-column{grid-row:1;grid-column:2}.pulse-action-column{grid-row:1;grid-column:3}.pulse-foot-analytics{grid-row:2;grid-column:2/4;align-self:end}.pulse-tail{grid-row:3}
.pulse-evidence-row b{direction:ltr;unicode-bidi:isolate}.pulse-task small bdi{font-family:var(--en);font-size:12px}.pulse-mobile-gates{display:none}
@media(max-width:1020px){.pulse-agenda{grid-row:1}.pulse-main-column{grid-row:1;grid-column:2}.pulse-action-column{grid-row:2;grid-column:1/-1}.pulse-foot-analytics{grid-row:3;grid-column:1/-1}.pulse-tail{grid-row:4}}
@media(max-width:760px){.pulse-mobile-gates{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-top:12px;direction:rtl}.pulse-mobile-gates button{font-size:12px;line-height:1.6;min-height:44px;border:1px solid #dce7e1;border-radius:10px;padding:6px 3px;background:#fff;color:#5f7f7b}.pulse-mobile-gates button.active{background:#dfeee7;border-color:#accbbd;color:#35685b}.radial-gate .dial-gate-label{font-size:13px}.radial-gate .dial-gate-sub{display:none}.instrument-foot{margin-top:10px}.instrument-stage{height:255px}}
/* Compact desktop finishing; narrative panel above, evidence immediately below. */
@media(min-width:1021px){.pulse-agenda h1{line-height:1.35;font-size:30px}.pulse-agenda .hello-small{display:block;line-height:1.7;font-size:13.5px;margin-top:7px}.pulse-agenda h1 br{display:none}.pulse-agenda .hello-en{margin:12px 0 18px}.pulse-calendar{margin-top:23px}.pulse-side-progress{margin-top:19px;padding-top:17px}.pulse-review-ticket{padding:18px 17px;margin-top:19px}.pulse-review-ticket strong{font-size:34px;margin:11px 0 5px}.pulse-review-ticket .btn{margin-top:12px;min-height:33px}.pulse-foot-analytics{align-self:stretch}.pulse-tail{padding-top:15px}.footer{margin-top:21px}.pulse-home{row-gap:20px}}
@media(max-width:760px){.pulse-agenda h1 br{display:none}.pulse-agenda .hello-small{display:block;line-height:1.7;margin-top:6px}.pulse-agenda .hello-en{margin-top:9px}.pulse-mobile-gates button{font-size:12px}}


/* PULSE / Progress Playbook. Scoped to this page; no application-wide overrides. */
.pp-progress{--pp-teal:#246f77;--pp-ink:#213d43;--pp-blue:#8eb8d1;--pp-mint:#91bdab;--pp-lilac:#b5a6ce;--pp-peach:#edb77e;--pp-muted:#60777c;--pp-border:#e0e9e8;--pp-soft:#f1f6f5;color:var(--pp-ink)}
.pp-progress h1,.pp-progress h2,.pp-progress h3{letter-spacing:-.6px}.pp-progress button{touch-action:manipulation}.pp-progress .pp-muted{color:var(--pp-muted)}.pp-progress .pp-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:18px 0 25px}.pp-head h1{font-size:31px;margin:6px 0;line-height:1.55}.pp-head p{font-size:13.5px;color:var(--pp-muted)}.pp-head-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.pp-progress .pp-kicker{font:600 11px/1.8 var(--en);letter-spacing:.1em;color:#587b80;direction:ltr;display:block}.pp-plain-btn{display:inline-flex;gap:7px;align-items:center;justify-content:center;min-height:38px;padding:7px 12px;border-radius:10px;font-size:12.5px;background:white;border:1px solid var(--pp-border);color:var(--pp-ink)}.pp-plain-btn .icon{width:16px;height:16px}.pp-plain-btn:hover{background:#e9f2f1}.pp-plain-btn.active{background:var(--pp-teal);color:white;border-color:var(--pp-teal)}.pp-plain-btn.soft{background:#edf4f4;border-color:transparent}.pp-small-label{display:inline-flex;align-items:center;gap:6px;font-size:12px;background:#e8f2ed;border-radius:8px;padding:5px 9px;color:#365d54}.pp-small-label i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#619b85}.pp-top{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(288px,.96fr);gap:20px;direction:ltr;align-items:stretch}.pp-top>*{direction:rtl;min-width:0}.pp-course{border:1px solid #dde8e6;border-radius:26px;background:linear-gradient(125deg,#f1f7f6 0%,#f7fafa 45%,#edf5f6 100%);overflow:hidden;position:relative}.pp-course:before{content:'';position:absolute;inset:90px 10px 80px;pointer-events:none;background-image:radial-gradient(#94b5b52c .65px,transparent .65px);background-size:17px 17px;mask-image:radial-gradient(ellipse,#000,transparent 75%)}.pp-course-top{padding:23px 25px 0;display:flex;gap:16px;justify-content:space-between;align-items:center;position:relative}.pp-course-top h2{font-size:20px}.pp-toggle{display:flex;gap:3px;background:#e7efed;padding:4px;border-radius:11px;flex:none}.pp-toggle button{font-size:12px;min-height:32px;padding:6px 13px;border-radius:8px;color:#60777c;display:flex;gap:6px;align-items:center}.pp-toggle .icon{width:14px;height:14px}.pp-toggle button.active{background:white;box-shadow:0 2px 7px #214a4310;color:#245e66}.pp-scoreline{display:flex;align-items:center;justify-content:space-between;margin:20px 25px 0;gap:16px;position:relative}.pp-count{display:flex;align-items:baseline;gap:10px;direction:ltr;font-family:var(--en)}.pp-count strong{font-size:42px;font-weight:650;letter-spacing:-2px;line-height:1.1}.pp-count span{font-size:20px;color:#859d9e;font-weight:500}.pp-count small{font:12.5px var(--font);margin-left:5px;letter-spacing:0;direction:rtl}.pp-lead-status{text-align:right;font-size:13.5px}.pp-lead-status b{display:block;color:var(--pp-teal);font-weight:650}.pp-lead-status small{font-size:12px;color:var(--pp-muted)}.pp-course-viz{position:relative;min-height:294px;margin:0 12px;direction:ltr}.pp-route-svg{display:block;width:100%;height:auto;aspect-ratio:780/294;overflow:visible;direction:ltr}.pp-route-svg text{font-family:var(--font);fill:var(--pp-ink);font-size:11px}.pp-route-svg .pp-number{font-family:var(--en);font-weight:650;font-size:12px}.pp-route-svg .pp-sublabel{fill:#657e82;font-size:10px}.pp-route-svg [role=button]{cursor:pointer;outline:none}.pp-route-svg [role=button]:hover .pp-station-disc{stroke:var(--pp-teal);stroke-width:3}.pp-route-svg [role=button]:focus-visible .pp-station-disc{stroke:#835d35;stroke-width:4}.pp-course-foot{padding:0 25px 18px;position:relative}.pp-map-caption{font-size:12px;color:#6d8285;display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:12px}.pp-map-key{display:flex;gap:15px;align-items:center}.pp-map-key span{display:flex;align-items:center;gap:6px}.pp-map-key i{width:7px;height:7px;border-radius:50%;background:var(--pp-teal)}.pp-map-key i.ghost{background:white;border:1.5px solid #ba895a}.pp-history-row{border-top:1px solid #dce7e5;padding-top:13px;display:flex;gap:12px;align-items:center;direction:ltr}.pp-history-row input{flex:1;width:80px;min-width:40px;min-height:30px;background:none;border:0;accent-color:var(--pp-teal);padding:0}.pp-history-date{min-width:78px;font-size:12.5px;direction:rtl;text-align:center}.pp-history-date small{display:block;font-size:11px;color:var(--pp-muted)}.pp-icon-btn{width:35px;height:35px;display:grid;place-items:center;border:1px solid #d7e4e1;border-radius:50%;background:white;flex:none}.pp-icon-btn .icon{width:16px;height:16px}.pp-icon-btn:hover{background:#dcece7}.pp-selected-note{margin:13px 0 0;border-radius:12px;background:#ffffffb8;padding:10px 13px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12.5px}.pp-selected-note strong{font-weight:650}.pp-selected-note .icon{color:var(--pp-teal);width:19px}.pp-selected-note button{color:var(--pp-teal);font-size:12px;min-height:28px;white-space:nowrap}.pp-pace{border:1px solid var(--pp-border);border-radius:26px;padding:23px 23px 18px;background:white;position:relative;display:flex;flex-direction:column;min-width:0}.pp-pace-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.pp-pace-head h2{font-size:18px}.pp-pace-head .icon{width:21px;color:var(--pp-teal)}.pp-pace-copy{font-size:12.5px;color:var(--pp-muted);margin:5px 0 0}.pp-dial{width:202px;height:187px;position:relative;direction:ltr;margin:6px auto 0;touch-action:none;user-select:none;cursor:ew-resize}.pp-dial svg{width:100%;height:100%;position:absolute;inset:0;pointer-events:none}.pp-knob-face{position:absolute;left:40px;top:28px;width:122px;height:122px;border-radius:50%;background:linear-gradient(135deg,#ffffff,#f3f7f6);border:5px solid #fff;box-shadow:7px 9px 20px #1b424819,-5px -5px 15px #fff,inset 0 0 0 1px #edf1f0;display:flex;align-items:center;justify-content:center;flex-direction:column}.pp-knob-face strong{font:600 32px/1.3 var(--en);letter-spacing:-1.4px;color:#285a63}.pp-knob-face small{font-size:11px;color:#72888a;font-family:var(--font);direction:rtl}.pp-knob-pointer{position:absolute;width:4px;height:14px;background:#397f86;border-radius:4px;left:96px;top:37px;transform-origin:4px 57px;pointer-events:none;transition:transform .15s ease}.pp-dial-controls{display:flex;justify-content:center;align-items:center;gap:10px;margin:-5px 0 5px}.pp-dial-controls .pp-plain-btn{min-height:32px;width:34px;padding:4px}.pp-dial-controls label{font-size:12px;color:var(--pp-muted)}.pp-range{padding:0;border:0;min-height:25px;height:26px;width:100%;direction:ltr;accent-color:var(--pp-teal);background:transparent}.pp-presets{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin-top:6px}.pp-presets button{min-height:43px;border:1px solid var(--pp-border);border-radius:10px;font-size:12px;line-height:1.6;padding:5px 3px;color:var(--pp-muted);background:#fafcfb}.pp-presets button b{display:block;font:600 12.5px var(--en);color:var(--pp-ink)}.pp-presets button.active{background:#e3f0ec;color:#245b61;border-color:#bdd7d0}.pp-arrival{margin-top:15px;border-radius:16px;background:#214b51;color:white;overflow:hidden;position:relative;padding:15px 17px}.pp-arrival:before{content:'';position:absolute;width:140px;height:140px;border:1px solid #ffffff14;border-radius:50%;left:-70px;top:-75px;box-shadow:0 0 0 20px #ffffff05,0 0 0 40px #ffffff04}.pp-arrival>small{color:#c3dbda;font-size:12px}.pp-arrival strong{font-size:25px;font-weight:650;display:block;margin:2px 0 4px;letter-spacing:-.8px;line-height:1.5}.pp-arrival .pp-arrival-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:#d0e3e0}.pp-arrival .pp-arrival-delta{color:#d6eed3}.pp-pace-baseline{font-size:12px;color:#677f83;margin:10px 0 0;line-height:1.8}.pp-pace-baseline strong{color:var(--pp-teal);font-weight:650}.pp-pace-baseline .pp-baseline-line{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-bottom:5px}.pp-pace-baseline .pp-baseline-line b{font:600 12.5px var(--en)}.pp-note{font-size:12px;color:var(--pp-muted);margin-top:10px;line-height:1.8}.pp-next-strip{display:flex;align-items:center;gap:20px;padding:18px 23px;background:linear-gradient(110deg,#fff5e9,#fff0df);border:1px solid #f4e1cb;border-radius:19px;margin-top:18px;position:relative;overflow:hidden;min-height:105px}.pp-next-strip:after{content:'+';position:absolute;left:230px;top:15px;color:#d9a96688;font:28px var(--en);transform:rotate(12deg)}.pp-next-mark{height:60px;width:60px;display:grid;place-items:center;border:1px solid #e8c89e;border-radius:19px;background:linear-gradient(150deg,#fff6dd,#edc98f);box-shadow:0 5px 12px #a6793220,inset 0 0 0 4px #fff5;flex:none;color:#845934;transform:rotate(-7deg)}.pp-next-mark .icon{width:29px;height:29px;transform:rotate(7deg)}.pp-next-copy{flex:1;min-width:0}.pp-next-copy h3{font-size:17px;margin-bottom:4px}.pp-next-copy p{font-size:12.5px;color:#8a7058}.pp-next-percent{font:600 35px var(--en);color:#ad8150;padding:0 10px;letter-spacing:-1.3px;flex:none}.pp-next-strip .pp-plain-btn{background:#fffaf3;border-color:#ead6ba;z-index:1}.pp-bottom{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(288px,.96fr);direction:ltr;gap:20px;margin-top:21px;align-items:stretch}.pp-bottom>*{direction:rtl;min-width:0}.pp-explorer{border:1px solid var(--pp-border);border-radius:24px;background:white;overflow:hidden}.pp-explorer-top{padding:21px 23px 0;display:flex;align-items:center;justify-content:space-between;gap:15px}.pp-explorer-top h2{font-size:19px}.pp-tabs{display:flex;gap:19px;border-bottom:1px solid var(--pp-border);padding:0 23px;margin-top:7px}.pp-tabs button{display:flex;align-items:center;gap:7px;font-size:12.5px;min-height:47px;border-bottom:2px solid transparent;padding:7px 2px;color:var(--pp-muted)}.pp-tabs button.active{color:var(--pp-teal);border-color:var(--pp-teal);font-weight:650}.pp-tabs .icon{width:17px;height:17px}.pp-explorer-body{padding:19px 23px;min-height:262px}.pp-explorer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;flex-wrap:wrap}.pp-period{display:flex;gap:4px}.pp-period button{font-size:12px;padding:4px 9px;min-height:30px;border-radius:8px;background:#f2f6f5}.pp-period button.active{background:#dfeee8;color:#285c59}.pp-explorer-toolbar select{font-size:12.5px;min-height:34px;padding:4px 9px;border-radius:9px;border-color:var(--pp-border)}.pp-activity-total{display:flex;gap:9px;align-items:baseline}.pp-activity-total strong{font:600 30px var(--en);color:var(--pp-ink);letter-spacing:-1px}.pp-activity-total small{font-size:12px;color:var(--pp-muted)}.pp-day-chart{width:100%;height:auto;display:block;direction:ltr;overflow:visible}.pp-day-chart text{font:9px var(--font);fill:#647b80}.pp-day-chart .pp-bar-hit{cursor:pointer}.pp-day-chart .pp-bar-hit:focus-visible{outline:none}.pp-day-chart .pp-bar-hit:focus-visible rect:first-of-type{stroke:var(--pp-teal);stroke-width:2}.pp-day-chart .pp-bar-hit:hover .pp-bar{filter:brightness(.97)}.pp-day-selected{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:6px;padding:9px 12px;background:#f4f8f7;border-radius:10px;font-size:12px}.pp-chart-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:10px}.pp-chart-actions button{display:inline-flex;align-items:center;gap:6px;font-size:10px;min-height:29px;color:var(--pp-teal);padding:3px 0}.pp-chart-actions .icon{width:14px;height:14px}.pp-data-scope{font-size:11px;color:var(--pp-muted)}.pp-review-panel{border:1px solid var(--pp-border);border-radius:24px;background:#f7faf8;padding:23px;display:flex;flex-direction:column}.pp-review-panel h2{font-size:18px}.pp-review-heading{display:flex;align-items:center;gap:10px;justify-content:space-between}.pp-review-count{display:flex;align-items:center;gap:18px;margin:17px 0 14px}.pp-review-orb{width:85px;height:85px;display:grid;place-items:center;border-radius:50%;background:#fff;box-shadow:5px 7px 16px #224b4411,-4px -4px 13px #fff;border:1px solid #d6e6df;flex:none;position:relative}.pp-review-orb:before{content:'';position:absolute;inset:6px;border:2px dashed #c5dcd3;border-radius:50%}.pp-review-orb strong{font:600 30px var(--en);color:#466e63}.pp-review-count p{font-size:12.5px;color:var(--pp-muted)}.pp-review-count b{font-size:14.5px;display:block;color:var(--pp-ink);margin-bottom:4px}.pp-review-track{height:10px;border-radius:6px;background:#e3e9e6;display:flex;direction:ltr;overflow:hidden;margin-bottom:14px}.pp-review-track i{height:100%;display:block}.pp-review-legend{display:grid;grid-template-columns:1fr 1fr;gap:9px 14px;font-size:12px;color:var(--pp-muted)}.pp-review-legend span{display:flex;align-items:center;gap:6px}.pp-review-legend i{width:7px;height:7px;border-radius:50%;flex:none}.pp-review-legend b{font-family:var(--en);margin-right:auto;color:var(--pp-ink)}.pp-review-panel .btn{margin-top:auto;padding:11px 10px;font-size:12.5px;min-height:44px}.pp-review-panel .pp-note{margin:13px 0 16px}.pp-evidence-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:12px 0}.pp-proof{border:1px solid var(--pp-border);border-radius:15px;padding:14px 6px 11px;text-align:center;background:#fafcfc;min-width:0}.pp-proof:hover{background:#f0f6f5;border-color:#bfd7d3}.pp-proof>strong{display:block;font-size:12px;margin-bottom:12px}.pp-proof-ring{width:82px;height:82px;margin:auto;position:relative;display:grid;place-items:center}.pp-proof-ring svg{width:100%;height:100%;position:absolute;inset:0;transform:rotate(-90deg)}.pp-proof-ring>span{font:600 17px var(--en);letter-spacing:-.5px;z-index:1}.pp-proof>small{display:block;font-size:11px;color:var(--pp-muted);margin-top:9px}.pp-proof>small b{font-family:var(--en);font-weight:650}.pp-evidence-note{font-size:12.5px;line-height:1.9;color:var(--pp-muted);margin-top:13px}.pp-session-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:170px;text-align:center;gap:10px}.pp-session-empty h3{font-size:16px}.pp-session-empty p{font-size:12.5px;max-width:370px;color:var(--pp-muted)}.pp-run-comparison{display:grid;grid-template-columns:1.2fr 1fr;gap:20px}.pp-run-copy h3{font-size:18px;margin-top:10px}.pp-run-copy p{font-size:12.5px;color:var(--pp-muted);margin-top:8px}.pp-run-bars{display:flex;gap:28px;justify-content:center;align-items:end;height:152px;padding-top:20px;direction:ltr}.pp-run-bar{display:flex;flex-direction:column;align-items:center;height:100%;justify-content:end;gap:7px;width:65px}.pp-run-bar i{width:40px;border-radius:11px 11px 4px 4px;background:#97beb1;min-height:0}.pp-run-bar b{font:600 15px var(--en)}.pp-run-bar small{font-size:12px;color:var(--pp-muted)}.pp-run-foot{font-size:12px;margin-top:17px;color:var(--pp-muted)}.pp-page-foot{font-size:12px;color:var(--pp-muted);margin-top:20px;padding:13px 16px;border:1px solid var(--pp-border);border-radius:12px;display:flex;align-items:flex-start;gap:10px;background:#f6f9f8;line-height:1.9}.pp-page-foot .icon{width:17px;height:17px;flex:none;margin-top:3px}.pp-line-svg{width:100%;aspect-ratio:780/294;display:block;direction:ltr;overflow:visible}.pp-line-svg text{font:10px var(--en);fill:#677e81}.pp-line-svg text.pp-ar{font-family:var(--font);font-size:9px}.pp-line-svg .pp-gridline{stroke:#dce7e7;stroke-dasharray:3 5}.pp-line-svg .pp-forecast-path{fill:none;stroke:#c58d57;stroke-width:2.2;stroke-dasharray:5 5}.pp-line-svg .pp-actual-path{fill:none;stroke:var(--pp-teal);stroke-width:3;stroke-linejoin:round;stroke-linecap:round}.pp-line-svg [role=button]{cursor:pointer}.pp-line-svg [role=button]:focus-visible{outline:none}.pp-line-svg [role=button]:focus-visible circle{stroke:#895d35;stroke-width:3}.pp-dialog-copy{font-size:13.5px;line-height:2}.pp-dialog-copy p{margin-bottom:13px}.pp-dialog-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}.pp-dialog-metrics>div{padding:15px 10px;border-radius:12px;background:#eff6f4;text-align:center}.pp-dialog-metrics strong{font:600 25px var(--en);display:block}.pp-dialog-metrics small{font-size:12px}.pp-table{max-height:430px;overflow:auto;border:1px solid #e1e9e7;border-radius:12px}.pp-table th{position:sticky;top:0;background:#edf4f2;z-index:1}.pp-table th,.pp-table td{font-size:12.5px;padding:11px 14px}.pp-table td.en{white-space:nowrap}.pp-milestone-buttons{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.pp-milestone-buttons button{min-height:36px;font-size:12.5px;padding:7px 13px;border:1px solid #d6e2de;border-radius:10px}.pp-snapshot-label{color:#8c6746;font-size:12px;background:#faf0e2;padding:5px 9px;border-radius:7px}.pp-scenario-live{font-size:12px;min-height:19px;color:var(--pp-muted);margin-top:8px;text-align:center}
@media(min-width:1600px){.pp-course-viz{min-height:325px}.pp-dial{width:214px;height:198px}.pp-knob-face{left:46px;top:35px}.pp-knob-pointer{left:103px;top:44px}.pp-next-strip{margin-top:20px}}
@media(max-width:1100px){.pp-top,.pp-bottom{grid-template-columns:minmax(0,1.65fr) minmax(270px,.92fr);gap:15px}.pp-course-top,.pp-scoreline{padding-left:20px;padding-right:20px}.pp-scoreline{padding:0;margin-left:20px;margin-right:20px}.pp-course-foot{padding-left:20px;padding-right:20px}.pp-course-viz{min-height:276px;display:flex;align-items:center}.pp-count strong{font-size:35px}.pp-course-top{flex-wrap:wrap;gap:10px}.pp-pace{padding:20px 17px}.pp-proof-ring{width:67px;height:67px}.pp-evidence-grid{gap:6px}.pp-proof-ring>span{font-size:15px}.pp-explorer-body,.pp-review-panel{padding:18px}.pp-tabs{gap:13px;padding:0 18px}.pp-explorer-top{padding:18px 18px 0}.pp-lead-status{font-size:12px}.pp-next-strip:after{display:none}}
@media(max-width:850px){.pp-top,.pp-bottom{grid-template-columns:1fr}.pp-course-viz{min-height:0}.pp-pace{display:grid;grid-template-columns:1fr 1fr;gap:0 25px}.pp-pace-head,.pp-pace-copy{grid-column:1/-1}.pp-dial{grid-column:1;grid-row:3/7;margin-top:9px}.pp-dial-controls{grid-column:1;grid-row:7}.pp-pace>.pp-range{grid-column:2;grid-row:4;align-self:end;margin-top:7px}.pp-presets{grid-column:2;grid-row:5;margin-top:6px}.pp-arrival{grid-column:2;grid-row:6/8}.pp-pace-baseline{grid-column:1/-1;border-top:1px solid var(--pp-border);padding-top:10px;margin-top:13px}.pp-scenario-live{grid-column:2;grid-row:3;align-self:end}.pp-pace>.pp-note{grid-column:1/-1}.pp-review-panel{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.pp-review-heading{grid-column:1/-1}.pp-review-count{grid-row:2/5;grid-column:1}.pp-review-track{margin-top:24px;grid-column:2}.pp-review-legend{grid-column:2}.pp-review-panel .btn{grid-column:2}.pp-review-panel .pp-note{grid-column:1;align-self:end}.pp-head h1{font-size:28px}}
@media(max-width:600px){.pp-head{display:block!important;margin:9px 0 19px!important}.pp-head h1{font-size:27px}.pp-head p{font-size:12.5px;max-width:310px}.pp-head-actions{margin-top:14px}.pp-head-actions .pp-plain-btn{min-height:40px;font-size:12.5px}.pp-top,.pp-bottom{gap:15px}.pp-course{border-radius:20px}.pp-course-top{padding:18px 16px 0;display:flex;flex-wrap:nowrap;gap:5px}.pp-course-top h2{font-size:17px}.pp-toggle{padding:3px}.pp-toggle button{font-size:11px;padding:6px 8px;min-height:32px}.pp-toggle .icon{width:12px;height:12px}.pp-scoreline{margin:17px 16px 0;gap:8px;align-items:flex-start}.pp-count{gap:6px;flex-wrap:wrap}.pp-count strong{font-size:34px}.pp-count span{font-size:18px}.pp-count small{font-size:12px;display:block;flex-basis:100%;margin-top:-5px;text-align:left}.pp-lead-status{font-size:12px;max-width:150px;line-height:1.8}.pp-lead-status small{font-size:11px}.pp-course-viz{min-height:0;margin:0 8px}.pp-route-svg{aspect-ratio:360/310}.pp-route-svg text{font-size:10px}.pp-route-svg .pp-number{font-size:12px}.pp-route-svg .pp-sublabel{font-size:9px}.pp-course-foot{padding:0 15px 16px}.pp-map-caption{font-size:11px;gap:7px;line-height:1.8}.pp-map-key{gap:12px}.pp-history-row{gap:8px;padding-top:11px}.pp-icon-btn{width:34px;height:34px}.pp-history-date{min-width:72px;font-size:12px}.pp-selected-note{padding:11px 10px;font-size:12px;align-items:start;gap:8px}.pp-selected-note button{font-size:12px;white-space:normal;min-height:33px}.pp-selected-note .icon{width:17px}.pp-selected-note strong{font-size:12.5px}.pp-pace{display:flex;padding:20px;border-radius:20px}.pp-pace-head h2{font-size:19px}.pp-dial{width:216px;height:200px;margin:9px auto 0}.pp-knob-face{left:47px;top:37px}.pp-knob-pointer{left:103px;top:46px}.pp-dial-controls{margin:0 0 5px}.pp-dial-controls .pp-plain-btn{min-height:36px;width:36px}.pp-pace>.pp-range{min-height:35px;height:35px}.pp-presets{margin-top:3px;gap:7px}.pp-presets button{min-height:48px;font-size:12.5px}.pp-presets button b{font-size:13.5px}.pp-arrival{margin-top:14px;padding:16px 18px}.pp-arrival strong{font-size:28px}.pp-arrival .pp-arrival-bottom{font-size:12.5px}.pp-arrival>small{font-size:12.5px}.pp-pace-baseline{margin-top:13px;font-size:12.5px}.pp-scenario-live{min-height:18px;font-size:12px}.pp-next-strip{padding:16px;gap:12px;flex-wrap:wrap;border-radius:17px;margin-top:15px}.pp-next-mark{width:46px;height:51px;border-radius:13px}.pp-next-mark .icon{width:25px}.pp-next-copy h3{font-size:16px}.pp-next-copy p{font-size:12px}.pp-next-percent{font-size:27px;padding:0}.pp-next-strip .pp-plain-btn{width:100%;min-height:41px}.pp-bottom{margin-top:15px}.pp-explorer,.pp-review-panel{border-radius:20px}.pp-explorer-top{padding:18px 16px 0}.pp-explorer-top h2{font-size:18px}.pp-explorer-top .pp-kicker{display:none}.pp-tabs{padding:0 16px;gap:17px;justify-content:space-between}.pp-tabs button{font-size:12px;gap:5px;min-height:49px}.pp-tabs .icon{width:15px}.pp-explorer-body{padding:15px 14px;min-height:0}.pp-activity-total strong{font-size:28px}.pp-explorer-toolbar{gap:9px;flex-wrap:wrap}.pp-explorer-toolbar select{min-height:38px;font-size:12px}.pp-period button{min-height:35px;font-size:12px}.pp-day-chart{min-height:155px}.pp-day-chart text{font-size:11px}.pp-day-selected{font-size:12px;flex-wrap:wrap;gap:6px;padding:10px}.pp-chart-actions{gap:8px;flex-wrap:wrap}.pp-chart-actions button{min-height:36px;font-size:10px}.pp-data-scope{font-size:11px}.pp-evidence-grid{grid-template-columns:repeat(2,1fr);gap:10px;margin-top:18px}.pp-proof{padding:14px 10px}.pp-proof>strong{font-size:13.5px}.pp-proof-ring{width:82px;height:82px}.pp-proof-ring>span{font-size:18px}.pp-proof>small{font-size:12px}.pp-evidence-note{font-size:12.5px}.pp-review-panel{display:flex;padding:20px}.pp-review-count{margin:19px 0 17px}.pp-review-track{margin-top:0}.pp-review-legend{gap:12px 18px;font-size:12.5px}.pp-review-panel .btn{font-size:13.5px;min-height:45px}.pp-review-panel .pp-note{font-size:12px;margin-top:15px}.pp-run-comparison{gap:15px;grid-template-columns:1.1fr 1fr}.pp-run-copy h3{font-size:16px}.pp-run-copy p{font-size:12px}.pp-run-bars{gap:15px}.pp-run-bar{width:49px}.pp-run-bar i{width:32px}.pp-page-foot{padding:12px;font-size:12px;gap:8px}.pp-line-svg{aspect-ratio:390/270;min-height:255px;margin-top:13px}.pp-dialog-metrics{gap:6px}.pp-dialog-metrics>div{padding:13px 5px}.pp-dialog-metrics strong{font-size:22px}.pp-progress .pp-kicker{font-size:11px}.pp-table th,.pp-table td{font-size:12px;padding:10px}}
@media(prefers-reduced-motion:reduce){.pp-progress *,.pp-progress *:before,.pp-progress *:after{animation:none!important;transition:none!important}}
body.reduced .pp-progress *{animation:none!important;transition:none!important}
@media print{.pp-head-actions,.pp-toggle,.pp-dial-controls,.pp-presets,.pp-range,.pp-history-row,.pp-chart-actions,.pp-tabs{display:none!important}.pp-top,.pp-bottom{display:block}.pp-course,.pp-pace,.pp-explorer,.pp-review-panel,.pp-next-strip{break-inside:avoid;margin-bottom:15px}.pp-progress{--pp-ink:#14292d;--pp-muted:#425c61}.pp-progress .pp-arrival{background:white;color:#213d43;border:1px solid #ccd8d5}.pp-progress .pp-arrival small,.pp-progress .pp-arrival .pp-arrival-bottom{color:#435d61}}

/* Final geometry: keep the progress marker clear of checkpoint labels on mobile. */
.pp-next-strip:after{display:none}
.pp-progress .pp-dial .pp-knob-face{left:calc(50% - 61px);top:calc(47.59% - 61px)}
.pp-progress .pp-dial .pp-knob-pointer{left:calc(50% - 2px);top:calc(47.59% - 50px);transform-origin:2px 50px}
.pp-progress .pp-review-panel .pp-plain-btn{margin-top:14px;min-height:44px;width:100%;font-size:12.5px;background:#e5f0e9;color:#315d52}
.pp-progress .pp-history-row .pp-icon-btn{min-width:35px}
@media(max-width:600px){.pp-head-actions{gap:7px}.pp-head-actions .pp-small-label{font-size:12px;padding:6px 9px}.pp-head-actions .pp-plain-btn{font-size:12px;padding:7px 10px;min-height:37px}.pp-head{margin-bottom:17px!important}}


/* PULSE Night — generated paint adaptation followed by hand-tuned components. */
@media screen{
html[data-pulse-theme="dark"] .skip{color:#edf5f7;}
html[data-pulse-theme="dark"] .btn.primary,html[data-pulse-theme="dark"] .btn.ink{color:#edf5f7;}
html[data-pulse-theme="dark"] .btn.clay{color:#dab7aa;}
html[data-pulse-theme="dark"] .text-btn{color:#dbb8a9;}
html[data-pulse-theme="dark"] .pill.peach{color:#dcb8a8;}
html[data-pulse-theme="dark"] .pill.purple{color:#a8bec9;}
html[data-pulse-theme="dark"] .pill.dark{color:#edf5f7;}
html[data-pulse-theme="dark"] .symbol.blue{color:#b0c4d4;}
html[data-pulse-theme="dark"] .symbol.clay,html[data-pulse-theme="dark"] .symbol.peach{color:#dcb7a7;}
html[data-pulse-theme="dark"] .symbol.lav,html[data-pulse-theme="dark"] .symbol.purple{color:#c0b9ca;}
html[data-pulse-theme="dark"] .symbol.sand{background:#3c3525;color:#dac6aa;}
html[data-pulse-theme="dark"] .chip.active{border-color:#343f44;}
html[data-pulse-theme="dark"] .segmented button.active,html[data-pulse-theme="dark"] .tabs button.active{color:#edf5f7;}
html[data-pulse-theme="dark"] .notice.warn{color:#d9b8aa;}
html[data-pulse-theme="dark"] .brand-mark{color:#dbb8a8;}
html[data-pulse-theme="dark"] .top-search{background:#142630;}
html[data-pulse-theme="dark"] .youtube-icon{background:#4a352e;color:#edf5f7;}
html[data-pulse-theme="dark"] .rail-button.active .rail-icon{background:#2e402f;}
html[data-pulse-theme="dark"] .data-control button.active{background:#3a3327;color:#d7c1ac;}
html[data-pulse-theme="dark"] .menu-scrim{background:#1f2b2455;}
html[data-pulse-theme="dark"] .nav-drawer{box-shadow:0 20px 80px #00000030;}
html[data-pulse-theme="dark"] .hero{background:#3a3327;border:1px solid #444234;}
html[data-pulse-theme="dark"] .hero:after{background:linear-gradient(90deg,#3b3626 3%,#3b3626f2 21%,#3b36267a 39%,#3b36260a 64%,transparent);}
html[data-pulse-theme="dark"] .hero-copy p{color:#e1edf1;}
html[data-pulse-theme="dark"] .hero-copy .en{color:#a8bec9;}
html[data-pulse-theme="dark"] .journey-route{stroke:#ece0c5;}
html[data-pulse-theme="dark"] .journey-active{stroke:#e0cca3;}
html[data-pulse-theme="dark"] .route-pin{stroke:#263f4b;}
html[data-pulse-theme="dark"] .journey-level text{fill:#edf5f7;stroke:#b5cebe80;}
html[data-pulse-theme="dark"] .journey-level .sub{fill:#263f4b;}
html[data-pulse-theme="dark"] .journey-flag{stroke:#263f4b;}
html[data-pulse-theme="dark"] .hero-caption{color:#edf5f7;text-shadow:0 1px 5px #0000004d;}
html[data-pulse-theme="dark"] .hero-progress strong{color:#edf5f7;border:2px solid #343f44;box-shadow:0 4px 14px #00000022;}
html[data-pulse-theme="dark"] .hero-progress small{background:#192b36f2;}
html[data-pulse-theme="dark"] .hero-note{color:#a8bec9;}
html[data-pulse-theme="dark"] .hero.compact:after{background:linear-gradient(90deg,#3b3626 15%,#3b3626ed 36%,#3b36265a 68%,transparent);}
html[data-pulse-theme="dark"] .kpi:hover{box-shadow:0 8px 22px #00000009;}
html[data-pulse-theme="dark"] .quote-mini{background:#383529;}
html[data-pulse-theme="dark"] .quote-mini:before{color:#a8bec9;}
html[data-pulse-theme="dark"] .river-layer{stroke:#263f4b55;}
html[data-pulse-theme="dark"] .skill-stamp:nth-of-type(1){color:#b9cbbb;}
html[data-pulse-theme="dark"] .skill-stamp:nth-of-type(2){color:#b1c4d3;}
html[data-pulse-theme="dark"] .skill-stamp:nth-of-type(3){color:#d7baad;}
html[data-pulse-theme="dark"] .skill-stamp:nth-of-type(4){color:#a8bec9;}
html[data-pulse-theme="dark"] .week-stack i{background:#272e24;}
html[data-pulse-theme="dark"] .week-stack i.on{background:#30402e;}
html[data-pulse-theme="dark"] .week-stack .check-bubble{color:#edf5f7;border:2px solid #343f44;}
html[data-pulse-theme="dark"] .lesson-cover{background:#142630;}
html[data-pulse-theme="dark"] .lesson-cover:after{background:linear-gradient(0deg,#27362ecc,transparent 90%);}
html[data-pulse-theme="dark"] .lesson-cover strong{color:#edf5f7;}
html[data-pulse-theme="dark"] .lesson-cover .play-circle{background:#192b36ed;}
html[data-pulse-theme="dark"] .cover-meta{background:#1f2b25d9;color:#edf5f7;}
html[data-pulse-theme="dark"] .task-check{border:1.5px solid #343f44;}
html[data-pulse-theme="dark"] .task-check.done{color:#edf5f7;}
html[data-pulse-theme="dark"] .mini-bar-col:nth-child(2n) i{background:#324634;}
html[data-pulse-theme="dark"] .roadmap-item.active b{color:#edf5f7;}
html[data-pulse-theme="dark"] .player-wrap{background:#27362f;color:#edf5f7;}
html[data-pulse-theme="dark"] .player-wrap:after{background:linear-gradient(0deg,#202d29d9,transparent);}
html[data-pulse-theme="dark"] .player-wrap iframe,html[data-pulse-theme="dark"] .player-wrap video{background:#1f272b;}
html[data-pulse-theme="dark"] .player-top .eyebrow{color:#edf5f799;}
html[data-pulse-theme="dark"] .big-play{background:#192b36f2;box-shadow:0 0 0 7px #9ac7d615;}
html[data-pulse-theme="dark"] .wave i{background:#2f402e;}
html[data-pulse-theme="dark"] .stage-path span{border:1px solid #343f44;}
html[data-pulse-theme="dark"] .stage-path button.done span{color:#edf5f7;}
html[data-pulse-theme="dark"] .term-link{background:#32402e50;color:#b6ceba;border-bottom:1px dashed #364434;}
html[data-pulse-theme="dark"] .word-list-item.active{border-color:#343f44;}
html[data-pulse-theme="dark"] .skill-toggle.on{border-color:#343f44;}
html[data-pulse-theme="dark"] .review-stage{box-shadow:0 10px 28px #00000005;}
html[data-pulse-theme="dark"] .quiz-option.correct{color:#b4d0b8;border-color:#364434;}
html[data-pulse-theme="dark"] .quiz-option.wrong{color:#deb0a5;border-color:#533e37;}
html[data-pulse-theme="dark"] .badge-item:nth-child(4n/**/+3) .medal{color:#c1b8cc;}
html[data-pulse-theme="dark"] .badge-item:nth-child(4n) .medal{color:#aec3d6;}
html[data-pulse-theme="dark"] .day.active{border-color:#343f44;}
html[data-pulse-theme="dark"] .toggle{background:#33402e;}
html[data-pulse-theme="dark"] .toggle:after{background:#192b36;}
html[data-pulse-theme="dark"] .admin-banner{border:1px solid #4f473b;background:#3b3326;color:#d4c5af;}
html[data-pulse-theme="dark"] dialog{box-shadow:0 28px 80px #0000002f;}
html[data-pulse-theme="dark"] dialog::backdrop{background:#1f2b2465;}
html[data-pulse-theme="dark"] .upload-box{border:1px dashed #343f44;}
html[data-pulse-theme="dark"] .toast{background:#304337;color:#edf5f7;box-shadow:0 8px 25px #00000020;}
html[data-pulse-theme="dark"] .chart-tooltip{background:#2e4137;color:#edf5f7;box-shadow:0 6px 22px #00000025;}
html[data-pulse-theme="dark"] .hero{color:#e1edf1;}
html[data-pulse-theme="dark"] .hero .btn.primary{background:#354b3a;color:#edf5f7;}
html[data-pulse-theme="dark"] .hero .btn:not(.primary){color:#b5cfbc;background:#192b36;}
html[data-pulse-theme="dark"] .hero-progress strong{background:#354b3a;}
html[data-pulse-theme="dark"] .hero-progress small{color:#b5cfbc;}
html[data-pulse-theme="dark"] .btn.primary{color:#edf5f7;}
@media (max-width:760px){html[data-pulse-theme="dark"] .hero:after{background:linear-gradient(180deg,#3b3626 0%,#3b3626f2 36%,#3b362620 66%,transparent);}
html[data-pulse-theme="dark"] .hero-note{color:#edf5f7;text-shadow:0 1px 4px #0000004d;}
html[data-pulse-theme="dark"] .hero.compact:after{background:linear-gradient(90deg,#3b3626e8 20%,#3b36269e 63%,#3b36260a);}
html[data-pulse-theme="dark"] .mobile-nav{box-shadow:0 6px 28px #00000015;}
html[data-pulse-theme="dark"] .mobile-nav button.add{color:#edf5f7;box-shadow:0 4px 13px #00000030;}}
html[data-pulse-theme="dark"] .btn{border-color:#344443;}
html[data-pulse-theme="dark"] .btn.primary,html[data-pulse-theme="dark"] .btn.ink{color:#edf5f7;}
html[data-pulse-theme="dark"] .pill.blue{color:#abc6d9;}
html[data-pulse-theme="dark"] .pill.purple{color:#bfb5cf;}
html[data-pulse-theme="dark"] .pill.peach{color:#ddbca7;}
html[data-pulse-theme="dark"] .chip{background:#192b36;}
html[data-pulse-theme="dark"] .chip.active{color:#edf5f7;}
html[data-pulse-theme="dark"] .symbol{box-shadow:inset 0 1px 0 #9ac7d60b;}
html[data-pulse-theme="dark"] .symbol.blue{color:#aec5d6;}
html[data-pulse-theme="dark"] .symbol.lav{color:#beb5ce;}
html[data-pulse-theme="dark"] .symbol.clay{color:#dbbea8;}
html[data-pulse-theme="dark"] input,html[data-pulse-theme="dark"] select,html[data-pulse-theme="dark"] textarea{border-color:#343f44;background:#192b36;}
html[data-pulse-theme="dark"] .btn:focus-visible,html[data-pulse-theme="dark"] .ibtn:focus-visible,html[data-pulse-theme="dark"] button:focus-visible,html[data-pulse-theme="dark"] a:focus-visible,html[data-pulse-theme="dark"] input:focus-visible{outline:2px solid #364c54;}
html[data-pulse-theme="dark"] .pulse-app{background:#242e24;border:1px solid #343f44;box-shadow:0 20px 80px -48px #00000050;}
html[data-pulse-theme="dark"] .masthead{background:#192b36;}
html[data-pulse-theme="dark"] .pulse-logo i{background:#304b4f;}
html[data-pulse-theme="dark"] .pulse-logo i:nth-child(2){background:#324645;}
html[data-pulse-theme="dark"] .pulse-logo i:nth-child(3){background:#332c41;}
html[data-pulse-theme="dark"] .top-search{background:#242e2a;}
html[data-pulse-theme="dark"] .header-actions>.ibtn{background:#142630;}
html[data-pulse-theme="dark"] .avatar{background:#242e2c;color:#aed0d6;border:1px solid #344441;}
html[data-pulse-theme="dark"] .data-control{background:#142630;}
html[data-pulse-theme="dark"] .data-control button.active{background:#192b36;box-shadow:0 1px 4px #00000015;}
html[data-pulse-theme="dark"] .edition-actions #breadcrumb{color:#b8c8cb;}
html[data-pulse-theme="dark"] .nav-drawer{box-shadow:0 22px 60px #00000030;}
html[data-pulse-theme="dark"] .menu-scrim{background:#1b323333;}
html[data-pulse-theme="dark"] .pulse-agenda .hello-en{color:#a8bec9;}
html[data-pulse-theme="dark"] .pulse-agenda .btn.apricot{background:#483625;color:#dabeaa;border-color:#5a4330;}
html[data-pulse-theme="dark"] .pulse-agenda .btn.ghost{border:1px solid #343f44;background:#192b36;}
html[data-pulse-theme="dark"] .pulse-calendar .calendar-nav button{background:#142630;color:#a8bec9;}
html[data-pulse-theme="dark"] .cal-week span{color:#a8bec9;}
html[data-pulse-theme="dark"] .cal-days button{color:#a8bec9;}
html[data-pulse-theme="dark"] .cal-days button:hover{background:#232e2b;}
html[data-pulse-theme="dark"] .cal-days button.studied{border-color:#3b4e47;color:#afd5ce;}
html[data-pulse-theme="dark"] .cal-days button.studied:after{background:#2e4039;}
html[data-pulse-theme="dark"] .cal-days button.selected{background:#2c5053;color:#edf5f7;border-color:#325457;box-shadow:0 4px 10px #00000020;}
html[data-pulse-theme="dark"] .cal-days button.today{color:#dfbfa4;border-color:#5a4430;}
html[data-pulse-theme="dark"] .cal-days button.selected.today{color:#edf5f7;}
html[data-pulse-theme="dark"] .calendar-caption{color:#a8bec9;}
html[data-pulse-theme="dark"] .small-dial{background:conic-gradient(#32463f var(--ring),#242e29 0);box-shadow:inset 0 1px 1px #9ac7d60b;}
html[data-pulse-theme="dark"] .small-dial:before{background:#242e24;}
html[data-pulse-theme="dark"] .small-dial .icon{color:#b1d2cc;}
html[data-pulse-theme="dark"] .pulse-review-ticket{background:#2d4244;color:#edf5f7;}
html[data-pulse-theme="dark"] .pulse-review-ticket:before{border:1px solid #343f4418;box-shadow:0 0 0 14px #9ac7d605,0 0 0 29px #9ac7d603;}
html[data-pulse-theme="dark"] .pulse-review-ticket .btn{background:#192b36;color:#aed4d6;}
html[data-pulse-theme="dark"] .pulse-instrument{background:#142630;border:1px solid #343f44;box-shadow:inset 0 1px 0 #9ac7d60b;}
html[data-pulse-theme="dark"] .pulse-switch{border:1px solid #34443f;background:#242e2a;}
html[data-pulse-theme="dark"] .pulse-switch button{color:#a8bec9;}
html[data-pulse-theme="dark"] .pulse-switch button.active{background:#192b36;box-shadow:0 2px 5px #00000010;}
html[data-pulse-theme="dark"] .radial-gate .dial-gate-label{fill:#b2cdd1;}
html[data-pulse-theme="dark"] .radial-gate .dial-gate-sub{fill:#94a5a8;}
html[data-pulse-theme="dark"] .dial-center .num{color:#afcfd4;}
html[data-pulse-theme="dark"] .dial-center .num small{color:#a8bec9;}
html[data-pulse-theme="dark"] .dial-center p{color:#a8bec9;}
html[data-pulse-theme="dark"] .dial-center .en{color:#a8bec9;}
html[data-pulse-theme="dark"] .dial-selected{background:#192b36;border:1px solid #34443f;box-shadow:0 6px 13px -10px #00000080;}
html[data-pulse-theme="dark"] .instrument-foot{border-top:1px solid #34443d;color:#a8bec9;}
html[data-pulse-theme="dark"] .instrument-foot .tag-note i{background:#324641;}
html[data-pulse-theme="dark"] .pulse-week-bars text{fill:#a8bec9;}
html[data-pulse-theme="dark"] .pulse-mission-card{border:1px solid #5a4730;}
html[data-pulse-theme="dark"] .pulse-mission-card p{color:#ccc1b8;}
html[data-pulse-theme="dark"] .pulse-mission-card .eyebrow{color:#d7beac;}
html[data-pulse-theme="dark"] .pulse-mission-card .btn{background:#2a3a3c;color:#edf5f7;}
html[data-pulse-theme="dark"] .pulse-graphic .tile{border:1px solid #343f4488;box-shadow:5px 10px 14px -9px #00000055;background:#2e403d;color:#abd6d8;}
html[data-pulse-theme="dark"] .pulse-graphic .tile+ .tile{background:#2b3a43;color:#aec6d6;}
html[data-pulse-theme="dark"] .pulse-graphic .tiny-star{color:#ddbe9d;}
html[data-pulse-theme="dark"] .pulse-graphic .p-dot{background:#362d41;}
html[data-pulse-theme="dark"] .pulse-tasks{border:1px solid #34443e;background:#192b36;box-shadow:0 9px 28px -20px #00000025;}
html[data-pulse-theme="dark"] .pulse-tasks:before{border:1px dashed #343f44;}
html[data-pulse-theme="dark"] .pulse-tasks .sub{color:#a8bec9;}
html[data-pulse-theme="dark"] .pulse-task{border-bottom:1px solid #343f44;}
html[data-pulse-theme="dark"] .pulse-task .task-icon{background:#25333c;color:#aec7d5;}
html[data-pulse-theme="dark"] .pulse-task:nth-of-type(2) .task-icon{background:#2f273a;color:#b9a9d0;}
html[data-pulse-theme="dark"] .pulse-task:nth-of-type(3) .task-icon{background:#3f3222;color:#ddc2a6;}
html[data-pulse-theme="dark"] .pulse-task:nth-of-type(4) .task-icon{background:#29382f;color:#b6cdc2;}
html[data-pulse-theme="dark"] .pulse-task small{color:#a8bec9;}
html[data-pulse-theme="dark"] .pulse-task .status-square{border:1px solid #343f44;}
html[data-pulse-theme="dark"] .pulse-task.done .status-square{background:#324639;border-color:#34443a;color:#edf5f7;}
html[data-pulse-theme="dark"] .pulse-session-control{background:#142630;border:1px solid #343f44;}
html[data-pulse-theme="dark"] .session-knob .knob{background:#242e29;box-shadow:5px 5px 10px #9ac7d60b,-5px -5px 10px #9ac7d60b,inset 0 0 0 1px #9ac7d60b;}
html[data-pulse-theme="dark"] .session-knob .knob:before{border:1px dashed #343f44;}
html[data-pulse-theme="dark"] .session-knob .knob .num{color:#b3ced0;}
html[data-pulse-theme="dark"] .session-knob .knob .num small{color:#a8bec9;}
html[data-pulse-theme="dark"] .knob-description p{color:#a8bec9;}
html[data-pulse-theme="dark"] .dose-options button{background:#192b36;border:1px solid #344441;}
html[data-pulse-theme="dark"] .dose-options button.active{color:#edf5f7;}
html[data-pulse-theme="dark"] .pulse-seal{color:#a8bec9;}
html[data-pulse-theme="dark"] .seal-symbol{background:#242e28;color:#b7cdc5;}
html[data-pulse-theme="dark"] .seal-symbol:before{background:#192b3665;}
html[data-pulse-theme="dark"] .pulse-seal:nth-child(2) .seal-symbol{background:#3f3422;color:#dac5a9;}
html[data-pulse-theme="dark"] .pulse-seal:nth-child(3) .seal-symbol{background:#302938;color:#baaecc;}
html[data-pulse-theme="dark"] .activity-score strong{color:#add2d6;}
html[data-pulse-theme="dark"] .activity-score p{color:#a8bec9;}
html[data-pulse-theme="dark"] .pulse-mini-bars{background:repeating-linear-gradient(to top,transparent,transparent 24px,#142630 24px,#142630 25px);}
html[data-pulse-theme="dark"] .pulse-mini-bars i{box-shadow:inset 1px 1px 1px #9ac7d60b;}
html[data-pulse-theme="dark"] .pulse-mini-bars i:after{background:repeating-linear-gradient(-28deg,transparent 0 6px,#263f4b38 6px 7px);}
html[data-pulse-theme="dark"] .pulse-mini-bars b{color:#b9c8cb;}
html[data-pulse-theme="dark"] .pulse-mini-bars small{color:#a8bec9;}
html[data-pulse-theme="dark"] .pulse-forecast-teaser{background:#283339;border:1px solid #3b494f;}
html[data-pulse-theme="dark"] .pulse-forecast-teaser p{color:#a8bec9;}
html[data-pulse-theme="dark"] .pulse-forecast-teaser strong{color:#afc9d5;}
html[data-pulse-theme="dark"] .pulse-tail{color:#a8bec9;}
html[data-pulse-theme="dark"] .pulse-chart-plane{background:#242e2b;border:1px solid #34443d;}
html[data-pulse-theme="dark"] .pulse-chart-metrics{border-bottom:1px solid #344440;}
html[data-pulse-theme="dark"] .pulse-chart-metrics span{color:#a8bec9;}
html[data-pulse-theme="dark"] .pulse-pace-card{background:#192b36;}
html[data-pulse-theme="dark"] .pulse-pace-card .forecast-date{background:#26333b;}
html[data-pulse-theme="dark"] .pulse-pace-card .forecast-date strong{color:#b0c6d3;}
html[data-pulse-theme="dark"] .pulse-evidence-row .e-track{background:#242e29;}
html[data-pulse-theme="dark"] .pulse-analysis-link{color:#b7c9cc;}
html[data-pulse-theme="dark"] .pulse-data-stamp{color:#a8bec9;}
html[data-pulse-theme="dark"] .player-wrap{background:#2e4447;}
html[data-pulse-theme="dark"] .big-play{border:1px solid #343f4455;background:#192b36ec;box-shadow:0 0 0 9px #9ac7d612;}
html[data-pulse-theme="dark"] .stage-path button{background:#242e27;border:1px solid #34443b;}
html[data-pulse-theme="dark"] .stage-path button.active{color:#edf5f7;}
html[data-pulse-theme="dark"] .stage-path button.active span{border-color:#344443;}
html[data-pulse-theme="dark"] .studio-tab-area>.tabs{background:#242e29;}
html[data-pulse-theme="dark"] .studio-tab-area>.tabs button.active{background:#192b36;box-shadow:0 2px 6px #00000015;}
html[data-pulse-theme="dark"] .cue{border-bottom:1px solid #343f44;}
html[data-pulse-theme="dark"] .cue.active{background:#293833;border:1px solid #3b4e47;}
html[data-pulse-theme="dark"] .term-link{background:#27353a;border-bottom:1px dashed #3b4a4f;color:#accdd7;}
html[data-pulse-theme="dark"] .source-quote{background:#242e2c;}
html[data-pulse-theme="dark"] .lesson-card{box-shadow:0 8px 23px -19px #00000055;}
html[data-pulse-theme="dark"] .lesson-cover{background:#283439;}
html[data-pulse-theme="dark"] .pulse-cover:after{border:20px solid #343f4430;}
html[data-pulse-theme="dark"] .pulse-cover .play-circle{background:#192b36;}
html[data-pulse-theme="dark"] .word-list-item.active{background:#232f2a;border-color:#3b4e46;}
html[data-pulse-theme="dark"] .review-stage{box-shadow:0 13px 30px -22px #00000040;background:#283928;}
html[data-pulse-theme="dark"] .flash-answer{background:#29382f;}
html[data-pulse-theme="dark"] .page-link{background:#192b36;}
html[data-pulse-theme="dark"] .quiz-context{background:#242e2c;}
html[data-pulse-theme="dark"] .chart-tooltip{background:#2f4347;}
html[data-pulse-theme="dark"] .toast{background:#2f4347;}
html[data-pulse-theme="dark"] dialog{box-shadow:0 30px 90px #0000003b;}
html[data-pulse-theme="dark"] .gate-route{color:#a8bec9;}
html[data-pulse-theme="dark"] .gate-route .gate-number{background:#242e26;border:1px solid #34443c;}
html[data-pulse-theme="dark"] .gate-route.active{background:#232f2c;}
html[data-pulse-theme="dark"] .gate-route.solved .gate-number{background:#32463e;color:#edf5f7;}
html[data-pulse-theme="dark"] .mission-route .mission-word{color:#b7cccd;}
html[data-pulse-theme="dark"] .mission-stage{background:#192b36;border:1px solid #34443b;box-shadow:0 12px 40px -30px #00000080;}
html[data-pulse-theme="dark"] .mission-stage .stage-meta{color:#a8bec9;}
html[data-pulse-theme="dark"] .mission-stage>.sub{color:#a8bec9;}
html[data-pulse-theme="dark"] .mission-context{background:#242e2a;color:#b4ccd0;}
html[data-pulse-theme="dark"] .mission-answer-option{border:1px solid #343f44;}
html[data-pulse-theme="dark"] .mission-answer-option .num{border:1px solid #34443b;color:#a8bec9;}
html[data-pulse-theme="dark"] .mission-answer-option.selected{background:#232f29;border-color:#3b4e46;color:#aadad0;}
html[data-pulse-theme="dark"] .mission-order-target{border:1.5px dashed #343f44;background:#242e27;}
html[data-pulse-theme="dark"] .mission-order-target .empty-order{color:#a8bec9;}
html[data-pulse-theme="dark"] .word-piece{background:#26303b;border:1px solid #3b484e;border-bottom:3px solid #3b484e;color:#b0c9d4;}
html[data-pulse-theme="dark"] .word-piece:hover{background:#25343c;}
html[data-pulse-theme="dark"] .mission-order-target .word-piece{background:#192b36;color:#a9d8db;border-color:#3b4e48;}
html[data-pulse-theme="dark"] .match-side button{background:#192b36;border:1px solid #343f44;}
html[data-pulse-theme="dark"] .match-side button.paired{background:#232e29;border-color:#34443b;}
html[data-pulse-theme="dark"] .match-side button.selected{box-shadow:0 0 0 2px #0000004d;border-color:#3b4e48;}
html[data-pulse-theme="dark"] .mission-input{background:#232e27;border:1px solid #34443d;}
html[data-pulse-theme="dark"] .mission-hint{background:#3f3322;color:#d8c7ac;}
html[data-pulse-theme="dark"] .mission-feedback{background:#232f26;border:1px solid #344438;}
html[data-pulse-theme="dark"] .mission-feedback.wrong{background:#3f2e22;border-color:#564333;}
html[data-pulse-theme="dark"] .mission-feedback p{color:#a8bec9;}
html[data-pulse-theme="dark"] .mission-feedback.wrong p{color:#cdbfb7;}
html[data-pulse-theme="dark"] .mission-feedback small{color:#a8bec9;}
html[data-pulse-theme="dark"] .mission-note{background:#293238;border:1px solid #3b494e;}
html[data-pulse-theme="dark"] .mission-note p{color:#b9c6cb;}
html[data-pulse-theme="dark"] .coin{background:#483c25;color:#dfc8a4;border:5px solid #5a4c30;box-shadow:0 4px 13px #9ac7d60b;}
html[data-pulse-theme="dark"] .mission-coins small{color:#a8bec9;}
html[data-pulse-theme="dark"] .mission-gallery .pulse-mission-card:nth-child(2){background:#293830;border-color:#3b4e42;}
html[data-pulse-theme="dark"] .mission-gallery .pulse-mission-card:nth-child(3){background:#262a3b;border-color:#3b3f4e;}
html[data-pulse-theme="dark"] .mission-result{background:#192b36;}
html[data-pulse-theme="dark"] .mission-result .result-medal{background:#463d27;color:#decda5;}
html[data-pulse-theme="dark"] .mission-summary>div{background:#242e27;}
html[data-pulse-theme="dark"] .mission-summary small{color:#a8bec9;}
html[data-pulse-theme="dark"] .mission-compare{background:#27343a;}
html[data-pulse-theme="dark"] .new-activity{background:#483c25;}
html[data-pulse-theme="dark"] .mission-live-only{color:#a8bec9;}
html[data-pulse-theme="dark"] .pulse-hint-link{color:#a8bec9;}
@media (max-width:760px){html[data-pulse-theme="dark"] body{background:#242e24;}
html[data-pulse-theme="dark"] .mobile-nav{background:#192b36f5;border:1px solid #34443c;box-shadow:0 12px 28px #00000020;}
html[data-pulse-theme="dark"] .mobile-nav button{color:#a8bec9;}
html[data-pulse-theme="dark"] .mobile-nav button.active{background:#293832;color:#a5ddde;}
html[data-pulse-theme="dark"] .mobile-nav button.add{color:#edf5f7;}
html[data-pulse-theme="dark"] .gate-route{border:1px solid #343f44;}}
@media (max-width:760px){html[data-pulse-theme="dark"] .pulse-mobile-gates button{border:1px solid #34443b;background:#192b36;color:#b9cbc8;}
html[data-pulse-theme="dark"] .pulse-mobile-gates button.active{background:#293831;border-color:#3b4e46;color:#aed6cc;}}
html[data-pulse-theme="dark"] .pp-progress .pp-kicker{color:#b6cacd;}
html[data-pulse-theme="dark"] .pp-plain-btn{background:#192b36;}
html[data-pulse-theme="dark"] .pp-plain-btn:hover{background:#242e2d;}
html[data-pulse-theme="dark"] .pp-plain-btn.active{color:#edf5f7;}
html[data-pulse-theme="dark"] .pp-plain-btn.soft{background:#242e2e;}
html[data-pulse-theme="dark"] .pp-small-label{background:#232e29;color:#b2d2cb;}
html[data-pulse-theme="dark"] .pp-small-label i{background:#32463e;}
html[data-pulse-theme="dark"] .pp-course{border:1px solid #344441;background:linear-gradient(125deg,#232e2d 0%,#242e2e 45%,#283739 100%);}
html[data-pulse-theme="dark"] .pp-course:before{background-image:radial-gradient(#2e40402c .65px,transparent .65px);}
html[data-pulse-theme="dark"] .pp-toggle{background:#242e2b;}
html[data-pulse-theme="dark"] .pp-toggle button{color:#a8bec9;}
html[data-pulse-theme="dark"] .pp-toggle button.active{background:#192b36;box-shadow:0 2px 7px #00000010;color:#a5d8df;}
html[data-pulse-theme="dark"] .pp-count span{color:#a8bec9;}
html[data-pulse-theme="dark"] .pp-route-svg .pp-sublabel{fill:#a8bec9;}
html[data-pulse-theme="dark"] .pp-route-svg [role=button]:focus-visible .pp-station-disc{stroke:#bea992;}
html[data-pulse-theme="dark"] .pp-map-caption{color:#a8bec9;}
html[data-pulse-theme="dark"] .pp-map-key i.ghost{background:#192b36;border:1.5px solid #524537;}
html[data-pulse-theme="dark"] .pp-history-row{border-top:1px solid #344441;}
html[data-pulse-theme="dark"] .pp-icon-btn{border:1px solid #344440;background:#192b36;}
html[data-pulse-theme="dark"] .pp-icon-btn:hover{background:#232f2b;}
html[data-pulse-theme="dark"] .pp-selected-note{background:#192b36b8;}
html[data-pulse-theme="dark"] .pp-pace{background:#192b36;}
html[data-pulse-theme="dark"] .pp-knob-face{background:linear-gradient(135deg,#192b36,#242e2b);border:5px solid #343f44;box-shadow:7px 9px 20px #00000019,-5px -5px 15px #9ac7d60b,inset 0 0 0 1px #9ac7d60b;}
html[data-pulse-theme="dark"] .pp-knob-face strong{color:#a8d4dc;}
html[data-pulse-theme="dark"] .pp-knob-face small{color:#a8bec9;}
html[data-pulse-theme="dark"] .pp-knob-pointer{background:#324b4e;}
html[data-pulse-theme="dark"] .pp-presets button{background:#242e29;}
html[data-pulse-theme="dark"] .pp-presets button.active{background:#293833;color:#a6d8de;border-color:#3b4e49;}
html[data-pulse-theme="dark"] .pp-arrival{background:#2c4346;color:#edf5f7;}
html[data-pulse-theme="dark"] .pp-arrival:before{border:1px solid #343f4414;box-shadow:0 0 0 20px #9ac7d605,0 0 0 40px #9ac7d604;}
html[data-pulse-theme="dark"] .pp-pace-baseline{color:#a8bec9;}
html[data-pulse-theme="dark"] .pp-next-strip{background:linear-gradient(110deg,#3f3222,#3f3122);border:1px solid #5a4630;}
html[data-pulse-theme="dark"] .pp-next-strip:after{color:#ddc29d88;}
html[data-pulse-theme="dark"] .pp-next-mark{border:1px solid #594830;background:linear-gradient(150deg,#3f3722,#483b25);box-shadow:0 5px 12px #00000020,inset 0 0 0 4px #9ac7d60b;color:#dcc0a7;}
html[data-pulse-theme="dark"] .pp-next-copy p{color:#cfc1b4;}
html[data-pulse-theme="dark"] .pp-next-percent{color:#d8c3ab;}
html[data-pulse-theme="dark"] .pp-next-strip .pp-plain-btn{background:#3f3322;border-color:#564833;}
html[data-pulse-theme="dark"] .pp-explorer{background:#192b36;}
html[data-pulse-theme="dark"] .pp-period button{background:#242e2b;}
html[data-pulse-theme="dark"] .pp-period button.active{background:#293832;color:#aadad7;}
html[data-pulse-theme="dark"] .pp-day-chart text{fill:#a8bec9;}
html[data-pulse-theme="dark"] .pp-day-selected{background:#242e2b;}
html[data-pulse-theme="dark"] .pp-review-panel{background:#242e27;}
html[data-pulse-theme="dark"] .pp-review-orb{background:#192b36;box-shadow:5px 7px 16px #00000011,-4px -4px 13px #9ac7d60b;border:1px solid #3b4e46;}
html[data-pulse-theme="dark"] .pp-review-orb:before{border:2px dashed #3b4e47;}
html[data-pulse-theme="dark"] .pp-review-orb strong{color:#b4cfc8;}
html[data-pulse-theme="dark"] .pp-review-track{background:#142630;}
html[data-pulse-theme="dark"] .pp-proof{background:#242e2e;}
html[data-pulse-theme="dark"] .pp-proof:hover{background:#242e2c;border-color:#3b4e4b;}
html[data-pulse-theme="dark"] .pp-page-foot{background:#242e2a;}
html[data-pulse-theme="dark"] .pp-line-svg text{fill:#a8bec9;}
html[data-pulse-theme="dark"] .pp-line-svg .pp-gridline{stroke:#263f4b;}
html[data-pulse-theme="dark"] .pp-line-svg [role=button]:focus-visible circle{stroke:#bfa791;}
html[data-pulse-theme="dark"] .pp-dialog-metrics>div{background:#232f2b;}
html[data-pulse-theme="dark"] .pp-table{border:1px solid #344440;}
html[data-pulse-theme="dark"] .pp-table th{background:#242e2b;}
html[data-pulse-theme="dark"] .pp-milestone-buttons button{border:1px solid #34443f;}
html[data-pulse-theme="dark"] .pp-snapshot-label{color:#d6c1ad;background:#3f3322;}
html[data-pulse-theme="dark"] .pp-progress .pp-review-panel .pp-plain-btn{background:#232e27;color:#afd5cb;}
html[data-pulse-theme="dark"] body{--pulse-night-background-9da3b6:#2e3240;--pulse-night-color-477a7c:#b1d1d2;--pulse-night-color-white:#edf5f7;--pulse-night-fill-256d73:#a4dbdf;--pulse-night-fill-29484d:#afcfd4;--pulse-night-fill-47706b:#b4d0cc;--pulse-night-fill-6e8785:#a8bec9;--pulse-night-fill-789093:#a8bec9;--pulse-night-fill-8ba19f:#a8bec9;--pulse-night-fill-8ca5a0:#a8bec9;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [fill="#19424918"]{fill:#8fbac218;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [fill="#246f77"]{fill:#8cbfc4;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [fill="#284b4913"]{fill:#98b8b613;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [fill="#286f76"]{fill:#8fbdc2;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [fill="#35543e"]{fill:#99b8a2;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [fill="#8ba789"]{fill:#8ba789;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [fill="#92beb3"]{fill:#92beb3;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [fill="#eaf2ec"]{fill:#263f4b;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [fill="#eaf3f0"]{fill:#263f4b;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [fill="#edc291"]{fill:#dfc19f;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [fill="#edf1f7"]{fill:#263f4b;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [fill="#edf3f8"]{fill:#263f4b;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [fill="#edf6f1"]{fill:#263f4b;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [fill="#f0edf5"]{fill:#263f4b;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [fill="#f5eae3"]{fill:#263f4b;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [fill="#f5f0e7"]{fill:#263f4b;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [fill="#fafffc"]{fill:#263f4b;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [fill="#fff"]{fill:#263f4b;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [fill="#fffcf7"]{fill:#263f4b;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [fill="white"]{fill:#263f4b;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [stop-color="#357e86"]{stop-color:#92babf;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [stop-color="#94bfae"]{stop-color:#94bfae;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [stop-color="#e7eeeb"]{stop-color:#263f4b;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [stop-color="#fbfdfc"]{stop-color:#263f4b;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [stop-color="#ffffff"]{stop-color:#263f4b;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [stroke="#206b72"]{stroke:#8bc1c6;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [stroke="#35543e"]{stroke:#99b8a2;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [stroke="#477f69"]{stroke:#99b8ac;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [stroke="#537f7d"]{stroke:#8ab2b1;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [stroke="#5d8ca3"]{stroke:#83a7b9;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [stroke="#85b2cb"]{stroke:#85b2cb;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [stroke="#88b5a2"]{stroke:#88b5a2;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [stroke="#88b8cf"]{stroke:#88b8cf;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [stroke="#8da18d"]{stroke:#8da18d;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [stroke="#8da58a"]{stroke:#8da58a;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [stroke="#94b9ce"]{stroke:#94b9ce;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [stroke="#9abdad"]{stroke:#9abdad;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [stroke="#9bbeb6"]{stroke:#9bbeb6;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [stroke="#9da3b6"]{stroke:#9da3b6;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [stroke="#a3bac9"]{stroke:#a3bac9;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [stroke="#a6a9c2"]{stroke:#a6a9c2;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [stroke="#a77448"]{stroke:#c59b78;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [stroke="#aab9a7"]{stroke:#aab9a7;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [stroke="#aebfbc"]{stroke:#aebfbc;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [stroke="#b5a3d0"]{stroke:#b5a3d0;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [stroke="#b6a6cc"]{stroke:#b6a6cc;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [stroke="#b88958"]{stroke:#c59f77;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [stroke="#c0d1d1"]{stroke:#c0d1d1;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [stroke="#c5d9d527"]{stroke:#c5d9d527;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [stroke="#c9d6d0"]{stroke:#c9d6d0;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [stroke="#ceb596"]{stroke:#ceb596;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [stroke="#d5e5e2"]{stroke:#d5e5e2;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [stroke="#dab780"]{stroke:#d6b684;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [stroke="#dce5e1"]{stroke:#263f4b;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [stroke="#dce8ed"]{stroke:#263f4b;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [stroke="#e3ddee"]{stroke:#263f4b;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [stroke="#e3eae8"]{stroke:#263f4b;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [stroke="#e8eeec"]{stroke:#263f4b;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [stroke="#edf3ef"]{stroke:#263f4b;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [stroke="#efbd80"]{stroke:#dbbb94;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [stroke="#f3e5d2"]{stroke:#263f4b;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [stroke="#f4f9f8"]{stroke:#263f4b;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [stroke="#fff"]{stroke:#263f4b;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [stroke="#ffffff00"]{stroke:#263f4b00;}
html[data-pulse-theme="dark"] :is(#root,#modal) svg [stroke="white"]{stroke:#263f4b;}
/* Deliberately tuned slate / mist / mint palette. No inversion filter. */
html[data-pulse-theme=dark] body{
color-scheme:dark;--bg:#0c1720;--bg-deep:#101d27;--paper:#101e28;--card:#172a36;--ink:#e4eff4;--muted:#a5bbc8;--line:#304855;--soft:#1e3441;
--primary:#83c9cb;--primary-deep:#b5e7e7;--primary-bright:#a1d9dc;--primary-soft:#233f4a;--sage:#96c7b5;--blue:#9ac3de;--blue-soft:#203b50;--clay:#e1b089;--clay-soft:#43372f;--lav:#bdb0dc;--lav-soft:#39354e;--sand:#e6c084;--sand-soft:#403a2b;--danger:#eea69c;--gold:#e5bd7c;
--shadow:0 1px 0 #b6d5e208 inset,0 10px 28px -20px #0008;--shadow-lg:0 22px 54px -20px #0009;--grad-primary:linear-gradient(140deg,#98d5d5,#75bcbf);--grad-gold:linear-gradient(140deg,#ead4a5,#d9ae72);background:#0c1720;color:var(--ink)}
html[data-pulse-theme=dark] .pulse-app{background:#101e28;border-color:#263d4b;box-shadow:0 24px 90px -35px #0009}
html[data-pulse-theme=dark] .masthead{background:#14252f;border-bottom-color:#2b4250;box-shadow:none}
html[data-pulse-theme=dark] .brand-name{color:#e8f1f5}
html[data-pulse-theme=dark] .brand small{color:#adc2ce}
html[data-pulse-theme=dark] .pulse-logo i{background:#72b7c0}
html[data-pulse-theme=dark] .pulse-logo i:nth-child(2){background:#9accc6}
html[data-pulse-theme=dark] .pulse-logo i:nth-child(3){background:#bdb0d5}
html[data-pulse-theme=dark] .top-search{background:#0f202a;border:1px solid #2d4553;box-shadow:none}
html[data-pulse-theme=dark] .top-search input{background:none}
html[data-pulse-theme=dark] .primary-nav button{color:#aec3ce}
html[data-pulse-theme=dark] .primary-nav button.active{background:#254550;color:#b7e2e3}
html[data-pulse-theme=dark] .header-actions>.ibtn{background:#203642;color:#b3cad4}
html[data-pulse-theme=dark] .avatar{background:#263e4b;border-color:#3b5663;color:#b9dbdf;box-shadow:none}
html[data-pulse-theme=dark] .edition-bar{background:none;border-color:transparent}
html[data-pulse-theme=dark] .data-control{background:#162c37}
html[data-pulse-theme=dark] .data-control button.active{background:#29444f;color:#d0eced;box-shadow:none}
html[data-pulse-theme=dark] .edition-actions #breadcrumb{color:#b2c9d3}
html[data-pulse-theme=dark] .card{background:var(--card);border-color:var(--line);box-shadow:var(--shadow)}
html[data-pulse-theme=dark] :is(input,select,textarea){background:#10232e;color:var(--ink);border-color:#49606c}
html[data-pulse-theme=dark] input[type=range]{background:transparent}
html[data-pulse-theme=dark] :is(input,textarea)::placeholder{color:#93aebd;opacity:1}
html[data-pulse-theme=dark] :is(.btn,.ibtn,.chip,.pp-plain-btn){color:#dbe9ee;background:var(--soft);border-color:#37505e;box-shadow:none}
html[data-pulse-theme=dark] :is(.btn,.ibtn,.chip,.pp-plain-btn):hover{background:#2a4351}
html[data-pulse-theme=dark] :is(.btn.primary,.btn.ink,.chip.active,.ibtn.active){background:#91cfd1;color:#102a34;border-color:#91cfd1;box-shadow:0 4px 16px -9px #6ebcc75e}
html[data-pulse-theme=dark] :is(.btn.primary,.btn.ink,.chip.active):hover{background:#b0dfe0;color:#102a34}
html[data-pulse-theme=dark] .btn.soft{background:#264852;color:#c1e4e4;border-color:#365961}
html[data-pulse-theme=dark] .btn.ghost{background:transparent;border-color:transparent;color:#acd5dc}
html[data-pulse-theme=dark] :is(.pill,.level){color:#d0e2e7;background:#294450}
html[data-pulse-theme=dark] :is(.pill.blue,.symbol.blue){background:#233f53;color:#b7d8ef}
html[data-pulse-theme=dark] :is(.pill.green,.pill.lime,.symbol){background:#29443f;color:#b9e0ce}
html[data-pulse-theme=dark] :is(.pill.peach,.symbol.clay,.symbol.peach,.btn.clay){background:#46382f;color:#f0c29e}
html[data-pulse-theme=dark] :is(.pill.purple,.symbol.lav,.symbol.purple){background:#3b3552;color:#d6c9ef}
html[data-pulse-theme=dark] .symbol{box-shadow:inset 0 1px 0 #bedbe915}
html[data-pulse-theme=dark] .symbol:after{background:linear-gradient(150deg,#b6d1dd10,transparent 70%)}
html[data-pulse-theme=dark] :is(.hero,.hero.compact){background:none;color:var(--ink);box-shadow:none}
html[data-pulse-theme=dark] :is(.hero h1,.hero h2,.hero h3,.pulse-page-title h1){color:var(--ink)}
html[data-pulse-theme=dark] .pulse-page-title p{color:var(--muted)}
html[data-pulse-theme=dark] .pulse-page-title .eyebrow{color:#9cc6cf}
html[data-pulse-theme=dark] :is(.tabs,.segmented){background:#112732}
html[data-pulse-theme=dark] :is(.tabs button.active,.segmented button.active){background:#345661;color:#e3f3f4;box-shadow:none}
html[data-pulse-theme=dark] .nav-drawer{background:#172c38;border-color:#3c5361;box-shadow:0 28px 75px #0009}
html[data-pulse-theme=dark] .nav-item{color:#bed1dc}
html[data-pulse-theme=dark] :is(.nav-item.active,.nav-item:hover){background:#294b56;color:#cfe9ec}
html[data-pulse-theme=dark] :is(.menu-scrim,dialog::backdrop){background:#030c16b0}
html[data-pulse-theme=dark] :is(dialog,.dialog-head){background:#172c38;color:var(--ink);border-color:var(--line)}
html[data-pulse-theme=dark] :is(.soft-box,.source-quote,.notice){background:#203744;color:#bacdd7;border-color:#354f5d}
html[data-pulse-theme=dark] :is(.notice.warn,.admin-banner){background:#3c322b;color:#edc29f;border-color:#685242}
html[data-pulse-theme=dark] :is(.toast,.chart-tooltip){background:#294754;color:#e1eff3;border:1px solid #56727e;box-shadow:0 8px 28px #0005}
html[data-pulse-theme=dark] :is(.toast .icon,.chart-tooltip small){color:#bddbdc}
html[data-pulse-theme=dark] table{background:#172a36;color:var(--ink)}
html[data-pulse-theme=dark] th{background:#203743;color:#bfd1da}
html[data-pulse-theme=dark] :is(td,th){border-color:var(--line)}
html[data-pulse-theme=dark] ::selection{background:#86c6ce;color:#112833}
html[data-pulse-theme=dark] :is(button,a,input,select,textarea,[tabindex]):focus-visible{outline-color:#b5dfeb}
html[data-pulse-theme=dark] ::-webkit-scrollbar-thumb{background:#3f5b6a;border-color:#162833}
html[data-pulse-theme=dark] .mobile-nav{background:#172c38f7;border-color:#39515e;box-shadow:0 5px 25px #0005}
html[data-pulse-theme=dark] .mobile-nav button{color:#b9ced9}
html[data-pulse-theme=dark] .mobile-nav button.active{background:#2c4a57;color:#d6eff0}
html[data-pulse-theme=dark] .mobile-nav button.add{background:#9ad4d6;color:#15333c}
/* Signature instruments and response states */
html[data-pulse-theme=dark] .pulse-instrument{background:linear-gradient(145deg,#203641,#162a36);border-color:#34525d;box-shadow:inset 0 1px 0 #b4d4df0d}
html[data-pulse-theme=dark] .dial-center .num{color:#e4f1f5}
html[data-pulse-theme=dark] :is(.dial-center p,.dial-center .en){color:#adc2ca}
html[data-pulse-theme=dark] .dial-selected{background:#2a4652;color:#dcebf0;border-color:#476571}
html[data-pulse-theme=dark] :is(.pulse-review-ticket,.pulse-pace-card){background:#203f4b;border-color:#385c68;color:#e0edf0}
html[data-pulse-theme=dark] .pulse-review-ticket .btn{background:#96cacc;color:#16303a}
html[data-pulse-theme=dark] .pulse-agenda .btn.apricot{background:#dfba92;color:#2e261e;border-color:#dfba92}
html[data-pulse-theme=dark] .pulse-agenda .btn.ghost{background:none;border-color:#3a5663;color:#bfd3dc}
html[data-pulse-theme=dark] .cal-days button{color:#b2c5cf}
html[data-pulse-theme=dark] .cal-days button.studied{color:#bbdecf;border-color:#496b64}
html[data-pulse-theme=dark] .cal-days button.selected{background:#8dcacb;color:#122f39;border-color:#8dcacb;box-shadow:none}
html[data-pulse-theme=dark] .cal-days button.today:not(.selected){color:#edc099;border-color:#967351}
html[data-pulse-theme=dark] .small-dial:before{background:#162b36}
html[data-pulse-theme=dark] .pulse-cover{background:color-mix(in srgb,var(--cover) 19%,#152630);color:#e4edf2}
html[data-pulse-theme=dark] .pulse-cover strong{color:#e5eef4}
html[data-pulse-theme=dark] .pulse-cover span{color:#c4d5df}
html[data-pulse-theme=dark] .pulse-cover .icon{color:var(--cover);opacity:.5}
html[data-pulse-theme=dark] .pulse-cover:before{border-color:#bfdce61a}
html[data-pulse-theme=dark] :is(.pulse-piece,.pulse-option,.pulse-match button){background:#233b48;color:#dcebf1;border-color:#405969}
html[data-pulse-theme=dark] :is(.pulse-option.selected,.pulse-match button.selected){background:#305565;border-color:#8cc5ce}
html[data-pulse-theme=dark] :is(.quiz-option.correct,.pulse-feedback,.feedback){background:#284b43;color:#cce9db;border-color:#537d6d}
html[data-pulse-theme=dark] :is(.quiz-option.wrong,.pulse-feedback.wrong,.feedback.wrong){background:#4b3435;color:#f0c9c2;border-color:#8a6460}
/* Progress Playbook, including the course, knob, checkpoints and evidence. */
html[data-pulse-theme=dark] .pp-progress{
--pp-teal:#8bced1;--pp-ink:#e2eff3;--pp-blue:#9dc4df;--pp-mint:#9dccb9;--pp-lilac:#c0b1de;--pp-peach:#e5bd91;--pp-muted:#a8c0ca;--pp-border:#334d5a;--pp-soft:#203742;color:var(--pp-ink)}
html[data-pulse-theme=dark] .pp-course{background:linear-gradient(130deg,#1d3540,#142a36 55%,#203b47);border-color:#365563}
html[data-pulse-theme=dark] .pp-course:before{background-image:radial-gradient(#94cbd52a .65px,transparent .65px)}
html[data-pulse-theme=dark] :is(.pp-pace,.pp-explorer){background:#172c38;border-color:#36515f}
html[data-pulse-theme=dark] .pp-toggle{background:#102732;border:1px solid #2d4855}
html[data-pulse-theme=dark] .pp-toggle button{color:#a9c0cd}
html[data-pulse-theme=dark] .pp-toggle button.active{background:#2c4b57;color:#d4edef;box-shadow:0 1px 0 #7799a722 inset}
html[data-pulse-theme=dark] .pp-count span{color:#9bb7c3}
html[data-pulse-theme=dark] :is(.pp-map-caption,.pp-progress .pp-kicker){color:#a9c4cf}
html[data-pulse-theme=dark] .pp-selected-note{background:#2c4854b0;border:1px solid #47616d;color:#dbecf2}
html[data-pulse-theme=dark] :is(.pp-history-row,.pp-tabs){border-color:#375462}
html[data-pulse-theme=dark] .pp-icon-btn{background:#294451;color:#dcecf1;border-color:#47616c}
html[data-pulse-theme=dark] .pp-plain-btn.soft{background:#294550;color:#cbe8ea}
html[data-pulse-theme=dark] .pp-knob-face{background:linear-gradient(140deg,#2c4857,#1b3341);border:5px solid #29424f;box-shadow:9px 11px 22px #0006,-3px -3px 10px #65829112,inset 0 1px 0 #87acba28}
html[data-pulse-theme=dark] .pp-knob-face strong{color:#b4e3e4}
html[data-pulse-theme=dark] .pp-knob-face small{color:#bbced6}
html[data-pulse-theme=dark] .pp-knob-pointer{background:#ade3e6;box-shadow:0 0 5px #a6dfe02e}
html[data-pulse-theme=dark] .pp-presets button{background:#162a35;color:#a8c0ce;border-color:#37505e}
html[data-pulse-theme=dark] .pp-presets button.active{background:#35535d;color:#d4eced;border-color:#70999f}
html[data-pulse-theme=dark] .pp-presets button b{color:#d7e9ed}
html[data-pulse-theme=dark] .pp-arrival{background:linear-gradient(135deg,#315963,#264b59);border:1px solid #4c7380;color:#f1f8f8}
html[data-pulse-theme=dark] :is(.pp-arrival>small,.pp-arrival .pp-arrival-bottom){color:#d0e4e7}
html[data-pulse-theme=dark] .pp-next-strip{background:linear-gradient(110deg,#393128,#473a2d);border-color:#735b40}
html[data-pulse-theme=dark] .pp-next-copy p{color:#d4bd9f}
html[data-pulse-theme=dark] .pp-next-percent{color:#e5bc8e}
html[data-pulse-theme=dark] .pp-next-mark{background:linear-gradient(140deg,#685039,#443529);border-color:#9c7951;color:#f0d0a0;box-shadow:0 3px 12px #0004,inset 0 0 0 4px #ecce9a0f}
html[data-pulse-theme=dark] .pp-next-strip .pp-plain-btn{background:#3a3129;border-color:#8a6f50;color:#edd1a9}
html[data-pulse-theme=dark] .pp-small-label{background:#29453f;color:#c0e5d5}
html[data-pulse-theme=dark] .pp-day-selected{background:#243f4d;color:#c9dfe7}
html[data-pulse-theme=dark] .pp-review-panel{background:linear-gradient(150deg,#223b40,#172c37);border-color:#385655}
html[data-pulse-theme=dark] .pp-review-orb{background:#28434a;border-color:#537d78;box-shadow:6px 9px 16px #0003,-2px -2px 9px #7aaea511}
html[data-pulse-theme=dark] .pp-review-orb strong{color:#bcdfce}
html[data-pulse-theme=dark] .pp-review-orb:before{border-color:#619085}
html[data-pulse-theme=dark] .pp-progress .pp-review-panel .pp-plain-btn{background:#36544b;color:#d6eee1;border-color:#547869}
html[data-pulse-theme=dark] .pp-proof{background:#223b48;border-color:#405b6a}
html[data-pulse-theme=dark] .pp-proof:hover{background:#2a4958;border-color:#7bafb9}
html[data-pulse-theme=dark] .pp-page-foot{background:#1b313e;border-color:#3b5462;color:#b7cdd7}
html[data-pulse-theme=dark] .pp-period button{background:#253f4c;color:#b2cbd7}
html[data-pulse-theme=dark] .pp-period button.active{background:#3a5c60;color:#d8eeeb}
html[data-pulse-theme=dark] :is(.pp-route-svg,.pp-line-svg,.pp-day-chart,.chart-svg,.ref-growth-svg,.network-svg) text{fill:#bdd0d9}
html[data-pulse-theme=dark] .pp-route-svg :is(.pp-number,text:not(.pp-sublabel)){fill:#e1eff4}
html[data-pulse-theme=dark] .pp-route-svg .pp-sublabel{fill:#abc4ce}
html[data-pulse-theme=dark] .radial-gate .dial-gate-label{fill:#d8ebef}
html[data-pulse-theme=dark] .radial-gate .dial-gate-sub{fill:#acc5cd}
/* Neutral canvas: do not inherit the legacy green appearance underneath PULSE. */
html[data-pulse-theme=dark] body .main{background:transparent}
html[data-pulse-theme=dark] body .pulse-app{background:#101f2a}
html[data-pulse-theme=dark] :is(.hero,.hero.compact){border:0}
html[data-pulse-theme=dark] .pulse-session-control{background:#172c38;border-color:#345260}
html[data-pulse-theme=dark] .pulse-tasks{background:#172c38;border-color:#345260}
html[data-pulse-theme=dark] .pulse-mission-card{background:#36352f;border-color:#716149}
html[data-pulse-theme=dark] .pulse-mission-card p{color:#d5cec0}
html[data-pulse-theme=dark] .mission-stage{background:#172c38;border-color:#3b5666}
html[data-pulse-theme=dark] :is(.mission-context,.mission-order-target,.mission-input){background:#102530;color:#dcebf1;border-color:#456171}
html[data-pulse-theme=dark] .match-side button{background:#203b49;color:#dceaf0;border-color:#4b6573}
html[data-pulse-theme=dark] .match-side button.selected{background:#355966;border-color:#8bbfc7}
html[data-pulse-theme=dark] .pulse-mobile-gates button{background:#18323f;color:#c1d5df;border-color:#3b5666}
html[data-pulse-theme=dark] .pulse-mobile-gates button.active{background:#31545d;color:#d6eceb;border-color:#71978e}
html[data-pulse-theme=dark] .pulse-forecast-teaser{background:#253e4b;border-color:#456272}
html[data-pulse-theme=dark] .stage-path button{background:#233b47;color:#bfd3df;border-color:#3c5664}
html[data-pulse-theme=dark] .stage-path button.active{background:#2e535c;color:#ddf0f0}
html[data-pulse-theme=dark] .cue.active{background:#26444a;border-color:#416970}

}
/* One persistent, keyboard-accessible control for the entire app. */
html[data-pulse-theme=dark]{background:#0c1720;color-scheme:dark}
html[data-pulse-theme=light]{color-scheme:light}
.pulse-theme-control{display:inline-flex;align-items:center;gap:3px;padding:4px;border:1px solid #dbe5e4;border-radius:14px;background:#f3f6f5;direction:ltr;flex:none}
.pulse-theme-control button{display:inline-grid;place-items:center;width:34px;height:34px;border:0;border-radius:10px;color:#61777b;background:none;padding:7px;min-height:34px;transition:background .15s,color .15s}
.pulse-theme-control button .icon{width:18px;height:18px}
.pulse-theme-control button:hover{background:#e4eeeb}
.pulse-theme-control button[aria-pressed=true]{background:#fff;color:#206b72;box-shadow:0 2px 7px #173d3f13}
html[data-pulse-theme=dark] .pulse-theme-control{background:#101e29;border-color:#334b59}
html[data-pulse-theme=dark] .pulse-theme-control button{color:#a9bdc9}
html[data-pulse-theme=dark] .pulse-theme-control button:hover{background:#243d4b}
html[data-pulse-theme=dark] .pulse-theme-control button[aria-pressed=true]{color:#a7e1e3;background:#2a4655;box-shadow:0 1px 0 #7399a62b inset,0 3px 8px #0002}
.pulse-theme-control button:focus-visible{outline:2px solid #6ebfc8;outline-offset:2px}
.pulse-appearance-note{font-size:12.5px;color:var(--muted);margin-top:8px;line-height:1.85}
#pulse-theme-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:1250px){.masthead{gap:16px}.top-search{max-width:215px}.primary-nav button{padding-left:9px;padding-right:9px}}
@media(max-width:760px){.header-actions{gap:6px}.header-actions #header-avatar{display:none}.pulse-theme-control{padding:3px;gap:1px;border-radius:12px}.pulse-theme-control button{width:32px;height:36px;padding:7px;min-height:36px}.pulse-theme-control button .icon{width:17px;height:17px}.masthead{gap:9px}.masthead .brand{min-width:0;flex:1}}
@media(max-width:390px){.masthead{padding-left:12px;padding-right:12px}.brand-name{font-size:16px}.brand small{font-size:10px;letter-spacing:1.2px}.pulse-logo{width:32px;transform:scale(.9);transform-origin:center}.header-actions #mobile-menu{width:29px}.pulse-theme-control button{width:29px}}
@media(prefers-reduced-motion:reduce){.pulse-theme-control button{transition:none}}
@media print{.pulse-theme-control{display:none!important}html[data-pulse-theme=dark],html[data-pulse-theme=dark] body{background:white!important;color:#182c35!important;--bg:white;--card:white;--ink:#182c35;--muted:#435f6c;--line:#d6e2e6;--soft:#edf3f5}}







/* ═══════════════════════════════════════════════════════════════
   English Studio — Studio Night redesign layer
   Bilingual type system · elevation · clarity · purposeful motion
   ═══════════════════════════════════════════════════════════════ */

:root{
  --font:'IBM Plex Sans Arabic','Noto Sans Arabic',Tahoma,sans-serif;
  --en:'IBM Plex Sans Arabic','Inter',system-ui,sans-serif;       /* UI Latin */
  --read:'Literata','Georgia','Times New Roman',serif;              /* English you are learning */
  --r-shell:30px;--r-card:22px;--r-inner:16px;--r-ctl:13px;--r-pill:999px;
  --ease-out:cubic-bezier(.23,1,.32,1);--ease-io:cubic-bezier(.77,0,.175,1);
  --ring:0 0 0 2px var(--bg),0 0 0 4px var(--primary);
}

/* ─── Palettes ─── */
html[data-pulse-theme=dark] body{
  --bg:#0a151b;--bg-deep:#08121766;--paper:#0e1b22;--card:#13232b;--card-2:#172b34;--soft:#1a2f38;
  --line:#243a44;--line-strong:#2f4a55;
  --ink:#e9f1f2;--muted:#a3b8be;--faint:#7d949b;
  --primary:#86d6c9;--primary-deep:#bff0e6;--primary-bright:#a3e3d8;--primary-soft:#173a3a;--on-primary:#062623;
  --sage:#9fd4ad;--blue:#93c5ea;--blue-soft:#18324a;--clay:#f0a584;--clay-soft:#3a2a24;
  --lav:#b9a9f0;--lav-soft:#2a2645;--sand:#f1c77f;--sand-soft:#3a3222;--gold:#f1c77f;--danger:#f3a497;
  --shadow:0 1px 0 #ffffff08 inset,0 1px 2px #0006,0 12px 32px -18px #000a;
  --shadow-lg:0 1px 0 #ffffff0a inset,0 30px 70px -30px #000c;
  --grad-primary:linear-gradient(180deg,#9be2d6,#74c8ba);
  background:
    radial-gradient(1200px 600px at 85% -10%,#15343a55,transparent 60%),
    radial-gradient(900px 500px at 0% 110%,#2a254a33,transparent 60%),#070f13;
}
html[data-pulse-theme=light] body{
  --bg:#eef3f2;--paper:#f7faf9;--card:#ffffff;--card-2:#f8fbfa;--soft:#eef4f3;
  --line:#dde7e5;--line-strong:#c9d8d5;
  --ink:#12262b;--muted:#4a5e63;--faint:#566b70;
  --primary:#0f6e68;--primary-deep:#0a4f4b;--primary-bright:#16857d;--primary-soft:#dcefeb;--on-primary:#ffffff;
  --clay:#b8603c;--lav:#6a58b8;--sand:#a8761e;--blue:#2f6f9f;--danger:#b03a2e;
  --shadow:0 1px 2px #12262b0d,0 10px 30px -18px #12262b33;
  --shadow-lg:0 30px 70px -30px #12262b44;
  background:radial-gradient(1100px 520px at 90% -10%,#d4ebe6,transparent 60%),#e7eeed;
}

/* ─── Base & typography ─── */
html[data-pulse-theme] body{font:15px/1.8 var(--font);color:var(--ink);text-rendering:optimizeLegibility;font-feature-settings:"kern"}
html[data-pulse-theme] :is(h1,h2,h3,h4,.brand-name,b,strong,.btn,.label){letter-spacing:0}   /* tracking breaks Arabic joining */
html[data-pulse-theme] h1{font-weight:700;line-height:1.45}
html[data-pulse-theme] :is(h2,h3){font-weight:650}
html[data-pulse-theme] .muted{color:var(--muted)}
html[data-pulse-theme] ::selection{background:color-mix(in srgb,var(--primary) 35%,transparent);color:var(--ink)}

/* Latin fragments inside RTL: resolve their own direction (fixes ".A LITTLE BETTER" punctuation flip) */
html[data-pulse-theme] :is(.en,.eyebrow,.pp-kicker,.cover-meta,.footer .en){unicode-bidi:plaintext;text-align:match-parent}
html[data-pulse-theme] :is(.eyebrow,.pp-kicker){font:600 11.5px/1.6 var(--en);letter-spacing:.08em;color:var(--faint)}

/* English learning content gets its own voice: a reading serif */
html[data-pulse-theme] :is(.term,.source-quote,.hello-en,.pulse-cover strong,.lesson-cover strong,.detail-section p.en,.quiz-context,.transcript-line,.sentence-en){font-family:var(--read);font-optical-sizing:auto}
html[data-pulse-theme] .term{font-weight:500;font-size:clamp(34px,4.2vw,48px);line-height:1.15;letter-spacing:-.015em;color:var(--ink)}
html[data-pulse-theme] .source-quote{font-size:18px;line-height:1.75;font-style:italic;background:var(--soft);border:0;border-left:3px solid var(--primary);border-radius:4px var(--r-inner) var(--r-inner) 4px;padding:18px 22px}
html[data-pulse-theme] .detail-section p.en{font-size:17px;line-height:1.7}
html[data-pulse-theme] .hello-en{font-size:17px;font-style:italic;color:var(--muted);letter-spacing:0}

/* ─── Shell ─── */
html[data-pulse-theme] .pulse-app{border-radius:var(--r-shell);box-shadow:var(--shadow-lg)}
html[data-pulse-theme=dark] body .pulse-app{background:linear-gradient(180deg,#0f1d24 0,#0c181e 420px);border:1px solid #1e323b}
html[data-pulse-theme=light] body .pulse-app{background:var(--paper);border:1px solid #ffffff}
html[data-pulse-theme] .masthead{height:72px;backdrop-filter:saturate(1.4) blur(14px);-webkit-backdrop-filter:saturate(1.4) blur(14px)}
html[data-pulse-theme=dark] .masthead{background:#0f1d24d9;border-bottom:1px solid #1f343d}
html[data-pulse-theme=light] .masthead{background:#f7faf9d9;border-bottom:1px solid var(--line)}
html[data-pulse-theme] .brand-name{font-weight:700;font-size:19px}
html[data-pulse-theme] .brand small{letter-spacing:.14em;font-size:10px;color:var(--faint)}

/* Primary nav: quiet by default, a clear lit state */
html[data-pulse-theme] .primary-nav{gap:4px}
html[data-pulse-theme] .primary-nav button{font-size:14px;font-weight:500;padding:0 16px;min-height:40px;border-radius:var(--r-pill);color:var(--muted);transition:color .15s ease,background-color .15s ease}
html[data-pulse-theme] .primary-nav button:hover{color:var(--ink);background:color-mix(in srgb,var(--ink) 6%,transparent)}
html[data-pulse-theme] .primary-nav button.active{color:var(--primary-deep);background:var(--primary-soft);font-weight:600;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--primary) 28%,transparent)}
html[data-pulse-theme=light] .primary-nav button.active{color:var(--primary-deep)}
html[data-pulse-theme] .top-search{border-radius:var(--r-pill);min-height:42px;transition:border-color .15s ease,box-shadow .15s ease}
html[data-pulse-theme=dark] .top-search{background:#0b171d;border-color:#223842}
html[data-pulse-theme] .top-search:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 22%,transparent)}
html[data-pulse-theme] .top-search input{font-size:14px}

/* ─── Surfaces: one elevation language, radius by hierarchy ─── */
html[data-pulse-theme] .card,html[data-pulse-theme] .lesson-card{border-radius:var(--r-card);box-shadow:var(--shadow)}
html[data-pulse-theme=dark] :is(.card,.lesson-card){background:linear-gradient(180deg,var(--card-2),var(--card) 140px);border:1px solid var(--line)}
html[data-pulse-theme] :is(.soft-box,.notice,.detail-section .source-quote,.mini-metric){border-radius:var(--r-inner)}
html[data-pulse-theme] .notice{font-size:13.5px;line-height:1.85}
html[data-pulse-theme=dark] .notice{background:#0f1f26;border:1px solid var(--line);color:var(--muted)}
html[data-pulse-theme] .pagehead{margin-bottom:26px}
html[data-pulse-theme] .pagehead h1{font-size:clamp(26px,3vw,34px);font-weight:700}
html[data-pulse-theme] .pagehead p{font-size:15px;color:var(--muted);max-width:60ch}

/* ─── Controls ─── */
html[data-pulse-theme] .btn{border-radius:var(--r-ctl);font-size:14px;font-weight:600;min-height:44px;padding:10px 18px;
  transition:transform .14s var(--ease-out),background-color .15s ease,border-color .15s ease,box-shadow .15s ease,filter .15s ease}
html[data-pulse-theme] .btn.sm{min-height:38px;font-size:13px;padding:7px 13px}
html[data-pulse-theme] .btn:active:not(:disabled),html[data-pulse-theme] .ibtn:active,html[data-pulse-theme] .chip:active{transform:scale(.97)}
html[data-pulse-theme] :is(.btn.primary,.btn.ink){background:var(--grad-primary);border-color:transparent;color:var(--on-primary);box-shadow:0 1px 0 #ffffff40 inset,0 6px 18px -8px color-mix(in srgb,var(--primary) 70%,transparent)}
html[data-pulse-theme=light] :is(.btn.primary,.btn.ink){background:linear-gradient(180deg,#16857d,#0f6e68)}
@media (hover:hover) and (pointer:fine){
  html[data-pulse-theme] :is(.btn.primary,.btn.ink):hover{filter:brightness(1.06)}
  html[data-pulse-theme] .btn:not(.primary):not(.ink):hover{border-color:var(--line-strong);background:color-mix(in srgb,var(--ink) 5%,var(--card))}
}
html[data-pulse-theme] .ibtn{transition:transform .14s var(--ease-out),background-color .15s ease}
html[data-pulse-theme] .chip{border-radius:var(--r-pill);font-size:13px;padding:6px 14px;min-height:36px;transition:background-color .15s ease,color .15s ease,transform .14s var(--ease-out)}
html[data-pulse-theme] .chip.active{background:var(--primary);color:var(--on-primary);border-color:transparent;font-weight:600}
html[data-pulse-theme] :is(.tabs,.segmented){border-radius:var(--r-pill);padding:4px}
html[data-pulse-theme] :is(.tabs button,.segmented button){border-radius:var(--r-pill);font-size:13px;transition:background-color .18s ease,color .18s ease}
html[data-pulse-theme=dark] :is(.tabs button.active,.segmented button.active){background:var(--primary-soft);color:var(--primary-deep);box-shadow:inset 0 0 0 1px #86d6c933}
html[data-pulse-theme] .pill{border-radius:var(--r-pill);font-size:12px;font-weight:600;padding:3px 11px}
html[data-pulse-theme] :is(input,select,textarea){border-radius:var(--r-ctl);font-size:14px}
html[data-pulse-theme] .field :is(input,select,textarea),html[data-pulse-theme] textarea{transition:border-color .15s ease,box-shadow .15s ease}
html[data-pulse-theme] .field :is(input,select,textarea):focus,html[data-pulse-theme] textarea:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 22%,transparent)}
html[data-pulse-theme=dark] :is(input,select,textarea){background-color:#0b171d;border-color:var(--line)}
html[data-pulse-theme] .label{font-size:13.5px;font-weight:600}

/* Keyboard focus: always visible, never on mouse click */
html[data-pulse-theme] :is(button,a,input,select,textarea,[tabindex]):focus-visible{outline:2px solid var(--primary);outline-offset:3px;border-radius:inherit}

/* ─── Home ─── */
html[data-pulse-theme] .pulse-agenda h1{font-size:clamp(30px,3.2vw,40px);font-weight:700;line-height:1.35}
html[data-pulse-theme] .hello-small{font-size:17px;font-weight:500;color:var(--muted)}
html[data-pulse-theme] .pulse-task{border-bottom-color:var(--line);border-radius:12px;transition:background-color .15s ease}
@media (hover:hover){html[data-pulse-theme] .pulse-task:hover{background:color-mix(in srgb,var(--ink) 4%,transparent)}}
html[data-pulse-theme] .pulse-task b{font-size:14.5px;font-weight:600}
html[data-pulse-theme] .status-square{border-radius:7px;width:22px;height:22px;transition:background-color .2s ease,border-color .2s ease,transform .2s var(--ease-out)}
html[data-pulse-theme=dark] .status-square{border-color:var(--line-strong)}
html[data-pulse-theme] .pulse-task.done .status-square{background:var(--primary);border-color:var(--primary);color:var(--on-primary)}
html[data-pulse-theme] .pulse-task.done b{color:var(--muted);text-decoration:line-through;text-decoration-color:color-mix(in srgb,var(--muted) 60%,transparent)}
html[data-pulse-theme=dark] .cal-days button.selected{background:var(--primary);color:var(--on-primary);border-color:var(--primary)}

/* ─── Library covers: each topic has its own light ─── */
html[data-pulse-theme] .lesson-card{overflow:hidden;transition:transform .25s var(--ease-out),box-shadow .25s ease,border-color .2s ease}
@media (hover:hover) and (pointer:fine){
  html[data-pulse-theme] .lesson-card:hover{transform:translateY(-3px);border-color:var(--line-strong);box-shadow:var(--shadow-lg)}
}
html[data-pulse-theme] .pulse-cover{isolation:isolate;border-radius:0}
html[data-pulse-theme=dark] .pulse-cover{
  background:
    radial-gradient(120% 90% at 100% 0%,color-mix(in srgb,var(--cover) 26%,transparent),transparent 60%),
    linear-gradient(155deg,color-mix(in srgb,var(--cover-ink) 70%,#0c1a20),color-mix(in srgb,var(--cover-ink) 28%,#0a161b));
  color:#f1f6f5}
html[data-pulse-theme] .pulse-cover strong{font-weight:500;font-size:28px;line-height:1.12;letter-spacing:-.01em;max-width:78%}
html[data-pulse-theme=dark] .pulse-cover strong{color:#f6faf9;text-shadow:0 1px 12px #0004}
html[data-pulse-theme] .pulse-cover>span{font-size:10.5px;letter-spacing:.12em;opacity:.75}
html[data-pulse-theme=dark] .pulse-cover .icon{color:var(--cover);opacity:.28}
html[data-pulse-theme] .pulse-cover .play-circle{transition:transform .2s var(--ease-out),background-color .15s ease}
html[data-pulse-theme=dark] .pulse-cover .play-circle{background:#f1f6f5;color:#0b1a1f}
@media (hover:hover){html[data-pulse-theme] .lesson-card:hover .play-circle{transform:scale(1.08)}}
html[data-pulse-theme] .lesson-title{font-family:var(--read);font-size:19px;font-weight:600;letter-spacing:-.005em}
html[data-pulse-theme] .lesson-body p{font-size:13.5px;color:var(--muted)}

/* ─── Words ─── */
html[data-pulse-theme] .detail-section h4{font-size:14px;font-weight:600;color:var(--muted)}
html[data-pulse-theme] .word-kind{font-size:13px;color:var(--faint)}

/* ─── Mobile nav ─── */
html[data-pulse-theme] .mobile-nav{border-radius:24px;backdrop-filter:blur(18px) saturate(1.4);-webkit-backdrop-filter:blur(18px) saturate(1.4)}
html[data-pulse-theme=dark] .mobile-nav{background:#10202acc;border:1px solid #2a434d;box-shadow:0 18px 40px -12px #000c}
html[data-pulse-theme] .mobile-nav button{transition:color .15s ease,transform .14s var(--ease-out)}
html[data-pulse-theme] .mobile-nav button:active{transform:scale(.94)}
html[data-pulse-theme] .mobile-nav button span{font-size:11.5px}

/* ─── Footer: present, not loud ─── */
html[data-pulse-theme] .footer{font-size:12.5px;color:var(--faint)}
html[data-pulse-theme] .footer .en{letter-spacing:.12em;font-size:10.5px}

/* ─── Scrollbars ─── */
html[data-pulse-theme=dark]{scrollbar-color:#2b454f transparent}
html[data-pulse-theme] ::-webkit-scrollbar{width:10px;height:10px}
html[data-pulse-theme] ::-webkit-scrollbar-thumb{background:color-mix(in srgb,var(--muted) 30%,transparent);border-radius:10px;border:3px solid transparent;background-clip:content-box}

/* ─── Motion ─── */
@keyframes es-route{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes es-rise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
#root.es-enter{animation:es-route .22s var(--ease-out) both}
.es-first :is(.card,.lesson-card,.pulse-agenda){animation:es-rise .5s var(--ease-out) both;animation-delay:calc(var(--i,0) * 45ms)}
@media (prefers-reduced-motion:reduce){
  #root.es-enter,.es-first :is(.card,.lesson-card,.pulse-agenda){animation:none}
  html[data-pulse-theme] *{transition-duration:.01ms!important;scroll-behavior:auto!important}
}
@media (max-width:760px){
  html[data-pulse-theme] body{font-size:15px}
  html[data-pulse-theme] .pulse-cover strong{font-size:24px}
  html[data-pulse-theme] .term{font-size:36px}
}

/* ─── Fixes after visual QA ─── */
html[data-pulse-theme] .pulse-cover .play-circle .icon{color:#0b1a1f;opacity:1;stroke:currentColor}
html[data-pulse-theme=light] .pulse-cover .play-circle .icon{color:var(--primary-deep)}
html[data-pulse-theme] .pulse-calendar :is(.cal-week,.cal-days){grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}
html[data-pulse-theme] .cal-days button{font-size:12px;height:28px;min-width:0;padding:0;transition:background-color .15s ease}
html[data-pulse-theme] .pulse-agenda .eyebrow{letter-spacing:.04em;font-size:11px;white-space:nowrap}
html[data-pulse-theme] .pulse-agenda .eyebrow{justify-self:stretch;text-align:right}

/* ═══════════ Studio Night · Act II — composition & atmosphere ═══════════ */

/* Film grain over the shell: removes the flat "digital" look of large dark planes */
html[data-pulse-theme] .pulse-app{isolation:isolate}
html[data-pulse-theme] .pulse-app::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.05;mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
html[data-pulse-theme=light] .pulse-app::before{opacity:.035;mix-blend-mode:multiply}

/* Hairline light edge on neutral surfaces (gradient border, not a shadow) */
html[data-pulse-theme=dark] :is(.card,.pulse-instrument,.pulse-tasks,.pulse-session-control,.lesson-card,.pulse-forecast-teaser){
  border:1px solid transparent!important;
  background:
    linear-gradient(180deg,#162a33,#112129 60%) padding-box,
    linear-gradient(165deg,#86d6c94d,#ffffff12 28%,#ffffff06 60%,#86d6c914) border-box!important;
}
html[data-pulse-theme=dark] .pulse-tasks::before{border-color:#86d6c91f}

/* ─── Home: greeting leads (RTL reading starts top-right) ─── */
.es-hero{position:relative;overflow:hidden;isolation:isolate;border-radius:28px;padding:34px 38px 46px;
  display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:24px 40px;direction:rtl;min-height:210px}
html[data-pulse-theme=dark] .es-hero{background:#0e1d24;border:1px solid #1f3740}
html[data-pulse-theme=light] .es-hero{background:#f3f8f7;border:1px solid var(--line)}
.es-hero::before{content:'';position:absolute;inset:-40%;z-index:-2;filter:blur(60px);opacity:.9;
  background:
    radial-gradient(28% 40% at 82% 38%,#1f6a64 0,transparent 70%),
    radial-gradient(26% 36% at 52% 72%,#3a2f6e 0,transparent 70%),
    radial-gradient(22% 30% at 18% 30%,#6b4a22 0,transparent 70%)}
html[data-pulse-theme=light] .es-hero::before{opacity:.45;background:
    radial-gradient(28% 40% at 82% 38%,#9fe0d5 0,transparent 70%),
    radial-gradient(26% 36% at 52% 72%,#d9d0ff 0,transparent 70%),
    radial-gradient(22% 30% at 18% 30%,#ffe0b0 0,transparent 70%)}
.es-hero-text{display:flex;flex-direction:column;gap:4px;min-width:0}
.es-hero-date{font:500 14px/1.6 var(--font);color:var(--primary);display:flex;align-items:center;gap:8px}
.es-hero-date::before{content:'';width:7px;height:7px;border-radius:50%;background:var(--primary);box-shadow:0 0 0 4px color-mix(in srgb,var(--primary) 22%,transparent);animation:es-beat 2.4s var(--ease-out) infinite}
@keyframes es-beat{0%,100%{transform:scale(1)}12%{transform:scale(1.35)}24%{transform:scale(1)}}
html[data-pulse-theme] .es-hero h1{font-size:clamp(38px,4.6vw,60px);line-height:1.2;font-weight:700;margin:6px 0 2px}
html[data-pulse-theme=dark] .es-hero h1{background:linear-gradient(180deg,#ffffff,#bfe9e1);-webkit-background-clip:text;background-clip:text;color:transparent}
html[data-pulse-theme] .es-hero h1 br{display:none}
html[data-pulse-theme] .es-hero .hello-small{display:block;font-size:clamp(17px,1.6vw,21px);font-weight:500;margin-top:8px;-webkit-text-fill-color:var(--muted);color:var(--muted)}
html[data-pulse-theme] .es-hero .hello-en{font-size:clamp(18px,1.7vw,22px);margin:6px 0 0;color:color-mix(in srgb,var(--ink) 70%,transparent);text-align:right}
html[data-pulse-theme] .es-hero .eyebrow{order:-1;text-align:right}
.es-hero-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
html[data-pulse-theme] .es-hero-actions .btn{min-height:50px;padding:12px 22px;border-radius:16px;font-size:15px;width:auto}
html[data-pulse-theme=dark] .es-hero-actions .btn.ghost{background:#ffffff0a;border:1px solid #ffffff1f;color:var(--ink);backdrop-filter:blur(8px)}
html[data-pulse-theme=dark] .es-hero-actions .btn.apricot{background:linear-gradient(180deg,#f7d6a8,#e9b77e);color:#2b1a08;border:0;box-shadow:0 1px 0 #ffffff80 inset,0 10px 30px -10px #e9b77e99}
/* The pulse line — brand signature, drawn once */
.es-pulse{position:absolute;inset:auto 0 0 0;height:64px;z-index:-1;pointer-events:none;opacity:.8}
.es-pulse path{fill:none;stroke:url(#esPulseGrad);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1600;stroke-dashoffset:1600;animation:es-draw 1.8s .25s var(--ease-io) forwards}
@keyframes es-draw{to{stroke-dashoffset:0}}

/* Composition grid */
html[data-pulse-theme] .pulse-home.es-composed{display:grid;direction:ltr;gap:22px;
  grid-template-columns:240px minmax(0,1fr) 300px;
  grid-template-areas:"hero hero hero" "agenda main action" "agenda foot foot" "tail tail tail"}
html[data-pulse-theme] .es-composed>.es-hero{grid-area:hero}
html[data-pulse-theme] .es-composed>.pulse-agenda{grid-area:agenda;display:block;padding:0;direction:rtl}
html[data-pulse-theme] .es-composed>.pulse-main-column{grid-area:main}
html[data-pulse-theme] .es-composed>.pulse-action-column{grid-area:action}
html[data-pulse-theme] .es-composed>.pulse-foot-analytics{grid-area:foot}
html[data-pulse-theme] .es-composed>.pulse-tail{grid-area:tail}
html[data-pulse-theme] .es-composed .pulse-agenda .pulse-calendar{margin-top:0;display:block}
@media (max-width:1199px){
  html[data-pulse-theme] .pulse-home.es-composed{grid-template-columns:minmax(0,1fr) 290px;
    grid-template-areas:"hero hero" "main action" "foot foot" "agenda agenda" "tail tail"}
  html[data-pulse-theme] .es-composed>.pulse-agenda{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:22px;align-items:start}
  html[data-pulse-theme] .es-composed .pulse-review-ticket{margin-top:0}
}
@media (max-width:860px){
  html[data-pulse-theme] .pulse-home.es-composed{display:flex;flex-direction:column;direction:rtl}
  html[data-pulse-theme] .es-composed>.es-hero{order:0}
  html[data-pulse-theme] .es-composed>.pulse-main-column{order:1}
  html[data-pulse-theme] .es-composed>.pulse-action-column{order:2}
  html[data-pulse-theme] .es-composed>.pulse-foot-analytics{order:3}
  html[data-pulse-theme] .es-composed>.pulse-agenda{order:4}
  html[data-pulse-theme] .es-composed>.pulse-tail{order:5}
  .es-hero{grid-template-columns:1fr;padding:26px 22px 44px;border-radius:24px;min-height:0}
  .es-hero-actions{justify-content:stretch}
  html[data-pulse-theme] .es-hero-actions .btn{flex:1}
}

/* The challenge dial sits under a lamp */
html[data-pulse-theme=dark] .pulse-instrument{overflow:hidden}
html[data-pulse-theme=dark] .pulse-instrument::after{content:'';position:absolute;left:50%;top:48%;width:420px;height:420px;translate:-50% -50%;z-index:0;pointer-events:none;
  background:radial-gradient(closest-side,#86d6c926,#86d6c90a 55%,transparent)}
html[data-pulse-theme] .pulse-instrument>*{position:relative;z-index:1}

/* Mission card: warmer, deliberate */
html[data-pulse-theme=dark] .pulse-mission-card{background:radial-gradient(120% 140% at 100% 0%,#4a3524,#2a2119 70%);border:1px solid #5a432b}
html[data-pulse-theme=dark] .pulse-mission-card .btn{background:#f7d6a8;color:#2b1a08}

/* Review ticket: a real object, glowing */
html[data-pulse-theme=dark] .pulse-review-ticket{background:linear-gradient(160deg,#1f5c58,#133a3c);border:1px solid #2f7671;box-shadow:0 20px 40px -24px #1f5c58}
html[data-pulse-theme] .pulse-review-ticket strong,html[data-pulse-theme] .pulse-review-ticket b{font-variant-numeric:tabular-nums}

/* ─── Page heads (library, words, stats…) get the same atmosphere, quieter ─── */
html[data-pulse-theme] :is(.hero.compact,.pagehead){position:relative;isolation:isolate}
html[data-pulse-theme=dark] :is(.hero.compact,.pagehead)::before{content:'';position:absolute;inset:-30px -20px;z-index:-1;pointer-events:none;
  background:radial-gradient(40% 90% at 88% 30%,#1f6a6438,transparent 70%),radial-gradient(30% 80% at 55% 60%,#3a2f6e24,transparent 70%)}
html[data-pulse-theme] :is(.pulse-page-title,.pagehead) h1{font-size:clamp(30px,3.4vw,44px)!important;line-height:1.25}

/* Library categories: each topic gets its colour once, as a badge */
html[data-pulse-theme] .category-tile{border-radius:16px;min-height:60px;transition:transform .18s var(--ease-out),border-color .15s ease,background-color .15s ease}
html[data-pulse-theme] .category-tile .icon{padding:7px;width:32px;height:32px;border-radius:10px;box-sizing:border-box}
html[data-pulse-theme] .category-tile:nth-child(6n+1) .icon{background:#1d3d52;color:#93c5ea}
html[data-pulse-theme] .category-tile:nth-child(6n+2) .icon{background:#1d3d34;color:#9fd4ad}
html[data-pulse-theme] .category-tile:nth-child(6n+3) .icon{background:#43301f;color:#f1c77f}
html[data-pulse-theme] .category-tile:nth-child(6n+4) .icon{background:#2d2750;color:#b9a9f0}
html[data-pulse-theme] .category-tile:nth-child(6n+5) .icon{background:#173a3a;color:#86d6c9}
html[data-pulse-theme] .category-tile:nth-child(6n+6) .icon{background:#46271f;color:#f0a584}
html[data-pulse-theme=light] .category-tile .icon{filter:saturate(1.2) brightness(1.9) contrast(.9)}
@media (hover:hover){html[data-pulse-theme] .category-tile:hover{transform:translateY(-2px);border-color:var(--line-strong)}}
html[data-pulse-theme] .category-tile:active{transform:scale(.97)}

/* Lesson covers: taller stage, the title is the image */
html[data-pulse-theme] .lesson-card .pulse-cover{height:210px;padding:24px 26px}
html[data-pulse-theme] .pulse-cover strong{font-size:31px;margin-top:30px}
html[data-pulse-theme=dark] .pulse-cover::after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;border:0;opacity:.18;mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
html[data-pulse-theme] .pulse-cover>.icon{width:120px!important;height:120px!important;right:-18px!important;bottom:-22px!important;stroke-width:1!important}
html[data-pulse-theme] .lesson-body{padding:20px 22px 22px}

@media (prefers-reduced-motion:reduce){
  .es-pulse path{animation:none;stroke-dashoffset:0}
  .es-hero-date::before{animation:none}
}
html[data-pulse-theme] .es-hero-actions .btn{white-space:nowrap}
@media (max-width:860px){.es-hero{padding-bottom:40px}}
html[data-pulse-theme=light] .es-pulse{filter:brightness(.55) saturate(1.8)}
html[data-pulse-theme=light] .es-hero-actions .btn.apricot{background:linear-gradient(180deg,#f6cf97,#eab070);color:#2b1a08;border:0;box-shadow:0 10px 26px -12px #d9974f}
html[data-pulse-theme=light] .es-hero-actions .btn.ghost{background:#ffffffb3;border:1px solid var(--line-strong)}

/* ═══════════ Act III — full audit fixes ═══════════ */

/* Contrast: text on the primary fill always uses on-primary */
html[data-pulse-theme] .cal-days button.selected,html[data-pulse-theme] .cal-days button.selected.today{color:var(--on-primary);font-weight:700}
html[data-pulse-theme] .roadmap-item.active b{color:var(--on-primary)}
html[data-pulse-theme=dark] .roadmap-item.active{background:var(--primary)}
html[data-pulse-theme=dark] .roadmap-item.active small{color:#0b2a26}

/* Readability floor: nothing Arabic below 12px */
html[data-pulse-theme] #root small:not(svg *){font-size:12px}
html[data-pulse-theme] .brand small{font-size:11px}
html[data-pulse-theme] .pulse-calendar .cal-week span{font-size:12px}
html[data-pulse-theme] .pulse-cover>span{font-size:11px}
html[data-pulse-theme] .category-tile span{font-size:13px}
html[data-pulse-theme] .timer-state{font-size:12px}

/* English content reads as English (Literata) everywhere it appears */
html[data-pulse-theme] :is(.cue-text,.lesson-intro h2,.studio-lead h2){font-family:var(--read)}
html[data-pulse-theme] .cue-text{font-size:19px;line-height:1.7;letter-spacing:0}
html[data-pulse-theme] .lesson-intro h2{font-size:clamp(26px,2.6vw,34px);font-weight:500;line-height:1.2}
html[data-pulse-theme] .lesson-intro .en{font-family:var(--read);font-style:italic;font-size:15px}
html[data-pulse-theme] .term-link{font-family:inherit;border-radius:4px;padding:0 2px}
html[data-pulse-theme] .cue-ar{font-size:14.5px;color:var(--muted)}
html[data-pulse-theme=dark] .cue.active{background:linear-gradient(180deg,#173a3a,#132d30);border-color:#2f6964}

/* Studio: primary controls lead, tool row steps back */
html[data-pulse-theme] .player-controls.secondary-control .btn{background:transparent;border-color:transparent;color:var(--muted);font-weight:500}
@media (hover:hover){html[data-pulse-theme] .player-controls.secondary-control .btn:hover{color:var(--ink);background:color-mix(in srgb,var(--ink) 6%,transparent)}}

/* Touch targets ≥ 40px on touch screens (WCAG 2.5.8 / Apple HIG 44pt) */
@media (pointer:coarse),(max-width:760px){
  html[data-pulse-theme] [data-pulse-theme-choice]{min-width:40px;min-height:40px}
  html[data-pulse-theme] .ibtn{width:42px;height:42px}
  html[data-pulse-theme] .calendar-nav button{width:38px!important;height:38px!important}
  html[data-pulse-theme] :is(.task-row .text-btn,.cue-time,.toggle){position:relative}
  html[data-pulse-theme] :is(.task-row .text-btn,.cue-time,.toggle)::after{content:'';position:absolute;inset:-9px}
  html[data-pulse-theme] .task-row .text-btn{min-width:36px;justify-content:center}
}

/* Horizontal rails show they scroll: edge fade + snap */
html[data-pulse-theme] :is(.review-modes,.roadmap-strip){scroll-snap-type:x proximity;scrollbar-width:none}
html[data-pulse-theme] :is(.review-modes,.roadmap-strip)>*{scroll-snap-align:start}
@media (max-width:760px){
  html[data-pulse-theme] :is(.review-modes,.roadmap-strip){-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 28px,#000 calc(100% - 8px),transparent);mask-image:linear-gradient(90deg,transparent 0,#000 28px,#000 calc(100% - 8px),transparent)}
}

/* Mobile: content never hides under the floating tab bar */
@media (max-width:760px){
  html[data-pulse-theme] .main{padding-bottom:calc(110px + env(safe-area-inset-bottom))}
  html[data-pulse-theme] .mobile-nav button.active{color:var(--primary-deep)}
}

/* Toasts: match the surface language */
html[data-pulse-theme=dark] :is(.toast,#toasts>*){background:#172b34;border:1px solid #2f4a55;color:var(--ink);border-radius:14px;box-shadow:0 18px 40px -16px #000c}

/* Print: clean, light, no chrome */
@media print{
  .es-hero::before,.es-pulse,.pulse-app::before,.mobile-nav,.masthead{display:none!important}
  html[data-pulse-theme] :is(.term,.cue-text,.source-quote){color:#000!important}
}
html[data-pulse-theme] #mobile-menu,html[data-pulse-theme] .masthead .ibtn{flex:none;min-width:40px}
html[data-pulse-theme] .mobile-nav button.active{color:var(--on-primary)!important}
html[data-pulse-theme] .mobile-nav button.active:not(.add){background:var(--primary)}
html[data-pulse-theme] :is(.dial-selected,.calendar-caption,.pp-data-scope){font-size:12px}
html[data-pulse-theme] :is(.tabs button,.segmented button){font-size:13px}
@media (pointer:coarse),(max-width:760px){
  html[data-pulse-theme] .cal-days button{height:34px}
  html[data-pulse-theme] [aria-label="المؤقت"]{position:relative}
  html[data-pulse-theme] [aria-label="المؤقت"]::after{content:'';position:absolute;inset:-10px}
}
@media (pointer:coarse),(max-width:760px){
  html[data-pulse-theme] .lesson-title{min-height:40px;display:flex;align-items:center;justify-content:flex-end;width:100%}
  html[data-pulse-theme] .pulse-session-control button:not(.btn){min-height:38px}
}
html[data-pulse-theme] .pulse-calendar .cal-week span{color:var(--muted)}
html[data-pulse-theme=light] :is(.pulse-cover>span){color:inherit;opacity:.9}
html[data-pulse-theme=light] :is(.mission-card,.pulse-mission-card,.pulse-piece) p{color:#4a3a2a}
html[data-pulse-theme=light] :is(.word-kind,.pp-data-scope,.pulse-data-stamp,.pp-pace-baseline){color:var(--muted)}
html[data-pulse-theme=light] .cal-days button:not(.selected){color:var(--muted)} html[data-pulse-theme=light] .calendar-nav button{color:var(--ink)!important}
