/*
 * FADI TEC - light/dark audit, November 2026.
 * Consolidates semantic colors across public pages, customer portal, admin,
 * settings, gallery and checkout. Must load AFTER app.css, settings-ui.css,
 * and header-ux.css. All resources are local; no CSS frameworks or CDNs.
 */
html[data-theme="light"] {
  color-scheme:light;
  --ui-canvas:#f5f7fa;
  --ui-surface:#ffffff;
  --ui-surface-alt:#f0f4f8;
  --ui-surface-hover:#e9eef5;
  --ui-heading:#192536;
  --ui-text:#34445a;
  --ui-secondary:#52647a;
  --ui-muted:#5a6b80;
  --ui-line:#dce4ee;
  --ui-accent:#bd1b2b;
  --ui-accent-hover:#a31323;
  --ui-link:#a81526;
  --ui-danger:#a71d31;
  --ui-focus:#ca293a;
  --ui-success:#146849;
  --ui-warning:#8d540e;
  --ui-input:#ffffff;
  --ui-shadow:0 14px 38px rgba(22,33,50,.06);
  --ft-bg:var(--ui-canvas);
  --ft-panel:var(--ui-surface);
  --ft-ink:var(--ui-heading);
  --ft-subtle:var(--ui-muted);
  --ft-line:var(--ui-line);
  --ft-shadow:var(--ui-shadow);
}
html[data-theme="dark"] {
  color-scheme:dark;
  --ui-canvas:#101722;
  --ui-surface:#1b2737;
  --ui-surface-alt:#253448;
  --ui-surface-hover:#304258;
  --ui-heading:#f3f7fc;
  --ui-text:#d9e3ef;
  --ui-secondary:#c2cfdd;
  --ui-muted:#a8b9ca;
  --ui-line:#35455a;
  --ui-accent:#f47b86;
  --ui-accent-hover:#ff9da5;
  --ui-link:#ff8994;
  --ui-danger:#ffa0a9;
  --ui-focus:#ff8994;
  --ui-success:#83e0b8;
  --ui-warning:#f5ca8a;
  --ui-input:#121d2b;
  --ui-shadow:0 14px 38px rgba(0,0,0,.23);
  --ft-bg:var(--ui-canvas);
  --ft-panel:var(--ui-surface);
  --ft-ink:var(--ui-heading);
  --ft-subtle:var(--ui-muted);
  --ft-line:var(--ui-line);
  --ft-shadow:var(--ui-shadow);
  --ink:var(--ui-heading);
  --body:var(--ui-secondary);
  --muted:var(--ui-muted);
  --bg:var(--ui-canvas);
  --surface:var(--ui-surface);
  --border:var(--ui-line);
  --shadow:var(--ui-shadow);
}
html,body{min-width:0}
body{transition:background-color .22s ease,color .22s ease}
button,input,select,textarea{accent-color:#c52234}
:where(a,button,input,select,textarea,[role="button"]):focus-visible{outline:3px solid var(--ui-focus)!important;outline-offset:3px}
::selection{background:#cf3a4b;color:#fff}
html[data-theme="dark"] ::selection{background:#a52032;color:#fff}
/* Stable accent color and legible controls in both schemes. */
.btn-primary{background:#c51c2e;color:#fff;box-shadow:0 8px 20px rgba(197,28,46,.16)}
.btn-primary:hover{background:#a41627;color:#fff}
.btn-primary:focus-visible,.btn-dark:focus-visible{outline-offset:3px}
html[data-theme="dark"] .btn-primary{background:#ca2437;color:#fff;box-shadow:0 10px 22px rgba(0,0,0,.20)}
html[data-theme="dark"] .btn-primary:hover{background:#d32e40;color:#fff}
html[data-theme="light"] .btn-soft{color:#2b3d53;background:#eef2f7;border-color:#d6e0eb}
html[data-theme="light"] .btn-soft:hover{color:#172739;background:#e4ebf5}
html[data-theme="dark"] .btn-soft,html[data-theme="dark"] .btn-dark{color:#f0f5fb;background:#304055;border-color:#435770}
html[data-theme="dark"] .btn-soft:hover,html[data-theme="dark"] .btn-dark:hover{color:#fff;background:#3a4e66}
html[data-theme="dark"] .btn-white{background:#fff;color:#8c1321}
html[data-theme="dark"] .btn-white:hover{background:#f7e7ea;color:#8c1321}
html[data-theme="dark"] .text-link,html[data-theme="dark"] .small-link{color:var(--ui-link)}
html[data-theme="light"] .text-link,html[data-theme="light"] .small-link{color:var(--ui-link)}
html[data-theme="dark"] .overline{color:#ff8c98}
html[data-theme="light"] .overline{color:#b31828}
html[data-theme="dark"] .badge-success{background:#123e31;color:#92f1c5}
html[data-theme="dark"] .badge-danger{background:#4b2731;color:#ffb9c1}
html[data-theme="dark"] .badge-warning{background:#483822;color:#ffdea5}
html[data-theme="dark"] .badge-info{background:#243d58;color:#b9d9ff}
html[data-theme="dark"] .badge-neutral,html[data-theme="dark"] .badge-muted{background:#334255;color:#e1e9f3}
html[data-theme="dark"] .alert-success,html[data-theme="dark"] .success-callout{background:#143b30;border-color:#28644d;color:#a4f1c9}
html[data-theme="dark"] .alert-danger{background:#4b2530;border-color:#834051;color:#ffc6ce}
html[data-theme="dark"] .info-callout{background:#23384f;border-color:#3c5670;color:#d5e6fb}
html[data-theme="dark"] .empty-state,html[data-theme="dark"] .empty-message,html[data-theme="dark"] .no-data{color:#bdcada!important}

/* Public site: typography, alternating sections and trustworthy contrast. */
html[data-theme="light"] .site-layout{background:#fff;color:var(--ui-heading)}
html[data-theme="light"] .site-layout .site-nav a{color:#35455a}
html[data-theme="light"] .site-layout .ea-trust{background:#f1f5fa}
html[data-theme="light"] .site-layout .ea-trust-inner strong{color:#253851}
html[data-theme="light"] .site-layout .ea-trust-inner span,html[data-theme="light"] .site-layout .ea-trust-source{color:#586a80}
html[data-theme="light"] .site-layout .ea-section-heading h2{color:var(--ui-heading)}
html[data-theme="light"] .site-layout .ea-section-heading p,html[data-theme="light"] .site-layout .ea-feature-card p,html[data-theme="light"] .site-layout .ea-gallery-label small,html[data-theme="light"] .site-layout .ea-download-url{color:#53657a}
html[data-theme="light"] .site-layout .ea-gallery-label strong{color:#263b50}
html[data-theme="light"] .site-layout .ea-heading-link,html[data-theme="light"] .site-layout .ea-guide-link{color:#a61728}
html[data-theme="light"] .site-layout .ea-trial-guide ol,html[data-theme="light"] .site-layout .ea-process-grid p{color:#4d6076}
html[data-theme="light"] .site-layout .ea-trial-guide li::marker{color:#a91727}
html[data-theme="light"] .site-layout .ea-preview-heading small,html[data-theme="light"] .site-layout .ea-preview-cards small{color:#596d85}
html[data-theme="light"] .site-layout .ea-hero-note{color:#bdcce0}
html[data-theme="light"] .site-layout .ea-final-cta p{color:#e2e9f2}
html[data-theme="light"] .site-layout .ea-process-grid article>b{color:#677991}
html[data-theme="light"] .site-layout .ea-gallery-count{color:#4b607a}
html[data-theme="light"] .site-layout .ea-preview-hint{color:#536b86}
html[data-theme="light"] .site-layout .ea-guide-link:hover,html[data-theme="light"] .site-layout .ea-heading-link:hover{color:#88101d}
html[data-theme="light"] .site-layout .plan-card p,html[data-theme="light"] .site-layout .plan-duration,html[data-theme="light"] .site-layout .check-list{color:#4d5e73}
html[data-theme="light"] .site-layout .plan-price small{color:#4b617c}
html[data-theme="light"] .site-layout .page-hero{background:linear-gradient(135deg,#f4f6fa,#edf2f7);border-color:#dbe3ee}

html[data-theme="dark"] .site-layout{background:var(--ui-canvas);color:var(--ui-heading)}
html[data-theme="dark"] .site-layout .site-header{background:#1b2635;border-bottom-color:#35445a}
html[data-theme="dark"] .site-layout .top-strip{background:#0a111c;color:#d5e0ed}
html[data-theme="dark"] .site-layout .theme-switch-site{background:#29394c;color:#f4f8fc;border-color:#46576b}
html[data-theme="dark"] .site-layout .site-nav a{color:#e3eaf3}
html[data-theme="dark"] .site-layout .site-nav a:hover,html[data-theme="dark"] .site-layout .site-nav a:focus-visible{color:#ff9fa8}
html[data-theme="dark"] .site-layout .ea-hero{background:radial-gradient(circle at 74% 36%,#204066 0%,#132844 34%,#0b182b 82%)}
html[data-theme="dark"] .site-layout .ea-hero h1{color:#f8fbff}
html[data-theme="dark"] .site-layout .ea-hero h1 span{color:#bfd2ff}
html[data-theme="dark"] .site-layout .ea-hero-lead{color:#d0dcec}
html[data-theme="dark"] .site-layout .ea-hero-note{color:#b5c7db}
html[data-theme="dark"] .site-layout .ea-pill{color:#e1eefb;background:#ffffff13;border-color:#ffffff30}
html[data-theme="dark"] .site-layout .ea-hero-benefits{color:#d8e6f5}
/* Keep the illustrated fake-app light regardless of the website theme. */
html[data-theme="dark"] .site-layout .ea-app-preview{background:#fff;color:#172947}
html[data-theme="dark"] .site-layout .ea-app-preview strong,html[data-theme="dark"] .site-layout .ea-app-preview b{color:#182c46}
html[data-theme="dark"] .site-layout .ea-app-preview small,html[data-theme="dark"] .site-layout .ea-app-preview .ea-preview-heading small{color:#526782}
html[data-theme="dark"] .site-layout .ea-app-preview .ea-preview-row{color:#546b84}
html[data-theme="dark"] .site-layout .ea-app-preview .ea-preview-row em{color:#137451}
html[data-theme="dark"] .site-layout .ea-trust{background:#1b2a3b;border-bottom:1px solid #324458}
html[data-theme="dark"] .site-layout .ea-trust-inner>div{border-color:#34495f}
html[data-theme="dark"] .site-layout .ea-trust-inner strong{color:#f5f8fd}
html[data-theme="dark"] .site-layout .ea-trust-inner span{color:#c5d2e1}
html[data-theme="dark"] .site-layout .ea-trust-source{color:#acbfd3}
html[data-theme="dark"] .site-layout .ea-section,html[data-theme="dark"] .site-layout .ea-experience,html[data-theme="dark"] .site-layout .ea-process,html[data-theme="dark"] .site-layout .plans-section,html[data-theme="dark"] .site-layout .quick-steps{background:var(--ui-canvas)}
html[data-theme="dark"] .site-layout .ea-screens-section,html[data-theme="dark"] .site-layout .ea-download{background:#172434}
html[data-theme="dark"] .site-layout .ea-section-heading h2,html[data-theme="dark"] .site-layout .section-title h2{color:#f2f6fc}
html[data-theme="dark"] .site-layout .ea-section-heading p,html[data-theme="dark"] .site-layout .section-title p{color:#c3d0df}
html[data-theme="dark"] .site-layout .ea-heading-link,html[data-theme="dark"] .site-layout .ea-guide-link{color:#ff95a0}
html[data-theme="dark"] .site-layout .ea-heading-link:hover,html[data-theme="dark"] .site-layout .ea-guide-link:hover{color:#ffd0d4}
html[data-theme="dark"] .site-layout .ea-feature-card,html[data-theme="dark"] .site-layout .ea-gallery-item,html[data-theme="dark"] .site-layout .ea-gallery-pending,html[data-theme="dark"] .site-layout .ea-trial-guide,html[data-theme="dark"] .site-layout .ea-process-grid article,html[data-theme="dark"] .site-layout .feature-card,html[data-theme="dark"] .site-layout .plan-card,html[data-theme="dark"] .site-layout .panel{background:var(--ui-surface);border-color:var(--ui-line);box-shadow:var(--ui-shadow);color:var(--ui-heading)}
html[data-theme="dark"] .site-layout .ea-feature-card h3,html[data-theme="dark"] .site-layout .ea-gallery-label strong,html[data-theme="dark"] .site-layout .ea-gallery-pending h3{color:#f3f7fc}
html[data-theme="dark"] .site-layout .ea-feature-card p,html[data-theme="dark"] .site-layout .ea-gallery-label small,html[data-theme="dark"] .site-layout .ea-gallery-pending p{color:#c3cfdd}
html[data-theme="dark"] .site-layout .ea-feature-icon{background:#2a3d59;color:#c9d9ff}
html[data-theme="dark"] .site-layout .ea-feature-card:nth-child(4n+2) .ea-feature-icon{background:#1d4c44;color:#9af0d5}
html[data-theme="dark"] .site-layout .ea-feature-card:nth-child(4n+3) .ea-feature-icon{background:#45365a;color:#ebc5ff}
html[data-theme="dark"] .site-layout .ea-feature-card:nth-child(4n+4) .ea-feature-icon{background:#4b3b31;color:#ffd1a0}
html[data-theme="dark"] .site-layout .ea-gallery-count{background:#27384a;color:#e5edf7;border-color:#41526a}
html[data-theme="dark"] .site-layout .ea-gallery-thumb{background:#2a3b50}
html[data-theme="dark"] .site-layout .ea-gallery-pending-icon{background:#37465e;color:#f7a7ae}
html[data-theme="dark"] .site-layout .ea-pending-screens span{background:#3a2b39;color:#ffd1d6}
html[data-theme="dark"] .site-layout .ea-experience-card{background:linear-gradient(125deg,#202f43,#1b2839);border-color:#36495e}
html[data-theme="dark"] .site-layout .ea-experience-card h2{color:#f5f8fc}
html[data-theme="dark"] .site-layout .ea-experience-card p{color:#c9d5e3}
html[data-theme="dark"] .site-layout .ea-play-decoration{background:#293e5a;color:#f4f7fe}
html[data-theme="dark"] .site-layout .ea-play-decoration small{color:#d4e1f6}
html[data-theme="dark"] .site-layout .ea-download h2{color:#f3f7fc}
html[data-theme="dark"] .site-layout .ea-download p{color:#c6d3e2}
html[data-theme="dark"] .site-layout .ea-download-url{color:#adbed1}
html[data-theme="dark"] .site-layout .ea-download-mark,html[data-theme="dark"] .site-layout .ea-process-grid article>span{background:#3d303e;color:#ffbac2}
html[data-theme="dark"] .site-layout .ea-trial-guide h3{color:#f4f7fc}
html[data-theme="dark"] .site-layout .ea-trial-guide ol{color:#c8d4e4}
html[data-theme="dark"] .site-layout .ea-trial-guide li::marker{color:#ff9ba6}
html[data-theme="dark"] .site-layout .ea-process-grid article{border-color:#415168}
html[data-theme="dark"] .site-layout .ea-process-grid article>b{color:#b5c8dc}
html[data-theme="dark"] .site-layout .ea-process-grid article h3{color:#f3f7fb}
html[data-theme="dark"] .site-layout .ea-process-grid article p{color:#bdcbdc}
html[data-theme="dark"] .site-layout .ea-final-cta{background:linear-gradient(120deg,#822331,#1d2534);border:1px solid #743844}
html[data-theme="dark"] .site-layout .ea-final-cta h2{color:#fff}
html[data-theme="dark"] .site-layout .ea-final-cta p{color:#e6dce5}
html[data-theme="dark"] .site-layout .ea-final-cta .overline{color:#ffcad0}
html[data-theme="dark"] .site-layout .plan-card.featured{border-color:#f16f7c}
html[data-theme="dark"] .site-layout .plan-card h3,html[data-theme="dark"] .site-layout .plan-price{color:#f5f8fc}
html[data-theme="dark"] .site-layout .plan-card p,html[data-theme="dark"] .site-layout .plan-price small,html[data-theme="dark"] .site-layout .plan-duration,html[data-theme="dark"] .site-layout .check-list{color:#c4d2e2}
html[data-theme="dark"] .site-layout .plan-divider{background:var(--ui-line)}
html[data-theme="dark"] .site-layout .plan-icon{background:#2b3f5a;color:#d5e5ff}
html[data-theme="dark"] .site-layout .plan-ribbon{background:#d7e5ff;color:#253a5c}
html[data-theme="dark"] .site-layout .check-list li::before{color:#81e7b3}
html[data-theme="dark"] .site-layout .last-cta{background:#233447;border-color:#43546c}
html[data-theme="dark"] .site-layout .page-hero{background:linear-gradient(120deg,#1d2d40,#152335);border-bottom-color:#34475f}
html[data-theme="dark"] .site-layout .page-hero h1{color:#f5f8fd}
html[data-theme="dark"] .site-layout .page-hero p{color:#c5d2df}
/* Checkout, customer dashboard, license lookup and admin forms. */
html[data-theme="light"] .form-group small,html[data-theme="light"] .field-help,html[data-theme="light"] .detail-grid span,html[data-theme="light"] .payment-detail span,html[data-theme="light"] .data-table td .table-sub{color:#586b81}
html[data-theme="light"] .form-group label,html[data-theme="light"] .panel form>label,html[data-theme="light"] .stack-form>label{color:#31445e}
html[data-theme="light"] .data-table th{color:#4e6177}
html[data-theme="light"] .data-table td{color:#34465e}
html[data-theme="light"] .customer-toolbar span,html[data-theme="light"] .steps-list li,html[data-theme="light"] .payment-detail b{color:#394b63}
html[data-theme="dark"] .form-control,html[data-theme="dark"] input.form-control,html[data-theme="dark"] select.form-control,html[data-theme="dark"] textarea.form-control{background:var(--ui-input);border-color:#526277;color:#f1f6fd}
html[data-theme="dark"] .form-control::placeholder{color:#a5b4c6;opacity:1}
html[data-theme="dark"] .form-control:focus{border-color:#fc8a97;box-shadow:0 0 0 3px rgba(244,123,134,.19)}
html[data-theme="dark"] .form-group label,html[data-theme="dark"] .panel form>label,html[data-theme="dark"] .stack-form>label{color:#e4edf7}
html[data-theme="dark"] .form-group small,html[data-theme="dark"] .field-help{color:#b7c7d8}
html[data-theme="dark"] .panel-heading h2,html[data-theme="dark"] .panel-heading p,html[data-theme="dark"] .left-title h2{color:var(--ui-heading)}
html[data-theme="dark"] .panel-icon,html[data-theme="dark"] .aside-icon{background:#3d3043;color:#ffb6c0}
html[data-theme="dark"] .aside-card{background:#223348;border-color:#3f526c}
html[data-theme="dark"] .aside-card h3,html[data-theme="dark"] .aside-card p{color:#dfe8f5}
html[data-theme="dark"] .steps-list li{color:#c9d5e4}
html[data-theme="dark"] .steps-list li span{background:#314359;border-color:#4a5e78;color:#f3f8fd}
html[data-theme="dark"] .check-label,html[data-theme="dark"] .check-label span{color:#d4e0ed!important}
html[data-theme="dark"] .payment-choice-content{background:#1b2737;border-color:#3e5066;color:#eaf1f8}
html[data-theme="dark"] .payment-choice input:checked+.payment-choice-content{background:#273547;border-color:#f27b88;box-shadow:0 0 0 3px rgba(242,123,136,.15)}
html[data-theme="dark"] .payment-title strong,html[data-theme="dark"] .payment-detail b{color:#eef5fc}
html[data-theme="dark"] .payment-detail{border-top-color:#3a4b60}
html[data-theme="dark"] .payment-detail span,html[data-theme="dark"] .payment-proof small,html[data-theme="dark"] .method-instructions{color:#bdcada}
html[data-theme="dark"] .method-logo,html[data-theme="dark"] .method-qr{background:#fff;border-color:#dae2ec}
html[data-theme="dark"] .method-fallback{background:#31445b;color:#ffd6dc}
html[data-theme="dark"] .detail-grid strong{color:#f0f5fc}
html[data-theme="dark"] .detail-grid span{color:#b7c6d7}
html[data-theme="dark"] .customer-toolbar span{color:#d7e1ed}
html[data-theme="dark"] .activation-box{background:#27374b;border-color:#6782a0}
html[data-theme="dark"] .activation-box small{color:#bfcfe1}
html[data-theme="dark"] .activation-box strong{color:#f3f8fc}
html[data-theme="dark"] .data-table th{background:#26374a;color:#d3dfea;border-bottom-color:#42566c}
html[data-theme="dark"] .data-table td{color:#e4edf6;border-bottom-color:#36485d}
html[data-theme="dark"] .data-table a{color:#ff929e}
html[data-theme="dark"] .data-table td .table-sub{color:#b5c5d8}
html[data-theme="dark"] .no-data{color:#b7c6d7!important}
html[data-theme="dark"] .mini-payment{border-bottom-color:#3f5064}
html[data-theme="dark"] .mini-payment small{color:#c1cfdf}
html[data-theme="dark"] .result-header h2,html[data-theme="dark"] .result-header h3{color:#f3f8fc}
html[data-theme="dark"] .error-number{color:#8b9fb8}
html[data-theme="dark"] .form-section-title{color:#dce7f6;border-top-color:#394b60}
html[data-theme="dark"] .install-page,html[data-theme="dark"] .auth-page{background:var(--ui-canvas);color:var(--ui-heading)}
html[data-theme="dark"] .auth-right,html[data-theme="dark"] .auth-card{background:var(--ui-canvas)}
html[data-theme="dark"] .auth-title h2,html[data-theme="dark"] .auth-title p{color:#edf3fa}
html[data-theme="dark"] .install-checks .requirement{border-color:#3c4d64;color:#e5edf7}
/* Administrative application, not just the settings form. */
html[data-theme="light"] .admin-layout .stat-top,html[data-theme="light"] .admin-layout .stat-card>small,html[data-theme="light"] .admin-layout .admin-user-chip small{color:#52657b}
html[data-theme="light"] .admin-layout .settings-logo-help,html[data-theme="light"] .admin-layout .settings-asset-card p,html[data-theme="light"] .admin-layout .settings-logo-location{color:#51647a}
html[data-theme="light"] .admin-layout .settings-nav-title,html[data-theme="light"] .admin-layout .settings-section-nav>a{color:#4f6176}
html[data-theme="light"] .admin-layout .settings-logo-status{color:#43576a}
html[data-theme="dark"] .admin-layout{background:var(--ui-canvas);color:var(--ui-heading)}
html[data-theme="dark"] .admin-layout .admin-sidebar{background:#161f2c;border-left-color:#344357}
html[data-theme="dark"] .admin-layout .admin-topbar{background:#1c2736;border-bottom-color:#35465a}
html[data-theme="dark"] .admin-layout .admin-main{background:var(--ui-canvas)}
html[data-theme="dark"] .admin-layout .panel,html[data-theme="dark"] .admin-layout .stat-card,html[data-theme="dark"] .admin-layout .settings-section,html[data-theme="dark"] .admin-layout .settings-section-nav,html[data-theme="dark"] .admin-layout .settings-overview-item{background:var(--ui-surface);border-color:var(--ui-line);color:var(--ui-heading)}
html[data-theme="dark"] .admin-layout .page-heading h1,html[data-theme="dark"] .admin-layout .page-heading p,html[data-theme="dark"] .admin-layout .admin-card-head h2{color:#f0f6fc}
html[data-theme="dark"] .admin-layout .stat-top,html[data-theme="dark"] .admin-layout .stat-card>small,html[data-theme="dark"] .admin-layout .admin-user-chip small{color:#c1cfdd}
html[data-theme="dark"] .admin-layout .stat-card>strong,html[data-theme="dark"] .admin-layout .revenue-amount{color:#f6f9fd}
html[data-theme="dark"] .admin-layout .stat-icon.blue{background:#284367;color:#aacaef}
html[data-theme="dark"] .admin-layout .stat-icon.green{background:#174a3e;color:#a0edcc}
html[data-theme="dark"] .admin-layout .stat-icon.orange{background:#493a2c;color:#f4d49d}
html[data-theme="dark"] .admin-layout .stat-icon.purple{background:#443558;color:#e5c5fa}
html[data-theme="dark"] .admin-layout .revenue-amount small,html[data-theme="dark"] .admin-layout .empty-mini{color:#b9c9da}
html[data-theme="dark"] .admin-layout .quick-links a{color:#e0e9f4}
html[data-theme="dark"] .admin-layout .quick-links a:hover{background:#2d3f54;color:#fff}
html[data-theme="dark"] .admin-layout .quick-links a span{background:#33475f;color:#f4b4bc}
html[data-theme="dark"] .admin-layout .admin-breadcrumb,html[data-theme="dark"] .admin-layout .admin-breadcrumb span{color:#c0ccda}
html[data-theme="dark"] .admin-layout .admin-user-chip strong{color:#f0f6fc}
html[data-theme="dark"] .admin-layout .toolbar label,html[data-theme="dark"] .admin-layout .filter-toolbar label{color:#d7e1ed}
html[data-theme="dark"] .admin-layout .data-table th{background:#26374a;color:#d6e2ef}
html[data-theme="dark"] .admin-layout .data-table td{color:#e4edf6;border-color:#3a4c61}
html[data-theme="dark"] .admin-layout .method-account,html[data-theme="dark"] .admin-layout .quick-links a span{border-color:#35485c}
html[data-theme="dark"] .admin-layout .method-account{background:#25364a;color:#d0deeb}
html[data-theme="dark"] .admin-layout .events-list .event,html[data-theme="dark"] .admin-layout .payment-proof{border-color:#35465b}
html[data-theme="dark"] .admin-layout .event strong{color:#e9f1f9}
html[data-theme="dark"] .admin-layout .event small{color:#b7c5d4}
html[data-theme="dark"] .admin-layout .event-dot{background:#fa7d88;box-shadow:0 0 0 4px #473341}
html[data-theme="dark"] .admin-layout .settings-header h1,html[data-theme="dark"] .admin-layout .settings-section-title h2,html[data-theme="dark"] .admin-layout .settings-security h2{color:var(--ui-heading)}
html[data-theme="dark"] .admin-layout .settings-header p,html[data-theme="dark"] .admin-layout .settings-section-title p,html[data-theme="dark"] .admin-layout .settings-security p{color:#c4d0de}
html[data-theme="dark"] .admin-layout .settings-overview-item strong,html[data-theme="dark"] .admin-layout .settings-asset-card h3,html[data-theme="dark"] .admin-layout .settings-logo-card h3{color:#f2f6fb}
html[data-theme="dark"] .admin-layout .settings-overview-item small,html[data-theme="dark"] .admin-layout .settings-logo-location,html[data-theme="dark"] .admin-layout .settings-logo-help,html[data-theme="dark"] .admin-layout .settings-asset-card p,html[data-theme="dark"] .admin-layout .settings-asset-info small,html[data-theme="dark"] .admin-layout .settings-card-bottom-note{color:#c1cede}
html[data-theme="dark"] .admin-layout .settings-logo-card,html[data-theme="dark"] .admin-layout .settings-asset-card{background:#223246;border-color:#3b4e65}
html[data-theme="dark"] .admin-layout .settings-logo-preview.is-day{background:#fff}
html[data-theme="dark"] .admin-layout .settings-logo-preview.is-night{background:#142132;border-color:#3b516b}
html[data-theme="dark"] .admin-layout .settings-logo-status{background:#394b60;color:#e6edf6}
html[data-theme="dark"] .admin-layout .settings-logo-status.is-custom{background:#18553e;color:#b8f7d7}
html[data-theme="dark"] .admin-layout .settings-nav-title,html[data-theme="dark"] .admin-layout .settings-section-nav>a{color:#c4d0dd}
html[data-theme="dark"] .admin-layout .settings-nav-tip{background:#352b35;color:#f2cdd3;border-color:#66404b}
html[data-theme="dark"] .admin-layout .settings-guidance{background:#293f57;color:#d5e6f7}
html[data-theme="dark"] .admin-layout .settings-general-form .form-group label{color:#d7e1ed}
html[data-theme="dark"] .admin-layout .settings-general-form .form-group small{color:#bccbdd}
html[data-theme="dark"] .admin-layout .settings-form-footer,html[data-theme="dark"] .admin-layout .settings-logo-form .settings-file-label{color:#d7e2ee}
html[data-theme="dark"] .admin-layout .settings-file-label{background:#2c3e53;border-color:#53667c}
html[data-theme="dark"] .admin-layout .settings-file-label:hover{background:#3b3341;border-color:#f38b96}
html[data-theme="dark"] .admin-layout .settings-section-tag,html[data-theme="dark"] .admin-layout .settings-mini-badge{background:#194e3b;color:#b6f2d6}
html[data-theme="dark"] .admin-layout .settings-logo-preview.is-night .settings-preview-indicator{background:#26374d;color:#e0eaf6}
html[data-theme="dark"] .admin-layout .settings-reset-btn{color:#ffc0c6}
html[data-theme="dark"] .admin-layout .settings-asset-icon{background:#314765;color:#bcd6ff}
html[data-theme="dark"] .admin-layout .settings-asset-icon.icon-red,html[data-theme="dark"] .admin-layout .settings-security-icon{background:#4c2c3a;color:#ffc2c7}
html[data-theme="dark"] .admin-layout .settings-form-footer{border-top-color:#405268}
/* A11y: keep user-visible typography comfortable, including tables. */
.site-layout .ea-trust-source,.site-layout .ea-gallery-label small,.site-layout .ea-trial-guide ol,.site-layout .plan-duration,.site-layout .check-list{line-height:1.9}
html[data-theme="dark"] .site-layout .ea-screens-section .ea-gallery-count,html[data-theme="dark"] .site-layout .settings-section-tag{font-weight:800}
@media (max-width:900px){html[data-theme="dark"] .site-header .site-nav.open{background:#1b2838;border-color:#3c4d62}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}body{transition:none}.btn{transition:none}}
/* Final audit: settings eyebrow and microcopy remain legible on dark cards. */
html[data-theme="dark"] .admin-layout .settings-kicker,
html[data-theme="dark"] .admin-layout .settings-section-eyebrow{color:#ff9aa5}
html[data-theme="dark"] .admin-layout .settings-nav-tip .svg-inline--fa{color:#ff9aa5}
html[data-theme="dark"] .admin-layout .settings-logo-preview.is-day .settings-preview-indicator{background:#fff;color:#334155}
html[data-theme="dark"] .admin-layout .settings-logo-preview.is-night .settings-preview-indicator{background:#25384d;color:#e6eef8}
html[data-theme="dark"] .admin-layout .settings-general-form .form-control:focus{border-color:#fc8a97;box-shadow:0 0 0 3px rgba(244,123,134,.18)}
