/* Carbon & Signal Brass Editorial Theme Override for Events Calendar */
@font-face { font-family: 'Newsreader'; src: url('/fonts/newsreader-roman.woff2') format('woff2'); font-weight: 400 600; font-display: swap; }
@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, [data-theme="dark"] {
  --bg: #0c0c0b !important;
  --bg-elevated: #121210 !important;
  --bg-surface: #171714 !important;
  --bg-surface-hover: #1f1e1a !important;
  --bg-cell-muted: #0e0e0c !important;
  --bg-input: #121210 !important;
  --border: #262522 !important;
  --border-subtle: #1c1b18 !important;
  --border-strong: #3a3832 !important;
  --text: #f2efe9 !important;
  --text-secondary: #d4cfc5 !important;
  --text-muted: #a8a298 !important;
  --text-faint: #757066 !important;
  --accent: #e09f3e !important;
  --accent-hover: #edb257 !important;
  --accent-soft: rgba(224, 159, 62, 0.14) !important;
  --accent-ring: rgba(224, 159, 62, 0.35) !important;
  --success: #6bbf8e !important;
  --success-soft: rgba(107, 191, 142, 0.14) !important;
  --warning: #e09f3e !important;
  --gold: #e09f3e !important;
  --radius-sm: 4px !important;
  --radius-md: 5px !important;
  --radius-lg: 6px !important;
}

body {
  background: #0c0c0b !important;
  color: #f2efe9 !important;
  font-family: 'Inter', -apple-system, sans-serif !important;
}

.brand-icon, .logo-badge, .brand-mark, .brand > div:first-child {
  background: #171714 !important;
  background-image: none !important;
  border: 1px solid rgba(224, 159, 62, 0.38) !important;
  color: #e09f3e !important;
  box-shadow: none !important;
  border-radius: 4px !important;
}
.legend-bar.confirmed, .legend-swatch.confirmed, .status-swatch.confirmed {
  background: #e09f3e !important;
}
.legend-bar.estimated, .legend-swatch.estimated, .status-swatch.estimated {
  border-color: #e09f3e !important;
}

h1, .brand-title, .month-title, .month-heading {
  font-family: 'Newsreader', Georgia, serif !important;
  font-weight: 400 !important;
  letter-spacing: -0.015em !important;
}

.topbar-links, .nav-cross-links, .ecosystem-links, #theme-toggle, .theme-toggle {
  display: none !important;
}

.view-btn.active, .preset-pill.active, .preset-btn.active, .month-pill.active, .btn-primary {
  background: #e09f3e !important;
  color: #0c0c0b !important;
  border-color: #e09f3e !important;
  font-weight: 600 !important;
}

.today-badge, .day-today .day-num, .cell-today .day-number {
  background: #e09f3e !important;
  color: #0c0c0b !important;
}
.today-label, .more-link, .day-more {
  color: #e09f3e !important;
  background: rgba(224, 159, 62, 0.12) !important;
}
.legend-swatch.confirmed { background: #e09f3e !important; }
.legend-swatch.estimated { border-color: #e09f3e !important; }
a { color: #e09f3e !important; }


/* Prominent Multi-Select Region Filter Row */
.regions-row {
  align-items: center;
}
.region-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.region-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.12s ease, background 0.12s ease, color 0.12s ease;
}
.region-pill:hover {
  border-color: var(--border-strong);
  color: var(--text);
}
.region-pill.active {
  background: #e09f3e !important;
  border-color: #e09f3e !important;
  color: #0c0c0b !important;
  font-weight: 600 !important;
}
.region-pill.active .cat-pill-count {
  color: #0c0c0b !important;
  opacity: 0.78;
}
