@font-face {
  font-family: Poppins;
  src: url("/poppins-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Poppins;
  src: url("/poppins-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: Poppins;
  src: url("/poppins-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: Poppins;
  src: url("/poppins-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

html:root {
  --nextgen-yellow: #ffc813;
  --nextgen-black: #090b0c;
  --font-sans: Poppins, system-ui, sans-serif;
  accent-color: var(--nextgen-yellow);
}

/* Apply the company palette until a person explicitly chooses a T3 theme. */
html:root:not([data-theme-selected]) {
  color-scheme: light;
  --background: #dfe5e0;
  --foreground: #101411;
  --card: #f1f4f0;
  --card-foreground: var(--foreground);
  --popover: #f8faf7;
  --popover-foreground: var(--foreground);
  --secondary: #d3dbd5;
  --secondary-foreground: var(--foreground);
  --muted: var(--card);
  --muted-foreground: #566159;
  --accent: var(--secondary);
  --accent-foreground: var(--foreground);
  --border: #b8c2ba;
  --input: #7f8c82;
  --primary: #5f4900;
  --primary-foreground: var(--popover);
  --ring: var(--primary);
  --message-action: var(--nextgen-yellow);
  --message-action-foreground: var(--nextgen-black);
  --message-action-hover: #ffd044;
  --sidebar: var(--card);
  --sidebar-border: var(--border);
  --sidebar-accent: var(--accent);
  --sidebar-accent-foreground: var(--foreground);
}

html:root.dark:not([data-theme-selected]) {
  color-scheme: dark;
  --background: #0f1310;
  --foreground: #f1f4ef;
  --card: #171c18;
  --popover: #1e251f;
  --secondary: #252d27;
  --muted-foreground: #aeb8b0;
  --border: #39433b;
  --input: #69756b;
  --primary: var(--nextgen-yellow);
  --primary-foreground: var(--nextgen-black);
}

html:root body {
  font-family: var(--font-sans);
}

html:root:not([data-theme-selected]) body {
  background: var(--background);
  color: var(--foreground);
}

html:root:not([data-theme-selected]) button[type="submit"].bg-primary {
  background-color: var(--message-action);
  color: var(--message-action-foreground);
}

html:root:not([data-theme-selected]) button[type="submit"].bg-primary:hover:not(:disabled) {
  background-color: var(--message-action-hover);
}

.nextgen-brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.625rem;
  border-radius: 0.5rem;
  background: var(--nextgen-black);
  color: #f1f4ef;
  white-space: nowrap;
}

.nextgen-brand img {
  flex: 0 0 auto;
}

.nextgen-brand-compact {
  padding-block: 0.125rem;
  font-size: 0.8125rem;
  font-weight: 600;
}

@media (forced-colors: active) {
  .nextgen-brand {
    outline: 1px solid CanvasText;
  }
}

@media (max-width: 47.999rem) {
  .nextgen-home {
    display: inline-flex;
    margin-inline-start: 0;
  }
}
