/* BOMAtlas Industrial Theme - Reindustrialize Design System */
:root {
  --bg-void: #06080c;
  --bg-base: #0a0c10;
  --bg-surface: #0e1117;
  --bg-elevated: #141820;
  --bg-card: #181e28;
  --gold-primary: #d4a012;
  --gold-light: #e8b71e;
  --gold-alpha-10: rgba(212, 160, 18, 0.1);
  --gold-alpha-20: rgba(212, 160, 18, 0.2);
  --gold-alpha-40: rgba(212, 160, 18, 0.4);
  --text-primary: #f0f2f5;
  --text-secondary: #8b95a5;
  --text-muted: #5a6475;
  --text-inverse: #0a0c10;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-default: rgba(255, 255, 255, 0.1);
  --border-gold: rgba(212, 160, 18, 0.3);
  --success: #22c55e;
  --font-sans: 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}
html {
  background: var(--bg-void);
}
body {
  font-family: var(--font-sans);
  background: var(--bg-void);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}
#map {
  background: var(--bg-base);
}

/* Sidebar */
#sidebar {
  background: rgba(6, 8, 12, 0.96);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-left: 1px solid var(--border-subtle);
  box-shadow:
    -8px 0 32px rgba(0, 0, 0, 0.6),
    inset 1px 0 0 var(--border-subtle);
}

#sidebar .header {
  padding: 16px 16px 12px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

#sidebar .header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-alpha-40), transparent);
}

#sidebar .header h1,
#sidebarTitle {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

#sidebar .header p {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

#sidebar .stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 12px;
  background: var(--border-subtle);
}

#sidebar .stat {
  background: var(--bg-base);
  padding: 10px 8px;
  text-align: center;
}

#sidebar .stat-value {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 600;
  color: var(--gold-primary);
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: var(--gold-primary);
  line-height: 1;
}
#sidebar .stat-label {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  margin-top: 4px;
}

/* Filters */
#sidebar .filters {
  padding: 12px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-base);
}

.filter-section {
  border: 1px solid var(--border-subtle);
  border-radius: 0;
  margin-bottom: 8px;
  background: var(--bg-surface);
}

.filter-section:hover {
  border-color: var(--border-default);
}

.filter-section-header {
  padding: 12px 14px;
  min-height: 44px;
  background: transparent;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.filter-section-header:hover {
  background: var(--gold-alpha-10);
  color: var(--gold-primary);
}

.filter-section:not(.collapsed) .filter-section-header {
  border-bottom: 1px solid var(--border-subtle);
}
.filter-section-toggle {
  color: var(--gold-primary);
  font-size: 8px;
}
.filter-section-content {
  padding: 12px;
  background: var(--bg-base);
}

/* Search */
.search-container {
  position: relative;
}
.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  opacity: 0.5;
}

.search-input,
#searchInput {
  width: 100%;
  padding: 12px 12px 12px 40px;
  background: var(--bg-void);
  border: 1px solid var(--border-default);
  border-radius: 0;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 13px;
  transition: all var(--transition-fast);
}
.search-input:focus,
#searchInput:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px var(--gold-alpha-20);
}

.search-input::placeholder,
#searchInput::placeholder {
  color: var(--text-muted);
}

/* Geolocation */
.geolocation-btn,
#geolocationBtn {
  background: var(--gold-alpha-10);
  border: 1px solid var(--border-gold);
  border-radius: 0;
  color: var(--gold-primary);
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}
.geolocation-btn:hover,
#geolocationBtn:hover {
  background: var(--gold-alpha-20);
  border-color: var(--gold-primary);
  transform: translateY(-1px);
}

/* Filter selects */
.filter-select {
  width: 100%;
  padding: 10px 12px;
  background: var(--bg-void);
  border: 1px solid var(--border-default);
  border-radius: 0;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 12px;
  cursor: pointer;
  transition: all var(--transition-fast);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238b95a5' d='M3 5l3 3 3-3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

.filter-select:hover {
  border-color: var(--border-gold);
  background-color: var(--bg-surface);
}
.filter-select:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px var(--gold-alpha-20);
}
.filter-select option {
  background: var(--bg-base);
  color: var(--text-primary);
}

.filter-row {
  display: flex;
  gap: 8px;
}
.filter-col {
  flex: 1;
}

/* CAGE Input */
.cage-lookup-group {
  display: flex;
  gap: 0;
}

.cage-input,
#cageInput {
  flex: 1;
  padding: 10px 12px;
  background: var(--bg-void);
  border: 1px solid var(--border-default);
  border-right: none;
  border-radius: 0;
  color: var(--gold-primary);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.cage-input:focus,
#cageInput:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px var(--gold-alpha-20);
}

.cage-lookup-btn,
#cageLookupBtn {
  padding: 10px 14px;
  background: var(--gold-primary);
  border: 1px solid var(--gold-primary);
  border-radius: 0;
  color: var(--text-inverse);
  font-size: 14px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cage-lookup-btn:hover,
#cageLookupBtn:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

/* View Mode Controls */
.view-mode-buttons-compact {
  display: flex;
  gap: 0;
  background: var(--bg-void);
  border: 1px solid var(--border-subtle);
  padding: 0;
  border-radius: 0;
}

.view-mode-btn-icon {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  background: transparent;
  border: none;
  border-right: 1px solid var(--border-subtle);
  border-radius: 0;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.view-mode-btn-icon:last-child {
  border-right: none;
}
.view-mode-btn-icon:hover {
  background: var(--gold-alpha-10);
  color: var(--text-primary);
}
.view-mode-btn-icon.active {
  background: var(--gold-primary);
  color: var(--text-inverse);
  box-shadow: none;
}
.view-mode-btn-icon .view-icon {
  font-size: 18px;
}

.view-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border-subtle);
}

.view-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 4px;
  background: var(--bg-surface);
  border: none;
  border-right: 1px solid var(--border-subtle);
  border-radius: 0;
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--text-muted);
}

.view-card:last-child {
  border-right: none;
}
.view-card:hover {
  background: var(--gold-alpha-10);
  color: var(--text-primary);
}
.view-card.active {
  background: var(--gold-primary);
  color: var(--text-inverse);
}
.view-icon {
  font-size: 16px;
}
.view-label {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Entity List */
.school-list,
#schoolList {
  flex: 1;
  overflow-y: auto;
  padding: 0;
  background: var(--bg-base);
}
.school-list::-webkit-scrollbar {
  width: 6px;
}
.school-list::-webkit-scrollbar-track {
  background: var(--bg-void);
}
.school-list::-webkit-scrollbar-thumb {
  background: var(--border-default);
  border-radius: 0;
}
.school-list::-webkit-scrollbar-thumb:hover {
  background: var(--gold-alpha-40);
}

.school-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.school-card:hover {
  background: var(--bg-elevated);
  border-left: 2px solid var(--gold-primary);
  padding-left: 14px;
}
.school-card.selected {
  background: var(--gold-alpha-10);
  border-left: 2px solid var(--gold-primary);
  padding-left: 14px;
}

.school-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-primary);
  flex-shrink: 0;
}

.school-info {
  flex: 1;
  min-width: 0;
}
.school-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}
.school-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.school-badges {
  display: flex;
  gap: 4px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.school-badge {
  padding: 2px 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.school-badge.cert {
  background: var(--gold-alpha-10);
  border-color: var(--border-gold);
  color: var(--gold-primary);
}

/* Selected Entity Panel */
.selected-school-panel,
#selectedSchoolPanel {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0;
  display: none;
}
.selected-school-panel.visible {
  display: block;
}
.selected-school-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 16px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border-subtle);
}
.selected-school-title,
#selectedSchoolTitle {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.selected-school-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border-default);
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.selected-school-close:hover {
  background: var(--gold-alpha-10);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}
.selected-school-info,
#selectedSchoolInfo {
  padding: 16px;
}
.selected-school-actions,
#selectedSchoolActions {
  padding: 0 16px 16px;
  display: flex;
  gap: 8px;
}

/* Stats Badge */
.stats-badge,
#statsBadge {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(6, 8, 12, 0.96);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 0;
  padding: 0;
  min-width: 180px;
  z-index: 500;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

.stats-badge-header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-subtle);
}
.stats-badge-total,
#statsBadgeTotal {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold-primary);
}
.stats-badge-title,
#statsBadgeTitle {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.stats-badge-certs,
#statsBadgeCerts {
  padding: 10px 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.stats-badge-cert {
  padding: 4px 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-secondary);
}

.stats-badge-cta {
  display: block;
  padding: 12px 14px;
  background: var(--gold-primary);
  color: var(--text-inverse);
  text-align: center;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all var(--transition-fast);
}

.stats-badge-cta:hover {
  background: var(--gold-light);
}

/* Data Freshness */
.data-freshness,
#dataFreshness {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--bg-void);
  border: 1px solid var(--border-subtle);
  margin: 8px 0;
}
.data-freshness-dot,
#freshnessDot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 0;
}
.data-freshness-dot.stale {
  background: #f59e0b;
}
.data-freshness-text,
#freshnessText {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.data-freshness-refresh,
#refreshDataBtn {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border-default);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.data-freshness-refresh:hover,
#refreshDataBtn:hover {
  background: var(--gold-alpha-10);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

/* Mode Indicator */
.mode-indicator,
#modeIndicator {
  padding: 10px 12px;
  background: var(--bg-void);
  border: 1px solid var(--border-subtle);
  border-left: 2px solid var(--gold-primary);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* Hex Tooltip */
.hex-tooltip {
  background: rgba(6, 8, 12, 0.96) !important;
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-default) !important;
  border-radius: 0 !important;
  padding: 12px 16px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5) !important;
  color: var(--text-primary) !important;
  font-family: var(--font-sans) !important;
}

.hex-tooltip strong {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-primary);
}
.hex-tooltip .hex-cities {
  margin: 8px 0;
  padding: 8px 0;
  border-top: 1px solid var(--border-subtle);
  font-size: 12px;
  line-height: 1.5;
}
.hex-tooltip .hex-cities div {
  color: var(--text-secondary);
}
.hex-tooltip .hex-more {
  color: var(--text-muted);
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Sector Stats Grid */
.sector-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border-subtle);
}

.sector-stat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  background: var(--bg-surface);
  border: none;
  border-bottom: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 10px;
}

.sector-stat-item:nth-child(even) {
  border-right: none;
}
.sector-stat-item:nth-last-child(-n + 2) {
  border-bottom: none;
}
.sector-stat-item:hover {
  background: var(--gold-alpha-10);
}
.sector-stat-item.active {
  background: var(--gold-alpha-10);
}
.sector-stat-item.active .sector-stat-name {
  color: var(--gold-primary);
}
.sector-stat-item.active .sector-stat-count {
  background: var(--gold-primary);
  color: var(--text-inverse);
}
.sector-stat-name {
  color: var(--text-primary);
  font-weight: 500;
}

.sector-stat-count {
  min-width: 24px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 10px;
  padding: 0 6px;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--gold-primary);
  color: var(--text-inverse);
  border: none;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-sans);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--gold-alpha-40);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-default);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-sans);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  border-color: var(--gold-primary);
  background: var(--gold-alpha-10);
}

.mobile-close-btn {
  display: none;
  width: 100%;
  padding: 14px;
  background: var(--bg-surface);
  border: none;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
}

/* Tooltips */
.tooltip-trigger .tooltip {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: 0;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 8px 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

/* Leaflet Popup */
.leaflet-popup-content-wrapper {
  background: rgba(6, 8, 12, 0.96) !important;
  border: 1px solid var(--border-default) !important;
  border-radius: 0 !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6) !important;
}
.leaflet-popup-content {
  color: var(--text-primary) !important;
  font-family: var(--font-sans) !important;
  margin: 14px 16px !important;
}
.leaflet-popup-tip {
  background: rgba(6, 8, 12, 0.96) !important;
  border: 1px solid var(--border-default) !important;
}
.leaflet-popup-close-button {
  color: var(--text-muted) !important;
  font-size: 20px !important;
  padding: 8px !important;
}
.leaflet-popup-close-button:hover {
  color: var(--gold-primary) !important;
}

/* Column popup override */
.column-popup .leaflet-popup-content-wrapper {
  background: rgba(6, 8, 12, 0.98) !important;
  border: 1px solid var(--border-gold) !important;
  border-radius: 0 !important;
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.6),
    0 0 30px var(--gold-alpha-20) !important;
}
.column-popup .leaflet-popup-tip {
  background: rgba(6, 8, 12, 0.98) !important;
  border-color: var(--border-gold) !important;
}

/* Custom popup override */
.custom-popup .leaflet-popup-content-wrapper {
  background: var(--bg-surface) !important;
  border: 1px solid var(--border-gold) !important;
  border-radius: 0 !important;
  box-shadow: 0 4px 20px var(--gold-alpha-20) !important;
}

/* Loading */
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Mobile */
@media (max-width: 768px) {
  #sidebar {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
    min-width: 0;
    transform: translateY(100%);
    z-index: 900;
    border-left: none;
    border-top: 1px solid var(--border-subtle);
  }
  #sidebar.expanded {
    transform: translateY(0);
  }
  .mobile-close-btn {
    display: block;
  }
  .stats-badge,
  #statsBadge {
    bottom: 80px;
    right: 16px;
    left: 16px;
    min-width: auto;
  }
}

@media (max-width: 480px) {
  .filter-row {
    flex-direction: column;
  }
  .view-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sector-stats-grid {
    grid-template-columns: 1fr;
  }
  .sector-stat-item {
    border-right: none;
  }
  .sector-stat-item:last-child {
    border-bottom: none;
  }
}

/* Entity Table Overrides for Industrial Theme */
.entity-table-wrapper {
  border-radius: 0;
  background: var(--bg-surface);
  border-color: var(--border-subtle);
}
.table-search-input {
  border-radius: 0;
  background: var(--bg-void);
  border-color: var(--border-default);
  color: var(--text-primary);
}
.table-search-input:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px var(--gold-alpha-20);
}
.mode-toggle {
  border-radius: 0;
  background: var(--bg-void);
}
.mode-btn {
  border-radius: 0;
}
.mode-btn.active {
  background: var(--gold-alpha-20);
  color: var(--gold-primary);
}
.entity-count {
  border-radius: 0;
  background: var(--bg-void);
}
.table-action-btn {
  border-radius: 0;
  background: var(--gold-alpha-10);
  border-color: var(--border-gold);
  color: var(--gold-primary);
}
.type-badge {
  border-radius: 0;
}
.action-btn {
  border-radius: 0;
}
.action-btn.action-map {
  background: var(--gold-alpha-10);
  border-color: var(--border-gold);
  color: var(--gold-primary);
}
.page-btn {
  border-radius: 0;
}
.page-btn.active {
  background: var(--gold-alpha-20);
  border-color: var(--border-gold);
  color: var(--gold-primary);
}
.page-size-selector select {
  border-radius: 0;
  background: var(--bg-void);
  border-color: var(--border-default);
  color: var(--text-primary);
}

/* Compare, CAGE, Workforce Overrides for Industrial Theme */
.compare-floating-btn {
  border-radius: 0;
  background: var(--gold-primary);
  color: var(--text-inverse);
  box-shadow: 0 4px 20px var(--gold-alpha-40);
}
.compare-floating-btn .compare-count {
  border-radius: 0;
  background: rgba(0, 0, 0, 0.2);
}
.school-card .compare-btn {
  border-radius: 0;
  background: var(--gold-alpha-10);
  border-color: var(--border-gold);
  color: var(--gold-primary);
}
.school-card .compare-btn.active {
  background: var(--gold-primary);
  border-color: var(--gold-primary);
  color: var(--text-inverse);
}
.compare-btn:not(.school-card .compare-btn) {
  border-radius: 0;
  background: var(--gold-alpha-10);
  border-color: var(--border-gold);
  color: var(--gold-primary);
}
.compare-btn:not(.school-card .compare-btn).active {
  background: var(--gold-primary);
  border-color: var(--gold-primary);
  color: var(--text-inverse);
}
.compare-modal-content {
  border-radius: 0;
  background: var(--bg-surface);
  border-color: var(--border-gold);
}
.compare-clear-btn {
  border-radius: 0;
}
.compare-close-btn {
  border-radius: 0;
}
.compare-action-btn {
  border-radius: 0;
}
.compare-toast {
  border-radius: 0;
  background: var(--bg-surface);
  border-color: var(--border-subtle);
}
.score-bar {
  border-radius: 0;
}
.score-bar .score-fill {
  border-radius: 0;
}

/* CAGE overrides */
.cage-input {
  border-radius: 0;
  background: var(--bg-void);
  border-color: var(--border-default);
  color: var(--gold-primary);
}
.cage-input:focus {
  border-color: var(--gold-primary);
  background: var(--gold-alpha-10);
}
.cage-lookup-btn {
  border-radius: 0;
  background: var(--gold-alpha-10);
  border-color: var(--border-gold);
  color: var(--gold-primary);
}
.cage-lookup-btn:hover {
  background: var(--gold-alpha-20);
  border-color: var(--gold-primary);
}
.cage-modal-content {
  border-radius: 0;
  background: var(--bg-surface);
  border-color: var(--border-gold);
}
.cage-modal-close {
  border-radius: 0;
}
.cage-badge {
  border-radius: 0;
}
.cage-details-grid {
  border-radius: 0;
  background: var(--bg-base);
}
.cage-tag {
  border-radius: 0;
}
.cage-action-btn {
  border-radius: 0;
}
.cage-action-btn.primary {
  background: var(--gold-primary);
}
.cage-action-btn.claim {
  background: var(--gold-primary);
}

/* Workforce overrides */
.workforce-compact {
  border-radius: 0;
}
.workforce-badge {
  border-radius: 0;
}
.workforce-panel {
  border-radius: 0;
}
.workforce-stat {
  border-radius: 0;
}
.workforce-score-bar {
  border-radius: 0;
}
.workforce-score-bar .score-fill {
  border-radius: 0;
}
.workforce-school-item {
  border-radius: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
