@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@500;600&family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap");:root{--ink:#2e2b30;--muted:#716b72;--teal:var(--brand);--deep:#29272a;--lime:#ffb3c0;--line:#e7e3e5;--surface:#f7f6f5;--white:#fff;--radius:16px;--brand:#ba4762;--brand-dark:#98364e;--brand-soft:#fbf0f3;--brand-mid:#ecd0d8}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font:16px/1.6 DM Sans,Arial,sans-serif}button,input,select{font:inherit}a,button,input{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}button{color:inherit}button,input{border-radius:8px}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid var(--brand);outline-offset:4px}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:Manrope,DM Sans,Arial,sans-serif;line-height:1.25;letter-spacing:-.035em}h1{font-size:2.45rem;margin-bottom:14px}h1,h2{font-weight:750}h2{font-size:1.4rem}h3{font-size:1.13rem}p{margin-bottom:1rem}svg{flex-shrink:0}.skip-link{position:fixed;left:12px;top:-100px;z-index:100;background:var(--theme-panel,white);padding:12px}.skip-link:focus{top:12px}.sidebar{position:fixed;inset:0 auto 0 0;width:252px;background:var(--deep);padding:30px 22px 24px;display:flex;flex-direction:column;z-index:20;overflow-y:auto}.brand-row{margin-bottom:38px}.brand{gap:12px;font-family:Manrope,Arial,sans-serif;font-size:1.05rem;font-weight:750;line-height:1.4}.brand,.brand-symbol{display:flex;align-items:center}.brand-symbol{justify-content:center;width:44px;height:44px;background:var(--lime);color:var(--teal);border-radius:12px;font:italic 32px Georgia,serif;flex-shrink:0}.brand-symbol sup{font:500 15px Arial,sans-serif;align-self:flex-start;margin-top:5px}.brand small{display:block;color:var(--muted);font:500 .66rem/1.5 DM Sans,sans-serif;letter-spacing:.14em;margin-top:4px}.mobile-menu{display:none}.nav-home{display:flex;align-items:center;gap:12px;padding:12px 13px;border-radius:8px;font-size:.9rem}.nav-home.active{color:var(--lime)}.nav-home.active,.nav-home:hover{background:var(--deep)}.nav-caption{font-size:.67rem;letter-spacing:.11em;color:var(--muted);margin:31px 8px 19px;display:flex;justify-content:space-between;gap:5px}.nav-caption span{letter-spacing:0;color:var(--muted)}.nav-module{margin-bottom:23px}.module-title{gap:10px;font-size:.86rem;line-height:1.4;font-weight:550}.module-number,.module-title{display:flex;align-items:center}.module-number{width:26px;height:26px;justify-content:center;border:1px solid #78515b;border-radius:7px;font-size:.72rem;flex-shrink:0}.selected .module-number{background:var(--lime);border-color:var(--lime);color:var(--deep)}.module-subnav{margin:12px 0 0 12px;border-left:1px solid #78515b;padding-left:17px;display:grid;gap:3px}.module-subnav a{font-size:.86rem;display:flex;align-items:center;gap:10px;padding:7px 9px;color:var(--muted);border-radius:6px}.module-subnav a:hover,.module-subnav a[aria-current]{background:var(--deep);color:var(--lime)}.sidebar-bottom{margin-top:auto;padding-top:30px}.sidebar-progress{padding:18px 15px;border-radius:10px;font-size:.8rem}.sidebar-progress>div{display:flex;justify-content:space-between;margin-bottom:10px}.sidebar-progress strong{color:var(--lime)}.sidebar-progress small{color:var(--muted);display:block;margin-top:7px;font-size:.73rem}progress{appearance:none;border:0;width:100%;height:5px;border-radius:4px;display:block;background:var(--brand-mid)}progress::-webkit-progress-bar{background:var(--brand-mid);border-radius:4px}progress::-webkit-progress-value{background:var(--brand-dark);border-radius:4px}progress::-moz-progress-bar{background:var(--brand-dark);border-radius:4px}.sidebar-progress progress::-webkit-progress-value{background:var(--lime)}.sidebar-progress progress::-moz-progress-bar{background:var(--lime)}.sidebar-bottom>p{display:flex;gap:12px;align-items:center;color:var(--muted);font-size:.78rem;margin:23px 7px 0;line-height:1.6}.sidebar-bottom strong{font-weight:500}.app-body{margin-left:252px;min-width:0}.topbar{height:77px;padding:0 42px;border-bottom:1px solid var(--line);background:var(--theme-glass,rgba(255,255,255,.72));justify-content:space-between;gap:16px;font-size:.84rem}.topbar,.topbar>div{display:flex;align-items:center}.topbar>div{gap:13px}.slash,.topbar-subject{color:var(--muted)}.exam-chip{border:1px solid var(--brand-mid);border-radius:6px;padding:4px 10px;font-size:.75rem;white-space:nowrap}.main-content{max-width:1340px;margin:auto;padding:34px 42px 48px;min-height:calc(100vh - 150px)}.page-eyebrow{font-size:.68rem;letter-spacing:.13em;font-weight:650;color:var(--muted);display:flex;align-items:center;gap:14px;margin-bottom:15px}.page-eyebrow>span{font-size:.65rem;letter-spacing:.065em;padding-left:14px;border-left:1px solid var(--brand-mid)}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.page-heading h1 span,.page-heading p{color:var(--muted)}.page-heading p{font-size:.93rem;margin:0}.course-stamp{border:1px solid var(--brand-mid);transform:rotate(7deg);border-radius:50%;width:121px;height:121px;display:flex;flex-direction:column;align-items:center;justify-content:center;flex-shrink:0;margin-right:14px}.course-stamp>span{font:italic 48px Georgia,serif;line-height:1.2}.course-stamp sup{font-size:22px}.course-stamp small{font-size:.45rem;letter-spacing:.07em;margin-top:10px}.overview-stats{display:grid;grid-template-columns:repeat(3,1fr);padding:20px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:29px}.overview-stats>div{display:flex;align-items:center;gap:10px;padding:0 18px;border-right:1px solid var(--line);font-size:.78rem;color:var(--muted)}.overview-stats>div:first-child{padding-left:0}.overview-stats>div:last-child{border-right:0}.overview-stats svg{color:var(--muted)}.overview-stats strong{font-size:1.1rem;font-weight:650;color:var(--ink);white-space:nowrap}.overview-stats strong span{font-weight:400;font-size:.84rem;color:var(--muted)}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 16px}.section-heading h2{font-size:1.2rem;margin:0}.section-heading>span{color:var(--muted);font-size:.73rem}.module-cards{display:grid;grid-template-columns:1fr 1fr;gap:22px}.module-card{background:var(--theme-panel,white);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:box-shadow .2s,transform .2s}.module-card:hover{box-shadow:0 8px 30px #ba47620b;transform:translateY(-2px)}.module-cover{background:var(--brand-soft);display:flex;align-items:center;justify-content:space-between;gap:15px;padding:23px 26px;min-height:116px;border-bottom:1px solid var(--brand-mid);background-image:linear-gradient(#ba47620b 1px,transparent 0),linear-gradient(90deg,#ba47620b 1px,transparent 0);background-size:19px 19px}.module-cover>div>span{font-size:.64rem;letter-spacing:.12em;color:var(--muted)}.module-cover strong{display:block;font-size:.85rem;letter-spacing:-.02em;font-weight:500;margin-top:7px;max-width:145px}.module-cover>.math-block{font-size:1.35rem;flex-shrink:0}.cover-02>div>span{color:var(--muted)}.module-card-body{padding:23px 26px}.module-card-body h3{font-size:1.25rem;margin-bottom:10px}.module-card-body>p{font-size:.86rem;color:var(--muted);min-height:46px;margin-bottom:18px}.module-counts{display:flex;gap:20px;font-size:.75rem;color:var(--muted)}.module-counts>span{display:flex;align-items:center;gap:6px}.module-progress{display:flex;align-items:center;gap:12px;margin:18px 0 22px}.module-progress>span{font-size:.72rem;color:var(--muted)}.card-links{display:flex;justify-content:space-between}.button,.card-links{align-items:center;gap:10px}.button{display:inline-flex;justify-content:center;padding:10px 17px;border:1px solid transparent;border-radius:7px;font-size:.85rem;font-weight:550;line-height:1.5;transition:background .2s}.primary{background:var(--teal)}.primary:hover{background:var(--deep)}.secondary{background:var(--theme-panel,#fff);border-color:var(--line)}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;background:transparent;padding:5px 0;font-size:.79rem;font-weight:500;color:var(--muted)}.text-button:hover{color:var(--ink)}.practice-preview{display:grid;grid-template-columns:.86fr 1.14fr;gap:40px;padding-top:40px;margin-top:38px;border-top:1px solid var(--line);align-items:start}.practice-intro .page-eyebrow{font-size:.62rem;margin-bottom:13px}.practice-intro h2{font-size:1.7rem;margin-bottom:12px}.practice-intro>p{font-size:.9rem;color:var(--muted);max-width:350px}.learning-steps{display:grid;gap:17px;margin-top:24px}.learning-steps>div{display:flex;align-items:flex-start;gap:12px;font-size:.76rem;color:var(--muted)}.learning-steps svg{margin-top:3px;color:var(--muted)}.learning-steps strong{display:block;font-size:.84rem;color:var(--ink);font-weight:600;margin-bottom:2px}.site-footer{max-width:1340px;margin:auto;padding:20px 42px;display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);font-size:.67rem;color:var(--muted)}.site-footer>span:last-child{display:flex;align-items:center;gap:6px}.back-link{display:inline-flex;align-items:center;gap:7px;font-size:.8rem;color:var(--muted);margin-bottom:22px}.module-page-heading{display:flex;justify-content:space-between;align-items:center;gap:25px;margin-bottom:25px}.module-page-heading h1{font-size:2rem;margin-bottom:11px}.module-page-heading p{font-size:.9rem;color:var(--muted);max-width:670px;margin:0}.module-page-heading .page-eyebrow{margin-bottom:10px}.module-completion{text-align:right;white-space:nowrap}.module-completion>strong{font-size:1.9rem;font-weight:550}.module-completion>strong>span{font-size:1.1rem;color:var(--muted)}.module-completion>span{display:block;font-size:.73rem;color:var(--muted)}.section-tabs{display:flex;gap:28px;border-bottom:1px solid var(--brand-mid);margin-bottom:30px}.section-tabs>a{padding:12px 0 14px;display:flex;gap:8px;align-items:center;font-size:.89rem;color:var(--muted);border-bottom:3px solid transparent;margin-bottom:-1px}.section-tabs>a.active{color:var(--ink);border-color:var(--teal);font-weight:650}.section-tabs>a>span{font-size:.7rem;background:var(--brand-soft);color:var(--brand-dark);padding:1px 6px;border-radius:5px}.workspace-grid{display:grid;grid-template-columns:224px minmax(0,1fr);gap:27px;align-items:start}.content-index{border:1px solid var(--line);border-radius:11px;overflow:hidden;position:sticky;top:22px}.index-title{display:flex;justify-content:space-between;align-items:center;font-size:.62rem;letter-spacing:.09em;padding:18px 17px 14px;color:var(--muted);border-bottom:1px solid var(--line)}.index-title>span{letter-spacing:0;background:var(--surface);border-radius:4px;padding:1px 5px}.index-items{padding:8px}.index-items>button{display:flex;width:100%;border:0;background:transparent;text-align:left;padding:12px 9px;align-items:flex-start;gap:9px;line-height:1.45;font-size:.81rem;border-radius:7px;margin-bottom:2px}.index-items>button:hover{background:var(--theme-raised,#faf5f7)}.index-items>button[aria-current]{background:var(--brand-soft);color:var(--brand-dark);font-weight:550}.index-number{font-size:.64rem;line-height:23px;border:1px solid var(--brand-mid);width:23px;height:23px;display:flex;align-items:center;justify-content:center;border-radius:50%;flex-shrink:0;background:var(--theme-panel,#fff)}.index-number,.index-number.done{color:var(--muted)}.index-items>button>span:last-child{padding-top:2px}.index-items small{font-size:.65rem;font-weight:400;color:var(--muted);display:block;margin-top:4px}.index-tip{margin:6px 15px 16px;padding-top:15px;border-top:1px solid var(--line);display:flex;align-items:center;gap:10px;color:var(--muted)}.index-tip strong,.index-tip>svg{color:var(--brand-dark)}.index-tip p{font-size:.72rem;margin:0;line-height:1.5}.index-tip strong{font-weight:500}.workspace-main{min-width:0}.lesson-card{background:var(--theme-panel,#fff);padding:28px 32px;border:1px solid var(--line);border-radius:12px}.lesson-meta{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:.65rem;color:var(--muted);margin-bottom:18px;letter-spacing:.05em}.lesson-meta>span:last-child{display:flex;align-items:center;gap:6px;letter-spacing:0}.lesson-card h2{font-size:1.6rem;line-height:1.35;margin-bottom:13px}.lesson-objective{color:var(--muted);font-size:.9rem;padding-bottom:24px;border-bottom:1px solid var(--line);margin-bottom:24px}.lesson-content p{font-size:1rem;color:var(--muted);line-height:1.85}.lesson-content ul{padding-left:21px;margin:22px 0}.lesson-content li{margin:9px 0;padding-left:3px;line-height:1.7;color:var(--muted)}.lesson-content li::marker{color:var(--muted)}.equation{padding:15px 18px;background:var(--brand-soft);border:1px solid var(--brand-mid);border-radius:8px;margin:22px 0}.math-block{display:block;overflow-x:auto;overflow-y:hidden;max-width:100%;padding:3px 0}.katex-display{margin:.4em 0}.katex{font-size:1.08em}.callout{display:flex;align-items:flex-start;gap:11px;padding:19px 20px;border-left:3px solid #78515b;border-radius:0 7px 7px;margin:24px 0}.callout>svg{margin-top:2px;color:var(--muted)}.callout strong{font-size:.88rem;font-weight:600}.callout p{font-size:.86rem;line-height:1.75;margin:6px 0 0}.callout.warning{background:var(--theme-warning-soft,#faf6e9);border-left-color:#c8ad69}.callout.warning>svg{color:var(--theme-warning-text,#967730)}.lesson-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-top:30px;padding-top:23px;border-top:1px solid var(--line)}.button.completed{color:var(--muted)}.lesson-pagination{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:20px}.lesson-pagination .button{font-size:.8rem}.exercise-position{display:flex;justify-content:space-between;gap:15px;font-size:.76rem;color:var(--muted);margin-bottom:13px}.exercise-position>a{display:flex;align-items:center;gap:7px;color:var(--muted)}.exercise-card{padding:27px 30px;background:var(--theme-panel,#fff);border:1px solid var(--line);border-radius:12px;min-width:0}.exercise-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:17px}.exercise-meta>span:last-child{font-size:.62rem;letter-spacing:.1em;color:var(--muted)}.difficulty{font-size:.68rem;padding:3px 9px;border-radius:5px;color:var(--muted)}.difficulty.medium{color:var(--theme-warning-text,#756530);background:var(--theme-warning-soft,#f7f0da)}.difficulty.advanced{color:var(--theme-accent,#715080);background:var(--theme-soft,#f1eaf4)}.exercise-card h2{font-size:1.45rem;margin-bottom:13px}.exercise-prompt{font-size:.95rem;color:var(--muted);margin-bottom:17px}.exercise-formula{background:var(--brand-soft);border:1px solid var(--brand-mid);border-radius:8px;padding:17px;margin:21px 0}.exercise-card form{margin-top:24px}.number-answer{display:flex;align-items:center;gap:14px}.answer-label,.number-answer label{font-size:1rem;font-weight:500}.multi-answer input,.number-answer input{width:120px;min-width:0;text-align:center;border:1px solid var(--brand-mid);background:var(--brand-soft);height:48px;padding:8px 10px;font-size:1.05rem}.matrix-input input::placeholder,.number-answer input::placeholder{color:var(--muted)}.input-help{font-size:.72rem;color:var(--muted);margin:10px 0 19px}.exercise-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.hint-button{background:transparent;color:var(--muted);font-size:.77rem;padding:10px 3px}.solution-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:24px;padding-top:17px;border-top:1px solid var(--line)}.solution-actions .text-button{font-size:.7rem;color:var(--muted)}.answer-feedback{margin-top:19px;display:flex;gap:11px;padding:14px 15px;background:var(--theme-raised,#f8efeb);border:1px solid var(--theme-border,#eeddd4);border-radius:8px;color:var(--theme-warning-text,#965435)}.answer-feedback.correct{color:var(--muted)}.answer-feedback.invalid{background:var(--theme-warning-soft,#fbf5e6);border-color:var(--theme-border,#eee1b9);color:var(--theme-warning-text,#8b7138)}.answer-feedback>span{padding-top:2px}.answer-feedback strong{font-size:.85rem}.answer-feedback p{font-size:.81rem;margin:3px 0 0;line-height:1.65}.hint-list{background:var(--theme-warning-soft,#fbf8eb);border:1px solid var(--theme-border,#eee6c9);border-radius:8px;margin-top:16px;padding:14px 17px}.hint-list p{display:flex;gap:9px;font-size:.82rem;color:var(--theme-warning-text,#7f7447);margin:0 0 12px}.hint-list p:last-child{margin:0}.hint-list svg{margin-top:4px}.hint-list strong{font-weight:600}.solution{border-top:1px solid var(--line);padding-top:22px;margin-top:17px}.solution h3{font-size:1rem}.solution .lesson-content p{font-size:.9rem}.compact-exercise{padding:24px}.compact-exercise h2{font-size:1.18rem}.compact-exercise .exercise-prompt{font-size:.83rem}.compact-exercise .exercise-formula{padding:8px}.compact-exercise .exercise-card form{margin-top:18px}.compact-exercise .button{font-size:.76rem}.answer-options{padding:0;border:0;margin:0 0 22px;min-width:0}.answer-options legend{font-size:.8rem;margin-bottom:11px;color:var(--muted)}.answer-options>label{position:relative;display:flex;align-items:center;gap:11px;border:1px solid var(--line);border-radius:8px;padding:12px;margin-bottom:9px;font-size:.87rem;cursor:pointer}.answer-options input{accent-color:var(--teal);width:16px;height:16px;margin:0;flex-shrink:0}.choice-letter{font-size:.73rem}.matrix-answer{display:flex;align-items:center;gap:20px}.matrix-input{display:grid;gap:8px;border-left:2px solid #78515b;border-right:2px solid #78515b;padding:9px 13px;border-radius:4px;max-width:100%;width:max-content}.matrix-input input{height:46px;width:70px;max-width:100%;min-width:0;border:1px solid var(--brand-mid);background:var(--brand-soft);text-align:center;padding:5px;font-size:1rem}.cell-correct{border-color:#78515b!important}.cell-incorrect{border-color:#c47b64!important;background:var(--theme-raised,#fff8f4)!important}.multi-answer{display:flex;gap:20px;flex-wrap:wrap}.multi-answer>div{display:flex;flex-direction:column;gap:7px}.multi-answer label{font-size:.83rem}.script-page{max-width:100%}.script-intro{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:9px 0 26px}.script-intro h2{font-size:1.5rem;margin-bottom:9px}.script-intro p{font-size:.9rem;color:var(--muted);margin-bottom:0}.script-intro>svg{color:var(--muted);margin-right:10px}.script-intro .page-eyebrow{font-size:.62rem;margin-bottom:8px}.formula-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.formula-card{position:relative;min-width:0;border:1px solid var(--line);border-radius:11px;padding:23px;background:var(--theme-panel,#fff)}.formula-card h3{font-size:1rem;letter-spacing:-.025em;padding-right:25px;margin-bottom:22px}.formula-index{position:absolute;right:20px;top:21px;font-size:.67rem;color:var(--muted)}.formula-card .math-block{padding:8px 0}.formula-card p{font-size:.79rem;color:var(--muted);margin:19px 0 0}.checklist{border:1px solid var(--brand-mid);border-radius:12px;padding:25px 29px;margin-top:26px}.checklist h3{font-size:1.13rem;margin-bottom:18px}.checklist p{gap:12px;font-size:.9rem;margin:12px 0}.checklist p,.checklist p>span{display:flex;align-items:center}.checklist p>span{justify-content:center;width:25px;height:25px;border:1px solid var(--brand-mid);border-radius:50%;flex-shrink:0;font-size:.75rem}.checklist .button{margin-top:15px}.storage-warning{padding:14px 18px;border:1px solid #e0ce97;background:var(--theme-warning-soft,#fff6de);border-radius:8px;margin-bottom:24px;font-size:.85rem}.not-found{padding:60px 0}.not-found p{color:var(--muted)}@media(min-width:1500px){.main-content{padding-top:45px}.page-heading h1{font-size:2.9rem}.module-cover{min-height:135px}.module-card-body{padding:28px}.module-card-body p{font-size:.95rem}.module-card-body h3{font-size:1.4rem}}@media(max-width:1180px){.sidebar{width:225px;padding:26px 16px}.app-body{margin-left:225px}.main-content{padding:30px 26px}.topbar{padding:0 26px}.site-footer{padding:20px 26px;flex-wrap:wrap}.overview-stats>div{flex-wrap:wrap;gap:7px}.overview-stats>div>span{flex-basis:100%;padding-left:26px}.overview-stats{padding:15px 0}.workspace-grid{grid-template-columns:190px minmax(0,1fr);gap:18px}.exercise-card,.lesson-card{padding:24px}.module-card-body,.module-cover{padding:22px}.module-cover strong{font-size:.78rem}.module-cover>.math-block{font-size:1.1rem}.module-card-body>p{min-height:69px}.card-links .button{padding:9px 12px;font-size:.79rem}.practice-preview{gap:24px}.section-tabs{gap:20px}.module-page-heading h1{font-size:1.85rem}.module-completion{display:none}.matrix-input input{width:61px}}@media(max-width:960px){.workspace-grid{grid-template-columns:1fr}.content-index{position:static}.index-items{display:flex;overflow-x:auto;gap:7px;padding:10px}.index-items>button{flex:0 0 180px}.index-title{padding:12px 17px}.index-tip{display:none}.module-cards{gap:15px}.course-stamp{width:95px;height:95px;margin-right:0}.course-stamp>span{font-size:40px}.course-stamp small{font-size:.37rem}.page-heading h1{font-size:2.1rem}.card-links,.module-cover{align-items:flex-start;flex-direction:column}.module-cover{gap:8px}.module-cover>div{display:flex;align-items:center;justify-content:space-between;gap:15px;width:100%}.module-cover strong{max-width:120px;font-size:.69rem;margin-top:0}.module-cover>.math-block{align-self:center;font-size:1.4rem;min-height:67px;display:flex;align-items:center}.practice-preview{grid-template-columns:1fr}.practice-intro>p{max-width:none}.learning-steps{grid-template-columns:repeat(3,1fr);gap:15px}.learning-steps>div{display:block}.learning-steps svg{margin-bottom:6px}.section-heading>span{font-size:.65rem}.formula-card{padding:20px}.formula-grid{gap:14px}}@media(max-width:760px){.sidebar{position:static;width:100%;padding:15px 20px;display:block;overflow:visible}.brand-row{display:flex;align-items:center;justify-content:space-between;margin:0}.brand{font-size:1rem}.brand-symbol{width:38px;height:38px;border-radius:10px;font-size:29px}.brand small{font-size:.58rem}.mobile-menu{display:flex;border:1px solid #78515b;background:transparent;color:#f6dce1;padding:8px}.sidebar-bottom,.sidebar-nav{display:none}.mobile-open .sidebar-nav{display:block;padding-top:20px}.sidebar-nav .module-subnav{display:flex;flex-wrap:wrap;margin-left:36px}.sidebar-nav .nav-module{margin-bottom:20px}.sidebar-nav .nav-caption{margin:24px 8px 18px}.app-body{margin-left:0}.topbar{height:58px;padding:0 22px;font-size:.75rem}.slash,.topbar-subject{display:none}.exam-chip{font-size:.66rem}.main-content{padding:28px 22px 35px}.page-heading h1{font-size:2.2rem}.page-heading p{max-width:380px;font-size:.86rem}.page-eyebrow{font-size:.6rem}.page-eyebrow>span{font-size:.58rem}.course-stamp{width:92px;height:92px}.overview-stats>div{padding:0 10px}.overview-stats>div>span{padding-left:0;font-size:.65rem}.overview-stats strong{font-size:1rem}.overview-stats svg{width:17px;height:17px}.section-heading>span{font-size:.65rem;max-width:130px;text-align:right}.module-card-body h3{font-size:1.15rem}.module-card-body>p{font-size:.8rem;min-height:77px}.module-counts{gap:10px;font-size:.67rem;flex-wrap:wrap}.module-cover{padding:18px}.module-card-body{padding:20px}.site-footer{padding:20px 22px;font-size:.62rem;gap:7px}.module-page-heading h1{font-size:1.9rem}.module-page-heading p{font-size:.85rem}.section-tabs{gap:24px}.section-tabs>a{font-size:.83rem}.lesson-card h2{font-size:1.4rem}.exercise-card,.lesson-card{padding:24px}.lesson-content p{font-size:1rem}.practice-preview{padding-top:28px;margin-top:27px}.lesson-content .katex{font-size:1.02em}.formula-grid{gap:14px}.formula-card h3{font-size:.92rem}.formula-card .math-block{font-size:.91rem}.matrix-input input{width:70px}.lesson-meta{font-size:.61rem}}@media(max-width:480px){.main-content{padding:25px 17px 30px}.topbar{padding:0 17px}.course-stamp{display:none}.page-heading h1{font-size:2.2rem;line-height:1.2}.overview-stats{gap:0}.overview-stats>div{gap:6px;padding:0 8px}.overview-stats>div>span{font-size:.62rem}.module-cards{grid-template-columns:1fr;gap:20px}.module-cover{flex-direction:row;align-items:center;padding:20px 24px;min-height:105px}.module-cover>div{display:block;width:auto}.module-cover strong{font-size:.82rem;max-width:155px;margin-top:7px}.module-cover>.math-block{min-height:auto;display:block;font-size:1.25rem}.module-card-body{padding:23px}.module-card-body h3{font-size:1.25rem}.module-card-body>p{min-height:auto;font-size:.87rem}.module-counts{font-size:.75rem;gap:22px}.card-links{flex-direction:row;align-items:center}.card-links .button{padding:10px 16px;font-size:.83rem}.learning-steps{gap:10px}.learning-steps>div{font-size:.69rem}.learning-steps strong{font-size:.78rem}.practice-preview{gap:24px}.section-tabs{gap:17px}.section-tabs>a{gap:6px;font-size:.76rem}.section-tabs svg{width:16px}.section-tabs>a>span{display:none}.module-page-heading h1{font-size:1.7rem}.exercise-card,.lesson-card{padding:22px 19px}.lesson-meta{flex-wrap:wrap}.lesson-content p{font-size:.95rem}.callout{padding:16px 13px;gap:9px}.callout p{font-size:.82rem}.equation{padding:13px 10px}.lesson-bottom{align-items:flex-start;flex-direction:column}.exercise-actions{gap:10px}.exercise-actions .button{font-size:.81rem;padding:10px 13px}.exercise-actions .hint-button{padding-left:0}.solution-actions{gap:10px;flex-wrap:wrap}.solution-actions .text-button{font-size:.68rem}.matrix-answer{gap:14px;flex-wrap:wrap}.matrix-input{padding:7px 9px;gap:7px}.matrix-input input{width:64px}.formula-grid{grid-template-columns:1fr}.formula-card .math-block{font-size:1rem}.script-intro h2{font-size:1.35rem}.script-intro>svg{display:none}.checklist{padding:23px 20px}.exercise-position{font-size:.69rem}.exercise-position>a{gap:5px}.site-footer{padding:18px}.section-heading h2{font-size:1.15rem}.index-items>button{flex-basis:164px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}.brand small,.difficulty,.exam-chip,.exercise-meta>span:last-child,.exercise-position,.formula-index,.index-items small,.index-number,.index-title,.input-help,.lesson-meta,.module-cover>div>span,.module-number,.module-progress>span,.nav-caption,.nav-caption span,.page-eyebrow,.page-eyebrow>span,.practice-intro .page-eyebrow,.script-intro .page-eyebrow,.section-heading>span,.section-tabs>a>span,.sidebar-progress small,.site-footer{font-size:.75rem}.button,.card-links .button,.compact-exercise .button,.exercise-actions .button,.exercise-actions .hint-button,.formula-card p,.hint-button,.index-items>button,.index-tip p,.learning-steps strong,.learning-steps>div,.lesson-pagination .button,.module-counts,.module-subnav a,.module-title,.section-tabs>a,.sidebar-progress,.solution-actions .text-button,.text-button{font-size:.875rem}.module-cover{height:150px;min-height:150px}.module-cover .katex-display{margin:0}.module-cover>.math-block{font-size:1.25rem}.module-cover strong{font-size:.875rem}.module-card-body>p{font-size:1rem;min-height:78px}.module-card-body{display:flex;flex-direction:column;height:calc(100% - 150px)}.card-links{margin-top:auto}.module-counts{gap:8px 17px}.sidebar-bottom>p{font-size:.875rem}.sidebar-bottom>p strong{font-size:.8rem}.overview-stats>div>span{font-size:.875rem}.module-cover>div{min-width:0}.module-cover>.math-block{flex-shrink:1}.module-completion>span{font-size:.875rem}@media(max-width:960px){.module-cover{height:170px;min-height:170px}.module-card-body{height:calc(100% - 170px)}.module-cover>div{display:block}.module-cover strong{margin-top:5px;max-width:none;font-size:.8rem}.module-card-body>p{min-height:120px}.overview-stats>div>span{font-size:.75rem}.section-heading>span{max-width:155px;text-align:right}.module-cover>div>span{font-size:.75rem}}@media(max-width:760px){.module-subnav{padding-left:8px}.section-tabs{gap:18px}.section-tabs>a{font-size:.875rem}.main-content{padding-left:20px;padding-right:20px}.lesson-meta{flex-wrap:wrap}.module-counts{font-size:.8rem}.module-card-body>p{min-height:120px}.site-footer{font-size:.75rem}}@media(max-width:480px){.module-cover{height:130px;min-height:130px}.module-card-body{height:auto}.module-card-body>p{min-height:0}.module-cover strong{font-size:.875rem;max-width:145px}.module-cover>.math-block{font-size:1.2rem}.section-tabs{gap:13px;justify-content:space-between}.section-tabs>a{font-size:.81rem;gap:5px}.section-tabs>a svg{display:none}.exercise-position{flex-wrap:wrap}.solution-actions{align-items:flex-start;flex-direction:column}.module-title{font-size:.875rem}.overview-stats>div>span{font-size:.75rem;line-height:1.45}.page-eyebrow{flex-wrap:wrap;gap:8px}.learning-steps{grid-template-columns:1fr;gap:14px}.learning-steps>div{display:flex}.learning-steps svg{margin:3px 0 0}.input-help{line-height:1.5}.main-content{padding-left:17px;padding-right:17px}}body{background:linear-gradient(180deg,var(--brand-soft) 0,var(--brand-soft) 100%)}::selection{background:var(--brand-soft);color:var(--ink)}a:focus-visible,button:focus-visible,input:focus-visible{outline-color:var(--brand)}.sidebar{background:linear-gradient(180deg,var(--deep) 0,var(--deep) 100%);color:#f6dce1}.brand-symbol{background:var(--theme-panel,#fff);color:var(--brand);font:800 24px/1 Manrope,DM Sans,sans-serif;box-shadow:0 8px 22px #ba476235}.brand small,.nav-caption,.nav-caption span,.sidebar-bottom>p,.sidebar-progress small{color:#f6dce1}.module-subnav a:hover,.module-subnav a[aria-current],.nav-home.active,.nav-home:hover{background:var(--brand-dark)}.selected .module-number{background:var(--theme-panel,#fff);border-color:var(--theme-border,#fff);color:var(--brand)}.module-subnav{border-left-color:#78515b}.module-subnav a{color:#f6dce1}.sidebar-progress{background:var(--deep);border:1px solid #78515b}.sidebar-progress strong{color:var(--brand-dark)}.sidebar-progress progress::-webkit-progress-bar{background:var(--brand-dark)}.sidebar-progress progress::-webkit-progress-value{background:var(--brand-soft)}.sidebar-progress progress::-moz-progress-bar{background:var(--brand-soft)}.topbar{background:var(--theme-glass,rgba(255,255,255,.86))}.exam-chip{border-color:var(--brand-mid);background:var(--brand-soft)}.exam-chip,.page-eyebrow{color:var(--brand-dark)}.page-eyebrow>span{border-left-color:var(--brand-mid);color:var(--muted)}.course-stamp{background:var(--brand-soft);border-color:var(--brand-mid);color:var(--brand-dark)}.teachify-stamp{transform:rotate(5deg);box-shadow:0 12px 30px #ba476219}.teachify-stamp>span{font:800 46px/1 Manrope,DM Sans,sans-serif}.teachify-stamp small{color:var(--brand-dark);text-align:center;max-width:84px;line-height:1.35}.module-card{box-shadow:0 12px 35px #ba47620a}.module-card:hover{box-shadow:0 16px 38px #ba476218}.module-cover{background-image:linear-gradient(#ba47620a 1px,transparent 0),linear-gradient(90deg,#ba47620a 1px,transparent 0)}.cover-02,.module-cover{background-color:var(--brand-soft);border-bottom-color:var(--brand-mid)}.cover-02>div>span,.module-cover>div>span,.secondary{color:var(--brand-dark)}.secondary{border-color:var(--brand-mid)}.secondary:hover{background:var(--brand-soft)}.completed,.text-button,.text-button:hover{color:var(--brand-dark)}.completed{background:var(--brand-soft);border-color:var(--brand-mid)}.section-tabs{overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}.section-tabs>a{white-space:nowrap;margin-bottom:0;flex-shrink:0}.content-index{border-color:var(--brand-mid);background:var(--theme-panel,#fff)}.index-items>button[aria-current=step],.index-number.done{background:var(--brand-soft);color:var(--brand-dark)}.index-number,.index-number.done{border-color:var(--brand-mid)}.exercise-card,.formula-card,.lesson-card{border-color:var(--brand-mid);box-shadow:0 10px 30px #ba476207}.lesson-objective{border-left-color:var(--brand-mid)}.callout,.lesson-objective{background:var(--brand-soft)}.callout{border-color:var(--brand-mid)}.callout.warning{background:var(--theme-warning-soft,#fff8e7);border-color:var(--theme-border,#f0dba7)}.difficulty,.equation,.exercise-formula{background:var(--brand-soft);border-color:var(--brand-mid)}.difficulty{color:var(--brand-dark)}.difficulty.medium{background:var(--theme-warning-soft,#fff6de);color:var(--theme-warning-text,#8b6818);border-color:#eedb9e}.difficulty.advanced{background:var(--theme-soft,#f5ecff);color:var(--theme-accent,#7744a5);border-color:var(--theme-border,#ddc6f2)}.answer-feedback.correct{background:var(--brand-soft);border-color:var(--brand-mid);color:var(--brand-dark)}.answer-feedback.incorrect,.answer-feedback.invalid{background:var(--theme-soft,#fff1f0);border-color:var(--theme-border,#efc2be)}.solution{background:var(--theme-raised,#faf9f8);border:1px solid var(--theme-border,#e8e5e3);border-radius:12px;padding:24px;margin-top:22px}.script-intro,.video-hero,.worked-page-intro{background:linear-gradient(135deg,var(--brand-soft) 0,var(--brand-soft) 100%);border:1px solid var(--brand-mid)}.checklist{background:var(--brand-soft);border-color:var(--brand-mid)}.formula-index{color:var(--brand-dark)}.course-flow{margin-top:38px;padding-top:34px;border-top:1px solid var(--line)}.flow-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.flow-grid>div{background:var(--theme-panel,#fff);border:1px solid var(--line);border-radius:14px;padding:20px;min-height:150px;display:flex;flex-direction:column;align-items:flex-start;box-shadow:0 10px 25px #ba476208}.flow-grid svg{color:var(--brand);margin-bottom:18px}.flow-grid strong{font:700 .92rem/1.3 Manrope,DM Sans,sans-serif;margin-bottom:7px;color:var(--ink)}.flow-grid span{font-size:.8rem;line-height:1.55;color:var(--muted)}.video-page,.worked-page{padding-top:3px}.video-hero,.worked-page-intro{display:flex;align-items:center;justify-content:space-between;gap:30px;border-radius:16px;padding:28px 30px;margin-bottom:22px}.video-hero h2,.worked-page-intro h2{font-size:1.55rem;margin-bottom:8px}.video-hero p,.worked-page-intro p{color:var(--muted);max-width:760px;margin:0;font-size:.9rem}.video-hero .page-eyebrow,.worked-page-intro .page-eyebrow{margin-bottom:8px}.video-hero-icon{width:68px;height:68px;border-radius:18px;background:var(--theme-panel,#fff);display:flex;align-items:center;justify-content:center;box-shadow:0 12px 30px #ba47621a}.video-hero-icon,.worked-page-intro>svg{color:var(--brand);flex-shrink:0}.solved-workspace .solved-index{max-height:calc(100dvh - 44px);display:flex;flex-direction:column;min-width:0}.solved-index .index-title{flex-shrink:0}.solved-index .index-items{overflow-y:auto;min-height:0;overscroll-behavior:contain}.solved-index .index-items>button>span:last-child{min-width:0;overflow-wrap:anywhere}.solved-workspace .workspace-main{scroll-margin-top:22px}.study-resume{display:flex;align-items:center;gap:20px;padding:23px 26px;margin:0 0 30px;border:1px solid var(--brand-mid);border-radius:14px;background:var(--brand-soft)}.study-resume>svg{color:var(--brand-dark);flex-shrink:0}.study-resume>div{min-width:0;flex:1 1}.study-resume h2{font-size:1.2rem;line-height:1.5;margin:5px 0;overflow-wrap:anywhere}.study-resume p{font-size:.82rem;color:var(--muted);margin:0}.study-resume .page-eyebrow{font-size:.65rem}.study-resume>.button{flex-shrink:0}.study-notice{display:flex;align-items:center;gap:12px;flex-wrap:wrap;color:var(--muted);font-size:.8rem;margin:10px 0 20px}.study-notice p{margin:0}.study-notice button{color:var(--brand-dark)}.study-filter{display:grid;gap:7px;padding:13px 15px;border-bottom:1px solid var(--line);font-size:.74rem;font-weight:600;flex-shrink:0}.study-filter select{min-width:0;width:100%;border:1px solid var(--line);border-radius:6px;padding:9px 7px;background:var(--theme-panel,#fff);color:var(--ink);font:inherit;font-weight:400}.solved-index .index-items small.study-mark{color:var(--brand-dark);font-weight:550}.task-review-controls{margin:16px 0 20px;padding-top:16px;border-top:1px solid var(--line)}.task-review-buttons{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.task-review-buttons .button{font-size:.76rem;padding:9px 12px;min-height:40px}.task-review-buttons .button[aria-pressed=true]{background:var(--brand-soft);border-color:var(--brand);color:var(--brand-dark)}.task-review-buttons .button:disabled{opacity:.6;cursor:wait}.task-review-help{font-size:.72rem!important;color:var(--muted)!important;margin:9px 0 0;line-height:1.6}.task-review-feedback{font-size:.75rem;color:var(--brand-dark);display:flex;gap:10px;align-items:center;flex-wrap:wrap}.task-review-feedback:not(:empty){margin-top:8px}.study-empty p{color:var(--muted);font-size:.9rem}.study-empty>.text-button{margin-left:15px}@media(max-width:600px){.study-resume{padding:19px;gap:12px;flex-wrap:wrap}.study-resume>svg{display:none}.study-resume>.button{width:100%}.study-resume>div{flex-basis:100%}.task-review-buttons .button{min-height:44px}.solved-mobile-index .study-filter{padding:0 0 10px}.study-resume h2{font-size:1.1rem}}.solved-pagination{display:flex;justify-content:space-between;gap:10px}.solved-pagination .button{font-size:.8rem;padding:9px 13px}.solved-pagination .button:disabled{opacity:.45;cursor:default}.solved-workspace .workspace-main>.solved-pagination{margin-top:18px}.solved-mobile-index{display:none}@media(max-width:960px){.solved-workspace .solved-index{display:none}.solved-mobile-index{display:grid;gap:8px;min-width:0;padding:16px;background:var(--theme-panel,#fff);border:1px solid var(--line);border-radius:11px}.solved-mobile-index label{font-size:.8rem;font-weight:600}.solved-mobile-index select{width:100%;min-width:0;padding:12px;border:1px solid var(--line);border-radius:7px;background:var(--theme-panel,#fff);color:var(--ink);font:inherit;font-size:.85rem}}@media(max-width:480px){.solved-pagination .button{min-height:44px}}.video-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.video-card{background:var(--theme-panel,#fff);border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:0 12px 28px #ba476208}.video-frame,.video-placeholder{aspect-ratio:16/9;background:var(--deep);position:relative;overflow:hidden}.video-frame iframe,.video-frame video{width:100%;height:100%;border:0;display:block;object-fit:cover}.video-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#f6dce1;background:radial-gradient(circle at 50% 20%,var(--brand-dark) 0,var(--deep) 40%,var(--deep) 100%);padding:25px}.video-placeholder:after{content:"";position:absolute;inset:0;background-image:linear-gradient(#fff07 1px,transparent 0),linear-gradient(90deg,#fff07 1px,transparent 0);background-size:24px 24px;pointer-events:none}.video-placeholder>*{position:relative;z-index:1}.play-orb{width:62px;height:62px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#ffffff16;border:1px solid #ffffff35;margin-bottom:13px;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.video-placeholder>span{font-size:.65rem;letter-spacing:.15em;color:var(--brand-dark);margin-bottom:4px}.video-placeholder>strong{font:650 1rem/1.35 Manrope,DM Sans,sans-serif;max-width:330px}.video-placeholder>small{font-size:.72rem;color:#f6dce1;margin-top:5px}.video-card-body{padding:18px 20px 21px}.video-card-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:.68rem;color:var(--muted);letter-spacing:.04em;margin-bottom:9px}.video-card-meta span:last-child{display:flex;align-items:center;gap:5px;letter-spacing:0}.video-card h3{font-size:1.04rem;margin-bottom:7px}.video-card p{font-size:.82rem;color:var(--muted);margin:0}.video-placeholder .button,.video-placeholder .text-button{margin-top:16px}.video-placeholder .text-button{color:#fff}.video-card-body>.button,.video-card-body>.text-button{margin-top:12px}.video-card-meta span:last-child{flex-shrink:0}.video-card-meta span:first-child{min-width:0;overflow-wrap:anywhere}.worked-list{display:grid;gap:24px}.worked-card{min-width:0;background:var(--theme-panel,#fff);border:1px solid var(--line);border-radius:16px;padding:30px 32px;box-shadow:0 4px 20px #29272a05}.worked-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px;font-size:.66rem;font-weight:600;letter-spacing:.1em;color:var(--muted)}.worked-card>h3{font-size:1.3rem;margin-bottom:12px;letter-spacing:-.025em}.worked-prompt{color:var(--muted);font-size:.92rem;margin-bottom:15px}.worked-formula{background:var(--brand-soft);border:1px solid var(--brand-mid);border-radius:11px;padding:15px 18px;margin:0 0 17px;overflow-x:auto}.worked-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:4px}.final-answer{margin-top:24px;padding:20px;background:var(--brand-soft);border:1px solid var(--brand-mid);border-radius:10px;display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-width:0}.final-answer>span{display:flex;align-items:center;gap:7px;font-size:.66rem;font-weight:700;letter-spacing:.1em;color:var(--brand-dark)}.answer-value{font:700 1rem/1.4 Manrope,DM Sans,sans-serif;color:var(--ink);text-align:right}.worked-matrix{display:flex;align-items:center;gap:14px;min-width:0}.worked-matrix>.math-block{font-size:1rem;overflow-x:auto}.worked-fields{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.worked-solution{margin-top:12px;border:1px solid var(--brand-mid);border-radius:12px;padding:20px;background:var(--brand-soft)}.worked-solution h4{font:700 .92rem/1.4 Manrope,DM Sans,sans-serif;margin:0 0 13px;color:var(--brand-dark)}.worked-solution .lesson-content p:last-child{margin-bottom:0}.lesson-related-links{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.math-inline{display:inline-block;max-width:100%;overflow-x:auto;overflow-y:hidden;vertical-align:middle;padding:2px 0}.callout>div{min-width:0}.exercise-position>div{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.exercise-position>div>a{display:flex;align-items:center;gap:6px;color:var(--brand-dark)}@media(max-width:1100px){.flow-grid{grid-template-columns:repeat(2,1fr)}.section-tabs{gap:14px}.section-tabs>a{font-size:.78rem}}@media(max-width:760px){.video-grid{grid-template-columns:1fr}.video-hero,.worked-page-intro{padding:23px 21px}.video-hero-icon,.worked-page-intro>svg{display:none}.worked-card{padding:22px 20px}.final-answer{align-items:flex-start;flex-direction:column;gap:8px}.answer-value{text-align:left}.section-tabs{justify-content:flex-start;padding-bottom:2px}}@media(max-width:520px){.flow-grid{grid-template-columns:1fr}.flow-grid>div{min-height:auto}.worked-actions{align-items:stretch;flex-direction:column}.worked-actions .button{width:100%}.worked-matrix{align-items:flex-start;flex-direction:column}.video-card-body{padding:17px}.section-tabs>a{font-size:.76rem}}.lesson-content li::marker{color:var(--brand)}.callout{border-left-color:var(--brand-mid)}.callout>svg{color:var(--brand)}.button.completed{color:var(--brand-dark);background:var(--brand-soft);border-color:var(--brand-mid)}.button.completed:hover{color:var(--brand-dark);background:var(--theme-soft,#f6e5eb);border-color:var(--theme-border,#d7b7c0)}.matrix-input{border-left-color:#78515b;border-right-color:#78515b}.answer-options>label.checked{border-color:#78515b;background:var(--brand-soft)}.cell-correct{border-color:var(--brand-mid)!important;background:var(--brand-soft)!important}.script-intro>svg{color:var(--brand)}.choice-letter{color:var(--muted)}body{background:var(--surface);color:var(--ink)}::selection{background:var(--theme-soft,#ffc4cf);color:var(--theme-muted,#29272a)}a:focus-visible,button:focus-visible,input:focus-visible{outline-color:#e85f78}.sidebar{background:linear-gradient(180deg,#2d292b,#3b3033);color:#fff8f9}.brand-symbol{background:var(--theme-soft,#ffb2c0);color:var(--theme-muted,#29272a);position:relative;overflow:hidden;box-shadow:0 8px 22px #160d1035}.brand-symbol>span{position:relative;z-index:1}.brand-symbol>i{position:absolute;width:8px;height:8px;border-radius:50%;right:6px;bottom:6px;background:#e85f78}.brand small,.nav-caption,.nav-caption span,.sidebar-bottom>p,.sidebar-progress small{color:#dcbcc3}.module-subnav a:hover,.module-subnav a[aria-current],.nav-home.active,.nav-home:hover{background:#5b343e;color:#fff}.module-number{border-color:#78515b;color:#f6dce1}.selected .module-number{background:var(--theme-soft,#ffb2c0);border-color:var(--theme-border,#ffb2c0);color:var(--theme-muted,#29272a)}.module-subnav{border-left-color:#66434c}.module-subnav a{color:#e4cbd0}.sidebar-progress{background:#252124;border-color:#67404b}.sidebar-progress strong{color:var(--theme-accent,#ffb2c0)}.sidebar-progress progress::-webkit-progress-bar{background:#5a3d45}.sidebar-progress progress::-webkit-progress-value{background:#ff9daf}.sidebar-progress progress::-moz-progress-bar{background:#ff9daf}progress::-webkit-progress-value{background:var(--brand)}progress::-moz-progress-bar{background:var(--brand)}.topbar{background:var(--theme-glass,rgba(255,255,255,.88));-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.exam-chip{border-color:var(--theme-border,#f0cbd3);background:var(--theme-soft,#fff0f3)}.exam-chip,.page-eyebrow{color:var(--theme-accent,#b83e59)}.page-eyebrow>span{border-left-color:var(--theme-border,#efc5ce);color:var(--theme-muted,#8c7b81)}.page-heading h1 span{color:var(--brand)}.course-stamp{background:var(--theme-soft,#fff0f3);border-color:var(--theme-border,#f3a8b7);color:var(--theme-accent,#a43c54)}.teachify-stamp{box-shadow:0 12px 30px #c84f6819}.teachify-stamp>span{color:var(--brand)}.teachify-stamp small{color:var(--theme-accent,#a64d60)}.learning-steps svg,.overview-stats svg{color:var(--brand)}.module-card{box-shadow:0 12px 35px #c84f680d}.module-card:hover{box-shadow:0 16px 38px #c84f681c}.module-cover{background-color:var(--theme-soft,#fff0f3);border-bottom-color:var(--theme-border,#f6d2d9);background-image:linear-gradient(#e85f780a 1px,transparent 0),linear-gradient(90deg,#e85f780a 1px,transparent 0)}.cover-02{background-color:var(--theme-soft,#fff5ed);border-bottom-color:var(--theme-border,#f3ded3)}.cover-02>div>span,.module-cover>div>span{color:var(--theme-accent,#b83e59)}.primary{background:var(--brand);color:#fff}.primary:hover{background:var(--brand-dark)}.secondary{border-color:var(--theme-border,#e1dadd);color:var(--theme-muted,#574b52)}.secondary:hover{background:var(--theme-raised,#fbf4f6);border-color:var(--theme-border,#d7b7c0)}.text-button{color:var(--theme-accent,#b83e59)}.text-button:hover{color:var(--theme-accent,#8f3048)}.section-tabs>a.active{color:var(--brand);border-bottom-color:var(--brand)}.content-index{border-color:var(--theme-border,#eedfe3)}.index-items>button[aria-current=step]{background:var(--theme-soft,#fff0f3);color:var(--theme-accent,#a43c54)}.index-number{border-color:var(--theme-border,#ead9de)}.exercise-card,.formula-card,.lesson-card{border-color:var(--theme-border,#efdee2);box-shadow:0 10px 30px #a43c5408}.lesson-objective{border-left-color:#ed8ea0}.callout,.lesson-objective{background:var(--theme-soft,#fff1f4)}.callout{border-color:var(--theme-border,#f2d5db)}.equation,.exercise-formula{background:var(--theme-raised,#fff6f7);border-color:var(--theme-border,#f1dfe3)}.difficulty{background:var(--theme-soft,#fff0f3);color:var(--theme-accent,#a43c54);border-color:var(--theme-border,#f0cbd3)}.script-intro,.video-hero,.worked-page-intro{background:linear-gradient(135deg,var(--theme-soft,#fff0f3) 0,var(--theme-panel,#fffafb) 100%);border-color:var(--theme-border,#f0d6dc)}.checklist{background:var(--theme-soft,#fff0f3);border-color:var(--theme-border,#f0d6dc)}.formula-index{color:var(--theme-accent,#b83e59)}.flow-grid svg,.video-hero-icon,.worked-page-intro>svg{color:var(--brand)}.video-placeholder{background:radial-gradient(circle at 50% 20%,#d95c75 0,#a8435a 40%,#392a2f 100%)}.brand{align-items:flex-start;flex-wrap:wrap;row-gap:3px}.teachify-logo{display:block;width:126px;height:auto;max-height:52px;object-fit:contain;object-position:left center}.brand-course{flex-basis:100%;margin-left:0}.brand-course small{display:block}.teachify-stamp{width:150px;height:auto;min-height:0;aspect-ratio:514/249;transform:rotate(3deg);padding:16px;border-radius:18px}.teachify-stamp img{display:block;width:100%;height:auto}.teachify-stamp small,.teachify-stamp>span{display:none}@media(max-width:760px){.teachify-logo{width:112px}.brand-course{display:none}.teachify-stamp{width:132px;padding:13px}}.callout p,.lesson-content p{white-space:pre-line}.lesson-heading{color:var(--ink);letter-spacing:-.02em;line-height:1.35}.lesson-heading.level-2{font-size:1.28rem;margin:36px 0 12px}.lesson-heading.level-3{font-size:1.08rem;margin:28px 0 10px}.lesson-heading.level-4{font-size:.98rem;margin:22px 0 8px}.lesson-content>.lesson-heading:first-child{margin-top:0}.equation .equation-lead{font-size:.9rem;margin:0 0 6px;color:var(--muted)}.equation .equation-caption{font-size:.78rem;margin:6px 0 0;color:var(--muted);text-align:center}.definition-box{border:1px solid var(--brand-mid);background:var(--brand-soft);border-radius:10px;padding:18px 20px;margin:24px 0}.definition-label{display:inline-flex;align-items:center;gap:6px;font-size:.66rem;letter-spacing:.1em;text-transform:uppercase;color:var(--brand-dark);font-weight:650;margin-bottom:8px}.definition-box>strong{display:block;font-size:1rem;margin-bottom:4px}.definition-box p{margin:6px 0 0}.worked-step{border:1px solid var(--line);border-left:3px solid var(--brand);border-radius:0 8px 8px 0;background:var(--theme-panel,#fff);padding:15px 18px;margin:18px 0}.worked-step>strong{display:block;font-size:.92rem;margin-bottom:4px}.worked-step p{margin:0}.lesson-figure{margin:24px 0}.lesson-figure img{display:block;max-width:100%;height:auto;border-radius:8px;border:1px solid var(--line)}.lesson-figure figcaption{font-size:.78rem;color:var(--muted);margin-top:8px;text-align:center}.lesson-divider{border:0;border-top:1px dashed var(--line);margin:34px 0}.textbook-state h2{margin-bottom:13px}.textbook-state .lesson-objective{margin-bottom:22px}.auth-callback{max-width:560px}.dev-token{margin-top:26px;padding-top:18px;border-top:1px dashed var(--line)}.dev-token label{display:block;font-size:.75rem;color:var(--muted);margin-bottom:8px}.dev-token>div{display:flex;gap:10px;flex-wrap:wrap}.dev-token input{flex:1 1 260px;min-width:0;height:42px;border:1px solid var(--line);border-radius:8px;padding:0 12px;font:inherit;font-size:.85rem}.content-skeleton,.index-skeleton{background:linear-gradient(90deg,var(--surface) 0,var(--brand-soft) 50%,var(--surface) 100%);background-size:200% 100%;animation:skeleton 1.2s ease-in-out infinite;border-radius:7px}.index-skeleton{height:40px;margin:4px 2px 8px}.content-skeleton{height:16px;margin:16px 0}.content-skeleton.short{width:62%}@keyframes skeleton{0%{background-position:100% 0}to{background-position:-100% 0}}@media(prefers-reduced-motion:reduce){.content-skeleton,.index-skeleton{animation:none}}@media(max-width:960px){.index-skeleton{flex:0 0 164px}}.task-statement{margin:4px 0 18px}.task-statement .lesson-content p{font-size:.95rem;color:var(--theme-muted,#56515a);line-height:1.8}.task-statement .equation{margin:18px 0}.worked-card .task-statement{margin-bottom:17px}.text-answer{flex-wrap:wrap}.text-answer input{width:min(360px,100%);text-align:left}.code-answer,.code-block{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.85rem;line-height:1.6}.code-answer{display:block;width:100%;padding:12px;background:var(--brand-soft);resize:vertical}.code-answer,.code-block{border:1px solid var(--line);border-radius:8px}.code-block{background:var(--theme-raised,var(--surface));color:var(--ink);padding:14px 16px;overflow-x:auto;margin:18px 0;white-space:pre;tab-size:4;font:.9rem/1.75 ui-monospace,SFMono-Regular,Consolas,Courier New,monospace}.code-block code{color:inherit;font:inherit}.db-matrix{flex-direction:column;align-items:flex-start;gap:12px}.matrix-size{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:.8rem;color:var(--muted)}.matrix-size-cols{display:inline-flex;align-items:center;gap:8px;margin-left:10px}.matrix-size .icon-button,.system-controls .icon-button{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border:1px solid var(--line);border-radius:7px;background:var(--theme-panel,#fff);color:var(--ink);cursor:pointer;padding:0}.system-answer{align-items:flex-end}.system-answer>div:not(.system-controls){flex-direction:row;align-items:center;gap:6px}.system-answer .system-name{width:56px}.system-answer .system-name+input:before{content:"="}.system-controls{flex-direction:row!important;gap:6px!important}.hint-item{display:flex;gap:9px;font-size:.82rem;color:var(--theme-warning-text,#7f7447);margin:0 0 12px}.hint-item:last-child{margin-bottom:0}.hint-item>svg{flex-shrink:0;margin-top:4px}.hint-item strong{font-weight:600}.hint-item .lesson-content p{font-size:.82rem;color:var(--theme-warning-text,#7f7447);line-height:1.65;margin:2px 0 0}.hint-item .equation{margin:8px 0;padding:8px 10px}.task-steps{list-style:none;counter-reset:step;padding:0;margin:24px 0 0}.task-steps>li{counter-increment:step;position:relative;isolation:isolate;min-width:0;padding:2px 0 26px 46px;margin:0}.task-steps>li:last-child{padding-bottom:0}.task-steps>li:before{content:counter(step,decimal-leading-zero);position:absolute;left:0;top:0;width:30px;height:30px;border:1px solid var(--theme-border,#e9ced6);border-radius:9px;background:var(--brand-soft);color:var(--brand-dark);font-size:.7rem;display:flex;align-items:center;justify-content:center;font-weight:700}.task-steps>li:not(:last-child):after{content:"";position:absolute;left:14px;top:38px;bottom:8px;width:1px;background:var(--theme-raised,#e4dddf);z-index:-1}.task-steps>li>strong{display:block;font-size:.92rem;font-weight:650;line-height:1.65;margin-bottom:8px}.task-steps .lesson-content p{font-size:.9rem;line-height:1.8;margin:8px 0}.task-steps .equation{margin:14px 0 0}.task-steps>li.locked:before{background:var(--theme-raised,#f0eeed);border-color:var(--theme-border,#dedad8);color:var(--muted)}.task-step-lock{display:flex;align-items:center;gap:6px;font-size:.8rem;color:var(--muted);margin:4px 0 0}.final-answer .lesson-content{width:100%}.final-answer .lesson-content p{font-size:.92rem;margin:0}.final-answer .equation{margin:10px 0 0;background:var(--theme-panel,#fff)}.lesson-task{margin:26px 0}.lesson-task>.lesson-content p{margin:0 0 10px}.lesson-task .exercise-card,.lesson-task .worked-card{box-shadow:none}.exercise-card .equation,.exercise-formula,.worked-card .equation{min-width:0;padding:18px 20px;background:var(--theme-raised,#f7f6f8);border:1px solid var(--theme-border,#e7e3e9);border-radius:10px;color:var(--ink)}.solution .equation{background:var(--theme-panel,#fff);border-color:var(--theme-border,#e5e1e5);padding:16px 18px}.solution .lesson-content li,.solution .lesson-content p{color:var(--theme-muted,#56515a)}.solution-heading{display:flex;align-items:center;gap:10px;padding-bottom:17px;border-bottom:1px solid var(--theme-border,#e7e2e4)}.solution-heading>svg{color:var(--brand-dark)}.solution-heading h3{font-size:1rem;line-height:1.5;letter-spacing:-.02em;margin:0}.solution-heading>span{margin-left:auto;font-size:.7rem;color:var(--muted);white-space:nowrap}.worked-actions{gap:12px;margin-top:22px}.worked-actions .button{min-height:44px;border-radius:9px;font-weight:600}.worked-actions .secondary[aria-expanded=true]{color:var(--brand-dark);border-color:var(--theme-border,#dfbac5);background:var(--brand-soft)}.solution-chevron{transition:transform .2s ease}[aria-expanded=true]>.solution-chevron{transform:rotate(180deg)}.worked-card .difficulty{border:1px solid var(--brand-mid);border-radius:6px;font-size:.66rem;letter-spacing:.025em;padding:4px 10px}.worked-card .difficulty.medium{background:var(--theme-warning-soft,#faf5e8);border-color:var(--theme-border,#eadfc0);color:var(--theme-warning-text,#7d632a)}.worked-card .difficulty.advanced{background:var(--theme-soft,#f3eef8);border-color:var(--theme-border,#e1d5ed);color:var(--theme-accent,#72518b)}.solution>.input-help{margin:0;color:var(--muted)}.solution>.answer-feedback{margin:0}.final-answer .lesson-content p{color:var(--ink)}.final-answer .equation{border-color:var(--brand-mid)}@media(max-width:760px){.solution{padding:20px}}@media(max-width:520px){.worked-card{padding:20px 16px}.worked-topline{gap:8px;font-size:.6rem;letter-spacing:.06em}.solution{padding:16px 12px;margin-top:18px}.solution-heading{flex-wrap:wrap;gap:8px}.solution-heading h3{font-size:.9rem}.solution-heading>span{flex-basis:100%;margin-left:27px}.task-steps>li{padding-left:38px}.exercise-card .equation,.worked-card .equation{padding:13px 10px}.final-answer{padding:16px 12px}}@media(prefers-reduced-motion:reduce){.solution-chevron{transition:none}}.access-screen{position:relative;isolation:isolate;min-height:100vh;min-height:100svh;display:grid;place-items:center;padding:56px 24px;overflow:hidden;background:radial-gradient(ellipse at 50% 46%,var(--theme-panel,#fffefe) 0,var(--theme-raised,#fdf8f9) 62%,var(--theme-raised,#fcf5f7) 100%);color:var(--ink)}.access-decoration{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:-1}.access-wave{position:absolute;fill:#fce5ee}.access-wave-top{left:0;top:0;width:29%;height:30%;opacity:.78}.access-wave-bottom{left:0;bottom:0;width:34%;height:40%;opacity:.55}.access-wave-right{right:0;bottom:0;width:19%;height:17%;opacity:.83}.access-note{position:absolute;font:500 32px/.96 Caveat,Segoe Print,cursive;color:var(--theme-accent,#e8adc4);opacity:.7;transform:rotate(-12deg)}.access-note-top{right:3.7%;top:8%;text-align:center}.access-note-top>span{padding-left:9px}.access-note>svg{display:block;width:30px;height:36px;margin:7px auto 0;stroke-width:1.5;transform:rotate(7deg)}.access-note-top>svg{margin-left:auto;margin-right:12px}.access-note-bottom{left:3.4%;bottom:4.3%;font-size:27px;transform:rotate(-9deg)}.access-note-bottom>svg{margin-left:5px}.access-cap{position:absolute;right:3.3%;bottom:13.5%;width:128px;height:108px;color:#edbdcf;opacity:.63;transform:rotate(-16deg)}.access-trail{position:absolute;right:-1%;top:47%;width:180px;height:166px;stroke:#f2bfd3;stroke-width:1.8;stroke-dasharray:6 8;stroke-linecap:round;opacity:.65}.access-card{width:min(100%,624px);padding:28px 46px 30px;border:1px solid var(--theme-border,#f0e9ed);border-radius:21px;background:linear-gradient(130deg,var(--theme-panel,#fff) 0,var(--theme-panel,#fffefe) 100%);box-shadow:0 16px 45px -12px #69415314,0 2px 6px #69415303;text-align:center}.access-card>.access-logo{display:block;width:168px;height:67px;object-fit:contain;margin:0 auto 9px;transform:translateY(-3px) scale(1.38)}.access-shield{display:block;width:220px;height:180px;margin:0 auto -3px}.access-card h1{font-family:DM Sans,Arial,sans-serif;font-size:36px;font-weight:700;letter-spacing:-1.35px;line-height:1.23;margin:0 0 17px;color:var(--ink)}.access-card p{font-size:17px;line-height:1.45;color:var(--muted);margin:0;overflow-wrap:anywhere}.access-progress{height:12px;width:min(100%,292px);margin:34px auto 32px;border-radius:20px;overflow:hidden;background:var(--theme-raised,#edecf0)}.access-progress>span{display:block;width:51%;height:100%;border-radius:inherit;background:linear-gradient(100deg,#f3a1c3,#ef66a8 48%,#e84197);animation:access-loading 2.6s ease-in-out infinite;transform-origin:left center}.access-steps{display:flex;align-items:center;justify-content:center;gap:13px}.access-steps>div{display:flex;align-items:center;gap:9px;white-space:nowrap;color:var(--muted);font-size:11px;line-height:1.4}.access-step-icon{display:grid;place-items:center;flex-shrink:0;width:38px;height:38px;border-radius:50%;background:linear-gradient(135deg,var(--theme-soft,#fff4f8),var(--theme-soft,#fbe8f1));color:var(--theme-accent,#c95c94)}.access-steps>i{height:0;border-top:2px dashed var(--theme-border,#f7d9e8);flex:1 1;min-width:18px;max-width:36px}.access-actions{margin-top:30px}.access-actions>.button{justify-content:center;min-height:46px;border-radius:10px;background:#ea559d;border-color:#ea559d;color:#fff}.access-actions>.button:hover{background:#d73f8a;border-color:#d73f8a}.access-actions>.button:focus-visible{outline-color:#b72e75}.access-actions:empty{display:none}@keyframes access-loading{0%,to{transform:translateX(0) scaleX(1)}50%{transform:translateX(84%) scaleX(.65)}}@media(min-width:1500px){.access-note-top{right:8%}.access-note-bottom{left:6%}.access-cap{right:7%}.access-trail{right:2%;width:230px;height:210px}}@media(max-width:800px){.access-note-top{right:2.5%;top:3%;font-size:26px}.access-note-bottom{left:3%;bottom:2%;font-size:24px}.access-cap{right:2%;bottom:4%;width:90px;height:80px}.access-trail{opacity:.4}.access-wave-top{width:43%;height:27%}.access-wave-bottom{width:45%;height:31%}}@media(max-width:600px){.access-screen{padding:70px 20px}.access-card{padding:28px 22px;border-radius:20px}.access-card>.access-logo{width:151px;height:60px;margin-bottom:15px}.access-shield{width:190px;height:156px;margin-bottom:10px}.access-card h1{font-size:28px;letter-spacing:-.9px;margin-bottom:15px}.access-card p{font-size:15px;line-height:1.6}.access-progress{margin:28px auto;width:85%;height:10px}.access-steps{gap:6px}.access-steps>div{flex:1 1;flex-direction:column;gap:8px;font-size:10px;white-space:normal}.access-steps>i{flex:0 0 14px;min-width:14px;align-self:flex-start;margin-top:18px}.access-step-icon{width:36px;height:36px}.access-note-top{font-size:21px;right:5%;top:14px;line-height:.85}.access-note-top>br:first-of-type,.access-note-top>svg{display:none}.access-note-bottom{font-size:20px;bottom:13px;line-height:.85}.access-note-bottom>br{display:none}.access-note-bottom>svg{display:inline-block;width:19px;height:20px;vertical-align:middle;margin:0 0 0 5px}.access-cap{width:66px;height:59px;bottom:9px;right:6%}.access-trail{display:none}}@media(prefers-reduced-motion:reduce){.access-progress>span{animation:none}}.sidebar-logout{display:flex;align-items:center;gap:8px;margin-top:22px;background:none;border:0;padding:5px 0;color:#eddae0;font-size:.76rem}.module-counts{flex-wrap:wrap}.module-card .card-links{margin-top:20px}.tools-banner{display:flex;gap:20px;align-items:center;margin-top:28px;border:1px solid var(--brand-mid);border-radius:14px;padding:24px;background:var(--brand-soft)}.tools-banner>svg{color:var(--brand-dark)}.tools-banner>svg:last-child{margin-left:auto}.tools-banner h2{font-size:1.1rem;margin:0 0 6px}.tools-banner p{margin:0;color:var(--muted);font-size:.86rem}.calculator-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:24px;align-items:start}.calculator-menu{background:var(--theme-panel,#fff);border:1px solid var(--line);border-radius:12px;padding:8px;position:sticky;top:20px}.calculator-menu-title{display:flex;align-items:center;gap:9px;padding:12px 10px 18px;font-size:.82rem;font-weight:650}.calculator-menu>button{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left;border:0;background:transparent;padding:11px 10px;border-radius:7px;font-size:.78rem}.calculator-menu>button small{font-size:.68rem;color:var(--muted);white-space:nowrap}.calculator-menu>button:hover{background:var(--surface)}.calculator-menu>button[aria-pressed=true]{background:var(--brand-soft);color:var(--brand-dark);font-weight:650}.calculator-workspace{min-width:0}.calculator-card,.calculator-result,.calculator-steps{background:var(--theme-panel,#fff);border:1px solid var(--line);border-radius:14px;padding:26px}.calculator-title{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:24px}.calculator-title h2{font-size:1.3rem;margin:0 0 8px}.calculator-title p{font-size:.85rem;color:var(--muted);margin:0}.calculator-symbol{font:italic 1.3rem Georgia,serif;white-space:nowrap;color:var(--brand-dark);background:var(--brand-soft);padding:10px 14px;border-radius:9px}.matrix-editors{display:grid;gap:16px}.two-matrices{grid-template-columns:repeat(2,minmax(0,1fr))}.matrix-editor{min-width:0;background:var(--theme-raised,#faf9fa);border:1px solid var(--theme-border,#e9e5e8);border-radius:10px;padding:18px}.matrix-editor-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.matrix-editor-header h2{font-size:.95rem;margin:0}.matrix-editor-header>span{font-size:.75rem;color:var(--muted)}.matrix-dimensions{display:flex;align-items:flex-end;gap:10px;font-size:.73rem;margin-bottom:20px}.matrix-dimensions label{display:grid;gap:5px;color:var(--muted)}.matrix-dimensions>span{padding-bottom:6px;color:var(--muted)}.matrix-dimensions select{border:1px solid var(--theme-border,#dcd5da);border-radius:6px;background:var(--theme-panel,#fff);color:var(--ink);padding:6px 10px;min-width:62px}.matrix-scroll{overflow-x:auto;padding:4px 3px 10px}.tool-matrix-input{display:grid;gap:7px;width:max-content;border-left:2px solid #c295a3;border-right:2px solid #c295a3;border-radius:4px;padding:8px 10px}.tool-matrix-input input{width:100%;min-width:0;height:42px;text-align:center;padding:6px;border:1px solid var(--theme-border,#dcd5da);background:var(--theme-panel,#fff);color:var(--ink);font-size:.88rem}.matrix-presets{display:flex;flex-wrap:wrap;gap:16px;margin-top:12px}.matrix-presets .text-button{font-size:.72rem}.calculator-help{font-size:.75rem;color:var(--muted);margin:18px 0}.calculator-parameter{display:flex;gap:12px;align-items:center;font-size:.86rem;margin:18px 0}.calculator-parameter input{width:110px;padding:9px;border:1px solid var(--line);background:var(--theme-panel,#fff)}.calculator-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding-top:8px}.calculator-result{margin-top:20px;background:var(--brand-soft);border-color:var(--brand-mid);min-width:0}.calculator-result-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.calculator-result-heading>span{display:flex;gap:8px;align-items:center;color:var(--brand-dark);font-size:.87rem;font-weight:650}.calculator-result>.math-block{padding:14px 0}.calculator-result>p{font-size:.82rem;color:var(--muted);margin:14px 0 0}.calculator-result>.text-button{margin-top:16px}.calculator-steps{margin-top:20px}.calculator-steps>summary{cursor:pointer;font-size:.9rem;font-weight:650}.calculator-steps>summary>span{font-size:.73rem;color:var(--muted);font-weight:400;margin-left:10px}.calculator-steps>p{font-size:.85rem;margin:18px 0 0}.calculator-steps .equation{background:var(--theme-raised,#faf9fa);border-color:var(--line)}select:focus-visible,summary:focus-visible,textarea:focus-visible{outline:3px solid var(--brand);outline-offset:3px}@media(max-width:1150px){.two-matrices{grid-template-columns:1fr}}@media(max-width:960px){.calculator-layout{grid-template-columns:1fr}.calculator-menu{position:static;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}.calculator-menu-title{grid-column:1/-1}.two-matrices{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.calculator-menu{grid-template-columns:repeat(2,minmax(0,1fr))}.calculator-card,.calculator-result,.calculator-steps{padding:18px 14px}.two-matrices{grid-template-columns:1fr}.calculator-symbol{display:none}.calculator-actions>.button{width:100%}.tools-banner{padding:18px;gap:12px}.tools-banner>svg:last-child{display:none}.topbar-subject{max-width:45vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}.number-conditions{border:0;padding:0;margin:18px 0;min-width:0}.number-conditions legend{font-size:.8rem;font-weight:600;margin-bottom:8px}.number-conditions legend span{font-weight:400;color:var(--muted)}.number-condition-row{display:flex;align-items:center;gap:10px;max-width:400px;margin:10px 0}.number-condition-row>span{font:italic 20px Georgia,serif;color:var(--brand-dark)}.number-condition-row input,.number-condition-row select{font:inherit;color:var(--ink);background:var(--theme-panel,#fff);border:1px solid var(--line);border-radius:8px;padding:10px;min-width:0}.number-condition-row select{width:80px;flex-shrink:0}.number-condition-row input{width:160px;flex:1 1}.number-condition-row button{flex-shrink:0;padding:8px}.algebra-custom-label{display:grid;gap:8px;margin:0 0 20px;font-size:.79rem;font-weight:600}.algebra-custom-label input{min-width:0;width:100%;padding:11px 12px;border:1px solid var(--line);border-radius:8px;background:var(--theme-panel,#fff);color:var(--ink);font:inherit;font-weight:400}.algebra-custom-label .calculator-help{margin:0;font-weight:400}.algebra-options{margin:14px 0;padding:12px 0;border-top:1px solid var(--line);font-size:.8rem}.algebra-guide>summary,.algebra-options>summary{cursor:pointer;color:var(--brand-dark);font-weight:600;line-height:1.7}.algebra-options>summary span{font-weight:400;color:var(--muted)}.algebra-options[open]>summary{margin-bottom:16px}.algebra-options>label{display:grid;gap:8px;margin:12px 0}.algebra-guide[open]>summary{margin-bottom:20px}.learning-tool-tabs{display:flex;flex-wrap:wrap;gap:8px;padding:6px;margin:0 0 26px;background:var(--theme-raised,#eeebed);border:1px solid var(--theme-border,#e5e0e3);border-radius:12px;width:100%;max-width:100%}.learning-tool-tabs>button{display:flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;border-radius:8px;background:transparent;padding:11px 18px;font-size:.85rem;color:var(--muted)}.learning-tool-tabs>button[aria-selected=true]{background:var(--theme-panel,#fff);border-color:var(--theme-border,#e7e0e4);color:var(--brand-dark);box-shadow:0 2px 5px #29272a05;font-weight:650}.algebra-workspace{width:100%;min-width:0;display:grid;gap:24px}.algebra-guide,.algebra-input,.algebra-results{min-width:0}.algebra-fields{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:18px;margin-bottom:20px}.algebra-exclusion>label:last-child:not(:first-child),.algebra-fields label,.table-elements label{display:flex;flex-direction:column;gap:8px;font-size:.79rem;font-weight:600}.algebra-exclusion input:not([type=checkbox]),.algebra-fields input,.algebra-fields select,.table-elements input{min-width:0;width:100%;padding:11px 12px;border:1px solid var(--theme-border,#dcd5da);border-radius:8px;background:var(--theme-panel,#fff);color:var(--ink);font:inherit;font-weight:400}.algebra-exclusion{display:flex;align-items:center;flex-wrap:wrap;gap:18px;margin:0 0 24px;font-size:.8rem}.algebra-exclusion>label:first-child{display:flex;align-items:center;gap:8px}.algebra-exclusion input[type=checkbox]{width:17px;height:17px;accent-color:var(--brand)}.operation-label{display:block;font-size:.79rem;font-weight:600;margin-bottom:8px}.operation-input{display:flex;align-items:center;border:1px solid var(--theme-border,#dcd5da);background:var(--theme-raised,#faf9fa);border-radius:10px;overflow:hidden}.operation-input>span{padding:12px 16px;white-space:nowrap;color:var(--brand-dark);font:italic 1.05rem Georgia,serif}.operation-input>input{min-width:0;flex:1 1;background:var(--theme-panel,#fff);border:0;border-left:1px solid var(--theme-border,#e5e0e3);border-radius:0;padding:14px;font:1rem/1.4 ui-monospace,Consolas,monospace;color:var(--ink)}.operation-input:focus-within{outline:2px solid var(--brand);outline-offset:3px}.operation-input>input:focus-visible{outline:none}.expression-keypad{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.expression-keypad>button{height:34px;min-width:36px;padding:4px 10px;background:var(--theme-panel,#fff);border:1px solid var(--line);border-radius:6px;font-size:.88rem}.expression-keypad>button:hover{background:var(--brand-soft);border-color:var(--brand-mid)}.algebra-workspace .equation{min-width:0;background:var(--theme-raised,#f8f7f9);border-color:var(--theme-border,#e6e2e8);border-radius:10px}.algebra-workspace .operation-preview{margin:16px 0}.algebra-note{display:flex;align-items:flex-start;gap:10px;background:var(--theme-raised,#f6f4f1);border:1px solid var(--theme-border,#e8e2d9);border-radius:9px;padding:14px 16px;margin:16px 0 20px;color:var(--theme-warning-text,#6b5c43)}.algebra-note>svg{margin-top:2px}.algebra-note p{margin:0;font-size:.78rem;line-height:1.7}.algebra-input .calculator-actions>.calculator-help{margin:0}.algebra-examples{margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}.algebra-details>summary,.algebra-examples>summary{cursor:pointer;font-size:.82rem;font-weight:600}.algebra-examples>div{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.algebra-examples .button{font-size:.75rem;padding:8px 12px}.table-elements{display:flex;align-items:flex-end;gap:12px}.table-elements>label{flex:1 1;min-width:0}.table-elements>.button{min-height:43px;flex-shrink:0}.algebra-table-scroll{overflow-x:auto;max-width:100%;padding:5px 3px 12px;margin-top:12px}.cayley-table{border-collapse:separate;border-spacing:0;border:1px solid var(--theme-border,#e4dee2);border-radius:8px;overflow:hidden;font-size:.84rem;min-width:240px}.cayley-table caption{text-align:left;font-size:.73rem;color:var(--muted);padding:0 0 10px}.cayley-table td,.cayley-table th{padding:10px 14px;text-align:center;border-right:1px solid var(--theme-border,#e9e3e7);border-bottom:1px solid var(--theme-border,#e9e3e7);white-space:nowrap}.cayley-table th{background:var(--theme-raised,#f8f2f5);color:var(--theme-accent,#754956);font-weight:600}.cayley-table td{background:var(--theme-panel,#fff)}.cayley-table tbody tr:last-child th,.cayley-table tr:last-child td{border-bottom:0}.cayley-table tr>:last-child{border-right:0}.cayley-table input{width:72px;min-width:0;padding:8px 5px;border:1px solid var(--theme-border,#dcd5da);background:var(--theme-panel,#fff);text-align:center;font-size:.85rem}.cayley-table td:has(input){padding:7px}.algebra-result-announcement:empty{display:none}.algebra-result-announcement:not(:empty){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.algebra-coordinate-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}.algebra-coordinate-grid fieldset{min-width:0;margin:0;padding:18px;border:1px solid var(--line);border-radius:10px;background:var(--theme-raised,#faf9fa)}.algebra-coordinate-grid legend{padding:0 7px;font-size:.8rem;font-weight:600;color:var(--brand-dark)}.algebra-coordinate-grid label{display:grid;gap:7px;margin-bottom:12px;font-size:.8rem;font-weight:550}.algebra-coordinate-grid label:last-child{margin-bottom:0}.algebra-coordinate-grid input,.algebra-coordinate-grid select{width:100%;min-width:0;padding:11px 12px;border:1px solid var(--theme-border,#dcd5da);border-radius:7px;background:var(--theme-panel,#fff);color:var(--ink);font:inherit}.algebra-matrix-fields,.algebra-set-fields{margin-top:18px}.algebra-workspace .calculator-help{overflow-wrap:anywhere;line-height:1.8}.algebra-workspace .operation-label{margin-top:16px}.property-status.unknown{background:var(--theme-warning-soft,#fff4d9);color:var(--theme-warning-text,#775819)}.algebra-observations{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:0;list-style:none;font-size:.82rem;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.algebra-observations li{padding:10px;background:var(--theme-raised,#faf9fa);border:1px solid var(--line);border-radius:7px;overflow-wrap:anywhere}@media(max-width:760px){.algebra-coordinate-grid,.algebra-observations{grid-template-columns:1fr}.algebra-coordinate-grid fieldset{padding:14px}}.algebra-coefficients{margin-top:14px;font-size:.76rem;color:var(--muted)}.algebra-coefficients>summary{cursor:pointer}.algebra-coefficients>.math-block{margin-top:10px}.algebra-results{background:var(--theme-panel,#fff);border:1px solid var(--line);border-radius:14px;overflow:hidden}.algebra-verdict{padding:25px 28px;background:var(--brand-soft);border-bottom:1px solid var(--brand-mid)}.algebra-verdict .page-eyebrow{font-size:.62rem;margin-bottom:10px}.algebra-verdict h2{font-size:1.6rem;margin:0 0 9px}.algebra-verdict p{font-size:.84rem;color:var(--muted);margin:0}.algebra-properties{list-style:none;padding:0;margin:0}.algebra-properties>li{padding:24px 28px;border-bottom:1px solid var(--line)}.algebra-properties>li:last-child{border-bottom:0}.algebra-property-heading{display:flex;gap:12px;align-items:center}.algebra-property-number{width:30px;height:30px;border:1px solid var(--brand-mid);background:var(--brand-soft);border-radius:8px;display:grid;place-items:center;font-size:.75rem;color:var(--brand-dark);font-weight:650;flex-shrink:0}.algebra-property-heading h3{font-size:1rem;margin:0;letter-spacing:-.02em}.property-status{display:inline-flex;align-items:center;gap:5px;margin-left:auto;white-space:nowrap;font-size:.71rem;font-weight:600;border-radius:6px;padding:4px 8px}.property-status.yes{background:var(--brand-soft);color:var(--brand-dark)}.property-status.no{background:var(--theme-soft,#fceeed);color:var(--theme-warning-text,#a2423c)}.property-status.skip{background:var(--theme-raised,#f1eff1);color:var(--theme-muted,#69616b)}.algebra-property-body{padding-left:42px;min-width:0}.property-rule{color:var(--theme-muted,#69616b);font-size:.84rem;margin:10px 0 12px}.property-rule .katex-display{text-align:left}.algebra-property-body>p{font-size:.88rem;line-height:1.8;margin:0;overflow-wrap:anywhere;color:var(--theme-muted,#56515a)}.algebra-property-body .equation{margin:14px 0 0;font-size:.9rem}.algebra-details{padding:18px 28px;border-top:1px solid var(--line)}.algebra-guide{border:1px solid var(--line);border-radius:14px;background:var(--theme-panel,#fff);padding:24px 28px}.algebra-guide h2{font-size:1.1rem;margin:0 0 18px}.algebra-guide>p{font-size:.8rem;line-height:1.8;color:var(--muted);margin:16px 0 0}.structure-chain{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.structure-chain>div{border:1px solid var(--line);border-radius:8px;background:var(--theme-raised,#faf9fa);padding:12px 9px;text-align:center}.structure-chain strong{display:block;font-size:.76rem}.structure-chain span{font-size:.7rem;color:var(--muted)}.structure-chain>.current{border-color:var(--brand-mid);background:var(--brand-soft);color:var(--brand-dark)}@media(max-width:760px){.algebra-fields{grid-template-columns:1fr}.structure-chain{grid-template-columns:repeat(3,minmax(0,1fr))}.algebra-property-body{padding-left:0}.algebra-guide,.algebra-properties>li,.algebra-verdict{padding:20px}.algebra-details{padding:18px 20px}}@media(max-width:520px){.learning-tool-tabs{width:100%;gap:3px}.learning-tool-tabs>button{flex:1 1;padding:10px 7px;gap:6px;font-size:.75rem}.learning-tool-tabs>button>svg{width:16px}.table-elements{align-items:stretch;flex-direction:column}.algebra-property-heading{flex-wrap:wrap;gap:8px}.algebra-property-heading h3{font-size:.92rem}.property-status{font-size:.65rem}.algebra-guide,.algebra-properties>li,.algebra-verdict{padding:18px 14px}.structure-chain{grid-template-columns:repeat(2,minmax(0,1fr))}.algebra-examples .button{width:100%}.operation-input>span{padding:10px}.operation-input>input{font-size:.9rem;padding:12px 10px}}.video-page{max-width:1180px;margin-inline:auto}.video-page-intro{margin-bottom:22px}.video-page-intro .page-eyebrow{margin-bottom:6px}.video-page-intro h2{font-size:1.45rem;margin:0 0 5px;letter-spacing:-.035em}.video-page-intro p{margin:0;color:var(--muted);font-size:.87rem}.video-area-summary{gap:14px 28px;padding:16px 20px;margin-bottom:22px;border:1px solid var(--brand-mid);border-radius:12px;background:var(--brand-soft);font-size:.85rem;color:var(--ink)}.video-area-summary,.video-area-summary>span{display:flex;align-items:center;flex-wrap:wrap}.video-area-summary>span{gap:8px}.video-area-summary svg{color:var(--brand-dark);flex-shrink:0}.video-area-summary strong{font-weight:650}.video-area-summary small{flex-basis:100%;color:var(--muted);font-size:.75rem;line-height:1.6}.video-workspace{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:22px;align-items:start}.video-sidebar,.video-viewer{min-width:0}.video-sidebar{display:grid;gap:16px}.video-playlist,.video-progress-card,.video-stage{background:var(--theme-panel,#fff);border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:0 5px 24px #30222b04}.video-cover{background:radial-gradient(ellipse at 50% 0,#604154,#211c29 80%);gap:12px;min-height:220px}.video-cover>strong{font-size:1.35rem;max-width:85%;line-height:1.45}.video-cover>span{color:#edb8ce}.video-start{border:1px solid #ffffff30;background:#ffffff12;color:white;display:flex;align-items:center;gap:12px;padding:12px 20px;border-radius:30px;margin-top:10px}.video-start:hover{background:#ffffff24}.video-start span{font-size:.85rem}.video-cover>.video-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;z-index:0;background:#211c29}.video-cover.has-poster:after{z-index:0;background:linear-gradient(#16101a40,#16101a90)}.video-cover.has-poster>strong{color:#fff;text-shadow:0 2px 8px #000}.video-cover.has-poster>.video-start{background:#211c29d9;border-color:#ffffff70}.video-cover.has-poster>.video-start:hover{background:#35283cf0}.video-details{padding:23px}.video-details-meta{display:flex;align-items:center;flex-wrap:wrap;gap:10px 20px;color:var(--muted);font-size:.75rem;margin-bottom:12px}.video-details-meta span{display:flex;align-items:center;gap:6px}.video-details-meta .video-watched{color:var(--brand-dark)}.video-details h2{font-size:1.2rem;line-height:1.45;margin:0 0 8px;overflow-wrap:anywhere}.video-details p{color:var(--muted);font-size:.86rem;line-height:1.7;white-space:pre-line;overflow-wrap:anywhere;margin:0 0 18px}.video-complete{margin-top:8px;min-height:42px}.video-navigation{display:flex;justify-content:space-between;gap:12px;margin-top:16px}.video-navigation .button{font-size:.78rem;padding:11px 14px}.video-navigation button:disabled{opacity:.4;cursor:default}.video-progress-card{padding:21px}.video-progress-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.video-progress-heading .page-eyebrow{font-size:.6rem;letter-spacing:.1em;margin-bottom:6px}.video-progress-heading h3{font-size:.92rem;margin:0;letter-spacing:-.02em}.video-progress-heading>strong{font-size:1.6rem;color:var(--brand);font-weight:650;letter-spacing:-.04em}.video-progress-card progress{display:block;width:100%;height:7px;border:0;border-radius:20px;overflow:hidden;margin:18px 0 9px;background:var(--theme-raised,#f0eaf0);accent-color:var(--brand)}.video-progress-card progress::-webkit-progress-bar{background:var(--theme-raised,#f0eaf0)}.video-progress-card progress::-webkit-progress-value{border-radius:20px;background:var(--brand)}.video-progress-count{font-size:.76rem;color:var(--muted);margin:0}.video-progress-count strong{color:var(--ink);font-weight:600}.video-progress-note{display:flex;align-items:center;gap:8px;padding:10px;border-radius:8px;background:var(--theme-soft,#fff2f6);color:var(--theme-accent,#a84164);font-size:.7rem;margin-top:17px;line-height:1.5}.video-progress-note svg{flex-shrink:0}.video-playlist-heading{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:18px}.video-playlist-heading h3{display:flex;align-items:center;gap:9px;font-size:.9rem;margin:0}.video-playlist-heading h3 svg{color:var(--brand)}.video-playlist-heading>span{font-size:.75rem;color:var(--muted);background:var(--theme-raised,#f7f3f5);padding:2px 8px;border-radius:6px}.video-playlist-tools{padding:14px 14px 4px}.video-search{display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:var(--theme-panel,#fcfafb);border-radius:8px;padding:8px 10px;color:var(--muted)}.video-search input{border:0;background:transparent;min-width:0;width:100%;font:inherit;font-size:.78rem;color:var(--ink);padding:0}.video-search:focus-within{outline:2px solid var(--brand);outline-offset:2px}.video-search input:focus-visible{outline:none}.video-filters{display:flex;gap:6px;margin-top:10px}.video-filters button{background:transparent;color:var(--muted);border:1px solid transparent;border-radius:6px;padding:6px 9px;font-size:.7rem}.video-filters button[aria-pressed=true]{background:var(--theme-soft,#fff0f5);color:var(--theme-accent,#b63e69);border-color:var(--theme-border,#f7dce7)}.video-playlist-tools p{font-size:.68rem;color:var(--muted);margin:12px 1px 6px}.video-clip-list{list-style:none;padding:0 8px 8px;margin:0;max-height:420px;overflow:auto;scrollbar-width:thin;scrollbar-color:#e3ccd7 transparent}.video-clip-list li{display:flex;align-items:center;border-radius:9px;margin:2px 0;padding-right:5px;border:1px solid transparent}.video-clip-list li.selected{background:var(--theme-soft,#fff0f5);border-color:var(--theme-border,#f9dce7)}.video-clip-list li:hover{background:var(--theme-raised,#fcf5f8)}.video-clip-select{display:flex;align-items:center;gap:10px;flex:1 1;min-width:0;width:100%;border:0;background:transparent;text-align:left;color:var(--ink);padding:12px 6px}.video-clip-number{font-size:.65rem;color:var(--muted);min-width:24px;text-align:center}.video-clip-text{flex:1 1;min-width:0}.video-clip-text strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;font-size:.78rem;font-weight:500;line-height:1.45}.video-clip-text small{display:block;font-size:.66rem;color:var(--muted);margin-top:5px}.selected .video-clip-text strong,.video-clip-select>svg{color:var(--theme-accent,#be416c)}.video-clip-select>svg{flex-shrink:0}.video-check{display:grid;place-items:center;position:relative;flex:0 0 36px;height:40px;cursor:pointer}.video-check input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.video-check>span{width:21px;height:21px;display:grid;place-items:center;border:1.5px solid var(--theme-border,#d8ced6);border-radius:6px;background:var(--theme-panel,#fff);color:#fff;pointer-events:none}.video-check input:checked+span{background:var(--brand);border-color:var(--brand)}.video-check input:focus-visible+span{outline:2px solid var(--brand);outline-offset:3px}.video-check input:disabled{cursor:wait}.video-check input:disabled+span{opacity:.65}.video-check span:has(.video-saving){color:var(--brand);background:var(--theme-panel,#fff)}.video-no-results{font-size:.78rem;color:var(--muted);padding:6px 18px 20px;margin:0;line-height:1.6}.video-save-feedback{font-size:.74rem;color:var(--muted);padding:0 4px;min-height:25px;line-height:1.6}.video-save-feedback p{margin:0;display:flex;align-items:center;gap:6px}.video-save-feedback [role=alert]{padding:12px;border:1px solid var(--theme-border,#e9c5cf);border-radius:9px;background:var(--theme-soft,#fff5f7);color:var(--theme-accent,#99384f)}.video-save-feedback .text-button{font-size:.75rem;margin-top:7px}.video-saving{animation:video-spin .9s linear infinite}@keyframes video-spin{to{transform:rotate(1turn)}}@media(max-width:1150px){.video-workspace{grid-template-columns:minmax(0,1fr) 310px;gap:16px}.video-details{padding:18px}.video-progress-card{padding:17px}}@media(max-width:1000px){.video-sidebar,.video-workspace{grid-template-columns:1fr}.video-clip-list{max-height:380px}.video-cover>strong{font-size:1.4rem}}@media(max-width:480px){.video-page-intro h2{font-size:1.3rem}.video-page-intro p{font-size:.8rem}.video-cover{padding:20px;min-height:210px}.video-cover>strong{font-size:1.08rem;max-width:100%}.video-details h2{font-size:1.1rem}.video-navigation{gap:8px}.video-navigation .button{font-size:.7rem;padding:10px;gap:6px}.video-navigation svg{width:14px}.video-complete{width:100%;justify-content:center}.video-stage{border-radius:12px}.video-clip-text strong{font-size:.83rem}.video-clip-select{padding-block:14px}}@media(prefers-reduced-motion:reduce){.video-saving{animation:none}}.video-cover.has-poster>span,.video-cover.has-poster>strong{display:none}.video-cover.has-poster:after{background:linear-gradient(#16101a08,#16101a28)}.video-cover.has-poster>.video-start{margin-top:0;box-shadow:0 3px 20px #0004}.systems-tool{display:grid;gap:22px;min-width:0}.systems-tool .calculator-card{min-width:0}.systems-methods{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 12px}.systems-methods button{border:1px solid var(--line);border-radius:9px;padding:11px 15px;background:var(--theme-panel,#fff);color:var(--ink);font:inherit;font-size:.84rem}.systems-methods button[aria-pressed=true]{background:var(--theme-soft,#fff0f5);border-color:#dc9db1;color:var(--theme-accent,#a92e52)}.systems-input-scroll{max-width:100%;overflow-x:auto;margin:18px 0}.systems-input{border-collapse:separate;border-spacing:8px;width:auto}.systems-input caption{text-align:left;font-size:.8rem;color:var(--muted);padding:0 8px 12px}.systems-input th{font-weight:500;font-size:.8rem;color:var(--muted)}.systems-input td{text-align:center}.systems-input input{width:76px;padding:11px 8px;text-align:center;border:1px solid var(--line);border-radius:8px;background:var(--theme-panel,#fff);color:var(--ink);font:inherit}.systems-input td:last-child input{background:var(--theme-soft,#fff5f8);border-color:var(--theme-border,#edc5d1)}.systems-examples{display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px;border-top:1px solid var(--line);margin-top:22px;padding-top:18px;font-size:.78rem;color:var(--muted)}.systems-examples .text-button{font-size:.78rem}.systems-result{background:var(--theme-raised,#fff8fa)}.systems-result h2,.systems-steps h2{font-size:1.3rem;line-height:1.5;margin:8px 0 18px}.systems-tool p{line-height:1.8;color:var(--muted)}.systems-steps h3{font-size:1.05rem;margin:28px 0 12px}.systems-steps h4{font-size:.9rem;margin:0 0 12px}.systems-determinant{margin-top:22px}.systems-determinant,.systems-verification{border-top:1px solid var(--line);padding-top:20px}.systems-verification{margin-top:26px}.systems-verification summary{cursor:pointer;font-weight:600;color:var(--brand);line-height:1.6}.systems-tool .equation{max-width:100%;overflow-x:auto}.systems-tool button:focus-visible,.systems-tool input:focus-visible{outline:2px solid var(--brand);outline-offset:3px}@media(max-width:600px){.systems-methods{display:grid;grid-template-columns:1fr}.systems-methods button{text-align:left}.systems-input{border-spacing:5px}.systems-input input{width:65px}.systems-input th:first-child{font-size:.7rem}.systems-result h2,.systems-steps h2{font-size:1.12rem}.learning-tool-tabs{width:100%}.learning-tool-tabs>button{flex:1 1 100%;justify-content:flex-start;padding:12px}}.systems-entry{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:24px;align-items:start;margin:18px 0}.systems-entry>.systems-input-scroll{margin:0}.systems-preview{min-width:0;padding:20px;border:1px solid var(--brand-mid);border-radius:12px;background:var(--brand-soft)}.systems-preview h3{font-size:.95rem;margin:0 0 14px;color:var(--brand-dark)}.systems-preview .equation{margin:0;padding:15px 10px;background:var(--theme-panel,#fff);border-color:var(--brand-mid)}.systems-preview p{font-size:.78rem;margin:12px 0 0}.systems-preview-message{overflow-wrap:anywhere}.systems-cases{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:12px;margin:22px 0}.systems-cases>button{min-width:0;text-align:left;display:flex;flex-direction:column;gap:8px;padding:16px;border:1px solid var(--line);background:var(--theme-panel,#fff);border-radius:10px;color:var(--ink)}.systems-cases>button[aria-pressed=true]{border-color:var(--brand);background:var(--brand-soft);box-shadow:inset 0 0 0 1px var(--brand)}.systems-cases strong{font-size:.84rem;color:var(--brand-dark)}.systems-cases>button>span:last-child{font-size:.78rem;color:var(--muted)}.systems-cases .math-block{max-width:100%;overflow-x:auto;font-size:.82rem}.systems-symbolic-result h3{font-size:1.05rem;margin-top:24px}@media(max-width:1100px){.systems-entry{grid-template-columns:1fr}.systems-preview{padding:16px}}.pair-restrictions,.pair-set-import{min-width:0;border:1px solid var(--brand-mid);border-radius:12px;background:var(--brand-soft);padding:18px;margin:20px 0}.pair-set-import summary{cursor:pointer;font-weight:600;color:var(--brand-dark)}.pair-restrictions p,.pair-set-import p{font-size:.8rem;color:var(--muted);line-height:1.8;overflow-wrap:anywhere}.pair-notation-label,.pair-restriction-row label,.pair-set-import label{display:flex;flex-direction:column;gap:8px;font-size:.85rem;min-width:0}.pair-set-import label{margin-top:16px}.pair-notation-label select,.pair-restriction-row input,.pair-restriction-row select,.pair-set-import textarea{min-width:0;width:100%;font:inherit;color:var(--ink);background:var(--theme-panel,#fff);border:1px solid var(--line);border-radius:8px;padding:12px}.pair-set-import textarea{resize:vertical}.pair-restrictions legend{font-size:.85rem;color:var(--brand-dark);padding:0 6px}.pair-quick-conditions{display:flex;flex-wrap:wrap;gap:20px;margin:16px 0}.pair-restriction-row{display:grid;grid-template-columns:minmax(0,1fr) 75px minmax(0,1fr) 30px;gap:10px;align-items:end;margin-bottom:16px}.pair-restriction-row>button{min-height:44px}.pair-examples{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0}.pair-examples h3{width:100%;font-size:1rem;margin:0}.pair-examples button{font-size:.8rem}@media(max-width:600px){.pair-restrictions,.pair-set-import{padding:12px}.pair-restriction-row{grid-template-columns:minmax(0,1fr) 65px minmax(0,1fr);gap:6px}.pair-restriction-row>button{grid-column:3;justify-self:end}}.systems-methods button:disabled{opacity:.45;cursor:not-allowed}:root{color-scheme:light}html[data-theme=dark]{color-scheme:dark;--ink:#e8ecf6;--muted:#adb6ca;--line:#414656;--surface:#181b24;--white:#20232d;--deep:#15171f;--brand:#f58bb8;--brand-dark:#ffacd2;--brand-soft:#34232f;--brand-mid:#654256;--theme-panel:#20232d;--theme-raised:#292d39;--theme-soft:#34232f;--theme-border:#414656;--theme-muted:#adb6ca;--theme-accent:#ffacd2;--theme-glass:rgba(32,35,45,.94);--theme-warning-soft:#383023;--theme-warning-text:#f1cf87;--theme-purple-text:#d4b8f5;--geometry-1:#ff92b7;--geometry-2:#c3a4f5;--geometry-3:#e4a3cb;--geometry-4:#bec8dc;--geometry-5:#dda0d4;--geometry-6:#d4b9c7;--geometry-grid:#414656;--geometry-axis:#929eb4;--geometry-halo:#20232d;background:#181b24}html[data-theme=dark] body{background:#181b24;color:var(--ink)}html[data-theme=dark] ::selection{background:#8a345d;color:#fff}html[data-theme=dark] .sidebar{background:#15171f}html[data-theme=dark] .module-subnav a:hover,html[data-theme=dark] .module-subnav a[aria-current],html[data-theme=dark] .nav-home.active,html[data-theme=dark] .nav-home:hover{background:#432d40;color:#ffc1df}html[data-theme=dark] .selected .module-number{background:#533248;border-color:#82566e;color:#ffc1df}html[data-theme=dark] .topbar{background:var(--theme-glass)}html[data-theme=dark] .button.primary,html[data-theme=dark] .primary{background:#b64068;color:#fff;border-color:#b64068}html[data-theme=dark] .button.primary:hover,html[data-theme=dark] .primary:hover{background:#c24c77;border-color:#c24c77;color:#fff}html[data-theme=dark] .video-check input:checked+span{background:#b64068;color:#fff}html[data-theme=dark] input:not([type=checkbox]):not([type=radio]):not([type=range]),html[data-theme=dark] select,html[data-theme=dark] textarea{background:#191c25;color:var(--ink);border-color:var(--line);color-scheme:dark}html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#9da6ba;opacity:1}html[data-theme=dark] .access-wave{fill:#483042}html[data-theme=dark] .access-cap,html[data-theme=dark] .access-note{color:#bc809f}html[data-theme=dark] .access-trail{stroke:#95637e}html[data-theme=dark] .access-shield circle{opacity:.1}html[data-theme=dark] .video-poster{background-color:#17151e}.theme-control{display:inline-flex;align-items:center;gap:7px;color:var(--muted);flex-shrink:0}.theme-control select{font:inherit;font-size:.78rem;min-height:36px;padding:6px 8px;border:1px solid var(--line);border-radius:8px;color:var(--ink);background:var(--white);max-width:145px;cursor:pointer}.theme-control select:focus-visible{outline:2px solid var(--brand);outline-offset:3px}.topbar-controls{margin-left:auto;flex-shrink:0}.access-theme{position:absolute;right:24px;top:18px;z-index:1}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:960px){.topbar-controls .exam-chip{display:none}}@media(max-width:520px){.topbar>div:first-child{min-width:0;overflow:hidden}.topbar>div:first-child>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.theme-control{gap:4px}.theme-control select{max-width:128px;font-size:.73rem}.access-theme{top:14px;right:14px}.access-note-top{display:none}}