/* VULALA appearance controls and semantic dark surfaces. */
.appearance-control{display:inline-flex;align-items:center;gap:7px;font:12px/1.4 Inter,Arial,sans-serif;color:#607267}.appearance-control select{border:1px solid #d6e1d9;background:#fff;color:#294632;border-radius:9px;padding:7px 9px;min-width:80px;cursor:pointer}.appearance-login{display:flex;justify-content:flex-end;margin-bottom:20px}@media(max-width:640px){.appearance-label{display:none}.appearance-control select{padding:6px;min-width:72px}}
html[data-theme="dark"]{color-scheme:dark;--ink:var(--ui-text);--muted:var(--ui-muted);--line:var(--ui-border);--border:var(--ui-border);--surface:var(--ui-surface);--paper:var(--ui-surface)}
html[data-theme="dark"] body{background:var(--ui-background)!important;color:var(--ui-text)!important}
html[data-theme="dark"] .appearance-control{color:var(--ui-muted)!important}html[data-theme="dark"] .appearance-control select{background:var(--ui-raised)!important;border-color:var(--ui-border)!important;color:var(--ui-text)!important}
html[data-theme="dark"] :is(input,textarea,select){color-scheme:dark}html[data-theme="dark"] :is(input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=range]):not([type=submit]),textarea,select){background-color:var(--ui-raised)!important;color:var(--ui-text)!important;border-color:var(--ui-border)!important}
html[data-theme="dark"] :is(input,textarea)::placeholder{color:var(--ui-muted)!important}
html[data-theme="dark"] [class*="bg-white"]{background-color:var(--ui-surface)!important}
html[data-theme="dark"] :is(.bg-slate-50,.bg-slate-100,.bg-gray-50,.bg-gray-100,.bg-stone-50,.bg-stone-100){background-color:var(--ui-raised)!important}
html[data-theme="dark"] :is(.text-slate-900,.text-slate-800,.text-slate-700,.text-gray-900,.text-gray-800,.text-ink){color:var(--ui-text)!important}
html[data-theme="dark"] :is(.text-slate-600,.text-slate-500,.text-slate-400,.text-gray-500){color:var(--ui-muted)!important}
html[data-theme="dark"] :is(.border-slate-200,.border-slate-100,.border-gray-200,.divide-slate-100>*){border-color:var(--ui-border)!important}
html[data-theme="dark"] :is(.text-teal-700,.text-emerald-700,.text-green-700){color:var(--ui-link)!important}
@media print{html[data-theme="dark"] body{background:#fff!important;color:var(--ui-surface)!important}.appearance-control{display:none!important}}

html[data-theme="dark"] .admin-input{background:var(--ui-surface)!important}
html[data-theme="dark"] .settings-nav-btn.is-active{color:var(--ui-link)!important}
html[data-theme="dark"] .admin-theme{background:var(--ui-surface)!important;color:var(--ui-text)!important}
html[data-theme="dark"] .admin-theme .sidebar-nav-link.is-active{background:var(--ui-surface)!important;color:var(--ui-text)!important}
html[data-theme="dark"] .admin-theme .sidebar-nav-link.is-active .sidebar-icon-wrap{background:var(--ui-raised)!important;color:var(--ui-text)!important}
html[data-theme="dark"] .admin-theme .admin-topbar h1{color:var(--ui-text)!important}
html[data-theme="dark"] .admin-theme .text-slate-400{color:var(--ui-muted)!important}
html[data-theme="dark"] .admin-theme .admin-card{border-color:var(--ui-border)!important}
html[data-theme="dark"] .admin-theme .admin-card h3{color:var(--ui-text)!important}
html[data-theme="dark"] .dashboard-eyebrow{color:var(--ui-muted)!important}
html[data-theme="dark"] .dashboard-heading h2{color:var(--ui-text)!important}
html[data-theme="dark"] .dashboard-heading p{color:var(--ui-muted)!important}
html[data-theme="dark"] .dashboard-report-link{border:1px solid var(--ui-border)!important;color:var(--ui-text)!important;background:var(--ui-surface)!important}
html[data-theme="dark"] .dashboard-report-link:hover{background:var(--ui-surface)!important}
html[data-theme="dark"] .welcome-date>span{color:var(--ui-link)!important}
html[data-theme="dark"] .dashboard-actions-title{color:var(--ui-muted)!important}
html[data-theme="dark"] .dashboard-actions>a{background:var(--ui-surface)!important;border:1px solid var(--ui-border)!important;color:var(--ui-text)!important}
html[data-theme="dark"] .dashboard-actions>a:hover{background:var(--ui-surface)!important;border-color:var(--ui-border)!important}
html[data-theme="dark"] .action-arrow{color:var(--ui-muted)!important}
html[data-theme="dark"] .action-count{background:var(--ui-raised)!important;color:var(--ui-link)!important}
html[data-theme="dark"] .dashboard-stat{border-color:var(--ui-border)!important}
html[data-theme="dark"] .dashboard-stat:after{background:var(--ui-raised)!important}
html[data-theme="dark"] .dashboard-stat .tnum{color:var(--ui-text)!important}
html[data-theme="dark"] .dashboard-view .text-coral{color:var(--ui-link)!important}
html[data-theme="dark"] .dashboard-view .text-slate-900{color:var(--ui-text)!important}
html[data-theme="dark"] .settings-page-heading>div>span,html[data-theme="dark"] .settings-section-intro>span{color:var(--ui-muted)!important}
html[data-theme="dark"] .settings-page-heading h2{color:var(--ui-text)!important}
html[data-theme="dark"] .settings-page-heading p,html[data-theme="dark"] .settings-section-intro>p{color:var(--ui-muted)!important}
html[data-theme="dark"] .settings-page-heading>a{border:1px solid var(--ui-border)!important;background:var(--ui-surface)!important;color:var(--ui-text)!important}
html[data-theme="dark"] .settings-workspace #settingsTabs{border-color:var(--ui-border)!important}
html[data-theme="dark"] .settings-workspace .settings-nav-btn{color:var(--ui-muted)!important}
html[data-theme="dark"] .settings-workspace .settings-nav-btn.is-active{color:var(--ui-text)!important;background:var(--ui-surface)!important}
html[data-theme="dark"] .settings-workspace .settings-nav-btn.is-active .settings-tab-icon{background:var(--ui-raised)!important;color:var(--ui-text)!important}
html[data-theme="dark"] .settings-workspace .settings-tab-icon{background:var(--ui-surface)!important;color:var(--ui-muted)!important}
html[data-theme="dark"] .settings-workspace .settings-nav-btn span.text-slate-400{color:var(--ui-muted)!important}
html[data-theme="dark"] .settings-workspace .settings-card{border-color:var(--ui-border)!important}
html[data-theme="dark"] .settings-workspace .settings-card input:not([type=checkbox]):not([type=radio]),html[data-theme="dark"] .settings-workspace .settings-card select,html[data-theme="dark"] .settings-workspace .settings-card textarea{background:var(--ui-surface)!important;border-color:var(--ui-border)!important}
html[data-theme="dark"] .settings-section-intro h2{color:var(--ui-text)!important}
html[data-theme="dark"] .settings-block-title{color:var(--ui-text)!important}
html[data-theme="dark"] .settings-block-note{color:var(--ui-muted)!important}
html[data-theme="dark"] .settings-preview-links a{color:var(--ui-text)!important;border:1px solid var(--ui-border)!important;background:var(--ui-surface)!important}
html[data-theme="dark"] .settings-preview-links span{color:var(--ui-muted)!important}
html[data-theme="dark"] .portal-photo-setting{border-top:1px solid var(--ui-border)!important}
html[data-theme="dark"] .portal-reset{color:var(--ui-muted)!important}
html[data-theme="dark"] .number-preview{background:var(--ui-surface)!important;border:1px solid var(--ui-border)!important}
html[data-theme="dark"] .number-preview>span{color:var(--ui-muted)!important}
html[data-theme="dark"] .number-preview strong{color:var(--ui-text)!important}
html[data-theme="dark"] .number-preview p{color:var(--ui-muted)!important}
html[data-theme="dark"] .settings-info-note{background:var(--ui-surface)!important;color:var(--ui-link)!important;border:1px solid var(--ui-border)!important}
html[data-theme="dark"] .settings-workspace form>div.sticky{border-color:var(--ui-border)!important}
html[data-theme="dark"] .settings-workspace .settings-card .text-brand{color:var(--ui-link)!important}
html[data-theme="dark"] .staff-eyebrow{color:var(--ui-muted)!important}
html[data-theme="dark"] .staff-heading h2{color:var(--ui-text)!important}
html[data-theme="dark"] .staff-heading p{color:var(--ui-muted)!important}
html[data-theme="dark"] .staff-secondary{background:var(--ui-surface)!important;color:var(--ui-text)!important;border:1px solid var(--ui-border)!important}
html[data-theme="dark"] .staff-secondary:hover{background:var(--ui-surface)!important}
html[data-theme="dark"] .staff-danger{background:var(--ui-surface)!important;border:1px solid var(--ui-border)!important;color:var(--ui-link)!important}
html[data-theme="dark"] .staff-danger:hover{background:var(--ui-surface)!important}
html[data-theme="dark"] .staff-metrics>div{background:var(--ui-surface)!important;border:1px solid var(--ui-border)!important}
html[data-theme="dark"] .staff-metrics>div:after{background:var(--ui-raised)!important}
html[data-theme="dark"] .staff-metrics span{color:var(--ui-muted)!important}
html[data-theme="dark"] .staff-metrics strong{color:var(--ui-text)!important}
html[data-theme="dark"] .staff-page-tabs{border-bottom:1px solid var(--ui-border)!important}
html[data-theme="dark"] .staff-page-tabs>a{color:var(--ui-muted)!important}
html[data-theme="dark"] .staff-page-tabs>a.selected{color:var(--ui-text)!important}
html[data-theme="dark"] .staff-page-tabs span{background:var(--ui-surface)!important;color:var(--ui-muted)!important}
html[data-theme="dark"] .staff-card{background:var(--ui-surface)!important;border:1px solid var(--ui-border)!important}
html[data-theme="dark"] .staff-card-heading{border-bottom:1px solid var(--ui-border)!important}
html[data-theme="dark"] .staff-card-heading h3,html[data-theme="dark"] .staff-role-intro h3{color:var(--ui-text)!important}
html[data-theme="dark"] .staff-card-heading p,html[data-theme="dark"] .staff-role-intro p{color:var(--ui-muted)!important}
html[data-theme="dark"] .staff-text-button{color:var(--ui-muted)!important}
html[data-theme="dark"] .staff-text-button:hover{color:var(--ui-link)!important}
html[data-theme="dark"] .staff-filters{background:var(--ui-surface)!important;border-bottom:1px solid var(--ui-border)!important}
html[data-theme="dark"] .staff-workspace .admin-input{border-color:var(--ui-border)!important;background:var(--ui-surface)!important}
html[data-theme="dark"] .staff-table th{color:var(--ui-muted)!important;background:var(--ui-surface)!important}
html[data-theme="dark"] .staff-table td{border-top:1px solid var(--ui-border)!important}
html[data-theme="dark"] .staff-table tbody tr:hover{background:var(--ui-surface)!important}
html[data-theme="dark"] .staff-avatar{background:var(--ui-surface)!important;color:var(--ui-text)!important}
html[data-theme="dark"] .staff-person strong{color:var(--ui-text)!important}
html[data-theme="dark"] .staff-person small{color:var(--ui-muted)!important;background:var(--ui-surface)!important}
html[data-theme="dark"] .staff-person>div>span{color:var(--ui-muted)!important}
html[data-theme="dark"] .staff-role-badge{background:var(--ui-surface)!important;color:var(--ui-muted)!important}
html[data-theme="dark"] .staff-role-badge.administrator{background:var(--ui-surface)!important;color:var(--ui-link)!important}
html[data-theme="dark"] .staff-cell-note{color:var(--ui-muted)!important}
html[data-theme="dark"] .staff-status{color:var(--ui-muted)!important}
html[data-theme="dark"] .staff-status:before{background:var(--ui-raised)!important}
html[data-theme="dark"] .staff-status.active{color:var(--ui-muted)!important}
html[data-theme="dark"] .staff-last-login{color:var(--ui-muted)!important}
html[data-theme="dark"] .staff-empty{color:var(--ui-muted)!important}
html[data-theme="dark"] .staff-field-grid label{color:var(--ui-text)!important}
html[data-theme="dark"] .staff-field-grid p,html[data-theme="dark"] .staff-muted{color:var(--ui-muted)!important}
html[data-theme="dark"] .staff-form-actions{border-top:1px solid var(--ui-border)!important}
html[data-theme="dark"] .staff-admin-notice{background:var(--ui-surface)!important;border:1px solid var(--ui-border)!important;color:var(--ui-link)!important}
html[data-theme="dark"] .staff-role-intro{background:var(--ui-surface)!important;border:1px solid var(--ui-border)!important}
html[data-theme="dark"] .builtin-role-grid>div{background:var(--ui-surface)!important;border:1px solid var(--ui-border)!important}
html[data-theme="dark"] .builtin-role-grid h4{color:var(--ui-text)!important}
html[data-theme="dark"] .builtin-role-grid p{color:var(--ui-muted)!important}
html[data-theme="dark"] .staff-base-label{color:var(--ui-link)!important}
html[data-theme="dark"] .custom-role summary h3{color:var(--ui-text)!important}
html[data-theme="dark"] .custom-role summary p{color:var(--ui-muted)!important}
html[data-theme="dark"] .custom-role[open] summary{border-bottom:1px solid var(--ui-border)!important}
html[data-theme="dark"] .staff-permission-heading h4{color:var(--ui-text)!important}
html[data-theme="dark"] .permission-grid>label{border:1px solid var(--ui-border)!important;color:var(--ui-muted)!important;background:var(--ui-surface)!important}
html[data-theme="dark"] .permission-grid>label:has(input:checked){background:var(--ui-surface)!important;border-color:var(--ui-border)!important}
html[data-theme="dark"] .permission-grid>label.unavailable{background:var(--ui-surface)!important}
html[data-theme="dark"] .staff-readonly{color:var(--ui-muted)!important}
html[data-theme="dark"] .staff-readonly span{color:var(--ui-muted)!important}
html[data-theme="dark"] .staff-security-actions{border-bottom:1px solid var(--ui-border)!important}
html[data-theme="dark"] .staff-security-actions h4{color:var(--ui-text)!important}
html[data-theme="dark"] .staff-security-actions p{color:var(--ui-muted)!important}
html[data-theme="dark"] .branch-network-banner>div:nth-child(2)>span{color:var(--ui-link)!important}
html[data-theme="dark"] .branch-directory-heading h3{color:var(--ui-text)!important}
html[data-theme="dark"] .branch-directory-heading p{color:var(--ui-muted)!important}
html[data-theme="dark"] .branch-directory-heading>span{color:var(--ui-muted)!important;border:1px solid var(--ui-border)!important;background:var(--ui-surface)!important}
html[data-theme="dark"] .branch-location-card{border:1px solid var(--ui-border)!important;background:var(--ui-surface)!important}
html[data-theme="dark"] .branch-location-card:hover{border-color:var(--ui-border)!important}
html[data-theme="dark"] .branch-location-monogram{border:1px solid var(--ui-border)!important;background:var(--ui-surface)!important;color:var(--ui-muted)!important}
html[data-theme="dark"] .branch-location-card h4{color:var(--ui-text)!important}
html[data-theme="dark"] .branch-code{color:var(--ui-link)!important;background:var(--ui-surface)!important}
html[data-theme="dark"] .branch-contact-list>div{color:var(--ui-muted)!important}
html[data-theme="dark"] .branch-contact-list svg,html[data-theme="dark"] .branch-contact-icon{color:var(--ui-muted)!important}
html[data-theme="dark"] .branch-contact-list a{color:var(--ui-muted)!important}
html[data-theme="dark"] .branch-location-footer{border-top:1px solid var(--ui-border)!important}
html[data-theme="dark"] .branch-location-footer strong{color:var(--ui-text)!important}
html[data-theme="dark"] .branch-location-footer span{color:var(--ui-muted)!important}
html[data-theme="dark"] .branch-create-card{border:1px solid var(--ui-border)!important;background:var(--ui-surface)!important}
html[data-theme="dark"] .branch-create-header{background:var(--ui-surface)!important;border-bottom:1px solid var(--ui-border)!important}
html[data-theme="dark"] .branch-create-header h3{color:var(--ui-text)!important}
html[data-theme="dark"] .branch-create-header p{color:var(--ui-muted)!important}
html[data-theme="dark"] .branch-field>label{color:var(--ui-muted)!important}
html[data-theme="dark"] .branch-field>label>span{color:var(--ui-muted)!important}
html[data-theme="dark"] .branch-field .admin-input{background:var(--ui-surface)!important;border-color:var(--ui-border)!important}
html[data-theme="dark"] .branch-field .admin-input::placeholder{color:var(--ui-muted)!important}
html[data-theme="dark"] .branch-field .admin-input:focus{border-color:var(--ui-border)!important}
html[data-theme="dark"] .branch-field-hint{color:var(--ui-muted)!important}
html[data-theme="dark"] .branch-field-error{color:var(--ui-link)!important}
html[data-theme="dark"] .branch-field [aria-invalid=true]{border-color:var(--ui-border)!important}
html[data-theme="dark"] .branch-create-note{color:var(--ui-muted)!important}
html[data-theme="dark"] .branch-directory-note{color:var(--ui-muted)!important}
html[data-theme="dark"] .branch-directory-note>span{background:var(--ui-raised)!important}
html[data-theme="dark"] .branch-empty{background:var(--ui-surface)!important;border:1px dashed var(--ui-border)!important}
html[data-theme="dark"] .branch-empty h4{color:var(--ui-text)!important}
html[data-theme="dark"] .branch-empty p{color:var(--ui-muted)!important}
html[data-theme="dark"] .comms-banner .staff-eyebrow{color:var(--ui-link)!important}
html[data-theme="dark"] .comms-channel{background:var(--ui-surface)!important;color:var(--ui-muted)!important}
html[data-theme="dark"] .comms-field>label{color:var(--ui-text)!important}
html[data-theme="dark"] .comms-field>label>span{color:var(--ui-muted)!important}
html[data-theme="dark"] .comms-field .admin-input{background:var(--ui-surface)!important;border-color:var(--ui-border)!important}
html[data-theme="dark"] .comms-field .admin-input::placeholder{color:var(--ui-muted)!important}
html[data-theme="dark"] .comms-field .admin-input:focus{border-color:var(--ui-border)!important}
html[data-theme="dark"] .comms-field>p,html[data-theme="dark"] .comms-message-hint{color:var(--ui-muted)!important}
html[data-theme="dark"] .comms-message-hint>span:last-child{color:var(--ui-muted)!important}
html[data-theme="dark"] .comms-send-note{border:1px solid var(--ui-border)!important;background:var(--ui-surface)!important}
html[data-theme="dark"] .comms-send-note svg{color:var(--ui-link)!important}
html[data-theme="dark"] .comms-send-note p{color:var(--ui-link)!important}
html[data-theme="dark"] .comms-preview-card{border:1px solid var(--ui-border)!important;background:var(--ui-surface)!important}
html[data-theme="dark"] .comms-preview-heading h3{color:var(--ui-text)!important}
html[data-theme="dark"] .comms-preview-heading>span{color:var(--ui-muted)!important;border:1px solid var(--ui-border)!important}
html[data-theme="dark"] .comms-preview-inbox{background:var(--ui-surface)!important;border:1px solid var(--ui-border)!important}
html[data-theme="dark"] .comms-inbox-heading{border-bottom:1px solid var(--ui-border)!important;color:var(--ui-muted)!important}
html[data-theme="dark"] .comms-inbox-heading svg{color:var(--ui-muted)!important}
html[data-theme="dark"] .comms-preview-message h4{color:var(--ui-text)!important}
html[data-theme="dark"] .comms-preview-message>p{color:var(--ui-muted)!important}
html[data-theme="dark"] .comms-preview-message footer{color:var(--ui-muted)!important;border-top:1px solid var(--ui-border)!important}
html[data-theme="dark"] .comms-writing-tips>div>span{color:var(--ui-link)!important;background:var(--ui-surface)!important;border:1px solid var(--ui-border)!important}
html[data-theme="dark"] .comms-writing-tips p{color:var(--ui-muted)!important}
html[data-theme="dark"] .comms-history-item{border-bottom:1px solid var(--ui-border)!important}
html[data-theme="dark"] .comms-history-item:hover{background:var(--ui-surface)!important}
html[data-theme="dark"] .comms-history-avatar{background:var(--ui-surface)!important;border:1px solid var(--ui-border)!important;color:var(--ui-muted)!important}
html[data-theme="dark"] .comms-history-title h4{color:var(--ui-text)!important}
html[data-theme="dark"] .comms-type{background:var(--ui-surface)!important;color:var(--ui-link)!important}
html[data-theme="dark"] .comms-type.is-alert{background:var(--ui-surface)!important;color:var(--ui-link)!important}
html[data-theme="dark"] .comms-history-content>p{color:var(--ui-muted)!important}
html[data-theme="dark"] .comms-history-content footer{color:var(--ui-muted)!important}
html[data-theme="dark"] .comms-history-content footer strong{color:var(--ui-muted)!important}
html[data-theme="dark"] .comms-history-dot{background:var(--ui-raised)!important}
html[data-theme="dark"] .comms-empty h4{color:var(--ui-muted)!important}
html[data-theme="dark"] .comms-empty p{color:var(--ui-muted)!important}
html[data-theme="dark"] .reports-banner>div:first-child>span,html[data-theme="dark"] .reports-asof>span{color:var(--ui-link)!important}
html[data-theme="dark"] .reports-workspace .report-stat{border-color:var(--ui-border)!important}
html[data-theme="dark"] .reports-workspace .report-stat .tnum{color:var(--ui-text)!important}
html[data-theme="dark"] .reports-workspace .report-stat .text-slate-400{color:var(--ui-muted)!important}
html[data-theme="dark"] .reports-workspace .report-stat:after{background:var(--ui-raised)!important}
html[data-theme="dark"] .reports-workspace .admin-card{border-color:var(--ui-border)!important}
html[data-theme="dark"] .reports-workspace .admin-card h3{color:var(--ui-text)!important}
html[data-theme="dark"] .reports-workspace .admin-card .text-slate-400{color:var(--ui-muted)!important}
html[data-theme="dark"] .reports-workspace .admin-card>a,html[data-theme="dark"] .reports-workspace .admin-card .lift{border-color:var(--ui-border)!important;background:var(--ui-surface)!important}
html[data-theme="dark"] .reports-workspace .admin-card .lift:hover{background:var(--ui-surface)!important;border-color:var(--ui-border)!important}
html[data-theme="dark"] .reports-workspace .admin-card .lift>span{background:var(--ui-surface)!important;color:var(--ui-muted)!important}
html[data-theme="dark"] .reports-workspace .admin-card .lift .font-semibold{color:var(--ui-muted)!important}
html[data-theme="dark"] .members-welcome>div:first-child>span{color:var(--ui-link)!important}
html[data-theme="dark"] .members-workspace .member-stat{border-color:var(--ui-border)!important}
html[data-theme="dark"] .members-workspace .member-stat .tnum{color:var(--ui-text)!important}
html[data-theme="dark"] .members-workspace .member-stat:after{background:var(--ui-raised)!important}
html[data-theme="dark"] .members-workspace .admin-card{border-color:var(--ui-border)!important}
html[data-theme="dark"] .members-workspace .admin-card h3{color:var(--ui-text)!important}
html[data-theme="dark"] .members-workspace .text-slate-400{color:var(--ui-muted)!important}
html[data-theme="dark"] .members-workspace .member-status-tabs>div{background:var(--ui-surface)!important}
html[data-theme="dark"] .members-workspace .member-status-tabs a{color:var(--ui-muted)!important}
html[data-theme="dark"] .members-workspace .member-status-tabs a.bg-brand{color:var(--ui-text)!important}
html[data-theme="dark"] .members-workspace .member-status-tabs a.bg-brand span{color:var(--ui-muted)!important}
html[data-theme="dark"] .members-workspace .member-status-tabs a:hover{background:var(--ui-surface)!important}
html[data-theme="dark"] .members-workspace .member-status-tabs a>span{background:var(--ui-surface)!important;color:var(--ui-muted)!important}
html[data-theme="dark"] .members-workspace .member-filters{background:var(--ui-surface)!important;border-color:var(--ui-border)!important}
html[data-theme="dark"] .members-workspace .admin-input{background:var(--ui-surface)!important;border-color:var(--ui-border)!important}
html[data-theme="dark"] .members-workspace .admin-input:focus{border-color:var(--ui-border)!important}
html[data-theme="dark"] .members-workspace .admin-input::placeholder{color:var(--ui-muted)!important}
html[data-theme="dark"] .members-workspace .member-filters .admin-input{background:var(--ui-surface)!important}
html[data-theme="dark"] .members-workspace .admin-table th{color:var(--ui-muted)!important;background:var(--ui-surface)!important}
html[data-theme="dark"] .members-workspace .admin-table td{border-color:var(--ui-border)!important;color:var(--ui-muted)!important}
html[data-theme="dark"] .members-workspace .admin-table tr:hover{background:var(--ui-surface)!important}
html[data-theme="dark"] .members-workspace .admin-table .font-semibold{color:var(--ui-text)!important}
html[data-theme="dark"] .members-workspace .admin-table td:first-child .w-10:not(img){background:var(--ui-surface)!important;color:var(--ui-muted)!important}
html[data-theme="dark"] .member-reference{color:var(--ui-muted)!important}
html[data-theme="dark"] .member-service-line{color:var(--ui-muted)!important}
html[data-theme="dark"] .members-workspace .admin-table .text-slate-600{color:var(--ui-muted)!important}
html[data-theme="dark"] .member-form-heading h2{color:var(--ui-text)!important}
html[data-theme="dark"] .member-form-heading p{color:var(--ui-muted)!important}
html[data-theme="dark"] .member-detail-workspace>form>.bg-white,html[data-theme="dark"] .member-detail-workspace>.bg-white{border-color:var(--ui-border)!important}
html[data-theme="dark"] .member-detail-workspace form>.bg-white>div:first-child{background:var(--ui-surface)!important;border-color:var(--ui-border)!important}
html[data-theme="dark"] .member-detail-workspace form label{color:var(--ui-muted)!important}
html[data-theme="dark"] .member-detail-workspace .admin-card h3{color:var(--ui-text)!important}
html[data-theme="dark"] .members-workspace .admin-card>div.md\:hidden{background:var(--ui-surface)!important}
html[data-theme="dark"] .members-workspace .admin-card>div.md\:hidden>div{border-color:var(--ui-border)!important}
html[data-theme="dark"] .member-editor-page .member-form-heading h2{color:var(--ui-text)!important}
html[data-theme="dark"] .member-editor-guide{background:var(--ui-surface)!important;border:1px solid var(--ui-border)!important}
html[data-theme="dark"] .member-guide-title .staff-eyebrow{color:var(--ui-link)!important}
html[data-theme="dark"] .member-editor-guide nav a{color:var(--ui-muted)!important}
html[data-theme="dark"] .member-editor-guide nav a:hover,html[data-theme="dark"] .member-editor-guide nav a:focus{background:var(--ui-surface)!important}
html[data-theme="dark"] .member-editor-guide nav a>span{background:var(--ui-surface)!important;color:var(--ui-muted)!important}
html[data-theme="dark"] .member-guide-note{border-top:1px solid var(--ui-border)!important;background:var(--ui-surface)!important}
html[data-theme="dark"] .member-guide-note>span{color:var(--ui-link)!important}
html[data-theme="dark"] .member-guide-note p{color:var(--ui-muted)!important}
html[data-theme="dark"] .member-editor-section{border-color:var(--ui-border)!important}
html[data-theme="dark"] .member-editor-section:target{border-color:var(--ui-border)!important}
html[data-theme="dark"] .member-editor-section>div:first-child{background:var(--ui-surface)!important;border-bottom:1px solid var(--ui-border)!important}
html[data-theme="dark"] .member-editor-section>div:first-child h2{color:var(--ui-text)!important}
html[data-theme="dark"] .member-editor-section>div:first-child p{color:var(--ui-muted)!important}
html[data-theme="dark"] .member-editor-section>div:first-child>div:first-child{background:var(--ui-surface)!important;color:var(--ui-muted)!important}
html[data-theme="dark"] .member-editor-section label{color:var(--ui-muted)!important}
html[data-theme="dark"] .member-editor-section .admin-input{border:1px solid var(--ui-border)!important;background:var(--ui-surface)!important;color:var(--ui-text)!important}
html[data-theme="dark"] .member-editor-section .admin-input:focus{border-color:var(--ui-border)!important}
html[data-theme="dark"] .member-editor-section input::file-selector-button{background:var(--ui-surface)!important;color:var(--ui-muted)!important}
html[data-theme="dark"] .member-editor-section .text-xs{color:var(--ui-muted)!important}
html[data-theme="dark"] .member-editor-actions{border:1px solid var(--ui-border)!important}
html[data-theme="dark"] .member-editor-actions>a{background:var(--ui-surface)!important;border-color:var(--ui-border)!important;color:var(--ui-muted)!important}
html[data-theme="dark"] .profile-page-heading h2{color:var(--ui-text)!important}
html[data-theme="dark"] .profile-page-heading>span{color:var(--ui-muted)!important}
html[data-theme="dark"] .profile-identity-card{background:var(--ui-surface)!important;border:1px solid var(--ui-border)!important}
html[data-theme="dark"] .profile-identity-ribbon>span:first-child{color:var(--ui-link)!important}
html[data-theme="dark"] .profile-portrait{border:1px solid var(--ui-border)!important;background:var(--ui-surface)!important}
html[data-theme="dark"] .profile-portrait>span{color:var(--ui-muted)!important}
html[data-theme="dark"] .profile-person h2{color:var(--ui-text)!important}
html[data-theme="dark"] .profile-person p{color:var(--ui-muted)!important}
html[data-theme="dark"] .profile-identity-badges .admin-badge{background:var(--ui-surface)!important;color:var(--ui-muted)!important}
html[data-theme="dark"] .profile-id-state{color:var(--ui-link)!important;background:var(--ui-surface)!important}
html[data-theme="dark"] .profile-actions>a,html[data-theme="dark"] .profile-actions form>button{border:1px solid var(--ui-border)!important;background:var(--ui-surface)!important;color:var(--ui-muted)!important}
html[data-theme="dark"] .profile-actions>a:hover{background:var(--ui-surface)!important}
html[data-theme="dark"] .profile-actions form:last-child>button{background:var(--ui-surface)!important;border-color:var(--ui-border)!important;color:var(--ui-muted)!important}
html[data-theme="dark"] .profile-actions form:not(:last-child)>button{background:var(--ui-surface)!important;border-color:var(--ui-border)!important;color:var(--ui-link)!important}
html[data-theme="dark"] .profile-contact-strip{border-top:1px solid var(--ui-border)!important;background:var(--ui-surface)!important}
html[data-theme="dark"] .profile-contact-strip>div>span{color:var(--ui-muted)!important}
html[data-theme="dark"] .profile-contact-strip strong{color:var(--ui-muted)!important}
html[data-theme="dark"] .profile-section-nav{border-bottom:1px solid var(--ui-border)!important}
html[data-theme="dark"] .profile-section-nav a{color:var(--ui-muted)!important}
html[data-theme="dark"] .profile-section-nav a:hover,html[data-theme="dark"] .profile-section-nav a:focus{color:var(--ui-text)!important}
html[data-theme="dark"] .member-profile-page .profile-stat{border-color:var(--ui-border)!important}
html[data-theme="dark"] .profile-stat>div>span{background:var(--ui-surface)!important;color:var(--ui-muted)!important}
html[data-theme="dark"] .profile-stat .tnum{color:var(--ui-text)!important}
html[data-theme="dark"] .profile-stat .text-slate-400{color:var(--ui-muted)!important}
html[data-theme="dark"] .profile-stat:after{background:var(--ui-raised)!important}
html[data-theme="dark"] .member-profile-page .admin-card{border-color:var(--ui-border)!important}
html[data-theme="dark"] .member-profile-page .admin-card>div:first-child{background:var(--ui-surface)!important}
html[data-theme="dark"] .member-profile-page .admin-card>div:first-child h3{color:var(--ui-muted)!important}
html[data-theme="dark"] .member-profile-page .admin-card .text-slate-900{color:var(--ui-muted)!important}
html[data-theme="dark"] .member-profile-page .admin-card .text-slate-600,html[data-theme="dark"] .member-profile-page .admin-card .text-slate-500{color:var(--ui-muted)!important}
html[data-theme="dark"] .member-profile-page .admin-card dl dt{color:var(--ui-muted)!important}
html[data-theme="dark"] .member-profile-page .admin-card dl dd{color:var(--ui-muted)!important}
html[data-theme="dark"] .member-profile-page .admin-card form{border-color:var(--ui-border)!important;background:var(--ui-surface)!important}
html[data-theme="dark"] .finance-workspace{color:var(--ui-text)!important}
html[data-theme="dark"] .finance-workspace .staff-heading h2{color:var(--ui-text)!important}
html[data-theme="dark"] .finance-section-tabs a{color:var(--ui-muted)!important}
html[data-theme="dark"] .finance-section-tabs a.active,html[data-theme="dark"] .finance-section-tabs a[aria-current=page]{color:var(--ui-link)!important}
html[data-theme="dark"] .finance-section-tabs a:hover{background:var(--ui-surface)!important}
html[data-theme="dark"] .finance-section-tabs a span{background:var(--ui-surface)!important}
html[data-theme="dark"] .finance-stat .tnum{color:var(--ui-text)!important}
html[data-theme="dark"] .finance-stat .text-slate-400{color:var(--ui-muted)!important}
html[data-theme="dark"] .finance-stat>div>span{background:var(--ui-surface)!important;color:var(--ui-muted)!important}
html[data-theme="dark"] .finance-stat:after{background:var(--ui-raised)!important}
html[data-theme="dark"] .finance-workspace .admin-input,html[data-theme="dark"] .finance-workspace input:not([type=checkbox]):not([type=radio]):not([type=hidden]),html[data-theme="dark"] .finance-workspace select,html[data-theme="dark"] .finance-workspace textarea{border:1px solid var(--ui-border)!important;background:var(--ui-surface)!important;color:var(--ui-text)!important}
html[data-theme="dark"] .finance-workspace input:focus,html[data-theme="dark"] .finance-workspace select:focus,html[data-theme="dark"] .finance-workspace textarea:focus{border-color:var(--ui-border)!important}
html[data-theme="dark"] .finance-workspace input::placeholder,html[data-theme="dark"] .finance-workspace textarea::placeholder{color:var(--ui-muted)!important}
html[data-theme="dark"] .finance-workspace .finance-filters{background:var(--ui-surface)!important}
html[data-theme="dark"] .finance-workspace thead{background:var(--ui-surface)!important}
html[data-theme="dark"] .finance-workspace th{color:var(--ui-muted)!important;border-bottom:1px solid var(--ui-border)!important}
html[data-theme="dark"] .finance-workspace td{border-bottom:1px solid var(--ui-border)!important;color:var(--ui-text)!important}
html[data-theme="dark"] .finance-workspace tbody tr:hover{background:var(--ui-surface)!important}
html[data-theme="dark"] .finance-workspace td a{color:var(--ui-link)!important}
html[data-theme="dark"] .finance-request-stat{background:var(--ui-surface)!important}
html[data-theme="dark"] .finance-workspace .text-teal-700,html[data-theme="dark"] .finance-workspace .text-teal-800{color:var(--ui-link)!important}
html[data-theme="dark"] .operations-workspace>p{color:var(--ui-muted)!important}
html[data-theme="dark"] .operations-workspace h2:not(.staff-heading h2){color:var(--ui-text)!important}
html[data-theme="dark"] .operations-workspace label{color:var(--ui-text)!important}
html[data-theme="dark"] .operations-workspace button:not(.bg-teal-700){border-color:var(--ui-border)!important;background:var(--ui-surface)!important;color:var(--ui-text)!important}
html[data-theme="dark"] .operations-workspace button.text-red-700{color:var(--ui-link)!important;background:var(--ui-surface)!important;border-color:var(--ui-border)!important}
html[data-theme="dark"] .workflow-entry{border-top:3px solid var(--ui-border)!important}
html[data-theme="dark"] .workflow-entry form{border-top:1px solid var(--ui-border)!important}
html[data-theme="dark"] .workflow-entry form>p{background:var(--ui-surface)!important;color:var(--ui-muted)!important}
html[data-theme="dark"] .workflow-entry input::file-selector-button{background:var(--ui-surface)!important;color:var(--ui-text)!important}
html[data-theme="dark"] .workflow-register>form{background:var(--ui-surface)!important}
html[data-theme="dark"] .workflow-register article h3{color:var(--ui-text)!important}
html[data-theme="dark"] .workflow-register article>div:first-child>span{background:var(--ui-surface)!important;color:var(--ui-text)!important;border:1px solid var(--ui-border)!important}
html[data-theme="dark"] .workflow-register article dl{background:var(--ui-surface)!important;color:var(--ui-muted)!important}
html[data-theme="dark"] .workflow-register>div.text-center{background:linear-gradient(var(--ui-surface),var(--ui-surface))!important;color:var(--ui-muted)!important}
html[data-theme="dark"] .operations-workspace .grid>div.bg-white .font-bold{color:var(--ui-text)!important}
html[data-theme="dark"] .products-workspace form label{color:var(--ui-muted)!important}
html[data-theme="dark"] .finance-section-tabs a.selected{color:var(--ui-link)!important}
html[data-theme="dark"] .finance-workspace .finance-table-heading h2,html[data-theme="dark"] .finance-workspace .finance-table-heading h3{color:var(--ui-text)!important}
html[data-theme="dark"] .finance-workspace .finance-table-heading p{color:var(--ui-muted)!important}
html[data-theme="dark"] .workflow-register article.workflow-case{border:1px solid var(--ui-border)!important}
html[data-theme="dark"] .case-heading{background:var(--ui-surface)!important;border-bottom:1px solid var(--ui-border)!important}
html[data-theme="dark"] .case-reference{color:var(--ui-muted)!important}
html[data-theme="dark"] .case-reference span{color:var(--ui-muted)!important}
html[data-theme="dark"] .workflow-register .case-heading h3{color:var(--ui-text)!important}
html[data-theme="dark"] .case-status{background:var(--ui-surface)!important;color:var(--ui-link)!important;border:1px solid var(--ui-border)!important}
html[data-theme="dark"] .case-status-approved,html[data-theme="dark"] .case-status-resolved{color:var(--ui-link)!important;background:var(--ui-surface)!important;border-color:var(--ui-border)!important}
html[data-theme="dark"] .case-status-rejected{color:var(--ui-link)!important;background:var(--ui-surface)!important;border-color:var(--ui-border)!important}
html[data-theme="dark"] .case-avatar{background:var(--ui-surface)!important;border:1px solid var(--ui-border)!important;color:var(--ui-muted)!important}
html[data-theme="dark"] .case-member strong{color:var(--ui-text)!important}
html[data-theme="dark"] .case-member p{color:var(--ui-muted)!important}
html[data-theme="dark"] .case-member>a{color:var(--ui-link)!important}
html[data-theme="dark"] .case-balances{background:var(--ui-raised)!important;border:1px solid var(--ui-border)!important}
html[data-theme="dark"] .case-balances>div{background:var(--ui-surface)!important}
html[data-theme="dark"] .case-balances span{color:var(--ui-muted)!important}
html[data-theme="dark"] .case-balances strong{color:var(--ui-text)!important}
html[data-theme="dark"] .case-balances .case-amount{background:var(--ui-surface)!important}
html[data-theme="dark"] .case-balances .case-amount strong{color:var(--ui-link)!important}
html[data-theme="dark"] .case-label{color:var(--ui-muted)!important}
html[data-theme="dark"] .case-note p{color:var(--ui-muted)!important}
html[data-theme="dark"] .workflow-register article .case-details{background:var(--ui-surface)!important;border-left:3px solid var(--ui-border)!important}
html[data-theme="dark"] .workflow-register article .case-details dt{color:var(--ui-text)!important}
html[data-theme="dark"] .workflow-register article .case-details dd{color:var(--ui-muted)!important}
html[data-theme="dark"] .workflow-register article .case-decision,html[data-theme="dark"] .workflow-register article .case-followup{border-top:1px solid var(--ui-border)!important;background:var(--ui-surface)!important}
html[data-theme="dark"] .workflow-register article .case-decision{background:var(--ui-surface)!important}
html[data-theme="dark"] .case-action-heading p{color:var(--ui-muted)!important}
html[data-theme="dark"] .workflow-case label{color:var(--ui-muted)!important}
html[data-theme="dark"] .workflow-case .case-timeline{background:var(--ui-surface)!important}
html[data-theme="dark"] .case-timeline p{border-left:2px solid var(--ui-border)!important;color:var(--ui-muted)!important}
html[data-theme="dark"] .case-timeline strong{color:var(--ui-text)!important}
html[data-theme="dark"] .audit-stat>span{color:var(--ui-muted)!important}
html[data-theme="dark"] .audit-stat>strong{color:var(--ui-text)!important}
html[data-theme="dark"] .audit-stat>p{color:var(--ui-muted)!important}
html[data-theme="dark"] .audit-register{background:var(--ui-surface)!important;border:1px solid var(--ui-border)!important}
html[data-theme="dark"] .audit-register-heading{border-bottom:1px solid var(--ui-border)!important}
html[data-theme="dark"] .audit-register-heading h3{color:var(--ui-text)!important}
html[data-theme="dark"] .audit-register-heading p{color:var(--ui-muted)!important}
html[data-theme="dark"] .audit-record-count{background:var(--ui-surface)!important;color:var(--ui-muted)!important;border:1px solid var(--ui-border)!important}
html[data-theme="dark"] .audit-filters{background:var(--ui-surface)!important;border-bottom:1px solid var(--ui-border)!important}
html[data-theme="dark"] .audit-filters label{color:var(--ui-muted)!important}
html[data-theme="dark"] .audit-event-icon{background:var(--ui-surface)!important;color:var(--ui-muted)!important}
html[data-theme="dark"] .audit-event strong{color:var(--ui-text)!important}
html[data-theme="dark"] .audit-event div>span{color:var(--ui-muted)!important}
html[data-theme="dark"] .audit-actor>span{background:var(--ui-surface)!important;color:var(--ui-link)!important;border:1px solid var(--ui-border)!important}
html[data-theme="dark"] .audit-actor strong{color:var(--ui-muted)!important}
html[data-theme="dark"] .audit-table time strong{color:var(--ui-muted)!important}
html[data-theme="dark"] .audit-table time span{color:var(--ui-muted)!important}
html[data-theme="dark"] .audit-details summary{color:var(--ui-link)!important;border:1px solid var(--ui-border)!important;background:var(--ui-surface)!important}
html[data-theme="dark"] .audit-details p{background:var(--ui-surface)!important;border:1px solid var(--ui-border)!important;color:var(--ui-muted)!important}
html[data-theme="dark"] .audit-empty{background:var(--ui-surface)!important}
html[data-theme="dark"] .audit-empty>span{background:var(--ui-surface)!important;color:var(--ui-muted)!important}
html[data-theme="dark"] .audit-empty h3{color:var(--ui-muted)!important}
html[data-theme="dark"] .audit-empty p{color:var(--ui-muted)!important}
html[data-theme="dark"] .audit-footer{background:var(--ui-surface)!important;border-top:1px solid var(--ui-border)!important;color:var(--ui-muted)!important}
html[data-theme="dark"] .member-portal-theme{background:var(--ui-surface)!important;color:var(--ui-text)!important}
html[data-theme="dark"] .member-expanded-menu .p-navlink.is-active{background:var(--ui-raised)!important;color:var(--ui-text)!important}
html[data-theme="dark"] .member-expanded-menu .is-active .p-navicon{color:var(--ui-text)!important}
html[data-theme="dark"] .member-centre-notice{background:var(--ui-surface)!important;border:1px solid var(--ui-border)!important;color:var(--ui-link)!important}
html[data-theme="dark"] .member-centre-notice a{color:var(--ui-link)!important}
html[data-theme="dark"] .member-centre-card{background:var(--ui-surface)!important;border:1px solid var(--ui-border)!important}
html[data-theme="dark"] .member-centre-card h3,html[data-theme="dark"] .member-centre>.grid h2{color:var(--ui-text)!important}
html[data-theme="dark"] .member-centre-card p,html[data-theme="dark"] .member-centre>.grid p{color:var(--ui-muted)!important}
html[data-theme="dark"] .member-centre-kicker{color:var(--ui-link)!important}
html[data-theme="dark"] .member-centre-link{color:var(--ui-link)!important;border-bottom:1px solid var(--ui-border)!important}
html[data-theme="dark"] .member-centre small{color:var(--ui-muted)!important}
html[data-theme="dark"] .member-centre-card label{color:var(--ui-muted)!important}
html[data-theme="dark"] .member-centre input:not([type=hidden]),html[data-theme="dark"] .member-centre select,html[data-theme="dark"] .member-centre textarea{border:1px solid var(--ui-border)!important;background:var(--ui-surface)!important;color:var(--ui-text)!important}
html[data-theme="dark"] .member-centre input:focus,html[data-theme="dark"] .member-centre select:focus,html[data-theme="dark"] .member-centre textarea:focus{border-color:var(--ui-border)!important}
html[data-theme="dark"] .member-centre-card dl>div{border-bottom:1px solid var(--ui-border)!important}
html[data-theme="dark"] .member-centre-card dt{color:var(--ui-muted)!important}
html[data-theme="dark"] .member-centre-card dd{color:var(--ui-text)!important}
html[data-theme="dark"] .member-centre th{background:var(--ui-surface)!important;color:var(--ui-muted)!important}
html[data-theme="dark"] .member-centre td{border-bottom:1px solid var(--ui-border)!important;color:var(--ui-text)!important}
html[data-theme="dark"] .member-centre-badge{background:var(--ui-surface)!important;color:var(--ui-muted)!important;border:1px solid var(--ui-border)!important}
html[data-theme="dark"] .member-centre-list{border-bottom:1px solid var(--ui-border)!important}
html[data-theme="dark"] .member-centre-empty{color:var(--ui-muted)!important}
html[data-theme="dark"] .member-centre-card details{border-bottom:1px solid var(--ui-border)!important}
html[data-theme="dark"] .member-centre-card summary{color:var(--ui-text)!important}
html[data-theme="dark"] .member-centre>.grid>.bg-white{border-color:var(--ui-border)!important}
html[data-theme="dark"] .member-service-tabs a{background:var(--ui-surface)!important;border:1px solid var(--ui-border)!important;color:var(--ui-muted)!important}
html[data-theme="dark"] .member-mobile-menu{background:var(--ui-surface)!important;border:1px solid var(--ui-border)!important}
html[data-theme="dark"] .member-mobile-menu>summary{color:var(--ui-text)!important}
html[data-theme="dark"] .member-mobile-menu>summary>span{color:var(--ui-muted)!important}
html[data-theme="dark"] .member-mobile-menu nav>p{color:var(--ui-muted)!important}
html[data-theme="dark"] .member-mobile-menu nav a{border-bottom:1px solid var(--ui-border)!important;color:var(--ui-muted)!important}
html[data-theme="dark"] .member-portal-theme main>header{border-color:var(--ui-border)!important}
html[data-theme="dark"] .member-portal-theme main>header h1{color:var(--ui-text)!important}
html[data-theme="dark"] .member-portal-content{background:var(--ui-surface)!important}
html[data-theme="dark"] .portal-page-hero a.bg-white{color:var(--ui-text)!important;border:1px solid var(--ui-border)!important;background:var(--ui-surface)!important}
html[data-theme="dark"] .member-portal-content .bg-white{border-color:var(--ui-border)!important}
html[data-theme="dark"] .member-portal-content h2.text-slate-900,html[data-theme="dark"] .member-portal-content h3.text-slate-900{color:var(--ui-text)!important}
html[data-theme="dark"] .member-portal-content .text-slate-400{color:var(--ui-muted)!important}
html[data-theme="dark"] .member-portal-content .text-slate-500{color:var(--ui-muted)!important}
html[data-theme="dark"] .member-portal-content .text-slate-600{color:var(--ui-muted)!important}
html[data-theme="dark"] .member-portal-content .text-slate-900{color:var(--ui-text)!important}
html[data-theme="dark"] .member-portal-content .border-slate-100,html[data-theme="dark"] .member-portal-content .border-slate-200{border-color:var(--ui-border)!important}
html[data-theme="dark"] .member-portal-content label{color:var(--ui-muted)!important}
html[data-theme="dark"] .member-portal-content input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=range]),html[data-theme="dark"] .member-portal-content select,html[data-theme="dark"] .member-portal-content textarea{background:var(--ui-surface)!important;border:1px solid var(--ui-border)!important;color:var(--ui-text)!important}
html[data-theme="dark"] .member-portal-content input:focus,html[data-theme="dark"] .member-portal-content select:focus,html[data-theme="dark"] .member-portal-content textarea:focus{border-color:var(--ui-border)!important}
html[data-theme="dark"] .member-portal-content input::placeholder,html[data-theme="dark"] .member-portal-content textarea::placeholder{color:var(--ui-muted)!important}
html[data-theme="dark"] .member-portal-content input::file-selector-button{background:var(--ui-surface)!important;color:var(--ui-muted)!important}
html[data-theme="dark"] .member-portal-content .brand-text,html[data-theme="dark"] .member-portal-content .text-brand,html[data-theme="dark"] .member-portal-content .text-teal-700{color:var(--ui-link)!important}
html[data-theme="dark"] .member-portal-content .bg-brand-50,html[data-theme="dark"] .member-portal-content .bg-teal-50{background:var(--ui-surface)!important}
html[data-theme="dark"] .member-portal-content th{background:var(--ui-surface)!important;color:var(--ui-muted)!important}
html[data-theme="dark"] .member-portal-content td{border-bottom:1px solid var(--ui-border)!important;color:var(--ui-text)!important}
html[data-theme="dark"] .member-portal-content tbody tr:hover{background:var(--ui-surface)!important}
html[data-theme="dark"] .member-portal-content .bg-slate-50{background:var(--ui-surface)!important}
html[data-theme="dark"] .member-portal-content .text-coral{color:var(--ui-link)!important}
html[data-theme="dark"] .member-portal-content .bg-teal-100{background:var(--ui-raised)!important}
html[data-theme="dark"] .member-portal-theme main>nav{border-color:var(--ui-border)!important;background:var(--ui-surface)!important}
html[data-theme="dark"] .member-portal-content [class*="text-[#F27457]"]{color:var(--ui-link)!important}
html[data-theme="dark"] .member-portal-content .portal-page-hero .bg-white{color:var(--ui-text)!important}
html[data-theme="dark"] .portal-dashboard-services a{background:var(--ui-surface)!important;border:1px solid var(--ui-border)!important;color:var(--ui-text)!important}
html[data-theme="dark"] .portal-dashboard-services span{color:var(--ui-link)!important}
html[data-theme="dark"] .portal-dashboard-services a:hover{background:var(--ui-surface)!important;border-color:var(--ui-border)!important}
html[data-theme="dark"] .settings-currency-switch{background:var(--ui-surface)!important;border:1px solid var(--ui-border)!important;border-top:3px solid var(--ui-border)!important}
html[data-theme="dark"] .settings-currency-switch h2{color:var(--ui-text)!important}
html[data-theme="dark"] .settings-currency-switch p{color:var(--ui-muted)!important}
html[data-theme="dark"] .settings-currency-switch small{color:var(--ui-muted)!important}
html[data-theme="dark"] .settings-currency-switch label{color:var(--ui-muted)!important}
html[data-theme="dark"] .settings-currency-switch select{background:var(--ui-surface)!important;border:1px solid var(--ui-border)!important;color:var(--ui-text)!important}
html[data-theme="dark"] .settings-currency-switch form>span{color:var(--ui-muted)!important}
html[data-theme="dark"] .settings-currency-switch select:focus{border-color:var(--ui-border)!important}
html[data-theme="dark"] .assist{color:#c4ddce!important}
html[data-theme="dark"] .assist-nav a{background:var(--ui-surface)!important}
html[data-theme="dark"] .assist-btn.light{background:var(--ui-surface)!important}
html[data-theme="dark"] .assist-btn.secondary{background:var(--ui-surface)!important;border:1px solid var(--ui-border)!important}
html[data-theme="dark"] .assist-btn.danger{background:var(--ui-surface)!important;color:var(--ui-link)!important;border:1px solid var(--ui-border)!important}
html[data-theme="dark"] .assist-card p,html[data-theme="dark"] .assist-muted{color:#c4ddce!important}
html[data-theme="dark"] .assist-metric small{color:#c4ddce!important}
html[data-theme="dark"] .assist input:not([type=checkbox]),html[data-theme="dark"] .assist select,html[data-theme="dark"] .assist textarea{border:1px solid var(--ui-border)!important;background:var(--ui-surface)!important;color:var(--ui-text)!important}
html[data-theme="dark"] .assist th{background:var(--ui-surface)!important;color:var(--ui-muted)!important}
html[data-theme="dark"] .assist td,html[data-theme="dark"] .assist th{border-bottom:1px solid var(--ui-border)!important}
html[data-theme="dark"] .assist a:not(.assist-btn){color:var(--ui-link)!important}
html[data-theme="dark"] .assist-badge{background:var(--ui-surface)!important;color:var(--ui-text)!important}
html[data-theme="dark"] .assist-notice{background:var(--ui-surface)!important;color:var(--ui-text)!important}
html[data-theme="dark"] .assist-notice.error{background:var(--ui-surface)!important;color:var(--ui-link)!important}
html[data-theme="dark"] .assist-empty{color:var(--ui-muted)!important}
html[data-theme="dark"] .assist details{border-top:1px solid var(--ui-border)!important}
html[data-theme="dark"] .assist-stage{border-left:3px solid var(--ui-border)!important;background:var(--ui-surface)!important}
html[data-theme="dark"] .assist-rule{background:var(--ui-surface)!important;border:1px solid var(--ui-border)!important}
html[data-theme="dark"] .assist .assist-chip{color:var(--ui-text)!important;background:var(--ui-surface)!important}
html[data-theme="dark"] .assist-terms dt{color:var(--ui-muted)!important}
html[data-theme="dark"] body{color:var(--ui-text)!important}
html[data-theme="dark"] h1{color:var(--ui-link)!important}
html[data-theme="dark"] .muted{color:var(--ui-muted)!important}
html[data-theme="dark"] td{border-bottom:1px solid var(--ui-border)!important}
html[data-theme="dark"] tbody tr:nth-child(even){background:var(--ui-surface)!important}
html[data-theme="dark"] .empty{color:var(--ui-muted)!important}
html[data-theme="dark"] .notice{color:var(--ui-muted)!important}
html[data-theme="dark"]{background:var(--ui-surface)!important}
html[data-theme="dark"] body{color:var(--ui-text)!important;background:var(--ui-surface)!important;border:1px solid var(--ui-border)!important}
html[data-theme="dark"] p{color:var(--ui-muted)!important}
html[data-theme="dark"] th{background:var(--ui-surface)!important;color:var(--ui-muted)!important}
html[data-theme="dark"] td,html[data-theme="dark"] th{border-bottom:1px solid var(--ui-border)!important}
html[data-theme="dark"] dl>div{border-bottom:1px solid var(--ui-border)!important}
html[data-theme="dark"] dt{color:var(--ui-muted)!important}
html[data-theme="dark"]{background:var(--ui-surface)!important}
html[data-theme="dark"] body{color:var(--ui-text)!important;background:var(--ui-surface)!important;border:1px solid var(--ui-border)!important}
html[data-theme="dark"] p{color:var(--ui-muted)!important}
html[data-theme="dark"] th{background:var(--ui-surface)!important;color:var(--ui-muted)!important}
html[data-theme="dark"] td,html[data-theme="dark"] th{border-bottom:1px solid var(--ui-border)!important}
html[data-theme="dark"] dl>div{border-bottom:1px solid var(--ui-border)!important}
html[data-theme="dark"] dt{color:var(--ui-muted)!important}
html[data-theme="dark"] body{color:#c4ddce!important}
html[data-theme="dark"] .brand h1{background:linear-gradient(92deg, var(--ui-surface) 30%, var(--ui-raised))!important}
html[data-theme="dark"] .form-wrap{background:var(--ui-surface)!important}
html[data-theme="dark"] .form-sub{color:var(--ui-muted)!important}
html[data-theme="dark"] .field label{color:var(--ui-text)!important}
html[data-theme="dark"] .field input[type=text],html[data-theme="dark"] .field input[type=email],html[data-theme="dark"] .field input[type=password],html[data-theme="dark"] .field input[type=file],html[data-theme="dark"] .field select{background:var(--ui-surface)!important;color:#c4ddce!important}
html[data-theme="dark"] .field-check{color:var(--ui-muted)!important}
html[data-theme="dark"] .remember{color:var(--ui-muted)!important}
html[data-theme="dark"] .alt{color:var(--ui-muted)!important}
html[data-theme="dark"] .staff a{color:var(--ui-muted)!important}
html[data-theme="dark"] .err{background:var(--ui-surface)!important;border:1px solid var(--ui-border)!important;color:var(--ui-link)!important}
html[data-theme="dark"] .ok{background:var(--ui-surface)!important;border:1px solid var(--ui-border)!important;color:var(--ui-link)!important}
html[data-theme="dark"] .form-note{color:var(--ui-muted)!important}
html[data-theme="dark"] .section-label{color:var(--ui-muted)!important}
@media (max-width: 900px){html[data-theme="dark"] .form-card{background:var(--ui-surface)!important}}
@media (max-width: 900px){html[data-theme="dark"] .form-card .mobile-logo .brand-wordmark{color:#c4ddce!important}}
html[data-theme="dark"] body{background:var(--ui-surface)!important;color:#c4ddce!important}
html[data-theme="dark"] a{color:#c4ddce!important}
html[data-theme="dark"] .login-shell{background:var(--ui-surface)!important}
html[data-theme="dark"] .form-brand{color:#c4ddce!important}
html[data-theme="dark"] .form-brand .brand-area{color:var(--ui-muted)!important}
html[data-theme="dark"] .welcome p{color:var(--ui-muted)!important}
html[data-theme="dark"] .input-wrap>svg{color:var(--ui-text)!important}
html[data-theme="dark"] .input-wrap input{border:1px solid var(--ui-border)!important;background:var(--ui-surface)!important;color:#c4ddce!important}
html[data-theme="dark"] .input-wrap input::placeholder{color:var(--ui-muted)!important}
html[data-theme="dark"] .input-wrap input[aria-invalid=true]{border-color:var(--ui-border)!important}
html[data-theme="dark"] .reveal-pin{color:var(--ui-text)!important}
html[data-theme="dark"] .access-help{border-top:1px solid var(--ui-border)!important;border-bottom:1px solid var(--ui-border)!important;color:var(--ui-muted)!important}
html[data-theme="dark"] .login-footer{color:var(--ui-muted)!important}
html[data-theme="dark"] .login-footer a{color:var(--ui-muted)!important}
html[data-theme="dark"] .error{background:var(--ui-surface)!important;color:var(--ui-link)!important;border:1px solid var(--ui-border)!important}
html[data-theme="dark"] .success{background:var(--ui-surface)!important;color:var(--ui-text)!important;border:1px solid var(--ui-border)!important}
html[data-theme="dark"] .registration-shell .field input,html[data-theme="dark"] .registration-shell .field select{border:1px solid var(--ui-border)!important;background:var(--ui-surface)!important;color:#c4ddce!important}
html[data-theme="dark"] .registration-shell .field input::placeholder{color:var(--ui-muted)!important}
html[data-theme="dark"] .registration-shell input::file-selector-button{background:var(--ui-surface)!important;color:#c4ddce!important}
html[data-theme="dark"] .field-hint{color:#c4ddce!important}
html[data-theme="dark"] .section-label{color:#c4ddce!important;border-top:1px solid var(--ui-border)!important}
html[data-theme="dark"] .field-check{color:var(--ui-muted)!important}
html[data-theme="dark"] .form-note{color:#c4ddce!important}
html[data-theme="dark"] :is(.bg-teal-50,.bg-teal-100,.bg-emerald-50,.bg-emerald-100,.bg-green-50,.bg-green-100){background-color:var(--ui-raised)!important}
html[data-theme="dark"] :is(.bg-amber-50,.bg-amber-100,.bg-orange-50,.bg-orange-100){background-color:#493820!important}
html[data-theme="dark"] :is(.bg-blue-50,.bg-blue-100,.bg-indigo-50,.bg-indigo-100){background-color:#23364a!important}
html[data-theme="dark"] :is(.bg-red-50,.bg-red-100){background-color:#4a2929!important}
html[data-theme="dark"] :is(.text-teal-600,.text-emerald-600,.text-green-600){color:#a2d7b8!important}
html[data-theme="dark"] :is(.text-amber-600,.text-amber-700,.text-orange-600){color:#efc388!important}
html[data-theme="dark"] :is(.text-blue-600,.text-indigo-600){color:#accdf0!important}
html[data-theme="dark"] :is(.text-red-600,.text-red-700){color:#f2aaaa!important}
