/* Pedylo's primary actions. Keep semantic danger/warning/status colors intact. */
:root {
  --pedylo-brand-rgb: 0 51 0;
  --pedylo-brand-text-rgb: 0 82 32;
}

.dark {
  --pedylo-brand-text-rgb: 142 217 166;
}

.pedylo-brand .bg-n-brand {
  background-color: rgb(var(--pedylo-brand-rgb) / var(--tw-bg-opacity, 1));
}

.pedylo-brand .bg-n-brand\/5:not(:where(.dark, .dark *)) {
  background-color: rgb(var(--pedylo-brand-rgb) / .05);
}

.pedylo-brand .bg-n-brand\/10,
.pedylo-brand .hover\:bg-n-brand\/10:hover {
  background-color: rgb(var(--pedylo-brand-rgb) / .1);
}

.pedylo-brand .bg-n-brand\/20,
.pedylo-brand .hover\:enabled\:bg-n-brand\/20:enabled:hover,
.pedylo-brand .focus-visible\:bg-n-brand\/20:focus-visible {
  background-color: rgb(var(--pedylo-brand-rgb) / .2);
}

.pedylo-brand .hover\:bg-n-brand\/80:hover {
  background-color: rgb(var(--pedylo-brand-rgb) / .8);
}

.pedylo-brand .outline-n-brand,
.pedylo-brand .focus\:outline-n-brand:focus,
.pedylo-brand .focus-visible\:outline-n-brand:focus-visible,
.pedylo-brand .focus-within\:outline-n-brand:focus-within {
  outline-color: rgb(var(--pedylo-brand-text-rgb));
}

.pedylo-brand .ring-n-brand,
.pedylo-brand .focus\:ring-n-brand:focus,
.pedylo-brand .focus-visible\:ring-n-brand:focus-visible,
.pedylo-brand .focus-within\:ring-n-brand:focus-within {
  --tw-ring-color: rgb(var(--pedylo-brand-text-rgb) / var(--tw-ring-opacity, 1));
}

.pedylo-brand .text-n-brand,
.pedylo-brand .hover\:text-n-brand:hover {
  color: rgb(var(--pedylo-brand-text-rgb) / var(--tw-text-opacity, 1));
}

.pedylo-brand .border-n-brand {
  border-color: rgb(var(--pedylo-brand-text-rgb) / var(--tw-border-opacity, 1));
}

/* Link/outline buttons use the native blue tokens; other status tokens remain. */
.pedylo-brand button[class*="n-blue-"],
.pedylo-brand a[class*="n-blue-"] {
  --blue-10: var(--pedylo-brand-text-rgb);
  --blue-11: var(--pedylo-brand-text-rgb);
}

/* Login and SAML headers only: do not enlarge the dashboard/sidebar logo. */
.pedylo-brand main > section.max-w-5xl.mx-auto > img[src*="brand-assets"] {
  height: 4rem;
  width: auto;
  max-width: 100%;
}
