/* Scoped ERT Research Hub palette for the ERTS Lab route only. */
body:has(main [aria-label="Progression from ERT through ERTS to ERTS Lab"]) {
  color-scheme: dark;
  --background: 219 45% 9%;
  --foreground: 197 50% 96%;
  --card: 216 41% 15%;
  --card-foreground: 197 50% 96%;
  --popover: 216 41% 15%;
  --popover-foreground: 197 50% 96%;
  --primary: 176 65% 57%;
  --primary-foreground: 218 63% 7%;
  --secondary: 234 100% 70%;
  --secondary-foreground: 197 50% 96%;
  --muted: 216 37% 18%;
  --muted-foreground: 209 29% 83%;
  --accent: 42 90% 63%;
  --accent-foreground: 218 63% 7%;
  --border: 216 24% 34%;
  --input: 216 24% 34%;
  --ring: 176 65% 57%;
  background:
    radial-gradient(circle at 20% 0%, rgba(75, 216, 207, .14), transparent 32rem),
    radial-gradient(circle at 85% 8%, rgba(103, 119, 255, .16), transparent 28rem),
    #0d1422;
  color: #edf7fb;
}

body:has(main [aria-label="Progression from ERT through ERTS to ERTS Lab"]) header {
  background: rgba(13, 20, 34, .88) !important;
  border-color: rgba(255, 255, 255, .18) !important;
  backdrop-filter: blur(18px);
}

main:has([aria-label="Progression from ERT through ERTS to ERTS Lab"]) {
  background: transparent;
  color: #edf7fb;
}

main:has([aria-label="Progression from ERT through ERTS to ERTS Lab"]) > section {
  background-color: transparent !important;
}

main:has([aria-label="Progression from ERT through ERTS to ERTS Lab"]) > section:nth-of-type(even) {
  background: rgba(17, 27, 44, .58) !important;
}

main:has([aria-label="Progression from ERT through ERTS to ERTS Lab"]) h1,
main:has([aria-label="Progression from ERT through ERTS to ERTS Lab"]) h2,
main:has([aria-label="Progression from ERT through ERTS to ERTS Lab"]) h3,
main:has([aria-label="Progression from ERT through ERTS to ERTS Lab"]) .text-foreground {
  color: #fff !important;
}

main:has([aria-label="Progression from ERT through ERTS to ERTS Lab"]) p,
main:has([aria-label="Progression from ERT through ERTS to ERTS Lab"]) li,
main:has([aria-label="Progression from ERT through ERTS to ERTS Lab"]) .text-muted-foreground {
  color: #d9e9f0 !important;
}

main:has([aria-label="Progression from ERT through ERTS to ERTS Lab"]) .text-primary {
  color: #4bd8cf !important;
}

main:has([aria-label="Progression from ERT through ERTS to ERTS Lab"]) .bg-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .035)) !important;
  border-color: rgba(255, 255, 255, .18) !important;
  box-shadow: 0 20px 70px rgba(0, 0, 0, .35);
}

main:has([aria-label="Progression from ERT through ERTS to ERTS Lab"]) [class*="bg-primary"] {
  background: rgba(75, 216, 207, .16) !important;
}

main:has([aria-label="Progression from ERT through ERTS to ERTS Lab"]) [class*="border-primary"] {
  border-color: rgba(75, 216, 207, .45) !important;
}

body:has(main [aria-label="Progression from ERT through ERTS to ERTS Lab"]) footer {
  background: rgba(0, 0, 0, .16) !important;
  border-color: rgba(255, 255, 255, .18) !important;
  color: #d9e9f0;
}
