/* Dashboard theme is independent of the public site's appearance. */
.uds-theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:8px 12px;min-height:38px;border:1px solid #9eb2c9;border-radius:10px;background:#173b60;color:#fff;font:inherit;font-size:13px;font-weight:600;cursor:pointer}
.uds-theme-toggle:hover{background:#254e78}.uds-theme-toggle:focus-visible{outline:3px solid #eaa129;outline-offset:3px}
.uds-side-head:has(.uds-theme-toggle){display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.uds-theme-toolbar{display:flex;justify-content:flex-end;padding:10px 24px}
html[data-uds-theme=light]:has(.uds-page){--uds-page-bg:#f1f5f9;--uds-page-bg-2:#e9f0f7;--uds-card-bg:#fff;--uds-card-bg-2:#fff;--uds-text:#182c43;--uds-muted:#52657b;--uds-border:#cad5e2;--uds-shadow:0 12px 32px #193b6012;--uds-orange:#985100;--uds-orange-2:#864700;color-scheme:light}
html[data-uds-theme=light]:has(.uds-page),html[data-uds-theme=light] body:has(.uds-page),html[data-uds-theme=light] .uds-page{background:#f1f5f9!important;color:#182c43}
html[data-uds-theme=light] .uds-page{--ind-ink:#182c43;--ind-muted:#52657b;--ind-line:#cad5e2;--ind-accent:#985100;--bs-body-color:#182c43;--bs-secondary-color:#52657b;--bs-border-color:#cad5e2;--bs-body-bg:#fff}
html[data-uds-theme=light] .uds-page :is(.uds-sidebar,.uds-panel,.uds-info-card,.uds-stat,.uds-table-card,.uds-hero,.uds-cover){background:#fff!important;color:#182c43!important;border-color:#cad5e2!important;box-shadow:0 8px 28px #193b6010}
html[data-uds-theme=light] .uds-page :is(h1,h2,h3,h4,h5,h6,.uds-title,.uds-side-name,.uds-brand-title,.uds-info-card strong,.uds-stat strong){color:#182c43!important}
html[data-uds-theme=light] .uds-page :is(.uds-muted,.uds-subtitle,.uds-eyebrow,.uds-side-role,.uds-brand-subtitle,.uds-info-card p,.uds-info-card span,.uds-text-block,.text-muted,.text-white-50){color:#52657b!important}
html[data-uds-theme=light] .uds-page :is(.uds-side-nav .nav-link,.uds-btn-ghost,.uds-link,.uds-edit-profile){color:#254d77!important;border-color:#cad5e2!important}
html[data-uds-theme=light] .uds-page .uds-side-nav .nav-link:hover{background:#edf3fa!important}
html[data-uds-theme=light] .uds-page .uds-side-nav .nav-link.active{background:#e5effc!important;color:#164d86!important;box-shadow:inset 3px 0 #245e99}
html[data-uds-theme=light] .uds-page :is(.uds-btn-primary,.uds-action){background:#e8f0fa!important;color:#214e7f!important;border-color:#b8cce4!important}
html[data-uds-theme=light] .uds-page .uds-action:hover{background:#d6e6f8!important}
html[data-uds-theme=light] .uds-page .uds-side-footer{border-color:#cad5e2;background:#f8fafc}
html[data-uds-theme=light] .uds-page :is(.uds-sidebar::before,.uds-bg-mark){background:#dce7f3}
html[data-uds-theme=light] .uds-theme-toggle{background:#fff;color:#214e7f;border-color:#9eb4cf}
html[data-uds-theme=light] .uds-theme-toggle:hover{background:#e8f0fa}
html[data-uds-theme=light] .uds-page :is(input:not([type=checkbox]):not([type=radio]),select,textarea){background:#fff!important;color:#182c43!important;border-color:#9dafc4!important;color-scheme:light}
html[data-uds-theme=light] .uds-page :is(input,textarea)::placeholder{color:#64758a;opacity:1}
html[data-uds-theme=light] .uds-page :is(input,select,textarea):disabled{background:#edf1f6!important;color:#536579!important}
html[data-uds-theme=light] .uds-page input:is([type=checkbox],[type=radio]){accent-color:#245e99}
html[data-uds-theme=light] .uds-page :is(table,.table,.ind-table){--bs-table-bg:#fff;--bs-table-color:#182c43;--bs-table-striped-bg:#f0f5fb;--bs-table-striped-color:#182c43;--bs-table-hover-bg:#e8f0fa;--bs-table-hover-color:#182c43;color:#182c43!important;border-color:#cad5e2}
html[data-uds-theme=light] .uds-page :is(thead th,.ind-table thead th){background:#e8f0fa!important;color:#314d6c!important}
html[data-uds-theme=light] .uds-page :is(td,th){border-color:#d6e0eb!important}
html[data-uds-theme=light] .uds-page :is(.dt-info,.dt-length,.dt-search,.dataTables_info,.dataTables_length,.dataTables_filter){color:#52657b!important}
html[data-uds-theme=light] .uds-page .ind-embedded{color-scheme:light;--ind-ink:#182c43;--ind-muted:#52657b;--ind-line:#cad5e2;--ind-accent:#985100}
html[data-uds-theme=light] .uds-page :is(.ind-panel,.ind-stat,.ind-criterion,.ind-review-counts>span,.ind-reject-editor){background:#fff!important;color:#182c43;border-color:#cad5e2!important}
html[data-uds-theme=light] .uds-page :is(.ind-muted,.ind-review-total small,.ind-review-eyebrow,.ind-review-details dt){color:#52657b}
html[data-uds-theme=light] .uds-page :is(.ind-heading h2,.ind-review-total){color:#182c43}
html[data-uds-theme=light] .uds-page :is(.ind-embedded a,.ind-eyebrow){color:#245b94}
html[data-uds-theme=light] .uds-page :is(.ind-button,.ind-icon-review,.ind-law-info){background:#eef3fa;color:#234e7d!important;border-color:#aabed6}
html[data-uds-theme=light] .uds-page :is(.ind-button,.ind-icon-review,.ind-law-info):hover{background:#dce9f8;color:#183c65!important}
html[data-uds-theme=light] .uds-page .ind-primary{background:#245e99!important;color:#fff!important;border-color:#245e99}
html[data-uds-theme=light] .uds-page .ind-primary:hover{background:#194a7c!important;color:#fff!important}
html[data-uds-theme=light] .uds-page :is(.ind-badge,.ind-number,.ind-profile-context){background:#edf2f8;color:#52657b}
html[data-uds-theme=light] .uds-page .ind-point{background:#edf2f8;color:#52657b;border-color:#aabed6}
html[data-uds-theme=light] .uds-page :is(.ind-point.is-fulfilled,.ind-achievement-date.is-valid,.ind-hours-status.is-valid,.ind-notice){background:#e0f3e8;color:#155a39;border-color:#5b9d79}
html[data-uds-theme=light] .uds-page :is(.ind-point.is-saved,.ind-warning,.ind-p37[data-state=missing]){color:#754a00}
html[data-uds-theme=light] .uds-page .ind-point.is-saved{background:#fff1cf;border-color:#b68a27}
html[data-uds-theme=light] .uds-page :is(.ind-point.is-rejected,.ind-achievement-date.is-invalid,.ind-hours-status.is-invalid,.ind-rejection){background:#fbe6e9;color:#912b3a;border-color:#b96675}
html[data-uds-theme=light] .uds-page :is(.ind-delete,.ind-danger,.errorlist){color:#a1283d!important}
html[data-uds-theme=light] .uds-page .ind-review-badge{background:#edf2f8;color:#425b76;border-color:#9aadc4}
html[data-uds-theme=light] .uds-page :is(.ind-review-badge[data-review=approved],.ind-icon-review[data-review=approved],.is-fulfilled .ind-number,.is-fulfilled .ind-status){color:#155a39}
html[data-uds-theme=light] .uds-page .ind-review-badge[data-review=approved]{background:#e0f3e8;border-color:#5b9d79}
html[data-uds-theme=light] .uds-page .ind-review-badge[data-review=declared]{background:#fff1cf;color:#754a00;border-color:#b68a27}
html[data-uds-theme=light] .uds-page :is(.ind-review-badge[data-review=rejected],.ind-icon-review[data-review=rejected]){color:#912b3a;border-color:#b96675}
html[data-uds-theme=light] .uds-page .ind-icon-review[aria-pressed=true]{background:#e0ebf7;box-shadow:inset 0 -3px currentColor}
html[data-uds-theme=light] .uds-page .ind-reject-editor label{color:#912b3a}
html[data-uds-theme=light] .uds-page .ind-fact[data-state=expired]{background:#f2f4f7!important}
html[data-uds-theme=light] .uds-page :focus-visible{outline-color:#245e99}
html[data-uds-theme=light] .ind-law-dialog{background:#fff;color:#182c43;border-color:#9aadc4;color-scheme:light}
html[data-uds-theme=light] .ind-law-dialog :is(.ind-law-intro,.ind-law-edition){color:#52657b}
html[data-uds-theme=light] .ind-law-dialog a{color:#245b94}
@media print{.uds-theme-toggle,.uds-theme-toolbar{display:none!important}}

html[data-uds-theme=light] .uds-page :is(.uds-empty,.uds-photo-placeholder,.uds-avatar-sm-placeholder){background:#e8eff7!important;color:#52657b!important}
html[data-uds-theme=light] .uds-page :is(.uds-empty i,.uds-side-nav .nav-link i,.uds-side-nav .nav-link.active i,.uds-side-nav .nav-link:hover i){color:#245b94!important}
html[data-uds-theme=light] .uds-page :is(.uds-table-card a,.uds-text-block a,.uds-info-card a){color:#245b94!important}
html[data-uds-theme=light] .uds-page :is(.uds-table-card td,.uds-hero p,.uds-hero span,.uds-cover p,.uds-cover span){color:#314d6c!important}
html[data-uds-theme=light] .uds-page :is(.dt-buttons .btn,.pagination .page-link){background:#edf3fa;color:#234e7d;border-color:#aabed6}
html[data-uds-theme=light] .uds-page .pagination .active>.page-link{background:#245e99;color:#fff}

/* Light dashboard: override inherited white typography inside criteria. */
html[data-uds-theme=light] .uds-page :is(.ind-criterion-title,.ind-criterion-title>strong,.ind-criterion>summary>strong,.ind-status,.ind-progress-label,.ind-progress-label span,.ind-verified-progress,.ind-verified-progress strong,.ind-fact-top,.ind-fact-top>.ind-muted,.ind-dissertation-year,.ind-dissertation-year strong,.ind-chevron){color:#182c43!important}
html[data-uds-theme=light] .uds-page :is(.ind-fact-top>.ind-muted,.ind-criterion-title .ind-status,.ind-review-summary,.ind-progress-label span){color:#52657b!important}
html[data-uds-theme=light] .uds-page :is(.ind-law-info,.ind-law-info i,.ind-law-info span,.ind-criterion-add,.ind-criterion-add i){color:#245b94!important}
html[data-uds-theme=light] .uds-page .is-fulfilled .ind-status{color:#155a39!important}
html[data-uds-theme=light] .uds-page :is(.ind-library-overall,.ind-p37[data-state=missing]){color:#754a00!important}
html[data-uds-theme=light] .uds-page .ind-library-overall.is-verified{color:#155a39!important}
html[data-uds-theme=light] .uds-page .ind-review-note{background:#e7f1fb;color:#234b71;border-color:#608fb8}
html[data-uds-theme=light] .ind-law-notes p{color:#52657b}
html[data-uds-theme=light] .uds-page progress{background:#dde6f0;color:#245e99;border:0;border-radius:5px;overflow:hidden}
html[data-uds-theme=light] .uds-page progress::-webkit-progress-bar{background:#dde6f0;border-radius:5px}
html[data-uds-theme=light] .uds-page progress::-webkit-progress-value{background:#245e99;border-radius:5px}
html[data-uds-theme=light] .uds-page progress::-moz-progress-bar{background:#245e99;border-radius:5px}
html[data-uds-theme=light] .uds-page .is-fulfilled progress{color:#237347}
html[data-uds-theme=light] .uds-page .is-fulfilled progress::-webkit-progress-value{background:#237347}
html[data-uds-theme=light] .uds-page .is-fulfilled progress::-moz-progress-bar{background:#237347}

/* Statistics contain explicit white child colours in the legacy dashboard. */
html[data-uds-theme=light] .uds-page :is(.ind-stat,.uds-stat) :is(strong,b,h1,h2,h3,h4){color:#182c43!important}
html[data-uds-theme=light] .uds-page :is(.ind-stat,.uds-stat)>span,
html[data-uds-theme=light] .uds-page :is(.ind-stat,.uds-stat) :is(small,p,.ind-muted){color:#52657b!important}
html[data-uds-theme=light] .uds-page .ind-stat .ind-review-summary{color:#52657b!important}
html[data-uds-theme=light] .uds-page .ind-embedded .ind-button.ind-info{background:#dff3fc!important;color:#125071!important;border-color:#78b5cf}
html[data-uds-theme=light] .uds-page .ind-embedded .ind-button.ind-info:hover{background:#c8e9f8!important;color:#103f59!important}

/* Complete light palette for shared private/public dashboard content.
   Neutral descendants inherit their surface colour, including nested status text. */
html[data-uds-theme=light] .uds-page :is(p,span,small,label,td,th,strong,b,li,dt,dd){color:inherit}
html[data-uds-theme=light] .uds-page{
  --bs-primary-rgb:36,91,148;--bs-success-rgb:21,90,57;
  --bs-danger-rgb:145,43,58;--bs-warning-rgb:117,74,0;
  --bs-info-rgb:18,80,113;--bs-secondary-rgb:82,101,123;
  --bs-primary-text-emphasis:#245b94;--bs-success-text-emphasis:#155a39;
  --bs-danger-text-emphasis:#912b3a;--bs-warning-text-emphasis:#754a00;
  --bs-info-text-emphasis:#125071;
}
html[data-uds-theme=light] .uds-page :is(.text-white,.text-light){color:#182c43!important}
html[data-uds-theme=light] .uds-page :is(.uds-info-card,.uds-hero,.uds-cover) :is(p,span){color:inherit!important}
html[data-uds-theme=light] .uds-page :is(.uds-info-card,.uds-hero,.uds-cover) .text-muted{color:#52657b!important}
html[data-uds-theme=light] .uds-page :is(.uds-quick-actions a,.uds-mini-dot){background:#e8eff7;color:#245b94;border-color:#9dafc4}
html[data-uds-theme=light] .uds-page .uds-quick-actions a:hover{background:#d6e6f8;color:#183c65}
/* Explicit badge pairs keep semantic colour even inside information cards. */
html[data-uds-theme=light] .uds-page .badge{background:#edf2f8!important;color:#425b76!important}
html[data-uds-theme=light] .uds-page .badge:is(.bg-primary,.bg-primary-subtle){background:#e5effc!important;color:#245b94!important}
html[data-uds-theme=light] .uds-page .badge:is(.bg-success,.bg-success-subtle){background:#e0f3e8!important;color:#155a39!important}
html[data-uds-theme=light] .uds-page .badge:is(.bg-warning,.bg-warning-subtle){background:#fff1cf!important;color:#754a00!important}
html[data-uds-theme=light] .uds-page .badge:is(.bg-danger,.bg-danger-subtle){background:#fbe6e9!important;color:#912b3a!important}
html[data-uds-theme=light] .uds-page .badge:is(.bg-info,.bg-info-subtle){background:#dff3fc!important;color:#125071!important}
html[data-uds-theme=light] .uds-page .badge-content-edu{color:#754a00}
/* Outline actions retain legible text and icons at rest, hover and keyboard focus. */
html[data-uds-theme=light] .uds-page .btn{--bs-btn-color:#245b94;--bs-btn-border-color:#8da5bf;--bs-btn-hover-color:#fff;--bs-btn-hover-bg:#245b94;--bs-btn-hover-border-color:#245b94;--bs-btn-active-color:#fff;--bs-btn-active-bg:#194a7c}
html[data-uds-theme=light] .uds-page .btn-outline-success{--bs-btn-color:#155a39;--bs-btn-hover-bg:#155a39;--bs-btn-hover-border-color:#155a39}
html[data-uds-theme=light] .uds-page .btn-outline-danger{--bs-btn-color:#912b3a;--bs-btn-hover-bg:#912b3a;--bs-btn-hover-border-color:#912b3a}
html[data-uds-theme=light] .uds-page .btn-outline-secondary{--bs-btn-color:#425b76}
html[data-uds-theme=light] .uds-page .btn:not(:hover):not(:active):not(:focus-visible){color:var(--bs-btn-color)!important}
html[data-uds-theme=light] .uds-page .btn:is(:hover,:active,:focus-visible){background:var(--bs-btn-hover-bg)!important;color:#fff!important;border-color:var(--bs-btn-hover-border-color)!important}
html[data-uds-theme=light] .uds-page .btn :is(span,i){color:inherit!important}
html[data-uds-theme=light] .uds-page .btn:is(.btn-info,.btn-warning){--bs-btn-color:#182c43}
html[data-uds-theme=light] .uds-page .btn:is(.btn-primary,.btn-success,.btn-danger,.btn-secondary){color:#fff!important;background:#245b94}
html[data-uds-theme=light] .uds-page .btn.btn-success{background:#155a39}
html[data-uds-theme=light] .uds-page .btn.btn-danger{background:#912b3a}
html[data-uds-theme=light] .uds-page .btn:is(.btn-primary,.btn-success,.btn-danger,.btn-secondary):not(:hover):not(:active):not(:focus-visible){color:#fff!important}
html[data-uds-theme=light] .uds-page .ind-p37[data-state=declared]{color:#245b94}
html[data-uds-theme=light] .uds-page :is(.ind-notice,.ind-review-note,.ind-rejection,.ind-hours-status,.ind-achievement-date,.ind-review-badge,.ind-point,.ind-button) :is(p,span,small,strong,b,i){color:inherit!important}
html[data-uds-theme=light] .uds-page .is-fulfilled .ind-number{background:#e0f3e8;color:#155a39}
html[data-uds-theme=light] .uds-page .ind-toast{background:#fbe6e9;color:#912b3a}
html[data-uds-theme=light] .uds-page :is(.dt-paging,.dataTables_wrapper) .page-item.active .page-link{background:#245e99!important;color:#fff!important}
html[data-uds-theme=light] .uds-page :is(.dt-paging,.dataTables_wrapper) .page-item.disabled .page-link{color:#52657b!important;opacity:1}
html[data-uds-theme=light] .uds-page :is(.dt-search,.dt-length,.dataTables_filter,.dataTables_length) label{color:#52657b!important}
