.math-chapter .path-container{max-width:1000px}.math-chapter-heading{margin:24px 0 20px}.math-chapter-heading>p{color:#adc6dc;font-size:1rem}.math-chapter-heading h1{margin-top:8px;font-size:clamp(1.7rem,4vw,2.6rem);font-weight:750;line-height:1.5}.math-main-tabs{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:20px;display:grid}.math-main-tabs button{color:#d7e7f5;background:#152940;border:1px solid #647b9d;border-radius:12px;justify-content:center;align-items:center;gap:9px;min-height:70px;padding:14px 12px;font-size:1rem;font-weight:650;display:flex}.math-main-tabs button[aria-pressed=true]{color:#fff;background:#184752;border-color:#7cdae3;box-shadow:inset 0 -3px #7cdae3}.math-main-tabs svg{flex-shrink:0;width:22px;height:22px}.math-panel{background:#101d30;border:1px solid #52668080;border-radius:16px;padding:24px}.math-panel[hidden],.math-panel [hidden]{display:none}.math-panel h2{margin-bottom:14px;font-size:1.5rem;font-weight:700;line-height:1.6}.math-panel h3{color:#a6e5dc;margin-bottom:10px;font-size:1.15rem;font-weight:650;line-height:1.6}.math-panel p,.math-panel li{color:#d1dfee;font-size:1.0625rem;line-height:1.95}.math-panel ol{padding-left:26px;list-style:decimal}.math-panel li{margin:8px 0;padding-left:5px}.math-panel details summary{cursor:pointer;color:#e0ebf6;min-height:48px;padding-block:12px;font-size:1rem;line-height:1.75}.math-panel details button{color:#9cdbf4;text-align:left;min-height:44px}.math-outline{margin:22px 0}.math-outline small{color:#a6bacf;display:block}.math-topic-select{color:#e5effb;gap:10px;min-width:0;margin-bottom:24px;font-size:1rem;display:grid}.math-topic-select-label{font-weight:650}.math-topic-select-control{min-width:0;display:block;position:relative}.math-topic-select select{-webkit-appearance:none;appearance:none;color:#fff;cursor:pointer;background:#223b56;border:2px solid #f1f5fb;border-radius:12px;width:100%;min-width:0;min-height:60px;padding:14px 66px 14px 16px;font-size:1.0625rem;font-weight:600;line-height:1.6;transition:background-color .15s,box-shadow .15s;display:block;box-shadow:0 0 0 4px #d9eaff0c}.math-topic-select option{color:#fff;background:#192d43}.math-topic-select-arrow{color:#fff;pointer-events:none;background:#ffffff14;border:1px solid #ffffff45;border-radius:9px;place-items:center;width:36px;height:36px;display:grid;position:absolute;top:50%;right:12px;transform:translateY(-50%)}.math-topic-select-arrow svg{width:23px;height:23px}.math-topic-select select:focus-visible{outline-offset:4px;box-shadow:none;outline:3px solid #a5e9f1}@media (hover:hover){.math-topic-select select:hover{background:#2b4969;box-shadow:0 0 0 4px #d9eaff18}}@media (prefers-reduced-motion:reduce){.math-topic-select select{transition:none}}@media (forced-colors:active){.math-topic-select select{-webkit-appearance:auto;appearance:auto;padding-right:16px}.math-topic-select-arrow{display:none}}.math-topic>p{margin:14px 0}.math-topic .math-page-reference{color:#9bb8cd;font-size:.875rem}.math-worked,.math-written{background:#182e42;border:1px solid #7193b44d;border-radius:12px;margin:22px 0;padding:22px}.math-worked .math-problem{color:#f0efff;font-weight:650}.math-mistake{background:#463d221f;border-left:3px solid #eac282;margin:22px 0;padding:18px 22px}.math-mistake h3{color:#efd099}.math-written label{gap:8px;margin-top:16px;font-size:1rem;display:grid}.math-written textarea{resize:vertical;color:#e5effb;background:#101c2b;border:1px solid #8aa8bd70;border-radius:9px;width:100%;min-height:115px;padding:12px;font-size:1rem}.math-written small{color:#a3bad1;margin:8px 0;font-size:.875rem;line-height:1.7;display:block}.math-topic-nav{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.math-topic-nav button{border:1px solid #839cbc66;border-radius:9px;align-items:center;gap:6px;min-height:48px;padding:10px 12px;font-size:1rem;display:flex}.math-topic-nav svg{width:18px}.math-topic-nav button:disabled{opacity:.4}.math-progress{background:#14373d;border:1px solid #74c9bb60;border-radius:10px;margin:18px 0;padding:16px;font-size:1rem}.math-quiz-nav{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.math-quiz-nav button{text-align:left;border:1px solid #7796b566;border-radius:10px;min-height:70px;padding:12px;font-size:1rem}.math-quiz-nav button[aria-pressed=true]{background:#214a56;border-color:#7cdae3}.math-quiz-nav small{color:#b2c9db;margin-top:8px;font-size:.875rem;display:block}.math-recall details{border-bottom:1px solid #819cba40;padding:8px 0}.math-source-footer{color:#9bafc4;margin:18px 0;font-size:.875rem;line-height:1.85}.math-chapter :focus-visible{outline-offset:3px;outline:3px solid #96e0ea}.math-chapter .textbook-reader header{background:#203449;flex-wrap:wrap;justify-content:space-between;gap:15px;padding:18px;display:flex}.math-chapter .textbook-reader header a{color:#b8e9ff;align-items:center;gap:8px;min-height:44px;display:flex}.math-chapter .textbook-reader .school-source-note{padding:14px}.math-chapter .academic-question{min-width:0}.math-chapter .academic-question label{flex-wrap:wrap}.math-chapter .academic-question label>span{flex:1;min-width:120px}.math-chapter .academic-question label>strong{font-size:.875rem}.math-chapter .academic-question input{flex-shrink:0}@media (max-width:650px){.math-chapter.path-explorer{padding-inline:10px}.math-main-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.math-main-tabs button{flex-direction:column;gap:6px;min-height:68px;padding:12px 8px}.math-panel{padding:16px 10px}.math-worked,.math-written{padding:17px 13px}.math-quiz-nav{grid-template-columns:1fr}.math-chapter .academic-question{padding:12px 8px}.math-topic-nav,.math-topic-nav button{font-size:.875rem}.math-chapter-heading{margin:18px 0}}.math-chapter-list{gap:14px;display:grid}.math-page-link{text-align:left;text-underline-offset:4px;min-height:44px;margin-bottom:12px;text-decoration:underline}.math-chapter-navigation{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:24px;display:grid}.math-chapter-navigation a{background:#152a40;border:1px solid #688ba566;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;min-height:72px;padding:16px;font-size:1rem;line-height:1.65;display:flex}.math-chapter-navigation small{color:#adbed2;font-size:.8rem;display:block}.math-chapter-navigation svg{flex-shrink:0;width:20px}.math-visual{background:#122c38;border:1px solid #7ecfc76b;border-radius:12px;margin:20px 0;padding:18px}.math-visual svg{fill:none;stroke:#c1dce7;stroke-width:2.5px;stroke-linejoin:round;width:100%;max-width:540px;margin:auto;display:block}.math-visual text{fill:#e0f3f4;stroke:none;text-anchor:middle;font-size:14px}.math-visual circle:not(.math-construction){fill:#9ff0d8}.math-visual .math-highlight{fill:#b6fa88;stroke:#b6fa88}.math-visual .math-accent-stroke{stroke:#b6fa88;stroke-width:4px}.math-visual .math-grid-line{stroke:#a6c3d536;stroke-width:1px}.math-visual .math-construction{stroke:#7ddbd58a;stroke-dasharray:5 5;stroke-width:1.5px}.math-visual label{gap:8px;margin:12px 0;font-size:1rem;display:grid}.math-visual input{accent-color:#9ddfd1;width:100%;min-height:44px}.math-visual figcaption{color:#c3dfe9;font-size:1rem;line-height:1.9}.math-quiz-nav{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}@media (max-width:650px){.math-chapter-navigation{grid-template-columns:1fr}.math-visual{padding:14px 8px}.math-quiz-nav{grid-template-columns:1fr}}.math-reasoning{border-left:3px solid #78dcef}.math-explain{background:#152b3c;border:1px solid #637d96;border-radius:12px;margin:20px 0;padding:18px}.math-explain h3{margin:0 0 10px}.math-explain small{color:#c5d5e8;line-height:1.7;display:block}.math-topic .math-problem,.math-topic p,.math-topic li{overflow-wrap:anywhere}.math-visual svg{height:auto}.secondary-math-visual circle.outline{fill:none}.secondary-math-visual svg{aspect-ratio:10/7;max-width:600px}.math-set-operations{flex-wrap:wrap;gap:8px;margin:12px 0;display:flex}.math-set-operations button{border:1px solid #8cb5c9;border-radius:8px;min-height:44px;padding:8px 12px;font-size:1rem}.math-set-operations button[aria-pressed=true]{color:#fff;background:#35617a}.secondary-math-visual svg text{font-size:15px}.solution-book-entry{background:#24304c;border:1px solid #9bb4e3;border-radius:12px;margin:18px 0;padding:20px}.solution-practice-modes{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:6px 0 26px;display:grid}.solution-practice-modes button,.solution-view-switch button{color:#dce8fa;background:#14273d;border:1px solid #7186a6;border-radius:10px;min-height:52px;padding:12px 14px;font-size:1rem;line-height:1.6}.solution-practice-modes button[aria-pressed=true],.solution-view-switch button[aria-pressed=true]{color:#fff;background:#583494;border:2px solid #d9c8ff;font-weight:700}.solution-bank{min-width:0}.solution-bank-heading{flex-wrap:wrap;justify-content:space-between;align-items:start;gap:12px;margin:12px 0;display:flex}.solution-bank-heading h3{color:#fff;margin:4px 0;font-size:1.35rem}.solution-bank-heading .solution-eyebrow{color:#bfc7ea;margin:0;font-size:.9rem}.solution-count{color:#e0e9ff;border:1px solid #788eb0;border-radius:8px;padding:8px 12px;font-size:.875rem}.math-panel .solution-scope,.math-panel .solution-selection-note p{font-size:1rem}.solution-selection-note{border-bottom:1px solid #56738c;margin:10px 0 18px}.solution-selection-note summary{color:#c8dded}.solution-pickers{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:14px;display:grid}.solution-pickers label{gap:8px;min-width:0;font-size:1rem;font-weight:650;display:grid}.solution-pickers select{color:#fff;width:100%;min-width:0;min-height:54px;font:inherit;background:#263e59;border:2px solid #dfebff;border-radius:10px;padding:10px 8px}.solution-pickers label:only-child{grid-column:1/-1}.solution-priority-filter{align-items:center;gap:10px;min-height:48px;margin:10px 0;font-size:1rem;display:flex}.solution-priority-filter input{accent-color:#b99aff;width:20px;height:20px}.solution-question{overflow-wrap:anywhere;background:#14263a;border:1px solid #6f91b4;border-radius:14px;min-width:0;margin:20px 0;padding:22px}.solution-question-meta{color:#c5d4ec;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;font-size:.9rem;display:flex}.solution-question-meta button{text-underline-offset:4px;align-items:center;gap:6px;min-height:44px;text-decoration:underline;display:flex}.solution-question button>svg,.solution-question h4>svg,.solution-question-nav svg{flex:none;width:20px;height:20px}.math-panel .solution-prompt{color:#fff;margin:0;padding:16px 0;font-size:1.2rem;font-weight:650;line-height:1.9}.solution-skill{border-block:1px solid #61788e70;flex-wrap:wrap;align-items:start;gap:14px;padding:12px 0;display:flex}.solution-skill>span{color:#dfd1ff;font-size:.9rem}.solution-skill details{flex:1;min-width:180px}.solution-skill details summary{min-height:32px;padding:0;font-size:.9rem}.solution-skill details p{margin-top:8px;font-size:1rem}.solution-attempt{margin:22px 0}.solution-question h4{color:#e4f3fd;align-items:center;gap:8px;margin:0 0 10px;font-size:1.0625rem;font-weight:700;display:flex}.solution-attempt>label{font-size:1rem;line-height:1.8;display:block}.solution-attempt textarea{color:#fff;width:100%;min-height:100px;font:inherit;resize:vertical;background:#0b1a2d;border:1px solid #7288a1;border-radius:9px;margin-top:8px;padding:12px;display:block}.math-panel .solution-caption,.math-panel .solution-session-note{color:#b7c6da;margin-top:9px;font-size:.875rem;line-height:1.8}.solution-options{border:1px solid #718ba9;border-radius:10px;margin-top:16px;padding:14px}.solution-options legend{padding:0 6px;font-size:1rem}.solution-options label{color:#e5efff;border-bottom:1px solid #425871;align-items:center;gap:10px;min-height:48px;padding:8px;font-size:1rem;display:flex}.solution-options input{accent-color:#c3a8ff;flex:none;width:20px;height:20px}.solution-options button{color:#dcefff;border:1px solid #86b8d0;border-radius:8px;min-height:46px;margin-top:12px;padding:10px 14px}.solution-actions{flex-wrap:wrap;gap:10px;display:flex}.solution-actions button,.solution-transfer{color:#fff;border:1px solid #9aadc3;border-radius:9px;justify-content:center;align-items:center;gap:8px;min-height:48px;padding:10px 14px;font-size:1rem;line-height:1.7;display:flex}.solution-actions .solution-primary{background:#663eaa;border-color:#c7a9ff;font-weight:700}.solution-actions button[aria-pressed=true]{background:#264e50;border-color:#a2dfd3}.solution-bank button:disabled{opacity:.55;cursor:default}.solution-hints{background:#283f50;border-left:3px solid #9edccf;border-radius:8px;margin:16px 0;padding:14px 16px 14px 36px!important}.solution-answer{border-top:1px solid #64839f;margin-top:22px;padding-top:20px}.solution-view-switch{flex-wrap:wrap;gap:10px;margin-bottom:22px;display:flex}.solution-view-switch button{flex:1}.solution-steps>li{padding:0 0 12px 4px}.solution-steps p{color:#f5f6ff;margin:0}.math-panel .solution-step-reason{color:#b8d0e2;margin-top:6px;font-size:1rem;line-height:1.9}.math-panel .solution-final-answer{color:#edfffa;background:#193e3d;border:1px solid #73b9ae;border-radius:10px;margin:16px 0;padding:14px 16px}.solution-verification,.solution-mistake,.solution-source-note{background:#152f41;border-left:3px solid #8bcfd4;margin:16px 0;padding:16px}.solution-mistake,.solution-source-note{background:#4d412d40;border-color:#eec789}.solution-transfer{background:#293754;border-color:#b4b2e3;width:100%;margin-top:18px}.solution-question-nav{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.solution-question-nav button{color:#e5efff;border:1px solid #7b92b1;border-radius:8px;align-items:center;gap:6px;min-height:48px;padding:10px 12px;font-size:1rem;display:flex}.solution-session-count{color:#cbd9ed;margin-top:10px;font-size:.875rem;line-height:1.8}.solution-revisit{border:1px solid #83a9bf;border-radius:10px;margin:14px 0 22px;padding:18px}.solution-revisit button{text-align:left;color:#c4e4ff;text-underline-offset:4px;min-height:48px;font-size:1rem;text-decoration:underline}.solution-graph{background:#0d2232;border:1px solid #50748d;border-radius:12px;margin:18px 0;padding:16px}.solution-graph svg{fill:none;width:100%;max-width:460px;height:auto;margin:auto;display:block}.solution-graph svg text{fill:#e3edf9;stroke:none;font-size:13px}.solution-graph figcaption{color:#c9deee;font-size:1rem;line-height:1.8}.solution-graph-tables{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px;display:grid}.solution-graph table{border-collapse:collapse;color:#dfedfb;width:100%;font-size:.95rem}.solution-graph caption{padding:8px;font-size:1rem;line-height:1.8}.solution-graph td,.solution-graph th{text-align:center;border:1px solid #4b6882;padding:6px}@media (max-width:650px){.solution-practice-modes{grid-template-columns:1fr;margin-bottom:18px}.solution-practice-modes button{text-align:left;min-height:48px}.solution-pickers{grid-template-columns:1fr}.solution-question{padding:16px 12px}.solution-actions{grid-template-columns:1fr 1fr;display:grid}.solution-actions button:last-child{grid-column:1/-1}.solution-question-nav button{padding:10px 6px;font-size:.95rem}.solution-view-switch{gap:6px}.solution-view-switch button{padding:10px 6px}.solution-graph{padding:12px 4px}.solution-graph-tables{grid-template-columns:1fr}.solution-graph svg{min-width:0}.solution-graph svg text{font-size:15px}.solution-skill{gap:6px}.solution-skill details{flex-basis:100%}}.solution-venn{background:#122536;border:1px solid #789bb6;border-radius:12px;margin:18px 0;padding:12px}.solution-venn svg{width:100%;max-width:480px;height:auto;margin:auto;display:block}.solution-venn svg text{fill:#f0f6ff;font-size:16px}.solution-venn figcaption{overflow-wrap:anywhere;color:#d5e8fa;flex-direction:column;gap:4px;font-size:1rem;line-height:1.8;display:flex}.solution-principles{background:#203851;border-left:3px solid #baa0ef;margin-bottom:20px;padding:16px}.solution-book-index{border:1px solid #809bb3;border-radius:12px;padding:16px;line-height:1.9}.solution-data figure{margin:1rem 0}.solution-data svg{color:#eef2ff;width:100%;max-width:710px;height:auto;margin:auto;font-size:16px;display:block}.solution-data svg text{fill:currentColor}.solution-data .solution-pie svg{max-width:420px}.solution-data .solution-pie svg text{fill:#0f172a}.solution-pie ul{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:8px;padding:12px 0;list-style:none;display:grid}.solution-data figcaption{color:#c8d8ea;font-size:.9rem}.solution-table-scroll{max-width:100%;overflow-x:auto}.solution-data table{border-collapse:collapse;min-width:260px}.solution-data th,.solution-data td{text-align:center;border:1px solid #607b99;padding:.5rem .8rem}.solution-data caption{padding:.6rem;font-weight:700}.solution-geometry{background:#6478a51a;border:1px solid #9baece4d;border-radius:12px;margin:1rem 0;padding:.7rem}.solution-geometry svg{color:#eef2ff;width:100%;height:auto;max-height:360px;font-size:18px;display:block}.solution-geometry svg text{fill:#eef2ff}.solution-geometry figcaption{color:#c8d8ea;font-size:.9rem;line-height:1.6}.solution-line-chart{min-width:0;max-width:100%;margin:1rem 0}.solution-chart-scroll{overscroll-behavior-x:contain;border:1px solid #607b99;border-radius:10px;max-width:100%;padding:8px;overflow-x:auto}.solution-chart-scroll svg{color:#eef2ff;width:100%;min-width:520px;max-width:710px;height:auto;margin:auto;font-size:16px;display:block}.solution-chart-scroll svg text{fill:currentColor}.solution-line-chart figcaption{color:#c8d8ea;margin-top:8px;font-size:.9rem;line-height:1.8}.solution-chart-scroll:focus-visible{outline-offset:3px;outline:2px solid #c4b5fd}.solution-data td{white-space:nowrap}.solution-scroll-hint{display:none}.solution-table-scroll:focus-visible{outline-offset:3px;outline:2px solid #c4b5fd}@media (max-width:650px){.math-panel .solution-scroll-hint{color:#c8d8ea;margin:8px 0;font-size:.85rem;line-height:1.8;display:block}}
