/*
 * HYDPOLL V1 - uniformisation des titres applicatifs.
 * Les documents/PDF et les zones volontairement inversées gardent leur charte.
 */
:root {
  --hyd-title-color: #0B2140;
}

body:not(.hp-doc) :where(
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  .hp-title,
  .page-title,
  .section-title,
  .module-title,
  .mod-title,
  .mod-hero-title,
  .card-title,
  .panel-title,
  .widget-title,
  .modal-title,
  .drawer-title,
  .sheet-title,
  .cmdk-title,
  .cmdk-item-title,
  .dlux-hname,
  .dlux-htitle,
  .help-drawer-title,
  .help-card-title,
  .mod-help-title,
  .crm-unified-title,
  .msg-suite-title,
  .msg-nav-title,
  .msg-main-title h3,
  .msg-call-title,
  .aff-title,
  .aff2-title,
  .aff2-empty__title,
  .aff-dashboard-title,
  .af-hero-title,
  .af-section-title,
  .biz2-title,
  .cli2-title,
  .devis-title,
  .devis2-title,
  .dv-title,
  .fact2-title,
  .dir-hero-title,
  .dir-drill-title,
  .me2-title,
  .sal2-title,
  .temps2-title,
  .cong2-title,
  .planning-hero-title,
  .planning-health-title,
  .planning-chip-title,
  .planning-task-strip-title,
  .portal-private-title,
  .portal-lux-section-title,
  .portal-lux-record-title,
  .portal-lux-step-title,
  .hyd-collapse__title,
  .htk-erp-card-title,
  .kbds2-title,
  .neo-info-card__title,
  .lc-form-title
) {
  color: var(--hyd-title-color) !important;
}

body:not(.hp-doc) :where(.dlux-hname, .dlux-htitle) {
  color: var(--hyd-title-color) !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

body:not(.hp-doc) :where(
  h1,
  h2,
  h3,
  h4,
  h5,
  h6
) :where(strong, b, span, em) {
  color: inherit;
}

:where(
  .app-sidebar,
  .side-profile-card,
  .topbar,
  .fac-header,
  .pdf-header,
  .invoice-preview,
  .doc-preview,
  .lc-hero,
  .hero-dark,
  .dark-panel,
  .nav-dark,
  [data-title-inverse="true"]
) :where(
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  .card-title,
  .panel-title,
  .module-title,
  .section-title,
  .lc-hero-title,
  .lc-hero-title em
) {
  color: inherit !important;
}
