/* Shared palette for admin and student account workspaces. */
body:has([data-access-theme]){background:#f3f6fb;color:#24364b;--accent:#176b80;--brand:#176b80;--ink:#162f4e}
body:has([data-access-theme]) main{max-width:1180px}
body:has([data-access-theme]) h1,body:has([data-access-theme]) h2{color:#162f4e;letter-spacing:-.025em}
body:has([data-access-theme]) .card,body:has([data-access-theme]) .admin-module{background:#fff;border:1px solid #dce5ef;border-radius:18px;box-shadow:0 6px 24px #16345408}
body:has([data-access-theme]) .admin-welcome{background:linear-gradient(115deg,#142d4c,#195d76);box-shadow:0 12px 32px #142d4c20}
body:has([data-access-theme]) .admin-welcome h1{color:#fff}
body:has([data-access-theme]) .admin-welcome p,body:has([data-access-theme]) .admin-eyebrow{color:#d2e7f2}
body:has([data-access-theme]) .admin-workspace span{background:#75d9cd}
body:has([data-access-theme]) .admin-module-icon{background:#eaf4f8;color:#176b80;border-color:#d9eaf1}
body:has([data-access-theme]) .admin-module h2{color:#162f4e}
body:has([data-access-theme]) .admin-category,body:has([data-access-theme]) label{color:#50647b}
body:has([data-access-theme]) .admin-module>p{color:#586c82}
body:has([data-access-theme]) :is(button,.btn,.admin-primary){background:#176b80;color:#fff;border-color:#176b80;border-radius:10px}
body:has([data-access-theme]) :is(button,.btn,.admin-primary):hover{background:#105569;color:#fff}
body:has([data-access-theme]) .admin-secondary{border-color:#d6e1ed;color:#235875;background:#f7fafd}
body:has([data-access-theme]) a:not(.btn):not(.admin-primary):not(.admin-secondary){color:#17617e}
body:has([data-access-theme]) input:not([type=checkbox]):not([type=hidden]),body:has([data-access-theme]) select{border:1px solid #cbd8e6;border-radius:10px;background:#fbfdff;color:#24364b;max-width:100%}
body:has([data-access-theme]) label>input:not([type=checkbox]):not([type=hidden]),body:has([data-access-theme]) label>select{display:block;width:100%;margin-top:6px}
body:has([data-access-theme]) label{display:block;margin-bottom:14px;font-weight:600}
body:has([data-access-theme]) input[type=checkbox]{accent-color:#176b80}
body:has([data-access-theme]) :is(a,button,input,select):focus-visible{outline:3px solid #63bad1;outline-offset:3px}
body:has([data-access-theme]) fieldset{border:1px solid #d6e1ed;border-radius:12px;padding:18px;margin:16px 0;background:#f8fbfe}
body:has([data-access-theme]) th{background:#183d5c;color:white}
body:has([data-access-theme]) td{border-color:#e3ebf3}
body:has([data-access-theme]) [data-approval-poll]{border:1px solid #bcdbe7;border-radius:16px;background:linear-gradient(125deg,#edf7fb,#f5f8ff);padding:22px}
body:has([data-access-theme]) [data-approval-count]{display:inline-block;min-width:44px;color:#135c78;font-size:32px;font-weight:800;line-height:1.15}
body:has([data-access-theme]) .btn [data-approval-count]{color:#fff;font-size:24px;margin-right:8px}
body:has([data-access-theme]) [data-approval-status]{font-size:12px;color:#476479;margin:12px 0 0}
body:has([data-access-theme]) [data-approval-poll]:has([data-approval-card][hidden]):has([data-approval-status]:empty){display:none}
body:has([data-access-theme]) .error{color:#9d2437;background:#fff1f3;padding:12px;border-radius:10px}
body:has([data-access-theme]) .ok{color:#145b50;background:#eaf8f3;padding:12px;border-radius:10px}
@media(max-width:600px){body:has([data-access-theme]) [data-approval-poll]{padding:16px}body:has([data-access-theme]) .btn{white-space:normal}}
