/* Simulador para inversionistas. Usa los tokens y componentes de styles.css. */

.sim { --panel: 380px; --neg: #d03b3b; --bar-cost: #8a8278; --grid: #ece9e3; }

/* ───────────── Portada ───────────── */

.sim-hero { position: relative; padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 44px); overflow: hidden; }
.sim-hero__in { text-align: center; display: flex; flex-direction: column; align-items: center; }
.sim-hero h1 { margin-top: 22px; font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
.sim-hero .lead { margin-top: 18px; }

.scen {
  display: inline-flex;
  gap: 4px;
  margin-top: 30px;
  padding: 5px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-sm);
}
.scen button {
  height: 42px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font: 500 15px/1 var(--sans);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.scen button:hover { color: var(--ink); background: rgba(22, 19, 15, 0.04); }
.scen button[aria-checked="true"] { background: var(--ink); color: #fff; }
.scen__note { margin-top: 12px; min-height: 22px; font-size: 13.5px; color: var(--muted); visibility: hidden; }
.scen__note.is-on { visibility: visible; }

/* ───────────── Cuadrícula ───────────── */

.sim-grid { display: grid; grid-template-columns: var(--panel) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: start; padding-bottom: clamp(64px, 9vw, 110px); }

/* ───────────── Controles ───────────── */

.controls {
  padding: 22px 24px 16px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.controls.is-sticky { position: sticky; top: 84px; }
.controls fieldset { margin: 0; padding: 18px 0 6px; border: 0; border-bottom: 1px solid var(--line); }
.controls fieldset:last-of-type { border-bottom: 0; }
.controls legend { float: left; width: 100%; margin-bottom: 14px; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand); }
.controls legend + * { clear: both; }

.ctl { margin-bottom: 20px; }
.ctl__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.ctl__top label, .ctl__label { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.ctl__top output { font-size: 15px; font-weight: 650; letter-spacing: -0.01em; color: var(--ink); white-space: nowrap; }
.ctl__help { margin-top: 6px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.ctl__scale { display: flex; justify-content: space-between; margin-top: 2px; font-size: 11.5px; color: var(--muted); }
.ctl__sub { margin-top: 14px; padding-left: 14px; border-left: 2px solid var(--brand-soft); }
.ctl__sub[hidden] { display: none; }
.ctl--key .ctl__top label::after { content: "Clave"; margin-left: 8px; padding: 2px 7px; border-radius: 6px; background: var(--brand-soft); color: var(--brand-deep); font-size: 11px; font-weight: 600; letter-spacing: 0.04em; vertical-align: 2px; }

/* Rango con la parte recorrida en color */
.controls input[type="range"] {
  --p: 50%;
  width: 100%;
  height: 28px;
  margin: 6px 0 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.controls input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--brand) var(--p), #e6e1d9 var(--p)); }
.controls input[type="range"]::-moz-range-track { height: 6px; border-radius: 999px; background: #e6e1d9; }
.controls input[type="range"]::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--brand); }
.controls input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -8px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--brand);
  box-shadow: 0 2px 6px rgba(22, 19, 15, 0.18);
  transition: transform 0.15s var(--ease);
}
.controls input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--brand); box-shadow: 0 2px 6px rgba(22, 19, 15, 0.18); }
.controls input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
.controls input[type="range"]:focus-visible { outline: none; }
.controls input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px var(--brand-soft), 0 2px 6px rgba(22, 19, 15, 0.18); }

/* Interruptor */
.switch { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__ui { position: relative; flex: none; width: 42px; height: 24px; border-radius: 999px; background: #d9d3c9; transition: background-color 0.2s; }
.switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(22, 19, 15, 0.25); transition: transform 0.25s var(--ease); }
.switch input:checked + .switch__ui { background: var(--brand); }
.switch input:checked + .switch__ui::after { transform: translateX(18px); }
.switch input:focus-visible + .switch__ui { box-shadow: 0 0 0 4px var(--brand-soft); }

/* Selector de dos opciones */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 10px; padding: 4px; border-radius: 12px; background: var(--cream-2); }
.seg button { height: 36px; border: 0; border-radius: 9px; background: transparent; color: var(--ink-2); font: 500 14px/1 var(--sans); cursor: pointer; }
.seg button[aria-checked="true"] { background: var(--paper); color: var(--ink); font-weight: 600; box-shadow: var(--shadow-sm); }

/* Precios por producto */
.costos { margin-top: 12px; border-radius: 12px; background: var(--cream); border: 1px solid var(--line); }
.costos summary { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; font-size: 14px; font-weight: 600; color: var(--brand-deep); cursor: pointer; list-style: none; }
.costos summary::-webkit-details-marker { display: none; }
.costos summary::after { content: "+"; font-size: 18px; font-weight: 500; line-height: 1; }
.costos[open] summary::after { content: "−"; }
.costos__note { padding: 0 14px; font-size: 12.5px; color: var(--muted); }
.costos__list { display: grid; gap: 2px; padding: 10px 8px 4px; }
.costo { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 5px 6px; border-radius: 8px; }
.costo:hover { background: rgba(22, 19, 15, 0.03); }
.costo label { font-size: 13.5px; line-height: 1.25; }
.costo label small { display: block; font-size: 11.5px; color: var(--muted); }
.costo.is-changed label small { color: var(--brand-deep); font-weight: 600; }
.money-in { display: flex; align-items: center; height: 34px; padding: 0 10px; border-radius: 9px; background: var(--paper); border: 1px solid var(--line-2); font-size: 14px; color: var(--muted); }
.money-in:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.money-in input { width: 52px; border: 0; outline: 0; background: transparent; font: 600 14px/1 var(--sans); color: var(--ink); text-align: right; -moz-appearance: textfield; }
.money-in input::-webkit-outer-spin-button, .money-in input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.money-in span:last-child { margin-left: 3px; font-size: 12px; }
.link-btn { padding: 0; border: 0; background: none; color: var(--brand-deep); font: 600 13.5px/1.4 var(--sans); cursor: pointer; }
.link-btn:hover { text-decoration: underline; }
.costos .link-btn { margin: 6px 14px 12px; }

.controls__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--line); }
.controls__foot .btn { --h: 38px; }

/* ───────────── Resultados ───────────── */

.results { display: grid; gap: 20px; min-width: 0; }

.summary {
  padding: 24px 28px;
  border-radius: var(--radius);
  background: var(--ink);
  color: rgba(246, 245, 242, 0.78);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.6;
  text-wrap: pretty;
}
.summary b { color: #fff; font-weight: 600; }
.summary .hl { color: #f59a72; font-weight: 650; }

.kpis { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 14px; }
.kpi { padding: 20px 20px 18px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.kpi__l { font-size: 13.5px; font-weight: 500; color: var(--muted); }
.kpi__v { margin-top: 6px; font-size: clamp(1.45rem, 2vw, 1.85rem); white-space: nowrap; font-weight: 650; letter-spacing: -0.04em; line-height: 1.05; transition: color 0.2s; }
.kpi__s { margin-top: 8px; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.kpi--hero { background: linear-gradient(160deg, #fff 30%, var(--brand-soft)); border-color: rgba(235, 104, 52, 0.35); }
.kpi--hero .kpi__v { font-size: clamp(2.2rem, 3.6vw, 3rem); color: var(--brand-deep); }
.kpi__v.is-neg { color: var(--neg); }

.card-r { padding: 24px 24px 20px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); min-width: 0; }
.card-r--plain { background: transparent; box-shadow: none; }
.card-r__head h2 { font-size: 19px; line-height: 1.3; font-weight: 650; letter-spacing: -0.02em; }
.card-r__head p { margin-top: 4px; font-size: 14px; color: var(--muted); }

/* Gráfica */
.chart { position: relative; margin-top: 16px; height: 340px; outline: none; touch-action: pan-y; }
.chart:focus-visible { box-shadow: 0 0 0 3px var(--brand-soft); border-radius: 12px; }
.chart svg { display: block; width: 100%; height: 100%; overflow: visible; }
.chart text { font-family: var(--sans); }
.tip {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  min-width: 190px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--paper);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
  font-size: 13px;
  line-height: 1.4;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.12s;
}
.tip.is-on { opacity: 1; }
.tip__v { font-size: 17px; font-weight: 650; letter-spacing: -0.02em; }
.tip__k { color: var(--muted); }
.tip__row { display: flex; justify-content: space-between; gap: 16px; margin-top: 4px; color: var(--muted); }
.tip__row b { color: var(--ink); font-weight: 600; }
.phases-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.phases-legend span { display: inline-flex; align-items: center; gap: 7px; }
.phases-legend i { width: 14px; height: 10px; border-radius: 3px; border: 1px solid var(--line-2); }

/* Tabla */
.table-wrap { margin-top: 14px; overflow-x: auto; }
.years { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.years th { padding: 8px 10px; text-align: right; font-size: 12px; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.years td { padding: 11px 10px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.years th:first-child, .years td:first-child { text-align: left; }
.years tr:last-child td { border-bottom: 0; }
.years .neg { color: var(--neg); }
.years td:last-child { font-weight: 650; }

/* Barras */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.bars { display: grid; gap: 10px; margin-top: 16px; }
.bar-row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) auto; align-items: center; gap: 12px; font-size: 13.5px; }
.bar-row__l { line-height: 1.3; }
.bar-row__t { display: block; height: 12px; }
.bar-row__f { display: block; height: 100%; width: var(--w); min-width: 3px; border-radius: 0 4px 4px 0; background: var(--bar-cost); transition: width 0.35s var(--ease); }
.bar-row__v { min-width: 64px; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.bar-row--plus .bar-row__f { background: #f3b89c; }
.bar-row--total { margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line-2); font-weight: 600; }
.bar-row--total .bar-row__f, .bar-row--brand .bar-row__f { background: var(--brand); }
.bar-row--neg .bar-row__f { background: var(--neg); }
.bar-row--neg .bar-row__v { color: var(--neg); }
.breakeven { margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: var(--cream); font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.breakeven b { color: var(--ink); }
.breakeven.is-warn { background: #fdecec; }

.assume { display: grid; gap: 10px; margin-top: 12px; font-size: 14px; color: var(--muted); }
.assume li { position: relative; padding-left: 16px; }
.assume li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 2px; background: var(--brand); }
.assume b { color: var(--ink); font-weight: 600; }
.disclaimer { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.results > .disclaimer { margin: -4px 0 0; padding: 0; border: 0; text-align: center; font-size: 12.5px; }

/* Interruptor con explicación */
.ctl--switch { padding-top: 4px; }
.switch > span:last-child { font-size: 15px; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; }
.switch small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.ctl[hidden] { display: none; }

.day { padding: 18px 22px 16px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.day__t { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand); }
.day__grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 10px; }
.day__grid div { padding: 0 16px; }
.day__grid div:first-child { padding-left: 0; }
.day__grid div + div { border-left: 1px solid var(--line); }
.day__grid b { display: block; font-size: clamp(1.4rem, 2.2vw, 1.75rem); font-weight: 650; letter-spacing: -0.04em; line-height: 1.1; }
.day__grid span { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.day__s { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.jump { display: none; }

/* Secciones plegables */
.more { margin-bottom: 8px; border-top: 1px solid var(--line); }
.more summary, .detail summary { list-style: none; cursor: pointer; }
.more summary::-webkit-details-marker, .detail summary::-webkit-details-marker { display: none; }
.more summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.more summary::after, .detail summary::after { content: "+"; font-size: 18px; font-weight: 500; line-height: 1; }
.more[open] summary::after, .detail[open] summary::after { content: "−"; }
.more[open] summary { margin-bottom: 6px; }
.detail summary {
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  max-width: 100%;
  height: 48px;
  margin: 4px auto 0;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-sm);
  font-size: 15px;
  font-weight: 600;
}
.detail summary:hover { border-color: rgba(22, 19, 15, 0.28); }
.detail[open] summary { margin-bottom: 20px; }
.detail__body { display: grid; gap: 20px; }

/* Preguntas de un inversionista */
.faq { display: grid; gap: 10px; margin-top: 8px; }
.faq__head { margin-bottom: 6px; }
.faq__head h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); line-height: 1.2; font-weight: 650; letter-spacing: -0.03em; }
.faq__head p { margin-top: 4px; font-size: 14px; color: var(--muted); }
.q { border-radius: 16px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: box-shadow 0.2s; }
.q[open] { box-shadow: var(--shadow); }
.q summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 18px;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  list-style: none;
  cursor: pointer;
}
.q summary::-webkit-details-marker { display: none; }
.q summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--muted); text-align: center; }
.q[open] summary::after { content: "−"; }
.q summary:hover .q__q { color: var(--brand-deep); }
.q__q { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.q__a { font-size: 14.5px; font-weight: 600; color: var(--ink-2); text-align: right; }
.q__body { padding: 2px 20px 20px; border-top: 1px solid var(--line); }
.q__lead { margin: 14px 0 4px; font-size: 14px; color: var(--muted); }
.q__note { margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.q__sub { margin-top: 20px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.q .bars { margin-top: 12px; }
.q .breakeven { margin-top: 14px; }

/* Estado de resultados de una ruta */
.stmt { margin-top: 12px; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.stmt__r { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.stmt__r dt { color: var(--ink-2); }
.stmt__r dd { margin: 0; font-weight: 600; white-space: nowrap; }
.stmt__r--top dd, .stmt__r--top dt { font-weight: 650; color: var(--ink); }
.stmt__r--plus dd { color: var(--green); }
.stmt__r--total { border-bottom: 0; border-top: 2px solid var(--ink); margin-top: -1px; padding-top: 10px; font-size: 16px; }
.stmt__r--total dt { font-weight: 650; color: var(--ink); }
.stmt__r--total dd { color: var(--brand-deep); font-weight: 700; }
.stmt__r--total.is-neg dd { color: var(--neg); }

/* Métricas de retorno */
.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.metric { padding: 14px 16px; border-radius: 12px; background: var(--cream); }
.metric__l { font-size: 13px; color: var(--muted); }
.metric__v { margin-top: 4px; font-size: 20px; font-weight: 650; letter-spacing: -0.02em; }
.metric__n { margin-top: 4px; font-size: 12.5px; line-height: 1.4; color: var(--muted); }

/* Estado de cada supuesto */
.tag { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.tag--inv { background: var(--green-soft); color: var(--green); }
.tag--est { background: var(--cream-2); color: var(--ink-2); }
.tag--val { background: var(--brand-soft); color: var(--brand-deep); }
.years.val td { white-space: normal; text-align: left; }
.years.val th { text-align: left; }
.years tr.is-cur td { background: var(--brand-soft); font-weight: 600; }
.kpi__l span { font-size: 12px; color: var(--muted); opacity: 0.8; }

/* Contacto */
.sim-cta { padding: clamp(72px, 10vw, 120px) 0; }
.sim-cta__btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.sim-cta__ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.25); box-shadow: none; }
.sim-cta__ghost:hover { border-color: rgba(255, 255, 255, 0.5); }
.sim .foot__bottom { border-top: 0; padding-top: 24px; }

/* Barra fija con el resultado y aviso */
.dock {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 60;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 8px 24px;
  width: min(560px, calc(100% - 24px));
  padding: 12px 20px;
  border-radius: 16px;
  background: rgba(22, 19, 15, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  box-shadow: var(--shadow-lg);
  transform: translate(-50%, 140%);
  transition: transform 0.3s var(--ease);
}
.dock.is-on { transform: translate(-50%, 0); }
.dock small { display: block; font-size: 11px; color: rgba(246, 245, 242, 0.6); }
.dock b { font-size: 16px; font-weight: 650; letter-spacing: -0.02em; white-space: nowrap; }
.dock b.is-neg { color: #ff8a80; }
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 70;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ───────────── Responsivo ───────────── */

@media (max-width: 1080px) {
  .sim-grid { grid-template-columns: 1fr; }
  .controls.is-sticky { position: static; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpi--hero { grid-column: 1 / -1; }
  .two { grid-template-columns: 1fr; }
  .results { order: -1; }
  .jump { display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 15px; font-weight: 600; text-decoration: none; box-shadow: 0 8px 20px -8px rgba(235, 104, 52, 0.6); }
  #controles { scroll-margin-top: 80px; }
  .dock { padding: 10px 14px; gap: 8px; }
  .dock b { font-size: 15px; }
}

@media (max-width: 760px) {
  .scen { width: 100%; }
  .scen button { flex: 1; padding: 0 8px; font-size: 14px; }
  .controls { padding: 4px 18px 16px; }
  .summary { padding: 20px; }
  .kpi { padding: 16px; }
  .card-r { padding: 20px 16px 16px; }
  .day { padding: 16px; }
  .day__grid div { padding: 0 10px; }
  .day__grid span { font-size: 12px; }
  .chart { height: 280px; }
  .bar-row { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr) auto; gap: 8px; font-size: 13px; }
  .q summary { grid-template-columns: minmax(0, 1fr) 18px; gap: 4px 12px; padding: 14px 16px; }
  .q__a { grid-column: 1; grid-row: 2; text-align: left; font-size: 13.5px; color: var(--brand-deep); }
  .q summary::after { grid-row: 1 / 3; grid-column: 2; }
  .q__body { padding: 2px 16px 16px; }
  .metrics { grid-template-columns: 1fr; }
  .sim .foot__bottom { flex-direction: column; gap: 8px; padding-bottom: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  .bar-row__f, .dock, .toast { transition: none; }
}
