.math-page .question-split{display:block;max-width:850px;margin:auto}
.math-page .passage-pane{border:0;padding:28px 32px 0;max-height:none;overflow:visible}
.math-page .answer-pane{padding:0 32px 28px;border:0}
.math-page .passage:empty{display:none}
.math-page .prompt{margin:16px 0 28px}
.math-page .bluebook-toolbar{margin:0 0 24px}
.math-page .feedback{margin:24px 0 0}
.math-page .source-html math{font-size:1.1em;white-space:normal}
.math-page .source-html math[display="block"]{display:block;overflow-x:auto;padding:8px 0}
.math-page .source-html svg{max-width:100%;height:auto}
.math-page .source-html img{max-width:100%;height:auto}
.numeric-response{margin:24px 0}
.numeric-response label{display:block;font-weight:700;margin-bottom:10px}
.numeric-response input{font:600 22px Inter,sans-serif;color:#182b46;width:min(100%,300px);border:2px solid #657690;border-radius:8px;padding:14px;box-sizing:border-box}
.numeric-response input:focus{outline:3px solid #a8cbff;outline-offset:2px;border-color:#2863c6}
.numeric-response input:disabled{opacity:1;background:#f1f5f9;color:#182b46}
.numeric-response p{font:400 15px/1.6 Inter,sans-serif;color:#485a73}
.math-calculator{position:fixed;right:24px;bottom:20px;z-index:35;width:180px;border:1px solid #a8bddb;border-radius:12px;background:white;box-shadow:0 5px 24px #182b4626}
.math-calculator[open]{width:min(460px,calc(100vw - 32px))}
.math-calculator summary{cursor:pointer;padding:14px 18px;font-weight:700;color:#18385c}
.math-calculator[open] summary{border-bottom:1px solid #dce5f0}
.calculator-body iframe{display:block;border:0;width:100%;height:min(440px,65vh)}
.calculator-body>a{display:block;margin:12px;font-size:14px}
.math-page .site-footer{padding-bottom:100px}
@media(max-width:650px){.math-page .passage-pane{padding:20px 16px 0}.math-page .answer-pane{padding:0 16px 20px}.math-calculator{right:16px;bottom:12px}.math-page .practice-footer{gap:12px;flex-wrap:wrap}}

.math-page .rw-session .practice-footer{position:static;background:transparent;padding:0;border:0}
.math-page .source-html table.table_Borderless{width:auto;margin:16px auto;border:0}
.math-page .source-html .table_Borderless td,.math-page .source-html .table_Borderless th{border:0;padding:6px 10px}

/* Personal question history and saved practice. */
.question-library-nav { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; padding:6px; margin:0 0 26px; border:1px solid #cbd4e5; border-radius:14px; background:#edf2fb; }
.question-library-nav button { min-height:52px; padding:10px 8px; border:1px solid transparent; border-radius:9px; color:#4c5b72; background:transparent; font:700 14px/1.4 Inter,sans-serif; cursor:pointer; }
.question-library-nav button[aria-pressed="true"] { color:#224bbd; border-color:#c5d1ed; background:white; box-shadow:0 2px 5px #1834620a; }
.question-library-nav button>span { display:inline-block; margin-left:5px; font-size:12px; font-weight:500; }
.question-library-nav button:focus-visible,.save-for-later:focus-visible { outline:3px solid #315dec; outline-offset:3px; }
.session-active .question-library-nav { display:none; }
.collection-hint { margin:-12px 0 24px; max-width:680px; color:#58677a; font-size:14px; line-height:1.7; }
.practice-filters.new-question-filters { grid-template-columns:minmax(250px,1.4fr) minmax(180px,1fr); }
.practice-filters [hidden] { display:none; }
.question-result { font-size:12px; font-weight:600; }
.result-correct { color:#276847; }
.result-incorrect { color:#a6352b; }
.saved-label { display:block; margin-top:5px; color:#3252ae; font-size:11px; font-weight:700; }
.question-row-actions { display:flex; gap:12px; align-items:center; flex-wrap:wrap; }
.question-row-actions .text-button { min-height:32px; text-align:left; }
.question-row-actions .save-question { color:#526078; font-weight:500; }
.question-library-actions { display:flex; align-items:center; gap:14px; flex-wrap:wrap; padding-top:16px; border-top:1px solid #dbe2ec; margin-top:20px; }
.question-library-actions .text-button { font-size:13px; }
.feedback .question-library-actions { padding:0; margin:14px 0 22px; border:0; }
.save-for-later { white-space:normal; font:700 13px/1.4 Inter,sans-serif; min-height:44px; padding:9px 14px; }
.save-for-later[aria-pressed="true"] { background:#e9efff; border-color:#7f96d4; color:#244bb0; }
.library-result-links,.empty-actions { display:flex; align-items:center; justify-content:center; gap:18px; flex-wrap:wrap; margin:22px 0; }
.empty-actions { justify-content:flex-start; margin-bottom:0; }
.practice-results .result-row { display:flex; align-items:center; gap:15px; flex-wrap:wrap; text-align:left; }
.practice-results .result-row>span { margin-left:auto; }
.history-review-note { padding:14px 18px; background:#edf2ff; border-left:3px solid #4562c4; color:#415377; line-height:1.6; font-size:14px; }
@media(max-width:1150px){.practice-filters.new-question-filters{grid-template-columns:1fr}.practice-filters.new-question-filters .difficulty-filter{grid-column:auto}}
@media(max-width:700px){.question-library-nav{gap:3px;padding:4px;margin-bottom:22px}.question-library-nav button{font-size:12px;padding:10px 3px}.question-library-nav button>span{display:block;margin:3px 0 0;font-size:11px}.question-table th:nth-child(4),.question-table td:nth-child(4){display:table-cell}.question-table th:nth-child(3),.question-table td:nth-child(3){display:none}.question-row-actions{display:grid;gap:4px}.question-table .text-button{white-space:normal;font-size:12px}.question-result{font-size:11px}.practice-results .result-row{gap:10px}.practice-results .result-row .save-for-later{flex-basis:100%}.collection-hint{font-size:14px}}

