:root {
  color-scheme: light dark;
  --bg: #0f1115;
  --fg: #f5f5f5;
  --accent: #4caf7d;
  --muted: #9aa0a6;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, "Hiragino Sans", "Yu Gothic", sans-serif;
}

main {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

.big-number {
  font-size: 3rem;
  font-weight: 700;
  margin: 0.5rem 0;
}

#progress-bar-outer {
  background: #2a2e35;
  border-radius: 999px;
  height: 1.5rem;
  overflow: hidden;
}

#progress-bar-inner {
  background: var(--accent);
  height: 100%;
  width: 0%;
  transition: width 0.3s ease;
}

#progress-label, #mom-change {
  color: var(--muted);
  margin-top: 0.5rem;
}

#charts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 720px) {
  #charts { grid-template-columns: 2fr 1fr; }
}

.chart-box {
  background: #171a20;
  border-radius: 12px;
  padding: 1rem;
}

#simulator {
  margin-top: 2rem;
  background: #171a20;
  border-radius: 12px;
  padding: 1.5rem;
}

#simulator input[type="range"] {
  width: 100%;
  margin: 1rem 0;
}

#simulator-result {
  font-size: 1.5rem;
  font-weight: 600;
}

.note {
  color: var(--muted);
  font-size: 0.9rem;
}
