:root {
  --brand-primary:  #45AFE3;
  --brand-hover:    #3E9ECC;
  --brand-pressed:  #3688B1;
  --brand-selected: #45AFE3;
  --brand-fg:       #3688B1;
  --brand-fg-hover: #3688B1;
  --brand-tint-60:  #ECF7FC;
  --brand-tint-40:  #D6EDF9;
  --brand-tint-20:  #ABDBF2;
  --brand-on:       #111827;
  --accent:         #FF0000;
  --accent-hover:   #E00000;
  --accent-tint:    #FFE0E0;
}

/* The dark theme, in both the forms the portals express it: an explicit
   choice stamps data-theme on <html>, and the default "system" setting
   stamps nothing and leaves prefers-color-scheme to decide. Redefining
   only one of the two would leave half the users on the light ramp. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand-primary:  #45AFE3;
    --brand-hover:    #5BB9E6;
    --brand-pressed:  #3B96C3;
    --brand-selected: #45AFE3;
    --brand-fg:       #5BB9E6;
    --brand-fg-hover: #45AFE3;
    --brand-tint-60:  #0F2632;
    --brand-tint-40:  #173C4D;
    --brand-tint-20:  #225872;
    --brand-on:       #111827;
    --accent:         #FF5555;
    --accent-hover:   #FF6D6D;
    --accent-tint:    #421616;
  }
}

:root[data-theme="dark"] {
  --brand-primary:  #45AFE3;
  --brand-hover:    #5BB9E6;
  --brand-pressed:  #3B96C3;
  --brand-selected: #45AFE3;
  --brand-fg:       #5BB9E6;
  --brand-fg-hover: #45AFE3;
  --brand-tint-60:  #0F2632;
  --brand-tint-40:  #173C4D;
  --brand-tint-20:  #225872;
  --brand-on:       #111827;
  --accent:         #FF5555;
  --accent-hover:   #FF6D6D;
  --accent-tint:    #421616;
}