.auth-body{min-height:100vh;display:grid;place-items:center;padding:28px;background:#f8fafc}.auth-panel{width:min(100%,480px);background:white;border:1px solid #e2e8f0;border-radius:18px;padding:32px}.auth-brand{display:block;font-size:25px;font-weight:750;color:#312e81;margin-bottom:32px}.auth-brand span{display:block;font-size:13px;font-weight:400;color:#475569;margin-top:5px}.auth-panel h1{font-size:28px;letter-spacing:-.7px}.auth-panel form,.runtime-form{display:grid;gap:20px;margin:24px 0}.auth-panel label,.runtime-form label{display:grid;gap:9px;font-size:15px;font-weight:600;min-width:0}.auth-panel input,.runtime-form input,.runtime-form select{width:100%;min-width:0;min-height:46px;border:1px solid #94a3b8;border-radius:9px;background:white;color:#172033;font:inherit;padding:11px 13px;font-size:16px}.auth-panel button,.runtime-form button{justify-self:start;min-height:44px}.auth-panel #auth-error,.runtime-error{color:#9f1239;line-height:1.7;font-size:15px}.runtime-panel{padding:26px;background:#fff;border:1px solid #e2e8f0;border-radius:16px;margin-bottom:24px;min-width:0}.runtime-panel h2{font-size:21px;margin:0 0 20px}.runtime-panel p{font-size:15px;line-height:1.8;color:#334155}.runtime-form{max-width:650px}.runtime-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;border-bottom:1px solid #e2e8f0}.runtime-row:last-child{border:0}.runtime-row h3{font-size:17px;margin:0 0 6px}.runtime-row p{font-size:14px;margin:0}.runtime-tag{padding:6px 10px;border-radius:7px;font-size:13px;background:#eef2ff;color:#312e81;white-space:nowrap}.runtime-status{font-size:15px;line-height:1.7;min-height:26px;color:#334155}.runtime-test-label{padding:10px 14px;background:#fff7ed;color:#9a3412;font-size:14px;border:1px solid #fed7aa;border-radius:9px}.runtime-account{position:relative;min-width:0;margin-left:10px;flex-shrink:0}.runtime-account>summary{cursor:pointer;padding:10px;border:1px solid #e2e8f0;border-radius:9px;min-height:44px;font-size:14px;max-width:240px;overflow-wrap:anywhere}.runtime-account nav{position:absolute;right:0;top:100%;width:240px;z-index:40;border:1px solid #cbd5e1;border-radius:10px;background:#fff;box-shadow:0 8px 25px #0f172a12;padding:8px}.runtime-account nav>a,.runtime-account nav>button{display:block;padding:12px;text-align:left;min-height:44px;border:0;border-radius:7px;width:100%;font:inherit;font-size:15px;background:white;color:#172033}.runtime-account nav>a:hover,.runtime-account nav>button:hover{background:#f1f5f9}.runtime-form .access-actions{margin-top:4px}.runtime-form small{font-size:13px;font-weight:400;line-height:1.6;color:#475569}.runtime-info-list{display:grid;gap:12px;font-size:15px}.runtime-info-list dt{font-weight:600}.runtime-info-list dd{margin:0 0 12px;overflow-wrap:anywhere}.runtime-account:has(summary:focus-visible){outline:3px solid #1d4ed8;outline-offset:2px}@media(max-width:760px){.auth-body{padding:18px}.auth-panel{padding:24px}.runtime-panel{padding:20px}.runtime-account{margin-left:0}.runtime-account>summary{max-width:145px;font-size:12px;padding:8px}.context-bar{flex-wrap:wrap}.runtime-row{align-items:flex-start;gap:12px}.runtime-panel h2{font-size:20px}.runtime-form{gap:18px}.context-edition{display:none}}@media print{.runtime-account{display:none}}

.runtime-status:empty{display:none}
.runtime-work{border-top:1px solid #e2e8f0;margin-top:16px;padding-top:14px}.runtime-answer-buttons{display:flex;gap:8px;flex-wrap:wrap}.runtime-save-status,.runtime-rating-status{min-height:24px;font-size:14px!important;line-height:1.7;color:#475569;margin:8px 0}.runtime-response-feedback{padding:16px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;margin-top:12px}.runtime-response-feedback h4{margin:0 0 8px;font-size:17px}.runtime-response-feedback p{font-size:15px!important;margin-bottom:8px}.runtime-response-feedback small{font-size:13px;color:#475569;line-height:1.7}.runtime-card-rating{margin:18px 0;padding:16px 0;border-top:1px solid #e2e8f0}.runtime-card-rating>p{font-size:15px}.runtime-card-rating button[aria-pressed=true]{border-color:#4f46e5;background:#eef2ff;color:#312e81}.runtime-progress-filters{display:flex;align-items:flex-end;flex-wrap:wrap;gap:16px;margin:0 0 24px}.runtime-progress-filters label{display:flex;flex-direction:column;gap:8px;font-size:15px;font-weight:600}.runtime-progress-filters select{min-height:46px;border:1px solid #94a3b8;border-radius:8px;background:white;padding:10px 13px;color:#172033;font:inherit}.runtime-progress-table{max-width:100%;overflow-x:auto}.runtime-progress-table table{width:100%;min-width:850px;border-collapse:collapse;text-align:left}.runtime-progress-table th,.runtime-progress-table td{padding:16px 12px;border-bottom:1px solid #e2e8f0;vertical-align:top;font-size:14px;font-weight:400;line-height:1.65}.runtime-progress-table thead th{font-weight:650;background:#f8fafc}.runtime-progress-table th:first-child{min-width:250px;max-width:330px}.runtime-progress-table th a{font-weight:600;color:#312e81;text-decoration:underline;text-underline-offset:3px}.runtime-progress-table th small{display:block;font-size:12px;color:#475569;margin-top:8px}.runtime-progress-state{font-size:13px}.runtime-progress-state[data-state=to_review]{color:#92400e}.runtime-progress-state[data-state=insufficient_data]{color:#6d28d9}.runtime-progress-state[data-state=completed]{color:#166534}.runtime-progress-note{font-size:14px!important;color:#475569}.runtime-task{padding:0}.runtime-task>summary{cursor:pointer;min-height:58px;padding:18px 22px;font-size:17px;font-weight:600;line-height:1.5}.runtime-task-heading{display:block;font-size:13px;font-weight:400;color:#475569;margin-top:6px}.runtime-task-body{padding:0 22px 20px}.runtime-task-body>p{margin-bottom:16px}.runtime-task h4{font-size:15px;margin:18px 0 10px}.runtime-raw-answer{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;font:inherit;font-size:15px;line-height:1.8;padding:14px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px}.runtime-attempt{border:1px solid #e2e8f0;border-radius:9px;margin:16px 0}.runtime-attempt summary{cursor:pointer;font-size:14px;line-height:1.7;min-height:44px;padding:12px}.runtime-attempt>div{padding:0 14px 14px}.runtime-course-supports>summary{min-height:44px;cursor:pointer;font-size:16px;font-weight:600;line-height:1.7}.runtime-course-supports[open]>summary{margin-bottom:18px}.runtime-progress-table:focus-visible{outline:3px solid #1d4ed8;outline-offset:3px}@media(max-width:760px){.runtime-progress-filters{gap:12px}.runtime-progress-filters label{width:100%;min-width:0}.runtime-progress-filters select{width:100%;max-width:100%}.runtime-task>summary{padding:16px}.runtime-task-body{padding:0 16px 16px}.runtime-response-feedback{padding:12px}.runtime-raw-answer{font-size:14px}.runtime-row{flex-wrap:wrap}.runtime-row .secondary{font-size:13px}.runtime-work .secondary{font-size:12px}}
.runtime-progress-table th a{display:block;min-height:44px;padding:4px 0}

.runtime-ai-action{margin-top:12px;padding-top:12px;border-top:1px solid #e2e8f0}.runtime-ai-action p,.runtime-ai-feedback p{font-size:14px;line-height:1.8}.runtime-ai-criterion{padding:8px 0}.runtime-ai-criterion blockquote{margin:8px 0;padding:10px 14px;border-left:3px solid #6366f1;background:#fff;white-space:pre-wrap;overflow-wrap:anywhere}.runtime-ai-origin{font-size:12px!important;color:#475569}.runtime-ai-check{display:flex!important;align-items:flex-start;gap:12px!important;font-weight:400!important}.runtime-ai-check input{width:22px;min-width:22px;height:22px;min-height:22px;margin:3px 0}.runtime-ai-jobs article{border-top:1px solid #e2e8f0;padding:16px 0}.runtime-ai-jobs h3{font-size:16px}.runtime-ai-feedback{margin-top:12px}.runtime-ai-notice{min-height:24px}

.capture-panel{width:min(100%,900px);max-width:none}.import-file-inputs{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0}.import-file-button{position:relative;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;min-height:46px;cursor:pointer;padding:12px 16px}.import-file-button input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.import-file-button:focus-within{outline:3px solid #1d4ed8;outline-offset:3px}.import-pages{list-style:none;margin:20px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.import-page{min-width:0;border:1px solid #e2e8f0;border-radius:12px;padding:14px;background:#f8fafc}.import-page h3{font-size:14px;line-height:1.6;overflow-wrap:anywhere;margin:0 0 12px}.import-preview{position:relative;width:100%;max-height:560px;overflow:hidden;background:#e2e8f0;border:1px solid #cbd5e1;border-radius:6px}.import-preview img{position:absolute;left:50%;top:50%;translate:-50% -50%;width:100%;height:100%;object-fit:contain}.import-page-tools{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.import-page-tools button{min-height:44px;font-size:12px}.import-pair{margin-top:24px;border-top:1px solid #e2e8f0;padding-top:24px}.import-pair img{display:block;max-width:100%;height:auto;margin:14px 0}.import-document-list article{border-top:1px solid #e2e8f0;padding:18px 0}.import-document-list h3{font-size:17px;color:#312e81;margin:0 0 8px}.import-upload-queue{padding-left:20px}.runtime-import-status{font-size:15px;line-height:1.8;min-height:26px;overflow-wrap:anywhere}.capture-panel h1{font-size:26px}.capture-panel .runtime-panel{padding:20px}.capture-panel button{min-height:44px}.capture-panel #capture-status{line-height:1.8}.runtime-panel>summary{cursor:pointer;min-height:44px;line-height:1.8}.import-page-tools .secondary:disabled{cursor:default;opacity:.5}@media(max-width:760px){.import-pages{grid-template-columns:minmax(0,1fr);gap:18px}.import-file-inputs{flex-direction:column}.import-file-button{width:100%;justify-content:flex-start}.import-page{padding:12px}.capture-panel{padding:18px}.capture-panel .runtime-panel{padding:16px}.import-page-tools button{font-size:12px}}

.capture-panel{--accent:#4f46e5;--strong:#4338ca;--tint:#eef2ff}

.import-analysis-report{margin-top:24px;border-top:1px solid #e2e8f0;padding-top:20px}.import-analysis-disclosure{color:#475569;font-size:14px}.import-notion{padding:20px 0;border-bottom:1px solid #e2e8f0}.import-notion header{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.import-notion h4{font-size:17px;margin:0}.import-coverage{font-size:12px;padding:4px 8px;border-radius:5px;background:#eef2ff;color:#3730a3}.import-coverage[data-coverage=uncertain]{background:#fff7ed;color:#9a3412}.import-notion blockquote{margin:8px 0;padding:10px 14px;border-left:3px solid #a5b4fc;white-space:pre-wrap;overflow-wrap:anywhere}.import-notion li{line-height:1.8;overflow-wrap:anywhere}.import-transcription{padding:12px 0;border-bottom:1px solid #e2e8f0}.import-transcription summary{min-height:44px;cursor:pointer;line-height:1.8}.import-transcription pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.8;background:#f8fafc;padding:14px}.import-page:focus{outline:3px solid #4f46e5;outline-offset:3px}

.import-analysis-estimate{font-size:14px;color:#475569;margin:14px 0}.import-analysis-estimate summary{min-height:44px;cursor:pointer;line-height:1.8}

.scan-origin-badge{display:inline-block;font-size:12px;line-height:1.6;font-weight:600;color:#3730a3;background:#eef2ff;border:1px solid #c7d2fe;padding:3px 8px;border-radius:5px;margin:6px 0}.scan-course-origin{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:0 0 20px;font-size:14px;line-height:1.8}.scan-course-origin a{text-decoration:underline;text-underline-offset:3px}.scan-course-links{list-style:none;padding:0}.scan-course-links li{padding:14px 0;border-bottom:1px solid #e2e8f0}.scan-course-links small,.scan-notion-choice small{display:block;color:#475569;line-height:1.8}.scan-notion-choice{display:flex;align-items:flex-start;gap:12px;margin:14px 0;line-height:1.8}.scan-notion-choice input{width:22px;min-width:22px;height:22px;margin-top:4px}.scan-notion-choice strong{font-weight:600}.runtime-panel fieldset{min-width:0;border:0;padding:0;margin:0}.runtime-panel legend{font-weight:600;font-size:17px;margin:16px 0}.runtime-form textarea{width:100%;min-height:130px;border:1px solid #cbd5e1;border-radius:7px;padding:12px;font:inherit;line-height:1.8;resize:vertical}.runtime-form fieldset{display:grid;gap:18px}.scan-course-status{line-height:1.8;overflow-wrap:anywhere}
#recovery-codes{display:block;width:100%;max-width:100%;min-height:260px;margin:12px 0 20px;border:1px solid #94a3b8;border-radius:9px;padding:14px;background:#f8fafc;color:#172033;font:14px/1.9 ui-monospace,monospace;white-space:pre;resize:vertical}#security-invite{display:block;width:100%;min-width:0;min-height:46px;margin-top:10px;border:1px solid #94a3b8;border-radius:9px;padding:12px;font:16px/1.5 system-ui;background:#f8fafc;color:#172033}.auth-panel details{margin-top:24px}.auth-panel details>summary{cursor:pointer;min-height:44px;line-height:1.8}.auth-panel>button,.auth-panel #auth-content>button{margin-top:12px}.auth-panel p{line-height:1.8;color:#334155}
#practice-panel{margin-top:2rem;scroll-margin-top:1rem}#practice-panel .runtime-form{padding-bottom:1.5rem;border-bottom:1px solid #e2e8f0}.practice-history{display:flex;align-items:end;flex-wrap:wrap;gap:.75rem;margin:1.5rem 0}.practice-history label{flex:1;min-width:12rem}.practice-task{padding-top:1rem}.practice-support{padding:1rem;border-left:3px solid #6366f1;background:#eef2ff;margin:1rem 0}.practice-task input,.practice-task select{width:100%;box-sizing:border-box;padding:.8rem;border:1px solid #a8b2c3;border-radius:.7rem;background:#fff;color:#172033;font:inherit}.practice-task .question-index{margin-bottom:1rem}
.practice-history label{display:grid;gap:9px;font-size:15px;font-weight:600}.practice-history select{width:100%;min-width:0;min-height:46px;padding:11px 13px;border:1px solid #94a3b8;border-radius:9px;background:#fff;color:#172033;font:inherit;font-size:16px}
