:root{color-scheme:light;--ink:#202a38;--muted:#657186;--line:#dfe5ec;--navy:#24496b;--paper:#fff;--soft:#f5f7fa}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:28px}body{background:var(--paper);color:var(--ink);-webkit-font-smoothing:antialiased;margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Arial,sans-serif}a{color:var(--navy);text-underline-offset:4px}button,summary{font:inherit}:focus-visible{outline-offset:5px;outline:3px solid #6091bb}.skip-link{z-index:5;background:var(--navy);color:#fff;padding:12px 18px;position:fixed;top:-80px;left:16px}.skip-link:focus{top:12px}.topbar{border-top:4px solid var(--navy);border-bottom:1px solid var(--line)}.topbar-inner{justify-content:space-between;align-items:center;gap:20px;max-width:1256px;margin:auto;padding:19px 40px;display:flex}.brand{color:var(--ink);letter-spacing:.01em;font-size:14px;font-weight:700;text-decoration:none}.course-label{color:var(--muted);font-size:13px}.layout{grid-template-columns:250px minmax(0,1fr);gap:64px;max-width:1256px;margin:auto;padding:54px 40px 76px;display:grid}.sidebar{min-width:0}.toc{max-height:calc(100vh - 56px);padding-right:10px;position:sticky;top:28px;overflow:auto}.toc summary{cursor:pointer;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:0 0 20px;font-size:12px;font-weight:700;list-style:none}.toc summary::-webkit-details-marker{display:none}.toc summary:after{content:"−";float:right}.toc:not([open]) summary:after{content:"+"}.toc ol{margin:0;padding:0;list-style:none}.toc li+li{margin-top:3px}.toc a{color:var(--muted);border-left:2px solid #0000;gap:10px;padding:9px 0 9px 10px;font-size:13px;line-height:1.5;text-decoration:none;display:flex}.toc a:hover{color:var(--navy);background:var(--soft)}.toc a[aria-current=location]{color:var(--navy);border-left-color:var(--navy);background:var(--soft);font-weight:600}.toc-number{font-variant-numeric:tabular-nums;color:#8a95a5;flex:0 0 20px}main{min-width:0;max-width:822px}.lesson-header{border-bottom:1px solid var(--line);margin-bottom:38px;padding:0 0 32px}.eyebrow{letter-spacing:.09em;text-transform:uppercase;color:var(--navy);margin:0 0 14px;font-size:12px;font-weight:700}h1{letter-spacing:-.035em;margin:0 0 18px;font-size:clamp(34px,4vw,48px);font-weight:700;line-height:1.13}.lead{max-width:660px;color:var(--muted);margin:0;font-size:18px;line-height:1.65}.lesson-body{overflow-wrap:break-word;font-size:16px;line-height:1.8}.lesson-body h2{letter-spacing:-.018em;margin:48px 0 22px;font-size:27px;font-weight:650;line-height:1.35}.lesson-body>h2:first-child{margin-top:0}.lesson-body h3{letter-spacing:-.01em;margin:34px 0 16px;font-size:20px;font-weight:650;line-height:1.45}.lesson-body p{margin:0 0 18px}.lesson-body strong{color:#162b43;font-weight:650}.lesson-body ul,.lesson-body ol{margin:14px 0 24px;padding-left:24px}.lesson-body li{margin:7px 0;padding-left:3px}.lesson-body hr{background:var(--line);border:0;height:1px;margin:42px 0 0}.lesson-body code{background:var(--soft);border-radius:3px;padding:2px 5px;font:.88em ui-monospace,SFMono-Regular,Consolas,monospace}.formula{background:var(--soft);font-variant-numeric:tabular-nums;border-left:3px solid #8aa7bf;padding:17px 20px;font-size:15px}figure{border:1px solid var(--line);break-inside:avoid;background:#fff;border-radius:7px;margin:30px 0 34px;overflow:hidden}.lesson-body figure img{pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;width:100%;height:auto;display:block}figcaption{color:var(--muted);background:#fafbfd;border-top:1px solid #edf0f4;justify-content:space-between;gap:20px;padding:12px 16px;font-size:11px;line-height:1.5;display:flex}.diagram-hint{color:var(--navy);flex:none}.table-scroll{border:1px solid var(--line);border-radius:6px;max-width:100%;margin:26px 0;overflow-x:auto}table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;font-size:13px;line-height:1.6}th{text-align:left;background:var(--soft);color:#34445a;font-size:12px;font-weight:650}th,td{border-bottom:1px solid var(--line);vertical-align:top;padding:13px 16px}td:first-child{white-space:nowrap;font-weight:600}tr:last-child td{border-bottom:0}tbody tr:nth-child(2n){background:#fcfdfe}.lesson-footer{border-top:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:24px;margin-top:44px;padding-top:24px;font-size:13px;line-height:1.6;display:flex}.next-label{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;margin-bottom:5px;font-size:11px;display:block}.back-top{white-space:nowrap}@media (width>=1500px){.layout{gap:76px}}@media (width<=1000px){.layout{grid-template-columns:210px minmax(0,1fr);gap:32px;padding-left:28px;padding-right:28px}.topbar-inner{padding-left:28px;padding-right:28px}.lesson-body{font-size:15px}.toc a{font-size:12px}}@media (width<=760px){.topbar-inner{padding:16px 22px}.course-label{text-align:right;max-width:150px;font-size:11px}.layout{flex-direction:column;gap:30px;padding:24px 22px 48px;display:flex}.toc{border:1px solid var(--line);background:#fafbfd;border-radius:6px;max-height:none;padding:16px;position:static}.toc summary{margin:0;font-size:11px}.toc[open] summary{margin-bottom:14px}.toc a{font-size:13px}.lesson-header{margin-bottom:30px;padding-bottom:26px}.lead{font-size:16px}.lesson-body{font-size:15px;line-height:1.8}.lesson-body h2{margin-top:36px;font-size:23px}.lesson-body h3{font-size:18px}figure{margin:24px 0}.diagram-link{padding:6px 2px}figcaption{gap:10px;padding:10px 12px;font-size:10px}th,td{padding:11px 12px}table{min-width:560px}.formula{padding:14px 16px;font-size:14px}.lesson-footer{font-size:12px}}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}@media print{@page{margin:18mm 16mm}body{color:#000}.topbar,.sidebar,.back-top,.skip-link,.diagram-hint{display:none!important}.layout{max-width:none;padding:0;display:block}main{max-width:none}.lesson-header{margin-bottom:25px;padding-bottom:20px}h1{font-size:30px}.lead{font-size:12px}.lesson-body{font-size:10pt;line-height:1.6}.lesson-body h2{break-after:avoid;font-size:18pt}.lesson-body h3{break-after:avoid;font-size:13pt}figure{break-inside:avoid;margin:16px 0}.table-scroll{overflow:visible}table{min-width:0;font-size:8pt}thead{display:table-header-group}tr,.formula{break-inside:avoid}a{color:inherit;text-decoration:none}}[hidden]{display:none!important}:root{--header-height:76px;--contents-height:0px;--sticky-height:calc(var(--header-height) + var(--contents-height))}html{scroll-padding-top:calc(var(--sticky-height) + 24px)}button,input{font:inherit}button,a,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}.skip-link{z-index:160}.site-header{z-index:90;border-bottom:1px solid var(--line);background:#fff;position:sticky;top:0}.header-main{flex-wrap:wrap;align-items:center;gap:32px;max-width:1600px;min-height:60px;margin:auto;padding:10px 28px;display:flex}.brand{white-space:nowrap;font-size:16px}.mobile-nav-toggle{display:none}.header-menu{flex:1;align-items:center;gap:32px;min-width:0;display:flex}.site-links{align-items:center;gap:22px;display:flex}.header-link{color:var(--muted);white-space:nowrap;font-size:13px;text-decoration:none}.header-link[aria-current]{color:var(--navy)}.account-nav{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:16px;margin-left:auto;font-size:12px;display:flex}.account-nav a{text-decoration:none}.account-nav form{margin:0}.account-identity{flex-direction:column;gap:3px;min-width:0;display:flex}.account-email{text-overflow:ellipsis;white-space:nowrap;max-width:220px;color:var(--ink);font-size:12px;overflow:hidden}.account-status{color:var(--muted);white-space:nowrap;font-size:10px}.account-status.purchased{color:#3b6653}.text-button{color:var(--navy);font:inherit;background:0 0;border:0;padding:0}.purchase-link{text-align:center;border:1px solid var(--line);color:var(--navy);white-space:nowrap;border-radius:5px;padding:7px 10px;font-size:12px;text-decoration:none;display:block}.purchase-link:hover{background:var(--soft)}.sidebar-toggle{color:var(--navy);background:0 0;border:0;border-radius:4px;flex:none;align-items:center;gap:8px;padding:6px 9px;font-size:12px;display:flex}.sidebar-toggle:hover{background:var(--soft)}.contents-bar{top:var(--header-height);z-index:95;background:#fff;border:0;align-items:center;gap:22px;padding:6px 20px;display:flex;position:sticky}.contents-context{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--muted);font-size:11px;overflow:hidden}.sidebar{top:var(--sticky-height);width:260px;height:calc(100dvh - var(--sticky-height));border-right:1px solid var(--line);z-index:80;background:#fafbfd;flex-direction:column;padding:12px 14px 22px;display:flex;position:fixed;bottom:0;left:0}.sidebar-scroll{overscroll-behavior:contain;scrollbar-width:thin;flex:1;min-height:0;overflow:auto}.sidebar ol{margin:0;padding:0;list-style:none}.sidebar nav a{color:var(--muted);border-left:2px solid #0000;padding:9px 11px;font-size:13px;line-height:1.5;text-decoration:none;display:block}.sidebar nav a:hover{color:var(--navy);background:#edf1f6}.sidebar nav a[aria-current]{color:var(--navy);border-left-color:var(--navy);background:#eaf0f6;font-weight:600}.course-tree>summary{cursor:pointer;color:var(--navy);background:0 0;border:0;border-radius:0;align-items:center;gap:8px;padding:8px 10px;font-size:12px;font-weight:600;list-style:none;display:flex}.course-tree>summary:hover{text-underline-offset:3px;text-decoration:underline}.course-tree>summary::-webkit-details-marker{display:none}.course-tree>summary:after{content:"›";color:var(--muted);font-size:17px;line-height:1;display:inline-block;transform:rotate(90deg)}.course-tree[open]>summary:after{transform:rotate(-90deg)}.course-navigation{overscroll-behavior:contain;scrollbar-width:thin;max-height:38dvh;margin-top:4px;padding-bottom:6px;overflow:auto}.nav-label{color:var(--muted);text-transform:uppercase;letter-spacing:.07em;margin:24px 10px 10px;font-size:10px;font-weight:650}.module-group{margin:2px 0}.module-group summary{cursor:pointer;color:#35475d;padding:12px 27px 12px 12px;font-size:12px;font-weight:600;line-height:1.5;list-style:none;position:relative}.module-group summary::-webkit-details-marker{display:none}.module-group summary:after{content:"+";color:var(--muted);position:absolute;top:12px;right:12px}.module-group[open]>summary:after{content:"−"}.module-group summary:hover{background:#edf1f6}.lesson-link small{color:var(--muted);margin-top:3px;font-size:10px;font-weight:400;display:block}.lesson-link small.lesson-ready{color:#3b6653}.sidebar nav .chapter-link{align-items:baseline;gap:9px;padding:8px 9px;font-size:12px;line-height:1.55;display:flex}.sidebar nav .chapter-link.chapter-module{padding-left:22px}.chapter-number{color:#8b95a4;font-variant-numeric:tabular-nums;flex:none;min-width:17px;font-size:10px;font-weight:400}.chapters-empty{color:var(--muted);margin:12px;font-size:12px;line-height:1.7}.page-shell{min-height:calc(100dvh - var(--header-height));flex-direction:column;display:flex}.has-sidebar .page-shell{min-height:calc(100dvh - var(--sticky-height));margin-left:260px}.page-layout{flex:1;width:100%;max-width:1012px;margin:0 auto;padding:48px 48px 70px}.page-layout>main{width:100%;max-width:900px;margin:0 auto}.sidebar-backdrop{display:none}.site-footer{border-top:1px solid var(--line);color:var(--muted);flex-wrap:wrap;gap:12px 24px;padding:23px 32px;font-size:11px;line-height:1.7;display:flex}.site-footer a{color:var(--muted)}.lesson-header .eyebrow{margin-top:0}.course-state{color:var(--muted);max-width:720px;margin:22px 0 0;font-size:13px;line-height:1.7}.lesson-footer{flex-wrap:wrap}.lesson-footer a{max-width:46%}.course-map h2{margin-top:48px}.course-map table{min-width:520px}.course-map td:first-child{white-space:normal;min-width:165px}.course-map th:last-child{min-width:120px}.course-map table td{font-size:13px}.notice{max-width:680px;margin:45px auto 0;font-size:16px;line-height:1.8}.notice h1{font-size:36px}.notice p{margin:18px 0}.notice .return-link{margin-top:30px;font-size:14px}.actions{flex-wrap:wrap;align-items:center;gap:24px;margin:26px 0;display:flex}.button{background:var(--navy);color:#fff;border:1px solid var(--navy);border-radius:5px;justify-content:center;align-items:center;padding:12px 18px;font-size:14px;line-height:1.5;text-decoration:none;display:inline-flex}.button:hover{background:#193956}.auth-card{max-width:430px;margin:18px auto 0}.auth-card h1{font-size:36px}.auth-intro,.auth-switch{color:var(--muted);font-size:14px;line-height:1.7}.auth-card form{margin-top:30px}.auth-card label{margin:20px 0 9px;font-size:14px;font-weight:550;display:block}.auth-card input{width:100%;height:46px;color:var(--ink);background:#fff;border:1px solid #bac5d2;border-radius:5px;padding:10px 12px;font-size:16px}.auth-card input[aria-invalid=true]{border-color:#b95047}.password-field{position:relative}.password-field input{padding-right:52px}.password-toggle{width:42px;height:40px;color:var(--muted);background:0 0;border:0;border-radius:4px;place-items:center;padding:8px;display:grid;position:absolute;top:3px;right:3px}.password-toggle:hover{background:var(--soft)}.password-toggle svg{width:21px;height:21px}.password-toggle[aria-pressed=true]{color:var(--navy);background:var(--soft)}.password-toggle[aria-pressed=false] .eye-slash{display:none}.auth-card .button{width:100%;margin-top:26px}.field-hint{color:var(--muted);margin:8px 0 0;font-size:12px;line-height:1.6}.match-hint[data-state=mismatch]{color:#a32f2f}.match-hint[data-state=match]{color:#3b6653}.form-error{color:#a32f2f;background:#fff4f2;border-radius:5px;margin:20px 0 0;padding:12px 14px;font-size:13px;line-height:1.6}.auth-switch{margin-top:24px}.auth-switch a{margin-left:4px}.global-status{z-index:150;background:#fff4f2;border:1px solid #e1b7b1;border-radius:5px;max-width:calc(100vw - 32px);padding:14px 20px;font-size:14px;position:fixed;bottom:20px;left:50%;transform:translate(-50%)}.landing-hero{border-bottom:1px solid var(--line);padding:12px 0 46px}.landing-hero h1{font-size:clamp(34px,4.4vw,56px)}.hero-description{max-width:660px;margin:24px 0 0;font-size:16px;line-height:1.8}.landing-body section{scroll-margin-top:28px}.landing-body .access-card{background:var(--soft);border:1px solid var(--line);border-radius:7px;margin-top:48px;padding:30px}.access-card h2{margin-top:0}.access-card .eyebrow{margin-bottom:13px}.access-card .terms-note{margin:20px 0 0;font-size:12px}.about-header h1{max-width:900px}.about-header .lead{margin-bottom:24px}.about-course .course-facts{margin:26px 0;font-size:13px;line-height:1.8}.about-header .actions{margin-bottom:0}.about-course .about-section{padding:0 0 18px}.about-course .about-section h2{margin-top:38px}.about-course .about-section:first-child h2{margin-top:0}.about-course .about-price{margin:22px 0;font-size:34px;line-height:1.3}@media (width>=761px){.sidebar-collapsed .sidebar{display:none}.has-sidebar.sidebar-collapsed .page-shell{margin-left:0}.sidebar-collapsed .page-layout{max-width:1050px}}@media (width<=1100px) and (width>=761px){.sidebar{width:236px;padding-left:12px;padding-right:12px}.has-sidebar .page-shell{margin-left:236px}.page-layout{padding:38px 30px 60px}.header-main{gap:22px;padding:10px 22px}.account-nav{gap:12px}.account-email{max-width:150px}}@media (width<=760px){.header-main{gap:9px 16px;min-height:0;padding:10px 16px}.brand{font-size:14px}.mobile-nav-toggle{color:var(--navy);background:0 0;border:0;align-items:center;gap:8px;margin-left:auto;padding:5px 0 5px 10px;font-size:12px;display:flex}.mobile-nav-toggle svg{width:18px;height:18px}.header-menu{flex-direction:column;flex:0 0 100%;align-items:stretch;gap:8px;padding:2px 0 4px;display:none}.site-header.nav-open .header-menu{display:flex}.site-links{flex-direction:column;align-items:stretch;gap:0;margin:0}.header-link{padding:10px 8px;font-size:13px}.header-link:hover{background:var(--soft)}.sidebar-toggle{padding:6px 5px}.contents-bar{gap:16px;padding:6px 12px}.account-nav{flex:none;justify-content:flex-start;gap:10px 16px;margin:0;padding:4px 8px;font-size:12px}.account-nav>a:not(.purchase-link){padding:8px 0}.account-identity{flex:1}.account-email{max-width:100%;font-size:11px}.purchase-link{flex:0 0 100%;margin:0;padding:9px 10px;font-size:12px}.has-sidebar .page-shell{margin-left:0}.page-layout{padding:28px 22px 48px}.sidebar{z-index:110;visibility:hidden;width:min(304px,100vw - 40px);padding:12px 12px 20px;transition:transform .18s,visibility .18s;transform:translate(-110%);box-shadow:6px 0 24px #13233420}.sidebar nav a{padding-top:10px;padding-bottom:10px}.drawer-open{overflow:hidden}.drawer-open .sidebar{visibility:visible;transform:translate(0)}.sidebar-backdrop{inset:var(--sticky-height) 0 0;z-index:100;background:#101e3180;border:0;padding:0;display:block;position:fixed}.site-footer{gap:10px 18px;padding:22px}.notice{margin-top:20px;font-size:15px}.notice h1{font-size:29px}.lesson-footer a{max-width:100%}.auth-card{margin-top:8px}.auth-card h1{font-size:32px}.landing-hero{padding-top:5px;padding-bottom:30px}.landing-hero h1{font-size:36px}.hero-description{font-size:15px}.landing-body .access-card{padding:22px}}@media (prefers-reduced-motion:reduce){.sidebar{transition:none}}@media print{.site-header,.contents-bar,.sidebar,.sidebar-backdrop,.global-status{display:none!important}.page-shell,.has-sidebar .page-shell{margin:0;display:block}.page-layout{padding:0;display:block}.page-layout>main{max-width:none!important}.lesson-body table{min-width:0}}.header-main{justify-content:space-between;min-height:56px}.menu-toggle{color:var(--navy);background:0 0;border:0;align-items:center;gap:8px;margin-left:auto;padding:7px 0 7px 12px;font-size:13px;display:flex}.menu-toggle svg{width:18px;height:18px}.site-menu{top:var(--header-height);width:300px;height:calc(100dvh - var(--header-height));border-right:1px solid var(--line);background:#fafbfd;flex-direction:column;display:none;position:fixed;bottom:0;left:0}.menu-open .site-menu{display:flex}.menu-resume{flex:none;padding:20px 22px 18px}.resume-link{font-size:14px;font-weight:650;line-height:1.5;text-decoration:none}.menu-resume p{color:var(--muted);margin:8px 0;font-size:12px;line-height:1.6}.reading-summary{color:var(--muted);font-size:11px;line-height:1.6;display:block}.menu-scroll{overscroll-behavior:contain;scrollbar-width:thin;flex:1;min-height:0;padding:0 12px 16px;overflow:auto}.menu-tabs{z-index:1;border-bottom:1px solid var(--line);background:#fafbfd;gap:18px;padding:0 10px;display:flex;position:sticky;top:0}.menu-tabs button{color:var(--muted);background:0 0;border:0;border-bottom:2px solid #0000;padding:10px 0;font-size:12px}.menu-tabs button[aria-selected=true]{color:var(--navy);border-bottom-color:var(--navy);font-weight:600}.site-menu ol{margin:0;padding:0;list-style:none}.menu-panel{padding-top:10px}.site-menu .nav-label{margin:12px 10px 10px}.site-menu .lesson-link,.site-menu .chapter-link{color:var(--muted);border-left:2px solid #0000;padding:9px 10px;font-size:12px;line-height:1.6;text-decoration:none;display:block}.site-menu .lesson-link:hover,.site-menu .chapter-link:hover{color:var(--navy);background:#eef2f7}.site-menu a[aria-current]{color:var(--navy);border-left-color:var(--navy);background:#eaf0f6;font-weight:600}.site-menu .chapter-link{align-items:baseline;gap:9px;display:flex}.site-menu .chapter-module{padding-left:22px}.menu-bottom{border-top:1px solid var(--line);flex:none;padding:15px 22px 18px}.menu-bottom .site-links{flex-flow:wrap;gap:10px 16px;margin:0 0 15px;font-size:11px;display:flex}.menu-bottom .site-links a{text-decoration:none}.menu-account{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;font-size:12px;display:grid}.menu-account .account-identity{min-width:0}.menu-account .account-email{max-width:100%;font-size:11px}.menu-account .account-status{font-size:10px}.menu-account form{margin:0}.menu-account .purchase-link,.menu-account .account-links{grid-column:1/-1}.account-links{gap:22px;display:flex}.account-links a{text-decoration:none}.menu-backdrop{display:none}.resume-banner{background:var(--soft);border-radius:6px;justify-content:space-between;align-items:center;gap:22px;margin-bottom:34px;padding:20px;font-size:14px;display:flex}.resume-banner p{color:var(--muted);margin:6px 0 0;font-size:12px;line-height:1.6}.resume-banner .button{white-space:nowrap}.reading-controls{border-top:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;margin-top:36px;padding-top:25px;display:flex}.reading-controls p{color:var(--muted);max-width:500px;margin:0;font-size:12px;line-height:1.7}.history-summary{justify-content:space-between;align-items:center;gap:24px;margin:25px 0 35px;font-size:14px;line-height:1.7;display:flex}.history-list{margin:0;padding:0;list-style:none}.history-list li{border-bottom:1px solid var(--line);padding:24px 0}.history-list li>a{text-decoration:none;display:block}.history-title{font-size:18px;font-weight:600;line-height:1.5;display:block}.history-position{color:var(--muted);margin-top:8px;font-size:13px;line-height:1.6;display:block}.history-meta{color:var(--muted);flex-wrap:wrap;justify-content:space-between;gap:12px;margin:15px 0 12px;font-size:11px;display:flex}.history-list progress{width:100%;height:5px;accent-color:var(--navy);border:0;border-radius:3px;display:block}.empty-history{color:var(--muted);font-size:15px;line-height:1.8}@media (width>=901px){.menu-open .page-shell{margin-left:300px}}@media (width<=900px){.header-main{min-height:50px;padding:9px 18px}.site-menu{z-index:110;visibility:hidden;width:min(340px,100vw - 28px);transition:transform .18s,visibility .18s;display:flex;transform:translate(-105%)}.menu-open .site-menu{visibility:visible;transform:translate(0)}.drawer-open{overflow:hidden}.menu-backdrop{inset:var(--header-height) 0 0;z-index:100;background:#101e3180;border:0;padding:0;display:block;position:fixed}.menu-resume{padding:16px 20px}.menu-bottom{padding:14px 20px}.site-menu .lesson-link,.site-menu .chapter-link{padding-top:10px;padding-bottom:10px}.resume-banner,.history-summary{flex-direction:column;align-items:flex-start}}@media (prefers-reduced-motion:reduce){.site-menu{transition:none}}@media print{.site-header,.site-menu,.menu-backdrop,.resume-banner,.reading-controls{display:none!important}.menu-open .page-shell{margin-left:0}}.history-list progress{appearance:none;background:var(--soft);overflow:hidden}.history-list progress::-webkit-progress-bar{background:var(--soft);border-radius:3px}.history-list progress::-webkit-progress-value{background:var(--navy);border-radius:3px}.history-list progress::-moz-progress-bar{background:var(--navy);border-radius:3px}.header-main .menu-toggle{margin-left:0}.header-account{align-items:center;gap:20px;min-width:0;margin-left:auto;font-size:12px;display:flex}.header-account form{margin:0}.header-account .account-links{gap:18px}.header-account .account-email{max-width:210px}.course-intro{margin:0 0 8px!important}.course-map-link{font-weight:600;color:var(--navy)!important}@media (width>=901px){.menu-account{display:none}}@media (width<=1100px) and (width>=901px){.header-account{gap:14px}.header-account .account-email{max-width:150px}}@media (width<=900px){.header-account{display:none}.header-main .menu-toggle{margin-left:auto}}.page-layout,.landing-body,.lesson-body{min-width:0}h1,h2,h3,.resume-banner,.history-title{overflow-wrap:anywhere}.lesson-body pre{background:var(--soft);overscroll-behavior-x:contain;border-radius:6px;max-width:100%;padding:16px;line-height:1.6;overflow-x:auto}.lesson-body pre code{white-space:pre;background:0 0;padding:0}.lesson-body figure{-webkit-touch-callout:none}.menu-toggle,.password-toggle{touch-action:manipulation;min-width:44px;min-height:44px}.menu-bottom:empty{display:none}@media (width<=900px){.header-main{padding-left:max(18px,env(safe-area-inset-left));padding-right:max(18px,env(safe-area-inset-right))}.page-layout{padding-left:max(20px,env(safe-area-inset-left));padding-right:max(20px,env(safe-area-inset-right))}.site-menu{height:calc(100dvh - var(--header-height));padding-bottom:env(safe-area-inset-bottom)}.menu-scroll{-webkit-overflow-scrolling:touch}.menu-bottom .account-links a,.menu-bottom .text-button{align-items:center;min-height:44px;display:inline-flex}.menu-bottom .purchase-link{justify-content:center;align-items:center;min-height:44px;display:flex}.site-footer{padding-bottom:max(22px,env(safe-area-inset-bottom))}.auth-card{width:100%}.auth-card input{min-width:0;font-size:16px}.actions{gap:16px 20px}.actions>a{align-items:center;min-height:44px;display:inline-flex}.lesson-body td:first-child{white-space:normal}.lesson-body table{min-width:520px}.lesson-body figure{margin-left:0;margin-right:0}}.account-controls .account-identity{border-radius:4px;text-decoration:none}.account-controls .account-identity:hover .account-email{text-underline-offset:3px;text-decoration:underline}.account-status{text-overflow:ellipsis;overflow:hidden}.account-overview{background:var(--soft);border:1px solid var(--line);border-radius:7px;flex-wrap:wrap;align-items:center;gap:24px 48px;padding:24px;display:flex}.account-overview>div{min-width:0}.account-overview strong{overflow-wrap:anywhere;font-size:15px;display:block}.detail-label{color:var(--muted);margin-bottom:8px;font-size:12px;display:block}.subscription-active{color:#3b6653}.account-section{border-bottom:1px solid var(--line);padding:32px 0;font-size:14px;line-height:1.7}.account-section h2{margin:0 0 18px;font-size:24px;line-height:1.3}.section-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;display:flex}.section-heading h2{margin-bottom:0}.account-forms{grid-template-columns:repeat(2,minmax(0,1fr));gap:40px;display:grid}.account-forms .auth-card{max-width:none;margin:0}.account-lessons{margin:22px 0;padding:0;list-style:none}.account-lessons li{padding:16px 0}.account-lessons li>div{flex-wrap:wrap;justify-content:space-between;gap:8px 18px;margin-bottom:10px;display:flex}.account-lessons span{color:var(--muted);font-size:12px}.course-progress,.account-lessons progress{width:100%;height:6px;accent-color:var(--navy);display:block}.form-message{border-radius:5px;margin:20px 0;padding:12px 14px;font-size:13px;line-height:1.6}.form-message[data-state=error]{color:#a32f2f;background:#fff4f2}.form-message[data-state=success]{color:#315b46;background:#eef7f1}.button-secondary{color:var(--navy);background:#fff}.button-secondary:hover{background:var(--soft)}.admin-search{flex:1;min-width:0;max-width:600px}.admin-search label{margin-bottom:9px;font-size:13px;font-weight:600;display:block}.admin-search>div{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.admin-search input{border:1px solid #bac5d2;border-radius:5px;flex:1;width:100%;min-width:150px;height:46px;padding:10px 12px;font-size:16px}.create-user{border:1px solid var(--line);border-radius:6px;margin:28px 0;padding:16px 20px}.create-user summary{cursor:pointer;color:var(--navy);min-height:24px;font-size:14px;font-weight:600}.create-user .auth-card{max-width:430px;margin:0}.auth-card .checkbox-label{align-items:center;gap:10px;font-weight:400;display:flex}.auth-card input[type=checkbox]{width:20px;height:20px;accent-color:var(--navy);flex:none}.admin-count{color:var(--muted);margin:26px 0 16px;font-size:13px}.admin-table{min-width:740px}.admin-table td:first-child{white-space:normal;overflow-wrap:anywhere;min-width:160px;max-width:260px}.user-role{color:var(--muted);margin-top:6px;font-size:10px;font-weight:400;display:block}.status-badge{color:var(--muted);background:#eef1f5;border-radius:4px;padding:4px 7px;font-size:11px;display:inline-block}.status-badge.status-active{color:#315b46;background:#eaf5ed}.user-actions{flex-direction:column;align-items:flex-start;gap:6px;display:flex}.user-actions button{color:var(--navy);text-align:left;text-underline-offset:3px;background:0 0;border:0;padding:6px 0;font-size:11px;text-decoration:underline}.user-actions .danger-action{color:#a32f2f}.pagination{flex-wrap:wrap;justify-content:space-between;gap:16px;margin:26px 0;font-size:13px;display:flex}@media (width<=760px){.account-forms{grid-template-columns:minmax(0,1fr);gap:0}.account-overview{flex-direction:column;align-items:flex-start;gap:22px;padding:20px}.account-section h2{font-size:22px}.admin-table-wrap{border:0;overflow:visible}.admin-table{min-width:0;display:block}.admin-table thead{display:none}.admin-table tbody{display:block}.admin-table tr{border:1px solid var(--line);border-radius:6px;margin-bottom:16px;padding:16px;display:block}.admin-table td{border:0;padding:8px 0;display:block}.admin-table td:first-child{min-width:0;max-width:none}.admin-table td:before{content:attr(data-label);color:var(--muted);margin-bottom:6px;font-size:10px;font-weight:400;display:block}.user-actions button{min-height:44px;padding:10px 0;font-size:12px}}
