:root {
  --background: #101211;
  --foreground: #f3f5f3;
  --muted: #252926;
  --muted-foreground: #adb4af;
  --border: #383d39;
  --green: #65d692;
  --orange: #f0a06d;
  --viz-series-1: #60c7c3;
  --viz-series-2: #8adfd9;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html,
body {
  background: #0f1211;
  color: var(--foreground);
  margin: 0;
  min-width: 0;
  overflow-x: clip;
}

body > div:first-of-type { color-scheme: dark !important; }

body {
  font-family: "Avenir Next", Avenir, "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

button,
input,
select,
textarea { font: inherit; }

button { color: inherit; }

img,
svg { max-width: 100%; }

.nav {
  align-items: center;
  display: flex;
  gap: 0.35rem;
}

.nav.nav-pills,
.eut-lang,
.epi-lang {
  display: none !important;
}

.nav-link {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: #8c908e;
  cursor: pointer;
  padding: 0.55rem 0.9rem;
}

.nav-link.active {
  background: #ececec;
  color: #1b1e1d;
}

.table-responsive {
  overflow-x: auto;
  width: 100%;
}

.table {
  border-collapse: collapse;
  width: 100%;
}

.table th,
.table td {
  border-bottom: 1px solid var(--border);
  padding: 0.9rem 0.65rem;
  text-align: left;
}

.table-sm th,
.table-sm td { padding-block: 0.8rem; }

.text-center { text-align: center !important; }

.viz-badge {
  background: #173d3b;
  border-radius: 999px;
  color: #83ded9;
  display: inline-flex;
  padding: 0.15rem 0.6rem;
}

[data-lucide] {
  align-items: center;
  display: inline-flex;
  font-style: normal;
  height: 1.15em;
  justify-content: center;
  min-width: 1.15em;
  width: 1.15em;
}

[data-lucide]::before { content: "·"; font-size: 1.5em; line-height: 1; }
[data-lucide="arrow-down"]::before { content: "↓"; }
[data-lucide="refresh-cw"]::before { content: "↻"; }
[data-lucide="eye"]::before { content: "◉"; }
[data-lucide="audio-lines"]::before { content: "≋"; }
[data-lucide="ear"]::before { content: "◔"; }
[data-lucide="glasses"]::before { content: "◉◉"; font-size: 0.72em; }
[data-lucide="brain"]::before,
[data-lucide="sparkles"]::before { content: "✦"; }
[data-lucide="shirt"]::before { content: "◇"; }
[data-lucide="message-square-more"]::before { content: "…"; }

#echoapron-methods-viz {
  padding: clamp(22px, 4vw, 58px);
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  #echoapron-methods-viz { padding: 20px 16px; }
  .table { min-width: 780px; }
}
