/* DSM Group theme for Twenty CRM.
   Twenty (v2.9) draws its colours from CSS variables on <html class="light|dark">.
   These overrides swap Twenty's indigo/blue accent scale for DSM cyan + navy.
   Selectors use :root.light / :root.dark so they win over Twenty's .light / .dark. */

:root.light {
  --dsm-navy: #06263d;
  --dsm-cyan: #00aeef;
  --t-color-blue1: #f5fbfe;
  --t-color-blue2: #ebf7fd;
  --t-color-blue3: #d6effb;
  --t-color-blue4: #bfe6f8;
  --t-color-blue5: #a6dcf5;
  --t-color-blue6: #86cff1;
  --t-color-blue7: #5bbfec;
  --t-color-blue8: #2aaee6;
  --t-color-blue9: #0079b8;
  --t-color-blue10: #006aa3;
  --t-color-blue11: #0072a3;
  --t-color-blue12: #06263d;
  --t-color-blue: #0079b8;

  --t-accent-primary: #a6dcf5;
  --t-accent-secondary: #a6dcf5;
  --t-accent-tertiary: #d6effb;
  --t-accent-quaternary: #ebf7fd;
  --t-accent-accent3570: #2aaee6;
  --t-accent-accent4060: #2aaee6;
  --t-accent-accent1: #f5fbfe;
  --t-accent-accent2: #ebf7fd;
  --t-accent-accent3: #d6effb;
  --t-accent-accent4: #bfe6f8;
  --t-accent-accent5: #a6dcf5;
  --t-accent-accent6: #86cff1;
  --t-accent-accent7: #5bbfec;
  --t-accent-accent8: #2aaee6;
  --t-accent-accent9: #0079b8;
  --t-accent-accent10: #006aa3;
  --t-accent-accent11: #0072a3;
  --t-accent-accent12: #06263d;

  --t-border-color-blue: #5bbfec;
  --t-background-transparent-blue: rgba(0, 174, 239, 0.08);
}

:root.dark {
  --dsm-navy: #06263d;
  --dsm-cyan: #00aeef;
  --t-color-blue1: #07141d;
  --t-color-blue2: #0a1c29;
  --t-color-blue3: #0c2a3e;
  --t-color-blue4: #0d3550;
  --t-color-blue5: #0f4262;
  --t-color-blue6: #125277;
  --t-color-blue7: #156593;
  --t-color-blue8: #1a7fb6;
  --t-color-blue9: #00a3e0;
  --t-color-blue10: #29b6ee;
  --t-color-blue11: #6fd0f5;
  --t-color-blue12: #d4f1fd;
  --t-color-blue: #00a3e0;

  --t-accent-primary: #0f4262;
  --t-accent-secondary: #0f4262;
  --t-accent-tertiary: #0c2a3e;
  --t-accent-quaternary: #0a1c29;
  --t-accent-accent3570: #1a7fb6;
  --t-accent-accent4060: #1a7fb6;
  --t-accent-accent1: #07141d;
  --t-accent-accent2: #0a1c29;
  --t-accent-accent3: #0c2a3e;
  --t-accent-accent4: #0d3550;
  --t-accent-accent5: #0f4262;
  --t-accent-accent6: #125277;
  --t-accent-accent7: #156593;
  --t-accent-accent8: #1a7fb6;
  --t-accent-accent9: #00a3e0;
  --t-accent-accent10: #29b6ee;
  --t-accent-accent11: #6fd0f5;
  --t-accent-accent12: #d4f1fd;

  --t-border-color-blue: #156593;
  --t-background-transparent-blue: rgba(0, 174, 239, 0.14);
}

/* A thin DSM navy-to-cyan strip across the top of every page */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, #06263d 0%, #0072a3 45%, #00aeef 100%);
  z-index: 2147483647;
  pointer-events: none;
}

::selection { background: rgba(0, 174, 239, 0.28); }

* { scrollbar-color: rgba(0, 114, 163, 0.35) transparent; }
