/* Sanchari — Precision Minimalism (SANCHARI_SPEC.md §2).
   Near-black instrument panel. No cards, no shadows, no rounded corners. */

:root {
  --bg: #050607;
  --text-primary: #e8eaed;
  --text-secondary: #7a7f87;
  --glow: #5b8cff;
  --glow-soft: #9bb8ff;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background: var(--bg);
  overflow: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-primary);
}

#map {
  position: absolute;
  inset: 0;
  /* CARTO dark_nolabels is already near-black with faint gray roads —
     just nudge contrast so those road hints stay legible. */
  filter: contrast(1.35) brightness(0.95);
}

.readout {
  position: absolute;
  top: 28px;
  left: 32px;
  pointer-events: none;
  user-select: none;
}

.readout__label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.readout__value {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 34px;
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

/* MapLibre's required attribution control — kept, restyled flat/minimal. */
.maplibregl-ctrl-attrib {
  background: transparent !important;
  color: var(--text-secondary) !important;
  font-family: 'JetBrains Mono', ui-monospace, monospace !important;
  font-size: 9px !important;
  letter-spacing: 0.02em;
}
.maplibregl-ctrl-attrib a { color: var(--text-secondary) !important; }
.maplibregl-ctrl-attrib.maplibregl-compact { border-radius: 0 !important; }
.maplibregl-ctrl-bottom-right { opacity: 0.6; }
.maplibregl-ctrl-logo { display: none !important; }
