/* Cosmetic only: make /admin/ look like it belongs next to the console.
 * Django's admin ships its own CSS variables; we re-point the handful that set its identity
 * (header, links, buttons) at the DF palette. No layout is changed and no admin markup is
 * overridden beyond the one base_site.html that loads this file.
 */
:root,
html[data-theme="light"] {
  --primary: #083B67;            /* header + module captions */
  --secondary: #083B67;
  --accent: #D11793;
  --link-fg: #083B67;
  --link-hover-color: #D11793;
  --header-bg: #083B67;
  --header-link-color: #ffffff;
  --header-branding-color: #ffffff;
  --breadcrumbs-bg: #0A2E4E;
  --breadcrumbs-fg: #D3E0EA;
  --breadcrumbs-link-fg: #ffffff;
  --button-bg: #083B67;
  --button-hover-bg: #0A2E4E;
  --default-button-bg: #D11793;
  --default-button-hover-bg: #B3117E;
  --selected-bg: #F2F6F9;
  --selected-row: #FBE9F5;
  --font-family-primary: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-family-monospace: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}

/* Django 5 renders the wordmark as `#site-name > a`, not `#branding h1`. Left to itself it
 * inherits --accent, which is magenta on navy — legible but low contrast. Force white. */
#site-name, #site-name a:link, #site-name a:visited, #site-name a:hover {
  font-family: Poppins, -apple-system, "Segoe UI", sans-serif;
  font-weight: 600;
  color: #ffffff;
}

/* A way back to the console, since the admin is now the secondary surface. */
#user-tools a.console-link {
  border-bottom-color: #D11793;
  font-weight: 600;
}
