/* ═══════════════════════════════════════════════════
   DCF KALKULÁTOR – Violet / pénzügyi értékelés téma
   ═══════════════════════════════════════════════════ */

:root {
  --bg:           #09080F;
  --surface:      #100F1A;
  --surface2:     #161422;
  --surface3:     #1D1A2E;
  --border:       rgba(139,92,246,0.10);
  --border-hover: rgba(139,92,246,0.22);
  --accent:       #8B5CF6;
  --accent2:      #A78BFA;
  --accent-glow:  rgba(139,92,246,0.20);
  --accent-soft:  rgba(139,92,246,0.08);
  --text:         #EAE8F5;
  --muted:        rgba(234,232,245,0.42);
  --muted2:       rgba(234,232,245,0.65);
  --red:          #F87171;
  --amber:        #F59E0B;
  --t:            0.2s;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── VISSZA GOMB ── */
.back {
  position: fixed;
  top: 1.25rem;
  left: 1.5rem;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--t);
  letter-spacing: 0.02em;
}
.back:hover { color: var(--text); }
.back svg { opacity: 0.6; transition: opacity var(--t); }
.back:hover svg { opacity: 1; }

/* ── HERO ── */
.hero {
  min-height: 48vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 7rem 1.5rem 4rem;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 50% 58%, rgba(139,92,246,0.13) 0%, transparent 70%),
    radial-gradient(ellipse 35% 25% at 50% 90%, rgba(139,92,246,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(139,92,246,0.07) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 50%, black 0%, transparent 72%);
          mask-image: radial-gradient(ellipse 60% 55% at 50% 50%, black 0%, transparent 72%);
  pointer-events: none;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero::before { top: 15%; left: 8%; }
.hero::after  { bottom: 20%; right: 8%; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent2);
  border: 1px solid rgba(167,139,250,0.28);
  border-radius: 50px;
  padding: 0.35rem 1rem;
  margin-bottom: 1.4rem;
  background: rgba(139,92,246,0.07);
  animation: fade-up 0.8s cubic-bezier(.16,1,.3,1) 0.3s both;
}

.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse-dot 2.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .4; transform: scale(.7); }
}

.hero h1 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(3rem, 9vw, 6rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1.2rem;
  animation: fade-up 0.9s cubic-bezier(.16,1,.3,1) 0.45s both;
}

.hero h1 .line1 { display: block; }
.hero h1 .line2 {
  display: block;
  color: var(--accent2);
  font-style: italic;
}

.hero-subtitle {
  font-size: clamp(0.87rem, 2vw, 1rem);
  color: var(--muted);
  max-width: 440px;
  line-height: 1.75;
  animation: fade-up 0.9s cubic-bezier(.16,1,.3,1) 0.6s both;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── MAIN ── */
main { padding-bottom: 5rem; }

/* ── LAYOUT ── */
.dcf-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  max-width: 1060px;
  margin-inline: auto;
  padding: 0 1.25rem;
  align-items: start;
}

@media (max-width: 820px) {
  .dcf-layout { grid-template-columns: 1fr; }
}

/* ── KÁRTYÁK ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 22px 22px 20px;
  margin-bottom: 10px;
  animation: fade-up 0.65s cubic-bezier(.16,1,.3,1) both;
}

.card:nth-child(1) { animation-delay: 0.05s; }
.card:nth-child(2) { animation-delay: 0.12s; }
.card:nth-child(3) { animation-delay: 0.19s; }
.card:nth-child(4) { animation-delay: 0.26s; }
.card:nth-child(5) { animation-delay: 0.33s; }
.card:nth-child(6) { animation-delay: 0.40s; }
.card:nth-child(7) { animation-delay: 0.47s; }

.card-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-label-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ── INPUT PANEL ── */
.input-panel {
  display: flex;
  flex-direction: column;
}

/* ── TEXT INPUTS ── */
.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrap input {
  width: 100%;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.7rem 2.8rem 0.7rem 1rem;
  color: var(--text);
  font-size: 1.25rem;
  font-family: 'Inter', sans-serif;
  font-variant-numeric: tabular-nums;
  transition: border-color var(--t), background var(--t);
  outline: none;
}

.input-wrap input:focus {
  border-color: var(--accent);
  background: var(--surface3);
}

.input-suffix {
  position: absolute;
  right: 0.85rem;
  color: var(--muted);
  font-size: 0.82rem;
  pointer-events: none;
}

/* Quick buttons */
.quick-btns {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 0.6rem;
}

.quick-btn {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.28rem 0.7rem;
  color: var(--muted2);
  font-size: 0.76rem;
  font-weight: 500;
  cursor: pointer;
  transition: color var(--t), border-color var(--t), background var(--t);
  font-family: 'Inter', sans-serif;
}

.quick-btn:hover {
  color: var(--accent2);
  border-color: rgba(139,92,246,0.4);
  background: var(--surface3);
}

/* ── RANGE INPUTS ── */
.range-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.range-row input[type="range"] {
  flex: 1;
  accent-color: var(--accent);
  height: 4px;
  cursor: pointer;
  border-radius: 2px;
}

.range-value-wrap {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  flex-shrink: 0;
}

.range-num-input {
  width: 4.5rem;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.28rem 0.5rem;
  color: var(--accent2);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color var(--t);
}

.range-num-input:focus { border-color: var(--accent); }
.range-num-input::-webkit-inner-spin-button,
.range-num-input::-webkit-outer-spin-button { -webkit-appearance: none; }
.range-num-input { -moz-appearance: textfield; }

.range-unit {
  color: var(--muted);
  font-size: 0.82rem;
}

.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--muted);
  padding: 0.15rem 0.05rem 0;
  opacity: 0.7;
}

/* ── TOGGLE BUTTONS ── */
.toggle-group {
  display: grid;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 4px;
  gap: 4px;
}

.toggle-group-2 { grid-template-columns: 1fr 1fr; }

.toggle-btn {
  padding: 0.55rem 1rem;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 500;
  font-family: inherit;
  transition: background var(--t), color var(--t), box-shadow var(--t);
  line-height: 1.3;
}

.toggle-btn.active {
  background: var(--surface3);
  color: var(--accent2);
  box-shadow: 0 1px 8px rgba(0,0,0,0.3);
}

/* ── WARNINGS / ERRORS ── */
.input-warn {
  font-size: 0.78rem;
  color: var(--amber);
  padding: 0.3rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.3rem;
}

.input-error {
  font-size: 0.78rem;
  color: var(--red);
  padding: 0.3rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.3rem;
}

/* ── ADVANCED OPTIONS ── */
.advanced-options {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 10px;
  animation: fade-up 0.65s cubic-bezier(.16,1,.3,1) 0.54s both;
}

.advanced-options summary {
  cursor: pointer;
  color: var(--muted2);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 1rem 1.4rem;
  list-style: none;
  user-select: none;
  transition: color var(--t);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.advanced-options summary:hover { color: var(--text); }
.advanced-options summary::marker { display: none; }
.advanced-options summary::before {
  content: '+';
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
  width: 1rem;
  text-align: center;
}
.advanced-options[open] summary::before { content: '−'; }

.advanced-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0 1.4rem 1.4rem;
}

/* ── RESULT PANEL ── */
.result-panel {
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 1.25rem;
}

/* ── RESULT CARD (fő EV) ── */
.result-main-card {
  background: var(--surface);
  border: 1px solid rgba(139,92,246,0.18);
  border-radius: 22px;
  padding: 24px;
  margin-bottom: 10px;
  animation: fade-up 0.65s cubic-bezier(.16,1,.3,1) 0.15s both;
  position: relative;
  overflow: hidden;
}

.result-main-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.6;
}

.result-ev-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.result-ev-value {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 400;
  color: var(--accent2);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  transition: color var(--t);
  margin-bottom: 1.2rem;
  display: block;
  text-shadow: 0 0 30px rgba(139,92,246,0.35);
}

.result-ev-value.negative {
  color: var(--red);
  text-shadow: none;
}

.result-ev-value.placeholder {
  color: var(--muted);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2rem);
  text-shadow: none;
}

/* Equity bridge sorok */
.equity-bridge {
  border-top: 1px solid var(--border);
  padding-top: 0.9rem;
  margin-bottom: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.breakdown-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  padding: 0.25rem 0;
}

.row-label { color: var(--muted); font-size: 0.85rem; }
.row-value {
  font-variant-numeric: tabular-nums;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: right;
}
.row-value.accent  { color: var(--accent2); font-weight: 700; }
.row-value.deduct  { color: var(--red); }
.row-value.muted   { color: var(--muted); }

/* PV breakdown */
.pv-breakdown {
  border-top: 1px solid var(--border);
  padding-top: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

/* Stacked bar */
.stacked-bar-wrap {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.stacked-bar {
  display: flex;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  gap: 2px;
  background: var(--surface2);
}

.bar-segment {
  height: 100%;
  border-radius: 3px;
  transition: width 0.4s cubic-bezier(.16,1,.3,1);
  min-width: 0;
}

.bar-fcf { background: var(--accent); width: var(--w, 0%); }
.bar-tv  { background: var(--amber);  width: var(--w, 0%); }

.bar-legend {
  display: flex;
  gap: 1rem;
  font-size: 0.7rem;
  color: var(--muted);
}

.bar-legend-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.bar-legend-dot {
  width: 8px; height: 8px;
  border-radius: 2px;
  flex-shrink: 0;
}

.bar-legend-dot.fcf { background: var(--accent); }
.bar-legend-dot.tv  { background: var(--amber); }

/* ── YEAR TABLE ── */
.year-table-details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 10px;
  animation: fade-up 0.65s cubic-bezier(.16,1,.3,1) 0.25s both;
}

.year-table-details summary {
  cursor: pointer;
  color: var(--muted2);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 1rem 1.4rem;
  list-style: none;
  user-select: none;
  transition: color var(--t);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.year-table-details summary:hover { color: var(--text); }
.year-table-details summary::marker { display: none; }
.year-table-details summary::before { content: '+'; color: var(--accent); font-weight: 700; width: 1rem; text-align: center; }
.year-table-details[open] summary::before { content: '−'; }

.year-table-wrap { overflow-x: auto; padding: 0 1rem 1rem; }

.year-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
}

.year-table th {
  color: var(--muted);
  font-weight: 500;
  text-align: right;
  padding: 0.3rem 0.55rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}

.year-table th:first-child { text-align: left; }
.year-table td { text-align: right; padding: 0.3rem 0.55rem; border-bottom: 1px solid rgba(255,255,255,0.03); }
.year-table td:first-child { text-align: left; color: var(--muted); }
.year-table tfoot td { color: var(--accent2); font-weight: 600; border-top: 1px solid var(--border); border-bottom: none; }

/* ── SENSITIVITY TABLE ── */
.sensitivity-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 22px;
  animation: fade-up 0.65s cubic-bezier(.16,1,.3,1) 0.35s both;
}

.sensitivity-title {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sensitivity-desc {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 14px;
}

.sensitivity-wrap { overflow-x: auto; }

.sens-table { border-collapse: collapse; width: 100%; font-size: 0.75rem; }
.sens-table th {
  padding: 0.28rem 0.5rem;
  color: var(--muted);
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  font-size: 0.68rem;
}
.sens-table th.row-header { text-align: left; }
.sens-table td {
  padding: 0.28rem 0.5rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
  border-radius: 5px;
  transition: background 0.2s;
  white-space: nowrap;
}

.sens-null { color: var(--muted); opacity: 0.5; }
.sens-low  { background: rgba(139,92,246,0.06);  color: var(--muted2); }
.sens-mid  { background: rgba(139,92,246,0.16);  color: var(--text); }
.sens-high { background: rgba(139,92,246,0.32);  color: var(--text); }
.sens-base {
  background: rgba(139,92,246,0.55);
  color: #fff;
  font-weight: 700;
  outline: 1.5px solid var(--accent);
  border-radius: 5px;
}

/* ── INFO SECTION ── */
.info-section {
  max-width: 720px;
  margin: 2rem auto 0;
  padding: 2rem 1.25rem 5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.info-section h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.6rem;
}

.info-section h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted2);
  margin-top: 0.2rem;
}

.info-section p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.75;
}

.info-section ul {
  padding-left: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.info-section li { font-size: 0.875rem; color: var(--muted); line-height: 1.65; }
.info-section strong { color: var(--text); font-weight: 600; }
.info-section em { color: var(--amber); font-style: normal; }

/* ══════════════════════════════════════════════════════════════════
   MODE TABS
   ══════════════════════════════════════════════════════════════════ */

.mode-tabs-wrap {
  display: flex;
  justify-content: center;
  padding: 0 1.25rem 2.5rem;
}

.mode-tabs {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 5px;
  gap: 4px;
}

.mode-tab {
  padding: 0.65rem 1.6rem;
  border-radius: 12px;
  border: none;
  background: transparent;
  color: var(--muted2);
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 500;
  font-family: inherit;
  transition: background var(--t), color var(--t), box-shadow var(--t);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.mode-tab.active {
  background: var(--surface3);
  color: var(--accent2);
  box-shadow: 0 2px 10px rgba(0,0,0,0.35);
}

@media (max-width: 520px) {
  .mode-tabs { width: 100%; }
  .mode-tab  { flex: 1; text-align: center; padding: 0.65rem 0.5rem; font-size: 0.82rem; }
}

/* 4-column toggle (futamidő) */
.toggle-group-4 { grid-template-columns: repeat(4, 1fr); }

/* ══════════════════════════════════════════════════════════════════
   BÜDZSÉ — CATEGORY ROWS
   ══════════════════════════════════════════════════════════════════ */

.cat-rows {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.cat-preset-row {
  display: grid;
  grid-template-columns: 1.6rem 1fr auto;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.cat-preset-row:last-child { border-bottom: none; }

.cat-icon {
  font-size: 1rem;
  line-height: 1;
  text-align: center;
}

.cat-name-text {
  font-size: 0.88rem;
  color: var(--muted2);
  font-weight: 400;
}

.cat-input-wrap {
  width: 9rem;
  flex-shrink: 0;
}

.cat-input-wrap input {
  font-size: 0.95rem !important;
  padding: 0.4rem 2.6rem 0.4rem 0.75rem !important;
  text-align: right;
}

/* Custom category rows */
.custom-cat-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  animation: fade-up 0.3s cubic-bezier(.16,1,.3,1) both;
}

.custom-cat-row:last-child { border-bottom: none; }

.cat-name-input {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.4rem 0.65rem;
  color: var(--text);
  font-size: 0.88rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--t);
  min-width: 0;
}

.cat-name-input:focus { border-color: var(--accent); }
.cat-name-input::placeholder { color: var(--muted); }

.cat-delete-btn {
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface2);
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: color var(--t), border-color var(--t), background var(--t);
  flex-shrink: 0;
}

.cat-delete-btn:hover {
  color: var(--red);
  border-color: rgba(248,113,113,0.4);
  background: rgba(248,113,113,0.08);
}

/* Add category button */
.add-cat-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.6rem 1rem;
  border: 1.5px dashed rgba(139,92,246,0.3);
  border-radius: 10px;
  background: transparent;
  color: var(--muted2);
  font-size: 0.85rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  justify-content: center;
  transition: color var(--t), border-color var(--t), background var(--t);
}

.add-cat-btn:hover {
  color: var(--accent2);
  border-color: rgba(139,92,246,0.6);
  background: var(--accent-soft);
}

.add-cat-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.add-cat-limit {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
  margin-top: 0.4rem;
}

/* Budget result specific */
.budget-summary { margin-top: 0.2rem; }

/* Multi-color stacked bar (budget) */
.multi-bar { flex-wrap: nowrap; overflow: hidden; }
.multi-bar .bar-seg { height: 100%; transition: width 0.4s cubic-bezier(.16,1,.3,1); min-width: 0; }

/* Investment bars */
.bar-invested { background: var(--accent);  width: var(--w, 0%); }
.bar-gain     { background: var(--amber);   width: var(--w, 0%); }

.bar-legend-dot.invested { background: var(--accent); }
.bar-legend-dot.gain     { background: var(--amber); }

/* Range hint text */
.range-hint {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.5rem;
  line-height: 1.5;
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  .badge-dot { animation: none; }
  .bar-segment { transition: none; }
  .result-ev-value { transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; }
}
