:root{--canvas:#f5f7f2;--paper:#fff;--ink:#25342b;--muted:#697861;--line:#dfe5d8;--green:#36553d;--lime:#c9ef83;--dark:#17231f;--warm:#f5eddf;--sidebar:250px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--canvas);color:var(--ink);font-family:Inter,Arial,Helvetica,sans-serif;font-size:14px;line-height:1.65}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit;text-decoration:none}svg{vertical-align:middle;flex-shrink:0}a svg,button svg{pointer-events:none}a,button,input,textarea,select{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--strong-line,#81a34d);outline-offset:4px}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.25;letter-spacing:-.045em;font-weight:600}h1{font-size:40px;margin-bottom:14px}h2{font-size:25px;margin-bottom:16px}h3{font-size:19px;margin-bottom:12px}p{margin-bottom:16px}code,pre,kbd,.module-code,.section-number{font-family:'SFMono-Regular',Consolas,'Liberation Mono',monospace}input:not([type=checkbox]):not([type=hidden]),textarea,select{background:var(--paper,#fff);border:1px solid var(--line,#cfdbc4);border-radius:7px;padding:11px 12px;width:100%;min-width:0}input[type=checkbox]{accent-color:#5c7e3d;width:17px;height:17px;flex-shrink:0;margin:3px 0}textarea{resize:vertical;line-height:1.85}label{display:block;font-size:12px;color:var(--muted,#637656);line-height:1.7;margin-bottom:17px}label input:not([type=checkbox]),label textarea,label select{display:block;margin-top:7px}input::placeholder,textarea::placeholder{color:var(--muted,#869579);font-size:12px}ul,ol{padding-left:22px}li{margin-bottom:9px}small,.small{font-size:12px}.muted{color:var(--muted)}.multiline{white-space:pre-line}.skip{position:fixed;left:270px;top:-80px;padding:12px;background:var(--lime);z-index:120}.skip:focus{top:8px}.sidebar{position:fixed;left:0;top:0;height:100dvh;width:var(--sidebar);background:var(--dark);color:#c7d3c5;padding:31px 20px 0;display:flex;flex-direction:column;z-index:40;overflow-y:auto}.brand{display:flex;gap:10px;align-items:center;color:#f7f9f3;font-size:25px;letter-spacing:-.8px;font-weight:700;margin:0 7px 34px;line-height:1.15}.brand-icon{width:37px;height:39px;display:grid;place-items:center;background:var(--lime);color:#2e4125;border-radius:9px}.brand-light{font-weight:400}.brand small{display:block;font-size:8px;letter-spacing:1.8px;color:#9aaf9d;margin-top:8px;font-weight:500}.side-label{font-size:9px;letter-spacing:1.4px;color:#8da08e;margin:0 10px 12px}.course-picker{display:flex;gap:10px;align-items:center;border:1px solid #3a4d3e;border-radius:9px;padding:12px;margin-bottom:23px;font-size:13px;font-weight:600}.course-picker>span:nth-child(2){flex:1}.course-picker small{display:block;color:#96ac96;font-size:10px;margin-top:2px;font-weight:400}.course-picker>svg{color:#8fa48d}.course-icon{display:grid;place-items:center;width:31px;height:33px;background:#304733;border-radius:7px;color:var(--lime);font-size:18px;font-family:monospace}.nav-item{display:flex;align-items:center;gap:12px;padding:12px 13px;border-radius:7px;margin:3px 0;font-size:12px;transition:background .2s;color:#b2c0af}.nav-item>span:nth-child(2){flex:1}.nav-item.active{background:var(--lime);color:#2b4026;font-weight:600}.nav-item:hover:not(.active){background:#2b3b2f;color:#fff}.nav-item b{font-weight:500;font-size:10px;background:#304a32;padding:0 6px;min-width:23px;border-radius:4px;text-align:center;color:#c7e0b7}.nav-item.active b{background:#aace6c;color:#2c4226}.nav-dot{width:5px;height:5px;border-radius:50%;background:#b8d978;flex:none!important}.side-bottom{margin-top:auto;padding-top:34px}.side-progress{background:#203226;border:1px solid #3b4d36;border-radius:9px;padding:15px 12px;margin:0 3px 16px}.side-progress>div:first-child{font-size:10px;display:flex;justify-content:space-between;gap:8px}.side-progress b{font-weight:500;font-family:monospace;color:#c9eaa0}.bar{height:5px;border-radius:8px;background:var(--surface-accent,#e0e8d7);overflow:hidden}.bar i{height:100%;display:block;border-radius:8px;background:var(--surface-accent,#9fbe6e);transition:width .2s}.side-progress .bar{background:#3b4d34;margin:12px 0}.side-progress small{font-size:9px;color:#a0b193}.side-source{border:0;background:none;color:#a0b09b;font-size:10px;display:flex;gap:8px;align-items:center;padding:0 4px 22px}.profile{display:flex;gap:9px;align-items:center;border-top:1px solid #324333;margin:0 -20px;padding:18px 23px;font-size:10px}.profile small{display:block;font-size:9px;color:#98ad92}.avatar{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:#3a4d37;color:#dce8cf;font-size:11px}.profile i{width:5px;height:5px;background:#a6c66e;border-radius:50%;margin-left:auto}.workspace{margin-left:var(--sidebar)}.topbar{height:76px;padding:0 40px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:var(--paper,#fdfefa);gap:20px}.breadcrumbs{display:flex;align-items:center;gap:12px;font-size:11px;color:var(--muted,#7a8871)}.breadcrumbs b{font-weight:500;color:var(--muted,#586b4c)}.breadcrumbs>svg{color:var(--muted,#9ba88f)}.header-actions{display:flex;gap:20px;align-items:center}.search-button{display:flex;gap:10px;align-items:center;border:1px solid var(--line,#e0e6d8);background:var(--surface-soft,#f8faf4);border-radius:7px;padding:7px 10px;color:var(--muted,#77896a);font-size:11px;min-width:245px}.search-button kbd{margin-left:auto;border:1px solid var(--line,#dce4d2);border-radius:3px;background:var(--paper,#fff);padding:0 5px;font-size:10px}.icon-btn{width:34px;height:34px;background:var(--paper,#fff);border:1px solid var(--line);border-radius:7px;display:inline-grid;place-items:center;flex-shrink:0;color:var(--muted,#718762)}.mobile-menu{display:none}.marked{color:var(--accent,#64883c);background:var(--surface-accent,#edf4df);border-color:var(--strong-line,#c1d39e)}.marked svg{fill:var(--muted,#d7e8bb)}main{max-width:1600px;margin:auto;min-height:calc(100dvh - 151px);padding:32px 40px 50px;outline:0}.eyebrow{font-size:9px;letter-spacing:1.4px;color:var(--muted,#6a8057);font-weight:600;display:flex;gap:7px;align-items:center;margin-bottom:18px}.eyebrow i{width:5px;height:5px;border-radius:50%;background:var(--surface-accent,#84a45b)}.kicker{display:block;font-size:9px;font-weight:600;letter-spacing:1.35px;color:var(--muted,#758760);margin-bottom:10px}.button{display:inline-flex;align-items:center;justify-content:center;gap:13px;min-height:42px;border:1px solid transparent;border-radius:7px;padding:11px 17px;font-size:12px;font-weight:600;line-height:1.5;transition:background .2s,transform .2s}.button:hover:not(:disabled){transform:translateY(-1px)}.primary{color:#f2f8e7;background:#2c4531}.primary:hover{background:#42603a}.secondary{color:var(--accent,#587444);border-color:var(--line,#d3dfc5);background:var(--paper,#fff)}.secondary:hover{background:var(--surface-soft,#f0f5e8)}.text-link{border:0;background:none;padding:0;color:var(--accent,#5b793e);font-size:12px;line-height:1.6;display:inline-flex;gap:8px;align-items:center}.text-link:hover{text-decoration:underline;color:var(--ink,#2a491d)}.button-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:23px 0}.badge{display:inline-block;vertical-align:middle;border:1px solid var(--line,#dce4d0);background:var(--surface-soft,#f4f7ed);color:var(--muted,#6d8157);border-radius:5px;font-size:10px;line-height:1.5;padding:4px 7px;letter-spacing:.2px;font-weight:400}.badge.green{background:var(--surface-accent,#e9f3d9);border-color:var(--line,#c7dca9);color:var(--accent,#557c35)}.badge.warm{background:var(--warm,#fbefdc);border-color:var(--warm-line,#e5d3b2);color:var(--warning-ink,#8b6d3e)}.chip{display:inline-flex;gap:7px;align-items:center;background:var(--paper,#fff);border:1px solid var(--line,#d9e3cc);border-radius:6px;padding:7px 10px;color:var(--accent,#68824d);font-size:11px;line-height:1.5}.chip:hover{background:var(--surface-accent,#edf4e3);border-color:var(--strong-line,#a9c38b)}.hero{display:grid;grid-template-columns:1.1fr 1fr;gap:32px;background:var(--surface-accent,#eaf0df);border:1px solid var(--line,#dbe6cd);border-radius:15px;padding:37px 39px 34px;position:relative;overflow:hidden}.hero h1{font-size:46px;letter-spacing:-2px;line-height:1.12;position:relative;z-index:1;margin-bottom:20px}.hero h1>span{color:var(--accent,#658548)}.hero>div{z-index:1}.hero p{font-size:14px;color:var(--muted,#66795a);line-height:1.85;margin-bottom:22px}.hero .button-row{margin-bottom:0;gap:17px}.hero-link{font-size:10px;color:var(--muted,#6f855e)}.hero-slash{position:absolute;right:-20px;bottom:-140px;font-size:530px;font-family:monospace;color:var(--muted,#dce8cc);line-height:1;transform:rotate(9deg);pointer-events:none}.hero-terminal{max-width:405px;width:100%;margin:auto 0 auto auto;align-self:center;border:1px solid var(--line,#cfdbc0);border-radius:10px;background:var(--surface-soft,#f7faf1);transform:rotate(-1deg);box-shadow:0 12px 30px #4561300a}.terminal-bar{padding:11px 15px;border-bottom:1px solid var(--line,#e0e8d5);display:flex;justify-content:space-between;color:var(--muted,#8da178);font-size:9px}.terminal-bar>span{display:flex;gap:5px;align-items:center}.terminal-bar i{width:6px;height:6px;border-radius:50%;background:var(--surface-accent,#c8d5b6)}.terminal-bar i:first-child{background:var(--warm,#cdb9a1)}.terminal-body{padding:20px}.terminal-body>p:first-child{font-family:monospace;font-size:10px;margin:0 0 17px;color:var(--muted,#77905d)}.terminal-body>p:first-child span{color:var(--accent,#5d8a37);margin-right:5px}.terminal-body>div{display:grid;grid-template-columns:27px 1fr;column-gap:11px;margin:14px 0}.terminal-body>div>span{grid-row:1/3;display:grid;place-items:center;font-family:monospace;font-size:11px;background:var(--surface-accent,#eaf1df);color:var(--accent,#809e5c);border:1px solid var(--line,#d8e5c5);border-radius:6px}.terminal-body b{font-size:12px;font-weight:500;color:var(--accent,#536e3d)}.terminal-body small{font-size:9px;color:var(--muted,#82966d);margin-top:4px}.terminal-body>.terminal-ready{font-size:9px;color:var(--accent,#738e58);margin:20px 0 0;padding-top:13px;border-top:1px solid var(--line,#e2ead7)}.stats-row{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:11px;background:var(--paper,#fff);padding:20px 12px;margin:21px 0 31px}.stats-row>div{display:flex;gap:12px;align-items:center;justify-content:center;border-right:1px solid var(--line,#e7ecdf);min-width:0}.stats-row>div:last-child{border:0}.stats-row svg{color:var(--muted,#8b9f75)}.stats-row b{font-family:monospace;font-size:23px;font-weight:400;color:var(--accent,#4f6d37);white-space:nowrap}.stats-row b small{font-size:12px;color:var(--muted,#97a787)}.stats-row span{font-size:10px;color:var(--muted,#738167);line-height:1.6}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 266px;gap:26px}.panel{background:var(--paper,#fff);border:1px solid var(--line);border-radius:12px;padding:25px}.section{margin-top:34px}.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:20px}.section-head h2{font-size:24px;letter-spacing:-.8px;margin-bottom:0}.section-head .text-link{flex-shrink:0}.section-head .kicker{font-size:8px}.sprint-home>.muted{font-size:13px;line-height:1.9;max-width:650px}.sprint-caption{display:flex;justify-content:space-between;gap:15px;margin:18px 0;font-size:11px;color:var(--muted,#7d8d6b)}.sprint-example{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0 26px}.sprint-example>span{font-size:11px;color:var(--accent,#769057);padding:7px 11px;border:1px solid var(--line,#dfe7d4);border-radius:6px;background:var(--surface-soft,#f4f7ed)}.sprint-home>.text-link{margin-top:19px}.task-list{margin:20px 0}.task-row{display:flex;align-items:center;gap:12px;padding:17px 0;border-bottom:1px solid var(--line,#e7ecde)}.task-row:last-child{border:0}.task-state{width:32px;height:34px;display:grid;place-items:center;border:1px solid var(--line,#dce6cf);background:var(--surface-soft,#f3f7ec);border-radius:7px;color:var(--accent,#86a166);flex-shrink:0}.task-row>span:nth-child(2){flex:1;min-width:0}.task-row b{display:block;font-size:12px;font-weight:500;color:var(--accent,#506b3d)}.task-row small{display:block;font-size:10px;color:var(--muted,#8b9b7a);margin-top:5px}.task-row>.task-estimate{font-size:10px;color:var(--muted,#8d9e7a);white-space:nowrap}.task-row>svg{color:var(--muted,#a3b38d)}.task-row.is-done .task-state{background:var(--surface-accent,#e8f1d8);color:var(--accent,#648a3b)}.task-row:hover b{text-decoration:underline}.featured-modules{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.module-tile{border:1px solid var(--line);border-radius:11px;background:var(--paper,#fff);padding:22px;display:flex;flex-direction:column;transition:border-color .2s,transform .2s;min-width:0}.module-tile:hover{border-color:var(--strong-line,#a6be88);transform:translateY(-2px)}.tile-top{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-bottom:20px}.module-code{font-size:12px;color:var(--accent,#8ca56a);letter-spacing:.6px}.module-tile h3{font-size:23px;margin-bottom:13px}.module-tile p{font-size:12px;line-height:1.9;color:var(--muted,#6d7e5e);flex:1}.tile-footer{font-size:10px;color:var(--muted,#849b6c);display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;padding-top:15px;border-top:1px solid var(--line,#e6ecdc)}.module-progress{display:flex;justify-content:space-between;gap:7px;color:var(--muted,#91a37c);font-size:9px;margin-top:10px}.featured-modules .module-tile{padding:17px}.featured-modules .module-tile h3{font-size:17px;letter-spacing:-.4px}.featured-modules .module-tile p{font-size:10px}.featured-modules .badge{font-size:8px;padding:3px 5px}.featured-modules .module-code{font-size:11px}.featured-modules .tile-footer{font-size:9px;gap:6px}.featured-modules .module-progress{font-size:8px;display:block}.featured-modules .module-progress>span{display:block;margin-top:3px}.principle{margin-top:30px}.principle h2{font-size:23px}.principle-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;border-top:1px solid var(--line);padding-top:20px;margin:22px 0}.principle-grid b{font-size:28px;font-family:monospace;font-weight:400;color:var(--accent,#8eaa6b);display:block}.principle-grid span{display:block;font-size:11px;color:var(--accent,#68864b)}.principle-grid p{font-size:10px;color:var(--muted,#8d9f7b);margin:8px 0 0}.right-rail{display:flex;flex-direction:column;gap:18px}.review-promo{background:var(--surface-accent,#eaf1df);border:1px solid var(--line,#d6e3c5);border-radius:12px;padding:24px 22px}.review-promo>.kicker{font-size:8px;line-height:1.7}.review-promo>svg{color:var(--accent,#88a565);margin:15px 0 25px}.review-promo h2{font-size:32px;color:var(--accent,#486933);line-height:1.2;margin-bottom:17px}.review-promo>p{font-size:12px;color:var(--muted,#7c9563);line-height:1.9}.review-promo .button{font-size:11px;width:100%;padding-left:8px;padding-right:8px;gap:10px}.warm-card{background:var(--warm,#f5eee2);border:1px solid var(--warm-line,#e6dac5);border-radius:12px;padding:24px 22px}.warm-card .kicker{font-size:8px;color:var(--warning-ink,#a18a64);line-height:1.8}.warm-card h3{font-size:24px;color:var(--warning-ink,#816847);line-height:1.3;margin:18px 0}.warm-card p{font-size:12px;line-height:1.9;color:var(--warning-ink,#8a785d)}.warm-card .text-link{font-size:11px;color:var(--warning-ink,#8c724c)}.quiet-note{display:flex;align-items:flex-start;gap:11px;padding:0 6px;color:var(--muted,#8a9e72)}.quiet-note p{font-size:11px;color:var(--muted,#788b66);line-height:1.9;margin:0}.page-heading{margin:8px 0 30px}.heading-line{display:flex;align-items:flex-start;justify-content:space-between;gap:25px}.heading-line h1{margin-top:0;flex:1}.page-heading>p{max-width:900px;font-size:14px;line-height:1.9;color:var(--muted,#6f805f)}.page-heading .button{flex-shrink:0}.notice{display:flex;align-items:flex-start;gap:13px;background:var(--surface-accent,#edf3e5);border:1px solid var(--line,#d9e4cc);border-radius:9px;padding:17px 19px;margin:22px 0;color:var(--accent,#7b9960)}.notice p{font-size:12px;line-height:1.9;color:var(--muted,#657a50);margin:0}.notice.warning{background:var(--warm,#f7f0e4);border-color:var(--warm-line,#e7d9bf);color:var(--warning-ink,#a38b5e)}.notice.warning p{color:var(--warning-ink,#92794f)}.route-intro{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);background:var(--paper,#fff);border-radius:11px;padding:22px 16px;gap:13px}.route-intro>div{display:grid;grid-template-columns:28px 1fr;gap:4px 9px;border-right:1px solid var(--line,#e7ecdf);padding-left:8px}.route-intro>div:last-child{border:0}.route-intro svg{grid-row:1/3;color:var(--accent,#8fa66f)}.route-intro b{font-size:12px;font-weight:500;color:var(--accent,#627e4c)}.route-intro span{font-size:10px;color:var(--muted,#8b9e76)}.module-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.source-link{font-size:12px;color:var(--muted,#7f9965);display:inline-flex;gap:8px;align-items:center;margin-top:28px}.back-link{display:inline-block;color:var(--muted,#7c9463);font-size:12px;margin:0 0 23px}.back-link:hover{text-decoration:underline}.module-overview{display:grid;grid-template-columns:1.2fr 1fr;gap:20px;margin-bottom:25px}.check-list{list-style:none;padding:0;margin:15px 0 22px}.check-list li{display:flex;gap:10px;align-items:flex-start;color:var(--accent,#637d4c);font-size:13px;line-height:1.9;margin-bottom:14px}.check-list svg{margin-top:5px;color:var(--accent,#9bb775)}.environment{display:flex;gap:10px;align-items:flex-start;border:1px solid var(--line,#dae5ce);border-radius:7px;background:var(--surface-soft,#f1f6e9);padding:12px 14px;color:var(--accent,#78915c);font-size:11px;line-height:1.8}.environment svg{margin-top:2px}.module-facts>div{display:flex;justify-content:space-between;align-items:center;gap:15px;border-bottom:1px solid var(--line,#e6ecde);padding:15px 0;font-size:12px;color:var(--muted,#7a9064)}.module-facts>div:first-child{padding-top:4px}.module-facts>div:last-child{border:0;padding-bottom:0}.module-facts b{font-weight:400;font-family:monospace;font-size:21px;color:var(--accent,#789957)}.prerequisites{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin:22px 0 32px}.prerequisites>span{font-size:12px;color:var(--muted,#8ba277);margin-right:4px}.lesson-list{border:1px solid var(--line);border-radius:11px;background:var(--paper,#fff);overflow:hidden}.lesson-row{display:flex;gap:16px;align-items:center;padding:23px 24px;border-bottom:1px solid var(--line,#e5ebdd);transition:background .2s}.lesson-row:last-child{border:0}.lesson-row:hover{background:var(--surface-soft,#f2f7e9)}.lesson-status{display:grid;place-items:center;width:35px;height:38px;border-radius:7px;border:1px solid var(--line,#dee7d4);color:var(--accent,#9bb183);background:var(--surface-soft,#f5f8ef);flex-shrink:0}.lesson-status.read{background:var(--warm,#f5efdf);color:var(--warning-ink,#a98c54);border-color:var(--warm-line,#e5d7b9)}.lesson-status.checked{background:var(--surface-accent,#e6f1d4);color:var(--accent,#74984a);border-color:var(--line,#cbdcaf)}.lesson-status.started{background:var(--surface-accent,#ecf2e2);color:var(--accent,#829e5b)}.lesson-row>span:nth-child(2){flex:1;min-width:0}.lesson-row b{font-size:15px;font-weight:500;color:var(--accent,#4e6d38);display:block;line-height:1.5}.lesson-row>span:nth-child(2)>small{display:block;font-size:11px;line-height:1.8;color:var(--muted,#879d72);margin-top:5px}.row-meta{text-align:right}.row-meta small{display:block;color:var(--muted,#96a984);font-size:10px;margin-top:7px}.row-meta .badge{font-size:9px}.lesson-row>svg{color:var(--muted,#afbf9c)}.source-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.source-grid a{border:1px solid var(--line,#e3eadb);border-radius:6px;padding:13px;color:var(--muted,#7e9962);font-size:12px}.source-grid b{font-weight:400}.source-grid a:hover{background:var(--surface-soft,#f1f6e8)}.toolbar{display:flex;gap:17px;align-items:flex-end;margin:25px 0}.toolbar>label{min-width:230px;max-width:540px;flex:1;margin:0;font-size:10px}.toolbar>label:nth-child(2){max-width:250px}.toolbar>span{font-size:11px;color:var(--muted,#91a47b);padding:10px 0;white-space:nowrap}.lesson-layout{display:grid;grid-template-columns:minmax(0,800px) 212px;max-width:1120px;gap:43px;margin:auto}.lesson-layout>article{min-width:0}.lesson-heading{padding-bottom:26px;border-bottom:1px solid var(--line)}.lesson-heading h1{font-size:37px}.lesson-heading .lead{font-size:16px;line-height:1.85;color:var(--muted,#6d825a);margin-bottom:19px}.lesson-meta{display:flex;align-items:center;gap:10px;color:var(--muted,#8fa67a);font-size:11px;flex-wrap:wrap}.lesson-meta .badge{margin-left:4px}.learning-steps{display:flex;gap:14px;justify-content:space-between;border:1px solid var(--line,#dce6d0);border-radius:8px;background:var(--surface-soft,#f0f5e8);padding:15px 18px;margin:25px 0 35px}.learning-steps>span{font-size:10px;color:var(--muted,#8c9f77)}.learning-steps>span.done{color:var(--accent,#587d35);font-weight:600}.prose{margin:33px 0;scroll-margin-top:24px}.section-number{font-size:11px;color:var(--muted,#a3b58a);margin-bottom:9px;display:block}.prose h2{font-size:26px;line-height:1.4;margin-bottom:16px;letter-spacing:-.7px}.prose p{font-size:16px;line-height:1.95;color:var(--muted,#566d46);white-space:pre-line}.code-block{border:1px solid #3b5135;background:#203126;border-radius:10px;overflow:hidden;margin:24px 0 10px}.code-block>div{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:11px 17px;border-bottom:1px solid #3d5038;color:#b7c7a4;font-size:9px;letter-spacing:.4px}.code-block button{border:1px solid #586d47;border-radius:4px;background:#2e452e;color:#c7d8b2;font-size:10px;padding:4px 9px;flex-shrink:0}.code-block pre{padding:20px 22px;margin:0;overflow:auto;font-size:12px;line-height:1.95;color:#d0dfbf;tab-size:2}.code-explanation{font-size:12px;color:var(--muted,#7c9367);line-height:1.9;white-space:pre-line}.callout{display:flex;gap:15px;padding:23px;background:var(--warm,#f6f0e4);border:1px solid var(--warm-line,#e5d8bf);border-radius:10px;color:var(--warning-ink,#af9363);margin:30px 0}.callout h3{font-size:15px;color:var(--warning-ink,#897044);letter-spacing:0;margin-bottom:13px}.callout ul{padding-left:17px;margin-bottom:0;color:var(--warning-ink,#8e7956);font-size:13px;line-height:1.9}.callout p{font-size:13px;line-height:1.9;color:var(--warning-ink,#8b7652);margin:0}.recall-section{padding:27px}.recall-section h2{font-size:25px}.recall-prompts{font-size:14px;line-height:1.9;color:var(--muted,#718959);margin:20px 0 25px}.recall-prompts li{margin-bottom:14px}.form-footer{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-top:14px}.form-footer small{font-size:10px;color:var(--muted,#899f73);max-width:350px}.form-footer .button{font-size:11px;flex-shrink:0}.lesson-assessment{display:flex;align-items:center;gap:20px;padding:28px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:30px 0}.lesson-assessment>div{flex:1}.lesson-assessment h2{font-size:21px;line-height:1.4;margin-bottom:9px}.lesson-assessment p{font-size:12px;color:var(--accent,#78965c);margin-bottom:8px}.lesson-assessment small{font-size:10px;color:var(--muted,#91a47d)}.lesson-assessment>.button{flex-shrink:0;font-size:11px}.notes-section{margin:30px 0}.notes-section h2{font-size:24px}.notes-section p{font-size:12px;color:var(--muted,#8ca476)}.notes-section small{display:block;font-size:10px;color:var(--muted,#91a57c);margin-top:8px}.notes-section textarea{font-size:13px}.lesson-end{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:25px 0}.lesson-sources{margin:30px 0}.lesson-sources h3{font-size:13px;letter-spacing:0;color:var(--muted,#8aa372)}.lesson-sources a{display:inline-flex;gap:7px;align-items:center;line-height:1.6;border:1px solid var(--line,#dfe8d3);border-radius:5px;padding:7px 10px;margin:0 8px 8px 0;color:var(--accent,#7c9960);font-size:11px}.next-lesson{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding:25px 0}.lesson-toc{padding-top:51px}.lesson-toc>div{position:sticky;top:30px}.lesson-toc .kicker{padding-bottom:14px;border-bottom:1px solid var(--line)}.lesson-toc a:not(.text-link){display:flex;gap:10px;padding:12px 0;font-size:11px;line-height:1.8;color:var(--muted,#7e9864)}.lesson-toc a>span{font-family:monospace;font-size:10px;color:var(--muted,#abbc96)}.toc-note{background:var(--surface-accent,#eef4e4);border:1px solid var(--line,#dce8cd);border-radius:8px;padding:16px;margin:24px 0 16px;color:var(--accent,#9ab47c)}.toc-note p{font-size:10px;color:var(--muted,#849f6b);line-height:1.9;margin:10px 0 0}.practice-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:19px}.practice-tile{border:1px solid var(--line);border-radius:11px;background:var(--paper,#fff);padding:23px;display:flex;flex-direction:column;transition:transform .2s,border-color .2s;min-width:0}.practice-tile:hover{transform:translateY(-2px);border-color:var(--strong-line,#a5c083)}.practice-tile .badge{font-size:8px}.practice-tile .tile-top{margin-bottom:19px}.practice-art{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:20px;background:var(--surface-accent,#eff4e6);border-radius:8px;color:var(--accent,#9ab67c);margin-bottom:22px}.practice-art code{font-size:12px;color:var(--muted,#9aaa86)}.practice-tile:nth-child(2n) .practice-art{background:var(--warm,#f5efe3);color:var(--warning-ink,#b59c73)}.practice-tile h3{font-size:22px}.practice-tile>p{font-size:12px;line-height:1.9;color:var(--muted,#829d6b);flex:1}.exercise-wrap{max-width:800px;margin:auto}.wide-exercise{max-width:880px}.task-banner{display:flex;gap:20px;align-items:center;justify-content:space-between;flex-wrap:wrap;border:1px solid var(--line,#d9e5ca);background:var(--surface-accent,#edf4e2);padding:17px 20px;border-radius:9px;margin:0 0 25px;font-size:11px;color:var(--accent,#829e66)}.task-banner .text-link{font-size:11px}.wide-exercise>.panel>.multiline{font-size:14px;color:var(--accent,#637d4e);line-height:1.95;margin:22px 0}.checkline{display:flex;gap:12px;align-items:flex-start;font-size:13px;line-height:1.85;padding:14px 0;margin:0;color:var(--accent,#6c8755)}.checkline small{display:block;font-size:11px;color:var(--accent,#8da775);margin-top:4px}.checkline input{margin-top:4px}.step-list{list-style:none;padding:0;counter-reset:step;margin:25px 0}.step-list li{counter-increment:step;display:flex;gap:16px;align-items:flex-start;border-bottom:1px solid var(--line,#dfe7d6);padding:18px 0;font-size:15px;line-height:1.9;color:var(--accent,#627e4c);white-space:pre-line}.step-list li:before{content:counter(step,decimal-leading-zero);font-family:monospace;color:var(--accent,#9fba81);font-size:12px;flex-shrink:0;margin-top:4px}.variation ul{font-size:14px;line-height:1.9;color:var(--muted,#7a9662);padding-left:18px;margin-bottom:0}.criteria-list{background:var(--paper,#fff);border:1px solid var(--line);border-radius:10px;padding:9px 21px}.criteria-list .checkline{border-bottom:1px solid var(--line,#e1e9d8);font-size:14px}.criteria-list .checkline:last-child{border:0}.report-form label{font-size:12px;margin-top:23px}.report-form textarea{font-size:14px}.report-form small{font-size:11px;color:var(--muted,#8fa97a)}.explain-details{border:1px solid var(--line,#dce8cf);border-radius:8px;background:var(--paper,#fbfdf7);padding:18px 20px;margin:28px 0}.explain-details summary{font-size:13px;cursor:pointer;color:var(--muted,#819d69)}.explain-details ul{font-size:13px;line-height:1.9;color:var(--muted,#8ba174);margin:20px 0 0}.related{padding:22px;background:var(--surface-accent,#edf4e2);border:1px solid var(--line,#dce7cf);border-radius:10px;margin:26px 0}.related h3{font-size:16px;letter-spacing:-.2px}.related .button-row{margin-bottom:0}.related .chip{font-size:11px}.cards-layout{display:grid;grid-template-columns:1fr 1.2fr;gap:25px}.deck-config{padding:29px}.deck-config h2{font-size:27px;margin-bottom:28px}.deck-config label{margin-bottom:19px}.deck-config .checkline{font-size:12px}.deck-count{display:flex;align-items:center;gap:13px;margin:27px 0 23px;padding-top:22px;border-top:1px solid var(--line)}.deck-count b{font-size:36px;font-family:monospace;font-weight:400;color:var(--accent,#8aab63);line-height:1}.deck-count span{font-size:11px;color:var(--muted,#8ba16f)}.deck-config>.button{width:100%}.deck-config>.small{margin-top:14px}.review-art-panel{background:var(--surface-accent,#edf3e2);border:1px solid var(--line,#d9e7c8);border-radius:12px;padding:34px 27px;text-align:center}.card-stack{display:grid;place-items:center;background:var(--surface-accent,#e0ebce);border:1px solid var(--line,#cddfB5);border-radius:20px;width:106px;height:105px;margin:0 auto 30px;color:var(--accent,#8fac6d);transform:rotate(-7deg)}.review-art-panel h2{font-size:36px;color:var(--accent,#658645);line-height:1.2;margin-bottom:20px}.review-art-panel>p{font-size:13px;line-height:1.9;color:var(--muted,#849d6c);max-width:350px;margin:0 auto 30px}.review-stat-row{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;border-top:1px solid var(--line,#d6e2c5);padding-top:25px}.review-stat-row b{display:block;font-family:monospace;font-size:27px;font-weight:400;color:var(--accent,#87a663)}.review-stat-row span{font-size:10px;color:var(--accent,#8ba875)}.session-header{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:11px;color:var(--muted,#91a77b);margin:20px 0}.session-header .back-link{margin:0}.flashcard{background:var(--paper,#fff);border:1px solid var(--line,#d5e1c7);border-radius:14px;box-shadow:0 10px 0 -4px var(--surface-soft,#e8efdc);padding:30px 35px;min-height:410px;margin:26px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.flash-top{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:center;margin-bottom:35px;width:100%}.flash-top>span:last-child{font-size:8px;letter-spacing:1px;color:var(--muted,#9cae88)}.flashcard h2{font-size:29px;line-height:1.55;color:var(--accent,#58753f);white-space:pre-line;margin-bottom:25px;overflow-wrap:anywhere}.flash-hint{font-size:12px;color:var(--muted,#98ac81);margin-bottom:27px}.flashcard .button kbd{font-size:8px;border:1px solid #6f8f54;border-radius:3px;padding:1px 4px;color:#c7dbaf;font-weight:400;margin-left:3px}.flash-answer{border-top:1px solid var(--line,#e3ebd8);padding-top:25px;width:100%}.flash-answer p{font-size:15px;line-height:1.9;color:var(--muted,#7e9a63);white-space:pre-line;overflow-wrap:anywhere}.rating-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:11px}.rating{border:1px solid var(--line,#d6e3c7);border-radius:8px;padding:13px 9px;background:var(--surface-soft,#f9fcf3);text-align:center;color:var(--accent,#80a05e)}.rating>span{font-family:monospace;font-size:9px;color:var(--muted,#a2b88b)}.rating b{display:block;font-size:12px;font-weight:500;margin:5px 0}.rating small{font-size:9px;display:block;line-height:1.6}.rating.again{background:var(--warm,#fbf0e4);border-color:var(--warm-line,#e7d6bd);color:var(--warning-ink,#af8c59)}.rating.hard{background:var(--warm,#f6f3e6);border-color:var(--warm-line,#e2ddc6);color:var(--warning-ink,#aaa16b)}.rating.easy{background:var(--surface-accent,#e9f3da);border-color:var(--line,#c8deac);color:var(--accent,#7c9f55)}.rating:hover{filter:brightness(.97)}.center{text-align:center}.question-card{background:var(--paper,#fff);border:1px solid var(--line);border-radius:12px;padding:29px;margin:28px 0}.question-card h2{font-size:27px;line-height:1.5;letter-spacing:-.5px;margin-bottom:25px}.options{display:flex;flex-direction:column;gap:11px;margin:23px 0}.option{display:flex;align-items:center;text-align:left;gap:15px;background:var(--warm,#fcfdf9);border:1px solid var(--line,#dbe5cf);border-radius:8px;padding:16px 18px;font-size:14px;line-height:1.8;color:var(--accent,#728d58);transition:background .15s,border-color .15s}.option>span{width:27px;height:27px;border:1px solid var(--line,#dde7d1);border-radius:5px;background:var(--paper,#fff);display:grid;place-items:center;font-family:monospace;font-size:11px;color:var(--accent,#9db585);flex-shrink:0}.option:hover{background:var(--surface-accent,#eef5e2);border-color:var(--strong-line,#a9c48a)}.result-banner{background:var(--surface-accent,#ebf3de);border:1px solid var(--line,#d8e6c5);border-radius:13px;text-align:center;padding:34px 28px;margin-bottom:29px}.score-circle{width:114px;height:114px;border:6px solid var(--strong-line,#b1cf89);border-radius:50%;margin:23px auto 28px;display:flex;gap:2px;align-items:center;justify-content:center;font-family:monospace;font-size:40px;color:var(--accent,#7d9f56)}.score-circle small{font-size:15px;margin-top:19px}.result-banner h1{font-size:32px;color:var(--accent,#55773a);margin-bottom:16px}.result-banner p{color:var(--muted,#829c67);font-size:13px;line-height:1.9;margin:0}.review-answer{display:flex;gap:15px;padding:25px 0;border-bottom:1px solid var(--line)}.answer-mark{width:26px;height:26px;display:grid;place-items:center;border-radius:50%;font-size:13px;flex-shrink:0}.answer-mark.good{color:var(--accent,#7b9e54);background:var(--surface-accent,#e7f0d9)}.answer-mark.bad{color:var(--warning-ink,#bd916c);background:var(--warm,#f8eee4)}.review-answer h3{font-size:16px;line-height:1.6;letter-spacing:0;margin-bottom:10px}.review-answer p{font-size:13px;line-height:1.9;color:var(--muted,#7c9765);white-space:pre-line;margin:7px 0 10px}.review-answer .your-answer{font-size:11px;color:var(--muted,#9eaf8a)}.review-answer b{font-size:13px;line-height:1.7;color:var(--accent,#72954e);font-weight:500}.sprint-detail .section-head h2{margin-top:13px;font-size:30px}.sprint-dates{font-size:12px;color:var(--accent,#8da572)}.sprint-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;border-top:1px solid var(--line);padding:24px 0;margin:25px 0 8px}.sprint-metrics b{font-family:monospace;font-weight:400;color:var(--accent,#8ca967);font-size:25px;display:block}.sprint-metrics span{font-size:10px;color:var(--accent,#9ab183);display:block;margin-top:4px}.sprint-detail>.small{margin-top:15px}.archive-sprint{background:var(--paper,#fff);border:1px solid var(--line);border-radius:10px;display:flex;align-items:center;gap:25px;padding:23px;margin:13px 0}.archive-sprint>div{flex:1}.archive-sprint h3{font-size:20px;margin:7px 0}.archive-sprint p{font-size:12px;line-height:1.9;color:var(--muted,#88a170);margin:0;white-space:pre-line}.archive-sprint>strong{font-size:27px;font-family:monospace;font-weight:400;color:var(--accent,#90ae6c)}.archive-sprint>.text-link{font-size:11px;flex-shrink:0}.plan-preview{border-top:1px solid var(--line);padding-top:25px;margin-top:27px}.plan-preview h3{font-size:21px}.plan-preview>p{font-size:12px;color:var(--muted,#7f9a66);line-height:1.9}.plan-task-list{border:1px solid var(--line,#dae7cc);border-radius:8px;background:var(--paper,#fff);padding:6px 17px;margin:18px 0}.plan-task-list .checkline{border-bottom:1px solid var(--line,#e5eddb);font-size:13px}.plan-task-list .checkline:last-child{border:0}.plan-total{font-weight:500;color:var(--accent,#6c8d4f)!important;padding:12px 0}.progress-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin:25px 0}.progress-stats .panel{padding:25px 22px}.progress-stats b{font-family:monospace;font-size:35px;font-weight:400;color:var(--accent,#88aa60);display:block;margin-bottom:15px}.progress-stats b small{font-size:15px;color:var(--muted,#b0c098)}.progress-stats h3{font-size:14px;letter-spacing:0;margin-bottom:9px}.progress-stats p{font-size:11px;line-height:1.8;color:var(--muted,#91a979);margin:0}.analytics-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:22px;margin:25px 0}.analytics-grid h2{font-size:21px}.week-chart{display:grid;grid-template-columns:repeat(7,1fr);gap:12px;margin:25px 0}.week-chart>div{text-align:center;min-width:0}.week-chart span{display:block;font-size:10px;color:var(--accent,#9cb483)}.chart-column{height:105px;position:relative;margin:10px auto;background:var(--surface-soft,#f1f6e8);border-radius:5px;width:65%;min-width:12px}.chart-column i{display:block;width:100%;position:absolute;bottom:0;left:0;background:var(--surface-accent,#b4d18b);border-radius:5px;min-height:2px}.week-chart small{font-size:9px;color:var(--muted,#9bad8b);white-space:nowrap}.analytics-grid>.panel>.small{font-size:10px;line-height:1.8}.review-numbers{margin:27px 0}.review-numbers>div{display:flex;align-items:center;gap:15px;padding:8px 0}.review-numbers b{font-family:monospace;font-size:26px;font-weight:400;color:var(--accent,#9ab77b);width:55px}.review-numbers span{font-size:11px;color:var(--muted,#8ca474)}.table-scroll{overflow:auto;border:1px solid var(--line);border-radius:10px;background:var(--paper,#fff)}.progress-table{width:100%;border-collapse:collapse;text-align:left;min-width:640px}.progress-table th{background:var(--surface-soft,#eff5e7);color:var(--accent,#8da971);font-size:10px;font-weight:500;line-height:1.5;padding:16px 18px}.progress-table td{border-top:1px solid var(--line,#e1ead6);padding:17px 18px;font-size:12px;color:var(--accent,#92ac78)}.progress-table td:first-child{width:52%;color:var(--accent,#6e8e52)}.progress-table td a{display:flex;gap:12px;align-items:center;line-height:1.7}.progress-table code{font-size:10px;min-width:26px;color:var(--muted,#a2bb8a)}.progress-table a:hover{text-decoration:underline}.activity-log>div{display:flex;align-items:center;gap:20px;border:1px solid var(--line);border-radius:8px;background:var(--paper,#fff);padding:18px 20px;margin:10px 0}.activity-log>div>span{font-size:10px;color:var(--accent,#9bb684);min-width:64px}.activity-log>div>div{flex:1}.activity-log b{font-size:12px;font-weight:500;color:var(--accent,#77985a)}.activity-log p{font-size:11px;color:var(--muted,#98ae84);margin:5px 0 0;line-height:1.8}.activity-log strong{font-family:monospace;font-size:14px;font-weight:400;color:var(--accent,#8cac6c);white-space:nowrap}.activity-log .icon-btn{border:0;background:none;color:var(--muted,#b2c29d)}.quiz-history>button{display:flex;align-items:center;gap:18px;text-align:left;width:100%;padding:19px 21px;border:1px solid var(--line);border-radius:8px;background:var(--paper,#fff);margin:10px 0}.quiz-history>button>span{flex:1}.quiz-history b{display:block;font-size:12px;font-weight:500;color:var(--accent,#799a5c)}.quiz-history small{display:block;font-size:10px;color:var(--muted,#a1b68c);margin-top:5px}.quiz-history strong{font-family:monospace;font-weight:400;font-size:22px;color:var(--accent,#91ad72)}.quiz-history svg{color:var(--muted,#b7c9a3)}.legacy-note{border-top:1px solid var(--line);padding:24px 0;color:var(--accent,#9bb583);font-size:12px;margin-top:25px}.legacy-note summary{cursor:pointer}.legacy-note p{font-size:12px;line-height:1.9;color:var(--muted,#8fa87b);margin-top:18px}.coverage-list{margin:30px 0}.coverage-list>details{border:1px solid var(--line);border-radius:10px;background:var(--paper,#fff);margin:13px 0;overflow:hidden}.coverage-list summary{display:flex;align-items:center;gap:18px;padding:23px;cursor:pointer;font-size:16px;font-weight:500;color:var(--accent,#6c8d51)}.coverage-list summary:before{content:'+';font-weight:400;color:var(--muted,#b7ca9f)}.coverage-list details[open]>summary:before{content:'−'}.coverage-list summary small{margin-left:auto;font-size:10px;color:var(--muted,#9eb78b);flex-shrink:0}.coverage-list details>div{border-top:1px solid var(--line);padding:10px 23px}.coverage-row{border-bottom:1px solid var(--line,#e5eddb);padding:16px 0}.coverage-row:last-child{border:0}.coverage-row p{font-size:13px;line-height:1.8;color:var(--muted,#829e6a);margin-bottom:12px}.coverage-row p code{font-size:10px;color:var(--muted,#a6bd93);margin-right:7px}.coverage-row .chip{font-size:10px;margin:0 6px 7px 0}.empty{text-align:center;padding:55px 25px;color:var(--accent,#8ca872)}.empty h2{font-size:29px;color:var(--accent,#779857)}.empty p{font-size:13px;line-height:1.9;max-width:560px;margin:15px auto 25px;color:var(--accent,#95af80)}.empty.compact{padding:25px 10px}.empty.compact h3{font-size:18px}.empty.compact p{font-size:12px;margin-bottom:0}.empty-icon{color:var(--muted,#a6c28a);margin:0 auto 22px}.empty .button{margin-top:10px}.source-grid p{margin:0}.method-list{font-size:13px;line-height:1.95;color:var(--accent,#78995d);padding-left:20px}.method-list li{margin-bottom:19px}.method-list b{font-weight:500;color:var(--accent,#587c38)}.file-label{cursor:pointer;margin:0}.file-label input{position:absolute;width:1px;height:1px;opacity:0;margin:0!important;padding:0!important}.file-label:focus-within{outline:3px solid var(--strong-line,#81a34d);outline-offset:4px}.danger-zone{border-top:1px solid var(--line,#e1e9d6);padding-top:20px;margin-top:25px}.danger-zone p{font-size:11px;color:var(--muted,#a4b88e);line-height:1.9}.danger{color:var(--warning-ink,#ad8760)}.danger-button{background:#a87957;color:#fff}.search-input-wrap{display:flex;align-items:center;gap:13px;border:1px solid var(--line,#c9dcb3);border-radius:9px;background:var(--paper,#fff);padding:10px 15px;margin:23px 0;color:var(--accent,#9cb580)}.search-input-wrap input{border:0!important;background:none!important;outline:0!important;padding:3px!important;margin:0!important;font-size:15px;color:var(--accent,#789a5c)}.search-input-wrap:focus-within{outline:2px solid var(--strong-line,#9bbd75);outline-offset:2px}.search-results{max-height:53dvh;overflow:auto}.search-results>small{font-size:10px;color:var(--muted,#9cb68a);display:block;margin-bottom:12px}.search-results>a{display:flex;align-items:center;gap:17px;border-bottom:1px solid var(--line,#e1ead6);padding:16px 3px}.search-results>a:hover{background:var(--surface-accent,#eff6e4)}.search-results>a>span:nth-child(2){flex:1}.search-results b{display:block;font-size:13px;font-weight:500;color:var(--accent,#7a9a5c)}.search-results small{display:block;font-size:11px;color:var(--accent,#98b182);line-height:1.85;margin-top:5px}.search-results svg{color:var(--muted,#b2c99a)}.search-results .module-code{font-size:11px;width:45px;flex-shrink:0}dialog{border:1px solid var(--line,#d3e2c1);border-radius:14px;width:min(660px,calc(100vw - 30px));max-height:87dvh;padding:37px;background:var(--paper,#fbfdf7);color:var(--ink);box-shadow:0 25px 85px #1a32203b}dialog.wide{width:min(870px,calc(100vw - 30px))}dialog::backdrop{background:#17291d80;backdrop-filter:blur(4px)}.modal-close{position:absolute;top:15px;right:15px;width:28px;height:28px;background:var(--surface-soft,#f5f9ed);border-color:var(--line,#dce8ce);color:var(--accent,#9ab780)}dialog h2{font-size:28px;margin-right:20px;margin-bottom:20px}dialog>p{font-size:13px;color:var(--muted,#8ba674);line-height:1.9}dialog h3{font-size:19px;margin-top:25px}dialog .button-row{margin-bottom:25px}dialog form{margin-top:25px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.copy-fallback{font-family:monospace;font-size:12px}.toast{position:fixed;left:calc(50% + 95px);bottom:25px;transform:translate(-50%,20px);max-width:min(650px,calc(100vw - 30px));width:max-content;padding:13px 20px;color:#e3f0cf;background:#2b442b;border:1px solid #50703e;border-radius:9px;box-shadow:0 5px 25px #243b2030;z-index:120;font-size:12px;line-height:1.7;opacity:0;transition:opacity .2s,transform .2s;pointer-events:none}.toast.show{opacity:1;transform:translate(-50%,0)}footer{border-top:1px solid var(--line);display:flex;gap:20px;align-items:center;justify-content:space-between;padding:21px 40px;font-size:9px;color:var(--muted,#8da576);letter-spacing:.7px;font-family:monospace}footer>span{margin-right:auto;letter-spacing:0;font-family:Arial,sans-serif;font-size:10px;color:var(--muted,#99ad85)}footer button{border:0;background:none;padding:0;color:var(--muted,#7f9b66);font-size:10px}.shade{display:none}
/* Descriptions remain readable at normal zoom. */
.module-tile p,.tile-footer,.module-progress,.principle-grid p,.principle-grid span,.review-promo>p,.warm-card p,.task-row small,.task-row>.task-estimate,.lesson-row>span:nth-child(2)>small,.row-meta small,.code-explanation,.notes-section p,.notes-section small,.form-footer small,.lesson-assessment small,.toolbar>span,.lesson-toc a:not(.text-link),.toc-note p,.practice-tile>p,.practice-art code,.deck-count span,.review-art-panel>p,.review-stat-row span,.flash-answer p,.flash-hint,.session-header,.question-card>.small,.review-answer p,.review-answer .your-answer,.result-banner p,.sprint-metrics span,.sprint-dates,.progress-stats p,.week-chart span,.week-chart small,.review-numbers span,.activity-log p,.quiz-history small,.coverage-row p,.coverage-list summary small,.search-results small,dialog>p,.danger-zone p{color:var(--muted,#5f7350)}
@media(min-width:1500px){main{padding:42px 54px 60px}.hero{padding:43px 46px}.hero h1{font-size:57px}.hero-terminal{max-width:465px}.terminal-body{padding:23px}.terminal-body b{font-size:14px}.terminal-body small{font-size:11px}.hero p{font-size:16px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 290px;gap:31px}.module-grid{gap:22px}.module-tile h3{font-size:25px}.featured-modules .module-tile h3{font-size:20px}.featured-modules .module-tile p{font-size:12px}.featured-modules .tile-footer{font-size:11px}.featured-modules .module-progress{font-size:10px}.stats-row span{font-size:12px}.stats-row b{font-size:28px}.module-progress{font-size:10px}}
@media(max-width:1200px){:root{--sidebar:226px}.sidebar{padding-left:15px;padding-right:15px}.brand{font-size:23px;gap:8px}.brand small{font-size:7px}.profile{margin-left:-15px;margin-right:-15px;padding-left:18px;padding-right:18px}.topbar{padding:0 27px}.header-actions{gap:14px}main{padding:27px 27px 40px}.hero{padding:30px 29px;gap:23px}.hero h1{font-size:41px}.hero p{font-size:13px}.hero .button-row{gap:12px}.hero-link{font-size:9px}.hero .button{font-size:11px;padding:10px 13px}.hero-terminal{max-width:355px}.terminal-body{padding:17px}.terminal-body b{font-size:11px}.terminal-body small{font-size:8px}.hero .eyebrow{font-size:8px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 235px;gap:20px}.panel{padding:22px}.module-grid{grid-template-columns:repeat(2,1fr)}.module-tile h3{font-size:23px}.featured-modules{grid-template-columns:1fr}.featured-modules .module-tile h3{font-size:21px}.featured-modules .module-tile p{font-size:12px}.featured-modules .module-progress{display:flex;font-size:10px}.featured-modules .tile-footer{font-size:11px}.featured-modules .module-tile{padding:21px}.featured-modules .tile-top{margin-bottom:13px}.featured-modules .badge{font-size:9px}.review-promo{padding:22px 19px}.review-promo h2{font-size:29px}.warm-card{padding:22px 19px}.warm-card h3{font-size:23px}.stats-row>div{gap:9px}.stats-row b{font-size:21px}.stats-row span{font-size:9px}.stats-row b small{font-size:11px}.section-head h2{font-size:22px}.practice-grid{grid-template-columns:repeat(2,1fr)}.lesson-layout{grid-template-columns:minmax(0,1fr) 175px;gap:28px}.lesson-heading h1{font-size:33px}.lesson-toc a:not(.text-link){font-size:10px}.lesson-assessment{display:block}.lesson-assessment .button{margin-top:20px}.form-footer{flex-direction:column;gap:14px}.form-footer small{max-width:none}.route-intro{grid-template-columns:repeat(2,1fr);gap:22px}.route-intro>div:nth-child(2){border:0}.route-intro span{font-size:11px}.route-intro b{font-size:13px}.progress-stats{grid-template-columns:repeat(2,1fr)}.analytics-grid{grid-template-columns:1fr}.cards-layout{grid-template-columns:1fr 1fr;gap:20px}.review-art-panel{padding:30px 20px}.review-stat-row{gap:8px}.review-stat-row span{font-size:9px}.sprint-metrics{gap:13px}.sprint-metrics b{font-size:22px}.sprint-metrics span{font-size:9px}footer{padding:21px 27px}.heading-line{gap:17px}.page-heading h1{font-size:35px}.heading-line>.button{font-size:11px;max-width:180px}}
@media(max-width:980px){.hero{grid-template-columns:1fr}.hero-terminal{display:none}.hero h1{font-size:49px}.hero{padding:33px 35px;min-height:328px}.hero-slash{right:-65px;bottom:-160px}.hero .eyebrow{font-size:9px}.hero p{font-size:14px}.hero .button{font-size:12px}.hero .hero-link{font-size:11px}.hero .button-row{gap:19px}.stats-row{grid-template-columns:repeat(2,1fr);row-gap:24px;padding:20px 10px}.stats-row>div{justify-content:flex-start;padding-left:20px}.stats-row>div:nth-child(2){border:0}.stats-row span{font-size:11px}.stats-row b{font-size:25px}.dashboard-grid{grid-template-columns:1fr}.right-rail{display:grid;grid-template-columns:1fr 1fr;gap:20px}.review-promo h2{font-size:30px}.quiet-note{grid-column:1/-1;max-width:650px}.featured-modules{grid-template-columns:repeat(3,1fr);gap:10px}.featured-modules .module-tile{padding:17px}.featured-modules .module-tile h3{font-size:17px}.featured-modules .module-tile p{font-size:11px}.featured-modules .tile-footer{font-size:9px}.featured-modules .module-progress{display:block;font-size:9px}.module-grid{gap:15px}.module-tile{padding:22px}.module-tile h3{font-size:21px}.module-overview{grid-template-columns:1fr}.module-facts{display:grid;grid-template-columns:1fr 1fr;gap:0 25px}.module-facts>div:nth-last-child(2){border:0}.module-facts>div:first-child{padding-top:15px}.module-facts>div:last-child{padding-bottom:15px}.lesson-layout{display:block;max-width:800px}.lesson-toc{display:none}.prose p{font-size:16px}.lesson-heading h1{font-size:36px}.lesson-assessment{display:flex}.lesson-assessment .button{margin-top:0;font-size:10px;max-width:170px}.form-footer{flex-direction:row}.cards-layout{grid-template-columns:1fr}.review-art-panel{display:none}.sprint-metrics{grid-template-columns:repeat(2,1fr);gap:20px}.sprint-metrics b{font-size:25px}.sprint-metrics span{font-size:11px}.archive-sprint{flex-wrap:wrap;gap:15px}.archive-sprint>div{flex-basis:75%}.archive-sprint>.text-link{margin-left:auto}.page-heading .heading-line{flex-direction:column}.page-heading .heading-line>.button{max-width:none;margin-bottom:14px}.page-heading h1{font-size:34px}.lesson-heading .heading-line{flex-direction:row}.toolbar{flex-wrap:wrap}.toolbar>label{min-width:200px}.toolbar>span{margin-left:auto}.lesson-row{padding:20px;gap:12px}.lesson-row b{font-size:14px}.row-meta .badge{font-size:8px}.lesson-row .row-meta{max-width:150px}.lesson-row>span:nth-child(2)>small{font-size:10px}.lesson-end{flex-wrap:wrap;gap:20px}.practice-tile{padding:20px}.practice-tile h3{font-size:21px}.practice-art code{font-size:11px}.practice-tile .badge{font-size:7px}.principle-grid span{font-size:10px}.search-button{min-width:220px}.breadcrumbs{font-size:10px}}
@media(max-width:720px){:root{--sidebar:250px}.sidebar{transform:translateX(-100%);transition:transform .25s;padding-left:20px;padding-right:20px}.menu-open .sidebar{transform:translateX(0)}.menu-open .shade{display:block;position:fixed;inset:0;z-index:35;background:#142a1880;backdrop-filter:blur(2px)}.workspace{margin-left:0}.brand{font-size:25px}.brand small{font-size:8px}.nav-item{font-size:13px}.course-picker{font-size:13px}.profile{margin-left:-20px;margin-right:-20px;padding:18px 23px}.topbar{height:64px;padding:0 16px;position:sticky;top:0;z-index:20;background:#fcfef8f5;backdrop-filter:blur(8px)}.breadcrumbs{gap:7px;font-size:11px}.breadcrumbs>span,.breadcrumbs>svg{display:none}.mobile-menu{display:inline-grid;border:0;background:none;width:28px}.header-actions{gap:13px}.search-button{min-width:0;border:0;background:none;padding:6px}.search-button span,.search-button kbd{display:none}.header-actions .icon-btn{background:none;border:0;width:29px}.skip{left:10px}main{padding:20px 19px 35px}.hero{padding:29px 26px;min-height:335px;border-radius:12px}.hero h1{font-size:45px;letter-spacing:-1.9px}.hero p{font-size:14px}.hero .eyebrow{font-size:8px;letter-spacing:1.1px}.hero .button-row{gap:18px}.hero .hero-link{font-size:11px}.hero .button{font-size:12px}.hero-slash{right:-120px;bottom:-120px;font-size:480px}.stats-row{margin:17px 0 28px;padding:18px 7px;row-gap:21px}.stats-row>div{padding-left:12px;gap:9px}.stats-row svg{width:19px}.stats-row b{font-size:24px}.stats-row b small{font-size:12px}.stats-row span{font-size:10px}.section-head{gap:15px;flex-wrap:wrap;align-items:flex-end;margin-bottom:18px}.section-head h2{font-size:24px}.section-head .text-link{font-size:11px}.kicker,.section-head .kicker{font-size:9px;letter-spacing:1.1px}.panel{padding:23px 21px}.sprint-caption{font-size:10px;flex-wrap:wrap;gap:8px}.sprint-example{gap:7px}.sprint-example>span{font-size:10px}.featured-modules{grid-template-columns:1fr;gap:13px}.featured-modules .module-tile{padding:23px}.featured-modules .module-tile h3{font-size:23px}.featured-modules .module-tile p{font-size:13px}.featured-modules .tile-footer{font-size:11px}.featured-modules .module-progress{font-size:10px;display:flex}.featured-modules .badge{font-size:10px}.featured-modules .module-code{font-size:12px}.featured-modules .tile-top{margin-bottom:18px}.right-rail{gap:15px}.review-promo,.warm-card{padding:23px 20px}.review-promo h2{font-size:29px}.review-promo>p{font-size:12px}.review-promo .button{font-size:11px}.warm-card h3{font-size:24px}.warm-card p{font-size:12px}.warm-card .text-link{font-size:11px}.principle-grid{gap:12px}.principle-grid b{font-size:27px}.principle-grid span{font-size:11px;line-height:1.7}.principle-grid p{font-size:10px;line-height:1.9}.principle h2{font-size:25px;line-height:1.4}.task-row{gap:10px}.task-row b{font-size:12px}.task-row small{font-size:10px}.task-row>.task-estimate{font-size:10px}.task-row>svg{width:14px}.task-state{width:28px;height:31px}.sprint-home .badge{font-size:9px}.task-row>.task-estimate{max-width:43px;white-space:normal;text-align:right}.page-heading{margin-bottom:26px}.page-heading h1{font-size:33px}.page-heading>p{font-size:14px;line-height:1.9}.page-heading .eyebrow{font-size:8px}.page-heading .heading-line>.button{font-size:12px}.route-intro{padding:20px 13px;gap:20px 10px}.route-intro>div{padding-left:4px;column-gap:7px;grid-template-columns:24px 1fr}.route-intro svg{width:20px}.route-intro b{font-size:12px}.route-intro span{font-size:10px;line-height:1.7}.notice{padding:16px;gap:11px}.notice p{font-size:12px}.module-grid{grid-template-columns:1fr;gap:16px}.module-tile{padding:24px}.module-tile h3{font-size:25px}.module-tile p{font-size:13px}.module-progress{font-size:10px}.tile-footer{font-size:11px}.module-facts{gap:0 20px}.module-facts>div{font-size:11px;line-height:1.8}.module-facts b{font-size:20px}.check-list li{font-size:13px}.environment{font-size:12px}.prerequisites{gap:7px}.prerequisites>span{font-size:12px;width:100%}.lesson-row{padding:19px 17px;gap:12px;flex-wrap:wrap}.lesson-row>span:nth-child(2){flex-basis:calc(100% - 70px)}.lesson-row b{font-size:15px}.lesson-row>span:nth-child(2)>small{font-size:12px}.lesson-row .row-meta{max-width:none;display:flex;gap:12px;align-items:center;text-align:left;flex:1;margin-left:47px}.row-meta small{margin:0;font-size:10px}.row-meta .badge{font-size:9px}.lesson-row>svg{display:none}.source-grid{grid-template-columns:1fr}.source-grid a{font-size:12px}.toolbar{gap:13px;margin:24px 0}.toolbar>label{min-width:140px;font-size:10px}.toolbar>span{font-size:11px;padding:0}.toolbar select{font-size:12px}.lesson-heading .heading-line{align-items:flex-start;gap:12px}.lesson-heading h1{font-size:33px;line-height:1.3}.lesson-heading .lead{font-size:16px}.lesson-heading .eyebrow{font-size:8px}.lesson-meta{font-size:11px;gap:9px}.lesson-meta .badge{font-size:10px;margin-left:0}.learning-steps{padding:14px 13px;gap:9px}.learning-steps>span{font-size:10px}.prose{margin:31px 0;scroll-margin-top:86px}.prose h2{font-size:26px;line-height:1.4}.prose p{font-size:16px;line-height:1.95}.code-block pre{padding:18px 16px;font-size:12px}.code-block>div{padding:11px 13px;font-size:8px;letter-spacing:0;align-items:flex-start}.code-block button{font-size:10px}.code-explanation{font-size:12px;line-height:1.95}.callout{padding:21px 17px;gap:12px}.callout ul,.callout p{font-size:13px}.callout h3{font-size:15px}.recall-section{padding:23px 19px}.recall-section h2{font-size:25px}.recall-prompts{font-size:14px;line-height:1.95}.recall-section label{font-size:12px}.form-footer{flex-direction:column;gap:15px}.form-footer small{font-size:11px}.form-footer .button{font-size:12px;width:100%}.lesson-assessment{display:block;padding:25px 0}.lesson-assessment h2{font-size:23px}.lesson-assessment p{font-size:13px}.lesson-assessment small{font-size:11px;line-height:1.8}.lesson-assessment>.button{margin-top:21px;max-width:none;font-size:12px}.notes-section p{font-size:12px;line-height:1.9}.notes-section textarea{font-size:14px}.lesson-end{display:block}.lesson-end>.button{width:100%;margin-bottom:20px}.lesson-end>.text-link{font-size:12px}.lesson-sources a{font-size:11px;line-height:1.7}.next-lesson .text-link{font-size:12px}.related{padding:21px 18px}.related h3{font-size:17px}.related .chip{font-size:12px}.practice-grid{grid-template-columns:1fr;gap:16px}.practice-tile{padding:24px}.practice-tile h3{font-size:25px}.practice-tile p{font-size:13px}.practice-tile .badge{font-size:9px}.practice-art code{font-size:13px}.practice-art{padding:24px}.task-banner{gap:13px;font-size:11px;padding:16px}.task-banner .text-link{font-size:12px}.wide-exercise .page-heading h1{font-size:31px}.step-list li{font-size:15px;line-height:1.95}.variation ul{font-size:14px}.checkline{font-size:13px;line-height:1.9}.criteria-list{padding:7px 16px}.criteria-list .checkline{font-size:14px}.report-form .button-row{gap:17px}.report-form .button{font-size:12px}.report-form small{font-size:11px;line-height:1.8}.explain-details summary{font-size:13px}.cards-layout{gap:0}.deck-config{padding:25px 22px}.deck-config h2{font-size:27px}.deck-config label{font-size:12px}.deck-count b{font-size:39px}.deck-count span{font-size:12px}.session-header{font-size:11px;gap:12px}.session-header .back-link{font-size:11px}.flashcard{padding:26px 21px;min-height:370px}.flash-top{gap:8px;margin-bottom:29px}.flash-top .badge{font-size:9px}.flash-top>span:last-child{font-size:8px}.flashcard h2{font-size:25px;line-height:1.6}.flash-hint{font-size:12px;line-height:1.9}.flash-answer p{font-size:15px;line-height:1.9}.rating-grid{grid-template-columns:repeat(2,1fr);gap:12px}.rating{padding:14px 9px}.rating b{font-size:13px}.rating small{font-size:11px}.rating>span{font-size:10px}.question-card{padding:25px 19px}.question-card h2{font-size:25px;line-height:1.5}.option{font-size:14px;padding:15px 13px;gap:12px;line-height:1.8}.option>span{width:24px;height:24px;font-size:10px}.question-card>.small{font-size:11px;line-height:1.9}.result-banner{padding:30px 22px}.result-banner h1{font-size:29px}.result-banner p{font-size:13px}.review-answer{gap:12px;padding:23px 0}.review-answer h3{font-size:15px}.review-answer p{font-size:13px}.review-answer .your-answer{font-size:12px}.review-answer .text-link{font-size:12px}.sprint-detail .section-head{align-items:flex-start}.sprint-detail .section-head h2{font-size:27px}.sprint-metrics b{font-size:24px}.sprint-metrics span{font-size:11px}.sprint-detail>.small{font-size:11px;line-height:1.9}.sprint-dates{font-size:12px}.archive-sprint{padding:23px 20px}.archive-sprint h3{font-size:21px}.archive-sprint>div{flex-basis:70%}.archive-sprint p{font-size:12px}.progress-stats{gap:12px}.progress-stats .panel{padding:21px 17px}.progress-stats b{font-size:31px}.progress-stats b small{font-size:13px}.progress-stats h3{font-size:13px;line-height:1.5}.progress-stats p{font-size:11px;line-height:1.8}.analytics-grid{gap:18px}.analytics-grid .section-head h2{font-size:23px}.analytics-grid .section-head .text-link{font-size:11px}.week-chart{gap:7px}.week-chart small{font-size:9px}.week-chart span{font-size:9px}.week-chart .chart-column{height:100px}.review-numbers span{font-size:12px}.review-numbers b{font-size:27px}.activity-log>div{padding:17px 14px;gap:12px;flex-wrap:wrap}.activity-log>div>span{font-size:11px;min-width:55px}.activity-log b{font-size:12px}.activity-log p{font-size:12px}.activity-log strong{font-size:13px;margin-left:auto}.activity-log .icon-btn{width:25px;height:25px}.quiz-history>button{padding:19px 16px;gap:12px}.quiz-history b{font-size:13px;line-height:1.7}.quiz-history small{font-size:11px}.coverage-list summary{font-size:15px;gap:11px;padding:21px 16px;flex-wrap:wrap}.coverage-list summary small{font-size:10px}.coverage-list details>div{padding:9px 17px}.coverage-row p{font-size:13px;line-height:1.9}.coverage-row .chip{font-size:11px}.source-link{font-size:12px}.empty{padding:40px 20px}.empty h2{font-size:27px}.empty p{font-size:13px}.empty-icon{margin-bottom:20px}dialog{padding:33px 23px;max-height:86dvh}dialog h2{font-size:26px;margin-right:20px}dialog>p{font-size:13px;line-height:1.9}dialog label{font-size:12px}dialog .button{font-size:12px}.form-grid{gap:14px}.search-results>a{gap:13px;padding:15px 0}.search-results .module-code{font-size:10px;width:34px}.search-results b{font-size:13px}.search-results small{font-size:11px}.search-results>a>svg{width:14px}.search-input-wrap input{font-size:14px}.search-input-wrap{padding:11px 13px}.method-list{font-size:13px;line-height:1.95}.danger-zone p{font-size:12px}.toast{left:50%;bottom:17px;font-size:12px;text-align:center}footer{padding:20px 19px;font-size:9px;gap:15px}footer>span{display:none}footer button{font-size:10px}}
@media(max-width:470px){.hero h1{font-size:42px;letter-spacing:-1.6px}.hero{padding:28px 23px}.hero p{font-size:13px}.hero .button-row{display:block}.hero .hero-link{display:inline-block;margin-top:18px}.hero .eyebrow{font-size:7px;letter-spacing:1px}.stats-row>div{padding-left:7px;gap:7px}.stats-row b{font-size:23px}.stats-row b small{font-size:10px}.stats-row span{font-size:9px}.stats-row svg{width:17px}.right-rail{grid-template-columns:1fr}.quiet-note{grid-column:auto}.review-promo,.warm-card{padding:25px}.review-promo h2{font-size:34px}.review-promo .button{font-size:12px}.review-promo>p{font-size:13px}.warm-card h3{font-size:28px}.warm-card p{font-size:13px}.warm-card .text-link{font-size:12px}.principle-grid{grid-template-columns:1fr;gap:18px}.principle-grid>div{display:grid;grid-template-columns:45px 1fr;column-gap:12px;border-bottom:1px solid var(--line,#e0e9d5);padding-bottom:16px}.principle-grid>div:last-child{border:0}.principle-grid b{grid-row:1/3;font-size:30px}.principle-grid span{font-size:12px}.principle-grid p{margin-top:5px;font-size:11px}.route-intro{grid-template-columns:1fr;gap:17px}.route-intro>div{border:0!important;padding-left:8px}.route-intro span{font-size:11px}.route-intro b{font-size:13px}.module-facts{display:block}.module-facts>div{font-size:12px}.module-facts>div:nth-last-child(2){border-bottom:1px solid var(--line)}.learning-steps{flex-wrap:wrap;gap:8px 15px}.learning-steps>span{font-size:10px}.lesson-meta{font-size:10px}.toolbar{display:block}.toolbar>label{max-width:none!important;margin-bottom:16px}.toolbar>span{display:block;font-size:12px}.form-grid{grid-template-columns:1fr;gap:0}.form-footer .button{font-size:11px}.page-heading h1{font-size:31px}.task-row>.task-estimate{display:none}.lesson-heading h1{font-size:30px}.prose h2{font-size:24px}.prose p{font-size:16px}.flashcard h2{font-size:23px}.session-header{align-items:flex-start;gap:10px}.session-header>span{text-align:right;max-width:150px}.coverage-list summary small{width:100%;margin-left:28px}.coverage-list summary{gap:10px}.archive-sprint>div{flex-basis:100%}.archive-sprint>strong{font-size:24px}.source-grid a{overflow-wrap:anywhere}.panel{padding:22px 18px}.sprint-metrics{gap:18px 10px}.sprint-metrics b{font-size:22px}.sprint-metrics span{font-size:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
@media print{.sidebar,.topbar,.lesson-toc,footer,.lesson-end,.notes-section,.back-link,.icon-btn,.lesson-assessment,.recall-section,.toast,.learning-steps,.next-lesson{display:none!important}.workspace{margin:0}main{padding:0}body,main{background:var(--paper,#fff)}.lesson-layout{display:block;max-width:none}.prose p{font-size:12pt;color:var(--ink,#222)}.prose h2{font-size:18pt}.code-block{background:#f4f4f4;border-color:#ddd;break-inside:avoid}.code-block code{color:#222}.code-block button{display:none}.callout,.related{break-inside:avoid}.lesson-heading h1{font-size:28pt}.lesson-sources a{font-size:10pt}}
/* Native file inputs stay accessible without covering neighbouring controls. */
.file-label{position:relative;overflow:hidden}
.file-label input[type=file]{position:absolute;left:0;top:0;width:1px!important;height:1px!important;padding:0!important;margin:0!important;border:0;clip-path:inset(50%);opacity:0}

/* Local profile selection */
button.profile{width:calc(100% + 40px);background:transparent;color:inherit;border:0;border-top:1px solid #324333;text-align:left;cursor:pointer;font-family:inherit}
button.profile>svg{margin-left:auto;flex-shrink:0}
button.profile:hover{background:#293a30}
.profile-switch{display:flex;align-items:center;gap:8px;border:1px solid var(--border,var(--line,#dce1d6));background:var(--paper,#fff);border-radius:24px;padding:5px 9px 5px 5px;cursor:pointer;color:var(--ink,#243c2d);font:inherit;font-size:13px}
.profile-switch .avatar{width:27px;height:27px;background:#d5efb2;color:#243c2d}
.profile-switch:hover{border-color:var(--strong-line,#719252)}
.profile-gate .sidebar,.profile-gate .topbar,.profile-gate footer{display:none}
.profile-gate .workspace{margin-left:0}
.profile-gate #main{min-height:100vh;display:grid;place-items:center;padding:28px}
.profile-welcome{width:min(100%,640px);padding:42px;background:var(--paper,#fff);border:1px solid var(--line,#e0e5da);border-radius:24px;box-shadow:0 20px 80px #203c2810}
.welcome-brand{display:flex;align-items:center;gap:5px;font-size:25px;color:var(--ink,#243c2d);margin-bottom:46px;text-decoration:none}
.welcome-brand svg{margin-right:7px}
.profile-welcome h1,.profile-picker h1{font-size:clamp(28px,4vw,38px);letter-spacing:-1px;margin:12px 0 14px;line-height:1.2}
.profile-welcome>p,.profile-picker>p{color:var(--muted,#64725f);line-height:1.7}
.profile-choices{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:28px 0}
.profile-choice{display:flex;flex-direction:column;align-items:flex-start;padding:25px;border:1px solid var(--line,#dce3d4);border-radius:16px;background:var(--surface-soft,#fafcf7);cursor:pointer;text-align:left;font:inherit;color:var(--ink,#203a28);transition:background .15s,border-color .15s}
.profile-choice:hover,.profile-choice.selected{background:var(--surface-accent,#edf6e4);border-color:var(--strong-line,#87a36a)}
.profile-portrait{display:grid;place-items:center;width:62px;height:62px;border-radius:20px;background:var(--surface-accent,#d7ecbc);font-size:28px;font-weight:700;margin-bottom:20px}
.profile-portrait.haki{background:var(--warm,#f0e5cd);color:var(--warning-ink,#655339)}
.profile-choice strong{font-size:25px;margin-bottom:10px}
.profile-choice>span:last-child{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--muted,#63715d)}
.profile-help{font-size:12px!important;line-height:1.7!important;color:var(--muted,#6d7868)!important}
.profile-picker{padding:12px 5px}
@media(max-width:720px){.header-actions{gap:9px}.profile-switch{gap:5px}.profile-switch>svg{display:none}.profile-welcome{padding:28px 22px}.profile-gate #main{padding:18px}.profile-choice{padding:20px 15px}.profile-choices{gap:10px}.welcome-brand{margin-bottom:32px}.profile-choice>span:last-child{font-size:10px}}


/* Home-server persistence status does not replace an active editor. */
#sync-notice:not(:empty){padding:14px 40px 0}#sync-notice .notice{margin:0;flex-wrap:wrap}#sync-notice .notice p{flex:1;min-width:180px}@media(max-width:720px){#sync-notice:not(:empty){padding:12px 18px 0}}
/* Small, optional steps keep the existing reading layout usable on phones. */
.start-choice{margin:24px 0;display:flex;align-items:center;justify-content:space-between;gap:24px}.start-choice p{max-width:620px}.learning-entry{margin:24px 0}.learning-entry li,.answer-guide li{margin:10px 0;line-height:1.65}.term-guide{margin:20px 0}.term-guide summary,.deeper-section summary,.guided-exercise summary,.answer-guide summary{cursor:pointer;font-weight:650;line-height:1.55;padding:12px 0}.term-guide dl{margin:12px 0}.term-guide dt{font-weight:700;margin-top:16px}.term-guide dd{margin:5px 0 0;line-height:1.65;color:var(--muted,var(--muted,#7d8c9e))}.deeper-section{border-top:1px solid var(--border,var(--line,#dbe2e8));margin:18px 0}.deeper-section .prose{padding:8px 0}.guided-exercise{margin:28px 0}.guided-exercise details{border-top:1px solid var(--border,var(--line,#dbe2e8))}.guided-exercise p,.learning-entry p{line-height:1.75}.guided-exercise pre,.expected-output pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.7}.guided-exercise pre{padding:16px;background:var(--surface-soft,#f3f5f7);border-radius:10px;color:var(--ink,#213547)}.expected-output{padding:18px 22px;border-left:3px solid var(--strong-line,#429c76);background:var(--surface-soft,#f1f8f3);margin:0 0 24px;border-radius:0 10px 10px 0}.expected-output pre{margin:10px 0;color:var(--ink,#213547)}.answer-guide{margin:16px 0}.start-choice .button-row{flex-shrink:0;flex-wrap:wrap}.deeper-section[open]>summary{color:var(--accent,var(--accent,#398568))}
@media(max-width:900px){.start-choice{align-items:flex-start;flex-direction:column}.start-choice .button-row{width:100%}.start-choice .button{white-space:normal}.guided-exercise pre{font-size:12px}}
/* Learning ranks: original medals, saved-progress comparison, no runtime assets. */
.sidebar{overflow-y:auto}
.rank-medal{object-fit:contain;flex-shrink:0;display:block;filter:drop-shadow(0 6px 12px #0002)}
.side-rank{display:flex;align-items:center;gap:10px;text-decoration:none;color:#edf4db;padding:12px 0 18px;border-bottom:1px solid #40513e;margin-bottom:18px}.side-rank>span{display:flex;flex-direction:column;gap:3px}.side-rank small{font-size:8px;letter-spacing:1px;color:#b7c4ab}.side-rank b{font-size:14px}.side-rank>strong{margin-left:auto;font-size:12px;text-align:right;white-space:nowrap}.side-rank>strong small{display:block;margin-top:3px}.side-rank .rank-stars{font-size:10px;gap:1px}
.rank-stars{display:inline-flex;gap:4px;color:#69705c;font-size:15px;line-height:1.3;white-space:nowrap}.rank-stars .filled{color:#e7bc5c;text-shadow:0 1px 3px #0004}
.rank-hero{position:relative;display:flex;align-items:center;gap:36px;padding:34px 42px;background:radial-gradient(ellipse at 15% 20%,#466251 0,transparent 58%),#192f29;color:#fff;border:1px solid #435b47;border-radius:20px;margin:24px 0 32px;overflow:hidden}.rank-emblem{flex-shrink:0;display:flex;align-items:center;flex-direction:column;gap:8px}.rank-hero-body{min-width:0;flex:1}.rank-hero .kicker{color:#c5d4b6;font-size:10px}.rank-heading{display:flex;align-items:baseline;gap:20px;justify-content:space-between;margin:7px 0}.rank-heading h2{font-size:40px;letter-spacing:-1px;margin:0;line-height:1.2;color:#fff}.rank-heading>b{font-size:25px;white-space:nowrap;font-variant-numeric:tabular-nums}.rank-heading>b small{font-size:12px;color:#d2dfc8}.rank-hero-body>p{color:#e0e7d7;font-size:14px;line-height:1.7;margin:12px 0 20px}.rank-track{height:9px;background:#ffffff24;border-radius:20px;overflow:hidden;min-width:70px}.rank-track>i{display:block;height:100%;border-radius:inherit;transition:width .55s ease;min-width:0}.rank-caption{display:flex;justify-content:space-between;font-size:10px;color:#c7d2c1;margin-top:8px}.rank-evidence{display:flex;gap:20px;flex-wrap:wrap;margin-top:24px;font-size:11px;color:#c4d3bc}.rank-evidence b{color:#fff;font-size:15px;margin-right:4px}.rank-hero.compact{gap:26px;padding:24px 30px}.rank-hero.compact .rank-heading h2{font-size:30px}.rank-hero .text-link{color:#d9f4a6;display:inline-block;margin-top:18px;font-size:12px}.rank-hero.compact .rank-hero-body>p{margin:8px 0 13px}
.rank-ladder{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:22px 0 32px}.rank-tier{display:flex;align-items:center;text-align:center;flex-direction:column;border:1px solid var(--line,#e0e5da);background:var(--paper,#fff);border-radius:16px;padding:19px 10px;gap:8px}.rank-tier.current{border:2px solid var(--strong-line,#6b9255);background:var(--surface-soft,#f0f7e9);box-shadow:0 6px 22px #66884d1c}.rank-tier>span{font-size:12px;color:var(--muted,#626f5a)}.rank-tier>small{font-size:10px;color:var(--muted,#65795c)}.rank-tier.locked .rank-medal{filter:grayscale(.65);opacity:.65}.rank-tier.locked>small{color:var(--muted,#74816c)}
.ranks-board{margin:30px 0}.leaderboard{width:100%;border-collapse:collapse;min-width:590px;font-size:14px}.leaderboard th{text-align:left;font-size:11px;font-weight:600;color:var(--muted,#62735c);border-bottom:1px solid var(--line,#dfe7d7);padding:14px 13px}.leaderboard td{padding:18px 13px;border-bottom:1px solid var(--line,#e3e9dd)}.leaderboard td>small{font-size:11px;color:var(--muted,#6b7b63)}.rank-place{font-size:22px;font-weight:700;width:50px}.leader-person{display:flex;gap:13px;align-items:center}.leader-person>span{display:flex;flex-direction:column;gap:4px}.leader-person b{font-size:16px}.leader-person b>small{font-size:9px;font-weight:500;border-radius:12px;background:var(--surface-accent,#dfeecf);color:var(--accent,#3d6230);padding:3px 6px}.leader-person>span>span:not(.rank-stars){font-size:11px;color:var(--muted,#607456)}.leader-person .rank-stars{font-size:10px;gap:1px}.leaderboard .rank-track{height:5px;background:#e6eddf;margin-top:10px;max-width:145px}.leaderboard .leader-you td{background:var(--surface-soft,#f5f9ef)}.leaderboard .leader-you td:first-child{border-radius:12px 0 0 12px}.leaderboard .leader-you td:last-child{border-radius:0 12px 12px 0}.ranks-board>.small{margin-top:15px}.xp-rules{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:24px 0}.xp-rules b{font-size:23px;color:var(--accent,#4f773e)}.xp-rules h3{font-size:15px;margin:12px 0}.xp-rules p,.rank-rules details p{font-size:13px;line-height:1.8;color:var(--muted,#5e7057)}.rank-rules summary{cursor:pointer;padding:15px 0;font-weight:600}.rank-rules details{border-top:1px solid var(--line,#e0e7d8);margin-top:20px}
@media(max-width:900px){.rank-hero{gap:22px;padding:28px}.rank-heading h2{font-size:34px}.rank-heading>b{font-size:20px}.rank-evidence{gap:12px}.rank-ladder{gap:10px}.xp-rules{gap:16px}.xp-rules b{font-size:20px}}
@media(max-width:600px){.rank-hero,.rank-hero.compact{gap:14px;padding:23px 18px;align-items:flex-start}.rank-emblem .rank-medal{width:82px;height:90px}.rank-emblem .rank-stars{font-size:11px;gap:1px}.rank-heading{align-items:flex-start;flex-direction:column;gap:8px}.rank-heading h2,.rank-hero.compact .rank-heading h2{font-size:27px}.rank-heading>b{font-size:21px}.rank-hero .kicker{font-size:8px}.rank-hero-body>p{font-size:11px;margin:11px 0 14px}.rank-caption{font-size:9px}.rank-evidence{flex-direction:column;gap:7px;margin-top:18px}.rank-ladder{grid-template-columns:repeat(2,minmax(0,1fr))}.rank-tier{padding:17px 8px}.xp-rules{grid-template-columns:1fr;gap:18px}.xp-rules>div+div{padding-top:18px;border-top:1px solid var(--line,#e1e8d9)}.xp-rules h3{margin:8px 0}.ranks-board .section-head{align-items:flex-start;gap:12px;flex-wrap:wrap}.ranks-board .button{font-size:11px;padding:10px 13px}.rank-hero .text-link{font-size:11px}}
@media(prefers-reduced-motion:reduce){.rank-track>i{transition:none}}
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}

.leader-mini-evidence{display:none}
@media(max-width:600px){.leaderboard{min-width:0;table-layout:auto;font-size:12px}.leaderboard th,.leaderboard td{padding:13px 5px}.leaderboard th{font-size:9px}.leaderboard th:nth-child(4),.leaderboard th:nth-child(5),.leaderboard td:nth-child(4),.leaderboard td:nth-child(5){display:none}.leaderboard .rank-place{width:25px;font-size:17px}.leader-person{gap:6px}.leader-person>.rank-medal{width:34px;height:38px}.leader-person b{font-size:13px}.leader-person b>small{font-size:8px;padding:2px 4px}.leader-person .rank-stars{font-size:9px}.leader-mini-evidence{display:block;font-size:9px;line-height:1.6;color:var(--muted,#607456)}.leaderboard td:nth-child(3)>b{font-size:12px;white-space:nowrap}.leaderboard .rank-track{min-width:55px;max-width:85px}.rank-ladder .rank-tier b{font-size:14px}}

/* Dark palette shares layout and semantic colours with the original light theme. */
:root{color-scheme:light}
:root[data-theme="dark"]{color-scheme:dark;--canvas:#131e19;--paper:#1b2923;--ink:#e4ecdf;--muted:#b0c0ad;--line:#354b3c;--green:#b9d995;--warm:#332e24;--surface-soft:#22342a;--surface-accent:#2c412d;--accent:#b9d995;--warning-ink:#e0bd83;--warm-line:#665339;--strong-line:#718d61;--border:#354b3c}
:root[data-theme="dark"] .bar{background:#354b3c}
:root[data-theme="dark"] .leaderboard .rank-track{background:#354b3c}
:root[data-theme="dark"] .term-guide dd{color:var(--muted)}
:root[data-theme="dark"] .guided-exercise pre,:root[data-theme="dark"] .expected-output pre{color:var(--ink)}
.theme-toggle{font-size:21px;line-height:1}
.theme-sun{display:none}
[data-theme="dark"] .theme-sun{display:inline}
[data-theme="dark"] .theme-moon{display:none}
.theme-options{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0 26px}
.theme-options [aria-pressed="true"]{background:var(--surface-accent,#eaf2df);border-color:var(--strong-line,#6d8a50);color:var(--ink)}
.appearance-settings p,.password-settings p{font-size:12px;color:var(--muted);line-height:1.8}
.password-settings{border-top:1px solid var(--line);margin-top:26px;padding-top:2px}
.password-settings .form-grid{gap:16px}
.password-settings form{margin-top:20px}
.password-settings .form-error{color:var(--warning-ink,#98522f)}
.password-settings .form-success{color:var(--accent,#476d32)}
.password-settings #password-result:empty{display:none}
.welcome-theme{display:flex;justify-content:flex-end;margin-bottom:12px}
@media(max-width:720px){.header-actions{gap:7px}.breadcrumbs{min-width:0}.breadcrumbs>b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.header-actions .profile-switch{font-size:11px}.password-settings .form-grid{grid-template-columns:1fr;gap:0}}
@media print{.theme-toggle{display:none}}

:root[data-theme="dark"] .topbar{background:var(--paper)}
:root[data-theme="dark"] .hero-slash{color:#374f35}
