body.spectral-lab-page {
  background: #12151b !important;
  color: #ecebe6 !important;
  font-family: 'Archivo', system-ui, sans-serif !important;
}
body.spectral-lab-page > .cyber-bg,
body.spectral-lab-page > .living-bg,
body.spectral-lab-page > .o-field,
body.spectral-lab-page > .particles-container,
body.spectral-lab-page .hologram-particles,
body.spectral-lab-page .data-flow,
body.spectral-lab-page .waves { display: none !important; }
body.spectral-lab-page > header.main-nav { display: none !important; }
body.spectral-lab-page,
body.spectral-lab-page .dashboard,
body.spectral-lab-page .main,
body.spectral-lab-page .scale-section,
body.spectral-lab-page .simulator { background: #12151b !important; }
body.spectral-lab-page *,
body.spectral-lab-page *::before,
body.spectral-lab-page *::after { animation: none !important; }
body.spectral-lab-page .spectral-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
body.spectral-lab-page .hero,
body.spectral-lab-page .lab-hero,
body.spectral-lab-page .page-hero {
  min-height: 0 !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 10rem 2.2rem 4.5rem !important;
  text-align: left !important;
  border-bottom: 1px solid rgba(232,236,240,.09) !important;
}
body.spectral-lab-page .hero h1,
body.spectral-lab-page .lab-hero h1,
body.spectral-lab-page .page-hero h1 {
  max-width: 17ch;
  margin: 0 0 1.25rem !important;
  color: #ecebe6 !important;
  font: 400 clamp(3rem,7vw,5.8rem)/.98 'Instrument Serif',Georgia,serif !important;
  letter-spacing: -.02em !important;
}
body.spectral-lab-page .hero p,
body.spectral-lab-page .lab-hero p,
body.spectral-lab-page .page-hero p { max-width: 60ch !important; margin-left: 0 !important; color: #9aa0a6 !important; }
body.spectral-lab-page .container,
body.spectral-lab-page .main-content,
body.spectral-lab-page main { max-width: 1180px !important; margin-left: auto !important; margin-right: auto !important; padding-left: 2.2rem !important; padding-right: 2.2rem !important; }
body.spectral-lab-page .card,
body.spectral-lab-page .tool-card,
body.spectral-lab-page .panel,
body.spectral-lab-page .control-panel,
body.spectral-lab-page .metric-card,
body.spectral-lab-page .dataset-card {
  border: 1px solid rgba(232,236,240,.09) !important;
  border-radius: 0 !important;
  background: #171b23 !important;
  box-shadow: none !important;
}
body.spectral-lab-page .section,
body.spectral-lab-page .dashboard-header,
body.spectral-lab-page .header,
body.spectral-lab-page .scale-content,
body.spectral-lab-page .simulator-content,
body.spectral-lab-page .comparison-chart,
body.spectral-lab-page .signature-panel,
body.spectral-lab-page .timeline-panel,
body.spectral-lab-page .hologram-panel,
body.spectral-lab-page .graph-container,
body.spectral-lab-page .chart-container,
body.spectral-lab-page .sim-output {
  background: #171b23 !important;
  border-color: rgba(232,236,240,.09) !important;
  box-shadow: none !important;
}
body.spectral-lab-page h1,
body.spectral-lab-page h2,
body.spectral-lab-page h3,
body.spectral-lab-page .section-title,
body.spectral-lab-page .panel-title,
body.spectral-lab-page .card-title { color: #ecebe6 !important; }
body.spectral-lab-page p,
body.spectral-lab-page .section-label,
body.spectral-lab-page .metric-label,
body.spectral-lab-page .scale-description { color: #9aa0a6 !important; }
body.spectral-lab-page button,
body.spectral-lab-page select,
body.spectral-lab-page input {
  border-radius: 0 !important;
  border-color: rgba(232,236,240,.14) !important;
}
body.spectral-lab-page table {
  width: 100%;
  border-collapse: collapse;
  background: #171b23;
}
body.spectral-lab-page th,
body.spectral-lab-page td { padding: .85rem 1rem; border-bottom: 1px solid rgba(232,236,240,.08); text-align: left; }
body.spectral-lab-page th { color: #4fa99b; font: .68rem/1.4 'IBM Plex Mono',monospace; letter-spacing: .08em; text-transform: uppercase; }
@media(max-width:760px){
  body.spectral-lab-page .hero,
  body.spectral-lab-page .lab-hero,
  body.spectral-lab-page .page-hero { padding: 8rem 1.3rem 3rem !important; }
  body.spectral-lab-page .container,
  body.spectral-lab-page .main-content,
  body.spectral-lab-page main { padding-left: 1.3rem !important; padding-right: 1.3rem !important; }
}

/* Complete LAB redesign: one editorial system for every linked instrument. */
body.spectral-lab-page {
  --lab-accent: #6d9fbd;
  --lab-warm: #d8a24a;
  background: #12151b !important;
}
body.spectral-lab-page .dashboard,
body.spectral-lab-page .main {
  width: min(1180px, calc(100% - 3rem)) !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 8.5rem 0 6rem !important;
}
body.spectral-lab-page .dashboard-header,
body.spectral-lab-page .header {
  margin: 0 0 3rem !important;
  padding: 0 0 2.5rem !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(236,235,230,.09) !important;
  background: transparent !important;
}
body.spectral-lab-page .dashboard-header h1,
body.spectral-lab-page .header h1 {
  margin: 0 0 1rem !important;
  font: 400 clamp(3rem,7vw,5.6rem)/.95 'Instrument Serif',Georgia,serif !important;
  letter-spacing: -.02em !important;
}
body.spectral-lab-page .metrics-grid,
body.spectral-lab-page .dashboard-grid,
body.spectral-lab-page .comparison-grid,
body.spectral-lab-page .dataset-selector {
  gap: 1px !important;
  padding: 1px !important;
  background: rgba(236,235,230,.09) !important;
}
body.spectral-lab-page .metric-card,
body.spectral-lab-page .panel,
body.spectral-lab-page .dataset-card {
  margin: 0 !important;
  padding: 1.6rem !important;
  background: #171b23 !important;
  border: 0 !important;
}
body.spectral-lab-page .metric-value,
body.spectral-lab-page .ccl-value,
body.spectral-lab-page .sig-value { color: var(--lab-accent) !important; text-shadow: none !important; }
body.spectral-lab-page .live-badge,
body.spectral-lab-page .status-badge,
body.spectral-lab-page .dataset-btn,
body.spectral-lab-page .btn {
  border-radius: 0 !important;
  border: 1px solid rgba(109,159,189,.45) !important;
  background: transparent !important;
  color: var(--lab-accent) !important;
  box-shadow: none !important;
}
body.spectral-lab-page .cosmos-bg,
body.spectral-lab-page .quantum-bg,
body.spectral-lab-page .bio-bg,
body.spectral-lab-page .psyche-bg,
body.spectral-lab-page .galaxy,
body.spectral-lab-page .oric-pattern,
body.spectral-lab-page .orbital,
body.spectral-lab-page .electron,
body.spectral-lab-page .neuron-path { display: none !important; }
body.spectral-lab-page .scale-section {
  min-height: 0 !important;
  width: min(1180px, calc(100% - 3rem)) !important;
  margin: 0 auto !important;
  padding: 4rem 0 !important;
  border-bottom: 1px solid rgba(236,235,230,.09) !important;
  background: #12151b !important;
}
body.spectral-lab-page .scale-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}
body.spectral-lab-page .scale-title {
  color: #ecebe6 !important;
  font: 400 clamp(2.4rem,5vw,4rem)/1 'Instrument Serif',Georgia,serif !important;
}
body.spectral-lab-page .scale-label,
body.spectral-lab-page .panel-status,
body.spectral-lab-page .card-badge,
body.spectral-lab-page .sig-label { color: var(--lab-accent) !important; }
body.spectral-lab-page .simulator-toggle,
body.spectral-lab-page .scroll-indicator,
body.spectral-lab-page .sound-toggle { display: none !important; }

@media(max-width:760px){
  body.spectral-lab-page .dashboard,
  body.spectral-lab-page .main { width:min(100% - 2rem,1180px) !important; padding-top:7rem !important; }
  body.spectral-lab-page .scale-section { width:min(100% - 2rem,1180px) !important; padding:3rem 0 !important; }
}
