/* Java-мастерская — a quiet working space, carried over from the landing page. */
:root{--paper:#f7f8f4;--white:#fff;--ink:#232720;--muted:#4f5c48;--line:#dfe5d7;--lime:#c2f34e;--lime-soft:#edf7d9;--dark:#242a20;--orange:#ac571c;--mono:'IBM Plex Mono',Consolas,monospace;--font:'Golos Text',Arial,sans-serif;--radius:12px;color:var(--ink);font-family:var(--font);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;font-size:16px;line-height:1.65}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.12;letter-spacing:-.045em;font-weight:500}h1{font-size:clamp(36px,4vw,60px)}h2{font-size:29px}h3{font-size:21px}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,summary{-webkit-tap-highlight-color:transparent}button,summary{cursor:pointer}button{color:inherit}img{max-width:100%;height:auto}code,pre{font-family:var(--mono)}::selection{background:var(--lime);color:var(--ink)}:focus-visible{outline:3px solid #5f8421;outline-offset:4px}button:disabled{cursor:default;opacity:.65}input,select,textarea{min-width:0;max-width:100%}textarea{resize:vertical}.sr-only,.skip-link:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link:focus{position:fixed;top:10px;left:10px;padding:12px;background:var(--lime);z-index:100}small{font-size:12px}strong{font-weight:600}.eyebrow,.meta,.breadcrumb,.sidebar-label{font-family:var(--mono);font-size:12px;letter-spacing:.02em;font-weight:400;line-height:1.65}.eyebrow{display:block;margin-bottom:16px;color:var(--muted)}.meta{color:var(--muted)}.lead{font-size:17px;line-height:1.75;color:var(--muted)}.help{font-size:13px;line-height:1.7;color:#67725b}.block{display:block;margin-top:22px}.spaced{margin-top:30px}.narrow{max-width:640px}.text-link,.back-link{font-size:14px;color:#4e681f}.text-link:hover,.back-link:hover{color:#263e08;text-decoration:underline}.back-link{display:inline-block;margin-bottom:25px}.button{min-height:46px;padding:12px 18px;border:1px solid transparent;border-radius:7px;font-size:14px;font-weight:500;display:inline-flex;align-items:center;justify-content:center;gap:25px;line-height:1.5;transition:background .15s,transform .15s;white-space:normal}.button:hover{transform:translateY(-1px)}.button.dark{background:var(--ink);color:#fff}.button.dark:hover{background:#3d4b30}.button.outline{background:transparent;border-color:#cdd7c0;color:#3d4b32}.button.outline:hover{background:#edf2e5}.button.lime{background:var(--lime);color:var(--ink)}.button.full{width:100%}.text-button{padding:8px 0;border:0;background:none;text-decoration:underline;font-size:14px;color:#5b6c44}.text-button.danger{color:#984020}.pill{display:inline-flex;align-items:center;padding:5px 10px;border:1px solid #d8dfcf;border-radius:5px;background:#f4f6ef;font-size:12px;line-height:1.5;color:#52613e}.pill.green{background:#ebf8d6;border-color:#d1e7b0;color:#415e18}.pill.amber{background:#fbefdf;border-color:#ecd5b8;color:#84501b}.wordmark{display:flex;align-items:center;gap:8px;font-weight:600;font-size:14px;letter-spacing:-.045em;white-space:nowrap}.wordmark b{font-size:28px;line-height:1;font-weight:600;letter-spacing:-.065em}.wordmark b span{font-size:33px;margin-left:5px;color:#739a27;font-weight:400}.avatar{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;width:41px;height:41px;border-radius:50%;background:#e6eddc;font-size:17px;color:#455b2c;font-weight:500}.avatar.small{width:31px;height:31px;font-size:13px}.panel{padding:29px;background:var(--white);border:1px solid var(--line);border-radius:var(--radius)}.panel>p{color:var(--muted);margin-top:15px}.panel>h2,.panel>h3{margin-bottom:20px}.panel>h2+p{margin-top:-5px}.panel>p+.button{margin-top:24px}.notice{padding:15px 19px;background:#edf7df;border:1px solid #c6d9ab;border-radius:7px;color:#405b22;font-size:14px}.messages{display:grid;gap:10px;margin-bottom:24px}.notice.error,.form-errors{background:#fff2eb;border-color:#e7c4b0;color:#803b20}.form-errors{padding:14px;border:1px solid #e7c4b0;border-radius:7px;margin-bottom:20px;font-size:14px}.form-errors ul,.field-errors ul{margin:0;padding-left:17px}.field-errors{font-size:13px;color:#923b20;margin-top:6px}
.shell{display:grid;grid-template-columns:238px minmax(0,1fr);min-height:100vh}.sidebar{background:#f1f4eb;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:37px 20px 22px;position:fixed;left:0;top:0;bottom:0;width:238px;z-index:20;overflow-y:auto}.sidebar .wordmark{padding-left:7px}.sidebar-label{font-size:9px;letter-spacing:.045em;margin:45px 0 17px;padding-left:12px;color:#7d886f}.sidebar nav{display:flex;flex-direction:column;gap:5px}.sidebar nav>a{display:flex;align-items:center;gap:12px;font-size:13px;padding:12px 11px;border-radius:6px;line-height:1.4;color:#5d6951}.sidebar nav>a>span{width:20px;font-family:var(--mono);font-size:17px;line-height:1;letter-spacing:-.1em;white-space:nowrap;text-align:center}.sidebar nav>a:hover{background:#e8eedf;color:#283820}.sidebar nav>a[aria-current=page]{background:var(--lime);color:#263518;font-weight:500}.nav-divider{margin:18px 5px 12px;border-top:1px solid #dce4d2}.sidebar-bottom{margin-top:auto;padding-top:38px}.profile-link{display:flex;gap:11px;align-items:center;padding:12px 6px;border-top:1px solid #dce4d2}.profile-link>span:last-child{min-width:0}.profile-link strong{font-size:13px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:142px}.profile-link small{font-size:11px;color:#738161}.logout{display:flex;justify-content:space-between;gap:8px;align-items:center;width:100%;background:transparent;border:0;font-size:12px;color:#6c7a5c;padding:11px 7px}.workspace{grid-column:2;min-width:0;display:flex;flex-direction:column}.workspace-header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 45px;border-bottom:1px solid var(--line);min-height:85px}.breadcrumb{font-size:10px;color:#7a866d}.header-profile{display:flex;gap:12px;align-items:center;font-size:12px;color:#626f56}.mobile-toggle{display:none}.workspace-main{width:100%;max-width:1550px;margin-inline:auto;padding:48px 45px 75px;flex:1}.workspace-footer{padding:23px 45px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;color:#758268;font-size:11px}.page-heading{margin-bottom:34px}.page-heading .eyebrow{margin-bottom:15px}.page-heading>p:not(.eyebrow),.page-heading>div>p:not(.eyebrow){color:var(--muted);font-size:16px;max-width:780px;margin-top:19px;line-height:1.75}.page-heading.split{display:flex;align-items:flex-end;justify-content:space-between;gap:25px}.page-heading.split>.pill{flex-shrink:0;margin-bottom:5px}.section-title{display:flex;align-items:flex-end;justify-content:space-between;gap:25px;margin:43px 0 22px}.section-title .eyebrow{margin-bottom:10px}.section-title h2{font-size:30px}.section-title .text-link{flex-shrink:0}.two-columns{display:grid;grid-template-columns:1fr 1fr;gap:25px;align-items:start}.stack-form{margin-top:24px}.field{margin-bottom:21px}.field>label,.copy-label{display:block;font-size:14px;font-weight:500;line-height:1.5;margin-bottom:8px}.field input:not([type=checkbox]),.field select,.field textarea,.search-form input,.inline-form select,textarea[data-copy-source]{display:block;width:100%;padding:12px 14px;border:1px solid #cdd5c4;border-radius:6px;background:#fff;color:var(--ink);font-size:15px;line-height:1.65}.field textarea{font-family:var(--mono);font-size:13px}.field select{min-height:49px}.field .help{margin-top:7px}.field input[aria-invalid=true],.field textarea[aria-invalid=true]{border-color:#b76841}.checkbox-field{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:start;gap:0 10px}.checkbox-field input{margin:5px 0 0;width:17px;height:17px;accent-color:#617f2d}.checkbox-field .help{grid-column:2}.checkbox-field label{margin:0;font-weight:400}.stack-form>.button{margin-top:2px}.copy-label{margin-top:24px}textarea[data-copy-source]{font-family:var(--mono);font-size:13px;white-space:pre-wrap;margin-bottom:17px;background:#f9fbf5}.copy-status{min-height:22px;margin-block:10px}.inline-form{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.inline-form label{font-size:14px}.inline-form select{width:auto;flex:1;min-width:200px}.inline-form .button{min-height:49px}.search-form{display:flex;gap:12px;margin-bottom:27px}.search-form input{flex:1}
.dashboard-top{display:grid;grid-template-columns:1.6fr 1fr;gap:24px}.next-step{padding:29px 34px;background:var(--lime);border:1px solid #b8e750;border-radius:var(--radius);display:flex;flex-direction:column;align-items:flex-start;min-height:349px}.next-heading{display:flex;justify-content:space-between;gap:20px;width:100%;align-items:center}.next-heading .eyebrow{color:#4d6527;font-size:10px;margin:0}.next-symbol{font-size:35px;line-height:1}.next-module{font-family:var(--mono);font-size:11px;line-height:1.6;color:#54702b;margin-top:22px}.next-step h2{font-size:clamp(27px,2.9vw,42px);max-width:540px;margin-top:14px;line-height:1.13}.next-step p{font-size:15px;line-height:1.7;color:#4b612c;max-width:490px;margin:15px 0 23px}.next-step .button{margin-top:auto}.progress-panel{padding:29px;border:1px solid var(--line);background:#fff;border-radius:var(--radius)}.progress-panel .eyebrow{font-size:10px;margin-bottom:12px}.big-number{font-size:79px;line-height:1;letter-spacing:-.075em;font-weight:500;margin-bottom:24px}.big-number span{font-size:32px;color:#8d987f;margin-left:3px}.progress-panel p{font-size:14px;line-height:1.7;margin-top:17px;color:#6f7b60}.progress-panel p strong{color:#3f4d32}.progress-panel p small{font-size:12px}.points-line{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-top:22px;margin-top:21px;border-top:1px solid var(--line);font-size:23px;line-height:1}.points-line small{display:block;font-size:11px;color:#7a8868;margin-top:8px}.points-line>span:last-child{font-size:39px;color:#87a554}progress{height:8px;width:100%;border:0;border-radius:10px;appearance:none;display:block;background:#eaf0e2;overflow:hidden}progress::-webkit-progress-bar{background:#eaf0e2;border-radius:10px}progress::-webkit-progress-value{background:#94c13d;border-radius:10px}progress::-moz-progress-bar{background:#94c13d;border-radius:10px}.rhythm-row{display:grid;grid-template-columns:1.35fr 1fr;gap:25px;margin-top:25px}.rhythm{display:grid;grid-template-columns:auto 1fr;gap:15px 20px;padding:24px 27px;border:1px solid var(--line);border-radius:var(--radius);background:#fff}.rhythm .eyebrow{font-size:10px;margin-bottom:11px}.rhythm h3{font-size:24px;white-space:nowrap}.rhythm h3>span:not(.flame){font-size:12px;font-weight:400;letter-spacing:0;color:#6d7b5e}.flame{color:var(--orange);font-size:26px}.week-days{display:flex;gap:8px;justify-content:flex-end;align-items:center}.day{text-align:center;color:#839174;font-size:10px}.day>span{display:block}.day i{display:flex;align-items:center;justify-content:center;width:25px;height:25px;margin-top:6px;background:#f0f3ec;border-radius:50%;font-style:normal;font-size:14px;color:#8b987f}.day.active i{background:#f8e6cf;color:#aa591c}.rhythm>.help{grid-column:1/-1;font-size:11px;line-height:1.6}.achievement{display:flex;gap:20px;align-items:center;padding:25px;background:#eef2e8;border:1px solid #e0e6d8;border-radius:var(--radius)}.achievement .eyebrow{font-size:9px;margin-bottom:8px}.achievement h3{font-size:20px}.achievement p{font-size:12px;color:#758466;margin-top:9px;line-height:1.7}.achievement .pill{margin-top:12px}.achievement-mark{font-family:var(--mono);font-size:37px;white-space:nowrap;letter-spacing:-.12em;color:#9aaa88}.achievement.earned{background:#edf8dc;border-color:#d8e9c2}.achievement.earned .achievement-mark{color:#60872b}.module-list{border-top:1px solid var(--line)}.module-row,.lesson-row{display:flex;align-items:center;gap:22px;padding:25px 0;border-bottom:1px solid var(--line)}.row-number{font-family:var(--mono);font-size:13px;color:#7a8b68;flex-shrink:0}.module-row>div:first-of-type,.lesson-row>div{min-width:0;flex:1}.module-row h3,.lesson-row h3{font-size:20px;line-height:1.35}.module-row h2{font-size:25px;line-height:1.3}.module-row h3 a:hover,.module-row h2 a:hover,.lesson-row h3 a:hover{color:#618527}.module-row p,.lesson-row p{font-size:13px;line-height:1.65;color:#748264;margin-top:7px}.module-row .meta{display:block;margin-top:9px;font-size:11px}.row-end{display:flex;align-items:center;gap:20px;margin-left:auto;flex-shrink:0}.lock-label{font-size:12px;color:#879379}.module-row.locked h3,.module-row.locked h2{color:#7d886f}.circle-link{display:inline-flex;width:36px;height:36px;border:1px solid #ced9c2;border-radius:50%;align-items:center;justify-content:center;color:#5d782f;font-size:20px;flex-shrink:0}.circle-link:hover{background:var(--lime)}.module-row.locked .row-number{color:#9aa68e}
.lesson-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:27px;align-items:start}.lesson-main,.lesson-aside{min-width:0}.lesson-aside{display:grid;gap:22px;position:sticky;top:20px}.lesson-aside .panel{padding:23px}.lesson-aside h3{font-size:22px}.lesson-aside .eyebrow{font-size:10px}.lesson-aside p{font-size:14px}.lesson-tags{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.prose{overflow-wrap:anywhere;color:#45523a;font-size:16px;line-height:1.85}.prose h1{font-size:30px;line-height:1.25}.prose h2{font-size:26px;margin:35px 0 18px}.prose h3{font-size:22px;margin:28px 0 14px}.prose h4{font-size:18px;margin:24px 0 12px}.prose h1:first-child{margin-top:0}.prose p{margin:15px 0;line-height:1.9}.prose ul,.prose ol{padding-left:25px;margin:15px 0}.prose li{padding-left:3px;margin:8px 0}.prose a{color:#527723;text-decoration:underline;text-underline-offset:3px}.prose pre{padding:22px;background:#252d20;color:#e1ecd3;overflow:auto;border:1px solid #36472a;border-radius:8px;font-size:13px;line-height:1.8;margin:23px 0;white-space:pre;overflow-wrap:normal}.prose :not(pre)>code{padding:2px 5px;font-size:.86em;background:#edf3e6;border-radius:3px;color:#536d38;overflow-wrap:anywhere}.prose blockquote{margin:22px 0;border-left:3px solid #b3d56a;padding:8px 19px;background:#f1f7e9}.prose hr{border:0;border-top:1px solid var(--line);margin:30px 0}.prose table{display:block;overflow:auto;max-width:100%;border-collapse:collapse;font-size:13px;line-height:1.7;margin:22px 0}.prose th,.prose td{border:1px solid #dce5d2;padding:10px 12px;text-align:left;min-width:110px}.prose th{background:#edf3e7;font-weight:500}.material-prose{max-width:1100px}.resource-list>a{display:flex;justify-content:space-between;gap:16px;padding:15px 0;border-bottom:1px solid var(--line);font-size:15px;line-height:1.6}.resource-list>a:hover{color:#608229}.resource-list>a:last-child{border:0}.resource-list.compact>a{font-size:13px}.resource-list small{display:block;font-family:var(--mono);font-size:10px;color:#9b6f39;margin-top:6px}.reading-action{display:flex;gap:18px;align-items:center;margin:22px 0}.reading-action>span{font-size:12px;color:#738163;max-width:230px}.practice{margin-top:25px}.practice>summary{list-style:none;display:flex;flex-wrap:wrap;align-items:center;gap:12px;justify-content:space-between}.practice>summary::-webkit-details-marker{display:none}.practice>summary>.eyebrow{width:100%;margin:0}.practice>summary h2{font-size:27px;max-width:85%;margin:0}.practice>summary>span:last-child{color:#819969;font-size:14px}.submission-panel{margin-top:27px}.submission-text{white-space:pre-wrap;overflow-wrap:anywhere;font-family:var(--mono);font-size:14px;line-height:1.85;color:#45543a;margin:23px 0}.submitted-work{background:#f5f8ef;padding:20px;border:1px solid var(--line);border-radius:7px;margin:23px 0}.mentor-feedback{background:#ecf6dc;border-left:3px solid #a8ce60;padding:21px 23px;margin-top:22px;overflow-wrap:anywhere}.mentor-feedback p{font-size:16px;color:#415732;line-height:1.85}.mentor-feedback .eyebrow{font-size:11px}.submitted-work .meta{font-size:11px}.review-layout{display:grid;grid-template-columns:1.15fr 1fr;gap:26px;align-items:start}.revision{padding-block:20px;border-bottom:1px solid var(--line)}.video-panel .pill{margin-top:17px}.video-panel .button{margin-top:19px}
.mentor-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.stat-card{padding:25px 29px;border:1px solid var(--line);background:#fff;border-radius:var(--radius)}.stat-card.emphasized{background:var(--lime);border-color:#b7e64e}.stat-card>span{display:block;font-size:13px;color:#5b6a4b}.stat-card strong{display:block;font-size:62px;letter-spacing:-.065em;line-height:1.1;margin:16px 0 10px;font-weight:500}.stat-card small{font-size:12px;color:#72815f}.review-queue{border-top:1px solid var(--line)}.queue-row{display:flex;align-items:center;gap:19px;padding:23px 0;border-bottom:1px solid var(--line)}.queue-person{width:150px;flex-shrink:0}.queue-person strong{display:block;font-size:14px}.queue-person small{display:block;font-size:11px;color:#768663;margin-top:4px}.queue-task{min-width:0;flex:1}.queue-task .meta{font-size:10px}.queue-task h3{font-size:17px;margin-top:7px;line-height:1.5}.queue-row .button{font-size:12px;flex-shrink:0}.mentor-bottom{display:flex;align-items:center;gap:19px;margin-top:39px}.mentor-bottom>span{font-size:40px;color:#8daf58}.mentor-bottom p{font-size:14px;color:#869673}.mentor-bottom strong{font-weight:400;color:#526a39}.empty-state{text-align:center;padding:48px 25px}.empty-state h3{font-size:26px}.empty-state p{font-size:15px;color:#758668;max-width:500px;margin:16px auto 22px;line-height:1.8}.empty-symbol{display:block;font-family:var(--mono);font-size:46px;letter-spacing:-.13em;color:#9dbb78;margin-bottom:23px}.student-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.student-card-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:23px}.student-card-head .pill{font-size:10px}.student-card h2{font-size:25px}.student-card>p{font-size:14px;min-height:69px;margin-top:15px}.student-progress{display:flex;justify-content:space-between;gap:12px;align-items:baseline;margin:24px 0 15px}.student-progress strong{font-size:26px;font-weight:500;letter-spacing:-.05em}.student-progress>span{font-size:12px;color:#7d8c6c}.student-card>.text-link{font-size:13px}.compact-progress{flex-shrink:0;text-align:right}.compact-progress strong{display:block;font-size:60px;line-height:1;letter-spacing:-.06em;font-weight:500}.compact-progress span{font-size:12px;color:#7b8c68}.grant{display:flex;align-items:center;gap:15px;justify-content:space-between;padding:18px 0;border-bottom:1px solid var(--line)}.grant strong{font-size:14px;line-height:1.5;display:block}.grant .meta{font-size:11px;display:block;margin-top:6px}.grant-list>p{font-size:15px;color:#6e7f5d}.route-list{max-height:610px;overflow:auto}.route-list>div{padding:17px 0;border-bottom:1px solid var(--line)}.route-list strong{display:block;font-size:14px;line-height:1.5;margin-bottom:9px}.route-list p{font-size:13px;color:#728362;margin-top:10px}.route-list>.pill{font-size:11px}.library-list>a{display:flex;align-items:center;gap:17px;padding:19px 0;border-bottom:1px solid var(--line);font-size:14px}.library-list>a>div{flex:1;min-width:0}.library-list strong{font-weight:500}.library-list small{display:block;margin-top:7px;color:#839271;font-size:11px;overflow-wrap:anywhere}.library-list>a:hover strong{color:#648735}.library-list .pill{flex-shrink:0;font-size:11px}.pagination{display:flex;justify-content:center;align-items:center;gap:24px;margin-top:30px;font-size:13px;color:#71825f}.account-row{display:flex;align-items:center;gap:20px;padding:19px 0;border-bottom:1px solid var(--line)}.account-row>div{flex:1;min-width:0}.account-row strong{font-size:14px;display:block}.account-row small{display:block;margin-top:3px;color:#7c8a6b;overflow-wrap:anywhere}.account-row .meta{font-size:11px}.account-row .text-link{font-size:13px}.audit-table{overflow:auto;border:1px solid var(--line);border-radius:10px;background:#fff}.audit-table table{border-collapse:collapse;width:100%;font-size:13px}.audit-table th,.audit-table td{text-align:left;padding:14px 17px;border-bottom:1px solid var(--line);max-width:240px;overflow-wrap:anywhere;vertical-align:top}.audit-table th{background:#eef3e7;color:#667c4d;font-weight:500}.audit-table code{font-size:11px}
.leaderboard-layout{display:grid;grid-template-columns:1.55fr 1fr;gap:26px;align-items:start}.week-mark{color:#99bd62;font-size:85px;line-height:1;margin-right:20px}.ranking-title{padding:25px 0;border-bottom:1px solid var(--line);margin-top:6px}.ranking-title h2{font-size:25px;margin-bottom:10px}.ranking-title .meta{font-size:10px}.rank-row{display:flex;gap:20px;align-items:center;padding:18px 10px;border-bottom:1px solid var(--line)}.rank-row.is-me{background:#eff9df;margin-inline:-10px;padding-inline:20px}.rank{font-family:var(--mono);font-size:13px;color:#81956c}.rank-name{flex:1;font-size:15px;font-weight:500;min-width:0;overflow-wrap:anywhere}.rank-name small{display:block;font-size:10px;color:#728b51;font-weight:400}.rank-row>span:not(.rank):not(.rank-name){font-size:15px}.rank-row small{font-size:10px;color:#80906e}.rank-row strong{font-size:22px;font-weight:500}.rank-row strong small{display:block;line-height:1}.dark-panel{background:var(--dark);border-color:#34432a;color:#f2f7ec;padding:34px}.dark-panel .eyebrow{font-size:10px;color:#a8bc8f}.dark-panel h2{font-size:38px;line-height:1.12;color:var(--lime)}.dark-panel>p{font-size:14px;color:#b7c5a6;line-height:1.9}.dark-panel .button{margin-top:26px}
.auth-page{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:#fbfcf8}.auth-story{background:var(--dark);color:#f5f8ef;min-height:100vh;padding:43px 60px;display:flex;flex-direction:column;justify-content:space-between;gap:50px}.auth-story .wordmark{font-size:17px}.auth-story .wordmark b{font-size:33px}.auth-story .wordmark span{color:var(--lime)}.auth-story .eyebrow{color:#a7bd8c;font-size:11px;margin-bottom:25px}.auth-story h1{font-size:clamp(46px,5vw,78px);line-height:1.04;letter-spacing:-.06em}.auth-story h1 em{font-style:normal;color:var(--lime)}.auth-story h1+p{font-size:17px;color:#b6c4a6;margin-top:28px;line-height:1.8}.auth-bottom{font-family:var(--mono);font-size:11px;color:#90a578;letter-spacing:.04em}.auth-main{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:90px 45px 60px;position:relative}.auth-back{position:absolute;left:45px;top:35px;font-size:13px;color:#79896a}.auth-card{width:100%;max-width:430px}.auth-card h2{font-size:43px;line-height:1.1;letter-spacing:-.055em}.auth-card>.eyebrow{font-size:11px;margin-bottom:19px}.auth-card .lead{font-size:15px;margin-top:23px;line-height:1.8}.auth-card .stack-form{margin-top:31px}.auth-other{font-size:13px;line-height:1.8;color:#7d8b6c;margin-top:25px}.auth-other a{color:#506e2d;border-bottom:1px solid #adc48d}.auth-card>.help{margin-top:22px}.auth-foot{font-size:11px;color:#859574;margin-top:40px}.qr-panel{text-align:center;padding:22px;border:1px solid var(--line);background:#fff;border-radius:10px;margin-top:23px}.qr-panel img{display:block;margin:0 auto 15px;image-rendering:pixelated}.qr-panel summary{font-size:13px;color:#627e44}.secret-key{display:block;font-size:12px;overflow-wrap:anywhere;margin-top:14px}.recovery-codes{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-block:25px}.recovery-codes code{background:#eef5e5;padding:12px;font-size:12px;text-align:center;border:1px solid #dae6cb;border-radius:5px}.auth-card>.button{margin-top:25px}
@media(min-width:1600px){.workspace-main{padding:60px}.workspace-header,.workspace-footer{padding-inline:60px}.next-step{padding:36px 40px}.next-step h2{font-size:44px}.next-step p{font-size:17px}.progress-panel{padding:36px}.rhythm{padding:28px 32px}.sidebar{width:260px;padding-inline:25px}.shell{grid-template-columns:260px minmax(0,1fr)}}
@media(max-width:1280px){.shell{grid-template-columns:220px minmax(0,1fr)}.sidebar{width:220px;padding-inline:15px}.sidebar nav>a{font-size:12px}.workspace-header{padding-inline:30px}.workspace-main{padding:36px 30px 65px}.workspace-footer{padding-inline:30px}.dashboard-top{grid-template-columns:1.5fr 1fr;gap:20px}.next-step{padding:25px}.next-step h2{font-size:32px}.progress-panel{padding:25px}.big-number{font-size:69px}.rhythm-row{grid-template-columns:1fr 1fr;gap:20px}.rhythm{display:block;padding:22px}.week-days{justify-content:flex-start;margin-block:18px 13px;gap:12px}.achievement{padding:22px;gap:15px}.achievement-mark{font-size:32px}.page-heading.split{align-items:flex-start}.page-heading.split>.pill{max-width:220px}.lesson-layout{grid-template-columns:minmax(0,1fr) 235px;gap:22px}.lesson-aside .panel{padding:20px}.prose.panel{padding:25px}.student-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.queue-row{gap:14px;flex-wrap:wrap}.queue-person{width:135px}.queue-task{min-width:230px}.queue-row .button{margin-left:auto}.leaderboard-layout{grid-template-columns:1.35fr 1fr;gap:22px}.leaderboard-layout .panel{padding:24px}.rank-row{gap:13px}.dark-panel h2{font-size:33px}.two-columns,.review-layout{gap:22px}.panel{padding:25px}.account-row{gap:13px;flex-wrap:wrap}}
@media(max-width:1024px){.shell{display:block}.sidebar{display:none;width:265px;top:77px;box-shadow:15px 0 30px #1f302010}.portal[data-menu-open] .sidebar{display:flex}.workspace-header{min-height:77px;padding:16px 25px}.mobile-toggle{display:inline-flex;width:38px;height:38px;align-items:center;justify-content:center;background:transparent;border:1px solid var(--line);border-radius:6px;font-size:18px}.breadcrumb{margin-right:auto}.workspace-main{padding:35px 25px 55px}.workspace-footer{padding-inline:25px}.next-step h2{font-size:36px}.next-step{min-height:350px}.rhythm{display:grid;grid-template-columns:auto 1fr}.week-days{justify-content:flex-end;gap:7px;margin:0}.rhythm-row{grid-template-columns:1.25fr 1fr}.rhythm h3{font-size:23px}.achievement{gap:13px}.achievement .eyebrow{font-size:9px}.achievement h3{font-size:19px}.achievement-mark{font-size:31px}.sidebar-bottom{padding-top:25px}.lesson-layout{grid-template-columns:minmax(0,1fr) 240px}.auth-story{padding:38px}.auth-story h1{font-size:57px}.auth-main{padding-inline:35px}.auth-back{left:35px}.auth-card h2{font-size:38px}.auth-story h1+p{font-size:15px}}
@media(max-width:800px){.dashboard-top{grid-template-columns:1.5fr 1fr;gap:18px}.next-step{padding:24px}.next-step h2{font-size:30px}.next-step p{font-size:14px}.progress-panel{padding:24px}.rhythm-row{grid-template-columns:1fr 1fr;gap:18px}.rhythm{display:block}.week-days{justify-content:flex-start;margin-block:18px 13px;gap:10px}.achievement{display:block}.achievement-mark{font-size:30px;display:block;margin-bottom:14px}.lesson-layout{grid-template-columns:1fr}.lesson-aside{position:static;grid-template-columns:1fr 1fr}.lesson-aside .panel{padding:25px}.review-layout,.leaderboard-layout{grid-template-columns:1fr}.dark-panel h2 br{display:none}.dark-panel h2{font-size:35px}.mentor-stats{gap:17px}.stat-card{padding:23px}.stat-card strong{font-size:50px}.queue-person{width:120px}.queue-task{min-width:200px}.page-heading h1{font-size:43px}.page-heading.split>.pill{max-width:190px}.auth-page{grid-template-columns:1fr}.auth-story{min-height:0;padding:25px 30px;display:block}.auth-story>div,.auth-bottom{display:none}.auth-story .wordmark{font-size:14px}.auth-story .wordmark b{font-size:28px}.auth-main{padding:66px 25px 35px}.auth-back{left:25px;top:21px;font-size:12px}.auth-card{max-width:460px}.auth-card h2{font-size:43px}.auth-foot{margin-top:35px}.prose table{font-size:12px}.module-row h2{font-size:23px}.account-row>div{min-width:200px}}
@media(max-width:600px){body{font-size:16px}.workspace-header{padding:14px 19px;gap:13px;min-height:72px}.header-profile{font-size:0;gap:0}.header-profile .avatar{font-size:13px}.breadcrumb{font-size:8px;letter-spacing:0;max-width:205px}.mobile-toggle{width:35px;height:35px;flex-shrink:0}.sidebar{top:72px;max-width:85vw}.workspace-main{padding:29px 19px 45px}.workspace-footer{padding:21px 19px;display:block;font-size:10px}.workspace-footer>a{display:block;margin-top:7px}.page-heading{margin-bottom:25px}.page-heading h1{font-size:36px;line-height:1.13}.page-heading .eyebrow{font-size:10px;margin-bottom:15px}.page-heading>p:not(.eyebrow),.page-heading>div>p:not(.eyebrow){font-size:15px;line-height:1.75;margin-top:16px}.page-heading.split{display:block}.page-heading.split>.pill,.page-heading.split>.button{margin-top:20px;max-width:none}.dashboard-top{grid-template-columns:1fr;gap:18px}.next-step{padding:23px;min-height:320px}.next-step h2{font-size:31px;margin-top:15px}.next-module{font-size:11px;margin-top:18px}.next-step p{font-size:15px;line-height:1.75;margin-bottom:24px}.next-heading .eyebrow{font-size:10px}.next-symbol{font-size:30px}.next-step .button{font-size:14px}.progress-panel{display:grid;grid-template-columns:1fr 1fr;gap:0 20px;padding:23px}.progress-panel .eyebrow{grid-column:1/-1}.big-number{font-size:61px;margin:6px 0 18px}.big-number span{font-size:25px}.progress-panel progress{grid-row:3;grid-column:1/-1}.progress-panel>p{grid-column:2;grid-row:2;font-size:12px;margin:7px 0 17px}.points-line{grid-column:1/-1;margin-top:18px;padding-top:18px;font-size:21px}.points-line small{display:inline;font-size:11px;margin-left:8px}.points-line>span:last-child{font-size:29px}.rhythm-row{grid-template-columns:1fr;gap:18px;margin-top:18px}.rhythm{padding:23px;display:grid;grid-template-columns:1fr}.rhythm .eyebrow{font-size:10px}.rhythm h3{font-size:27px}.rhythm h3>span:not(.flame){font-size:13px}.week-days{justify-content:space-between;gap:8px;margin:7px 0 4px}.day{font-size:12px}.day i{width:30px;height:30px;font-size:16px;margin-top:7px}.rhythm>.help{font-size:12px}.achievement{display:flex;padding:23px;gap:23px}.achievement-mark{font-size:35px;margin:0}.achievement .eyebrow{font-size:9px}.achievement h3{font-size:21px}.achievement p{font-size:13px}.section-title{margin-top:34px;gap:15px;align-items:center}.section-title h2{font-size:25px}.section-title .eyebrow{font-size:10px}.section-title .text-link{font-size:12px}.section-title>.meta{display:none}.module-row{align-items:flex-start;gap:13px;flex-wrap:wrap;padding:22px 0}.module-row .row-number{padding-top:3px;font-size:12px;width:20px}.module-row>div:first-of-type{width:calc(100% - 33px);flex:none}.module-row h3{font-size:20px}.module-row h2{font-size:23px}.module-row p{font-size:13px}.row-end{margin-left:33px;gap:15px;width:calc(100% - 33px);justify-content:space-between}.lock-label{font-size:12px}.row-end .circle-link{width:30px;height:30px;font-size:17px}.lesson-row{gap:13px;padding-block:22px}.lesson-row h3{font-size:18px}.lesson-row p{font-size:12px}.lesson-row .row-number{font-size:11px}.lesson-row .circle-link{width:31px;height:31px;font-size:17px}.two-columns{grid-template-columns:1fr;gap:20px}.panel,.prose.panel{padding:22px}.panel>h2{font-size:27px}.panel>p{font-size:15px}.field>label{font-size:14px}.field input:not([type=checkbox]),.field select,.field textarea,.search-form input,.inline-form select,textarea[data-copy-source]{font-size:16px}.field textarea{font-size:14px}.help{font-size:12px}.stack-form{margin-top:24px}.button{font-size:14px;min-height:46px;padding:12px 16px;gap:18px}.form-errors{font-size:13px}.back-link{font-size:13px;margin-bottom:20px}.lesson-aside{grid-template-columns:1fr}.lesson-aside .panel{padding:23px}.lesson-tags .pill{font-size:11px}.lesson-layout{gap:20px}.prose{font-size:16px;line-height:1.85}.prose h1{font-size:25px}.prose h2{font-size:23px}.prose h3{font-size:20px}.prose pre{padding:16px;font-size:12px;margin-inline:-8px}.prose blockquote{padding:6px 14px}.prose th,.prose td{padding:8px 10px}.reading-action{display:block;margin:20px 0}.reading-action>span{display:block;margin-top:12px;max-width:none;font-size:12px}.practice>summary h2{font-size:24px}.practice>summary .eyebrow{font-size:10px}.submission-panel .eyebrow{font-size:10px}.submitted-work{padding:16px}.submission-text{font-size:13px}.mentor-feedback{padding:18px}.mentor-feedback p{font-size:15px}.submission-panel .lead{font-size:15px}.resource-list.compact>a{font-size:14px}.resource-list small{font-size:11px}.mentor-stats{gap:10px}.stat-card{padding:18px 14px}.stat-card>span{font-size:11px}.stat-card strong{font-size:39px;margin-block:14px 8px}.stat-card small{font-size:10px;line-height:1.6;display:block}.queue-row{display:grid;grid-template-columns:38px 1fr;gap:14px 13px;padding-block:23px}.queue-person{width:auto}.queue-person strong{font-size:15px}.queue-person small{font-size:12px}.queue-task{grid-column:1/-1;min-width:0}.queue-task h3{font-size:19px;margin-top:7px}.queue-task .meta{font-size:11px}.queue-row .button{grid-column:1/-1;font-size:14px;margin-left:0;justify-self:start}.queue-row .avatar{width:38px;height:38px}.student-grid{grid-template-columns:1fr}.student-card>p{min-height:0;font-size:15px}.student-card-head .pill{font-size:12px}.student-progress>span{font-size:13px}.student-card .text-link{font-size:14px}.compact-progress{text-align:left;margin-top:25px;display:flex;gap:17px;align-items:baseline}.compact-progress strong{font-size:42px}.compact-progress span{font-size:13px}.grant{gap:16px}.grant strong{font-size:14px}.grant .meta{font-size:12px}.route-list strong{font-size:15px}.route-list p{font-size:14px}.account-row{display:grid;grid-template-columns:39px minmax(0,1fr) auto;gap:12px}.account-row .avatar{width:36px;height:36px}.account-row>div{min-width:0;grid-column:2/-1}.account-row strong{font-size:16px}.account-row small{font-size:12px}.account-row .pill{grid-column:2;justify-self:start;font-size:11px}.account-row .meta{grid-column:3;font-size:11px}.account-row .text-link,.account-row form{grid-column:2}.account-row .text-link{font-size:14px}.library-list>a{flex-wrap:wrap;gap:12px}.library-list>a>div{width:100%;flex:auto}.library-list strong{font-size:15px}.library-list small{font-size:12px;line-height:1.7}.library-list .pill{font-size:11px;margin-right:auto}.search-form{gap:10px}.search-form input{padding:11px}.search-form .button{gap:0;padding-inline:14px}.pagination{gap:15px;font-size:12px}.pagination .button{font-size:12px;padding-inline:12px}.leaderboard-layout .panel{padding:21px}.week-mark{display:none}.inline-form{gap:10px}.inline-form label{width:100%;font-size:13px}.inline-form select{min-width:140px}.inline-form .button{font-size:13px}.rank-row{gap:12px;padding:17px 0}.rank-row.is-me{margin-inline:-8px;padding-inline:8px}.rank{font-size:11px}.rank-name{font-size:14px}.rank-row>span:not(.rank):not(.rank-name){font-size:13px}.rank-row strong{font-size:21px}.ranking-title h2{font-size:23px}.ranking-title .meta{font-size:9px}.rank-row small{font-size:10px}.dark-panel h2{font-size:33px}.dark-panel>p{font-size:15px}.empty-state{padding:34px 21px}.empty-state h3{font-size:24px}.empty-state p{font-size:15px}.auth-main{padding:68px 23px 30px}.auth-story{padding:24px}.auth-card h2{font-size:38px}.auth-card>.eyebrow{font-size:10px}.auth-card .lead{font-size:15px}.auth-card .field input{font-size:16px}.auth-card .stack-form{margin-top:27px}.auth-other{font-size:13px}.auth-back{left:24px}.auth-card>.help{font-size:12px}.recovery-codes{gap:8px}.recovery-codes code{font-size:11px;padding:10px 7px}.qr-panel{padding:19px}}
.confirm-dialog{border:1px solid var(--line);border-radius:14px;padding:28px;max-width:min(480px,calc(100% - 36px));color:var(--dark);background:#fff}.confirm-dialog::backdrop{background:#18201077}.confirm-dialog p{line-height:1.7}.dialog-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.next-step,.achievement>div,.rhythm,.progress-panel,.page-heading{min-width:0}.next-step h2,.page-heading h1{overflow-wrap:anywhere}.pill{white-space:normal}.section-title{flex-wrap:wrap}@media(max-width:360px){.week-days{gap:4px}.day i{width:26px;height:26px}.achievement{gap:13px}.achievement-mark{font-size:27px}.progress-panel{gap:0 12px}.breadcrumb{max-width:170px}.mentor-stats{grid-template-columns:1fr}.stat-card strong{margin:6px 0}.section-title .text-link{white-space:normal}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important;animation:none!important}}

/* Reading and course stages */
.stage-foundation{--stage-ink:#3f581b;--stage-wash:#eef5df;--stage-line:#d0dfa8;--stage-accent:#819d42}
.stage-practice{--stage-ink:#285c77;--stage-wash:#eaf3f9;--stage-line:#bfd9e8;--stage-accent:#5590ad}
.stage-project{--stage-ink:#634a83;--stage-wash:#f1edf8;--stage-line:#d8cce9;--stage-accent:#9277b5}
.stage-concurrency{--stage-ink:#815025;--stage-wash:#fbf1e5;--stage-line:#e7ceaf;--stage-accent:#b57b3c}
.course-stages{list-style:none;padding:0;margin:0 0 28px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.course-stages li{display:flex;gap:14px;align-items:flex-start;padding:19px 17px;border:1px solid var(--stage-line);border-radius:10px;background:var(--stage-wash)}
.stage-range{font:12px/1.7 var(--mono);color:var(--stage-ink);white-space:nowrap;padding-top:2px}
.course-stages strong{display:block;font-size:15px;line-height:1.5;color:var(--stage-ink);letter-spacing:-.02em}
.course-stages li>div>span{display:block;font-size:13px;line-height:1.65;color:#475347;margin-top:5px}
.module-list{border-top:0;display:grid;gap:14px}
.module-row{padding:25px 27px;background:#fff;border:1px solid #d8dfd2;border-radius:12px;gap:22px;box-shadow:inset 4px 0 0 var(--stage-accent)}
.module-row:hover{border-color:var(--stage-line)}
.module-row .row-number,.module-row.locked .row-number{display:flex;align-items:center;justify-content:center;width:54px;height:54px;flex:0 0 54px;padding:0;border:1px solid var(--stage-line);border-radius:10px;background:var(--stage-wash);color:var(--stage-ink);font-size:19px;font-weight:500}
.stage-tag{display:inline-block;color:var(--stage-ink);background:var(--stage-wash);border:1px solid var(--stage-line);padding:3px 9px;border-radius:5px;font-size:11px;line-height:1.65;font-weight:500;letter-spacing:.01em;margin-bottom:9px}
.module-row h2,.module-row h3,.module-row.locked h2,.module-row.locked h3{color:#202820;font-size:24px;font-weight:600;line-height:1.35;letter-spacing:-.035em}
.module-row p{color:#465242;font-size:15px;line-height:1.7;margin-top:7px}
.module-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:12px;line-height:1.65;color:#53604c;margin-top:11px}
.module-meta .pill{padding:3px 8px}
.module-row .row-end{min-width:130px;justify-content:flex-end}
.module-row .lock-label{font-size:12px;color:#53604c;line-height:1.6;text-align:right}
.lock-label strong,.lock-label>span{display:block}
.lock-label strong{font-size:13px;color:#3d4a37;font-weight:500;margin-bottom:3px}
.lesson-row h3{color:#222b22;font-weight:600;letter-spacing:-.025em}
.lesson-row p{font-size:14px;color:#4e5b48}
.lesson-row .row-number{color:#4d6140}
.prose{color:#28312b;font-size:17px;line-height:1.85;letter-spacing:0}
.prose.panel{padding:clamp(24px,3vw,38px)}
.prose p,.prose li,.prose dd{color:#28312b;line-height:1.85}
.prose p{margin:18px 0}
.prose :where(p,ul,ol,dl){max-width:74ch}
.prose :where(h1,h2,h3,h4,h5,h6){color:#1f2821;font-weight:600;letter-spacing:-.025em;line-height:1.35;text-wrap:pretty}
.prose h1{font-size:30px;margin:0 0 22px}
.prose h2{font-size:26px;margin:38px 0 18px;padding-bottom:13px;border-bottom:1px solid #dfe5da}
.prose h3{font-size:22px;margin:30px 0 15px}
.prose h4{font-size:19px;margin:25px 0 12px}
.prose>h1:first-child+blockquote,.prose>p:first-child{margin-top:0}
.prose :where(ul,ol){margin:18px 0;padding-left:27px}
.prose li{padding-left:5px;margin:10px 0}
.prose li::marker{color:#526c2a;font-weight:600}
.prose li>p{margin:8px 0}
.prose strong{color:#1e2820;font-weight:600}
.prose a{color:#315e22;text-decoration-thickness:1px;text-underline-offset:4px;font-weight:500;overflow-wrap:anywhere}
.prose a:hover{color:#1c4211;text-decoration-thickness:2px}
.prose :not(pre)>code{padding:2px 6px;font-size:.87em;background:#edf2e8;border:1px solid #dfe7d6;border-radius:4px;color:#315223;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.prose blockquote{color:#2c3a27;border-left:4px solid #8bab42;background:#f1f6e9;border-radius:0 8px 8px 0;padding:12px 22px;margin:26px 0}
.prose blockquote p{color:#2c3a27;margin:6px 0}
.prose table{font-size:15px;line-height:1.7;margin:26px 0}
.prose th,.prose td{border-color:#d5decd;padding:12px 15px;color:#28312b}
.prose th{background:#edf2e7;font-weight:600}
.prose tbody tr:nth-child(even){background:#f8faf5}
.prose> :last-child{margin-bottom:0}
.material-prose{max-width:1100px}
.prose pre{font-size:14px;line-height:1.8;background:#1e232b;color:#e6edf3;border-color:#343c47;tab-size:4}
.prose .codehilite{margin:26px 0;border:1px solid #3b4451;border-radius:10px;background:#1e232b;color:#e6edf3;overflow:hidden;max-width:100%;box-shadow:0 4px 14px #1c26300a}
.code-language{display:flex;align-items:center;gap:10px;padding:11px 19px;background:#282f39;border-bottom:1px solid #3b4451;color:#c9d5e3;font:11px/1.6 var(--mono);letter-spacing:.055em;text-transform:uppercase}
.code-language::before{content:'{ }';color:#97b65e;font-size:13px;letter-spacing:-.06em}
.prose .codehilite pre{margin:0;padding:20px 23px 23px;border:0;border-radius:0;background:transparent;font-size:14px;line-height:1.85;white-space:pre;overflow:auto;overflow-wrap:normal;max-width:100%;color:#e6edf3;tab-size:4}
.codehilite pre:focus-visible{outline:2px solid #c2f34e;outline-offset:-3px}
.codehilite pre code{color:inherit;font:inherit;background:transparent;border:0;padding:0;white-space:inherit}
.codehilite .c,.codehilite .c1,.codehilite .cm,.codehilite .cs,.codehilite .cp,.codehilite .ch,.codehilite .cpf{color:#9aa7b5;font-style:italic}
.codehilite .k,.codehilite .kc,.codehilite .kd,.codehilite .kn,.codehilite .kp,.codehilite .kr,.codehilite .kt{color:#ffad66}
.codehilite .s,.codehilite .s1,.codehilite .s2,.codehilite .sa,.codehilite .sb,.codehilite .sc,.codehilite .sd,.codehilite .sh,.codehilite .sx,.codehilite .dl{color:#a8d28d}
.codehilite .se,.codehilite .si,.codehilite .sr{color:#bfe1ab}
.codehilite .m,.codehilite .mb,.codehilite .mf,.codehilite .mh,.codehilite .mi,.codehilite .mo,.codehilite .il{color:#c5adf5}
.codehilite .nf,.codehilite .fm{color:#ffd782}
.codehilite .nc,.codehilite .ne,.codehilite .nn,.codehilite .nt{color:#8ad9c1}
.codehilite .na,.codehilite .nd,.codehilite .nb,.codehilite .bp{color:#9fcaef}
.codehilite .nv,.codehilite .vc,.codehilite .vg,.codehilite .vi,.codehilite .vm{color:#d5b8ed}
.codehilite .o,.codehilite .ow,.codehilite .p{color:#d9e3ef}
.codehilite .w,.codehilite .n,.codehilite .nx{color:#e6edf3}
.codehilite .err{color:#ffbac2}
.codehilite .gd{color:#ffbdc1;background:#492c34}
.codehilite .gi{color:#b9e1a4;background:#273a2e}
@media(max-width:1100px){.course-stages{gap:10px}.course-stages li{flex-direction:column;gap:7px;padding:15px}.module-row{padding:22px}.module-row .row-end{min-width:110px}}
@media(max-width:640px){
  .course-stages{grid-template-columns:1fr;gap:9px;margin-bottom:22px}
  .course-stages li{flex-direction:row;gap:15px;padding:13px 15px}
  .stage-range{min-width:46px;font-size:11px}
  .course-stages strong{font-size:14px}
  .course-stages li>div>span{font-size:12px;margin-top:2px}
  .module-list{gap:12px}
  .module-row{padding:20px 18px;gap:13px;align-items:flex-start}
  .module-row .row-number,.module-row.locked .row-number{width:40px;height:40px;flex-basis:40px;font-size:15px;border-radius:8px;margin-top:2px}
  .module-row>div.module-info{width:calc(100% - 53px);flex:none}
  .module-row h2,.module-row h3,.module-row.locked h2,.module-row.locked h3{font-size:20px;line-height:1.4}
  .module-row p{font-size:14px;line-height:1.7}
  .stage-tag{font-size:10px;margin-bottom:7px;padding:3px 7px}
  .module-meta{font-size:12px;gap:9px;margin-top:10px}
  .module-row .row-end{width:calc(100% - 53px);margin-left:53px;min-width:0;justify-content:flex-start}
  .module-row .row-end .button{min-height:42px;font-size:13px;padding:9px 14px}
  .module-row .lock-label{text-align:left;font-size:12px}
  .prose,.prose p,.prose li{font-size:16px;line-height:1.85}
  .prose.panel{padding:23px 20px}
  .prose h1{font-size:25px}
  .prose h2{font-size:23px;margin-top:31px}
  .prose h3{font-size:20px}
  .prose blockquote{padding:10px 15px}
  .prose .codehilite{margin:23px 0;border-radius:8px}
  .code-language{padding:9px 13px;font-size:10px}
  .prose .codehilite pre{padding:16px 15px;font-size:13px;line-height:1.85;margin:0}
  .prose table{font-size:14px}
}

/* Desktop reading scale. Keep the existing tablet and phone sizes unchanged. */
@media(min-width:1025px){
  body{font-size:17px}
  small{font-size:14px}

  .eyebrow,.meta,.breadcrumb,.sidebar-label,
  .next-heading .eyebrow,.progress-panel .eyebrow,.rhythm .eyebrow,
  .achievement .eyebrow,.lesson-aside .eyebrow,.mentor-feedback .eyebrow,
  .auth-story .eyebrow,.auth-card>.eyebrow,.dark-panel .eyebrow,
  .queue-task .meta,.submitted-work .meta,.module-row .meta,
  .grant .meta,.account-row .meta,.ranking-title .meta{font-size:14px}

  .help,.rhythm>.help,.field-errors,.workspace-footer,.profile-link small,
  .header-profile,.next-module,.progress-panel p small,.points-line small,
  .rhythm h3>span:not(.flame),.day,.resource-list small,.reading-action>span,
  .stat-card small,.queue-person small,.student-progress>span,.compact-progress span,
  .library-list small,.account-row small,.rank-name small,.rank-row small,
  .auth-bottom,.auth-foot,.secret-key,.recovery-codes code{font-size:14px}

  .help,.sidebar-label,.breadcrumb,.workspace-footer,.profile-link small,
  .header-profile,.progress-panel p,.points-line small,.rhythm h3>span:not(.flame),
  .day,.achievement p,.reading-action>span,.stat-card small,.queue-person small,
  .mentor-bottom p,.empty-state p,.student-progress>span,.compact-progress span,
  .grant-list>p,.route-list p,.library-list small,.pagination,.account-row small,
  .rank,.rank-name small,.rank-row small,.auth-back,.auth-other,.auth-foot{color:var(--muted)}

  .sidebar nav>a{font-size:15px;line-height:1.5;color:#3e4d35}
  .sidebar nav>a>span{flex-shrink:0}
  .sidebar-label{letter-spacing:.015em}
  .wordmark,.profile-link strong,.logout{font-size:15px}
  .logout{color:var(--muted)}
  .avatar.small{font-size:14px}

  .button,.queue-row .button,.text-button,.text-link,.back-link,
  .student-card>.text-link,.account-row .text-link{font-size:15px}
  .notice,.form-errors{font-size:16px}
  .field>label,.copy-label,.inline-form label{font-size:15px}
  .field input:not([type=checkbox]),.field select,.field textarea,
  .search-form input,.inline-form select,textarea[data-copy-source]{font-size:16px}
  .field textarea,textarea[data-copy-source]{font-size:15px;line-height:1.8}
  .pill,.student-card-head .pill,.library-list .pill,.route-list>.pill,
  .stage-tag,.module-meta,.stage-range{font-size:14px}

  .page-heading>p:not(.eyebrow),.page-heading>div>p:not(.eyebrow),
  .next-step p{font-size:17px}
  .progress-panel p,.lesson-aside p,.student-card>p,.empty-state p,
  .mentor-bottom p,.grant-list>p,.dark-panel>p,.auth-card .lead{font-size:16px}
  .achievement p,.stat-card>span,.route-list p{font-size:15px}

  .module-row p,.lesson-row p,.course-stages strong{font-size:16px}
  .course-stages li>div>span{font-size:15px}
  .row-number{font-size:15px}
  .module-row .lock-label{font-size:14px}
  .lock-label strong{font-size:15px}
  .resource-list>a,.resource-list.compact>a,.library-list>a,
  .queue-person strong,.grant strong,.route-list strong,.account-row strong{font-size:16px}
  .resource-list>a>span:first-child{min-width:0;overflow-wrap:anywhere}
  .resource-list small{color:#805522}
  .queue-task h3{font-size:18px}
  .pagination{font-size:15px}
  .audit-table table{font-size:15px}
  .audit-table code{font-size:14px}
  .audit-table th{color:#425631}
  .rank-name,.rank-row>span:not(.rank):not(.rank-name){font-size:16px}

  .prose{font-size:18px}
  .prose pre,.prose .codehilite pre,.submission-text{font-size:15px}
  .prose :not(pre)>code{font-size:15px}
  .prose table{font-size:16px}
  .code-language{font-size:14px;letter-spacing:.035em}
  .code-language::before{font-size:15px}

  .auth-back,.auth-other,.qr-panel summary{font-size:15px}
  .auth-story .eyebrow,.dark-panel .eyebrow{color:#bdd0a5}
  .auth-bottom{color:#b8c8a7}
}
