/* The Motion Box · panel
   Negro del logo, turquesa del dispositivo y naranja de la caja. */
:root {
  /* Manual de marca TMB v1.0 */
  --tmb-orange: #FF9831;
  --tmb-green: #64ED67;
  --tmb-pink: #FF406E;
  --tmb-blue: #2B99FC;
  --ink: #000000;
  --on-orange: #000000;
  --paper: #ffffff;
  --wash: #f4f4f2;
  --line: #e2e2de;
  --muted: #5d5d58;
  /* variantes oscuras para texto chico, con contraste suficiente sobre blanco */
  --blue-text: #0a6ccc;
  --pink-text: #d4194a;
  --green-text: #1d7f2b;
  --orange-text: #b85a00;
  --blue-soft: #e3f1ff;
  --pink-soft: #ffe5ec;
  --green-soft: #e4fbe5;
  --orange-soft: #fff0e0;
  --radius: 14px;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --marker: "Permanent Marker", "Comic Sans MS", cursive;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f4f4f2;
    --paper: #171717;
    --wash: #0e0e0e;
    --line: #2d2d2b;
    --muted: #a8a8a2;
    --blue-text: #6cb8ff;
    --pink-text: #ff7896;
    --green-text: #7ff281;
    --orange-text: #FF9831;
    --blue-soft: #10263b;
    --pink-soft: #3a1520;
    --green-soft: #16301a;
    --orange-soft: #33220f;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--wash);
  color: var(--ink);
  font: 400 15px/1.5 var(--body);
}
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--tmb-blue);
  outline-offset: 2px;
}
h1, h2, h3 { font-family: var(--body); line-height: 1.15; margin: 0; }
h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: 18px; font-weight: 700; margin-bottom: 14px; }
h3 { font-size: 15px; font-weight: 700; margin: 22px 0 10px; }

/* Menú lateral */
.shell { display: grid; grid-template-columns: 232px minmax(0, 1fr); min-height: 100vh; }
.sidebar {
  background: var(--tmb-orange); color: #000;
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column; gap: 28px;
  padding: 24px 14px 18px;
}
.brand { display: block; padding: 0 10px; }
.brand img { width: 128px; height: auto; display: block; }
.sidenav, .side-foot { display: flex; flex-direction: column; gap: 2px; }
.side-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(0, 0, 0, .18); }
.sidenav a, .side-foot a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 12px;
  color: #000; text-decoration: none; font-weight: 600; font-size: 15px;
}
.side-foot a { font-size: 14px; font-weight: 500; }
.side-foot a span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidenav a:hover, .side-foot a:hover { background: rgba(0, 0, 0, .1); }
.sidenav a[aria-current="page"], .side-foot a[aria-current="page"] { background: #000; color: var(--tmb-orange); }
.ico { font-size: 18px; line-height: 1; width: 22px; text-align: center; flex: none; }
.sidebar a:focus-visible { outline-color: #000; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 28px clamp(16px, 4vw, 40px) 64px; }

.hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.sub { margin: 8px 0 0; font-family: var(--marker); font-size: 18px; color: var(--orange-text); }
.back { margin: 0 0 8px; font-size: 14px; }
.back a { color: var(--muted); }

/* Indicadores */
.kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.kpi {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; text-decoration: none;
}
.kpi-label { font-size: 13px; color: var(--muted); font-weight: 600; }
.kpi-value { font: 800 clamp(22px, 2.3vw, 32px)/1.1 var(--body); white-space: nowrap; letter-spacing: -.01em; }
.kpi-note { font-size: 13px; color: var(--muted); }
.kpi-main { background: var(--tmb-orange); color: #000; border-color: var(--tmb-orange); grid-column: span 2; }
.kpi-main .kpi-label, .kpi-main .kpi-note { color: #000; opacity: .72; }
.kpi-main .kpi-value { font-size: clamp(34px, 4.5vw, 48px); }
.kpi-alert { border-color: var(--tmb-pink); box-shadow: inset 5px 0 0 var(--tmb-pink); }
.kpi-alert:hover { background: var(--pink-soft); }
@media (max-width: 1440px) { .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Tarjetas */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.span-2 { grid-column: span 2; }
@media (max-width: 900px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .span-2 { grid-column: span 1; }
}
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; min-width: 0; }
.card.flush { padding: 0; overflow: hidden; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; }
.card.empty { margin-bottom: 20px; }
.link { font-size: 14px; color: var(--blue-text); font-weight: 600; }
.hint { color: var(--muted); font-size: 13px; margin: 0; }
.seg-desc { margin: -6px 0 12px; }
.notice { background: var(--paper); border: 1px dashed var(--line); border-radius: var(--radius); padding: 12px 16px; color: var(--muted); font-size: 14px; }

.chart-box { position: relative; height: 260px; }
.chart-box.tall { height: 320px; }

/* Tablas */
.scroll-x { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-weight: 600; color: var(--muted); font-size: 13px; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .r { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.card.flush .tbl th:first-child, .card.flush .tbl td:first-child { padding-left: 20px; }
.card.flush .tbl th:last-child, .card.flush .tbl td:last-child { padding-right: 20px; }
.tbl tr.win td { background: var(--green-soft); }
.empty-row { text-align: center; color: var(--muted); padding: 28px !important; }
.person { text-decoration: none; display: flex; flex-direction: column; }
.person span { color: var(--muted); font-size: 13px; }
.person:hover strong { text-decoration: underline; }

/* Barras */
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bars li { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) 40px; gap: 10px; align-items: center; font-size: 14px; }
.bar-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar { height: 10px; background: var(--wash); border-radius: 999px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--ink); border-radius: 999px; }
.bars-alt .bar i { background: var(--tmb-orange); }
.bar-n { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }

.split { display: flex; gap: 22px; margin-bottom: 14px; flex-wrap: wrap; }
.split > div { display: flex; flex-direction: column; }
.split-n { font: 800 26px/1 var(--body); }

/* Etiquetas */
.badge { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; background: var(--wash); }
.seg-cobrado { background: var(--green-soft); color: var(--green-text); }
.seg-volvio { background: var(--blue-soft); color: var(--blue-text); }
.seg-error_pago { background: var(--pink-soft); color: var(--pink-text); }
.seg-cancelado { background: var(--wash); color: var(--muted); }
.seg-solo_encuesta { background: var(--orange-soft); color: var(--orange-text); }
.state { font-size: 13px; font-weight: 600; color: var(--muted); }
.state-contactado { color: var(--blue-text); }
.state-resuelto, .state-collected { color: var(--green-text); }
.state-errored { color: var(--pink-text); }

/* Pestañas y filtros */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 14px; }
.tabs a { text-decoration: none; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-size: 14px; font-weight: 500; }
.tabs a b { font-weight: 700; margin-left: 4px; color: var(--muted); }
.tabs a[aria-current="page"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tabs a[aria-current="page"] b { color: var(--paper); opacity: .7; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.filters input[type=search] { flex: 1; min-width: 220px; }

/* Formularios */
input, select, textarea {
  font: inherit; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; width: 100%; font-weight: 400;
}
.filters select, .filters input { width: auto; }
input[type=file] { padding: 8px; background: var(--wash); }
label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; color: var(--muted); }
.stack { display: flex; flex-direction: column; gap: 12px; }
.stack h2 { margin-bottom: 0; }
.row-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.row-form label { flex: 1; min-width: 120px; }
.inline-upload { display: flex; gap: 8px; align-items: center; }
.btn {
  font: 600 15px var(--body); background: var(--ink); color: var(--paper); border: 1px solid var(--ink);
  border-radius: 999px; padding: 10px 20px; cursor: pointer; text-decoration: none; display: inline-block; white-space: nowrap; align-self: flex-start;
}
.btn:hover { background: var(--tmb-orange); border-color: var(--tmb-orange); color: #000; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-small { padding: 8px 16px; font-size: 14px; }

.flash { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 16px; background: var(--green-soft); color: var(--green-text); font-weight: 600; }
.flash-error { background: var(--pink-soft); color: var(--pink-text); }

/* Ficha de persona */
.pledge { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; }
.pledge-errored { border-color: var(--tmb-pink); }
.pledge-canceled { opacity: .7; border-style: dashed; }
.pledge header { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.pledge-amt { margin-left: auto; font: 800 20px var(--body); }
.pledge p { margin: 8px 0 0; font-size: 14px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px 16px; margin: 10px 0 0; }
.facts-col { grid-template-columns: 1fr 1fr; margin: 0 0 12px; }
.facts dt { font-size: 12px; color: var(--muted); }
.facts dd { margin: 0; font-size: 14px; }
blockquote { margin: 10px 0 0; padding: 10px 14px; background: var(--wash); border-radius: 10px; font-size: 14px; }
blockquote span { display: block; font-size: 12px; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
.q-sug { background: var(--orange-soft); }

.answers { columns: 2 340px; column-gap: 16px; }
.answer { break-inside: avoid; margin-bottom: 16px; }
.answer header { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.answer header a { font-weight: 600; }

/* Ingreso: como la portada del manual, logo negro sobre naranja */
body.is-login { background: var(--tmb-orange); }
.login { min-height: 86vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px; }
.login-logo { width: min(300px, 70vw); height: auto; }
.login-card { width: min(360px, 100%); display: flex; flex-direction: column; gap: 14px; border-color: transparent; }
.login-card .btn { align-self: stretch; text-align: center; }
.error { color: var(--pink-text); margin: 0; font-weight: 600; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
@media (max-width: 860px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .sidebar {
    height: auto; z-index: 5;
    flex-direction: row; align-items: center; gap: 12px;
    padding: 10px 12px;
  }
  .brand { padding: 0; }
  .brand img { width: 64px; }
  .sidebar, .sidenav { min-width: 0; }
  .sidenav { flex-direction: row; overflow-x: auto; flex: 1; scrollbar-width: none; }
  .sidenav a { padding: 8px 10px; white-space: nowrap; font-size: 14px; gap: 6px; }
  .side-foot { margin: 0; padding: 0; border: 0; flex-direction: row; }
  .side-foot a span:last-child { display: none; }
  .side-foot a { padding: 8px; }
}

/* Usuarios */
.temp-pass { margin-bottom: 16px; border: 2px solid var(--tmb-orange); }
.temp-pass p { margin: 0 0 12px; }
code.temp { font-size: 18px; font-weight: 700; letter-spacing: .04em; background: var(--orange-soft); padding: 2px 8px; border-radius: 6px; }
.inline-form select { width: auto; padding: 6px 10px; }
.actions { white-space: nowrap; text-align: right; }
.actions form { display: inline; }
.link-btn { background: none; border: 0; padding: 4px 6px; font: 600 13px var(--body); color: var(--blue-text); cursor: pointer; }
.link-btn:hover { text-decoration: underline; }
.link-btn.danger { color: var(--pink-text); }
.tbl tr.off td { opacity: .55; }
.roles { margin: 0; display: grid; gap: 12px; }
.roles dt { font-weight: 700; }
.roles dd { margin: 0; color: var(--muted); font-size: 14px; }
.login-card h2 { margin: 0; }

/* Finanzas */
.pnl td { padding: 7px 10px; }
.pnl .pnl-head td { font-weight: 700; padding-top: 18px; border-bottom: 2px solid var(--ink); }
.pnl .pnl-total td { font-weight: 700; background: var(--wash); }
.pnl .pnl-result td { font-weight: 800; font-size: 16px; background: var(--orange-soft); }
.tag-auto { font-size: 11px; font-weight: 600; color: var(--blue-text); background: var(--blue-soft); padding: 1px 7px; border-radius: 999px; margin-left: 4px; white-space: nowrap; }
.big-n { font: 800 34px/1.1 var(--body); margin: 0 0 6px; }
.bars li:has(.bar-money) { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) 96px; }
.num-in { width: 96px; text-align: right; padding: 6px 8px; }
.check { flex-direction: row; align-items: center; gap: 8px; font-weight: 500; color: var(--ink); font-size: 14px; }
.check input { width: auto; }
.grid-2.inner { gap: 24px; }
.grid-2.inner > * { min-width: 0; }
.pos { color: var(--green-text); font-weight: 600; }
.neg { color: var(--pink-text); }
.seg-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; align-self: flex-start; }
.seg-toggle label { flex-direction: row; }
.seg-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg-toggle span { padding: 6px 16px; border-radius: 999px; color: var(--ink); font-size: 14px; cursor: pointer; }
.seg-toggle input:checked + span { background: var(--ink); color: var(--paper); }
.seg-toggle input:focus-visible + span { outline: 3px solid var(--tmb-blue); }
.mini-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.mini-tabs a { font-size: 13px; text-decoration: none; padding: 4px 10px; border-radius: 999px; color: var(--muted); font-weight: 600; }
.mini-tabs a[aria-current="page"] { background: var(--ink); color: var(--paper); }

/* Mailing */
.badge.camp-borrador { background: var(--wash); color: var(--muted); }
.badge.camp-enviando { background: var(--orange-soft); color: var(--orange-text); }
.badge.camp-enviada { background: var(--green-soft); color: var(--green-text); }
code.cmd { display: block; background: var(--wash); border-radius: 10px; padding: 10px 12px; font-size: 13px; overflow-x: auto; white-space: nowrap; }
.mail-preview { width: 100%; height: 620px; border: 1px solid var(--line); border-radius: 12px; background: #f4f4f2; }
.camp-grid { align-items: start; }

/* Contenido */
.cal-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.cal-bar h2 { margin: 0; min-width: 170px; text-align: center; }
.cal-bar .mini-tabs { margin-left: auto; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal-dow { padding: 8px 10px; font-size: 12px; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--line); }
.cal-day { min-height: 112px; padding: 6px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cal-day:nth-child(7n) { border-right: 0; }
.cal-day.empty { background: var(--wash); }
.cal-day.today { background: var(--orange-soft); }
.cal-num { font-size: 13px; font-weight: 700; }
.cal-num a { text-decoration: none; display: inline-block; min-width: 24px; padding: 1px 4px; border-radius: 6px; }
.cal-num a:hover { background: var(--ink); color: var(--paper); }
.chip { display: block; font-size: 12px; line-height: 1.3; padding: 3px 7px; border-radius: 7px; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: var(--wash); color: var(--ink); }
.cal-legend .chip { display: inline-block; margin: 0 4px 4px 0; }
.st-idea { background: var(--wash); color: var(--muted); }
.st-borrador { background: var(--blue-soft); color: var(--blue-text); }
.st-listo { background: var(--orange-soft); color: var(--orange-text); }
.st-programado { background: var(--tmb-orange); color: #000; }
.st-publicado { background: var(--green-soft); color: var(--green-text); }
.chip-red { background: transparent; border: 1px dashed var(--muted); color: var(--muted); }
.idea-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.idea-list li { display: flex; flex-direction: column; gap: 2px; }
.idea-list a { font-weight: 600; text-decoration: none; }
.idea-list a:hover { text-decoration: underline; }
@media (max-width: 700px) {
  .cal { grid-template-columns: repeat(7, minmax(44px, 1fr)); overflow-x: auto; }
  .cal-day { min-height: 70px; }
  .chip { font-size: 0; padding: 0; width: 10px; height: 10px; border-radius: 50%; }
}

/* Conexión con Meta */
.result-card { margin-bottom: 16px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.steps { margin: 0; padding-left: 20px; display: grid; gap: 10px; font-size: 14px; }
main > .card + .card, main > .notice + .card, main > .card + section { margin-top: 16px; }
.cal-legend { margin-top: 10px; }

/* Métricas de redes */
.net-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin-bottom: 16px; }
.net-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.net-head h2 { margin: 0; }
.net-ico { font-size: 22px; line-height: 1; }
.net-instagram { box-shadow: inset 0 4px 0 var(--tmb-pink); }
.net-facebook { box-shadow: inset 0 4px 0 var(--tmb-blue); }
.net-main { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.net-main .kpi-value { font-size: 36px; }
.delta { font-weight: 700; font-size: 14px; padding: 2px 8px; border-radius: 999px; }
.delta.up { background: var(--green-soft); color: var(--green-text); }
.delta.down { background: var(--pink-soft); color: var(--pink-text); }
.net-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; }
.net-stats dt { font-size: 12px; color: var(--muted); }
.net-stats dd { margin: 0; font-weight: 700; font-size: 18px; }
.posts-head { margin: 24px 0 10px; }
.posts-head h2 { margin: 0; }
.post-cell { display: flex; gap: 10px; align-items: center; text-decoration: none; min-width: 260px; }
.post-cell img, .thumb-ph { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex: none; background: var(--wash); display: grid; place-items: center; }
.post-cell > span:last-child { display: flex; flex-direction: column; }
.post-cell:hover strong { text-decoration: underline; }
a.sort { text-decoration: none; color: inherit; }
a.sort.on { color: var(--ink); }
.account-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.account-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
details summary { cursor: pointer; font-size: 14px; color: var(--blue-text); font-weight: 600; }

/* Redes en el resumen */
.social-strip { margin-bottom: 20px; }
.social-row { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; }
.social-net { display: flex; gap: 12px; align-items: center; }
.social-big { font: 800 28px/1.1 var(--body); display: flex; align-items: center; gap: 8px; }
.social-top { margin-left: auto; display: flex; gap: 12px; align-items: center; text-decoration: none; max-width: 360px; padding: 8px 12px; border-radius: 12px; background: var(--wash); }
.social-top img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; }
.social-top div { display: flex; flex-direction: column; }
@media (max-width: 700px) { .social-top { margin-left: 0; } .net-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Configuración */
[hidden] { display: none !important; }
.dot-ok { color: var(--green-text); font-size: 10px; vertical-align: middle; margin-left: 2px; }
.tabs a[aria-current="page"] .dot-ok { color: var(--tmb-green); }
.mail-via { margin: -6px 0 14px; }
.tbl code.cmd { white-space: normal; word-break: break-all; }
textarea.code { font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.seg-lead { background: var(--blue-soft); color: var(--blue-text); }

/* Lista de espera */
.funnel { display: flex; align-items: stretch; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.fstep { flex: 1; min-width: 180px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; }
.fstep.fmain { background: var(--tmb-orange); border-color: var(--tmb-orange); color: #000; }
.fstep.fmain .kpi-label, .fstep.fmain .kpi-note { color: #000; opacity: .72; }
.farrow { display: flex; align-items: center; font-size: 22px; color: var(--muted); }
.kpis.kpis-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kpis.kpis-3 .kpi-value { white-space: normal; }
@media (max-width: 900px) { .kpis.kpis-3 { grid-template-columns: 1fr; } .farrow { display: none; } }
