/* Dashboard de Captação (KZX Digital). CSS puro, sem build.
   Cores por papel (tokens); o modo escuro tem os próprios passos, validados contra a superfície escura. */

:root {
  color-scheme: light;
  --page: #f4f2f9;
  --surface: #ffffff;
  --surface-2: #f8f6fc;
  --ink: #1c1233;
  --ink-2: #554d6b;
  --muted: #7d7694;
  --grid: #ebe7f3;
  --axis: #cfc9dd;
  --border: rgba(28, 18, 51, 0.1);
  --series: #6a23e0;
  --series-soft: #c9b3f5;
  --series-wash: rgba(106, 35, 224, 0.1);
  --tip: #ff3b47;
  --brand-deep: #3b1680;
  --good: #0ca30c;
  --good-wash: rgba(12, 163, 12, 0.12);
  --warn: #fab219;
  --warn-wash: rgba(250, 178, 25, 0.18);
  --bad: #d03b3b;
  --bad-wash: rgba(208, 59, 59, 0.12);
  --good-ink: #0a7a0a;
  --warn-ink: #946200;
  --bad-ink: #bf2f2f;
  --shadow: 0 1px 2px rgba(28, 18, 51, 0.06), 0 8px 24px rgba(28, 18, 51, 0.05);
  --radius-l: 20px;
  --radius-m: 12px;
  --radius-s: 8px;
  --font: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --page: #140a2e;
    --surface: #1e1240;
    --surface-2: #26184f;
    --ink: #f2eefc;
    --ink-2: #bdb3da;
    --muted: #958cb3;
    --grid: #2e2259;
    --axis: #43367a;
    --border: rgba(255, 255, 255, 0.1);
    --series: #9466ff;
    --series-soft: #4f3796;
    --series-wash: rgba(148, 102, 255, 0.14);
    --tip: #f2414c;
    --brand-deep: #c9b3f5;
    --good-wash: rgba(12, 163, 12, 0.22);
    --warn-wash: rgba(250, 178, 25, 0.2);
    --bad-wash: rgba(208, 59, 59, 0.26);
    --good-ink: #5fd35f;
    --warn-ink: #fab219;
    --bad-ink: #ff7b7b;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.25);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #140a2e;
  --surface: #1e1240;
  --surface-2: #26184f;
  --ink: #f2eefc;
  --ink-2: #bdb3da;
  --muted: #958cb3;
  --grid: #2e2259;
  --axis: #43367a;
  --border: rgba(255, 255, 255, 0.1);
  --series: #9466ff;
  --series-soft: #4f3796;
  --series-wash: rgba(148, 102, 255, 0.14);
  --tip: #f2414c;
  --brand-deep: #c9b3f5;
  --good-wash: rgba(12, 163, 12, 0.22);
  --warn-wash: rgba(250, 178, 25, 0.2);
  --bad-wash: rgba(208, 59, 59, 0.26);
  --good-ink: #5fd35f;
  --warn-ink: #fab219;
  --bad-ink: #ff7b7b;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.25);
}

* { box-sizing: border-box; }

/* O atributo hidden sempre vence o display das classes. */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
}

a { color: inherit; }

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

:focus-visible { outline: 2px solid var(--series); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* Cabeçalho */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0 12px;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand img { width: 44px; height: 44px; border-radius: 12px; flex: none; }
.brand-text { min-width: 0; }
.brand-client { margin: 0; font-size: 13px; color: var(--ink-2); }
.brand-title { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; }
.top-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.tabs { display: flex; gap: 4px; padding: 4px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; }
.tabs a { text-decoration: none; font-size: 13px; padding: 6px 12px; border-radius: 999px; color: var(--ink-2); }
.tabs a[aria-current="page"] { background: var(--series-wash); color: var(--ink); font-weight: 600; }

.btn {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  cursor: pointer;
}
.btn:hover { background: var(--surface-2); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn-icon { display: inline-flex; align-items: center; gap: 6px; }
.btn-icon svg { width: 16px; height: 16px; }

.freshness { margin: 0 0 18px; font-size: 13px; color: var(--muted); }
.freshness strong { color: var(--ink-2); font-weight: 600; }

/* Filtros */
.filters {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.seg { display: inline-flex; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 3px; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; border-radius: 999px; padding: 6px 12px; font-size: 13px; color: var(--ink-2); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--surface); font-weight: 600; }
.select-wrap { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.select-wrap select {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  max-width: 260px;
}
.range-label { font-size: 13px; color: var(--muted); }
.custom-range { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); }
.custom-range[hidden] { display: none; }
.custom-range label { display: inline-flex; align-items: center; gap: 6px; }
.custom-range input {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
}

/* Herói */
.hero {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-main {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 32px;
  padding: 28px 28px 24px;
}
.hero-label { margin: 0 0 4px; font-size: 14px; color: var(--ink-2); }
.hero-value { margin: 0; font-size: clamp(48px, 7vw, 76px); font-weight: 700; letter-spacing: -0.035em; line-height: 1; }
.hero-sentence { margin: 12px 0 0; font-size: 16px; color: var(--ink-2); max-width: 46ch; }
.hero-sentence strong { color: var(--ink); }

.meter { margin-top: 22px; max-width: 520px; }
.meter-track { position: relative; height: 10px; border-radius: 999px; background: var(--series-wash); }
.meter-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: var(--good); transition: width 0.8s cubic-bezier(.2,.7,.2,1); }
.meter-fill[data-status="warn"] { background: var(--warn); }
.meter-fill[data-status="bad"] { background: var(--bad); }
.meter-ref { position: absolute; top: -6px; bottom: -6px; width: 2px; background: var(--ink); border-radius: 2px; }
.meter-scale { position: relative; height: 18px; margin-top: 8px; font-size: 12px; color: var(--muted); }
.meter-scale span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.meter-scale span:first-child { transform: none; }

.hero-side { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; align-content: start; }
.stat-label { margin: 0; font-size: 13px; color: var(--ink-2); }
.stat-value { margin: 2px 0 0; font-size: 28px; font-weight: 650; letter-spacing: -0.02em; line-height: 1.15; }
.stat-note { margin: 2px 0 0; font-size: 12px; color: var(--muted); }
.recent {
  grid-column: 1 / -1;
  background: var(--surface-2);
  border-radius: var(--radius-m);
  padding: 12px 14px;
  font-size: 14px;
  color: var(--ink-2);
}
.recent strong { color: var(--ink); }

/* Régua da captação: o lápis anda até hoje */
.ruler { border-top: 1px solid var(--border); padding: 18px 28px 22px; }
.ruler-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; font-size: 14px; }
.ruler-head strong { font-weight: 650; }
.ruler-head .muted { color: var(--muted); }
.ruler-track { position: relative; height: 14px; border-radius: 3px 999px 999px 3px; background: var(--grid); }
.ruler-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 0;
  background: var(--brand-deep);
  border-radius: 3px 0 0 3px;
  transition: width 1.4s cubic-bezier(.2,.7,.2,1);
}
.ruler-fill::after {
  content: "";
  position: absolute; right: -13px; top: 0;
  width: 0; height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 13px solid var(--tip);
}
.ruler-ends { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; color: var(--muted); }

/* Seções */
.section { margin-top: 28px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.section-title { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.section-sub { margin: 2px 0 0; font-size: 14px; color: var(--ink-2); max-width: 70ch; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow);
  padding: 20px;
}

/* Funil */
.funnel { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.step { padding: 4px 20px 4px 0; position: relative; min-width: 0; }
.step + .step { padding-left: 20px; border-left: 1px solid var(--grid); }
.step-name { margin: 0; font-size: 13px; color: var(--ink-2); }
.step-value { margin: 2px 0 0; font-size: 26px; font-weight: 650; letter-spacing: -0.02em; }
.step-bar { margin-top: 10px; height: 6px; border-radius: 999px; background: var(--series-wash); overflow: hidden; }
.step-bar span { display: block; height: 100%; background: var(--series); border-radius: 999px; }
.step-rate { margin: 10px 0 0; font-size: 13px; color: var(--ink-2); }
.step-rate strong { color: var(--ink); font-weight: 650; }
.funnel-foot { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--grid); font-size: 13px; color: var(--ink-2); }
.funnel-foot strong { color: var(--ink); }

/* Gráficos */
.charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.chart-title { margin: 0; font-size: 15px; font-weight: 650; }
.chart-sub { margin: 2px 0 8px; font-size: 13px; color: var(--muted); }
.chart { position: relative; width: 100%; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart text { font-family: var(--font); fill: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.chart .lbl, .chart .ref-lbl { paint-order: stroke; stroke: var(--surface); stroke-width: 4px; stroke-linejoin: round; }
.chart .lbl { fill: var(--ink-2); font-size: 12px; font-weight: 600; }
.chart .grid line { stroke: var(--grid); stroke-width: 1; }
.chart .base { stroke: var(--axis); stroke-width: 1; }
.chart .col { fill: var(--series); }
.chart .col.partial { fill: var(--series-soft); }
.chart .hit { fill: transparent; cursor: crosshair; outline: none; }
.chart .hit:focus-visible { fill: var(--series-wash); }
.chart .col.hover { filter: brightness(1.12); }
.chart .line { fill: none; stroke: var(--series); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .area { fill: var(--series-wash); stroke: none; }
.chart .dot { fill: var(--series); stroke: var(--surface); stroke-width: 2; }
.chart .ref { stroke: var(--ink-2); stroke-width: 1; }
.chart .ref-lbl { fill: var(--ink-2); font-size: 11px; }
.chart .cross { stroke: var(--axis); stroke-width: 1; }
.tooltip {
  position: absolute;
  pointer-events: none;
  background: var(--ink);
  color: var(--surface);
  border-radius: var(--radius-s);
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
  box-shadow: var(--shadow);
  z-index: 5;
  transform: translate(-50%, calc(-100% - 10px));
}
.tooltip[hidden] { display: none; }
.tooltip .tt-date { opacity: 0.75; }
.tooltip .tt-row { display: flex; align-items: center; gap: 8px; }
.tooltip .tt-row b { font-weight: 700; font-size: 13px; }
.tooltip .tt-key { width: 12px; height: 2px; background: var(--series-soft); border-radius: 2px; }

details.numbers { margin-top: 14px; }
details.numbers summary { cursor: pointer; font-size: 13px; color: var(--ink-2); }

/* Tabelas */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: right; padding: 10px 12px; border-bottom: 1px solid var(--grid); white-space: nowrap; }
th:first-child, td:first-child { text-align: left; padding-left: 0; }
th { font-size: 12px; font-weight: 600; color: var(--ink-2); }
td { font-variant-numeric: tabular-nums; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: var(--surface-2); }
th button { border: 0; background: none; padding: 0; font-size: 12px; font-weight: 600; color: var(--ink-2); cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
th[aria-sort] button { color: var(--ink); }
th[aria-sort="descending"] button::after { content: "↓"; }
th[aria-sort="ascending"] button::after { content: "↑"; }

.cri { display: flex; align-items: center; gap: 12px; }
.thumb {
  width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: none;
  background: var(--series-wash);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: var(--series);
}
.cri-name { font-weight: 650; }
.cri-link { display: block; font-size: 12px; color: var(--muted); }
.cri-link:hover { color: var(--ink); }
.rank { font-size: 12px; color: var(--muted); width: 20px; display: inline-block; }

.mini { display: inline-flex; align-items: center; gap: 8px; justify-content: flex-end; }
.mini-bar { width: 64px; height: 6px; border-radius: 999px; background: var(--series-wash); overflow: hidden; }
.mini-bar span { display: block; height: 100%; background: var(--series); border-radius: 999px; }

.chip { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--ink); margin-left: 8px; }
.chip svg { width: 12px; height: 12px; flex: none; }
.chip[data-status="good"] { background: var(--good-wash); }
.chip[data-status="good"] svg { color: var(--good); }
.chip[data-status="warn"] { background: var(--warn-wash); }
.chip[data-status="warn"] svg { color: #b07a00; }
.chip[data-status="bad"] { background: var(--bad-wash); }
.chip[data-status="bad"] svg { color: var(--bad); }
.chip[data-status="none"] { background: var(--grid); color: var(--ink-2); }

.cpl-cell { display: inline-flex; align-items: center; gap: 10px; justify-content: flex-end; }
.cpl-bar { position: relative; width: 120px; height: 8px; border-radius: 999px; background: var(--series-wash); }
.cpl-bar span { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: var(--series); }
.cpl-bar i { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--ink); border-radius: 2px; }

.empty { padding: 24px 0; text-align: center; color: var(--muted); }

/* Estados */
.banner { margin: 0 0 16px; padding: 12px 16px; border-radius: var(--radius-m); background: var(--bad-wash); color: var(--ink); font-size: 14px; }
.banner[hidden] { display: none; }
.banner a { font-weight: 600; }
main.loading { opacity: 0.55; transition: opacity 0.2s; }

/* Rodapé */
.foot { margin: 40px 0 32px; padding-top: 18px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.foot p { margin: 0; max-width: 72ch; }
.made { display: inline-flex; align-items: center; gap: 8px; }
.made img { height: 24px; width: auto; }

/* Fases do lançamento */
.phases-sec { margin-top: 0; }
.phases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.phase { padding: 14px 16px 16px; border-right: 1px solid var(--grid); border-bottom: 1px solid var(--grid); min-width: 0; margin-right: -1px; margin-bottom: -1px; }
.phase p { margin: 0; }
.phase-dates { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.phase-now { font-size: 11px; font-weight: 700; color: var(--surface); background: var(--series); border-radius: 999px; padding: 0 7px; }
.phase-name { font-size: 15px; font-weight: 700; margin: 2px 0 6px !important; letter-spacing: -0.01em; }
.phase-money { font-size: 12px; color: var(--ink-2); }
.phase-money strong { color: var(--ink); font-weight: 650; }
.phase .mini-bar { display: block; width: 100%; margin-top: 10px; }
.phase.current { background: var(--series-wash); box-shadow: inset 0 3px 0 var(--series); }
.phase.past .phase-name { color: var(--ink-2); }
.phase.total { background: var(--surface-2); }

/* Metas da captação */
.goal-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.goal-card h3 { margin: 0 0 8px; font-size: 14px; font-weight: 650; }
.goal-card p { margin: 0; }
.goal-nums { display: flex; gap: 22px; flex-wrap: wrap; }
.goal-lbl { font-size: 12px; color: var(--muted); }
.goal-big { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.goal-big[data-status="good"] { color: var(--good-ink); }
.goal-big[data-status="warn"] { color: var(--warn-ink); }
.goal-big[data-status="bad"] { color: var(--bad-ink); }
.goal-sub { font-size: 12px; color: var(--ink-2); margin-top: 2px !important; }
.goal-note { font-size: 12px; color: var(--muted); margin-top: 6px !important; }
.goal-foot { margin-top: 12px !important; padding-top: 10px; border-top: 1px solid var(--grid); font-size: 12px; color: var(--ink-2); }
.goal-foot strong { color: var(--ink); }

.st { font-weight: 600; }
.st[data-status="good"] { color: var(--good-ink); }
.st[data-status="warn"] { color: var(--warn-ink); }
.st[data-status="bad"] { color: var(--bad-ink); }
td .st[data-status=""] { font-weight: 400; }

.goals-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; }
.pace-item { margin-top: 18px; }
.pace-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; }
.pace-head strong { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pace-head small { font-size: 12px; color: var(--muted); }
.pace-track { position: relative; height: 10px; border-radius: 999px; background: var(--series-wash); margin-top: 8px; }
.pace-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: var(--good); }
.pace-fill[data-status="warn"] { background: var(--warn); }
.pace-fill[data-status="bad"] { background: var(--bad); }
.pace-mark { position: absolute; top: -5px; bottom: -5px; width: 2px; border-radius: 2px; background: var(--ink); }
.pace-note { margin: 6px 0 0; font-size: 12px; color: var(--ink-2); }
.pace-note.muted { margin-top: 2px; color: var(--muted); }

.proj { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.proj-tile { background: var(--surface-2); border-radius: var(--radius-m); padding: 12px 14px; }
.proj-tile p { margin: 0; }
.proj-lbl { font-size: 12px; color: var(--ink-2); }
.proj-val { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.proj-note { font-size: 12px; color: var(--muted); }

.legend { display: flex; gap: 16px; font-size: 12px; color: var(--ink-2); margin: 4px 0 6px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.legend .lg-pago { background: var(--series); }
.legend .lg-org { background: var(--series-soft); }
.chart .col.org { fill: var(--series-soft); }

.analysis-head { margin-top: 36px; }
.total-row td { border-top: 1px solid var(--axis); }

/* Cartões de métrica com linha por dia */
.metric-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.metric-card { padding: 14px 14px 8px; min-width: 0; }
.metric-name { margin: 0; font-size: 13px; color: var(--ink-2); }
.metric-val { margin: 2px 0 2px; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.chart-mini text { font-size: 10px; }

@media (max-width: 960px) {
  .metric-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .goal-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .goals-grid { grid-template-columns: 1fr; }
  .hero-main { grid-template-columns: 1fr; gap: 24px; }
  .charts { grid-template-columns: 1fr; }
  .funnel { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .goal-cards { grid-template-columns: 1fr; }
  .metric-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phases { grid-template-columns: 1fr 1fr; }
  .proj-val { font-size: 20px; }
  .hero-main { padding: 22px 18px 20px; }
  .ruler { padding: 16px 18px 20px; }
  .card { padding: 16px; }
  .hero-side { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stat-value { font-size: 24px; }
  .funnel { grid-template-columns: 1fr 1fr; }
  .step { padding-right: 12px; }
  .step + .step { padding-left: 12px; }
  .step-value { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .ruler-fill, .meter-fill, main.loading { transition: none; }
}
