:root {
  --ink: #0f172a;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --canvas: #f8fafc;
  --paper: #ffffff;
  --panel: #f8fafc;
  --panel-strong: #f1f5f9;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-soft: #dbeafe;
  --violet: #7c3aed;
  --violet-soft: #f3e8ff;
  --green: #059669;
  --green-soft: #ecfdf5;
  --error: #b42318;
  --error-soft: #fff1f0;
  --warning: #92400e;
  --warning-soft: #fff7ed;
  --display: "Plus Jakarta Sans", Arial, sans-serif;
  --sans: "Inter", Arial, sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font: inherit;
}

button,
select,
input[type="range"] {
  cursor: pointer;
}

button,
input,
select,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

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

h1,
h2,
h3 {
  font-family: var(--display);
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.28);
  outline-offset: 2px;
}

.material-symbols-outlined {
  font-size: 20px;
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 20;
  line-height: 1;
}

.calculator-shell {
  min-height: 100vh;
}

.kicker,
.micro-label,
.result-header,
.range-control__scale,
.time-map__heading,
.money-route__heading,
.result-rule {
  font-family: var(--mono);
}

.kicker {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.is-hidden {
  display: none !important;
}

.dot {
  width: 7px;
  height: 7px;
  display: inline-block;
  flex: 0 0 auto;
  border-radius: 999px;
}

.dot--blue { background: var(--blue); }
.dot--violet { background: var(--violet); }
.dot--green { background: var(--green); }
.dot--slate { background: #94a3b8; }

.error-summary {
  width: min(1400px, calc(100% - 64px));
  margin: 0 auto 24px;
  padding: 16px 20px;
  border: 1px solid #fecaca;
  border-left: 4px solid var(--error);
  border-radius: 10px;
  color: var(--error);
  background: var(--error-soft);
}

.error-summary ul {
  margin: 6px 0 0;
  padding-left: 20px;
}

[hidden] {
  display: none !important;
}
