/* Alto contraste: painel inteiro de colaborador e diálogos portaled no tema escuro. */
html.dark.ew-collaborator-page #root :is(h1, h2, h3, h4, h5, h6, label, p, li, td, th),
html.dark.ew-collaborator-page [role="dialog"] :is(h1, h2, h3, h4, h5, h6, label, p, li, td, th) {
  color: #ffffff !important;
}

html.dark.ew-collaborator-page #root [class~="text-primary"],
html.dark.ew-collaborator-page #root [class~="text-foreground"],
html.dark.ew-collaborator-page #root [class~="text-card-foreground"],
html.dark.ew-collaborator-page #root [class~="text-popover-foreground"],
html.dark.ew-collaborator-page #root [class~="text-muted-foreground"],
html.dark.ew-collaborator-page #root [class*="text-blue-"],
html.dark.ew-collaborator-page #root [class*="text-indigo-"],
html.dark.ew-collaborator-page #root [class*="text-sky-"],
html.dark.ew-collaborator-page #root [class*="text-cyan-"],
html.dark.ew-collaborator-page [role="dialog"] [class~="text-primary"],
html.dark.ew-collaborator-page [role="dialog"] [class~="text-foreground"],
html.dark.ew-collaborator-page [role="dialog"] [class~="text-card-foreground"],
html.dark.ew-collaborator-page [role="dialog"] [class~="text-popover-foreground"],
html.dark.ew-collaborator-page [role="dialog"] [class~="text-muted-foreground"],
html.dark.ew-collaborator-page [role="dialog"] [class*="text-blue-"],
html.dark.ew-collaborator-page [role="dialog"] [class*="text-indigo-"],
html.dark.ew-collaborator-page [role="dialog"] [class*="text-sky-"],
html.dark.ew-collaborator-page [role="dialog"] [class*="text-cyan-"] {
  color: #ffffff !important;
}

html.dark.ew-collaborator-page #root :is(input, textarea, select),
html.dark.ew-collaborator-page [role="dialog"] :is(input, textarea, select),
html.dark.ew-collaborator-page :is([role="combobox"], [role="option"], [role="listbox"]) {
  color: #ffffff !important;
}

html.dark.ew-collaborator-page :is([role="combobox"], [role="option"], [role="listbox"]) * {
  color: #ffffff !important;
}

html.dark.ew-collaborator-page #root :is(input, textarea, select)::placeholder,
html.dark.ew-collaborator-page [role="dialog"] :is(input, textarea, select)::placeholder {
  color: #cbd5e1 !important;
  opacity: 1;
}
