/* CoreVul — same design system as CoreOSINT and the CoreAI Gateway console: pine ground,
   one cyan accent, bone text, Familjen Grotesk headings / Public Sans body / JetBrains Mono data. */
@font-face { font-family: 'Familjen Grotesk Variable'; font-style: normal; font-display: swap; font-weight: 400 700; src: url(fonts/familjen-grotesk-latin-wght-normal.woff2) format('woff2'); }
@font-face { font-family: 'Public Sans Variable'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(fonts/public-sans-latin-wght-normal.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono Variable'; font-style: normal; font-display: swap; font-weight: 100 800; src: url(fonts/jetbrains-mono-latin-wght-normal.woff2) format('woff2'); }

:root, :host {
  color-scheme: dark;
  --color-ground: #0a1512; --color-frame: #0d1814;
  --color-surface: #111e1a; --color-surface-2: #0d1814; --color-surface-3: #172923;
  --color-border: #213630; --color-border-strong: #2f4b43;
  --color-text: #e2ebe4; --color-text-muted: #aebfb5; --color-text-faint: #84998e;
  --color-dd-accent: #4fc3e8; --color-dd-accent-hover: #7fd3ef; --color-dd-accent-dark: #2f87a1;
  --color-dd-accent-light: #10303b; --color-dd-on-primary: #04151c;
  --color-dd-primary-50: #0c222a; --color-dd-primary-100: #10303b; --color-dd-primary-200: #174553; --color-dd-primary-300: #1f6072; --color-dd-primary-400: #2f87a1; --color-dd-primary-500: #3aa6c6; --color-dd-primary-600: #4fc3e8; --color-dd-primary-700: #7fd3ef; --color-dd-primary-800: #a9e1f4; --color-dd-primary-900: #d2f0fa; --color-dd-primary-950: #eaf8fd;
  --color-dd-interactive-50: #0c222a; --color-dd-interactive-100: #10303b; --color-dd-interactive-200: #174553; --color-dd-interactive-300: #1f6072; --color-dd-interactive-400: #2f87a1; --color-dd-interactive-500: #3aa6c6; --color-dd-interactive-600: #4fc3e8; --color-dd-interactive-700: #7fd3ef; --color-dd-interactive-800: #a9e1f4; --color-dd-interactive-900: #d2f0fa; --color-dd-interactive-950: #eaf8fd;
  --color-gray-50: #0d1814; --color-gray-100: #15251f; --color-gray-200: #213630; --color-gray-300: #2f4b43; --color-gray-400: #5f756a; --color-gray-500: #84998e; --color-gray-600: #9aada2; --color-gray-700: #aebfb5; --color-gray-800: #cdd9d1; --color-gray-900: #e2ebe4; --color-gray-950: #f2f6f3;
  --color-severity-critical: #ef4444; --color-severity-high: #f97316; --color-severity-medium: #eab308;
  --color-severity-low: #22c55e; --color-severity-info: #84998e;
  --color-severity-critical-bg: color-mix(in srgb, #ef4444 16%, transparent); --color-severity-critical-text: #fca5a5; --color-severity-high-bg: color-mix(in srgb, #f97316 16%, transparent); --color-severity-high-text: #fdba74; --color-severity-medium-bg: color-mix(in srgb, #eab308 16%, transparent); --color-severity-medium-text: #fde047; --color-severity-low-bg: color-mix(in srgb, #22c55e 16%, transparent); --color-severity-low-text: #86efac; --color-severity-info-bg: color-mix(in srgb, #84998e 16%, transparent); --color-severity-info-text: #cdd9d1;
  --font-sans: 'Public Sans Variable', 'Public Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono Variable', 'JetBrains Mono', ui-monospace, monospace;
  --radius-md: 3px; --radius-lg: 3px;
}
body { background: var(--color-ground); color: var(--color-text); font-family: var(--font-sans); }
h1, h2, h3, h4, .login-title { font-family: 'Familjen Grotesk Variable', 'Familjen Grotesk', var(--font-sans); }
::selection { background: color-mix(in srgb, #4fc3e8 38%, transparent); }
#dd-sidebar .dd-logo-bar img { height: 1.9rem; }
.login-card .login-logo img { height: 3rem; }
.login-card { border-radius: 3px; box-shadow: none; }
.login-wrapper {
  background:
    radial-gradient(60rem 30rem at 15% 0%, rgba(79, 195, 232, .10), transparent 60%),
    linear-gradient(rgba(163, 217, 200, .05) 1px, transparent 1px) 0 0 / 2.5rem 2.5rem,
    linear-gradient(90deg, rgba(163, 217, 200, .05) 1px, transparent 1px) 0 0 / 2.5rem 2.5rem,
    #0a1512;
}

/* Legacy Bootstrap surfaces from dojo.css that use fixed colours. */
.bg-white, .panel, .panel-body, .well, .modal-content, .dropdown-menu, .popover, .list-group-item,
.nav-tabs > li.active > a, .pagination > li > a, .pagination > li > span, .thumbnail, .tt-menu,
.chosen-container .chosen-drop, .chosen-container-single .chosen-single, .chosen-container-multi .chosen-choices,
.flatpickr-calendar, .fc-popover, .ui-widget-content, .ts-control, .ts-dropdown {
  background: var(--color-surface) !important; color: var(--color-text) !important; border-color: var(--color-border) !important; }
.panel-heading, .panel-footer, .modal-header, .modal-footer, .breadcrumb, .jumbotron, .page-header,
.table > thead > tr > th, .table-striped > tbody > tr:nth-of-type(odd), .dropdown-header {
  background: var(--color-surface-2) !important; color: var(--color-text) !important; border-color: var(--color-border) !important; }
.table, .table > tbody > tr > td, .table > tbody > tr > th, table.dataTable td, hr { color: var(--color-text); border-color: var(--color-border) !important; }
.table-hover > tbody > tr:hover, .dropdown-menu > li > a:hover, .list-group-item:hover { background: var(--color-surface-3) !important; }
.dropdown-menu > li > a, .chosen-container .chosen-results li { color: var(--color-text) !important; }
input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]), select, textarea, .form-control, .input-group-addon {
  background-color: #08110e !important; color: var(--color-text) !important; border-color: var(--color-border-strong) !important; }
.btn-default { background: transparent !important; color: var(--color-text) !important; border-color: var(--color-border-strong) !important; }
.btn-primary, .btn-primary:hover { color: #04151c !important; }
code, pre { background: #08110e !important; color: var(--color-text) !important; border-color: var(--color-border) !important; }
.alert { border-color: var(--color-border-strong) !important; }
