.ao3-review-active #question-content-wrapper,.ao3-review-active #question-text,.ao3-review-active #answer-container,.ao3-review-active #show-answer-btn,.ao3-review-active #response-buttons,.ao3-review-active #mcq-options,.ao3-review-active #response-box,.ao3-review-active #confidence-section,.ao3-review-active #next-btn-container,.ao3-review-active #sr-flash-feedback,.ao3-review-active #sr-stage-meter {display:none!important}
#ao3-review {position:relative;z-index:1;grid-column:1;grid-row:1/3;align-self:start;min-width:0;box-sizing:border-box;width:100%;margin:0;padding:1.35rem 2rem 2rem;color:var(--text-primary,#24364b)}
#ao3-review h2 {font-size:clamp(1.2rem,2.5vw,1.65rem);line-height:1.35}#ao3-review h3 {font-size:1rem;font-weight:700;margin-top:1.1rem}.ao3-evidence p,.ao3-full-peel p,.ao3-summary p {white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65}.ao3-review-kind {font-size:.9rem;color:#485971}
.ao3-ratings {border:0;padding:0;margin:1.2rem 0}.ao3-ratings legend {font-size:1rem;font-weight:600}.ao3-theme {min-height:44px;margin:.2rem;padding:.6rem .9rem;border:1px solid #b8c8d8;border-radius:10px;background:#f6f9fc;color:#24364b}.ao3-theme[aria-pressed=true] {background:#183f60;color:#fff;border-color:#183f60;box-shadow:inset 0 0 0 2px #fff}
.ao3-optional {margin:1rem 0}.ao3-optional>p {font-size:.9rem;color:#485971}.ao3-optional details {padding:.65rem 0;border-bottom:1px solid #d9e3ec}.ao3-optional summary {cursor:pointer;font-weight:650;min-height:32px}.ao3-optional details p {font-weight:650;margin:.7rem 0 .2rem}
#ao3-review footer {display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1.4rem}#ao3-review button:focus-visible,.ao3-full-peel button:focus-visible,.ao3-optional summary:focus-visible {outline:3px solid #a87600;outline-offset:3px}
.ao3-summary {padding-left:1.5rem}.ao3-summary li {padding:1rem;margin:.6rem 0;border:1px solid #d7e1eb;border-radius:12px}.ao3-summary label {display:block}.ao3-summary meter {display:block;width:100%;max-width:280px;height:18px}.ao3-lowest {border:2px solid #8a6000!important;background:#fff8e7}.ao3-summary strong {font-size:.85rem;display:block;margin-top:.3rem}
.ao3-full-peel {position:fixed;margin:0 0 0 auto;top:0;right:0;max-height:100dvh;height:100dvh;max-width:min(540px,100vw);width:min(540px,100vw);padding:1.5rem;border:0;box-sizing:border-box;color:#24364b;overflow-y:auto}.ao3-full-peel::backdrop {background:#10223380}.ao3-full-peel header {display:flex;align-items:center;justify-content:space-between;gap:1rem}.ao3-full-peel h3 {font-size:1rem;font-weight:700}.ao3-drawer-open {overflow:hidden}
.ao3-dashboard-review {margin:1rem 0;padding:1rem;border:1px solid #cbd9e6;border-radius:14px}.ao3-dashboard-review button {margin:.25rem;min-height:44px}.ao3-review-active #question-mode-title {display:none}
.ao3-pick-mix-types {display:flex;flex-wrap:wrap;gap:1rem}.ao3-pick-mix-types .pick-mix-choice {flex:1 1 140px;max-width:210px}.ao3-pick-mix-types img {max-width:100%;object-fit:contain}.ao3-mix-transition {position:fixed;inset:0;z-index:10000;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;padding:clamp(1rem,4vw,2rem);box-sizing:border-box;overflow-y:auto;background:#fff9ed;color:#24364b;font-size:1.15rem;text-align:center}
.ao3-loading-image {display:block;width:min(900px,100%);height:auto;max-height:65dvh;object-fit:contain;border-radius:20px}
.ao3-mix-transition .ao3-loading-caption {margin:0;font-family:'Chalkboard SE','Comic Sans MS',cursive;font-size:clamp(1.2rem,3vw,1.9rem);font-weight:700;line-height:1.35;color:#24496a}
@media(max-width:540px){#ao3-review {padding:1rem;margin:.5rem 0}.ao3-ratings {display:flex;flex-direction:column}.ao3-summary {padding-left:1.1rem}#ao3-review footer button {flex:1 1 100%}.ao3-full-peel {padding:1rem}.ao3-pick-mix-types {gap:.5rem}.ao3-pick-mix-types .pick-mix-choice {flex-basis:90px}}
@media(prefers-reduced-motion:reduce){.ao3-full-peel {scroll-behavior:auto}}

#ao3-review button,.ao3-full-peel button,.ao3-optional summary {box-sizing:border-box;min-height:44px}
.ao3-review-active .question-page-actions,.ao3-review-active #exit-button-questions,.ao3-review-active #student-answer-reaction {display:none!important}

/* Match the established question page: icon above timer in the right column.
   Keep AO3 above the decorative ::before watermark, including its hit testing. */
#question-page.ao3-review-active .page-container {box-sizing:border-box;width:100%;grid-template-columns:minmax(0,1fr);padding-right:325px}
/* Use the spare space before the timer for summaries; keep evidence screens
   and the established icon/timer positions unchanged. */
@media(min-width:1101px){#question-page.ao3-review-active.ao3-summary-active .page-container {padding-right:175px}}
#question-page.ao3-review-active .page-container::before {top:24px;left:0;right:0;bottom:auto;height:850px;background-position:center top;background-size:min(100%,1100px) auto}
#question-page.ao3-review-active #top-right-ui-cluster {width:300px}
#question-page.ao3-review-active .ao3-mode-title {font-size:1.4rem;font-weight:600;margin:0 0 1.5rem;padding-bottom:1rem;border-bottom:1px solid #e9ecef;color:var(--primary-color)}
@media(max-width:1024px) and (min-width:769px){#question-page.ao3-review-active .page-container{padding-right:265px}#question-page.ao3-review-active #top-right-ui-cluster{width:240px}}
@media(max-width:768px){#question-page.ao3-review-active .page-container{padding-right:1rem}#question-page.ao3-review-active #top-right-ui-cluster{position:static;width:100%;margin:0 auto .5rem}#question-page.ao3-review-active #daily-goal-timer-container{position:static;width:120px;margin:0 auto}#ao3-review{grid-row:2;padding:1rem;margin:0}}
#ao3-review .ao3-evidence {background:#fff8e7;color:#24364b;padding:1rem 1.2rem;border:1px solid #e6d6b0;border-radius:12px;margin:1rem 0}
#ao3-review .ao3-evidence h3:first-child {margin-top:0}
.ao3-ratings .ao3-rating {min-height:44px;margin:.2rem;padding:.6rem 1rem;border-radius:8px}
.ao3-rating[aria-pressed=true] {outline:3px solid currentColor;outline-offset:2px;box-shadow:0 3px 8px #20374633}
.ao3-optional {background:#fffdf6;padding:1rem;border:1px solid #dfd6bd;border-radius:12px}
.ao3-theme-groups {display:flex;flex-wrap:wrap;gap:.5rem}
.ao3-group {min-height:44px;padding:.6rem .9rem;border:1px solid #b8c8d8;border-radius:8px;background:#fff;color:#24364b;font-weight:700}
.ao3-group[aria-expanded=true] {background:#183f60;color:#fff}
.ao3-optional [data-ao3-panel] {padding-top:.75rem}
.ao3-optional [data-ao3-panel][hidden] {display:none}
.ao3-optional [data-ao3-panel]>p {font-weight:650;margin:.7rem 0 .2rem}
/* The shared glossy ::before must be positioned/clipped by the button itself.
   position:static lets it cover the page and repeatedly steal hover/clicks. */
#question-page #ao3-review .ao3-save-progress {position:relative!important;inset:auto!important;overflow:hidden;min-height:44px;margin:0}
#question-page #ao3-review .ao3-save-progress::before {pointer-events:none}
#question-page #ao3-review footer>button {height:48px;min-height:48px;box-sizing:border-box;padding:.6rem 1.2rem;margin:0;line-height:1.2;align-self:center}
#question-page #ao3-review .ao3-full-reveal {background:#fff8e7;border:2px solid #b98620;color:#4c3511;font-weight:650;box-shadow:0 2px 5px #72552124;min-height:48px}
.ao3-full-peel mark {border-radius:3px;padding:0 .08em;font-weight:650;color:#24364b}
.ao3-full-peel .ao3-highlight-strength {background:#d1f1d8;color:#174b2a}
.ao3-full-peel .ao3-highlight-weakness {background:#ffdce0;color:#79212c}
.ao3-full-peel .ao3-highlight-citation {background:#fff0a3;color:#4a3b00}
.ao3-full-peel .ao3-highlight-theme {background:#eadbfa;color:#4b246a}
.ao3-summary li {background:#fff8e7;color:#24364b}
.ao3-memory-gauge {box-sizing:border-box;max-width:100%;width:min(100%,440px);margin:.75rem 0 0;padding:0;border:0;background:none;box-shadow:none}
.ao3-memory-gauge .sr-meter-heading {font-size:1rem}
.ao3-memory-gauge .sr-meter-info {display:none}
.ao3-memory-gauge .sr-gauge {display:block;width:100%;height:auto;overflow:visible;filter:drop-shadow(0 3px 4px #657e8b33)}
.ao3-memory-gauge .sr-gauge-marker text {font:700 23px system-ui,sans-serif;fill:#7e8a92}
.ao3-memory-gauge .sr-gauge-marker.is-filled text {fill:#087cad}
.ao3-memory-gauge .sr-gauge-marker.is-filled circle {fill:#11bdac}
.ao3-memory-gauge [id$="sr-liquid-fill"] {transition:width .52s ease-in-out}
.ao3-memory-label {font-weight:600;margin-top:.3rem}
.ao3-summary-row {display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,280px);gap:1.25rem;align-items:center}
.ao3-summary-evidence,.ao3-summary-memory {min-width:0}
.ao3-summary-evidence p {margin:0}
.ao3-summary-evidence p+p {margin-top:.65rem}
.ao3-summary-evidence strong {font-size:inherit;margin:0 0 .2rem}
.ao3-summary-memory {width:100%;max-width:280px;justify-self:end}
.ao3-summary-memory .ao3-memory-gauge {width:100%;margin:0}
.ao3-summary-memory .ao3-memory-label {margin:.25rem 0 0}
#ao3-summary-pending {margin:1rem 0;color:#24364b}
#ao3-summary-pending strong {display:block;font-weight:700}
#ao3-summary-pending span {display:block;margin-top:.25rem}
.ao3-summary-notice {display:grid;grid-template-columns:minmax(0,max-content) clamp(86.4px,10.8vw,134.4px);justify-content:start;gap:1rem;align-items:center;margin:.75rem 0 1rem}
#ao3-summary-pending.ao3-summary-saving {color:#b32636}
.ao3-summary-saved {color:#187339}
#ao3-review .ao3-save-message {display:flex;align-items:center;gap:.75rem;margin:0;font-family:'Chalkboard SE','Comic Sans MS',cursive;font-size:clamp(1.2rem,2vw,1.65rem);font-weight:700;line-height:1.35}
.ao3-save-message strong {min-width:0;font-size:inherit;font-weight:700}
.ao3-summary-notice img {display:block;width:100%;height:auto;max-height:134.4px;object-fit:contain}
#ao3-summary-pending .ao3-save-spinner {display:block;flex:0 0 auto;box-sizing:border-box;width:1.4rem;height:1.4rem;margin:0;border:3px solid currentColor;border-right-color:transparent;border-radius:50%;animation:ao3-save-spin .8s linear infinite}
@keyframes ao3-save-spin {to {transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){#ao3-summary-pending .ao3-save-spinner {animation:none}}
@media(max-width:1100px){.ao3-summary-row {grid-template-columns:minmax(0,1fr);gap:.75rem}.ao3-summary-memory {justify-self:start}}
.ao3-dashboard-review {max-width:960px;margin:1rem auto;background:#f5fbff;display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1rem}
.ao3-dashboard-review h3,.ao3-dashboard-review p {margin:0}
.ao3-dashboard-review p {flex:1 1 240px}
.ao3-full-peel[open] {animation:ao3-peel-in .28s ease-out both}
.ao3-full-peel.ao3-drawer-closing {animation:ao3-peel-out .22s ease-in both}
@keyframes ao3-peel-in {from {transform:translateX(100%)} to {transform:translateX(0)}}
@keyframes ao3-peel-out {from {transform:translateX(0)} to {transform:translateX(100%)}}
@media(prefers-reduced-motion:reduce){.ao3-full-peel[open],.ao3-full-peel.ao3-drawer-closing {animation:none}.ao3-memory-gauge [id$="sr-liquid-fill"] {transition:none}}
.sr-ao3-summary { border-top: 1px solid #d7e4e8; margin-top: 20px; padding-top: 20px; }
#catch-up-progress { position: relative; z-index: 2; display: grid; gap: 12px; margin: 18px 0 24px; padding: 16px; border: 1px solid #d7e4e8; border-radius: 12px; background: #fffdf6; }
#catch-up-progress p { margin: 0 0 6px; font-size: .9rem; font-weight: 650; }
.catch-up-track { height: 14px; border-radius: 20px; overflow: hidden; background: #e7eef2; }
.catch-up-track span { display: block; height: 100%; background: #2084b0; }
[data-catch-up-domain="AO3"] .catch-up-track span { background: #8b62b4; }
#question-page.catch-up-combined #question-content-wrapper > .progress, #question-page.catch-up-combined #question-number { display: none; }
