/* PressFly 3.5.87 — final component-based dark theme layer */
html.dark-mode-site,
html.dark-mode,
html[data-theme="dark"] {
  color-scheme: dark;
  --pf-page:#070d18;
  --pf-surface:#0f172a;
  --pf-surface-2:#111c30;
  --pf-surface-3:#17233a;
  --pf-border:#2a3950;
  --pf-text:#eef4ff;
  --pf-muted:#a8b5c8;
  --pf-input:#091321;
  --pf-blue:#60a5fa;
}

/* Admin/settings pages: explicit selectors intentionally avoid :is() so every supported browser applies them. */
html.dark-mode-site body.pf-admin-flat,
html.dark-mode body.pf-admin-flat,
html[data-theme="dark"] body.pf-admin-flat,
html.dark-mode-site body.pf-admin-flat .content-wrapper,
html.dark-mode body.pf-admin-flat .content-wrapper,
html[data-theme="dark"] body.pf-admin-flat .content-wrapper,
html.dark-mode-site body.pf-admin-flat .content,
html.dark-mode body.pf-admin-flat .content,
html[data-theme="dark"] body.pf-admin-flat .content {
  background:var(--pf-page)!important;
  color:var(--pf-text)!important;
}

html.dark-mode-site body.pf-admin-flat .pf-settings-command,
html.dark-mode body.pf-admin-flat .pf-settings-command,
html[data-theme="dark"] body.pf-admin-flat .pf-settings-command,
html.dark-mode-site body.pf-admin-flat .pf-settings-health-card,
html.dark-mode body.pf-admin-flat .pf-settings-health-card,
html[data-theme="dark"] body.pf-admin-flat .pf-settings-health-card,
html.dark-mode-site body.pf-admin-flat .pf-settings-summary-card,
html.dark-mode body.pf-admin-flat .pf-settings-summary-card,
html[data-theme="dark"] body.pf-admin-flat .pf-settings-summary-card,
html.dark-mode-site body.pf-admin-flat .pf-settings-module-card,
html.dark-mode body.pf-admin-flat .pf-settings-module-card,
html[data-theme="dark"] body.pf-admin-flat .pf-settings-module-card,
html.dark-mode-site body.pf-admin-flat .pf-settings-tabs-card,
html.dark-mode body.pf-admin-flat .pf-settings-tabs-card,
html[data-theme="dark"] body.pf-admin-flat .pf-settings-tabs-card,
html.dark-mode-site body.pf-admin-flat .settings-tabs-card,
html.dark-mode body.pf-admin-flat .settings-tabs-card,
html[data-theme="dark"] body.pf-admin-flat .settings-tabs-card,
html.dark-mode-site body.pf-admin-flat #form-settings .card,
html.dark-mode body.pf-admin-flat #form-settings .card,
html[data-theme="dark"] body.pf-admin-flat #form-settings .card,
html.dark-mode-site body.pf-admin-flat #form-settings .card-body,
html.dark-mode body.pf-admin-flat #form-settings .card-body,
html[data-theme="dark"] body.pf-admin-flat #form-settings .card-body,
html.dark-mode-site body.pf-admin-flat #form-settings .tab-content,
html.dark-mode body.pf-admin-flat #form-settings .tab-content,
html[data-theme="dark"] body.pf-admin-flat #form-settings .tab-content,
html.dark-mode-site body.pf-admin-flat #form-settings .tab-pane,
html.dark-mode body.pf-admin-flat #form-settings .tab-pane,
html[data-theme="dark"] body.pf-admin-flat #form-settings .tab-pane {
  background:linear-gradient(180deg,var(--pf-surface-2),var(--pf-surface))!important;
  border-color:var(--pf-border)!important;
  color:var(--pf-text)!important;
  box-shadow:none!important;
}

html.dark-mode-site body.pf-admin-flat .pf-settings-health,
html.dark-mode body.pf-admin-flat .pf-settings-health,
html[data-theme="dark"] body.pf-admin-flat .pf-settings-health,
html.dark-mode-site body.pf-admin-flat .pf-settings-summary,
html.dark-mode body.pf-admin-flat .pf-settings-summary,
html[data-theme="dark"] body.pf-admin-flat .pf-settings-summary,
html.dark-mode-site body.pf-admin-flat .pf-settings-modules,
html.dark-mode body.pf-admin-flat .pf-settings-modules,
html[data-theme="dark"] body.pf-admin-flat .pf-settings-modules,
html.dark-mode-site body.pf-admin-flat .pf-settings-grid,
html.dark-mode body.pf-admin-flat .pf-settings-grid,
html[data-theme="dark"] body.pf-admin-flat .pf-settings-grid {
  background:transparent!important;
}

html.dark-mode-site body.pf-admin-flat .pf-settings-hero,
html.dark-mode body.pf-admin-flat .pf-settings-hero,
html[data-theme="dark"] body.pf-admin-flat .pf-settings-hero {
  background:radial-gradient(circle at 85% 0,rgba(37,99,235,.22),transparent 40%),linear-gradient(135deg,#111c30,#08111f)!important;
  border-color:#31445f!important;
  color:var(--pf-text)!important;
}

html.dark-mode-site body.pf-admin-flat .pf-settings-health-card span,
html.dark-mode body.pf-admin-flat .pf-settings-health-card span,
html[data-theme="dark"] body.pf-admin-flat .pf-settings-health-card span,
html.dark-mode-site body.pf-admin-flat .pf-settings-summary-card span,
html.dark-mode body.pf-admin-flat .pf-settings-summary-card span,
html[data-theme="dark"] body.pf-admin-flat .pf-settings-summary-card span,
html.dark-mode-site body.pf-admin-flat .pf-settings-module-card span,
html.dark-mode body.pf-admin-flat .pf-settings-module-card span,
html[data-theme="dark"] body.pf-admin-flat .pf-settings-module-card span,
html.dark-mode-site body.pf-admin-flat .text-muted,
html.dark-mode body.pf-admin-flat .text-muted,
html[data-theme="dark"] body.pf-admin-flat .text-muted,
html.dark-mode-site body.pf-admin-flat .form-text,
html.dark-mode body.pf-admin-flat .form-text,
html[data-theme="dark"] body.pf-admin-flat .form-text {
  color:var(--pf-muted)!important;
}

html.dark-mode-site body.pf-admin-flat .pf-settings-health-card strong,
html.dark-mode body.pf-admin-flat .pf-settings-health-card strong,
html[data-theme="dark"] body.pf-admin-flat .pf-settings-health-card strong,
html.dark-mode-site body.pf-admin-flat .pf-settings-summary-card strong,
html.dark-mode body.pf-admin-flat .pf-settings-summary-card strong,
html[data-theme="dark"] body.pf-admin-flat .pf-settings-summary-card strong,
html.dark-mode-site body.pf-admin-flat .pf-settings-module-card strong,
html.dark-mode body.pf-admin-flat .pf-settings-module-card strong,
html[data-theme="dark"] body.pf-admin-flat .pf-settings-module-card strong,
html.dark-mode-site body.pf-admin-flat #form-settings h1,
html.dark-mode-site body.pf-admin-flat #form-settings h2,
html.dark-mode-site body.pf-admin-flat #form-settings h3,
html.dark-mode-site body.pf-admin-flat #form-settings h4,
html.dark-mode-site body.pf-admin-flat #form-settings h5,
html.dark-mode-site body.pf-admin-flat #form-settings h6,
html.dark-mode body.pf-admin-flat #form-settings h1,
html.dark-mode body.pf-admin-flat #form-settings h2,
html.dark-mode body.pf-admin-flat #form-settings h3,
html.dark-mode body.pf-admin-flat #form-settings h4,
html.dark-mode body.pf-admin-flat #form-settings h5,
html.dark-mode body.pf-admin-flat #form-settings h6,
html[data-theme="dark"] body.pf-admin-flat #form-settings h1,
html[data-theme="dark"] body.pf-admin-flat #form-settings h2,
html[data-theme="dark"] body.pf-admin-flat #form-settings h3,
html[data-theme="dark"] body.pf-admin-flat #form-settings h4,
html[data-theme="dark"] body.pf-admin-flat #form-settings h5,
html[data-theme="dark"] body.pf-admin-flat #form-settings h6 {
  color:var(--pf-text)!important;
}

html.dark-mode-site body.pf-admin-flat .pf-settings-health-card i,
html.dark-mode body.pf-admin-flat .pf-settings-health-card i,
html[data-theme="dark"] body.pf-admin-flat .pf-settings-health-card i,
html.dark-mode-site body.pf-admin-flat .pf-settings-summary-card i,
html.dark-mode body.pf-admin-flat .pf-settings-summary-card i,
html[data-theme="dark"] body.pf-admin-flat .pf-settings-summary-card i,
html.dark-mode-site body.pf-admin-flat .pf-settings-module-card > i,
html.dark-mode body.pf-admin-flat .pf-settings-module-card > i,
html[data-theme="dark"] body.pf-admin-flat .pf-settings-module-card > i {
  background:#172b4d!important;
  color:#7db5ff!important;
}

/* All admin component surfaces */
html.dark-mode-site body.pf-admin-flat .card,
html.dark-mode body.pf-admin-flat .card,
html[data-theme="dark"] body.pf-admin-flat .card,
html.dark-mode-site body.pf-admin-flat .modal-content,
html.dark-mode body.pf-admin-flat .modal-content,
html[data-theme="dark"] body.pf-admin-flat .modal-content,
html.dark-mode-site body.pf-admin-flat .dropdown-menu,
html.dark-mode body.pf-admin-flat .dropdown-menu,
html[data-theme="dark"] body.pf-admin-flat .dropdown-menu,
html.dark-mode-site body.pf-admin-flat .list-group-item,
html.dark-mode body.pf-admin-flat .list-group-item,
html[data-theme="dark"] body.pf-admin-flat .list-group-item,
html.dark-mode-site body.pf-admin-flat .info-box,
html.dark-mode body.pf-admin-flat .info-box,
html[data-theme="dark"] body.pf-admin-flat .info-box,
html.dark-mode-site body.pf-admin-flat .small-box,
html.dark-mode body.pf-admin-flat .small-box,
html[data-theme="dark"] body.pf-admin-flat .small-box,
html.dark-mode-site body.pf-admin-flat .bg-white,
html.dark-mode body.pf-admin-flat .bg-white,
html[data-theme="dark"] body.pf-admin-flat .bg-white,
html.dark-mode-site body.pf-admin-flat .bg-light,
html.dark-mode body.pf-admin-flat .bg-light,
html[data-theme="dark"] body.pf-admin-flat .bg-light {
  background:var(--pf-surface)!important;
  border-color:var(--pf-border)!important;
  color:var(--pf-text)!important;
}

html.dark-mode-site body.pf-admin-flat .card-header,
html.dark-mode body.pf-admin-flat .card-header,
html[data-theme="dark"] body.pf-admin-flat .card-header,
html.dark-mode-site body.pf-admin-flat .card-footer,
html.dark-mode body.pf-admin-flat .card-footer,
html[data-theme="dark"] body.pf-admin-flat .card-footer,
html.dark-mode-site body.pf-admin-flat .modal-header,
html.dark-mode body.pf-admin-flat .modal-header,
html[data-theme="dark"] body.pf-admin-flat .modal-header,
html.dark-mode-site body.pf-admin-flat .modal-footer,
html.dark-mode body.pf-admin-flat .modal-footer,
html[data-theme="dark"] body.pf-admin-flat .modal-footer {
  background:#0b1525!important;
  border-color:var(--pf-border)!important;
  color:var(--pf-text)!important;
}

html.dark-mode-site body.pf-admin-flat .form-control,
html.dark-mode body.pf-admin-flat .form-control,
html[data-theme="dark"] body.pf-admin-flat .form-control,
html.dark-mode-site body.pf-admin-flat .custom-select,
html.dark-mode body.pf-admin-flat .custom-select,
html[data-theme="dark"] body.pf-admin-flat .custom-select,
html.dark-mode-site body.pf-admin-flat input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),
html.dark-mode body.pf-admin-flat input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),
html[data-theme="dark"] body.pf-admin-flat input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),
html.dark-mode-site body.pf-admin-flat textarea,
html.dark-mode body.pf-admin-flat textarea,
html[data-theme="dark"] body.pf-admin-flat textarea,
html.dark-mode-site body.pf-admin-flat select,
html.dark-mode body.pf-admin-flat select,
html[data-theme="dark"] body.pf-admin-flat select {
  background:var(--pf-input)!important;
  border-color:#35465f!important;
  color:var(--pf-text)!important;
  box-shadow:none!important;
}
html.dark-mode-site body.pf-admin-flat input::placeholder,
html.dark-mode body.pf-admin-flat input::placeholder,
html[data-theme="dark"] body.pf-admin-flat input::placeholder,
html.dark-mode-site body.pf-admin-flat textarea::placeholder,
html.dark-mode body.pf-admin-flat textarea::placeholder,
html[data-theme="dark"] body.pf-admin-flat textarea::placeholder {color:#75859c!important;opacity:1}

html.dark-mode-site body.pf-admin-flat .select2-container--default .select2-selection--single,
html.dark-mode body.pf-admin-flat .select2-container--default .select2-selection--single,
html[data-theme="dark"] body.pf-admin-flat .select2-container--default .select2-selection--single,
html.dark-mode-site body.pf-admin-flat .select2-container--default .select2-selection--multiple,
html.dark-mode body.pf-admin-flat .select2-container--default .select2-selection--multiple,
html[data-theme="dark"] body.pf-admin-flat .select2-container--default .select2-selection--multiple,
html.dark-mode-site .select2-dropdown,
html.dark-mode .select2-dropdown,
html[data-theme="dark"] .select2-dropdown {
  background:var(--pf-input)!important;border-color:#35465f!important;color:var(--pf-text)!important;
}
html.dark-mode-site .select2-results__option,
html.dark-mode .select2-results__option,
html[data-theme="dark"] .select2-results__option {color:var(--pf-text)!important}
html.dark-mode-site .select2-results__option--highlighted,
html.dark-mode .select2-results__option--highlighted,
html[data-theme="dark"] .select2-results__option--highlighted {background:#1d4ed8!important;color:#fff!important}

html.dark-mode-site body.pf-admin-flat .table,
html.dark-mode body.pf-admin-flat .table,
html[data-theme="dark"] body.pf-admin-flat .table {color:var(--pf-text)!important;background:transparent!important}
html.dark-mode-site body.pf-admin-flat .table thead th,
html.dark-mode body.pf-admin-flat .table thead th,
html[data-theme="dark"] body.pf-admin-flat .table thead th {background:#0b1525!important;color:#dbeafe!important;border-color:var(--pf-border)!important}
html.dark-mode-site body.pf-admin-flat .table td,
html.dark-mode body.pf-admin-flat .table td,
html[data-theme="dark"] body.pf-admin-flat .table td {background:var(--pf-surface)!important;color:var(--pf-text)!important;border-color:var(--pf-border)!important}
html.dark-mode-site body.pf-admin-flat .table-striped tbody tr:nth-of-type(odd) td,
html.dark-mode body.pf-admin-flat .table-striped tbody tr:nth-of-type(odd) td,
html[data-theme="dark"] body.pf-admin-flat .table-striped tbody tr:nth-of-type(odd) td {background:#111d31!important}

html.dark-mode-site body.pf-admin-flat .nav-tabs,
html.dark-mode body.pf-admin-flat .nav-tabs,
html[data-theme="dark"] body.pf-admin-flat .nav-tabs {border-color:var(--pf-border)!important;background:#0b1525!important}
html.dark-mode-site body.pf-admin-flat .nav-tabs .nav-link,
html.dark-mode body.pf-admin-flat .nav-tabs .nav-link,
html[data-theme="dark"] body.pf-admin-flat .nav-tabs .nav-link {color:#b9c7d9!important;background:transparent!important;border-color:transparent!important}
html.dark-mode-site body.pf-admin-flat .nav-tabs .nav-link.active,
html.dark-mode body.pf-admin-flat .nav-tabs .nav-link.active,
html[data-theme="dark"] body.pf-admin-flat .nav-tabs .nav-link.active {color:#fff!important;background:#1a2a45!important;border-color:#3b5272!important}

/* Public/member common component fallback. Avoid changing media, logos and ad creatives. */
html.dark-mode-site body:not(.pf-admin-flat) .card,
html.dark-mode body:not(.pf-admin-flat) .card,
html[data-theme="dark"] body:not(.pf-admin-flat) .card,
html.dark-mode-site body:not(.pf-admin-flat) .modal-content,
html.dark-mode body:not(.pf-admin-flat) .modal-content,
html[data-theme="dark"] body:not(.pf-admin-flat) .modal-content,
html.dark-mode-site body:not(.pf-admin-flat) .dropdown-menu,
html.dark-mode body:not(.pf-admin-flat) .dropdown-menu,
html[data-theme="dark"] body:not(.pf-admin-flat) .dropdown-menu,
html.dark-mode-site body:not(.pf-admin-flat) .list-group-item,
html.dark-mode body:not(.pf-admin-flat) .list-group-item,
html[data-theme="dark"] body:not(.pf-admin-flat) .list-group-item {
  background-color:var(--pf-surface)!important;border-color:var(--pf-border)!important;color:var(--pf-text)!important;
}
html.dark-mode-site img,
html.dark-mode img,
html[data-theme="dark"] img,
html.dark-mode-site video,
html.dark-mode video,
html[data-theme="dark"] video {filter:none!important;opacity:1}

@media(max-width:767.98px){
  html.dark-mode-site body.pf-admin-flat .pf-settings-health-card,
  html.dark-mode body.pf-admin-flat .pf-settings-health-card,
  html[data-theme="dark"] body.pf-admin-flat .pf-settings-health-card,
  html.dark-mode-site body.pf-admin-flat .pf-settings-summary-card,
  html.dark-mode body.pf-admin-flat .pf-settings-summary-card,
  html[data-theme="dark"] body.pf-admin-flat .pf-settings-summary-card {border-radius:20px!important}
}
