/* Stratedge (stratedge.es): blanco, negro, filetes grises y un único naranja. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url('/static/brand/fonts/inter.woff2') format('woff2'); }
@font-face { font-family: 'Roboto Condensed'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('/static/brand/fonts/roboto-condensed.woff2') format('woff2'); }

:root {
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --label: 'Roboto Condensed', 'Arial Narrow', sans-serif;
  --brand-yellow: #FFAB4D;
  --brand-yellow-hover: #E6953D;
  --brand-ink: #0B0B0C;
  --bg:          #F7F7F6;
  --surface:     #FFFFFF;
  --surface-2:   #F1F1EF;
  --surface-3:   #E7E7E4;
  --line:        #E4E4E7;
  --line-strong: #CDCDD2;
  --text:        #0B0B0C;
  --text-2:      #4E5258;
  --text-3:      #7B7F86;
  --accent:      #B35F00;
  --accent-hover:#944E00;
  --accent-text: #FFFFFF;
  --accent-soft: #FFF3E4;
  --accent-line: #FFD9AD;
  --chart-muted: #FFD9AD;
  --glow:        rgb(255 171 77 / 0.16);
  --active: #B35F00; --active-bg: #FFF3E4; --active-line: #FFD9AD;
  --btn-primary-shadow: none;
}
:root[data-theme='dark'] {
  --bg: #0B0B0C; --surface: #111113; --surface-2: #17171A; --surface-3: #1F1F23;
  --line: #26262B; --line-strong: #34343A;
  --text: #F2F2F3; --text-2: #B4B4BB; --text-3: #8B8B93;
  --accent: #FFAB4D; --accent-hover: #FFC27F; --accent-text: #0B0B0C;
  --accent-soft: #2A1C0C; --accent-line: #4D3215; --chart-muted: #4D3215;
  --glow: rgb(255 171 77 / 0.14);
  --active: #FFAB4D; --active-bg: #2A1C0C; --active-line: #4D3215;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #0B0B0C; --surface: #111113; --surface-2: #17171A; --surface-3: #1F1F23;
    --line: #26262B; --line-strong: #34343A;
    --text: #F2F2F3; --text-2: #B4B4BB; --text-3: #8B8B93;
    --accent: #FFAB4D; --accent-hover: #FFC27F; --accent-text: #0B0B0C;
    --accent-soft: #2A1C0C; --accent-line: #4D3215; --chart-muted: #4D3215;
    --glow: rgb(255 171 77 / 0.14);
    --active: #FFAB4D; --active-bg: #2A1C0C; --active-line: #4D3215;
  }
  :root:not([data-theme='light']) .brand img { filter: invert(1); }
}
:root[data-theme='dark'] .brand img { filter: invert(1); }

/* Marca: el logotipo de Stratedge arriba y RADAR como etiqueta. */
.brand { flex-direction: column; align-items: flex-start; gap: 10px; padding: 6px 8px 2px; }
.brand img { width: auto; height: 26px; max-width: 100%; }
.brand .brand-text { flex-direction: row; align-items: center; gap: 8px; }
.brand h1 { font: 600 11px/1 var(--label); letter-spacing: 0.16em; padding: 4px 7px;
  border: 1px solid var(--text); border-radius: 2px; }
.brand .tagline { font: 400 11px/1.2 var(--label); letter-spacing: 0.12em; }
.nav-label, .kpi-label, th { font-family: var(--label); }
.btn-primary { letter-spacing: 0.02em; }
