
/* IEICII v250 — Auditoría total de temas.
   Generado después de revisar todas las vistas/CSS del snapshot completo.
   La v249 se mantiene como base; v250 cubre selectores reales con colores fijos
   encontrados en módulos históricos. */
:root{
 --v250-bg:#f4f7fb;--v250-panel:#ffffff;--v250-panel2:#f8fbff;--v250-text:#122033;
 --v250-muted:#5f7087;--v250-line:#d9e3f0;--v250-primary:#245fe3;
 --v250-ok-bg:#ecfdf3;--v250-ok:#087443;--v250-warn-bg:#fff7e6;--v250-warn:#a15c00;
 --v250-bad-bg:#fef3f2;--v250-bad:#b42318
}
html[data-theme="dark"]{
 --v250-bg:#08111d;--v250-panel:#0f1b2c;--v250-panel2:#132338;--v250-text:#eef4ff;
 --v250-muted:#a7b5c8;--v250-line:#263b55;--v250-primary:#5b8cff;
 --v250-ok-bg:#0f3323;--v250-ok:#aef2c2;--v250-warn-bg:#382b0b;--v250-warn:#ffd88a;
 --v250-bad-bg:#3d1717;--v250-bad:#ffb4ab
}

/* Core actual classes from app.css */
html[data-theme="dark"] .topbar,
html[data-theme="dark"] .card,
html[data-theme="dark"] .table,
html[data-theme="dark"] .modal-card,
html[data-theme="dark"] .modal-close,
html[data-theme="dark"] .empty,
html[data-theme="dark"] .alert,
html[data-theme="dark"] .admin-nav a,
html[data-theme="dark"] .form input,
html[data-theme="dark"] .form select,
html[data-theme="dark"] .form textarea,
html[data-theme="dark"] .install-form input,
html[data-theme="dark"] .install-form select,
html[data-theme="dark"] .install-form textarea{
 background:var(--v250-panel)!important;color:var(--v250-text)!important;border-color:var(--v250-line)!important
}
html[data-theme="dark"] .table th,
html[data-theme="dark"] .modal-head,
html[data-theme="dark"] .check-card{
 background:var(--v250-panel2)!important;color:var(--v250-text)!important;border-color:var(--v250-line)!important
}
html[data-theme="dark"] .muted,
html[data-theme="dark"] .table th,
html[data-theme="dark"] .checkline,
html[data-theme="dark"] .option-row small,
html[data-theme="dark"] .admin-nav a{
 color:var(--v250-muted)!important
}
html[data-theme="dark"] .btn:not(.primary):not(.danger):not(.light){
 background:var(--v250-panel)!important;color:var(--v250-text)!important;border-color:var(--v250-line)!important
}

/* Theme switcher itself must always be readable */
html[data-theme="dark"] .theme-switcher-v186 details,
html[data-theme="dark"] .theme-switcher-v186-menu,
html[data-theme="dark"] [data-theme-switcher] menu,
html[data-theme="dark"] [data-theme-switcher] div{
 background:var(--v250-panel)!important;color:var(--v250-text)!important;border-color:var(--v250-line)!important
}

/* Preserve brand/visual surfaces */
html[data-theme="dark"] .hero,
html[data-theme="dark"] .visual-hero,
html[data-theme="dark"] .event-hero-detail,
html[data-theme="dark"] .community-premium-hero-v244,
html[data-theme="dark"] .community-agreement-hero-v245,
html[data-theme="dark"] .ux-dashboard-hero-v247,
html[data-theme="dark"] .agreement-cta-v245{
 color:#fff!important
}
html[data-theme="dark"] .hero h1,
html[data-theme="dark"] .visual-hero-content h1,
html[data-theme="dark"] .event-hero-detail h1,
html[data-theme="dark"] .community-premium-hero-v244 h1,
html[data-theme="dark"] .community-agreement-hero-v245 h1,
html[data-theme="dark"] .ux-dashboard-hero-v247 h1,
html[data-theme="dark"] .agreement-cta-v245 h2{color:#fff!important}
html[data-theme="dark"] .hero p,
html[data-theme="dark"] .visual-hero-content p,
html[data-theme="dark"] .community-premium-hero-v244 p,
html[data-theme="dark"] .community-agreement-hero-v245 p,
html[data-theme="dark"] .ux-dashboard-hero-v247 p,
html[data-theme="dark"] .agreement-cta-v245 p{color:rgba(255,255,255,.86)!important}

/* Status colors remain semantic */
html[data-theme="dark"] .badge.ok,
html[data-theme="dark"] .alert.success{background:var(--v250-ok-bg)!important;color:var(--v250-ok)!important}
html[data-theme="dark"] .badge.warn,
html[data-theme="dark"] .alert.warn{background:var(--v250-warn-bg)!important;color:var(--v250-warn)!important}
html[data-theme="dark"] .badge.bad,
html[data-theme="dark"] .alert.danger{background:var(--v250-bad-bg)!important;color:var(--v250-bad)!important}

/* Light mode normalization for base controls */
html[data-theme="light"] body{background:var(--v250-bg)!important;color:var(--v250-text)!important}
html[data-theme="light"] .card,
html[data-theme="light"] .panel,
html[data-theme="light"] .table,
html[data-theme="light"] .modal-card,
html[data-theme="light"] .empty{background:var(--v250-panel)!important;color:var(--v250-text)!important;border-color:var(--v250-line)!important}

html[data-theme="dark"] .access-count-v90,
html[data-theme="dark"] .access-panel-v89 button.danger,
html[data-theme="dark"] .access-panel-v90,
html[data-theme="dark"] .access-panel-v90 a,
html[data-theme="dark"] .access-panel-v90 a:hover,
html[data-theme="dark"] .access-panel-v90 button,
html[data-theme="dark"] .access-panel-v90 button.danger,
html[data-theme="dark"] .access-panel-v90 button:hover,
html[data-theme="dark"] .access-permissions-v89 .checkline,
html[data-theme="dark"] .access-pwa-section-v94 .access-pwa-state-v94,
html[data-theme="dark"] .access-pwa-section-v94 .access-pwa-state-v94 i,
html[data-theme="dark"] .access-role-list-v90 span,
html[data-theme="dark"] .access-sedes-list-v90 a,
html[data-theme="dark"] .access-summary-v90,
html[data-theme="dark"] .admin-body .admin-report-cards-v158 .summary-pill,
html[data-theme="dark"] .admin-body .admin-state-v158.is-danger,
html[data-theme="dark"] .admin-body .admin-state-v158.is-warning,
html[data-theme="dark"] .admin-body .empty,
html[data-theme="dark"] .admin-body .inline-form select,
html[data-theme="dark"] .admin-body .row-actions.compact select,
html[data-theme="dark"] .admin-body .search-bar input,
html[data-theme="dark"] .admin-body .search-bar select,
html[data-theme="dark"] .agenda-date-card-v71,
html[data-theme="dark"] .agenda-feature-v71,
html[data-theme="dark"] .agenda-meta-v71 span,
html[data-theme="dark"] .agenda-panel-v71,
html[data-theme="dark"] .agenda-row-date-v71,
html[data-theme="dark"] .agenda-row-v71,
html[data-theme="dark"] .agenda-smart-v71,
html[data-theme="dark"] .agreement-kicker-v245,
html[data-theme="dark"] .alert,
html[data-theme="dark"] .alert.danger,
html[data-theme="dark"] .alert.warn,
html[data-theme="dark"] .archive-search-v180 input,
html[data-theme="dark"] .badge,
html[data-theme="dark"] .badge.bad,
html[data-theme="dark"] .badge.soft,
html[data-theme="dark"] .badge.warn,
html[data-theme="dark"] .badge.warning,
html[data-theme="dark"] .btn,
html[data-theme="dark"] .btn.soft,
html[data-theme="dark"] .builder-card-v76,
html[data-theme="dark"] .calls-panel-v71,
html[data-theme="dark"] .capability.on,
html[data-theme="dark"] .category-chip{
 background:var(--v250-panel)!important;color:var(--v250-text)!important;
}

html[data-theme="dark"] .category-chip small,
html[data-theme="dark"] .category-chip-row .category-chip,
html[data-theme="dark"] .category-note-v21,
html[data-theme="dark"] .cert-asset-chip-v161,
html[data-theme="dark"] .cert-asset-chip-v161 img,
html[data-theme="dark"] .cert-assignment-box-v163,
html[data-theme="dark"] .cert-editor-flow-v162,
html[data-theme="dark"] .cert-editor-flow-v162 .active,
html[data-theme="dark"] .cert-editor-heading-v161,
html[data-theme="dark"] .cert-editor-tab-v104.active,
html[data-theme="dark"] .cert-emission-summary-v161>div,
html[data-theme="dark"] .cert-mini-cert.modern,
html[data-theme="dark"] .cert-office-preview-frame-v162 object,
html[data-theme="dark"] .cert-office-preview-head-v162,
html[data-theme="dark"] .cert-office-settings-v162,
html[data-theme="dark"] .cert-office-settings-v162 input,
html[data-theme="dark"] .cert-office-settings-v162 select,
html[data-theme="dark"] .cert-office-settings-v162 textarea,
html[data-theme="dark"] .cert-office-source-info-v162,
html[data-theme="dark"] .cert-office-source-v162,
html[data-theme="dark"] .cert-operation-details-v161>summary,
html[data-theme="dark"] .cert-v105-mini.modern,
html[data-theme="dark"] .cert-v105-presets button.active,
html[data-theme="dark"] .cert-v105-preview-actions .btn.primary,
html[data-theme="dark"] .cert-v105-top .eyebrow,
html[data-theme="dark"] .certificate-archive-table-v180 thead th,
html[data-theme="dark"] .certificate-sign-controls-v180 .checkline:has(input[name="replace_existing"]),
html[data-theme="dark"] .certificate-sign-controls-v180 .checkline:has(input[name="replace_existing"]):has(input:checked),
html[data-theme="dark"] .check,
html[data-theme="dark"] .check-pill,
html[data-theme="dark"] .check.bad span,
html[data-theme="dark"] .committee-home-v71,
html[data-theme="dark"] .committee-list-modern .committee-list-item.active,
html[data-theme="dark"] .committee-mini-v71,
html[data-theme="dark"] .committee-mini-v71 span,
html[data-theme="dark"] .committee-record-row,
html[data-theme="dark"] .content-cats-v71 .category-chip,
html[data-theme="dark"] .content-hub-v71,
html[data-theme="dark"] .content-lead-img-v71,
html[data-theme="dark"] .content-lead-v71,
html[data-theme="dark"] .content-list-v71,
html[data-theme="dark"] .content-row-v71,
html[data-theme="dark"] .content-row-v71 img,
html[data-theme="dark"] .data-table th,
html[data-theme="dark"] .deliverable-mini-list-v78 details{
 background:var(--v250-panel)!important;color:var(--v250-text)!important;
}

html[data-theme="dark"] .delivery-pill-v241.failed,
html[data-theme="dark"] .delivery-pill-v241.logged,
html[data-theme="dark"] .delivery-pill-v241.pending,
html[data-theme="dark"] .diagnostic-card-v230,
html[data-theme="dark"] .diagnostic-card-v230.fail>span,
html[data-theme="dark"] .diagnostic-summary-v230,
html[data-theme="dark"] .digital-appearance-row-v174,
html[data-theme="dark"] .digital-certificate-list-v174>div,
html[data-theme="dark"] .digital-pfx-form-v174,
html[data-theme="dark"] .editorial-empty,
html[data-theme="dark"] .empty,
html[data-theme="dark"] .entitlement-adjust-form-v121 input,
html[data-theme="dark"] .entitlement-adjust-form-v121 select,
html[data-theme="dark"] .event-burger,
html[data-theme="dark"] .event-burger:hover,
html[data-theme="dark"] .event-check-grid .check-pill,
html[data-theme="dark"] .event-content-kpis-v183 span,
html[data-theme="dark"] .event-date-chip-v91,
html[data-theme="dark"] .event-date-large-v91,
html[data-theme="dark"] .event-emission-flow-v171>div,
html[data-theme="dark"] .event-emission-v171 .cert-operation-details-v161,
html[data-theme="dark"] .event-empty-v71,
html[data-theme="dark"] .event-empty-v91,
html[data-theme="dark"] .event-feature-panel-v91,
html[data-theme="dark"] .event-list-card-v91,
html[data-theme="dark"] .event-list-card-v91.is-past,
html[data-theme="dark"] .event-meta-light span,
html[data-theme="dark"] .event-meta-line-v91 span,
html[data-theme="dark"] .event-module-card-v184,
html[data-theme="dark"] .event-module-card-v184.is-attention,
html[data-theme="dark"] .event-ops-row-v184,
html[data-theme="dark"] .event-page-advanced-v183,
html[data-theme="dark"] .event-page-intro-v183,
html[data-theme="dark"] .event-page-map-item-v183,
html[data-theme="dark"] .event-page-preset-help-v183,
html[data-theme="dark"] .event-page-review-v183,
html[data-theme="dark"] .event-page-stepper-v183 button,
html[data-theme="dark"] .event-page-structure-note-v183,
html[data-theme="dark"] .event-page-structure-v183,
html[data-theme="dark"] .event-public-flow-admin-v1594,
html[data-theme="dark"] .event-public-flow-admin-v1594 b,
html[data-theme="dark"] .event-public-flow-admin-v1594>div>span,
html[data-theme="dark"] .event-public-menu a,
html[data-theme="dark"] .event-public-module-card-v184,
html[data-theme="dark"] .event-register-form .check-pill{
 background:var(--v250-panel)!important;color:var(--v250-text)!important;
}

html[data-theme="dark"] .event-register-form .check-pill:hover,
html[data-theme="dark"] .event-share-check-v1594,
html[data-theme="dark"] .event-social-preview-v1594,
html[data-theme="dark"] .event-workspace-body) :where(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
html[data-theme="dark"] .event-workspace-body) :where(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]),
html[data-theme="dark"] .event-workspace-body) input[type="file"],
html[data-theme="dark"] .events-block-head-v91 small,
html[data-theme="dark"] .events-block-v91,
html[data-theme="dark"] .events-dynamic-v54 .event-empty-state-v54,
html[data-theme="dark"] .events-page-v91 .pagination,
html[data-theme="dark"] .events-search-v91,
html[data-theme="dark"] .form input,
html[data-theme="dark"] .form select,
html[data-theme="dark"] .form textarea,
html[data-theme="dark"] .geo-summary-grid div,
html[data-theme="dark"] .header-roles span,
html[data-theme="dark"] .historical-contract-v172,
html[data-theme="dark"] .historical-error-v172,
html[data-theme="dark"] .historical-file-v172>div,
html[data-theme="dark"] .historical-header-chips-v172 span,
html[data-theme="dark"] .historical-kpis-v172>div,
html[data-theme="dark"] .historical-kpis-v172>div.bad>strong,
html[data-theme="dark"] .historical-kpis-v172>div>strong,
html[data-theme="dark"] .historical-preview-table-v172 th,
html[data-theme="dark"] .historical-profile-row-v172,
html[data-theme="dark"] .history-box-v84,
html[data-theme="dark"] .history-box-v84 summary,
html[data-theme="dark"] .history-box-v84 summary:after,
html[data-theme="dark"] .home-institution-strip article,
html[data-theme="dark"] .home-institution-strip span,
html[data-theme="dark"] .home-v21 .badge,
html[data-theme="dark"] .home-v21 .btn,
html[data-theme="dark"] .home-v21 .eyebrow,
html[data-theme="dark"] .home-v21 .tag-chip,
html[data-theme="dark"] .install-card,
html[data-theme="dark"] .install-form input,
html[data-theme="dark"] .install-form select,
html[data-theme="dark"] .install-form textarea,
html[data-theme="dark"] .institution-cert-confirm-v175,
html[data-theme="dark"] .institution-cert-empty-v175 b,
html[data-theme="dark"] .institution-cert-empty-v175>div,
html[data-theme="dark"] .institution-cert-grid-v175>div,
html[data-theme="dark"] .interest-pill-v84,
html[data-theme="dark"] .interested-actions-v84,
html[data-theme="dark"] .interested-message-v84{
 background:var(--v250-panel)!important;color:var(--v250-text)!important;
}

html[data-theme="dark"] .interested-status-tabs-v84 a,
html[data-theme="dark"] .interested-status-tabs-v84 a.is-active,
html[data-theme="dark"] .interested-status-tabs-v84 a:hover,
html[data-theme="dark"] .invitation-decline-v221,
html[data-theme="dark"] .invitation-state-v221.declined,
html[data-theme="dark"] .invitation-state-v221.pending,
html[data-theme="dark"] .issue-review-v228,
html[data-theme="dark"] .location-detail .rich-content,
html[data-theme="dark"] .mail-rich code,
html[data-theme="dark"] .membership-admin-intro-v120,
html[data-theme="dark"] .membership-admin-kpis-v120 span,
html[data-theme="dark"] .membership-option-card-v126,
html[data-theme="dark"] .membership-option-matrix-v120,
html[data-theme="dark"] .membership-option-order-v126,
html[data-theme="dark"] .membership-plan-admin-card-v126,
html[data-theme="dark"] .membership-request-card-v126,
html[data-theme="dark"] .membership-resource-card-v121,
html[data-theme="dark"] .membership-subscription-card-v126,
html[data-theme="dark"] .mini-empty-v71,
html[data-theme="dark"] .modal-card,
html[data-theme="dark"] .modal-card.cert-v105-modal .modal-head,
html[data-theme="dark"] .modal-card.xwide .modal-body,
html[data-theme="dark"] .modal-close,
html[data-theme="dark"] .module-icon,
html[data-theme="dark"] .page-link,
html[data-theme="dark"] .past-event-row-v71 a,
html[data-theme="dark"] .past-events-v71,
html[data-theme="dark"] .payment-choice-list .check-pill,
html[data-theme="dark"] .payment-choice-list .check-pill:hover,
html[data-theme="dark"] .payment-context-v81,
html[data-theme="dark"] .payment-method-form-v80 .gateway-fields-v80,
html[data-theme="dark"] .payment-module-checks-v81,
html[data-theme="dark"] .post-admin-file-row-v70,
html[data-theme="dark"] .post-article-shell-v39,
html[data-theme="dark"] .post-card-v21,
html[data-theme="dark"] .post-file-card-v70,
html[data-theme="dark"] .posts-search-v21,
html[data-theme="dark"] .prose-preview,
html[data-theme="dark"] .public-menu-btn,
html[data-theme="dark"] .public-menu-btn:hover,
html[data-theme="dark"] .public-page-head,
html[data-theme="dark"] .pwa-check-v94.warn i,
html[data-theme="dark"] .pwa-check-v94.warn>span,
html[data-theme="dark"] .pwa-check-v97,
html[data-theme="dark"] .pwa-check-v97.warn i{
 background:var(--v250-panel)!important;color:var(--v250-text)!important;
}

html[data-theme="dark"] .pwa-check-v97.warn>span,
html[data-theme="dark"] .pwa-check-v97>span,
html[data-theme="dark"] .pwa-consent-preview-v97,
html[data-theme="dark"] .pwa-consent-preview-v97>span,
html[data-theme="dark"] .pwa-details-v97,
html[data-theme="dark"] .pwa-details-v97>summary,
html[data-theme="dark"] .pwa-details-v97>summary:after,
html[data-theme="dark"] .pwa-device-v97,
html[data-theme="dark"] .pwa-flow-v97 li,
html[data-theme="dark"] .pwa-flow-v97 li:before,
html[data-theme="dark"] .pwa-install-box-v97,
html[data-theme="dark"] .pwa-install-box-v97 pre,
html[data-theme="dark"] .pwa-permission-events-v97 div,
html[data-theme="dark"] .pwa-ready-pill-v97,
html[data-theme="dark"] .pwa-ready-pill-v97.warn,
html[data-theme="dark"] .pwa-req-v97,
html[data-theme="dark"] .q-ms-control,
html[data-theme="dark"] .q-ms-dropdown,
html[data-theme="dark"] .q-ms-option,
html[data-theme="dark"] .reg-wizard-actions-v37,
html[data-theme="dark"] .reg-wizard-panel-v37,
html[data-theme="dark"] .registration-action-block-v157,
html[data-theme="dark"] .registration-card-v157,
html[data-theme="dark"] .registration-chips-v157 em,
html[data-theme="dark"] .registration-danger-v157,
html[data-theme="dark"] .registration-detail-block-v157,
html[data-theme="dark"] .registration-filters-v157,
html[data-theme="dark"] .registration-filters-v157 input,
html[data-theme="dark"] .registration-filters-v157 select,
html[data-theme="dark"] .registration-metric-v157,
html[data-theme="dark"] .registration-metric-v157.is-active,
html[data-theme="dark"] .registration-modal-card-v157,
html[data-theme="dark"] .registration-modal-head-v157,
html[data-theme="dark"] .registration-payment-v157.danger,
html[data-theme="dark"] .registration-payment-v157.neutral,
html[data-theme="dark"] .registration-payment-v157.warning,
html[data-theme="dark"] .registration-status-v157.danger,
html[data-theme="dark"] .registration-status-v157.neutral,
html[data-theme="dark"] .registration-status-v157.warning,
html[data-theme="dark"] .reply-box-v84,
html[data-theme="dark"] .reply-box-v84 summary,
html[data-theme="dark"] .reply-box-v84 summary:after,
html[data-theme="dark"] .request-resolve-form-v121 input,
html[data-theme="dark"] .request-resolve-form-v121 select,
html[data-theme="dark"] .resource-empty-v71{
 background:var(--v250-panel)!important;color:var(--v250-text)!important;
}

html[data-theme="dark"] .resource-panel-v71,
html[data-theme="dark"] .resource-row-v71,
html[data-theme="dark"] .resource-top-v121 span,
html[data-theme="dark"] .review-box,
html[data-theme="dark"] .rich table th,
html[data-theme="dark"] .rich-editor,
html[data-theme="dark"] .rich-editor table th,
html[data-theme="dark"] .rich-help code,
html[data-theme="dark"] .rich-toolbar,
html[data-theme="dark"] .rich-toolbar button,
html[data-theme="dark"] .rich-toolbar button:focus,
html[data-theme="dark"] .rich-toolbar button:hover,
html[data-theme="dark"] .rich-toolbar select.rich-select,
html[data-theme="dark"] .rich-toolbar-modern select.rich-select,
html[data-theme="dark"] .rich-toolbar.rich-toolbar-modern,
html[data-theme="dark"] .scheduler-status-v247.status-running,
html[data-theme="dark"] .search-bar,
html[data-theme="dark"] .sede-admin-note-v88,
html[data-theme="dark"] .sede-line-v88,
html[data-theme="dark"] .sede-pill-v88,
html[data-theme="dark"] .sede-row-card-v88,
html[data-theme="dark"] .sede-tabs-v88 a,
html[data-theme="dark"] .sidebar-toggle,
html[data-theme="dark"] .sidebar-toggle:hover,
html[data-theme="dark"] .signer-asset-v163 img,
html[data-theme="dark"] .signer-row-v163,
html[data-theme="dark"] .signer-search-v163 input,
html[data-theme="dark"] .signer-search-v163 select,
html[data-theme="dark"] .signer-stats-v163 article,
html[data-theme="dark"] .signer-tabs-v163,
html[data-theme="dark"] .signer-tabs-v163 a.active,
html[data-theme="dark"] .signer-toolbar-v163,
html[data-theme="dark"] .start-option,
html[data-theme="dark"] .status-pill-v84,
html[data-theme="dark"] .status-pill-v84.descartado,
html[data-theme="dark"] .status-pill-v84.nuevo,
html[data-theme="dark"] .status-pill.blocked,
html[data-theme="dark"] .status-pill.cancelled,
html[data-theme="dark"] .status-pill.declined,
html[data-theme="dark"] .status-pill.draft,
html[data-theme="dark"] .status-pill.external,
html[data-theme="dark"] .status-pill.inactive,
html[data-theme="dark"] .status-pill.needs_attention,
html[data-theme="dark"] .status-pill.observed,
html[data-theme="dark"] .status-pill.pending{
 background:var(--v250-panel)!important;color:var(--v250-text)!important;
}

html[data-theme="dark"] .status-pill.published,
html[data-theme="dark"] .status-pill.rejected,
html[data-theme="dark"] .status-pill.suspended,
html[data-theme="dark"] .status-pill.void,
html[data-theme="dark"] .structured-input-block-v208.is-complete-v208,
html[data-theme="dark"] .summary-pill,
html[data-theme="dark"] .table,
html[data-theme="dark"] .timeline-item-v230 pre,
html[data-theme="dark"] .timeline-item.locked,
html[data-theme="dark"] .toast,
html[data-theme="dark"] .top-bell-btn-v90,
html[data-theme="dark"] .top-bell-item-v90 em,
html[data-theme="dark"] .top-bell-item-v90:hover,
html[data-theme="dark"] .top-bell-item-v90>span,
html[data-theme="dark"] .top-bell-menu-v90,
html[data-theme="dark"] .tracking-pill-v230.declined,
html[data-theme="dark"] .tracking-pill-v230.expired,
html[data-theme="dark"] .tracking-pill-v230.failed,
html[data-theme="dark"] .tracking-pill-v230.pending,
html[data-theme="dark"] .upload-shell-v205,
html[data-theme="dark"] .user-event-card-v78,
html[data-theme="dark"] .user-event-progress-v78>div,
html[data-theme="dark"] .ux-mini-alert-v247,
html[data-theme="dark"] .verify-grid div,
html[data-theme="dark"] .verify-note code,
html[data-theme="dark"] .window-strip-v86 span,
html[data-theme="dark"] :where(.ie-shell,
html[data-theme="dark"] body.public-body .badge.warn,
html[data-theme="dark"] body.public-body .badge.warning,
html[data-theme="dark"] body.public-body .event-at-glance-v1594,
html[data-theme="dark"] body.public-body .event-content-v1594>.card.section,
html[data-theme="dark"] body.public-body .event-guide-actions-v1594>a,
html[data-theme="dark"] body.public-body .event-guide-v1594,
html[data-theme="dark"] body.public-body .event-payment-details-v1594>summary,
html[data-theme="dark"] body.public-body .event-registration-hub-v1594,
html[data-theme="dark"] body.public-body .event-registration-hub-v1594 .registration-panel-head-v148,
html[data-theme="dark"] body.public-body .registration-catalog-v1594 .regtype-card-v76,
html[data-theme="dark"] body.public-body .status-pill.draft,
html[data-theme="dark"] body.public-body .status-pill.pending,
html[data-theme="dark"] button.btn,
html[data-theme="dark"] code,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea),
html[data-theme="dark"] textarea):focus{
 background:var(--v250-panel)!important;color:var(--v250-text)!important;
}

html[data-theme="dark"] .archive-search-v180,
html[data-theme="dark"] .btn.soft,
html[data-theme="dark"] .card code,
html[data-theme="dark"] .events-block-head-v91 small,
html[data-theme="dark"] .home-stage-v142,
html[data-theme="dark"] .home-stage-v143) :is(.eyebrow,
html[data-theme="dark"] .interested-contact-v84 a,
html[data-theme="dark"] .issue-review-copy-v228 strong,
html[data-theme="dark"] .pwa-consent-preview-v97 ul,
html[data-theme="dark"] .pwa-req-v97 small,
html[data-theme="dark"] .registration-payment-v157.neutral,
html[data-theme="dark"] .resource-empty-v71 strong,
html[data-theme="dark"] .scic74-kicker,
html[data-theme="dark"] .sede-tabs-v88 a,
html[data-theme="dark"] .settings-form code,
html[data-theme="dark"] .stage-kicker-v142),
html[data-theme="dark"] .timeline-item-v230 p,
html[data-theme="dark"] body.public-body .event-content-v1594 .rich strong,
html[data-theme="dark"] body.public-body .home-stage-v142 .eyebrow,
html[data-theme="dark"] body.public-body .home-stage-v142 .stage-kicker-v142,
html[data-theme="dark"] body.public-body .home-stage-v143 .eyebrow,
html[data-theme="dark"] body.public-body .home-stage-v143 .stage-kicker-v142,
html[data-theme="dark"] body.public-body .stage-deadline-v143,
html[data-theme="dark"] body.public-body .stage-deadline-v143 :is(span,
html[data-theme="dark"] strong){
 color:var(--v250-text)!important;
}

html[data-theme="dark"] .access-section-v90>span,
html[data-theme="dark"] .cert-emission-summary-v161 span,
html[data-theme="dark"] .cert-office-preview-fallback-v162,
html[data-theme="dark"] .cert-office-preview-head-v162 small,
html[data-theme="dark"] .cert-office-source-info-v162,
html[data-theme="dark"] .cert-rule-card-v161>summary small,
html[data-theme="dark"] .cert-signer-main-v161 small,
html[data-theme="dark"] .cert-template-position-row-v161 small,
html[data-theme="dark"] .cert-type-block-v161>summary small,
html[data-theme="dark"] .diagnostic-card-v230 small,
html[data-theme="dark"] .editor-help-v161,
html[data-theme="dark"] .event-content-kpis-v183 small,
html[data-theme="dark"] .event-page-advanced-v183>p,
html[data-theme="dark"] .event-page-intro-v183 span,
html[data-theme="dark"] .event-page-map-copy-v183 small,
html[data-theme="dark"] .event-page-preset-help-v183 p,
html[data-theme="dark"] .event-page-preset-help-v183 small,
html[data-theme="dark"] .event-page-review-v183 li,
html[data-theme="dark"] .events-block-head-v91 small,
html[data-theme="dark"] .historical-upload-v172 label small,
html[data-theme="dark"] .invitation-state-v221.expired,
html[data-theme="dark"] .issue-review-copy-v228 small,
html[data-theme="dark"] .q-ms-arrow,
html[data-theme="dark"] .registration-payment-v157.neutral,
html[data-theme="dark"] .regtype-price-contrast-v164 small,
html[data-theme="dark"] .regtype-price-reference-v164,
html[data-theme="dark"] .sede-line-v88 small,
html[data-theme="dark"] .timeline-head-v230 time,
html[data-theme="dark"] .tracking-grid-v230 small,
html[data-theme="dark"] .user-dyn-field-v78 small{
 color:var(--v250-muted)!important;
}

html[data-theme="dark"] .access-menu-v90[open] .access-summary-v90,
html[data-theme="dark"] .access-panel-v90,
html[data-theme="dark"] .access-permissions-v89 .checkline,
html[data-theme="dark"] .access-sedes-list-v90 a,
html[data-theme="dark"] .access-sedes-list-v90 a:hover,
html[data-theme="dark"] .access-summary-v90,
html[data-theme="dark"] .agenda-feature-v71,
html[data-theme="dark"] .agenda-meta-v71 span,
html[data-theme="dark"] .agenda-panel-v71,
html[data-theme="dark"] .agenda-row-v71,
html[data-theme="dark"] .agenda-smart-v71,
html[data-theme="dark"] .agreement-area-tags-v245 span,
html[data-theme="dark"] .agreement-benefits-v245 article,
html[data-theme="dark"] .agreement-document-v245,
html[data-theme="dark"] .agreement-events-v245>a,
html[data-theme="dark"] .agreement-institution-card-v245,
html[data-theme="dark"] .agreement-list-card-v245,
html[data-theme="dark"] .agreement-panel-v245,
html[data-theme="dark"] .agreement-public-form-v245 fieldset,
html[data-theme="dark"] .agreement-representative-form-v245,
html[data-theme="dark"] .agreement-section-v245,
html[data-theme="dark"] .attention-card-v248,
html[data-theme="dark"] .capability.on,
html[data-theme="dark"] .card code,
html[data-theme="dark"] .category-chip-row .category-chip,
html[data-theme="dark"] .cert-asset-chip-v161,
html[data-theme="dark"] .cert-assignment-box-v161,
html[data-theme="dark"] .cert-create-details-v161,
html[data-theme="dark"] .cert-create-details-v161[open]>summary,
html[data-theme="dark"] .cert-editor-tab-v104.active,
html[data-theme="dark"] .cert-emission-summary-v161>div,
html[data-theme="dark"] .cert-engine-tabs-v102 a,
html[data-theme="dark"] .cert-office-actions-v162,
html[data-theme="dark"] .cert-office-source-info-v162,
html[data-theme="dark"] .cert-operation-details-v161,
html[data-theme="dark"] .cert-signer-row-v161,
html[data-theme="dark"] .cert-template-position-row-v161,
html[data-theme="dark"] .cert-type-block-v161,
html[data-theme="dark"] .cms-module-card-v241:hover,
html[data-theme="dark"] .committee-home-v71,
html[data-theme="dark"] .committee-mini-v71,
html[data-theme="dark"] .committee-record-row,
html[data-theme="dark"] .community-admin-app-body-v246,
html[data-theme="dark"] .community-admin-app-v246,
html[data-theme="dark"] .community-admin-kpis-v246>div{
 border-color:var(--v250-line)!important;
}

html[data-theme="dark"] .community-app-card-v246,
html[data-theme="dark"] .community-empty-v246,
html[data-theme="dark"] .community-feature-panel-v244,
html[data-theme="dark"] .community-home-columns-v244>div,
html[data-theme="dark"] .community-home-feature-v244,
html[data-theme="dark"] .community-home-stats-v244>a,
html[data-theme="dark"] .community-public-card-v244,
html[data-theme="dark"] .community-public-card-v244:hover,
html[data-theme="dark"] .community-public-empty-v244,
html[data-theme="dark"] .community-smart-stat-v244,
html[data-theme="dark"] .community-smart-stat-v244:hover,
html[data-theme="dark"] .community-timeline-v246>div,
html[data-theme="dark"] .content-cats-v71 .category-chip,
html[data-theme="dark"] .content-hub-v71,
html[data-theme="dark"] .content-lead-v71,
html[data-theme="dark"] .content-list-v71,
html[data-theme="dark"] .content-row-v71,
html[data-theme="dark"] .data-table td,
html[data-theme="dark"] .data-table th,
html[data-theme="dark"] .diagnostic-card-v230,
html[data-theme="dark"] .diagnostic-summary-v230,
html[data-theme="dark"] .digital-certificate-list-v174>div,
html[data-theme="dark"] .editor-help-v161,
html[data-theme="dark"] .editorial-empty,
html[data-theme="dark"] .entitlement-adjust-form-v121 input,
html[data-theme="dark"] .entitlement-adjust-form-v121 select,
html[data-theme="dark"] .event-burger,
html[data-theme="dark"] .event-check-grid .check-pill,
html[data-theme="dark"] .event-empty-v71,
html[data-theme="dark"] .event-empty-v91,
html[data-theme="dark"] .event-feature-panel-v91,
html[data-theme="dark"] .event-list-card-v91,
html[data-theme="dark"] .event-list-card-v91:hover,
html[data-theme="dark"] .event-meta-line-v91 span,
html[data-theme="dark"] .event-register-form .check-pill,
html[data-theme="dark"] .event-workspace-body) :where(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]),
html[data-theme="dark"] .event-workspace-topbar,
html[data-theme="dark"] .events-block-v91,
html[data-theme="dark"] .events-page-v91 .pagination,
html[data-theme="dark"] .events-search-v91,
html[data-theme="dark"] .final-empty-v248,
html[data-theme="dark"] .final-kpis-v248>div,
html[data-theme="dark"] .geo-summary-grid div,
html[data-theme="dark"] .historical-header-chips-v172 span,
html[data-theme="dark"] .history-box-v84{
 border-color:var(--v250-line)!important;
}

html[data-theme="dark"] .history-box-v84[open] summary,
html[data-theme="dark"] .history-item-v84,
html[data-theme="dark"] .home-v21 .btn,
html[data-theme="dark"] .inbox-delivery-error-v241,
html[data-theme="dark"] .inbox-row-v241,
html[data-theme="dark"] .inbox-row-v241.is-unread,
html[data-theme="dark"] .inbox-row-v241:hover,
html[data-theme="dark"] .inbox-summary-v241 article,
html[data-theme="dark"] .interest-pill-v84,
html[data-theme="dark"] .interested-actions-v84,
html[data-theme="dark"] .interested-info-v84,
html[data-theme="dark"] .interested-kpi-v84,
html[data-theme="dark"] .interested-status-tabs-v84 a,
html[data-theme="dark"] .invitation-account-v221,
html[data-theme="dark"] .invitation-code-v221,
html[data-theme="dark"] .invitation-document-v221,
html[data-theme="dark"] .invitation-response-v221,
html[data-theme="dark"] .invitation-summary-v221>div,
html[data-theme="dark"] .localization-base-v199,
html[data-theme="dark"] .localization-base-v199 img,
html[data-theme="dark"] .localization-edit-callout-v199,
html[data-theme="dark"] .localization-field-v199,
html[data-theme="dark"] .localization-help-v199,
html[data-theme="dark"] .localization-language-v199,
html[data-theme="dark"] .localization-mini-progress-v199 span,
html[data-theme="dark"] .localization-mini-progress-v199 span.is-default,
html[data-theme="dark"] .localization-mini-progress-v199 span.is-started,
html[data-theme="dark"] .localization-records-v199>a,
html[data-theme="dark"] .localization-save-v199,
html[data-theme="dark"] .localization-type-group-v199>a,
html[data-theme="dark"] .localization-workflow-v199 article>b,
html[data-theme="dark"] .membership-admin-kpis-v120 span,
html[data-theme="dark"] .membership-contract-v121,
html[data-theme="dark"] .membership-option-card-v126,
html[data-theme="dark"] .membership-option-head-v120,
html[data-theme="dark"] .membership-option-matrix-v120,
html[data-theme="dark"] .membership-option-meta-v126 span,
html[data-theme="dark"] .membership-option-row-v120,
html[data-theme="dark"] .membership-plan-admin-card-v126,
html[data-theme="dark"] .membership-plan-meta-v126 span,
html[data-theme="dark"] .membership-request-card-v126,
html[data-theme="dark"] .membership-request-numbers-v126 span,
html[data-theme="dark"] .membership-resource-card-v121,
html[data-theme="dark"] .membership-subscription-card-v126,
html[data-theme="dark"] .mini-code-v221{
 border-color:var(--v250-line)!important;
}

html[data-theme="dark"] .mini-empty-v71,
html[data-theme="dark"] .notice.slim,
html[data-theme="dark"] .past-event-row-v71 a,
html[data-theme="dark"] .past-events-v71,
html[data-theme="dark"] .payment-choice-list .check-pill,
html[data-theme="dark"] .payment-context-v81,
html[data-theme="dark"] .payment-module-checks-v81,
html[data-theme="dark"] .post-admin-file-row-v70,
html[data-theme="dark"] .post-article-shell-v39,
html[data-theme="dark"] .post-backbar-v39,
html[data-theme="dark"] .post-card-foot-v36 span,
html[data-theme="dark"] .post-card-foot-v36 time,
html[data-theme="dark"] .post-file-card-v70,
html[data-theme="dark"] .post-rich-v39 td,
html[data-theme="dark"] .post-rich-v39 th,
html[data-theme="dark"] .public-body .public-topbar,
html[data-theme="dark"] .public-menu-btn,
html[data-theme="dark"] .q-ms-control,
html[data-theme="dark"] .q-ms-dropdown,
html[data-theme="dark"] .reg-steps-v37 span,
html[data-theme="dark"] .reg-wizard-panel-v37,
html[data-theme="dark"] .registration-action-block-v157,
html[data-theme="dark"] .registration-card-v157,
html[data-theme="dark"] .registration-chips-v157 em,
html[data-theme="dark"] .registration-detail-block-v157,
html[data-theme="dark"] .registration-filters-v157,
html[data-theme="dark"] .registration-filters-v157 input,
html[data-theme="dark"] .registration-filters-v157 select,
html[data-theme="dark"] .registration-metric-v157,
html[data-theme="dark"] .registration-modal-head-v157,
html[data-theme="dark"] .reply-box-v84,
html[data-theme="dark"] .reply-box-v84[open] summary,
html[data-theme="dark"] .request-resolve-form-v121 input,
html[data-theme="dark"] .request-resolve-form-v121 select,
html[data-theme="dark"] .resource-empty-v71,
html[data-theme="dark"] .resource-panel-v71,
html[data-theme="dark"] .resource-row-v71,
html[data-theme="dark"] .review-box,
html[data-theme="dark"] .rich hr,
html[data-theme="dark"] .rich table,
html[data-theme="dark"] .rich table td,
html[data-theme="dark"] .rich table th,
html[data-theme="dark"] .rich-editor,
html[data-theme="dark"] .rich-editor table,
html[data-theme="dark"] .rich-editor table td{
 border-color:var(--v250-line)!important;
}

html[data-theme="dark"] .rich-editor table th,
html[data-theme="dark"] .rich-textarea.is-html-mode,
html[data-theme="dark"] .rich-toolbar,
html[data-theme="dark"] .rich-toolbar button,
html[data-theme="dark"] .rich-toolbar select.rich-select,
html[data-theme="dark"] .rich-toolbar-group,
html[data-theme="dark"] .scheduler-kpis-v247>div,
html[data-theme="dark"] .sede-admin-note-v88,
html[data-theme="dark"] .settings-form code,
html[data-theme="dark"] .sidebar-toggle,
html[data-theme="dark"] .timeline-item-v230 pre,
html[data-theme="dark"] .top-bell-btn-v90,
html[data-theme="dark"] .top-bell-menu-v90,
html[data-theme="dark"] .top-bell-v90[open] .top-bell-btn-v90,
html[data-theme="dark"] .ux-action-card-v247,
html[data-theme="dark"] .ux-notice-list-v247>a,
html[data-theme="dark"] .ux-stat-v247,
html[data-theme="dark"] .window-strip-v86 span,
html[data-theme="dark"] :where(.ie-shell,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea){
 border-color:var(--v250-line)!important;
}


/* Components discovered repeatedly throughout the application */
html[data-theme="dark"] .soft-card,
html[data-theme="dark"] .mini-card,
html[data-theme="dark"] .check-card,
html[data-theme="dark"] .workspace-section,
html[data-theme="dark"] .side-note,
html[data-theme="dark"] .option-card-v214,
html[data-theme="dark"] .sede-row-card-v88,
html[data-theme="dark"] .document-emission-card-v134,
html[data-theme="dark"] .user-payment-action-card-v156,
html[data-theme="dark"] .pwa-check-v94,
html[data-theme="dark"] .pwa-flow-v94 li,
html[data-theme="dark"] .pwa-device-v94,
html[data-theme="dark"] .cert-form-section-v103,
html[data-theme="dark"] .cert-builder-panel-v103,
html[data-theme="dark"] .cert-preview-panel-v103,
html[data-theme="dark"] .cert-advanced-v103,
html[data-theme="dark"] .event-list-card-v91,
html[data-theme="dark"] .events-block-v91,
html[data-theme="dark"] .event-empty-v91,
html[data-theme="dark"] .events-page-v91 .pagination,
html[data-theme="dark"] .agenda-note-v92{
 background:var(--v250-panel)!important;color:var(--v250-text)!important;border-color:var(--v250-line)!important
}
html[data-theme="dark"] .event-list-card-v91.is-past,
html[data-theme="dark"] .event-list-media-v91,
html[data-theme="dark"] .cert-visual-field-v103 select,
html[data-theme="dark"] .cert-visual-field-v103 input{
 background:var(--v250-panel2)!important;color:var(--v250-text)!important;border-color:var(--v250-line)!important
}
html[data-theme="dark"] .event-meta-line-v91 span,
html[data-theme="dark"] .events-block-head-v91 small,
html[data-theme="dark"] .pwa-check-v94 small,
html[data-theme="dark"] .pwa-device-v94 small,
html[data-theme="dark"] .pwa-device-v94 p,
html[data-theme="dark"] .pwa-flow-v94 span,
html[data-theme="dark"] .cert-form-section-title-v103 span:not(.badge){
 color:var(--v250-muted)!important
}

/* Ensure every modal/table/list remains visible regardless of module-specific old CSS */
html[data-theme="dark"] .modal-backdrop .modal-card,
html[data-theme="dark"] .table-wrap,
html[data-theme="dark"] .data-table,
html[data-theme="dark"] .admin-table{
 background:var(--v250-panel)!important;color:var(--v250-text)!important;border-color:var(--v250-line)!important
}
html[data-theme="dark"] .table-wrap *,
html[data-theme="dark"] .data-table *,
html[data-theme="dark"] .admin-table *{
 border-color:var(--v250-line)
}

/* Accessibility: focus works in both themes */
:where(a,button,input,select,textarea,summary,[tabindex]):focus-visible{
 outline:3px solid color-mix(in srgb,var(--v250-primary) 42%,transparent)!important;
 outline-offset:2px!important
}
