.math-shell{max-width:1000px;margin:0 auto;padding:24px 24px 64px}.brand{text-decoration:none;color:inherit}.review-notice{border-left:3px solid #b8995b;padding:10px 14px;background:#fcf6e9;font-size:13px;color:#635235}.math-hero{padding:30px 0}.math-hero h1{font-size:clamp(36px,6vw,62px);line-height:1.08;margin:12px 0 20px}.math-hero p{max-width:650px;line-height:1.7;color:#536563}.math-modes{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:20px 0 40px}.math-panel,.math-lesson,.math-question{background:white;border:1px solid #dce5e1;border-radius:16px;padding:26px}.math-panel h2{margin-top:0}.math-panel p{line-height:1.65;color:#536563}.math-panel select{width:100%;padding:12px;margin:8px 0 18px;border:1px solid #aebfba;border-radius:8px;font:inherit;background:white}.math-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.math-lessons{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.math-lesson{display:flex;flex-direction:column;align-items:flex-start;padding:20px}.math-lesson h3{font-size:18px;margin:9px 0 20px;flex:1}.math-lesson .secondary-button{padding:10px 14px}.math-topic{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#51756b}.math-question h1{font-size:clamp(23px,3vw,30px);line-height:1.45;margin:15px 0 22px}.math-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:20px 0}.math-top .quiz-timer{margin:0}.math-figure{display:block;max-width:440px;width:100%;height:auto;margin:15px auto 25px}.math-table{border-collapse:collapse;width:min(100%,440px);margin:20px auto}.math-table caption{padding:10px;font-weight:600}.math-table th,.math-table td{padding:12px;border:1px solid #b7c9c2;text-align:center}.math-table th{background:#e8f4ef}.math-nav{display:flex;gap:6px;flex-wrap:wrap;margin-top:24px}.math-nav button{min-width:36px;height:36px;border:1px solid #b8c8c2;border-radius:6px;background:white;font:inherit;cursor:pointer}.math-nav button.answered{background:#e0eee8}.math-nav button.flagged{border:2px solid #a07b24}.math-nav button.current{background:#245f52;color:white}.math-question .answer-option.selected{border:2px solid #245f52;background:#e9f4ef}.math-reading{max-width:760px;margin:auto}.math-reading p{line-height:1.8}.math-reading h1{font-size:36px}.math-example{background:#edf5f0;border-radius:12px;padding:24px;margin:24px 0}.math-example h2{margin-top:0}.math-summary{display:flex;gap:20px;align-items:center;justify-content:space-between}.math-score{font-size:52px;font-weight:700;color:#245f52;white-space:nowrap}.math-breakdown{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:24px 0}.math-breakdown div{background:#edf5f0;padding:14px;border-radius:8px}.math-breakdown strong{display:block;margin-top:8px;font-size:22px}.math-review{margin:12px 0;border:1px solid #dce5e1;border-radius:10px;background:white;padding:18px}.math-review summary{cursor:pointer;line-height:1.5}.math-review p{line-height:1.7}.math-submit{border:2px solid #aa7d28;padding:20px;border-radius:12px;margin-top:20px;background:#fffbef}.math-history{font-size:14px;color:#536563;line-height:1.8}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #ab7e29;outline-offset:3px}@media(max-width:650px){.math-shell{padding:15px 16px 40px}.math-modes,.math-lessons{grid-template-columns:1fr}.math-panel,.math-question{padding:20px}.math-breakdown{grid-template-columns:repeat(2,1fr)}.math-summary{align-items:flex-start;flex-direction:column}.math-top{align-items:flex-start}.math-actions .primary-button,.math-actions .secondary-button{flex:1}.math-nav{gap:5px}.math-nav button{min-width:37px;height:40px}.math-reading h1{font-size:30px}}
