/* Private academic review. Scoped so student and classroom views stay unchanged. */
#paper-reviews{min-width:0}
.pr-page{--pr-muted:#746a83;--pr-border:#e8e2ee;--pr-purple:#54279b;color:#291c3e;min-width:0}
.pr-page *{box-sizing:border-box}
.pr-page h1,.pr-page h2,.pr-page h3,.pr-page p{margin-top:0}
.pr-page h1{font-size:clamp(27px,3.3vw,38px);line-height:1.16;letter-spacing:-1.3px;margin-bottom:12px}
.pr-page h2{font-size:20px;line-height:1.3;letter-spacing:-.45px;margin-bottom:10px}
.pr-page h3{font-size:17px;line-height:1.4;letter-spacing:-.25px}
.pr-page p{font-size:14px;line-height:1.7}
.pr-page .eyebrow{font-size:10px;line-height:1.4;letter-spacing:1.7px;font-weight:750;color:var(--pr-purple);margin-bottom:12px}
.pr-page .small{font-size:12px;line-height:1.7;color:var(--pr-muted)}
.pr-page button{font:inherit;font-size:13px;font-weight:650;line-height:1.4;min-height:42px;border-radius:8px;white-space:normal;max-width:100%;padding:11px 16px}
.pr-page button.secondary{background:#fff;color:var(--pr-purple);border:1px solid #ddd1ed}
.pr-page button.secondary:hover:not(:disabled){background:#f5f0fb;border-color:#b99bdc}
.pr-page button.plain{color:var(--pr-purple);background:transparent;border:0;padding:8px 0;min-height:36px;text-align:left}
.pr-page button:disabled{cursor:not-allowed;opacity:.48}
.pr-page button:focus-visible,.pr-page input:focus-visible,.pr-page h1:focus-visible,.pr-page h2:focus-visible{outline:3px solid #9876c8;outline-offset:4px}
.pr-page-heading,.pr-review-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:28px}
.pr-page-heading>div,.pr-review-heading>div{min-width:0}
.pr-page-heading p:last-child,.pr-review-heading p:last-child{margin-bottom:0;color:var(--pr-muted)}
.pr-private,.pr-status{display:inline-flex;align-items:center;flex-shrink:0;gap:7px;border:1px solid #e4daee;background:#f5f0fa;color:#684585;border-radius:6px;padding:6px 9px;font-size:11px;font-weight:650;line-height:1.4}
.pr-private::before{content:'';display:block;width:6px;height:6px;background:#916eae;border-radius:50%}
.pr-status-reviewed{background:#eef7f2;color:#286444;border-color:#d7eadf}
.pr-import-card{background:#f6f2fa;border:1px solid #e6ddee;border-radius:12px;display:flex;gap:24px;align-items:center;justify-content:space-between;padding:28px;margin-bottom:28px}
.pr-import-card>div{max-width:580px;min-width:0}
.pr-import-card h2{font-size:19px}
.pr-import-card p{color:#6b5b7c;margin-bottom:8px}
.pr-import-card p:last-child{margin-bottom:0}
.pr-import-card>button{flex-shrink:0}
.pr-import-card input[hidden]{display:none}
.pr-section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:30px 0 17px}
.pr-section-heading h2{margin:0}
.pr-section-heading>span{font-size:12px;color:var(--pr-muted)}
.pr-queue-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.pr-queue-card{padding:23px;background:#fff;border:1px solid var(--pr-border);border-radius:12px;box-shadow:0 3px 10px #24133f03;min-width:0}
.pr-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}
.pr-paper-symbol{display:flex;align-items:center;justify-content:center;width:40px;height:42px;background:#f2edf8;border-radius:8px;color:var(--pr-purple)}
.pr-queue-card h3{margin-bottom:7px;overflow-wrap:anywhere}
.pr-queue-card>p{font-size:12px;color:var(--pr-muted);margin-bottom:22px}
.pr-card-progress>span{font-size:12px;font-weight:600}
.pr-page progress{appearance:none;display:block;width:100%;height:5px;border:0;overflow:hidden;border-radius:20px;background:#e9e2f0;color:#7550aa}
.pr-page progress::-webkit-progress-bar{background:#e9e2f0;border-radius:20px}
.pr-page progress::-webkit-progress-value{background:#7550aa;border-radius:20px}
.pr-page progress::-moz-progress-bar{background:#7550aa;border-radius:20px}
.pr-card-progress progress{margin-top:10px}
.pr-card-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:21px;padding-top:18px;border-top:1px solid #f0ebf5}
.pr-card-footer>span{color:var(--pr-muted);font-size:11px}
.pr-card-footer button{font-size:12px;padding:8px 11px;min-height:37px}
.pr-empty{text-align:center;background:#fff;border:1px dashed #dacee6;border-radius:12px;padding:44px 25px;color:var(--pr-muted);font-size:14px;line-height:1.7}
.pr-empty h3{color:#39264f;margin:17px 0 8px}
.pr-empty p{max-width:360px;margin:0 auto}
.pr-empty-mark{display:inline-flex;align-items:center;justify-content:center;background:#f4eef9;color:#7951a7;border-radius:50%;width:42px;height:42px;font-size:18px}
.pr-footnote{color:var(--pr-muted);font-size:12px!important;margin:22px 0 0}
.pr-messages:empty{display:none}
.pr-messages p:empty{display:none}
.pr-messages p{margin:0 0 12px;padding:12px 15px;border-radius:7px;font-size:13px;overflow-wrap:anywhere}
.pr-messages p.error:not(:empty){background:#fff0f1;border:1px solid #f0cbd2;color:#a72f46}
.pr-messages p[role=status]:not(:empty){background:#f0f7f3;border:1px solid #d7e9dd;color:#39654b}
.pr-messages button{margin-bottom:15px}
.pr-back{margin:0 0 20px}
.pr-review-heading h1{font-size:clamp(24px,2.9vw,33px);overflow-wrap:anywhere}
.pr-progress-band{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#f6f3f9;border:1px solid var(--pr-border);padding:17px 20px;border-radius:10px;margin-bottom:19px}
.pr-progress-band>div{display:grid;gap:4px}
.pr-progress-band strong{font-size:13px}
.pr-progress-band span{font-size:11px;color:var(--pr-muted)}
.pr-progress-band progress{width:28%;min-width:90px}
.pr-question-nav{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 13px;margin:0 0 16px;max-width:100%;scrollbar-width:thin}
.pr-page .pr-question-button{flex-shrink:0;display:grid;gap:3px;min-width:76px;text-align:left;background:white;color:#513b67;border:1px solid var(--pr-border);padding:10px 12px}
.pr-question-button>span:first-child{font-size:13px;font-weight:700}
.pr-page .pr-question-button[aria-current=step]{background:#54279b;color:#fff;border-color:#54279b;box-shadow:0 3px 8px #53229918}
.pr-question-state{font-size:9px;font-weight:500;opacity:.8}
.pr-review-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:22px;align-items:start}
.pr-source-card,.pr-topics-card{min-width:0;background:#fff;border:1px solid var(--pr-border);border-radius:12px;overflow:hidden}
.pr-source-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:25px 25px 20px;border-bottom:1px solid #eee8f3}
.pr-source-heading .eyebrow{font-size:8px;letter-spacing:1.2px}
.pr-source-heading h2{margin:0;font-size:23px}
.pr-page-range{font-size:11px;color:var(--pr-muted);white-space:nowrap}
.pr-question-text{margin:0;padding:28px 25px;white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal;font-family:inherit;font-size:14px;line-height:1.9;color:#392d46;min-height:250px;max-height:700px;overflow:auto}
.pr-source-note{border-top:1px solid #eee8f3;color:#86788e;padding:18px 25px;margin:0;font-size:11px!important;line-height:1.7!important;background:#fcfbfd}
.pr-topics-card{padding:24px}
.pr-topic-heading h2{margin-bottom:6px}
.pr-topic-heading>p:last-child{font-size:12px;color:var(--pr-muted);margin-bottom:22px}
.pr-suggestion{background:#f6f1fb;border:1px solid #e7ddf1;border-radius:8px;padding:17px;margin-bottom:24px}
.pr-suggestion-uncertain{background:#fffaf0;border-color:#eee1be}
.pr-suggestion-label{font-size:10px;letter-spacing:.5px;font-weight:750;color:#67418b}
.pr-suggestion-uncertain .pr-suggestion-label{color:#89672d}
.pr-suggestion>p{font-size:12px;line-height:1.7;margin:8px 0 12px;color:#6e5d7b;overflow-wrap:anywhere}
.pr-suggestion small{display:block;font-size:10px;color:#7b6d88;line-height:1.6;margin-top:9px}
.pr-suggestion .secondary{font-size:11px;padding:8px 11px;min-height:36px;margin-top:13px}
.pr-suggested-topics,.pr-selected-topics{list-style:none;padding:0;margin:0;display:grid;gap:7px}
.pr-suggested-topics li{font-size:11px;line-height:1.6;color:#553274;overflow-wrap:anywhere}
.pr-suggested-topics li::before{content:'↳';margin-right:8px;color:#9983ac}
.pr-selection-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;font-size:12px}
.pr-selection-heading>span{color:var(--pr-muted);font-size:11px}
.pr-selected-topics{margin-bottom:17px}
.pr-selected-topics li{background:#f1ecf7;border:1px solid #e5dbee;border-radius:5px;padding:7px 9px;font-size:11px;font-weight:550;line-height:1.6;color:#633d89;overflow-wrap:anywhere}
.pr-topic-selection>label{display:block;margin:20px 0 8px;font-size:11px;font-weight:600;color:#62546e}
.pr-topic-selection input[type=search]{font:inherit;font-size:12px;color:#352543;border-radius:7px;border:1px solid #ddd4e6;background:#fff;min-width:0;width:100%;padding:11px 12px;margin:0;min-height:42px}
.pr-topic-options{max-height:235px;overflow:auto;border-bottom:1px solid #eee8f3;margin-top:11px;scrollbar-width:thin;padding:2px 3px 9px}
.pr-topic-options>.small{margin:15px 0}
.pr-topic-options .pr-topic-option{display:flex;gap:10px;align-items:flex-start;padding:10px 4px;margin:0;border-radius:4px;font-size:11px;line-height:1.7;color:#695976;font-weight:450;cursor:pointer}
.pr-topic-option:hover{background:#faf7fc}
.pr-topic-option input[type=checkbox]{accent-color:#6638a2;width:15px;height:15px;min-width:15px;margin:2px 0 0;padding:0;flex-shrink:0}
.pr-topic-option:has(input:disabled){cursor:not-allowed;opacity:.5}
.pr-topic-option strong{color:#493555;font-weight:650}
.pr-topic-option small{display:block;color:#93849f;font-size:9px;line-height:1.5}
.pr-decision-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:20px}
.pr-decision-actions button{font-size:12px;padding:10px 12px}
.pr-decision-actions .plain{font-size:11px;flex-basis:100%}
.pr-decision-note{font-size:11px!important;line-height:1.6!important;margin:11px 0 0;color:var(--pr-muted)}
.pr-save-bar{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:23px 24px;background:#fff;border:1px solid var(--pr-border);border-radius:11px;margin-top:24px;box-shadow:0 4px 16px #35204b04}
.pr-save-bar>div:first-child{min-width:0}
.pr-save-bar strong{font-size:13px}
.pr-save-bar p{font-size:11px;color:var(--pr-muted);margin:5px 0 0}
.pr-save-actions{display:flex;gap:10px;flex-shrink:0}
@media(min-width:1400px){.pr-source-card{position:sticky;top:22px}}
@media(max-width:1100px){.pr-review-grid{gap:16px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.pr-topics-card{padding:19px}.pr-import-card{padding:22px;gap:18px}.pr-source-heading,.pr-question-text{padding:22px 20px}.pr-save-bar{align-items:flex-start;flex-direction:column}.pr-save-actions{align-self:flex-end}}
@media(max-width:760px){.pr-review-grid{grid-template-columns:1fr}.pr-question-text{min-height:180px;max-height:460px}.pr-queue-grid{grid-template-columns:1fr}.pr-import-card{align-items:flex-start;flex-direction:column}.pr-import-card>button{align-self:flex-start}.pr-page-heading,.pr-review-heading{gap:15px}.pr-private{font-size:10px}.pr-review-heading{flex-direction:column}.pr-review-heading .pr-status{margin-top:-7px}.pr-progress-band progress{width:25%}.pr-topics-card{padding:24px}}
@media(max-width:440px){.pr-page-heading{flex-direction:column;margin-bottom:23px}.pr-page-heading h1{font-size:30px}.pr-page-heading p:last-child{font-size:13px}.pr-import-card{padding:22px 19px}.pr-import-card h2{font-size:17px}.pr-import-card p{font-size:13px}.pr-import-card .small{font-size:11px}.pr-private{padding:5px 8px}.pr-queue-card{padding:20px}.pr-card-footer{gap:8px}.pr-card-footer button{padding:8px 10px;font-size:11px}.pr-progress-band{padding:16px;display:block}.pr-progress-band progress{width:100%;margin-top:13px}.pr-topics-card{padding:20px}.pr-source-heading{gap:9px}.pr-source-heading .eyebrow{font-size:7px;letter-spacing:1px}.pr-source-heading h2{font-size:21px}.pr-question-text{font-size:13px}.pr-save-bar{padding:21px 19px;gap:17px}.pr-save-actions{width:100%;display:flex;flex-wrap:wrap}.pr-save-actions button{flex:1;min-width:110px}.pr-suggestion{padding:14px}.pr-question-button{min-width:72px}}
