:root {
  --bg: #080c10;
  --panel: rgba(12, 18, 24, 0.88);
  --panel-solid: #101820;
  --ink: #f4f7fb;
  --muted: #aab7c8;
  --line: rgba(255, 255, 255, 0.16);
  --accent: #38bdf8;
  --accent-2: #f59e0b;
  --hot: #ef4444;
  --good: #22c55e;
  --shadow: 0 20px 70px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html,
body,
.app-shell {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.map-stage {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

#map {
  position: absolute;
  inset: 0;
  background: #111827;
}

.brand-bar,
.orientation-card,
.inspector,
.control-deck {
  z-index: 500;
}

.brand-bar {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.brand-bar a,
.brand-bar span {
  padding: 11px 14px;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
}

.brand-bar a {
  border-right: 1px solid var(--line);
  color: var(--accent);
}

.brand-bar span {
  color: var(--accent);
}

.orientation-card {
  position: absolute;
  top: 70px;
  left: 16px;
  width: min(340px, calc(100vw - 32px));
  padding: 14px;
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 8px;
  background: rgba(10, 18, 26, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.orientation-card strong {
  display: block;
  color: var(--ink);
  font-size: 0.92rem;
}

.orientation-card p,
.orientation-card small {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.35;
}

.orientation-card small {
  display: block;
  color: #fed7aa;
  font-weight: 800;
}

.inspector {
  position: absolute;
  top: 16px;
  right: 16px;
  width: min(410px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  overflow: auto;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 12px;
  font-size: clamp(1.85rem, 4vw, 3.1rem);
  line-height: 1;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.05;
}

#dataset-summary,
.data-notes p {
  color: var(--muted);
  line-height: 1.55;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -4px 0 12px;
}

.quality-badge,
.category-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.73rem;
  font-weight: 900;
}

.quality-badge {
  color: #fed7aa;
  background: rgba(249, 115, 22, 0.14);
  border-color: rgba(249, 115, 22, 0.4);
}

.quality-badge[data-quality="real"],
.quality-badge[data-quality="interpolated"] {
  color: #bae6fd;
  background: rgba(56, 189, 248, 0.14);
  border-color: rgba(56, 189, 248, 0.4);
}

.quality-badge[data-quality="estimate"] {
  color: #fde68a;
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(245, 158, 11, 0.42);
}

.category-badge {
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.06);
}

.metric-card {
  display: grid;
  gap: 4px;
  margin: 20px 0 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.metric-card span,
.source-box span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.metric-card strong {
  font-size: 2.2rem;
}

.reader-card {
  display: grid;
  gap: 7px;
  margin: 0 0 14px;
  padding: 14px;
  border: 1px solid rgba(56, 189, 248, 0.24);
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.08);
}

.reader-card span {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.reader-card p {
  margin: 0;
  color: var(--ink);
  font-weight: 750;
  line-height: 1.35;
}

.reader-card small {
  color: var(--muted);
  line-height: 1.4;
}

.drilldown-card {
  display: grid;
  gap: 9px;
  margin: 0 0 16px;
  padding: 14px;
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: 8px;
  background: rgba(245, 158, 11, 0.08);
}

.drilldown-card div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.drilldown-card span {
  color: var(--accent-2);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.drilldown-card button {
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
}

.drilldown-card strong {
  font-size: 1.08rem;
}

.drilldown-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
}

#selected-region-chart {
  width: 100%;
  min-height: 58px;
}

.sparkline-fill {
  fill: rgba(56, 189, 248, 0.12);
  stroke: none;
}

.sparkline-line {
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.sparkline-dot {
  fill: var(--accent-2);
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 16px;
}

.insight-grid div {
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.insight-grid span,
.insight-grid small {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.insight-grid strong {
  display: block;
  overflow: hidden;
  margin: 5px 0 2px;
  color: var(--ink);
  font-size: 0.92rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.insight-grid small {
  color: var(--accent);
  font-size: 0.74rem;
  text-transform: none;
}

.toggle-row {
  margin: 0 0 18px;
  color: var(--muted);
  font-weight: 700;
}

.toggle-row.compact {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  margin: 8px 0 0;
  min-height: 34px;
  font-size: 0.82rem;
}

.toggle-row input {
  accent-color: var(--accent);
}

.legend {
  display: grid;
  grid-template-columns: auto auto 1fr auto auto;
  gap: 9px;
  align-items: center;
  color: var(--muted);
  font-size: 0.82rem;
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.legend-dot.low {
  background: var(--good);
}

.legend-dot.high {
  background: var(--hot);
}

.legend-track {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--good), var(--accent-2), var(--hot));
}

.legend-meaning {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.source-box {
  display: grid;
  gap: 7px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.source-box a {
  color: var(--accent);
  overflow-wrap: anywhere;
}

.source-box small {
  color: var(--muted);
  line-height: 1.45;
}

.method-card,
.profile-card {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.method-card summary,
.profile-card span {
  color: var(--accent);
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.method-card dl {
  display: grid;
  gap: 7px;
  margin: 12px 0 0;
}

.method-card dt {
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.method-card dd {
  margin: 0 0 6px;
  color: var(--muted);
  line-height: 1.38;
}

.profile-card strong {
  display: block;
  margin: 8px 0;
}

.region-profile {
  display: grid;
  gap: 7px;
  max-height: 260px;
  overflow: auto;
}

.region-profile p {
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
}

.profile-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 8px;
  min-height: 46px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.profile-row:hover,
.profile-row:focus-visible {
  border-color: rgba(56, 189, 248, 0.68);
  outline: none;
}

.profile-row strong {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-row span {
  color: var(--ink);
  font-size: 0.8rem;
  text-transform: none;
}

.profile-row small {
  grid-column: 1 / 3;
  color: var(--muted);
}

.control-deck {
  position: relative;
  padding: 14px clamp(12px, 3vw, 28px) 16px;
  border-top: 1px solid var(--line);
  background: rgba(8, 12, 16, 0.94);
  backdrop-filter: blur(18px);
}

.query-bar {
  display: grid;
  grid-template-columns: auto minmax(220px, 0.42fr) 1fr;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}

.query-bar label,
.data-table-panel span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.query-bar input {
  width: 100%;
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
}

.active-filters {
  display: flex;
  gap: 7px;
  overflow-x: auto;
}

.active-filters span {
  flex: 0 0 auto;
  padding: 7px 9px;
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 999px;
  color: #dbeafe;
  background: rgba(56, 189, 248, 0.12);
  font-size: 0.76rem;
  font-weight: 800;
}

.dataset-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 8px;
  margin-bottom: 14px;
  overflow-x: auto;
}

.category-filters,
.compare-panel {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
  overflow-x: auto;
}

.category-filter {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 850;
}

.category-filter[aria-pressed="true"] {
  border-color: rgba(56, 189, 248, 0.78);
  color: var(--ink);
  background: rgba(56, 189, 248, 0.16);
}

.dataset-tab {
  display: grid;
  gap: 4px;
  min-height: 46px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  text-align: left;
}

.dataset-tab small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compare-panel {
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.compare-panel label {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  min-height: 42px;
}

.compare-panel select {
  min-height: 38px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: #101820;
  font: inherit;
}

.compare-panel strong {
  color: var(--ink);
}

.dataset-tab:hover,
.radio-card:hover,
.info-card a:hover,
.radio-source a:hover {
  border-color: rgba(56, 189, 248, 0.68);
}

.dataset-tab:focus-visible,
.category-filter:focus-visible,
.region-row:focus-visible,
.radio-card:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.dataset-tab[aria-selected="true"] {
  border-color: rgba(56, 189, 248, 0.84);
  color: var(--ink);
  background: rgba(56, 189, 248, 0.18);
}

.timeline-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
}

.year-ticks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.year-ticks span {
  text-align: center;
}

.data-table-panel {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.data-table-panel > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.data-table-panel strong {
  color: var(--ink);
  font-size: 0.86rem;
}

.region-table {
  display: grid;
  grid-template-columns: repeat(4, minmax(190px, 1fr));
  gap: 8px;
  overflow-x: auto;
}

.region-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
  min-height: 48px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.region-row:hover,
.region-row[aria-selected="true"] {
  border-color: rgba(245, 158, 11, 0.78);
  background: rgba(245, 158, 11, 0.12);
}

.region-row span:first-child {
  color: var(--accent);
  font-weight: 900;
}

.region-row strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.region-row span:nth-child(3) {
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 900;
}

.region-row small {
  grid-column: 2 / 4;
  color: var(--muted);
  font-weight: 800;
}

.data-notes {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 56px);
  padding: clamp(34px, 6vw, 72px) clamp(18px, 5vw, 72px);
  background: var(--panel-solid);
}

.region-label {
  padding: 0;
  border: 0;
  color: #ffffff;
  background: transparent;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95), 0 0 3px rgba(0, 0, 0, 0.9);
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1.08;
  text-align: center;
  white-space: nowrap;
}

.leaflet-marker-icon.region-label-marker,
.leaflet-marker-icon.region-label-marker.leaflet-div-icon {
  border: 0;
  background: transparent;
  box-shadow: none;
  width: 128px;
  height: 38px;
}

.leaflet-marker-icon.tower-pin-marker,
.leaflet-marker-icon.tower-pin-marker.leaflet-div-icon {
  border: 0;
  background: transparent;
}

.tower-pin {
  display: block;
  width: 18px;
  height: 18px;
  margin: 2px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 0 5px rgba(56, 189, 248, 0.24), 0 8px 18px rgba(0, 0, 0, 0.35);
}

.tower-pin-marker:hover .tower-pin {
  background: #f59e0b;
  box-shadow: 0 0 0 7px rgba(245, 158, 11, 0.28), 0 8px 18px rgba(0, 0, 0, 0.42);
}

.info-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.58fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 56px);
  padding: clamp(34px, 6vw, 72px) clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #0c1319;
}

.forestry-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.5fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 56px);
  padding: clamp(34px, 6vw, 72px) clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #11180f;
}

.section-heading p {
  color: var(--muted);
  line-height: 1.55;
}

.forestry-panel {
  display: grid;
  gap: 12px;
}

.forestry-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.forestry-stats div {
  padding: 16px;
  border: 1px solid rgba(134, 239, 172, 0.22);
  border-radius: 8px;
  background: rgba(34, 197, 94, 0.09);
}

.forestry-stats span {
  display: block;
  color: #86efac;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.forestry-stats strong {
  display: block;
  margin: 8px 0 6px;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
}

.forestry-stats p {
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
}

.info-grid,
.forestry-grid,
.radio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

.radio-console {
  display: grid;
  gap: 12px;
}

#radio-map {
  min-height: 300px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #111827;
}

.radio-player,
.radio-source {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.09);
}

.radio-player span,
.radio-source span {
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.radio-player h3 {
  margin: 0;
  font-size: 1.35rem;
}

.radio-player p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.radio-player audio {
  width: 100%;
}

.radio-live-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.radio-source {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.radio-source a {
  color: var(--accent);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.project-context {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px clamp(18px, 5vw, 72px) 36px;
  color: var(--muted);
}

.project-context p {
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  line-height: 1.55;
}

.project-context a {
  color: var(--accent);
  font-weight: 800;
}

.info-card,
.radio-card {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.radio-card {
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.radio-card[aria-selected="true"] {
  border-color: rgba(56, 189, 248, 0.9);
  background: rgba(56, 189, 248, 0.16);
}

.info-card span,
.radio-card span {
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.info-card h3,
.radio-card h3 {
  margin: 3px 0 8px;
  font-size: 1.18rem;
}

.info-card p,
.radio-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.info-card a {
  color: var(--accent);
  font-weight: 800;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  color: var(--ink);
  background: #101820;
}

.leaflet-popup-content {
  margin: 16px;
  max-width: min(300px, calc(100vw - 64px));
}

.popup-title {
  margin: 0 0 8px;
  color: var(--ink);
  font-weight: 900;
}

.popup-meta {
  margin: 0 0 12px;
  color: var(--muted);
}

.popup-list {
  display: grid;
  gap: 7px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.popup-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 0;
  border-top: 1px solid var(--line);
}

.popup-list span {
  color: var(--muted);
}

.popup-list strong {
  color: var(--ink);
  text-align: right;
}

.popup-explainer,
.popup-status {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.popup-status {
  margin-top: 10px;
  color: #d7e2ee;
  font-size: 0.78rem;
}

@media (max-width: 980px) {
  .map-stage {
    min-height: auto;
    padding-top: min(72vh, 620px);
  }

  #map {
    height: min(72vh, 620px);
    bottom: auto;
  }

  .inspector {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: auto;
    max-height: 58vh;
    margin: 12px;
    overflow: auto;
  }

  .control-deck {
    position: static;
  }

  .dataset-tabs {
    grid-template-columns: repeat(12, 142px);
  }

  .query-bar,
  .data-table-panel > div:first-child {
    grid-template-columns: 1fr;
  }

  .query-bar {
    align-items: stretch;
  }

  .region-table {
    grid-template-columns: repeat(8, 210px);
  }

  .data-notes,
  .forestry-section,
  .info-section {
    grid-template-columns: 1fr;
  }

  .info-grid,
  .forestry-grid,
  .radio-grid,
  .radio-source {
    grid-template-columns: 1fr;
  }

  .forestry-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .brand-bar {
    right: 12px;
    left: 12px;
  }

  .brand-bar a,
  .brand-bar span {
    flex: 1;
    text-align: center;
  }

  .insight-grid {
    grid-template-columns: 1fr;
  }

  .map-stage {
    padding-top: 62vh;
  }

  #map {
    height: 62vh;
  }

  .orientation-card {
    top: 64px;
    right: 12px;
    left: 12px;
    width: auto;
  }

  .inspector {
    max-height: 52vh;
    padding: 16px;
  }

  h1 {
    font-size: 1.55rem;
  }

  .metric-card strong {
    font-size: 1.35rem;
  }

  .dataset-tabs {
    grid-template-columns: repeat(12, 132px);
  }

  .region-table {
    grid-template-columns: repeat(8, 196px);
  }

  .profile-row {
    grid-template-columns: 1fr;
  }

  .profile-row small {
    grid-column: 1;
  }
}
