/* Generated by scripts/generate-theme-colors.py. Edit source styles, then regenerate. */

/* wwwroot/css/admin-workspace.css */
html[data-theme] body.admin-shell {
    --admin-bg: var(--theme-surface) !important;
    --admin-bg-soft: var(--theme-soft) !important;
    --admin-surface: var(--theme-surface) !important;
    --admin-surface-2: var(--theme-soft) !important;
    --admin-surface-3: var(--theme-soft) !important;
    --admin-ink: var(--theme-text) !important;
    --admin-muted: var(--theme-muted) !important;
    --admin-border: var(--theme-border) !important;
    --admin-border-strong: var(--theme-border) !important;
}
html[data-theme] body.admin-shell .app-topbar {
    background: var(--theme-surface) !important;
}
html[data-theme] body.admin-shell .brand:hover {
    background: var(--theme-overlay) !important;
}
html[data-theme] body.admin-shell .brand-wordmark {
    color: var(--theme-text) !important;
}
html[data-theme] body.admin-shell .admin-nav {
    border: 1px solid var(--theme-border) !important;
    background: var(--theme-surface) !important;
}
html[data-theme] body.admin-shell .admin-nav .nav-link {
    color: var(--theme-text) !important;
}
html[data-theme] body.admin-shell .admin-nav .nav-link:hover {
    color: var(--theme-text) !important;
    background: var(--theme-overlay) !important;
    border-color: var(--theme-border) !important;
}
html[data-theme] body.admin-shell .admin-nav .nav-link.active {
    color: var(--theme-text) !important;
}
html[data-theme="light"] body.admin-shell .admin-nav .nav-link.nav-link-preapproved:not(.active) {
    color: #b59103 !important;
}
html[data-theme] body.admin-shell .admin-nav .dropdown-menu-admin {
    background: var(--theme-surface) !important;
}
html[data-theme] body.admin-shell .admin-account-tools {
    border: 1px solid var(--theme-border) !important;
    background: var(--theme-surface) !important;
}
html[data-theme] body.admin-shell .app-main > .container > .d-flex.align-items-center.justify-content-between,
html[data-theme] body.admin-shell .admin-page-header {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.07), transparent 36%),
        linear-gradient(180deg, var(--theme-surface), var(--theme-surface)) !important;
}
html[data-theme] body.admin-shell .card-soft,
html[data-theme] body.admin-shell .users-panel,
html[data-theme] body.admin-shell .baseline-card,
html[data-theme] body.admin-shell .links-card,
html[data-theme] body.admin-shell .activity-toolbar,
html[data-theme] body.admin-shell .activity-card,
html[data-theme] body.admin-shell .admin-card,
html[data-theme] body.admin-shell .admin-form-shell {
    background: linear-gradient(180deg, var(--theme-soft), var(--theme-soft)) !important;
}
html[data-theme] body.admin-shell .badge-count,
html[data-theme] body.admin-shell .admin-count,
html[data-theme] body.admin-shell .logs-lock-pill {
    color: var(--theme-text) !important;
}
html[data-theme] body.admin-shell .admin-archive-filter {
    color: var(--theme-text) !important;
    background: var(--theme-overlay) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme] body.admin-shell .btn-brand,
html[data-theme] body.admin-shell .btn-action.btn-manage,
html[data-theme] body.admin-shell .btn-manage {
    color: var(--theme-text) !important;
}
html[data-theme] body.admin-shell .btn-brand:hover,
html[data-theme] body.admin-shell .btn-action.btn-manage:hover,
html[data-theme] body.admin-shell .btn-manage:hover {
    color: var(--theme-text) !important;
}
html[data-theme] body.admin-shell .btn-quiet,
html[data-theme] body.admin-shell .btn-action.btn-ghost,
html[data-theme] body.admin-shell .btn-ghost,
html[data-theme] body.admin-shell .btn-outline-secondary,
html[data-theme] body.admin-shell .btn-outline-light {
    color: var(--theme-text) !important;
    border: 1px solid var(--theme-border) !important;
    background: var(--theme-overlay) !important;
}
html[data-theme] body.admin-shell .btn-quiet:hover,
html[data-theme] body.admin-shell .btn-action.btn-ghost:hover,
html[data-theme] body.admin-shell .btn-ghost:hover,
html[data-theme] body.admin-shell .btn-outline-secondary:hover,
html[data-theme] body.admin-shell .btn-outline-light:hover {
    background: var(--theme-overlay) !important;
}
html[data-theme] body.admin-shell .input-search,
html[data-theme] body.admin-shell .admin-input,
html[data-theme] body.admin-shell .form-control,
html[data-theme] body.admin-shell .form-select {
    background-color: var(--theme-surface) !important;
}
html[data-theme] body.admin-shell .input-search::placeholder,
html[data-theme] body.admin-shell .admin-input::placeholder,
html[data-theme] body.admin-shell .form-control::placeholder {
    color: var(--theme-muted) !important;
}
html[data-theme] body.admin-shell .input-search:focus,
html[data-theme] body.admin-shell .admin-input:focus,
html[data-theme] body.admin-shell .form-control:focus,
html[data-theme] body.admin-shell .form-select:focus {
    background-color: var(--theme-surface) !important;
}
html[data-theme] body.admin-shell .form-select option {
    color: var(--theme-text) !important;
    background: var(--theme-surface) !important;
}
html[data-theme] body.admin-shell .form-label {
    color: var(--theme-text) !important;
}
html[data-theme] body.admin-shell .admin-card-head,
html[data-theme] body.admin-shell .admin-form-section,
html[data-theme] body.admin-shell .baseline-card,
html[data-theme] body.admin-shell .links-card {
    background: var(--theme-overlay) !important;
}
html[data-theme] body.admin-shell .table-admin th,
html[data-theme] body.admin-shell .table-admin td,
html[data-theme] body.admin-shell .baseline-table th,
html[data-theme] body.admin-shell .baseline-table td,
html[data-theme] body.admin-shell .links-table th,
html[data-theme] body.admin-shell .links-table td {
    border-color: var(--theme-border) !important;
}
html[data-theme] body.admin-shell .table-admin thead.thead-admin th,
html[data-theme] body.admin-shell .baseline-table thead th,
html[data-theme] body.admin-shell .links-table thead th {
    color: var(--theme-text) !important;
    background: linear-gradient(180deg, var(--theme-soft), var(--theme-soft)) !important;
}
html[data-theme] body.admin-shell .table-admin tbody tr,
html[data-theme] body.admin-shell .baseline-table tbody tr,
html[data-theme] body.admin-shell .links-table tbody tr {
    background: var(--theme-surface) !important;
}
html[data-theme] body.admin-shell .table-admin tbody tr:nth-child(even),
html[data-theme] body.admin-shell .baseline-table tbody tr:nth-child(even),
html[data-theme] body.admin-shell .links-table tbody tr:nth-child(even) {
    background: var(--theme-surface) !important;
}
html[data-theme] body.admin-shell .table-admin tbody tr:hover,
html[data-theme] body.admin-shell .baseline-table tbody tr:hover,
html[data-theme] body.admin-shell .links-table tbody tr:hover {
    background: var(--theme-soft) !important;
}
html[data-theme] body.admin-shell .table-admin tbody td,
html[data-theme] body.admin-shell .baseline-table tbody td,
html[data-theme] body.admin-shell .links-table tbody td {
    color: var(--theme-text) !important;
}
html[data-theme] body.admin-shell .site-name,
html[data-theme] body.admin-shell .preceptor-name,
html[data-theme] body.admin-shell .user-name,
html[data-theme] body.admin-shell .admin-name,
html[data-theme] body.admin-shell .subarea-name {
    color: var(--theme-text) !important;
}
html[data-theme="light"] body.admin-shell .programme-pill.programme-slp,
html[data-theme="light"] body.admin-shell .badge-slp {
    color: #0099b8 !important;
}
html[data-theme] body.admin-shell .programme-pill.programme-nursing,
html[data-theme] body.admin-shell .badge-nursing {
    color: var(--theme-text) !important;
}
html[data-theme="light"] body.admin-shell .programme-pill.programme-both {
    color: #b59103 !important;
}
html[data-theme="light"] body.admin-shell .status-pill.status-active,
html[data-theme="light"] body.admin-shell .status-active {
    color: #15a248 !important;
}
html[data-theme="light"] body.admin-shell .status-pill.status-archived,
html[data-theme="light"] body.admin-shell .status-archived {
    color: #b59103 !important;
}
html[data-theme] body.admin-shell .users-panel-head,
html[data-theme] body.admin-shell .users-panel-tools {
    background: var(--theme-overlay) !important;
}
html[data-theme] body.admin-shell .links-hero {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.08), transparent 36%),
        linear-gradient(180deg, var(--theme-surface), var(--theme-surface)) !important;
}
html[data-theme="light"] body.admin-shell .activity-pill,
html[data-theme="light"] body.admin-shell .activity-type--login {
    color: #0099b8 !important;
}
html[data-theme="light"] body.admin-shell .activity-pill.staff,
html[data-theme="light"] body.admin-shell .activity-type--edited {
    color: #b59103 !important;
}
html[data-theme="light"] body.admin-shell .activity-type--created {
    color: #15a248 !important;
}
html[data-theme="light"] body.admin-shell .activity-type--archived {
    color: #b4041a !important;
}
html[data-theme] body.admin-shell .activity-type--default {
    color: var(--theme-text) !important;
}
html[data-theme] body.admin-shell .activity-filter-label {
    color: var(--theme-text) !important;
}
html[data-theme] body.admin-shell .swal2-popup {
    background: var(--theme-surface) !important;
}
html[data-theme] body.admin-shell .app-footer {
    background: var(--theme-surface) !important;
}
html[data-theme] body.admin-shell .upload-row {
    border: 1px solid var(--theme-border) !important;
    background: var(--theme-surface) !important;
}
html[data-theme] body.admin-shell .replace-box,
html[data-theme] body.admin-shell .links-check,
html[data-theme] body.admin-shell .links-subarea-row .form-check,
html[data-theme] body.admin-shell .admin-status-row {
    border: 1px solid var(--theme-border) !important;
    background: var(--theme-surface) !important;
}
html[data-theme] body.admin-shell .admin-status-copy strong {
    color: var(--theme-text) !important;
}
html[data-theme="light"] body.admin-shell .status-pill.status-hidden {
    color: #b49103 !important;
}
html[data-theme] body.admin-shell .sub-count-pill,
html[data-theme] body.admin-shell .links-count-pill,
html[data-theme] body.admin-shell .links-site-pill {
    color: var(--theme-text) !important;
}
html[data-theme] body.admin-shell .activity-name,
html[data-theme] body.admin-shell .subactivity-name {
    color: var(--theme-text) !important;
}
html[data-theme] body.admin-shell .activity-count,
html[data-theme] body.admin-shell .subactivity-count {
    border: 1px solid var(--theme-border) !important;
    background: var(--theme-surface) !important;
}
html[data-theme] body.admin-shell .links-hero,
html[data-theme] body.admin-shell .links-panel {
    border: 1px solid var(--theme-border) !important;
    background: linear-gradient(135deg, var(--theme-surface), var(--theme-surface)),
        radial-gradient(circle at top right, rgba(34, 211, 238, 0.16), transparent 38%) !important;
}
html[data-theme] body.admin-shell .links-panel-head {
    border-bottom: 1px solid var(--theme-border) !important;
}
html[data-theme] body.admin-shell .links-panel-title {
    color: var(--theme-text) !important;
}
html[data-theme] body.admin-shell .links-group {
    border: 1px solid var(--theme-border) !important;
    background: var(--theme-surface) !important;
}
html[data-theme] body.admin-shell .links-group-head {
    border-bottom: 1px solid var(--theme-border) !important;
}
html[data-theme] body.admin-shell .links-group-title {
    color: var(--theme-text) !important;
}
html[data-theme] body.admin-shell .links-empty {
    border: 1px dashed var(--theme-border) !important;
    background: var(--theme-overlay) !important;
}

/* wwwroot/css/app-layout.css */
html[data-theme] {
    --app-surface: var(--theme-surface) !important;
    --app-surface-strong: var(--theme-surface) !important;
    --app-ink: var(--theme-text) !important;
    --app-muted: var(--theme-muted) !important;
    --app-border: var(--theme-border) !important;
    --app-border-strong: var(--theme-border) !important;
}
html[data-theme] body.app-shell {
    background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.06), transparent 24%), radial-gradient(circle at top right, rgba(124, 58, 237, 0.05), transparent 22%), linear-gradient(180deg, var(--theme-surface) 0%, var(--theme-surface) 100%) !important;
}
html[data-theme] .app-topbar {
    background: linear-gradient(180deg, var(--theme-surface), var(--theme-surface)) !important;
}
html[data-theme] .app-brand-mark {
    color: var(--theme-text) !important;
}
html[data-theme] .app-institution-chip {
    background: linear-gradient(180deg, var(--theme-surface), var(--theme-surface)) !important;
}
html[data-theme] .app-profile-photo {
    color: var(--theme-text) !important;
}
html[data-theme] .app-profile-viewer {
    background: var(--theme-surface) !important;
}
html[data-theme] .app-profile-viewer::backdrop {
    background: var(--theme-surface) !important;
}
html[data-theme] .app-profile-viewer-close {
    background: var(--theme-surface) !important;
}
html[data-theme] .app-btn-ghost {
    --bs-btn-border-color: var(--theme-border) !important;
    --bs-btn-hover-bg: var(--theme-overlay) !important;
    --bs-btn-hover-border-color: var(--theme-border) !important;
}
html[data-theme] .app-icon-btn {
    border: 1px solid var(--theme-border) !important;
    background: var(--theme-surface) !important;
}
html[data-theme] .app-icon-btn:hover {
    background: var(--theme-soft) !important;
}
html[data-theme] .app-notification-badge {
    border: 2px solid var(--theme-border) !important;
}
html[data-theme] .app-notification-tray {
    border: 1px solid var(--theme-border) !important;
    background: var(--theme-surface) !important;
}
html[data-theme] .app-notification-tray::before {
    border-top: 1px solid var(--theme-border) !important;
    border-left: 1px solid var(--theme-border) !important;
    background: var(--theme-surface) !important;
}
html[data-theme] .app-notification-head {
    background: linear-gradient(180deg, var(--theme-surface), var(--theme-surface)) !important;
}
html[data-theme] .app-notification-empty {
    background: var(--theme-surface) !important;
}
html[data-theme] .app-notification-groups {
    background: var(--theme-surface) !important;
}
html[data-theme] .app-notification-item:hover {
    background: var(--theme-soft) !important;
}
html[data-theme] .app-notification-item.unread {
    background: var(--theme-surface) !important;
}
html[data-theme] .app-notification-item small {
    color: var(--theme-muted) !important;
}
html[data-theme] .staff-notification-detail {
    background: var(--theme-surface) !important;
}
html[data-theme] .staff-notification-detail p {
    color: var(--theme-muted) !important;
}
html[data-theme] .staff-notification-status {
    background: var(--theme-surface) !important;
}
html[data-theme] .staff-notification-grid > div {
    background: var(--theme-surface) !important;
}
html[data-theme] .staff-notification-grid small {
    color: var(--theme-muted) !important;
}
html[data-theme] .staff-notification-activity {
    background: var(--theme-surface) !important;
}
html[data-theme] .app-footer {
    background: var(--theme-surface) !important;
}
@media (max-width: 575.98px) {
html[data-theme] .app-footer {
    border-top-color: var(--theme-border) !important;
}
}
html[data-theme] .app-staff-nav {
    border: 1px solid var(--theme-border) !important;
    background: var(--theme-surface) !important;
}
html[data-theme] .app-staff-nav-link {
    color: var(--theme-muted) !important;
}
html[data-theme] .app-staff-nav-link:hover {
    color: var(--theme-text) !important;
    background: var(--theme-overlay) !important;
}
html[data-theme] .app-staff-nav-link.active {
    color: var(--theme-text) !important;
}
html[data-theme="light"] .app-staff-nav-link-accent {
    color: #163aa2 !important;
}
html[data-theme="dark"] .app-staff-nav-link-accent {
    color: #6f90ec !important;
}
html[data-theme="light"] .app-staff-nav-link-accent:hover {
    color: #1b399d !important;
}
html[data-theme="dark"] .app-staff-nav-link-accent:hover {
    color: #748fe7 !important;
}
html[data-theme] .app-staff-nav-link-accent.active {
    color: var(--theme-text) !important;
}

/* wwwroot/css/auth.css */
html[data-theme] {
    --auth-bg: var(--theme-surface) !important;
    --auth-bg-2: var(--theme-surface) !important;
    --auth-surface: var(--theme-surface) !important;
    --auth-surface-strong: var(--theme-surface) !important;
    --auth-line: var(--theme-border) !important;
    --auth-line-strong: var(--theme-border) !important;
    --auth-text: var(--theme-text) !important;
    --auth-muted: var(--theme-muted) !important;
}
html[data-theme] body.auth-shell {
    background: radial-gradient(circle at 15% 20%, rgba(103, 232, 249, 0.10), transparent 26%),
        radial-gradient(circle at 85% 10%, rgba(139, 92, 246, 0.15), transparent 24%),
        radial-gradient(circle at 50% 80%, rgba(96, 165, 250, 0.10), transparent 25%),
        linear-gradient(180deg, var(--theme-surface) 0%, var(--theme-surface) 52%, var(--theme-surface) 100%) !important;
}
html[data-theme] .auth-header-inner {
    background: var(--theme-surface) !important;
}
html[data-theme] .auth-brand-mark {
    color: var(--theme-text) !important;
}
html[data-theme] .auth-brand-word {
    color: var(--theme-text) !important;
}
html[data-theme] .auth-story-panel,
html[data-theme] .auth-card {
    background: linear-gradient(180deg, var(--theme-surface), var(--theme-surface)) !important;
}
html[data-theme] .auth-story-badge {
    color: var(--theme-text) !important;
}
html[data-theme] .auth-story-card {
    background: var(--theme-overlay) !important;
}
html[data-theme] .auth-tag-blue {
    color: var(--theme-text) !important;
}
html[data-theme] .auth-tag-purple {
    color: var(--theme-text) !important;
}
html[data-theme="light"] .auth-kicker {
    color: #0e7490 !important;
}
html[data-theme="dark"] .auth-kicker {
    color: #67e8f9 !important;
}
html[data-theme] .auth-form .form-floating > label {
    color: var(--theme-muted) !important;
}
html[data-theme] .auth-input.form-control {
    background: var(--theme-overlay) !important;
}
html[data-theme] .auth-input.form-control:focus {
    background: var(--theme-overlay) !important;
}
html[data-theme="light"] .auth-password-toggle {
    color: #0e7490 !important;
}
html[data-theme="dark"] .auth-password-toggle {
    color: #67e8f9 !important;
}
html[data-theme="light"] .auth-password-toggle:hover {
    color: #06a0b2 !important;
}
html[data-theme] .form-check-input {
    background-color: var(--theme-overlay) !important;
}
html[data-theme="light"] .auth-inline-link {
    color: #0e7490 !important;
}
html[data-theme="dark"] .auth-inline-link {
    color: #67e8f9 !important;
}
html[data-theme] .auth-inline-link:hover {
    color: var(--theme-text) !important;
}
html[data-theme] .auth-btn-primary {
    color: var(--theme-text) !important;
}
html[data-theme] .auth-btn-primary:hover,
html[data-theme] .auth-btn-primary:focus {
    color: var(--theme-text) !important;
}
html[data-theme] .auth-btn-secondary {
    background: var(--theme-overlay) !important;
}
html[data-theme] .auth-btn-secondary:hover,
html[data-theme] .auth-btn-secondary:focus {
    background: var(--theme-overlay) !important;
}
html[data-theme] .auth-btn-ghost {
    background: var(--theme-overlay) !important;
}
html[data-theme] .auth-btn-ghost:hover,
html[data-theme] .auth-btn-ghost:focus {
    background: var(--theme-overlay) !important;
}
html[data-theme] .auth-btn-linklike:hover,
html[data-theme] .auth-btn-linklike:focus {
    background: var(--theme-overlay) !important;
}
html[data-theme] .auth-divider span {
    background: var(--theme-surface) !important;
}
html[data-theme="light"] .auth-alert-success {
    color: #12a65a !important;
}
html[data-theme] .auth-alert-info {
    color: var(--theme-text) !important;
}
html[data-theme="light"] .auth-alert-danger {
    color: #b40303 !important;
}
html[data-theme="light"] .auth-validation-summary {
    color: #b40303 !important;
}
html[data-theme] .auth-footer {
    border-top: 1px solid var(--theme-border) !important;
}
html[data-theme="light"] .auth-footer-link {
    color: #0e7490 !important;
}
html[data-theme="dark"] .auth-footer-link {
    color: #67e8f9 !important;
}
html[data-theme] .auth-footer-link:hover {
    color: var(--theme-text) !important;
}
html[data-theme] div:where(.swal2-container) .swal2-popup {
    background: var(--theme-surface) !important;
    color: var(--theme-text) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme] .auth-institution-block {
    border: 1px solid var(--theme-border) !important;
    background: linear-gradient(180deg, var(--theme-overlay), var(--theme-overlay)) !important;
}
html[data-theme] .auth-crest-shell {
    background: linear-gradient(180deg, var(--theme-overlay), var(--theme-overlay)) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme="light"] .auth-institution-kicker {
    color: #0e7490 !important;
}
html[data-theme="dark"] .auth-institution-kicker {
    color: #67e8f9 !important;
}
html[data-theme] .auth-institution-name {
    color: var(--theme-text) !important;
}
html[data-theme] .auth-choice-card {
    background: var(--theme-overlay) !important;
}
html[data-theme] .auth-choice-card:hover {
    background: var(--theme-overlay) !important;
}
html[data-theme] .auth-choice-card strong {
    color: var(--theme-text) !important;
}
html[data-theme] .auth-choice-input:checked + .auth-choice-card {
    background: linear-gradient(180deg, rgba(103, 232, 249, 0.12), var(--theme-overlay)) !important;
}
html[data-theme] .auth-section-panel {
    background: var(--theme-overlay) !important;
}
html[data-theme="light"] .auth-section-kicker {
    color: #0e7490 !important;
}
html[data-theme="dark"] .auth-section-kicker {
    color: #67e8f9 !important;
}
html[data-theme] .auth-section-title {
    color: var(--theme-text) !important;
}
html[data-theme] .auth-input.form-select {
    background-color: var(--theme-overlay) !important;
}
html[data-theme] .auth-input.form-select:focus {
    background-color: var(--theme-overlay) !important;
}
html[data-theme] .auth-input.form-select option {
    color: var(--theme-text) !important;
}
html[data-theme] .auth-input[readonly] {
    background: var(--theme-overlay) !important;
}
@media (max-width: 575.98px) {
html[data-theme] .auth-institution-block {
    border: 1px solid var(--theme-border) !important;
    background: linear-gradient(180deg, var(--theme-overlay), var(--theme-overlay)) !important;
}
html[data-theme] .auth-crest-shell {
    background: linear-gradient(180deg, var(--theme-overlay), var(--theme-overlay)) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme="light"] .auth-institution-kicker {
    color: #0e7490 !important;
}
html[data-theme="dark"] .auth-institution-kicker {
    color: #67e8f9 !important;
}
html[data-theme] .auth-institution-name {
    color: var(--theme-text) !important;
}
}
html[data-theme] {
    --auth-bg: var(--theme-surface) !important;
    --auth-bg-2: var(--theme-surface) !important;
    --auth-line: var(--theme-border) !important;
    --auth-line-strong: var(--theme-border) !important;
    --auth-text: var(--theme-text) !important;
    --auth-muted: var(--theme-muted) !important;
}
html[data-theme] .auth-header-inner {
    border: 1px solid var(--theme-border) !important;
    background: var(--theme-surface) !important;
}
html[data-theme="light"] .auth-brand-word {
    color: #0f3fa8 !important;
}
html[data-theme="dark"] .auth-brand-word {
    color: #6a94f1 !important;
}
html[data-theme] .auth-user-chip {
    background: var(--theme-surface) !important;
}
html[data-theme] .auth-story-panel {
    border: 1px solid var(--theme-border) !important;
    background: linear-gradient(135deg, var(--theme-surface), var(--theme-surface)),
        linear-gradient(180deg, rgba(24, 175, 200, 0.1), transparent) !important;
}
html[data-theme] .auth-institution-block {
    background: var(--theme-surface) !important;
}
html[data-theme] .auth-crest-shell {
    border: 1px solid var(--theme-border) !important;
    background: var(--theme-surface) !important;
}
html[data-theme="light"] .auth-institution-kicker {
    color: #0e7490 !important;
}
html[data-theme="dark"] .auth-institution-kicker {
    color: #67e8f9 !important;
}
html[data-theme] .auth-institution-name {
    color: var(--theme-text) !important;
}
html[data-theme] .auth-story-card {
    background: var(--theme-surface) !important;
}
html[data-theme] .auth-story-card strong {
    color: var(--theme-text) !important;
}
html[data-theme] .auth-card {
    border: 1px solid var(--theme-border) !important;
}
html[data-theme="light"] .auth-kicker,
html[data-theme="light"] .auth-section-kicker {
    color: #0e7490 !important;
}
html[data-theme="dark"] .auth-kicker,
html[data-theme="dark"] .auth-section-kicker {
    color: #67e8f9 !important;
}
html[data-theme] .auth-input,
html[data-theme] .auth-input.form-select {
    background-color: var(--theme-surface) !important;
}
html[data-theme] .auth-form .form-floating > label,
html[data-theme] .form-check-label {
    color: var(--theme-muted) !important;
}
html[data-theme] .auth-form .form-floating > .auth-input:focus ~ label,
html[data-theme] .auth-form .form-floating > .auth-input:not(:placeholder-shown) ~ label,
html[data-theme] .auth-form .form-floating > .auth-input.form-select ~ label {
    color: var(--theme-muted) !important;
}
html[data-theme] .auth-input:focus,
html[data-theme] .auth-input.form-select:focus {
    background-color: var(--theme-surface) !important;
}
html[data-theme] .auth-input.form-control::placeholder {
    color: var(--theme-muted) !important;
}
html[data-theme] .auth-password-toggle {
    background: var(--theme-surface) !important;
}
html[data-theme="light"] .auth-password-toggle {
    color: #0e7490 !important;
}
html[data-theme="dark"] .auth-password-toggle {
    color: #67e8f9 !important;
}
html[data-theme="light"] .auth-inline-link,
html[data-theme="light"] .auth-footer-link,
html[data-theme="light"] .auth-link {
    color: #1d4ed8 !important;
}
html[data-theme="dark"] .auth-inline-link,
html[data-theme="dark"] .auth-footer-link,
html[data-theme="dark"] .auth-link {
    color: #93c5fd !important;
}
html[data-theme] .auth-btn-secondary,
html[data-theme] .auth-btn-ghost,
html[data-theme] .auth-btn-linklike {
    color: var(--theme-text) !important;
    background: var(--theme-surface) !important;
}
html[data-theme] .auth-btn-secondary:hover,
html[data-theme] .auth-btn-ghost:hover,
html[data-theme] .auth-btn-linklike:hover {
    color: var(--theme-text) !important;
    background: var(--theme-soft) !important;
}
html[data-theme] .auth-alert,
html[data-theme] .auth-section-panel,
html[data-theme] .auth-choice-card {
    background: var(--theme-surface) !important;
}
html[data-theme] .auth-choice-card strong {
    color: var(--theme-text) !important;
}
html[data-theme] .auth-choice-card span {
    color: var(--theme-muted) !important;
}
html[data-theme] .auth-choice-card:hover {
    background: var(--theme-soft) !important;
}
html[data-theme] .auth-choice-input:checked + .auth-choice-card {
    background: var(--theme-surface) !important;
}
html[data-theme="dark"] .auth-choice-input:checked + .auth-choice-card strong {
    color: #65dbf5 !important;
}
html[data-theme] .auth-section-subtitle,
html[data-theme] .auth-help-text,
html[data-theme] .auth-form .form-text,
html[data-theme] .auth-subtitle,
html[data-theme] .auth-card .text-muted,
html[data-theme] .auth-card .text-secondary {
    color: var(--theme-muted) !important;
}

/* wwwroot/css/cookie-consent.css */
html[data-theme] .cookie-consent-card {
    border: 1px solid var(--theme-border) !important;
    background: linear-gradient(135deg, var(--theme-surface), var(--theme-surface)) !important;
}
html[data-theme] .cookie-consent-kicker {
    color: var(--theme-muted) !important;
}
html[data-theme] .cookie-consent-title {
    color: var(--theme-text) !important;
}
html[data-theme] .cookie-consent-text {
    color: var(--theme-text) !important;
}
html[data-theme] .cookie-consent-chip {
    border: 1px solid var(--theme-border) !important;
    background: var(--theme-overlay) !important;
    color: var(--theme-text) !important;
}
html[data-theme] .cookie-consent-link {
    color: var(--theme-text) !important;
}
html[data-theme] .cookie-consent-link:hover {
    color: var(--theme-text) !important;
}
html[data-theme] .cookie-consent-btn-secondary {
    color: var(--theme-text) !important;
    border-color: var(--theme-border) !important;
}
html[data-theme] .cookie-consent-btn-secondary:hover {
    border-color: var(--theme-border) !important;
}

/* wwwroot/css/jurni-loading-overlay.css */
html[data-theme] {
    --jurni-loading-ink: var(--theme-text) !important;
}
html[data-theme] .jurni-loading-overlay {
    background: var(--theme-surface) !important;
}
html[data-theme] .jurni-loading-panel {
    border: 1px solid var(--theme-border) !important;
    background: radial-gradient(circle at 50% 34%, var(--theme-surface) 0%, var(--theme-surface) 70%, var(--theme-surface) 100%) !important;
}
html[data-theme] .jurni-loading-logo-shell {
    background: var(--theme-surface) !important;
}

/* wwwroot/css/landing.css */
html[data-theme] {
    --jl-bg: var(--theme-surface) !important;
    --jl-surface: var(--theme-surface) !important;
    --jl-surface-soft: var(--theme-soft) !important;
    --jl-text: var(--theme-text) !important;
    --jl-muted: var(--theme-muted) !important;
    --jl-line: var(--theme-border) !important;
}
html[data-theme] .jl-nav-inner {
    border: 1px solid var(--theme-border) !important;
    background: var(--theme-surface) !important;
}
html[data-theme="light"] .jl-brand-word {
    color: #0f3fa8 !important;
}
html[data-theme="dark"] .jl-brand-word {
    color: #6a94f1 !important;
}
html[data-theme] .jl-btn-secondary {
    color: var(--theme-text) !important;
}
html[data-theme] .jl-hero-copy,
html[data-theme] .jl-institution-panel,
html[data-theme] .jl-access-panel {
    border: 1px solid var(--theme-border) !important;
    background: var(--theme-surface) !important;
}
html[data-theme] .jl-institution-panel h2 {
    color: var(--theme-text) !important;
}
html[data-theme] .jl-workflow article {
    background: var(--theme-surface) !important;
}
html[data-theme] .jl-workflow h2 {
    color: var(--theme-text) !important;
}

/* wwwroot/css/log-edit.css */
html[data-theme] .edit-log-page {
    --edit-text: var(--theme-text) !important;
    --edit-muted: var(--theme-muted) !important;
    --edit-muted-2: var(--theme-muted) !important;
    --edit-border: var(--theme-border) !important;
    --edit-border-strong: var(--theme-border) !important;
    --edit-surface: var(--theme-surface) !important;
    --edit-surface-2: var(--theme-soft) !important;
    --edit-surface-3: var(--theme-soft) !important;
}
html[data-theme] .edit-log-panel {
    background: linear-gradient(180deg, var(--theme-surface), var(--theme-surface)) !important;
}
html[data-theme] .edit-log-helper {
    background: linear-gradient(180deg, var(--theme-surface), var(--theme-surface)) !important;
}
html[data-theme] .edit-log-page .form-control,
html[data-theme] .edit-log-page .form-select {
    background: var(--theme-surface) !important;
}
html[data-theme] .edit-log-page .form-floating > label {
    color: var(--theme-muted) !important;
}
html[data-theme] .edit-log-page .form-check-input {
    border-color: var(--theme-border) !important;
}
html[data-theme] .edit-log-page .btn-outline-secondary {
    border-color: var(--theme-border) !important;
    color: var(--theme-muted) !important;
    background: linear-gradient(180deg, var(--theme-surface), var(--theme-surface)) !important;
}
html[data-theme] .edit-log-page .btn-outline-secondary:hover,
html[data-theme] .edit-log-page .btn-outline-secondary:focus {
    border-color: var(--theme-border) !important;
    color: var(--theme-text) !important;
    background: linear-gradient(180deg, var(--theme-soft), var(--theme-soft)) !important;
}
html[data-theme] .edit-log-activities-shell {
    background: var(--theme-surface) !important;
}
html[data-theme] .edit-log-activities-table thead th {
    background: linear-gradient(180deg, var(--theme-soft), var(--theme-soft)) !important;
    color: var(--theme-text) !important;
    border-bottom: 1px solid var(--theme-border) !important;
}
html[data-theme] .edit-log-activities-table tbody td {
    border-bottom: 1px solid var(--theme-border) !important;
    background: var(--theme-surface) !important;
}
html[data-theme] .badge.small {
    background: var(--theme-surface) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme="light"] .badge.small {
    color: #302a8e !important;
}
html[data-theme="dark"] .badge.small {
    color: #8681da !important;
}
html[data-theme] .badge.small.warn {
    background: var(--theme-surface) !important;
}
html[data-theme="dark"] .badge.small.warn {
    color: #e77474 !important;
}
html[data-theme] .badge.small.ok {
    background: var(--theme-surface) !important;
}
html[data-theme="dark"] .badge.small.ok {
    color: #65f5cd !important;
}
html[data-theme] .edit-log-helper-panel {
    background: linear-gradient(180deg, var(--theme-surface) 0%, var(--theme-surface) 100%) !important;
    color: var(--theme-muted) !important;
}
html[data-theme] .edit-log-activity-composer {
    border: 1px solid var(--theme-border) !important;
    background: linear-gradient(180deg, var(--theme-surface) 0%, var(--theme-surface) 100%) !important;
}
html[data-theme] .edit-log-activity-shell {
    border: 1px solid var(--theme-border) !important;
    background: var(--theme-surface) !important;
}
html[data-theme] .edit-log-activities-table__head th {
    border-bottom: 1px solid var(--theme-border) !important;
    background: linear-gradient(180deg, var(--theme-surface) 0%, var(--theme-surface) 100%) !important;
    color: var(--theme-muted) !important;
}
html[data-theme] .edit-log-activities-table tbody td {
    border-top: 1px solid var(--theme-border) !important;
}
html[data-theme] .edit-act-label {
    color: var(--theme-muted) !important;
}
html[data-theme] .edit-act-input.form-select,
html[data-theme] .edit-act-input.form-control {
    border: 1px solid var(--theme-border) !important;
    background: var(--theme-surface) !important;
}
html[data-theme] .edit-act-input:disabled {
    background: var(--theme-soft) !important;
    color: var(--theme-muted) !important;
    border-color: var(--theme-border) !important;
}
@media (max-width: 991.98px) {
html[data-theme] .edit-log-activities-table tbody tr.act-row {
    border-top: 1px solid var(--theme-border) !important;
}
}

/* wwwroot/css/privacy.css */
html[data-theme] .privacy-hero,
html[data-theme] .privacy-nav-card,
html[data-theme] .privacy-section-card {
    background: var(--theme-surface) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme] .privacy-hero {
    background: radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.12), transparent 38%), radial-gradient(circle at 0% 0%, rgba(124, 58, 237, 0.08), transparent 32%), var(--theme-surface) !important;
}
html[data-theme] .privacy-kicker,
html[data-theme] .privacy-section-kicker,
html[data-theme] .privacy-nav-kicker {
    color: var(--theme-muted) !important;
}
html[data-theme] .privacy-title {
    color: var(--theme-text) !important;
}
html[data-theme] .privacy-subtitle {
    color: var(--theme-muted) !important;
}
html[data-theme] .privacy-updated-chip {
    border: 1px solid var(--theme-border) !important;
    background: var(--theme-surface) !important;
    color: var(--theme-text) !important;
}
html[data-theme] .privacy-nav .list-group-item {
    border: 1px solid var(--theme-border) !important;
    color: var(--theme-text) !important;
    background: var(--theme-surface) !important;
}
html[data-theme] .privacy-nav .list-group-item:hover {
    background: var(--theme-soft) !important;
    color: var(--theme-text) !important;
}
html[data-theme="light"] .privacy-nav .list-group-item.active,
html[data-theme="light"] .privacy-nav .toc-link.active {
    color: #163aa2 !important;
}
html[data-theme="dark"] .privacy-nav .list-group-item.active,
html[data-theme="dark"] .privacy-nav .toc-link.active {
    color: #6f90ec !important;
}
html[data-theme] .privacy-section-title {
    color: var(--theme-text) !important;
}
html[data-theme] .privacy-section-card p,
html[data-theme] .privacy-section-card li {
    color: var(--theme-muted) !important;
}
html[data-theme] .privacy-muted {
    color: var(--theme-muted) !important;
}
html[data-theme] .privacy-status-badge.is-allowed {
    background: var(--theme-surface) !important;
}
html[data-theme="dark"] .privacy-status-badge.is-allowed {
    color: #79e2a1 !important;
}
html[data-theme] .privacy-status-badge.is-disabled {
    background: var(--theme-soft) !important;
}
html[data-theme="dark"] .privacy-status-badge.is-disabled {
    color: #f19d6a !important;
}
html[data-theme] .privacy-cookie-pref {
    border: 1px solid var(--theme-border) !important;
    background: linear-gradient(180deg, var(--theme-surface) 0%, var(--theme-surface) 100%) !important;
}
html[data-theme] .privacy-cookie-pref-copy {
    color: var(--theme-text) !important;
}
html[data-theme] .privacy-cookie-pref-copy strong {
    color: var(--theme-text) !important;
}
html[data-theme] .privacy-cookie-pref-copy small {
    color: var(--theme-muted) !important;
}
html[data-theme] .privacy-table-title {
    color: var(--theme-text) !important;
}
html[data-theme] .privacy-table-shell {
    border: 1px solid var(--theme-border) !important;
    background: var(--theme-surface) !important;
}
html[data-theme] .privacy-table thead th {
    background: var(--theme-soft) !important;
    color: var(--theme-muted) !important;
    border-bottom-color: var(--theme-border) !important;
}
html[data-theme] .privacy-table td,
html[data-theme] .privacy-table th {
    border-color: var(--theme-border) !important;
}

/* wwwroot/css/site.css */
html[data-theme] .form-floating > label {
    color: var(--theme-muted) !important;
}
html[data-theme="light"] .admin-nav .nav-link.nav-link-admin-users {
    color: #2304b3 !important;
}
html[data-theme] .admin-nav .nav-link.nav-link-admin-users:hover {
    color: var(--theme-text) !important;
}
html[data-theme] .admin-nav .nav-link.nav-link-admin-users.active {
    color: var(--theme-text) !important;
}
html[data-theme] .topbar-admin-link {
    color: var(--theme-text) !important;
}
html[data-theme] .topbar-admin-link:hover {
    color: var(--theme-text) !important;
}
html[data-theme] .topbar-admin-link.active {
    color: var(--theme-text) !important;
}
html[data-theme] .swal2-popup.swal-sensitive-popup {
    background: radial-gradient(circle at top right, rgba(139,92,246,.16), transparent 34%), linear-gradient(180deg, var(--theme-surface), var(--theme-surface)) !important;
    border: 1px solid var(--theme-border) !important;
    color: var(--theme-text) !important;
}
html[data-theme] .swal2-title.swal-sensitive-title {
    color: var(--theme-text) !important;
}
html[data-theme] .swal2-html-container.swal-sensitive-html {
    color: var(--theme-text) !important;
}
html[data-theme] .sensitive-access-copy {
    color: var(--theme-text) !important;
}
html[data-theme] .sensitive-access-copy strong {
    color: var(--theme-text) !important;
}
html[data-theme] .sensitive-password-label {
    color: var(--theme-text) !important;
}
html[data-theme] .sensitive-password-input {
    background: var(--theme-surface) !important;
    border: 1px solid var(--theme-border) !important;
    color: var(--theme-text) !important;
}
html[data-theme] .sensitive-password-input::placeholder {
    color: var(--theme-muted) !important;
}
html[data-theme] .swal2-actions .swal2-cancel.swal-sensitive-cancel {
    color: var(--theme-text) !important;
    background: var(--theme-overlay) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme="light"] .swal2-validation-message {
    color: #b40303 !important;
}

/* wwwroot/css/slp-hours.css */
html[data-theme] .slp-hours-title {
    color: var(--theme-text) !important;
}
html[data-theme] .slp-hours-subtitle,
html[data-theme] .slp-hours-range {
    color: var(--theme-muted) !important;
}
html[data-theme] .slp-hours-dot {
    color: var(--theme-muted) !important;
}
html[data-theme] .slp-summary-stat {
    border: 1px solid var(--theme-border) !important;
    background: linear-gradient(180deg, var(--theme-surface), var(--theme-surface)) !important;
}
html[data-theme] .slp-summary-stat__label {
    color: var(--theme-muted) !important;
}
html[data-theme] .slp-summary-stat__value {
    color: var(--theme-text) !important;
}
html[data-theme] .slp-inline-pill,
html[data-theme] .slp-section-pill {
    border: 1px solid var(--theme-border) !important;
    background: linear-gradient(180deg, var(--theme-surface), var(--theme-surface)) !important;
    color: var(--theme-muted) !important;
}
html[data-theme] .slp-table-wrap {
    border: 1px solid var(--theme-border) !important;
    background: var(--theme-surface) !important;
}
html[data-theme] .slp-hours-table thead th {
    background: linear-gradient(180deg, var(--theme-soft), var(--theme-soft)) !important;
    color: var(--theme-text) !important;
    border-bottom: 1px solid var(--theme-border) !important;
}
html[data-theme] .slp-hours-table td {
    border-color: var(--theme-border) !important;
}
html[data-theme] .slp-area-name {
    color: var(--theme-text) !important;
}
html[data-theme] .slp-area-meta {
    color: var(--theme-muted) !important;
}
html[data-theme] .slp-hours-cell {
    color: var(--theme-text) !important;
}
html[data-theme] .slp-hours-cell--strong {
    color: var(--theme-text) !important;
}
html[data-theme] .slp-totals-row td {
    background: linear-gradient(180deg, var(--theme-surface), var(--theme-surface)) !important;
    border-top: 1px solid var(--theme-border) !important;
}
html[data-theme] .slp-footnote {
    color: var(--theme-muted) !important;
}

/* wwwroot/css/staff-absenteeism.css */
html[data-theme] .staff-absence-page .staff-empty-state {
    border: 1px dashed var(--theme-border) !important;
    background: var(--theme-surface) !important;
    color: var(--theme-muted) !important;
}
html[data-theme] .staff-modal .modal-header {
    border-bottom: 1px solid var(--theme-border) !important;
}
html[data-theme] .staff-modal .modal-title {
    color: var(--theme-text) !important;
}
html[data-theme] .staff-modal .modal-footer {
    border-top: 1px solid var(--theme-border) !important;
    background: var(--theme-surface) !important;
}

/* wwwroot/css/staff-dashboard-loading.css */
html[data-theme] {
    --staff-loading-ink: var(--theme-text) !important;
    --staff-loading-muted: var(--theme-muted) !important;
}
html[data-theme] dialog.staff-loading-dialog::backdrop {
    background: var(--theme-surface) !important;
}
html[data-theme] dialog.staff-loading-dialog.staff-loading-fallback-open {
    background: var(--theme-surface) !important;
}
html[data-theme] .staff-loading-panel {
    border: 1px solid var(--theme-border) !important;
    background: radial-gradient(circle at 50% 34%, var(--theme-surface) 0%, var(--theme-surface) 70%, var(--theme-surface) 100%) !important;
}
html[data-theme] .staff-loading-logo-shell {
    background: var(--theme-surface) !important;
}
html[data-theme] .staff-range-notice {
    border: 1px solid var(--theme-border) !important;
    background: linear-gradient(135deg, var(--theme-surface) 0%, var(--theme-surface) 100%) !important;
    color: var(--theme-text) !important;
}
html[data-theme] .staff-range-notice-icon {
    color: var(--theme-text) !important;
}
html[data-theme] .staff-range-notice-message {
    color: var(--theme-muted) !important;
}
html[data-theme] .staff-range-notice[data-state="warning"] {
    background: var(--theme-surface) !important;
}
html[data-theme] .staff-range-notice[data-state="error"] {
    background: var(--theme-surface) !important;
}

/* wwwroot/css/staff-dashboard.css */
html[data-theme] .staff-hero-card,
html[data-theme] .staff-section-card,
html[data-theme] .staff-kpi-card {
    background: var(--theme-surface) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme] .staff-kicker,
html[data-theme] .staff-section-kicker {
    color: var(--theme-muted) !important;
}
html[data-theme] .staff-title {
    color: var(--theme-text) !important;
}
html[data-theme] .staff-subtitle,
html[data-theme] .staff-section-subtitle,
html[data-theme] .staff-inline-note,
html[data-theme] .staff-cell-muted {
    color: var(--theme-muted) !important;
}
html[data-theme] .staff-chip {
    border: 1px solid var(--theme-border) !important;
    background: var(--theme-surface) !important;
    color: var(--theme-text) !important;
}
html[data-theme] .staff-section-title {
    color: var(--theme-text) !important;
}
html[data-theme] .staff-filter-card .form-control,
html[data-theme] .staff-filter-card .form-select,
html[data-theme] .staff-dashboard .modal .form-control,
html[data-theme] .staff-dashboard .modal .form-select,
html[data-theme] .staff-dashboard .modal textarea,
html[data-theme] .staff-logs-toolbar .form-control,
html[data-theme] .staff-logs-toolbar .form-select {
    border: 1px solid var(--theme-border) !important;
    background: var(--theme-surface) !important;
}
html[data-theme] .staff-label {
    color: var(--theme-muted) !important;
}
html[data-theme] .staff-pill-toggle-btn {
    border: 1px solid var(--theme-border) !important;
    background: var(--theme-surface) !important;
    color: var(--theme-text) !important;
}
html[data-theme] .staff-btn-reset {
    border: 1px solid var(--theme-border) !important;
    background: var(--theme-surface) !important;
    color: var(--theme-text) !important;
}
html[data-theme] .staff-btn-reset:hover {
    border-color: var(--theme-border) !important;
    background: var(--theme-soft) !important;
}
html[data-theme] .staff-kpi-value {
    color: var(--theme-text) !important;
}
html[data-theme] .staff-kpi-label {
    color: var(--theme-muted) !important;
}
html[data-theme] .staff-management-card {
    border: 1px solid var(--theme-border) !important;
    background: linear-gradient(180deg, var(--theme-surface), var(--theme-surface)),
        radial-gradient(circle at top right, rgba(24, 175, 200, 0.14), transparent 42%) !important;
}
html[data-theme="light"] .staff-management-kicker {
    color: #088fb0 !important;
}
html[data-theme="dark"] .staff-management-kicker {
    color: #63dbf8 !important;
}
html[data-theme] .staff-management-value {
    color: var(--theme-text) !important;
}
html[data-theme] .staff-management-label {
    color: var(--theme-muted) !important;
}
html[data-theme] .staff-management-coverage {
    border: 1px solid var(--theme-border) !important;
    background: var(--theme-surface) !important;
}
html[data-theme="dark"] .staff-management-coverage {
    color: #7994e2 !important;
}
html[data-theme] .staff-management-objective {
    color: var(--theme-text) !important;
}
html[data-theme] .staff-management-card p {
    color: var(--theme-muted) !important;
}
html[data-theme] .staff-table-shell {
    border: 1px solid var(--theme-border) !important;
    background: var(--theme-surface) !important;
}
html[data-theme] .staff-logs-table > :not(caption) > * > * {
    border-color: var(--theme-border) !important;
}
html[data-theme] .staff-logs-table thead th {
    background: var(--theme-soft) !important;
    color: var(--theme-muted) !important;
}
html[data-theme] .staff-log-row:hover {
    background: var(--theme-soft) !important;
}
html[data-theme] .staff-pill {
    border: 1px solid var(--theme-border) !important;
    background: var(--theme-surface) !important;
    color: var(--theme-text) !important;
}
html[data-theme] .staff-pill-none {
    border-color: var(--theme-border) !important;
}
html[data-theme] .staff-pill-pending {
    background: var(--theme-surface) !important;
}
html[data-theme] .staff-pill-approved {
    background: var(--theme-surface) !important;
}
html[data-theme] .staff-pill-rejected {
    background: var(--theme-surface) !important;
}
html[data-theme] .staff-dot-none {
    background: var(--theme-surface) !important;
}
html[data-theme] .staff-review-pill {
    border: 1px solid var(--theme-border) !important;
    background: var(--theme-surface) !important;
    color: var(--theme-text) !important;
}
html[data-theme] .staff-review-reviewed {
    background: var(--theme-surface) !important;
}
html[data-theme="dark"] .staff-review-reviewed {
    color: #79e2a1 !important;
}
html[data-theme] .staff-review-query {
    background: var(--theme-surface) !important;
}
html[data-theme="dark"] .staff-review-query {
    color: #f19d6a !important;
}
html[data-theme] .staff-review-unreviewed {
    background: var(--theme-surface) !important;
}
html[data-theme="dark"] .staff-review-unreviewed {
    color: #64c4f7 !important;
}
html[data-theme] .staff-minutes-badge-low {
    background: var(--theme-surface) !important;
}
html[data-theme="dark"] .staff-minutes-badge-low {
    color: #e77474 !important;
}
html[data-theme] .staff-minutes-badge-mid {
    background: var(--theme-surface) !important;
}
html[data-theme="dark"] .staff-minutes-badge-mid {
    color: #f19d6a !important;
}
html[data-theme] .staff-minutes-badge-high {
    border-color: var(--theme-border) !important;
    background: var(--theme-surface) !important;
    color: var(--theme-text) !important;
}
html[data-theme] .staff-empty-state {
    border: 1px dashed var(--theme-border) !important;
    background: var(--theme-surface) !important;
    color: var(--theme-muted) !important;
}
html[data-theme] .staff-modal {
    border: 1px solid var(--theme-border) !important;
}
html[data-theme] .staff-modal .modal-header,
html[data-theme] .staff-modal .modal-footer {
    border-color: var(--theme-border) !important;
}
html[data-theme] .staff-modal .modal-title {
    color: var(--theme-text) !important;
}

/* wwwroot/css/student-dashboard.css */
html[data-theme] {
    --dash-bg: var(--theme-surface) !important;
    --dash-surface: var(--theme-surface) !important;
    --dash-surface-2: var(--theme-soft) !important;
    --dash-border: var(--theme-border) !important;
    --dash-border-strong: var(--theme-border) !important;
    --dash-text: var(--theme-text) !important;
    --dash-muted: var(--theme-muted) !important;
}
html[data-theme] .app-main {
    background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.06), transparent 26%), radial-gradient(circle at top right, rgba(124, 58, 237, 0.05), transparent 24%), linear-gradient(180deg, var(--theme-surface) 0%, var(--theme-surface) 100%) !important;
}
html[data-theme] .student-dashboard-hero-main,
html[data-theme] .student-dashboard-hero-meta {
    background: linear-gradient(135deg, var(--theme-surface), var(--theme-surface)) !important;
}
html[data-theme] .student-dashboard-hero-btn-light {
    background: var(--theme-surface) !important;
}
html[data-theme] .student-dashboard-context span {
    color: var(--theme-muted) !important;
    background: var(--theme-surface) !important;
}
html[data-theme] .student-dashboard-stat {
    background: var(--theme-surface) !important;
}
html[data-theme] .student-dashboard-mini-progress {
    background: var(--theme-surface) !important;
}
html[data-theme] .dashboard-card {
    background: linear-gradient(180deg, var(--theme-surface), var(--theme-surface)) !important;
}
html[data-theme] .dashboard-form-meta span,
html[data-theme] .dashboard-date-pill {
    color: var(--theme-muted) !important;
    background: var(--theme-surface) !important;
}
html[data-theme] .dashboard-form-meta span:nth-child(2) {
    background: var(--theme-surface) !important;
}
html[data-theme="light"] .dashboard-form-meta span:nth-child(2) {
    color: #4e1c9b !important;
}
html[data-theme="dark"] .dashboard-form-meta span:nth-child(2) {
    color: #a175e6 !important;
}
html[data-theme] .dashboard-section-card {
    background: linear-gradient(180deg, var(--theme-surface), var(--theme-surface)) !important;
}
html[data-theme] .dashboard-summary-card {
    background: linear-gradient(180deg, var(--theme-surface), var(--theme-surface)) !important;
}
html[data-theme] .dashboard-subpanel {
    background: linear-gradient(180deg, var(--theme-surface), var(--theme-surface)) !important;
}
html[data-theme] .dashboard-progress {
    background: var(--theme-surface) !important;
}
html[data-theme] .student-home .badge.rounded-pill.bg-light.text-dark.border {
    background: var(--theme-surface) !important;
    color: var(--theme-text) !important;
}
html[data-theme] .dashboard-badge-small {
    background: var(--theme-surface) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme="light"] .dashboard-badge-small {
    color: #302a8e !important;
}
html[data-theme="dark"] .dashboard-badge-small {
    color: #8681da !important;
}
html[data-theme] .dashboard-callout {
    background: linear-gradient(180deg, var(--theme-surface), var(--theme-surface)) !important;
}
html[data-theme] .student-home .alert-info {
    border: 1px solid var(--theme-border) !important;
    background: linear-gradient(180deg, var(--theme-surface), var(--theme-surface)) !important;
}
html[data-theme="dark"] .student-home .alert-info {
    color: #71b1ea !important;
}
html[data-theme] .student-home .alert-warning {
    background: linear-gradient(180deg, var(--theme-surface), var(--theme-surface)) !important;
}
html[data-theme="dark"] .student-home .alert-warning {
    color: #ffc05c !important;
}
html[data-theme] .student-home .alert-light {
    background: linear-gradient(180deg, var(--theme-surface), var(--theme-surface)) !important;
    color: var(--theme-muted) !important;
}
html[data-theme] .student-home .form-control,
html[data-theme] .student-home .form-select {
    background-color: var(--theme-surface) !important;
}
html[data-theme] .student-home .form-floating > label {
    color: var(--theme-muted) !important;
}
html[data-theme] .student-home .form-check-input {
    border-color: var(--theme-border) !important;
}
html[data-theme] .student-home .btn-secondary {
    border-color: var(--theme-border) !important;
}
html[data-theme] .student-home .btn-outline-secondary {
    border-color: var(--theme-border) !important;
    color: var(--theme-muted) !important;
}
html[data-theme] .student-home hr {
    border-color: var(--theme-border) !important;
}
html[data-theme] .student-home .form-select option {
    color: var(--theme-text) !important;
    background: var(--theme-surface) !important;
}
html[data-theme] .student-home .form-select:disabled,
html[data-theme] .student-home .form-control:disabled {
    background-color: var(--theme-soft) !important;
    color: var(--theme-muted) !important;
    border-color: var(--theme-border) !important;
}
html[data-theme] .dashboard-helper-panel {
    background: linear-gradient(180deg, var(--theme-surface), var(--theme-surface)) !important;
}
html[data-theme] .dashboard-disabled-zone.is-disabled::after {
    background: linear-gradient(180deg, var(--theme-soft), var(--theme-soft)) !important;
    color: var(--theme-muted) !important;
}
html[data-theme] .dashboard-preceptor-panel {
    background: linear-gradient(180deg, var(--theme-surface), var(--theme-surface)) !important;
}
html[data-theme] .dashboard-preceptor-panel.is-disabled {
    background: linear-gradient(180deg, var(--theme-soft), var(--theme-soft)) !important;
}
html[data-theme] .dashboard-activity-row {
    background: linear-gradient(180deg, var(--theme-surface), var(--theme-surface)) !important;
}
html[data-theme] .activity-field-label {
    color: var(--theme-muted) !important;
}
html[data-theme] .dashboard-meta-pill {
    background: var(--theme-surface) !important;
    color: var(--theme-muted) !important;
}
html[data-theme] .dashboard-mini-panel {
    border-top: 1px solid var(--theme-border) !important;
}
html[data-theme] .dashboard-mini-panel-title {
    color: var(--theme-muted) !important;
}
html[data-theme] .student-action-icon {
    background: var(--theme-overlay) !important;
}
html[data-theme="dark"] .student-callout-icon {
    color: #f19d6a !important;
}
html[data-theme] .student-signal-block {
    border: 1px solid var(--theme-border) !important;
    background: linear-gradient(180deg, var(--theme-surface), var(--theme-surface)) !important;
}
html[data-theme] .student-signal-head {
    color: var(--theme-muted) !important;
}
html[data-theme] .student-signal-head strong {
    color: var(--theme-text) !important;
    background: var(--theme-surface) !important;
}
html[data-theme] .student-action-item {
    border: 1px solid var(--theme-border) !important;
    background: var(--theme-surface) !important;
}
html[data-theme] .student-action-item-warning {
    background: var(--theme-surface) !important;
}
html[data-theme] .student-action-item-danger {
    background: var(--theme-surface) !important;
}
html[data-theme] .student-action-item-success {
    background: var(--theme-surface) !important;
}
html[data-theme] .student-action-title {
    color: var(--theme-text) !important;
}
html[data-theme] .student-action-detail {
    color: var(--theme-muted) !important;
}
html[data-theme="light"] .student-action-link {
    color: #0f3fa8 !important;
}
html[data-theme="dark"] .student-action-link {
    color: #6a94f1 !important;
}
html[data-theme] .student-mini-signal {
    border: 1px solid var(--theme-border) !important;
    background: var(--theme-surface) !important;
}
html[data-theme] .student-mini-signal span {
    color: var(--theme-muted) !important;
}
html[data-theme] .student-mini-signal strong {
    color: var(--theme-text) !important;
}

/* wwwroot/css/student-logs-status.css */
html[data-theme] .logs-review-pill {
    border: 1px solid var(--theme-border) !important;
    background: var(--theme-surface) !important;
    color: var(--theme-text) !important;
}
html[data-theme] .logs-review-reviewed {
    background: var(--theme-surface) !important;
}
html[data-theme="dark"] .logs-review-reviewed {
    color: #79e2a1 !important;
}
html[data-theme] .logs-review-query {
    background: var(--theme-surface) !important;
}
html[data-theme="dark"] .logs-review-query {
    color: #f19d6a !important;
}
html[data-theme] .logs-review-unreviewed {
    background: var(--theme-surface) !important;
}
html[data-theme="dark"] .logs-review-unreviewed {
    color: #64c4f7 !important;
}

/* wwwroot/css/student-logs.css */
html[data-theme] .logs-page {
    --logs-text: var(--theme-text) !important;
    --logs-muted: var(--theme-muted) !important;
    --logs-muted-2: var(--theme-muted) !important;
    --logs-border: var(--theme-border) !important;
    --logs-border-strong: var(--theme-border) !important;
    --logs-surface: var(--theme-surface) !important;
    --logs-surface-2: var(--theme-soft) !important;
    --logs-surface-3: var(--theme-soft) !important;
}
html[data-theme] .logs-summary-stat {
    background: linear-gradient(180deg, var(--theme-surface), var(--theme-surface)) !important;
}
html[data-theme] .logs-page .btn-outline-secondary {
    border-color: var(--theme-border) !important;
    color: var(--theme-muted) !important;
    background: linear-gradient(180deg, var(--theme-surface), var(--theme-surface)) !important;
}
html[data-theme] .logs-page .btn-outline-secondary:hover,
html[data-theme] .logs-page .btn-outline-secondary:focus {
    border-color: var(--theme-border) !important;
    color: var(--theme-text) !important;
    background: linear-gradient(180deg, var(--theme-soft), var(--theme-soft)) !important;
}
html[data-theme] .logs-filter-head {
    border-bottom: 1px solid var(--theme-border) !important;
}
html[data-theme] .logs-filter-pill {
    border: 1px solid var(--theme-border) !important;
    background: linear-gradient(180deg, var(--theme-surface), var(--theme-surface)) !important;
    color: var(--theme-muted) !important;
}
html[data-theme] .logs-filters-shell {
    background: linear-gradient(180deg, var(--theme-surface), var(--theme-surface)) !important;
}
html[data-theme] .logs-page .form-label {
    color: var(--theme-text) !important;
}
html[data-theme] .logs-page .form-control,
html[data-theme] .logs-page .form-select {
    background: var(--theme-surface) !important;
}
html[data-theme] .btn-reset {
    border: 1px solid var(--theme-border) !important;
    background: linear-gradient(180deg, var(--theme-surface), var(--theme-surface)) !important;
    color: var(--theme-muted) !important;
}
html[data-theme] .btn-reset:hover,
html[data-theme] .btn-reset:focus {
    border-color: var(--theme-border) !important;
    color: var(--theme-text) !important;
    background: linear-gradient(180deg, var(--theme-soft), var(--theme-soft)) !important;
}
html[data-theme] .logs-table-shell {
    background: var(--theme-surface) !important;
}
html[data-theme] .logs-table thead th {
    background: linear-gradient(180deg, var(--theme-soft), var(--theme-soft)) !important;
    color: var(--theme-text) !important;
    border-bottom: 1px solid var(--theme-border) !important;
}
html[data-theme] .logs-table tbody td {
    border-bottom: 1px solid var(--theme-border) !important;
    color: var(--theme-text) !important;
    background: var(--theme-surface) !important;
}
html[data-theme] .logs-table tbody tr:hover td {
    background: linear-gradient(180deg, var(--theme-soft), var(--theme-soft)) !important;
}
html[data-theme] .logs-chip {
    border: 1px solid var(--theme-border) !important;
    background: linear-gradient(180deg, var(--theme-surface), var(--theme-surface)) !important;
    color: var(--theme-text) !important;
}
html[data-theme] .logs-chip--activity {
    background: linear-gradient(180deg, var(--theme-surface), var(--theme-surface)) !important;
    border-color: var(--theme-border) !important;
}
html[data-theme="light"] .logs-chip--activity {
    color: #302a8e !important;
}
html[data-theme="dark"] .logs-chip--activity {
    color: #8681da !important;
}
html[data-theme] .logs-btn-icon {
    background: var(--theme-surface) !important;
}
html[data-theme] .logs-btn-icon--edit {
    background: linear-gradient(180deg, var(--theme-surface), var(--theme-surface)) !important;
}
html[data-theme="light"] .logs-btn-icon--edit {
    color: #0f3fa8 !important;
}
html[data-theme="dark"] .logs-btn-icon--edit {
    color: #6a94f1 !important;
}
html[data-theme] .logs-btn-icon--archive {
    background: linear-gradient(180deg, var(--theme-surface), var(--theme-surface)) !important;
}
html[data-theme="light"] .logs-btn-icon--archive {
    color: #a90e0e !important;
}
html[data-theme="dark"] .logs-btn-icon--archive {
    color: #f26969 !important;
}
html[data-theme="light"] .logs-staff-absence-badge {
    color: #163aa2 !important;
}
html[data-theme="dark"] .logs-staff-absence-badge {
    color: #6f90ec !important;
}
html[data-theme] .logs-staff-absence-label {
    color: var(--theme-muted) !important;
}
html[data-theme] .logs-staff-absence-name {
    color: var(--theme-text) !important;
}
html[data-theme="light"] .logs-staff-absence-email {
    color: #0f3fa8 !important;
}
html[data-theme="dark"] .logs-staff-absence-email {
    color: #6a94f1 !important;
}
html[data-theme] .logs-locked-actions {
    background: var(--theme-overlay) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme] .logs-lock-pill {
    color: var(--theme-muted) !important;
    background: var(--theme-surface) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme] .logs-lock-text {
    color: var(--theme-muted) !important;
}
html[data-theme] .logs-page .dashboard-card {
    background: linear-gradient(180deg, var(--theme-surface), var(--theme-surface)) !important;
}

/* wwwroot/js/jurni-loading-overlay.js */
html[data-theme] .jurni-loading-overlay {
    background: var(--theme-surface) !important;
}
html[data-theme] .jurni-loading-panel {
    border: 1px solid var(--theme-border) !important;
    background: radial-gradient(circle at 50% 34%,var(--theme-surface) 0%,var(--theme-surface) 70%,var(--theme-surface) 100%) !important;
    color: var(--theme-text) !important;
}
html[data-theme] .jurni-loading-logo-shell {
    background: var(--theme-surface) !important;
}
html[data-theme="light"] .jurni-loading-logo-fallback {
    color: #1423a4 !important;
}
html[data-theme="dark"] .jurni-loading-logo-fallback {
    color: #6e7bed !important;
}

/* wwwroot/js/staff-dashboard-date-range.js */
html[data-theme] {
    --staff-loading-ink: var(--theme-text) !important;
}
html[data-theme] dialog.staff-loading-dialog::backdrop {
    background: var(--theme-surface) !important;
}
html[data-theme] dialog.staff-loading-dialog.staff-loading-fallback-open {
    background: var(--theme-surface) !important;
}
html[data-theme] .staff-loading-panel {
    border: 1px solid var(--theme-border) !important;
    background: radial-gradient(circle at 50% 34%, var(--theme-surface) 0%, var(--theme-surface) 70%, var(--theme-surface) 100%) !important;
}
html[data-theme] .staff-loading-logo-shell {
    background: var(--theme-surface) !important;
}
html[data-theme="light"] .staff-loading-logo-fallback {
    color: #1423a4 !important;
}
html[data-theme="dark"] .staff-loading-logo-fallback {
    color: #6e7bed !important;
}
html[data-theme] .staff-loading-title {
    color: var(--theme-text) !important;
}
html[data-theme] .staff-range-notice {
    border: 1px solid var(--theme-border) !important;
    background: linear-gradient(135deg,var(--theme-surface) 0%,var(--theme-surface) 100%) !important;
    color: var(--theme-text) !important;
}
html[data-theme] .staff-range-notice-icon {
    color: var(--theme-text) !important;
}
html[data-theme] .staff-range-notice-title {
    color: var(--theme-text) !important;
}
html[data-theme] .staff-range-notice-message {
    color: var(--theme-muted) !important;
}
html[data-theme] .staff-range-notice[data-state="warning"] {
    background: var(--theme-surface) !important;
}
html[data-theme] .staff-range-notice[data-state="error"] {
    background: var(--theme-surface) !important;
}

/* Views/Account/ChooseWorkspace.cshtml */
html[data-theme] body[data-theme-page="Account-ChooseWorkspace"] .workspace-panel,
html[data-theme] body[data-theme-page="Account-ChooseWorkspace"] .workspace-choice-card {
    border: 1px solid var(--theme-border) !important;
    background: var(--theme-surface) !important;
}
html[data-theme] body[data-theme-page="Account-ChooseWorkspace"] .workspace-institution {
    border: 1px solid var(--theme-border) !important;
    background: var(--theme-surface) !important;
}
html[data-theme] body[data-theme-page="Account-ChooseWorkspace"] .workspace-crest-shell {
    border: 1px solid var(--theme-border) !important;
    background: var(--theme-surface) !important;
}
html[data-theme="light"] body[data-theme-page="Account-ChooseWorkspace"] .workspace-kicker,
html[data-theme="light"] body[data-theme-page="Account-ChooseWorkspace"] .workspace-choice-kicker {
    color: #0796b1 !important;
}
html[data-theme="dark"] body[data-theme-page="Account-ChooseWorkspace"] .workspace-kicker,
html[data-theme="dark"] body[data-theme-page="Account-ChooseWorkspace"] .workspace-choice-kicker {
    color: #62e1f9 !important;
}
html[data-theme] body[data-theme-page="Account-ChooseWorkspace"] .workspace-institution-name {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="Account-ChooseWorkspace"] .workspace-institution-subtitle {
    color: var(--theme-muted) !important;
}
html[data-theme] body[data-theme-page="Account-ChooseWorkspace"] .workspace-title {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="Account-ChooseWorkspace"] .workspace-copy {
    color: var(--theme-muted) !important;
}
html[data-theme] body[data-theme-page="Account-ChooseWorkspace"] .workspace-choice-title {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="Account-ChooseWorkspace"] .workspace-choice-copy {
    color: var(--theme-muted) !important;
}
html[data-theme] body[data-theme-page="Account-ChooseWorkspace"] .workspace-card-button {
    border: 1px solid var(--theme-border) !important;
    background: var(--theme-surface) !important;
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="Account-ChooseWorkspace"] .workspace-card-icon {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="Account-ChooseWorkspace"] .workspace-card-button.admin .workspace-card-icon {
    background: linear-gradient(135deg, var(--theme-surface), #7c3aed) !important;
}
html[data-theme] body[data-theme-page="Account-ChooseWorkspace"] .workspace-card-note {
    color: var(--theme-muted) !important;
}
html[data-theme] body[data-theme-page="Account-ChooseWorkspace"] .workspace-card-arrow {
    color: var(--theme-muted) !important;
}

/* Views/Account/Profile.cshtml */
html[data-theme] body[data-theme-page="Account-Profile"] .profile-page {
    --profile-ink: var(--theme-text) !important;
    --profile-muted: var(--theme-muted) !important;
    --profile-border: var(--theme-border) !important;
    --profile-soft: var(--theme-soft) !important;
    --profile-card-bg: var(--theme-surface) !important;
    --profile-label: var(--theme-text) !important;
    --profile-input-bg: var(--theme-surface) !important;
    --profile-input-ink: var(--theme-text) !important;
    --profile-input-border: var(--theme-border) !important;
    --profile-readonly-bg: var(--theme-soft) !important;
    --profile-readonly-ink: var(--theme-text) !important;
    --profile-readonly-border: var(--theme-border) !important;
}
html[data-theme] body[data-theme-page="Account-Profile"] .profile-page-admin {
    --profile-ink: var(--theme-text) !important;
    --profile-muted: var(--theme-muted) !important;
    --profile-border: var(--theme-border) !important;
    --profile-soft: var(--theme-soft) !important;
    --profile-card-bg: var(--theme-surface) !important;
    --profile-label: var(--theme-text) !important;
    --profile-input-bg: var(--theme-surface) !important;
    --profile-input-ink: var(--theme-text) !important;
    --profile-input-border: var(--theme-border) !important;
    --profile-readonly-bg: var(--theme-soft) !important;
    --profile-readonly-ink: var(--theme-text) !important;
    --profile-readonly-border: var(--theme-border) !important;
}
html[data-theme] body[data-theme-page="Account-Profile"] .profile-picture-preview {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="Account-Profile"] .profile-crop-dialog::backdrop {
    background: var(--theme-surface) !important;
}
html[data-theme] body[data-theme-page="Account-Profile"] .profile-crop-frame {
    background: var(--theme-surface) !important;
}
html[data-theme] body[data-theme-page="Account-Profile"] .profile-crop-ring {
    border: 2px solid var(--theme-border) !important;
}
html[data-theme="light"] body[data-theme-page="Account-Profile"] .profile-pill {
    color: #163aa2 !important;
}
html[data-theme="dark"] body[data-theme-page="Account-Profile"] .profile-pill {
    color: #6f90ec !important;
}
html[data-theme="light"] body[data-theme-page="Account-Profile"] .profile-page-admin .profile-pill {
    color: #079db1 !important;
}
html[data-theme] body[data-theme-page="Account-Profile"] .profile-page-admin .profile-save {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="Account-Profile"] .profile-page-admin .profile-cancel {
    border-color: var(--theme-border) !important;
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="Account-Profile"] .profile-page-admin .profile-cancel:hover {
    background: var(--theme-overlay) !important;
    color: var(--theme-text) !important;
}
html[data-theme="light"] body[data-theme-page="Account-Profile"] .profile-page-admin .text-danger {
    color: #b20606 !important;
}

/* Views/Error/Error500.cshtml */
html[data-theme] body[data-theme-page="Error-Error500"] .auth-card.ep-auth-card {
    background: linear-gradient(180deg, var(--theme-surface) 0%, var(--theme-surface) 100%) !important;
}
html[data-theme] body[data-theme-page="Error-Error500"] .ep-shell {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="Error-Error500"] .ep-status-icon {
    border: 1px solid var(--theme-border) !important;
}
html[data-theme="light"] body[data-theme-page="Error-Error500"] .ep-kicker {
    color: #b80000 !important;
}
html[data-theme] body[data-theme-page="Error-Error500"] .ep-title {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="Error-Error500"] .ep-subtitle {
    color: var(--theme-muted) !important;
}
html[data-theme] body[data-theme-page="Error-Error500"] .ep-alert {
    background: linear-gradient(180deg, var(--theme-overlay), var(--theme-overlay)) !important;
    border: 1px solid var(--theme-border) !important;
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="Error-Error500"] .ep-alert strong {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="Error-Error500"] .ep-meta-card {
    background: var(--theme-overlay) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme] body[data-theme-page="Error-Error500"] .ep-meta-label {
    color: var(--theme-text) !important;
}
html[data-theme="light"] body[data-theme-page="Error-Error500"] .ep-meta-value,
html[data-theme="light"] body[data-theme-page="Error-Error500"] .ep-meta-value code {
    color: #0065b8 !important;
}
html[data-theme] body[data-theme-page="Error-Error500"] .ep-btn-secondary {
    border: 1px solid var(--theme-border) !important;
}
html[data-theme="light"] body[data-theme-page="Error-Error500"] .ep-btn-ghost {
    color: #b80000 !important;
}
html[data-theme] body[data-theme-page="Error-Error500"] .ep-footnote {
    color: var(--theme-muted) !important;
}

/* Views/Error/StatusCode.cshtml */
html[data-theme] body[data-theme-page="Error-StatusCode"] .auth-card.ep-auth-card {
    background: linear-gradient(180deg, var(--theme-surface) 0%, var(--theme-surface) 100%) !important;
}
html[data-theme] body[data-theme-page="Error-StatusCode"] .ep-shell {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="Error-StatusCode"] .ep-badge {
    background: var(--theme-overlay) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme="light"] body[data-theme-page="Error-StatusCode"] .ep-accent-warning {
    color: #b86e00 !important;
}
html[data-theme="dark"] body[data-theme-page="Error-StatusCode"] .ep-accent-warning {
    color: #ffbd5c !important;
}
html[data-theme="light"] body[data-theme-page="Error-StatusCode"] .ep-accent-danger {
    color: #b80000 !important;
}
html[data-theme] body[data-theme-page="Error-StatusCode"] .ep-title {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="Error-StatusCode"] .ep-subtitle {
    color: var(--theme-muted) !important;
}
html[data-theme] body[data-theme-page="Error-StatusCode"] .ep-code-pill {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="Error-StatusCode"] .ep-meta-card {
    background: var(--theme-overlay) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme] body[data-theme-page="Error-StatusCode"] .ep-meta-label {
    color: var(--theme-text) !important;
}
html[data-theme="light"] body[data-theme-page="Error-StatusCode"] .ep-meta-value,
html[data-theme="light"] body[data-theme-page="Error-StatusCode"] .ep-meta-value code {
    color: #0065b8 !important;
}
html[data-theme] body[data-theme-page="Error-StatusCode"] .ep-btn-secondary {
    border: 1px solid var(--theme-border) !important;
}
html[data-theme="light"] body[data-theme-page="Error-StatusCode"] .ep-btn-ghost {
    color: #0065b8 !important;
}
html[data-theme] body[data-theme-page="Error-StatusCode"] .ep-btn-ghost:hover {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="Error-StatusCode"] .ep-footnote {
    color: var(--theme-muted) !important;
}

/* Areas/Admin/Views/AdminUsers/_Form.cshtml */
html[data-theme] body[data-theme-page^="AdminUsers-"] .admin-form-section {
    background: linear-gradient(180deg, var(--theme-overlay), var(--theme-overlay)) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme] body[data-theme-page^="AdminUsers-"] .admin-form-section-title {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page^="AdminUsers-"] .admin-form-note {
    color: var(--theme-muted) !important;
}
html[data-theme] body[data-theme-page^="AdminUsers-"] .admin-status-row {
    background: var(--theme-overlay) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme] body[data-theme-page^="AdminUsers-"] .admin-status-copy strong {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page^="AdminUsers-"] .admin-status-copy span {
    color: var(--theme-text) !important;
}

/* Areas/Admin/Views/AdminUsers/Index.cshtml */
html[data-theme] body[data-theme-page="AdminUsers-Index"] .table-admin.table-bright thead th,
html[data-theme] body[data-theme-page="AdminUsers-Index"] .table-admin.table-bright tbody td {
    color: var(--theme-text) !important;
    border-color: var(--theme-border) !important;
}
html[data-theme] body[data-theme-page="AdminUsers-Index"] .table-admin.table-bright thead th {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="AdminUsers-Index"] .table-admin.table-bright tbody tr {
    background: var(--theme-surface) !important;
}
html[data-theme] body[data-theme-page="AdminUsers-Index"] .table-admin.table-bright tbody tr:nth-child(even) {
    background: var(--theme-surface) !important;
}
html[data-theme] body[data-theme-page="AdminUsers-Index"] .table-admin.table-bright tbody tr:hover {
    background: var(--theme-soft) !important;
}
html[data-theme] body[data-theme-page="AdminUsers-Index"] .admin-name {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="AdminUsers-Index"] .admin-email {
    color: var(--theme-text) !important;
}
html[data-theme="light"] body[data-theme-page="AdminUsers-Index"] .status-pill.status-active {
    color: #15a248 !important;
}
html[data-theme] body[data-theme-page="AdminUsers-Index"] .status-pill.status-inactive {
    background: var(--theme-overlay) !important;
    color: var(--theme-text) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme="light"] body[data-theme-page="AdminUsers-Index"] .password-pill.password-required {
    color: #b58b03 !important;
}
html[data-theme="dark"] body[data-theme-page="AdminUsers-Index"] .password-pill.password-required {
    color: #fcd75f !important;
}
html[data-theme="light"] body[data-theme-page="AdminUsers-Index"] .password-pill.password-ok {
    color: #0357b4 !important;
}
html[data-theme] body[data-theme-page="AdminUsers-Index"] .btn-action.btn-manage {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="AdminUsers-Index"] .btn-action.btn-ghost {
    background: var(--theme-overlay) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme] body[data-theme-page="AdminUsers-Index"] .admin-count {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="AdminUsers-Index"] .super-user-note {
    color: var(--theme-muted) !important;
}

/* Areas/Admin/Views/Announcements/Index.cshtml */
html[data-theme] body[data-theme-page="Announcements-Index"] .announcement-panel {
    border: 1px solid var(--theme-border) !important;
    background: linear-gradient(180deg, var(--theme-overlay), var(--theme-overlay)) !important;
}
html[data-theme] body[data-theme-page="Announcements-Index"] .announcement-panel .form-control,
html[data-theme] body[data-theme-page="Announcements-Index"] .announcement-panel .form-select {
    border-color: var(--theme-border) !important;
    background: var(--theme-surface) !important;
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="Announcements-Index"] .announcement-label {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="Announcements-Index"] .announcement-copy {
    color: var(--theme-text) !important;
}

/* Areas/Admin/Views/Preceptors/_Form.cshtml */
html[data-theme] body[data-theme-page^="Preceptors-"] .admin-form-section {
    background: linear-gradient(180deg, var(--theme-overlay), var(--theme-overlay)) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme] body[data-theme-page^="Preceptors-"] .admin-form-section-title {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page^="Preceptors-"] .admin-form-note {
    color: var(--theme-muted) !important;
}
html[data-theme] body[data-theme-page^="Preceptors-"] .admin-status-row {
    background: var(--theme-overlay) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme] body[data-theme-page^="Preceptors-"] .admin-status-copy strong {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page^="Preceptors-"] .admin-status-copy span {
    color: var(--theme-text) !important;
}

/* Areas/Admin/Views/Preceptors/Index.cshtml */
html[data-theme] body[data-theme-page="Preceptors-Index"] .actions-compact .btn-manage {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="Preceptors-Index"] .actions-compact .btn-ghost {
    background: var(--theme-overlay) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme] body[data-theme-page="Preceptors-Index"] .preceptor-name {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="Preceptors-Index"] .programme-pill {
    background: var(--theme-overlay) !important;
    border: 1px solid var(--theme-border) !important;
    color: var(--theme-text) !important;
}
html[data-theme="light"] body[data-theme-page="Preceptors-Index"] .programme-pill.programme-slp {
    color: #0099b8 !important;
}
html[data-theme] body[data-theme-page="Preceptors-Index"] .programme-pill.programme-nursing {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="Preceptors-Index"] .muted-note {
    color: var(--theme-muted) !important;
}
html[data-theme="light"] body[data-theme-page="Preceptors-Index"] .status-pill.status-active {
    color: #15a248 !important;
}
html[data-theme] body[data-theme-page="Preceptors-Index"] .status-pill.status-archived {
    background: var(--theme-overlay) !important;
    color: var(--theme-text) !important;
    border: 1px solid var(--theme-border) !important;
}

/* Areas/Admin/Views/Preload/Edit.cshtml */
html[data-theme="light"] body[data-theme-page="Preload-Edit"] .student-chip {
    color: #0099b8 !important;
}
html[data-theme] body[data-theme-page="Preload-Edit"] .baseline-card {
    background: linear-gradient(180deg, var(--theme-overlay), var(--theme-overlay)) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme] body[data-theme-page="Preload-Edit"] .baseline-card-head {
    border-bottom: 1px solid var(--theme-border) !important;
    background: linear-gradient(180deg, var(--theme-overlay), var(--theme-overlay)) !important;
}
html[data-theme] body[data-theme-page="Preload-Edit"] .baseline-card-title {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="Preload-Edit"] .baseline-card-note {
    color: var(--theme-muted) !important;
}
html[data-theme] body[data-theme-page="Preload-Edit"] .baseline-table-wrap::-webkit-scrollbar-thumb {
    background: var(--theme-overlay) !important;
}
html[data-theme] body[data-theme-page="Preload-Edit"] .baseline-table thead th {
    background: var(--theme-soft) !important;
    color: var(--theme-text) !important;
    border-color: var(--theme-border) !important;
}
html[data-theme] body[data-theme-page="Preload-Edit"] .baseline-table tbody tr {
    background: var(--theme-surface) !important;
}
html[data-theme] body[data-theme-page="Preload-Edit"] .baseline-table tbody tr:nth-child(even) {
    background: var(--theme-surface) !important;
}
html[data-theme] body[data-theme-page="Preload-Edit"] .baseline-table tbody tr:hover {
    background: var(--theme-soft) !important;
}
html[data-theme] body[data-theme-page="Preload-Edit"] .baseline-table td,
html[data-theme] body[data-theme-page="Preload-Edit"] .baseline-table th {
    border-color: var(--theme-border) !important;
}
html[data-theme] body[data-theme-page="Preload-Edit"] .baseline-table .mini {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="Preload-Edit"] .baseline-table .subarea-name {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="Preload-Edit"] .baseline-minutes {
    background: var(--theme-surface) !important;
    border: 1px solid var(--theme-border) !important;
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="Preload-Edit"] .baseline-minutes::placeholder {
    color: var(--theme-muted) !important;
}
html[data-theme] body[data-theme-page="Preload-Edit"] .baseline-minutes:focus {
    background: var(--theme-surface) !important;
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="Preload-Edit"] .sticky-actions-bar {
    border: 1px solid var(--theme-border) !important;
    background: var(--theme-surface) !important;
}
html[data-theme] body[data-theme-page="Preload-Edit"] .sticky-actions-copy {
    color: var(--theme-text) !important;
}

/* Areas/Admin/Views/Preload/Index.cshtml */
html[data-theme] body[data-theme-page="Preload-Index"] .table-admin tbody td {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="Preload-Index"] .table-admin tbody tr {
    background: var(--theme-surface) !important;
}
html[data-theme] body[data-theme-page="Preload-Index"] .table-admin tbody tr:nth-child(even) {
    background: var(--theme-surface) !important;
}
html[data-theme] body[data-theme-page="Preload-Index"] .table-admin tbody tr:hover {
    background: var(--theme-soft) !important;
}
html[data-theme] body[data-theme-page="Preload-Index"] .student-number {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="Preload-Index"] .student-email {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="Preload-Index"] .baseline-pill.zero {
    background: var(--theme-overlay) !important;
    color: var(--theme-text) !important;
}
html[data-theme="light"] body[data-theme-page="Preload-Index"] .baseline-pill.some {
    color: #15a248 !important;
}
html[data-theme] body[data-theme-page="Preload-Index"] .btn-action.btn-brand {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="Preload-Index"] .btn-action.btn-outline-light {
    background: var(--theme-overlay) !important;
    border: 1px solid var(--theme-border) !important;
}

/* Areas/Admin/Views/Preload/Upload.cshtml */
html[data-theme="light"] body[data-theme-page="Preload-Upload"] .student-chip {
    color: #0099b8 !important;
}
html[data-theme] body[data-theme-page="Preload-Upload"] .admin-form-section {
    background: linear-gradient(180deg, var(--theme-overlay), var(--theme-overlay)) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme] body[data-theme-page="Preload-Upload"] .admin-form-section-title {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="Preload-Upload"] .file-pick::file-selector-button,
html[data-theme] body[data-theme-page="Preload-Upload"] .file-pick::-webkit-file-upload-button {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="Preload-Upload"] .admin-form-note {
    color: var(--theme-muted) !important;
}
html[data-theme] body[data-theme-page="Preload-Upload"] .replace-box {
    background: var(--theme-overlay) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme] body[data-theme-page="Preload-Upload"] .replace-copy strong {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="Preload-Upload"] .replace-copy span {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="Preload-Upload"] .upload-help {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="Preload-Upload"] .upload-help code {
    background: var(--theme-overlay) !important;
}
html[data-theme="light"] body[data-theme-page="Preload-Upload"] .upload-help code {
    color: #0099b8 !important;
}

/* Areas/Admin/Views/Shared/_AdminLayout.cshtml */
html[data-theme] body.admin-shell {
    --bg: var(--theme-surface) !important;
    --surface: var(--theme-surface) !important;
    --elev: var(--theme-surface) !important;
    --ink: var(--theme-text) !important;
    --muted: var(--theme-muted) !important;
    --border: var(--theme-border) !important;
}
html[data-theme] body.admin-shell .brand-mark {
    color: var(--theme-text) !important;
}
html[data-theme] body.admin-shell .admin-profile-photo {
    color: var(--theme-text) !important;
}
html[data-theme] body.admin-shell .admin-profile-viewer::backdrop {
    background: var(--theme-surface) !important;
}
html[data-theme] body.admin-shell .admin-profile-viewer-close {
    background: var(--theme-overlay) !important;
}
html[data-theme] body.admin-shell .admin-nav .nav-link:hover {
    background: var(--theme-overlay) !important;
}
html[data-theme] body.admin-shell .admin-nav .nav-link.active {
    color: var(--theme-text) !important;
}
html[data-theme] body.admin-shell .admin-icon-btn {
    color: var(--theme-text) !important;
}
html[data-theme] body.admin-shell .admin-icon-btn.active {
    color: var(--theme-text) !important;
}
html[data-theme] body.admin-shell .user-chip {
    color: var(--theme-text) !important;
}
html[data-theme] body.admin-shell .user-chip strong {
    color: var(--theme-text) !important;
}
html[data-theme] body.admin-shell .table-admin .site-name {
    color: var(--theme-text) !important;
}
html[data-theme] body.admin-shell .table-admin .site-meta {
    color: var(--theme-muted) !important;
}
html[data-theme] body.admin-shell .table-admin .row-actions .btn {
    color: var(--theme-text) !important;
}
html[data-theme] body.admin-shell .table-admin tbody tr:hover .site-name {
    color: var(--theme-text) !important;
}
html[data-theme] body.admin-shell .table-admin tbody tr:hover {
    background: var(--theme-soft) !important;
}
html[data-theme] body.admin-shell .btn-quiet {
    color: var(--theme-text) !important;
    background: var(--theme-overlay) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme] body.admin-shell .btn-quiet:hover {
    background: var(--theme-overlay) !important;
}
html[data-theme] body.admin-shell .btn-action.btn-manage,
html[data-theme] body.admin-shell .btn-manage {
    color: var(--theme-text) !important;
}
html[data-theme] body.admin-shell .btn-action.btn-manage:hover,
html[data-theme] body.admin-shell .btn-manage:hover {
    color: var(--theme-text) !important;
}
html[data-theme] body.admin-shell .badge-count {
    background: var(--theme-overlay) !important;
}
html[data-theme] body.admin-shell .table-admin td,
html[data-theme] body.admin-shell .table-admin th {
    border-color: var(--theme-border) !important;
}
html[data-theme] body.admin-shell .table-admin thead.thead-admin th {
    background: linear-gradient(180deg, var(--theme-soft), var(--theme-soft)) !important;
    color: var(--theme-text) !important;
    border-bottom: 1px solid var(--theme-border) !important;
}
html[data-theme] body.admin-shell .table-admin thead.thead-admin .th-actions {
    color: var(--theme-text) !important;
}
html[data-theme] body.admin-shell .table-admin tbody tr {
    background: var(--theme-surface) !important;
}
html[data-theme] body.admin-shell .table-admin tbody tr:nth-child(even) {
    background: var(--theme-surface) !important;
}
html[data-theme] body.admin-shell .table-admin tbody tr:hover {
    background: var(--theme-soft) !important;
}
html[data-theme] body.admin-shell .pane-head {
    background: linear-gradient(180deg,var(--theme-surface),var(--theme-surface)) !important;
    color: var(--theme-text) !important;
    border-bottom: 1px solid var(--theme-border) !important;
}
html[data-theme] body.admin-shell .checklist .form-check {
    border-bottom: 1px solid var(--theme-border) !important;
}
html[data-theme] body.admin-shell .sa-group {
    background: var(--theme-surface) !important;
}
html[data-theme] body.admin-shell .sa-group .group-head {
    border-bottom: 1px solid var(--theme-border) !important;
    background: var(--theme-surface) !important;
}
html[data-theme] body.admin-shell .btn-brand {
    color: var(--theme-text) !important;
}
html[data-theme] body.admin-shell .caseloads-pane .checklist .form-check {
    border-bottom: 1px solid var(--theme-border) !important;
}
html[data-theme] body.admin-shell .caseloads-pane .checklist .form-check:hover {
    background: var(--theme-overlay) !important;
}
html[data-theme] body.admin-shell .admin-nav .dropdown-menu-admin .dropdown-item:hover {
    background: var(--theme-overlay) !important;
    color: var(--theme-text) !important;
}
html[data-theme="light"] body.admin-shell .admin-nav .nav-link.nav-link-preapproved {
    color: #b58b03 !important;
}
html[data-theme="dark"] body.admin-shell .admin-nav .nav-link.nav-link-preapproved {
    color: #fcd75f !important;
}
html[data-theme="light"] body.admin-shell .admin-nav .nav-link.nav-link-preapproved:hover {
    color: #b89000 !important;
}
html[data-theme] body.admin-shell .admin-nav .nav-link.nav-link-preapproved.active {
    color: var(--theme-text) !important;
}
html[data-theme] body.admin-shell .admin-archive-filter {
    background: var(--theme-overlay) !important;
    border: 1px solid var(--theme-border) !important;
    color: var(--theme-text) !important;
}
html[data-theme] body.admin-shell .admin-archive-filter:hover {
    background: var(--theme-overlay) !important;
}
html[data-theme] body.admin-shell .admin-archive-filter .form-check-input {
    background-color: var(--theme-surface) !important;
    border-color: var(--theme-border) !important;
}
html[data-theme="light"] body.admin-shell .admin-archive-count {
    color: #b59103 !important;
}
html[data-theme] body.admin-shell .table-admin tbody tr.is-archived {
    background: linear-gradient(90deg, rgba(245,158,11,.13), var(--theme-surface)) !important;
}
html[data-theme] body.admin-shell .table-admin tbody tr.is-archived:nth-child(even) {
    background: linear-gradient(90deg, rgba(245,158,11,.16), var(--theme-surface)) !important;
}
html[data-theme] body.admin-shell .table-admin tbody tr.is-archived:hover {
    background: linear-gradient(90deg, rgba(245,158,11,.22), var(--theme-soft)) !important;
}
html[data-theme] body.admin-shell .table-admin tbody tr.is-archived td {
    color: var(--theme-text) !important;
}
html[data-theme] body.admin-shell .table-admin tbody tr.is-archived .site-name,
html[data-theme] body.admin-shell .table-admin tbody tr.is-archived .preceptor-name,
html[data-theme] body.admin-shell .table-admin tbody tr.is-archived .user-name {
    color: var(--theme-text) !important;
}
html[data-theme="light"] body.admin-shell .status-pill.status-archived {
    color: #b59103 !important;
}

/* Areas/Admin/Views/Sites/Create.cshtml */
html[data-theme] body[data-theme-page="Sites-Create"] .admin-form-section {
    background: linear-gradient(180deg, var(--theme-overlay), var(--theme-overlay)) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme] body[data-theme-page="Sites-Create"] .admin-form-section-title {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="Sites-Create"] .admin-form-note {
    color: var(--theme-muted) !important;
}
html[data-theme] body[data-theme-page="Sites-Create"] .admin-card-title {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="Sites-Create"] .btn-quiet {
    color: var(--theme-text) !important;
    background: var(--theme-overlay) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme] body[data-theme-page="Sites-Create"] .btn-quiet:hover {
    background: var(--theme-overlay) !important;
}
html[data-theme] body[data-theme-page="Sites-Create"] .file-pick::file-selector-button,
html[data-theme] body[data-theme-page="Sites-Create"] .file-pick::-webkit-file-upload-button {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="Sites-Create"] .csv-help {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="Sites-Create"] .csv-help code {
    background: var(--theme-overlay) !important;
}
html[data-theme="light"] body[data-theme-page="Sites-Create"] .csv-help code {
    color: #0099b8 !important;
}
html[data-theme] body[data-theme-page="Sites-Create"] .ward-chip {
    background: var(--theme-overlay) !important;
    border: 1px solid var(--theme-border) !important;
}

/* Areas/Admin/Views/Sites/Edit.cshtml */
html[data-theme] body[data-theme-page="Sites-Edit"] .admin-form-section {
    background: linear-gradient(180deg, var(--theme-overlay), var(--theme-overlay)) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme] body[data-theme-page="Sites-Edit"] .admin-form-section-title {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="Sites-Edit"] .admin-input:disabled,
html[data-theme] body[data-theme-page="Sites-Edit"] .admin-input[disabled] {
    background: var(--theme-overlay) !important;
    border: 1px solid var(--theme-border) !important;
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="Sites-Edit"] .admin-form-note {
    color: var(--theme-muted) !important;
}
html[data-theme] body[data-theme-page="Sites-Edit"] .admin-status-row {
    background: var(--theme-overlay) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme] body[data-theme-page="Sites-Edit"] .admin-status-copy strong {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="Sites-Edit"] .admin-status-copy span {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="Sites-Edit"] .admin-alert {
    background: var(--theme-surface) !important;
}
html[data-theme="dark"] body[data-theme-page="Sites-Edit"] .admin-alert {
    color: #6cbfef !important;
}

/* Areas/Admin/Views/Sites/Index.cshtml */
html[data-theme] body[data-theme-page="Sites-Index"] .actions-compact .btn-manage {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="Sites-Index"] .actions-compact .btn-ghost {
    background: var(--theme-overlay) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme] body[data-theme-page="Sites-Index"] .site-name {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="Sites-Index"] .programme-pill {
    background: var(--theme-overlay) !important;
    border: 1px solid var(--theme-border) !important;
    color: var(--theme-text) !important;
}
html[data-theme="light"] body[data-theme-page="Sites-Index"] .programme-pill.programme-slp {
    color: #0099b8 !important;
}
html[data-theme] body[data-theme-page="Sites-Index"] .programme-pill.programme-nursing {
    color: var(--theme-text) !important;
}
html[data-theme="light"] body[data-theme-page="Sites-Index"] .status-pill.status-active {
    color: #15a248 !important;
}
html[data-theme="light"] body[data-theme-page="Sites-Index"] .status-pill.status-archived {
    color: #b48303 !important;
}
html[data-theme="dark"] body[data-theme-page="Sites-Index"] .status-pill.status-archived {
    color: #fcd05f !important;
}
html[data-theme] body[data-theme-page="Sites-Index"] .site-row.is-archived .site-name {
    color: var(--theme-text) !important;
}

/* Areas/Admin/Views/Sites/Links.cshtml */
html[data-theme="light"] body[data-theme-page="Sites-Links"] .links-site-pill {
    color: #0099b8 !important;
}
html[data-theme] body[data-theme-page="Sites-Links"] .links-panel {
    background: linear-gradient(180deg, var(--theme-overlay), var(--theme-overlay)) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme] body[data-theme-page="Sites-Links"] .links-panel-head {
    border-bottom: 1px solid var(--theme-border) !important;
    background: linear-gradient(180deg, var(--theme-overlay), var(--theme-overlay)) !important;
}
html[data-theme] body[data-theme-page="Sites-Links"] .links-panel-title {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="Sites-Links"] .links-panel-note {
    color: var(--theme-muted) !important;
}
html[data-theme] body[data-theme-page="Sites-Links"] .links-scroll::-webkit-scrollbar-thumb {
    background: var(--theme-overlay) !important;
}
html[data-theme] body[data-theme-page="Sites-Links"] .links-check {
    border: 1px solid var(--theme-border) !important;
    background: var(--theme-overlay) !important;
}
html[data-theme] body[data-theme-page="Sites-Links"] .links-check .form-check-label {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="Sites-Links"] .links-group {
    border: 1px solid var(--theme-border) !important;
    background: var(--theme-overlay) !important;
}
html[data-theme] body[data-theme-page="Sites-Links"] .links-group-head {
    background: var(--theme-overlay) !important;
    border-bottom: 1px solid var(--theme-border) !important;
}
html[data-theme] body[data-theme-page="Sites-Links"] .links-group-title strong {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="Sites-Links"] .links-count-pill {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="Sites-Links"] .btn-mini.btn-ghost {
    background: var(--theme-overlay) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme] body[data-theme-page="Sites-Links"] .links-subarea-row .form-check {
    border: 1px solid var(--theme-border) !important;
    background: var(--theme-overlay) !important;
}
html[data-theme] body[data-theme-page="Sites-Links"] .links-subarea-row .form-check-label {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="Sites-Links"] .links-empty {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="Sites-Links"] .sticky-actions-bar {
    border: 1px solid var(--theme-border) !important;
    background: var(--theme-surface) !important;
}
html[data-theme] body[data-theme-page="Sites-Links"] .sticky-actions-copy {
    color: var(--theme-text) !important;
}

/* Areas/Admin/Views/SlpActivities/Create.cshtml */
html[data-theme] body[data-theme-page="SlpActivities-Create"] .admin-form-section {
    background: linear-gradient(180deg, var(--theme-overlay), var(--theme-overlay)) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme] body[data-theme-page="SlpActivities-Create"] .admin-form-section-title {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="SlpActivities-Create"] .admin-form-note {
    color: var(--theme-muted) !important;
}
html[data-theme] body[data-theme-page="SlpActivities-Create"] .admin-status-row {
    background: var(--theme-overlay) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme] body[data-theme-page="SlpActivities-Create"] .admin-status-copy strong {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="SlpActivities-Create"] .admin-status-copy span {
    color: var(--theme-text) !important;
}

/* Areas/Admin/Views/SlpActivities/Edit.cshtml */
html[data-theme] body[data-theme-page="SlpActivities-Edit"] .admin-form-section {
    background: linear-gradient(180deg, var(--theme-overlay), var(--theme-overlay)) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme] body[data-theme-page="SlpActivities-Edit"] .admin-form-section-title {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="SlpActivities-Edit"] .admin-form-note {
    color: var(--theme-muted) !important;
}
html[data-theme] body[data-theme-page="SlpActivities-Edit"] .admin-status-row {
    background: var(--theme-overlay) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme] body[data-theme-page="SlpActivities-Edit"] .admin-status-copy strong {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="SlpActivities-Edit"] .admin-status-copy span {
    color: var(--theme-text) !important;
}

/* Areas/Admin/Views/SlpActivities/Index.cshtml */
html[data-theme] body[data-theme-page="SlpActivities-Index"] .table-admin.table-bright thead th,
html[data-theme] body[data-theme-page="SlpActivities-Index"] .table-admin.table-bright tbody td {
    color: var(--theme-text) !important;
    border-color: var(--theme-border) !important;
}
html[data-theme] body[data-theme-page="SlpActivities-Index"] .table-admin.table-bright thead th {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="SlpActivities-Index"] .table-admin.table-bright tbody tr {
    background: var(--theme-surface) !important;
}
html[data-theme] body[data-theme-page="SlpActivities-Index"] .table-admin.table-bright tbody tr:nth-child(even) {
    background: var(--theme-surface) !important;
}
html[data-theme] body[data-theme-page="SlpActivities-Index"] .table-admin.table-bright tbody tr:hover {
    background: var(--theme-soft) !important;
}
html[data-theme] body[data-theme-page="SlpActivities-Index"] .activity-id {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="SlpActivities-Index"] .activity-name {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="SlpActivities-Index"] .sub-count-pill {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="SlpActivities-Index"] .sort-input {
    background: var(--theme-surface) !important;
    border: 1px solid var(--theme-border) !important;
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="SlpActivities-Index"] .sort-input:focus {
    background: var(--theme-surface) !important;
    color: var(--theme-text) !important;
}
html[data-theme="light"] body[data-theme-page="SlpActivities-Index"] .status-pill.status-active {
    color: #15a248 !important;
}
html[data-theme] body[data-theme-page="SlpActivities-Index"] .status-pill.status-hidden {
    background: var(--theme-overlay) !important;
    color: var(--theme-text) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme] body[data-theme-page="SlpActivities-Index"] .btn-action.btn-manage {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="SlpActivities-Index"] .btn-action.btn-ghost {
    background: var(--theme-overlay) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme] body[data-theme-page="SlpActivities-Index"] .activity-count {
    color: var(--theme-text) !important;
}

/* Areas/Admin/Views/SlpCaseLoads/Create.cshtml */
html[data-theme] body[data-theme-page="SlpCaseLoads-Create"] .admin-form-section {
    background: linear-gradient(180deg, var(--theme-overlay), var(--theme-overlay)) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme] body[data-theme-page="SlpCaseLoads-Create"] .admin-form-section-title {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="SlpCaseLoads-Create"] .admin-form-note {
    color: var(--theme-muted) !important;
}
html[data-theme] body[data-theme-page="SlpCaseLoads-Create"] .admin-status-row {
    background: var(--theme-overlay) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme] body[data-theme-page="SlpCaseLoads-Create"] .admin-status-copy strong {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="SlpCaseLoads-Create"] .admin-status-copy span {
    color: var(--theme-text) !important;
}

/* Areas/Admin/Views/SlpCaseLoads/Edit.cshtml */
html[data-theme] body[data-theme-page="SlpCaseLoads-Edit"] .admin-form-section {
    background: linear-gradient(180deg, var(--theme-overlay), var(--theme-overlay)) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme] body[data-theme-page="SlpCaseLoads-Edit"] .admin-form-section-title {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="SlpCaseLoads-Edit"] .admin-form-note {
    color: var(--theme-muted) !important;
}
html[data-theme] body[data-theme-page="SlpCaseLoads-Edit"] .admin-status-row {
    background: var(--theme-overlay) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme] body[data-theme-page="SlpCaseLoads-Edit"] .admin-status-copy strong {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="SlpCaseLoads-Edit"] .admin-status-copy span {
    color: var(--theme-text) !important;
}

/* Areas/Admin/Views/SlpCaseLoads/Index.cshtml */
html[data-theme] body[data-theme-page="SlpCaseLoads-Index"] .table-admin.table-bright thead th,
html[data-theme] body[data-theme-page="SlpCaseLoads-Index"] .table-admin.table-bright tbody td {
    color: var(--theme-text) !important;
    border-color: var(--theme-border) !important;
}
html[data-theme] body[data-theme-page="SlpCaseLoads-Index"] .table-admin.table-bright thead th {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="SlpCaseLoads-Index"] .table-admin.table-bright tbody tr {
    background: var(--theme-surface) !important;
}
html[data-theme] body[data-theme-page="SlpCaseLoads-Index"] .table-admin.table-bright tbody tr:nth-child(even) {
    background: var(--theme-surface) !important;
}
html[data-theme] body[data-theme-page="SlpCaseLoads-Index"] .table-admin.table-bright tbody tr:hover {
    background: var(--theme-soft) !important;
}
html[data-theme] body[data-theme-page="SlpCaseLoads-Index"] .case-id {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="SlpCaseLoads-Index"] .case-name {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="SlpCaseLoads-Index"] .sort-input {
    background: var(--theme-surface) !important;
    border: 1px solid var(--theme-border) !important;
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="SlpCaseLoads-Index"] .sort-input:focus {
    background: var(--theme-surface) !important;
    color: var(--theme-text) !important;
}
html[data-theme="light"] body[data-theme-page="SlpCaseLoads-Index"] .status-pill.status-active {
    color: #15a248 !important;
}
html[data-theme] body[data-theme-page="SlpCaseLoads-Index"] .status-pill.status-hidden {
    background: var(--theme-overlay) !important;
    color: var(--theme-text) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme] body[data-theme-page="SlpCaseLoads-Index"] .btn-action.btn-manage {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="SlpCaseLoads-Index"] .btn-action.btn-ghost {
    background: var(--theme-overlay) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme] body[data-theme-page="SlpCaseLoads-Index"] .case-count {
    color: var(--theme-text) !important;
}

/* Areas/Admin/Views/SlpSubActivities/_Form.cshtml */
html[data-theme] body[data-theme-page^="SlpSubActivities-"] .admin-form-section {
    background: linear-gradient(180deg, var(--theme-overlay), var(--theme-overlay)) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme] body[data-theme-page^="SlpSubActivities-"] .admin-form-section-title {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page^="SlpSubActivities-"] .admin-form-note {
    color: var(--theme-muted) !important;
}
html[data-theme] body[data-theme-page^="SlpSubActivities-"] .admin-status-row {
    background: var(--theme-overlay) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme] body[data-theme-page^="SlpSubActivities-"] .admin-status-copy strong {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page^="SlpSubActivities-"] .admin-status-copy span {
    color: var(--theme-text) !important;
}

/* Areas/Admin/Views/SlpSubActivities/Index.cshtml */
html[data-theme] body[data-theme-page="SlpSubActivities-Index"] .table-admin.table-bright thead th,
html[data-theme] body[data-theme-page="SlpSubActivities-Index"] .table-admin.table-bright tbody td {
    color: var(--theme-text) !important;
    border-color: var(--theme-border) !important;
}
html[data-theme] body[data-theme-page="SlpSubActivities-Index"] .table-admin.table-bright thead th {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="SlpSubActivities-Index"] .table-admin.table-bright tbody tr {
    background: var(--theme-surface) !important;
}
html[data-theme] body[data-theme-page="SlpSubActivities-Index"] .table-admin.table-bright tbody tr:nth-child(even) {
    background: var(--theme-surface) !important;
}
html[data-theme] body[data-theme-page="SlpSubActivities-Index"] .table-admin.table-bright tbody tr:hover {
    background: var(--theme-soft) !important;
}
html[data-theme] body[data-theme-page="SlpSubActivities-Index"] .subactivity-id {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="SlpSubActivities-Index"] .subactivity-name {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="SlpSubActivities-Index"] .activity-name {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="SlpSubActivities-Index"] .sort-input {
    background: var(--theme-surface) !important;
    border: 1px solid var(--theme-border) !important;
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="SlpSubActivities-Index"] .sort-input:focus {
    background: var(--theme-surface) !important;
    color: var(--theme-text) !important;
}
html[data-theme="light"] body[data-theme-page="SlpSubActivities-Index"] .status-pill.status-active {
    color: #15a248 !important;
}
html[data-theme] body[data-theme-page="SlpSubActivities-Index"] .status-pill.status-hidden {
    background: var(--theme-overlay) !important;
    color: var(--theme-text) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme="light"] body[data-theme-page="SlpSubActivities-Index"] .hands-pill.hands-on {
    color: #0357b4 !important;
}
html[data-theme] body[data-theme-page="SlpSubActivities-Index"] .hands-pill.hands-off {
    background: var(--theme-overlay) !important;
    color: var(--theme-text) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme] body[data-theme-page="SlpSubActivities-Index"] .btn-action.btn-manage {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="SlpSubActivities-Index"] .btn-action.btn-ghost {
    background: var(--theme-overlay) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme] body[data-theme-page="SlpSubActivities-Index"] .subactivity-count {
    color: var(--theme-text) !important;
}

/* Areas/Admin/Views/SlpSubAreas/Create.cshtml */
html[data-theme] body[data-theme-page="SlpSubAreas-Create"] .admin-form-section {
    background: linear-gradient(180deg, var(--theme-overlay), var(--theme-overlay)) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme] body[data-theme-page="SlpSubAreas-Create"] .admin-form-section-title {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="SlpSubAreas-Create"] .admin-form-note {
    color: var(--theme-muted) !important;
}
html[data-theme] body[data-theme-page="SlpSubAreas-Create"] .admin-status-row {
    background: var(--theme-overlay) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme] body[data-theme-page="SlpSubAreas-Create"] .admin-status-copy strong {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="SlpSubAreas-Create"] .admin-status-copy span {
    color: var(--theme-text) !important;
}

/* Areas/Admin/Views/SlpSubAreas/Edit.cshtml */
html[data-theme] body[data-theme-page="SlpSubAreas-Edit"] .admin-form-section {
    background: linear-gradient(180deg, var(--theme-overlay), var(--theme-overlay)) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme] body[data-theme-page="SlpSubAreas-Edit"] .admin-form-section-title {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="SlpSubAreas-Edit"] .admin-form-note {
    color: var(--theme-muted) !important;
}
html[data-theme] body[data-theme-page="SlpSubAreas-Edit"] .admin-status-row {
    background: var(--theme-overlay) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme] body[data-theme-page="SlpSubAreas-Edit"] .admin-status-copy strong {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="SlpSubAreas-Edit"] .admin-status-copy span {
    color: var(--theme-text) !important;
}

/* Areas/Admin/Views/SlpSubAreas/Index.cshtml */
html[data-theme] body[data-theme-page="SlpSubAreas-Index"] .table-admin.table-bright thead th,
html[data-theme] body[data-theme-page="SlpSubAreas-Index"] .table-admin.table-bright tbody td {
    color: var(--theme-text) !important;
    border-color: var(--theme-border) !important;
}
html[data-theme] body[data-theme-page="SlpSubAreas-Index"] .table-admin.table-bright thead th {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="SlpSubAreas-Index"] .table-admin.table-bright tbody tr {
    background: var(--theme-surface) !important;
}
html[data-theme] body[data-theme-page="SlpSubAreas-Index"] .table-admin.table-bright tbody tr:nth-child(even) {
    background: var(--theme-surface) !important;
}
html[data-theme] body[data-theme-page="SlpSubAreas-Index"] .table-admin.table-bright tbody tr:hover {
    background: var(--theme-soft) !important;
}
html[data-theme] body[data-theme-page="SlpSubAreas-Index"] .sub-id {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="SlpSubAreas-Index"] .sub-name {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="SlpSubAreas-Index"] .case-pill {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="SlpSubAreas-Index"] .sort-input {
    background: var(--theme-surface) !important;
    border: 1px solid var(--theme-border) !important;
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="SlpSubAreas-Index"] .sort-input:focus {
    background: var(--theme-surface) !important;
    color: var(--theme-text) !important;
}
html[data-theme="light"] body[data-theme-page="SlpSubAreas-Index"] .status-pill.status-active {
    color: #15a248 !important;
}
html[data-theme] body[data-theme-page="SlpSubAreas-Index"] .status-pill.status-hidden {
    background: var(--theme-overlay) !important;
    color: var(--theme-text) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme] body[data-theme-page="SlpSubAreas-Index"] .btn-action.btn-manage {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="SlpSubAreas-Index"] .btn-action.btn-ghost {
    background: var(--theme-overlay) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme] body[data-theme-page="SlpSubAreas-Index"] .sub-count {
    color: var(--theme-text) !important;
}

/* Areas/Admin/Views/UserActivity/_DevelopmentToggle.cshtml */
html[data-theme] body[data-theme-page^="UserActivity-"] .development-toggle label {
    border: 1px solid var(--theme-border) !important;
    background: var(--theme-surface) !important;
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page^="UserActivity-"] .development-toggle .form-check-input:focus-visible {
    outline: 2px solid var(--theme-border) !important;
}

/* Areas/Admin/Views/UserActivity/Details.cshtml */
html[data-theme] body[data-theme-page="UserActivity-Details"] .activity-card .table-admin thead.thead-admin th {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="UserActivity-Details"] .activity-toolbar {
    background: linear-gradient(180deg, var(--theme-overlay), var(--theme-overlay)) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme] body[data-theme-page="UserActivity-Details"] .activity-toolbar .input-search,
html[data-theme] body[data-theme-page="UserActivity-Details"] .activity-toolbar .form-select {
    background: var(--theme-surface) !important;
    border: 1px solid var(--theme-border) !important;
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="UserActivity-Details"] .activity-toolbar .input-search::placeholder {
    color: var(--theme-muted) !important;
}
html[data-theme] body[data-theme-page="UserActivity-Details"] .activity-toolbar .input-search:focus,
html[data-theme] body[data-theme-page="UserActivity-Details"] .activity-toolbar .form-select:focus {
    background: var(--theme-surface) !important;
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="UserActivity-Details"] .activity-toolbar .form-select option {
    color: var(--theme-text) !important;
    background: var(--theme-surface) !important;
}
html[data-theme] body[data-theme-page="UserActivity-Details"] .activity-card {
    background: linear-gradient(180deg, var(--theme-overlay), var(--theme-overlay)) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme] body[data-theme-page="UserActivity-Details"] .activity-muted {
    color: var(--theme-muted) !important;
}
html[data-theme] body[data-theme-page="UserActivity-Details"] .activity-title {
    color: var(--theme-text) !important;
}
html[data-theme="light"] body[data-theme-page="UserActivity-Details"] .activity-type--login {
    color: #0099b8 !important;
}
html[data-theme="light"] body[data-theme-page="UserActivity-Details"] .activity-type--created {
    color: #15a248 !important;
}
html[data-theme="light"] body[data-theme-page="UserActivity-Details"] .activity-type--edited {
    color: #b59103 !important;
}
html[data-theme="light"] body[data-theme-page="UserActivity-Details"] .activity-type--archived {
    color: #b4041a !important;
}
html[data-theme] body[data-theme-page="UserActivity-Details"] .activity-type--default {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="UserActivity-Details"] .activity-card .table-admin tbody td {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="UserActivity-Details"] .activity-card .table-admin tbody tr {
    background: var(--theme-surface) !important;
}
html[data-theme] body[data-theme-page="UserActivity-Details"] .activity-card .table-admin tbody tr:nth-child(even) {
    background: var(--theme-surface) !important;
}
html[data-theme] body[data-theme-page="UserActivity-Details"] .activity-card .table-admin tbody tr:hover {
    background: var(--theme-soft) !important;
}
html[data-theme="light"] body[data-theme-page="UserActivity-Details"] .activity-entity {
    color: #b59103 !important;
}
html[data-theme] body[data-theme-page="UserActivity-Details"] .activity-ip {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="UserActivity-Details"] .activity-filter-label {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="UserActivity-Details"] .activity-filter-summary {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="UserActivity-Details"] .activity-filter-summary strong {
    color: var(--theme-text) !important;
}

/* Areas/Admin/Views/UserActivity/Index.cshtml */
html[data-theme] body[data-theme-page="UserActivity-Index"] .activity-card .table-admin thead.thead-admin th {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="UserActivity-Index"] .activity-toolbar {
    background: linear-gradient(180deg, var(--theme-overlay), var(--theme-overlay)) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme] body[data-theme-page="UserActivity-Index"] .activity-toolbar .input-search,
html[data-theme] body[data-theme-page="UserActivity-Index"] .activity-toolbar .form-select {
    background: var(--theme-surface) !important;
    border: 1px solid var(--theme-border) !important;
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="UserActivity-Index"] .activity-toolbar .input-search::placeholder {
    color: var(--theme-muted) !important;
}
html[data-theme] body[data-theme-page="UserActivity-Index"] .activity-toolbar .input-search:focus,
html[data-theme] body[data-theme-page="UserActivity-Index"] .activity-toolbar .form-select:focus {
    background: var(--theme-surface) !important;
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="UserActivity-Index"] .activity-toolbar .form-select option {
    color: var(--theme-text) !important;
    background: var(--theme-surface) !important;
}
html[data-theme] body[data-theme-page="UserActivity-Index"] .activity-card {
    background: linear-gradient(180deg, var(--theme-overlay), var(--theme-overlay)) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme] body[data-theme-page="UserActivity-Index"] .activity-muted {
    color: var(--theme-muted) !important;
}
html[data-theme] body[data-theme-page="UserActivity-Index"] .activity-title {
    color: var(--theme-text) !important;
}
html[data-theme="light"] body[data-theme-page="UserActivity-Index"] .activity-pill {
    color: #0099b8 !important;
}
html[data-theme="light"] body[data-theme-page="UserActivity-Index"] .activity-pill.staff {
    color: #b59103 !important;
}
html[data-theme="light"] body[data-theme-page="UserActivity-Index"] .activity-count {
    color: #15a248 !important;
}
html[data-theme] body[data-theme-page="UserActivity-Index"] .activity-card .table-admin tbody td {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="UserActivity-Index"] .activity-card .table-admin tbody tr {
    background: var(--theme-surface) !important;
}
html[data-theme] body[data-theme-page="UserActivity-Index"] .activity-card .table-admin tbody tr:nth-child(even) {
    background: var(--theme-surface) !important;
}
html[data-theme] body[data-theme-page="UserActivity-Index"] .activity-card .table-admin tbody tr:hover {
    background: var(--theme-soft) !important;
}

/* Areas/Admin/Views/UserProfiles/Index.cshtml */
html[data-theme] body[data-theme-page="UserProfiles-Index"] .user-directory-table thead.thead-admin th {
    color: var(--theme-text) !important;
}

/* Areas/Admin/Views/Users/Index.cshtml */
html[data-theme] body[data-theme-page="Users-Index"] .btn-quiet {
    color: var(--theme-text) !important;
    background: var(--theme-overlay) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme] body[data-theme-page="Users-Index"] .btn-quiet:hover {
    background: var(--theme-overlay) !important;
}
html[data-theme] body[data-theme-page="Users-Index"] .users-panel {
    background: linear-gradient(180deg, var(--theme-overlay), var(--theme-overlay)) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme] body[data-theme-page="Users-Index"] .users-panel-head {
    border-bottom: 1px solid var(--theme-border) !important;
    background: linear-gradient(180deg, var(--theme-overlay), var(--theme-overlay)) !important;
}
html[data-theme] body[data-theme-page="Users-Index"] .users-panel-title {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="Users-Index"] .users-panel-note {
    color: var(--theme-muted) !important;
}
html[data-theme] body[data-theme-page="Users-Index"] .file-pick::file-selector-button,
html[data-theme] body[data-theme-page="Users-Index"] .file-pick::-webkit-file-upload-button {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="Users-Index"] .users-panel-tools {
    border-bottom: 1px solid var(--theme-border) !important;
    background: var(--theme-overlay) !important;
}
html[data-theme] body[data-theme-page="Users-Index"] .table-admin {
    --row-text: var(--theme-text) !important;
    --muted-text: var(--theme-muted) !important;
}
html[data-theme] body[data-theme-page="Users-Index"] .table-admin tbody tr {
    background: var(--theme-surface) !important;
}
html[data-theme] body[data-theme-page="Users-Index"] .table-admin tbody tr:nth-child(even) {
    background: var(--theme-surface) !important;
}
html[data-theme] body[data-theme-page="Users-Index"] .table-admin tbody tr:hover {
    background: var(--theme-soft) !important;
}
html[data-theme] body[data-theme-page="Users-Index"] .user-name {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="Users-Index"] .user-meta {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="Users-Index"] .programme-pill {
    background: var(--theme-overlay) !important;
    border: 1px solid var(--theme-border) !important;
    color: var(--theme-text) !important;
}
html[data-theme="light"] body[data-theme-page="Users-Index"] .programme-pill.programme-slp {
    color: #0099b8 !important;
}
html[data-theme] body[data-theme-page="Users-Index"] .programme-pill.programme-nursing {
    color: var(--theme-text) !important;
}
html[data-theme="light"] body[data-theme-page="Users-Index"] .programme-pill.programme-both {
    color: #b59103 !important;
}
html[data-theme] body[data-theme-page="Users-Index"] .role-pill {
    background: var(--theme-overlay) !important;
    border: 1px solid var(--theme-border) !important;
    color: var(--theme-text) !important;
}
html[data-theme="light"] body[data-theme-page="Users-Index"] .status-pill.status-active {
    color: #15a248 !important;
}
html[data-theme] body[data-theme-page="Users-Index"] .status-pill.status-archived {
    background: var(--theme-overlay) !important;
    color: var(--theme-text) !important;
    border: 1px solid var(--theme-border) !important;
}
html[data-theme] body[data-theme-page="Users-Index"] .btn-action.btn-manage {
    color: var(--theme-text) !important;
}
html[data-theme] body[data-theme-page="Users-Index"] .btn-action.btn-ghost {
    background: var(--theme-overlay) !important;
    border: 1px solid var(--theme-border) !important;
}
