/* Carbon & Signal Brass Editorial Theme Override for Graph Explorer */
@font-face { font-family: 'Inter'; src: url('/fonts/inter.woff2') format('woff2'); font-weight: 400 700; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('/fonts/jetbrains-mono.woff2') format('woff2'); font-weight: 400 600; font-display: swap; }

:root {
  --bg-deep: #0c0c0b !important;
  --bg-canvas: #0c0c0b !important;
  --surface: rgba(18, 18, 16, 0.92) !important;
  --surface-solid: #121210 !important;
  --surface-hover: #1e1d19 !important;
  --surface-active: rgba(224, 159, 62, 0.14) !important;
  --border: #262522 !important;
  --border-strong: #3a3832 !important;
  --text-primary: #f2efe9 !important;
  --text-secondary: #a8a298 !important;
  --text-muted: #757066 !important;
  --accent: #e09f3e !important;
  --accent-indigo: #e09f3e !important;
  --accent-emerald: #6bbf8e !important;
  --accent-amber: #e09f3e !important;
  --accent-rose: #d47a6a !important;
}

body, #graph-canvas, .canvas-wrap {
  background: #0c0c0b !important;
  background-image: none !important;
  color: #f2efe9 !important;
  font-family: 'Inter', -apple-system, sans-serif !important;
}

/* Remove neon cyan/purple glow from top HUD brand mark & active pills */
.brand-icon, .brand-badge {
  background: #171714 !important;
  border: 1px solid rgba(224, 159, 62, 0.35) !important;
  border-radius: 4px !important;
}
.brand-dot.d1 { background: #e09f3e !important; box-shadow: none !important; }
.brand-dot.d2 { background: #f2efe9 !important; box-shadow: none !important; }
.brand-dot.d3 { background: #6bbf8e !important; box-shadow: none !important; }

.stat-pill, .stats-pill, .badge-count {
  background: rgba(224, 159, 62, 0.1) !important;
  border-color: rgba(224, 159, 62, 0.3) !important;
  color: #e09f3e !important;
}

.search-box, .search-wrap, .layout-group {
  background: #121210 !important;
  border-color: #262522 !important;
}
.search-box:focus-within, .search-wrap:focus-within {
  border-color: #e09f3e !important;
  box-shadow: 0 0 0 2px rgba(224, 159, 62, 0.15) !important;
}

.layout-btn.active, .lens-btn.active, .lens-card.active, .tier-btn.active, .pill.active, .preset-chip.active, .seg-btn.active {
  background: rgba(224, 159, 62, 0.14) !important;
  border-color: #e09f3e !important;
  color: #f2efe9 !important;
  box-shadow: none !important;
}
.preset-chip, .seg-btn {
  border-color: #262522 !important;
}

.lens-btn, .lens-card, .tier-btn, .minimap-card, .minimap-wrap, .zoom-dock, .toast {
  background: #121210 !important;
  border-color: #262522 !important;
  border-radius: 5px !important;
}
.toast {
  color: #f2efe9 !important;
  border-color: #3a3832 !important;
}
a { color: #e09f3e !important; }
