/* The clinical workspace shares the academic editorial palette. */
:root{--navy:#173f40;--line:#d9e1d7}body{background:#f2f1ed;color:#2c443f}.app-nav{background:#fffefb;border-bottom:1px solid #d5ded4;color:#193f40;padding-top:15px;padding-bottom:15px}.app-nav .brand{color:#193f40}.brand-mark{background:#173f40;color:#e3c994;border:0;border-radius:0;width:42px;height:42px}.brand small{color:#778984}.app-nav>div>a{color:#61786d}.app-nav>div>a[aria-current]{color:#244e3f;border-color:#b59963}.app-nav button{color:#365d49;border-color:#bdcdbd;border-radius:3px}.signed-in-name{color:#748673}.exam-heading{background:#173e3e;border-top:3px solid #b89960;border-bottom:0;padding-top:32px;padding-bottom:30px}.exam-heading .eyebrow{color:#d6c69e;font-size:10px;letter-spacing:.16em}.exam-heading h1{font-family:Georgia,"Times New Roman",serif;font-size:34px;font-weight:400;letter-spacing:-.03em;color:#fffdf5;max-width:1080px;line-height:1.16}.header-meta{color:#b6ccc1;font-size:11px;letter-spacing:.02em}.workbar{background:#fffefb;border-color:#d2ddcf;box-shadow:0 3px 10px #153e2410}.workbar .small{color:#6d806f}.clock{font-family:Georgia,serif;font-weight:400;font-size:31px;color:#214f3a}.bar-progress{font-size:12px;color:#54735b}.bar-progress progress{accent-color:#4b7c57}.save-indicator{font-size:11px}.workbar button{border-radius:3px;font-size:12px}.workflow-nav{border-color:#c9d6c5;margin-top:5px;margin-bottom:25px}.workflow-nav button{font-size:12px;font-weight:600;color:#71836e;border-bottom-width:2px}.workflow-nav button[aria-current]{background:#e5ece0;color:#315737;border-color:#4f7250}.workflow-nav button span{background:#e4eadf;color:#67805d}.workflow-nav button[aria-current] span{background:#cadac0;color:#345430}.card{border-radius:4px;background:#fffefb;border-color:#d9e2d4;box-shadow:none}.section-caption{font-size:10px;color:#897a57;letter-spacing:.13em}h2{font-family:Georgia,serif;font-weight:400;font-size:25px;letter-spacing:-.025em;color:#2c513b}.field{color:#5f745e;font-size:12px}input,textarea,select{border-radius:3px!important;background:#fcfdf9;border-color:#c7d4c0!important}button{border-radius:3px;font-size:13px}button.primary,.primary-link{background:#244c39;border-color:#244c39;border-radius:3px}.domain>summary{border-radius:3px 3px 0 0;background:#f0f4eb;border-bottom-color:#d8e2d0}.domain-head h3{font-family:Georgia,serif;font-weight:400;font-size:21px;color:#315337}.domain-number{color:#80916f;letter-spacing:.09em;font-size:10px}.domain-score{background:#e0ead7;color:#527047;font-size:11px;border-radius:3px}.scoring-label{background:#f7f9f1;color:#819173;font-size:10px;text-transform:uppercase;letter-spacing:.06em}.rating-option{border-radius:3px;border-color:#c7d5be;background:#fffefb;font-size:12px;min-height:46px}.rating-option.pass:has(input:checked){background:#e2efd9;border-color:#789766;color:#365f2b}.criterion-comment textarea{font-size:14px}.rating-row{font-size:14px;padding:23px}.rating-row.rated-pass{background:#f4f8ef}.small{color:#76896f;font-size:12px}.review-dialog{border-radius:4px;background:#fffefb}.reference-group{border-radius:3px;background:#fcfdf7;border-color:#d8e2cf}.review-totals .score{font-family:Georgia,serif;font-weight:400;color:#315638}.review-totals .result{font-size:17px}.completion-notice{background:#eff7e9;border-color:#97b286}.workspace-actions summary{font-size:12px;color:#778b6c}.comment-jump{color:#97653b}.critical h2{color:#87543e}button.danger{color:#a4473b;border-color:#ddc7bc}
@media(max-width:1000px){.exam-heading h1{font-size:30px}.app-nav{gap:16px}}
@media(max-width:650px){.exam-heading{padding:25px 20px}.exam-heading h1{font-size:27px}.header-meta{font-size:10px}.domain-head h3{font-size:20px}.rating-row{padding:18px}.workflow-nav button{font-size:11px;min-width:108px}.app-nav .brand{font-size:15px}}
@media print{body,.exam-heading{background:white}.exam-heading h1{color:black;font-size:24pt}.header-meta{color:#333}.card{box-shadow:none}.domain-head h3{font-family:Arial,sans-serif;font-size:12pt}.exam-heading{border:0}}

/* Keep acknowledgment windows centered above the evaluation workspace. */
@media screen {
 dialog{position:fixed;inset:0;margin:auto;max-height:calc(100dvh - 32px);overflow:auto;background:#fffefb;border:1px solid #becdbf;border-top:4px solid #b89960;box-shadow:0 24px 100px #102d3b55}
 dialog:not([open]){display:none}
 dialog::backdrop{background:#102d32b8;backdrop-filter:blur(3px)}
 #studentDialog{max-width:680px;padding:28px;line-height:1.7}
 dialog .modal-actions{position:sticky;bottom:-28px;background:#fffefb;padding-bottom:16px}
 body:has(dialog[open]){overflow:hidden}
}
