/* FrutiFresca ERP — mobile-first, readable in sun, big tap targets (≥48px). Brand blues from heladosfrutifresca.com */
:root {
  --azul: #0d47a1; --marino: #1e3a5f; --celeste: #b3d4f5; --hielo: #e8f4fd; --texto: #212121; --muted: #5f6b7a;
  --naranja: #ef6c00; --fondo: #f4f8fc; --card: #ffffff; --borde: #d6e3f0;
  --ok: #1b7a3a; --ok-bg: #e3f4e8; --warn: #8a5a00; --warn-bg: #fff3d6; --bad: #b3261e; --bad-bg: #fde7e5;
  --radio: 14px; --sombra: 0 1px 2px rgba(30, 58, 95, .08), 0 4px 14px rgba(30, 58, 95, .06);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --texto: #eef3f8; --muted: #a9b6c6; --fondo: #0e1824; --card: #16243a; --borde: #26395a; --hielo: #1b2d48; --celeste: #2c4a74;
    --ok: #7fd99a; --ok-bg: #173a24; --warn: #ffd27a; --warn-bg: #3d3010; --bad: #ff9c94; --bad-bg: #4a1c1a; --azul: #7fb3f5;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.45 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--texto); background: var(--fondo); padding-bottom: 150px; }
a { color: var(--azul); }
h1 { font-size: 1.5rem; margin: .5rem 0; }
h2 { font-size: 1.12rem; margin: 0 0 .6rem; color: var(--marino); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) h2 { color: #cfe2fb; } }
h3 { font-size: 1rem; margin: 1rem 0 .4rem; }
h4 { margin: .2rem 0; font-size: .9rem; color: var(--muted); }
.muted { color: var(--muted); }
small { font-size: .82rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* shell */
.top { position: sticky; top: 0; z-index: 500; display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: var(--marino); color: #fff; min-height: 56px; }
.top-logo { height: 24px; width: auto; background: #fff; border-radius: 6px; padding: 2px 6px; }
.top-atras { color: #fff; text-decoration: none; font-size: 2rem; line-height: 1; min-width: 44px; min-height: 44px; display: grid; place-items: center; }
.top-titulo { flex: 1; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-btn { position: relative; min-width: 44px; min-height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.punto { position: absolute; top: 2px; right: 2px; background: var(--naranja); color: #fff; border-radius: 10px; font-size: .7rem; padding: 0 5px; }
.chip-demo { background: var(--naranja); color: #fff; font-size: .72rem; font-weight: 800; border-radius: 6px; padding: 2px 7px; letter-spacing: .05em; }
.banda-ver { background: #1565c0; color: #fff; padding: 10px 14px; font-size: .92rem; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.banda-ver .btn-mini { background: #fff; color: #0d47a1; }
.main { max-width: 760px; margin: 0 auto; padding: 12px 16px; }
.pie { text-align: center; color: var(--muted); font-size: .8rem; padding: 12px 0 0; }
.tabs { position: fixed; bottom: 0; left: 0; right: 0; z-index: 600; display: flex; background: var(--card); border-top: 1px solid var(--borde); padding-bottom: env(safe-area-inset-bottom); }
.tabs a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px; min-height: 58px; font-size: .74rem; color: var(--muted); text-decoration: none; font-weight: 600; }
.tabs a span { font-size: 1.3rem; }
.tabs a.on { color: var(--azul); box-shadow: inset 0 3px 0 var(--azul); }
.fab { position: fixed; right: 14px; bottom: calc(72px + env(safe-area-inset-bottom)); z-index: 610; min-height: 52px; padding: 0 18px; border: 0; border-radius: 26px; background: var(--azul); color: #fff; font: inherit; font-weight: 700; box-shadow: 0 6px 18px rgba(13, 71, 161, .35); cursor: pointer; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .fab { background: #1565c0; } }

/* cards */
.card { background: var(--card); border: 1px solid var(--borde); border-radius: var(--radio); padding: 14px; margin: 0 0 12px; box-shadow: var(--sombra); }
.card-urg { border-left: 5px solid var(--naranja); }
.sec { margin: 18px 0 8px; }
.act-linea { font-size: .85rem; color: var(--muted); margin: 0 0 10px; }
.grid-deptos { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 12px; }
@media (min-width: 560px) { .grid-deptos { grid-template-columns: 1fr 1fr; } }
.depto { display: block; text-decoration: none; color: inherit; margin: 0; }
.depto-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.depto h3 { margin: 0; }
.depto dl { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; margin: 10px 0 0; }
.depto dt { font-size: .76rem; color: var(--muted); }
.depto dd { margin: 0; font-weight: 700; }
.luz { display: inline-flex; align-items: center; gap: 4px; font-size: .8rem; font-weight: 700; border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.luz-ok { color: var(--ok); background: var(--ok-bg); }
.luz-warn { color: var(--warn); background: var(--warn-bg); }
.luz-bad { color: var(--bad); background: var(--bad-bg); }
.ok-txt { color: var(--ok); font-weight: 700; }
.urgentes { margin: 0; padding: 0 0 0 1.2rem; }
.urg { margin: 0 0 12px; }
.urg a { color: inherit; text-decoration: none; font-weight: 600; display: block; }
.urg-depto { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--naranja); font-weight: 800; }
.urg-pie { display: flex; gap: 10px; flex-wrap: wrap; font-size: .82rem; margin-top: 2px; }
.urg-acc { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.urg-acc { flex-wrap: nowrap; }
.urg-acc .btn-mini { background: transparent; color: var(--azul); padding: 0 10px; font-size: .8rem; white-space: nowrap; }
.urg-acc .btn-mini:first-child { background: var(--azul); color: #fff; }

/* rows, buttons, inputs */
.fila { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; min-height: 52px; border-top: 1px solid var(--borde); color: inherit; text-decoration: none; width: 100%; background: none; border-left: 0; border-right: 0; border-bottom: 0; font: inherit; text-align: left; cursor: pointer; }
.fila:first-of-type { border-top: 0; }
.fila > div, .fila > span:first-child { display: flex; flex-direction: column; min-width: 0; }
.fila .der { display: flex; align-items: center; gap: 8px; flex-direction: row; flex-shrink: 0; }
.grande-fila { font-size: 1.05rem; min-height: 56px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 0 18px; border-radius: 12px; border: 2px solid var(--azul); background: var(--azul); color: #fff; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; margin: 4px 0; }
.btn.ghost { background: transparent; color: var(--azul); }
.btn.peligro { background: var(--bad); border-color: var(--bad); }
.grande-btn { width: 100%; min-height: 60px; font-size: 1.15rem; margin-top: 12px; }
.btn-mini { min-height: 40px; padding: 0 12px; border-radius: 10px; border: 1.5px solid var(--azul); background: var(--azul); color: #fff; font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; }
.btn-mini.ghost { background: transparent; color: var(--azul); }
[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.btn-link { background: none; border: 0; color: var(--azul); font: inherit; font-weight: 700; min-height: 48px; cursor: pointer; text-decoration: underline; }
.acciones { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.lbl { display: block; font-weight: 600; margin: 12px 0 4px; font-size: .92rem; }
.inp { width: 100%; min-height: 48px; padding: 10px 12px; border-radius: 10px; border: 1.5px solid var(--borde); background: var(--card); color: var(--texto); font: inherit; }
.pill { display: inline-block; background: var(--hielo); color: var(--marino); border-radius: 999px; padding: 2px 10px; font-size: .78rem; font-weight: 700; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pill { color: #cfe2fb; } }
.pill-naranja { background: #ffe6cc; color: #8a3b00; }
.pill-azul { background: #1565c0; color: #fff; }
.seg { display: inline-flex; border: 1.5px solid var(--azul); border-radius: 10px; overflow: hidden; }
.seg button { min-height: 40px; padding: 0 12px; border: 0; background: transparent; color: var(--azul); font: inherit; font-weight: 600; cursor: pointer; }
.seg button.on { background: var(--azul); color: #fff; }
.fila-tit { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.fila-tit h2 { margin: 0; }
.dos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rank { list-style: none; margin: 0; padding: 0; }
.rank li { padding: 6px 0; border-top: 1px solid var(--borde); display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }
.rank li span { flex: 1 1 100%; }
.pos { color: var(--ok); } .neg { color: var(--bad); }
.grande { font-size: 1.6rem; font-weight: 800; margin: 4px 0; }
.barra { position: relative; height: 10px; background: var(--hielo); border-radius: 6px; overflow: visible; margin: 6px 0; }
.barra span { display: block; height: 100%; background: var(--azul); border-radius: 6px; }
.barra i { position: absolute; top: -4px; width: 2px; height: 18px; background: var(--texto); }
.obj { margin: 10px 0; } .obj-t { display: flex; justify-content: space-between; gap: 8px; font-weight: 600; }
details { border-top: 1px solid var(--borde); padding: 10px 0; }
summary { cursor: pointer; font-weight: 700; min-height: 32px; }
.cuenta { background: var(--hielo); border-radius: 999px; padding: 0 8px; font-size: .8rem; margin-left: 6px; }
.dl { display: grid; gap: 8px; margin: 10px 0; } .dl dt { font-size: .8rem; color: var(--muted); } .dl dd { margin: 0; font-weight: 600; }
.embudo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.embudo div { background: var(--hielo); border-radius: 12px; padding: 10px 4px; display: flex; flex-direction: column; }
.embudo b { font-size: 1.4rem; }
.graf { width: 100%; height: 90px; display: block; }
.graf .b { fill: #8bb8ea; } .graf .b-res { fill: var(--azul); } .graf rect:hover { fill: var(--naranja); }
.ejes { display: flex; justify-content: space-around; font-size: .72rem; color: var(--muted); }

/* maps */
.mapa { height: 260px; border-radius: 12px; overflow: hidden; margin: 8px 0; background: var(--hielo); }
.mapa.alto { height: 340px; }
.mapa-off { padding: 20px; text-align: center; }
.pin { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--azul); color: #fff; font-weight: 800; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.4); font-size: .85rem; }
.pin.naranja { background: var(--naranja); } .pin.verde { background: #1b7a3a; } .pin.rojo { background: #b3261e; } .pin.gris { background: #7d8a99; }
.visitas { list-style: none; padding: 0; margin: 0; }
.visitas a { display: flex; gap: 10px; padding: 10px 0; border-top: 1px solid var(--borde); color: inherit; text-decoration: none; align-items: flex-start; }
.visitas p { margin: 2px 0; }
.num { flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--azul); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .85rem; }
.linea { list-style: none; padding: 0; margin: 0; }
.linea li { border-left: 3px solid var(--celeste); padding: 4px 0 10px 12px; }
.linea li.apoyo { border-left-color: #1565c0; background: var(--hielo); border-radius: 0 10px 10px 0; }
.linea p { margin: 2px 0; }
.paradas { padding-left: 0; list-style: none; margin: 0; }
.paradas li { padding: 10px 0; border-top: 1px solid var(--borde); }
.motivo { margin: 4px 0 0; font-size: .88rem; color: var(--warn); }

/* production */
.lote { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--borde); }
.lote img, .lote .sw { flex: 0 0 52px; height: 52px; border-radius: 10px; object-fit: cover; }
.lote-c { flex: 1; min-width: 0; }
.lote.mal { background: var(--bad-bg); margin: 0 -14px; padding: 12px 14px; }
.cuenta-reg { margin: 4px 0; font-size: 1.05rem; } .cuenta-reg b { color: var(--azul); font-size: 1.2rem; font-variant-numeric: tabular-nums; }

/* warehouse */
.plano { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 12px; }
@media (min-width: 560px) { .plano { grid-template-columns: 1fr 1fr; } }
.camara { border: 2px solid var(--borde); border-radius: 12px; padding: 8px; }
.camara.fuera { border-color: var(--bad); }
.camara-t { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; gap: 6px; flex-wrap: wrap; }
.racks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.celda { min-height: 52px; border: 1px solid var(--borde); border-radius: 8px; background: var(--hielo); color: var(--texto); font: inherit; font-size: .75rem; padding: 4px; display: flex; flex-direction: column; align-items: flex-start; cursor: pointer; text-align: left; }
.celda small { color: var(--muted); font-size: .68rem; }
.celda.vacia { background: transparent; color: var(--muted); }
.celda.vence { border-color: var(--warn); }
.celda.hit { background: var(--naranja); color: #fff; border-color: var(--naranja); font-weight: 800; }
.celda.hit small { color: #fff; }
.det { margin-top: 12px; padding: 12px; background: var(--hielo); border-radius: 12px; }
.det p { margin: 6px 0; }
.cam { width: 100%; border-radius: 12px; background: #000; }

/* driver */
.estado-red { padding: 12px 14px; border-radius: 12px; background: var(--ok-bg); color: var(--ok); font-weight: 700; margin-bottom: 12px; display: flex; gap: 8px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.estado-red.off { background: var(--warn-bg); color: var(--warn); }
h2.g { font-size: 1.5rem; margin: 2px 0; }
.stepper { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.stepper span { flex: 1; font-weight: 600; }
.stepper button { width: 52px; height: 52px; border-radius: 12px; border: 2px solid var(--azul); background: var(--card); color: var(--azul); font-size: 1.5rem; font-weight: 800; cursor: pointer; }
.stepper b { min-width: 2ch; text-align: center; font-size: 1.3rem; }

/* tables */
.tabla { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: .9rem; }
.tabla th, .tabla td { text-align: left; padding: 8px 4px; border-top: 1px solid var(--borde); vertical-align: top; }

/* reports, tiles */
.rep { padding: 10px 0; border-top: 1px solid var(--borde); } .rep p { margin: 2px 0; } .rep.pausado { opacity: .7; }
.tiles { display: flex; flex-wrap: wrap; gap: 8px; } .tile { border: 1.5px dashed var(--borde); border-radius: 10px; padding: 10px 12px; font-size: .88rem; color: var(--muted); }
.vacio { font-size: 1.1rem; font-weight: 700; }
pre { white-space: pre-wrap; font-size: .8rem; margin: 0; }

/* login */
.login { max-width: 460px; margin: 0 auto; padding: 32px 16px; text-align: center; }
.login img { max-width: 80%; height: auto; }
.login-sub { color: var(--muted); font-size: .9rem; margin: 6px 0 22px; }
.lista-entrar { display: grid; gap: 8px; margin: 16px 0; text-align: left; }
.entrar { display: flex; flex-direction: column; min-height: 60px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--borde); background: var(--card); color: var(--texto); font: inherit; cursor: pointer; text-align: left; }
.entrar span { font-size: .85rem; color: var(--muted); }
.entrar:hover, .entrar:focus-visible { border-color: var(--azul); }
.pie-login { color: var(--muted); font-size: .8rem; margin-top: 24px; }

/* sheet (Fresquita), modal, toast */
.hoja { position: fixed; inset: 0; z-index: 900; background: rgba(14, 24, 36, .45); display: flex; align-items: flex-end; justify-content: center; }
.hoja[hidden], .modal[hidden] { display: none; }
.hoja-c { background: var(--card); width: 100%; max-width: 760px; height: 88vh; border-radius: 18px 18px 0 0; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; }
.chat { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 6px 0; }
.msg { background: var(--hielo); border-radius: 14px 14px 14px 4px; padding: 10px 12px; max-width: 92%; }
.msg ul { padding-left: 1.1rem; margin: 6px 0; } .msg p { margin: 4px 0; }
.msg.yo { align-self: flex-end; background: var(--azul); color: #fff; border-radius: 14px 14px 4px 14px; }
.fuentes { font-size: .85rem; } .fuentes a { font-weight: 700; }
.propuesta { border: 2px solid var(--azul); border-radius: 12px; padding: 10px; margin-top: 8px; background: var(--card); }
.sug { display: flex; gap: 6px; overflow-x: auto; padding: 6px 0; } .sug button { white-space: nowrap; flex-shrink: 0; }
.chat-in { display: flex; gap: 6px; align-items: center; } .chat-in .inp { flex: 1; } .subir { display: inline-grid; place-items: center; min-width: 44px; }
.modal { position: fixed; inset: 0; z-index: 950; background: rgba(14, 24, 36, .5); display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal-c { background: var(--card); border-radius: 16px; padding: 18px; width: 100%; max-width: 460px; max-height: 90vh; overflow-y: auto; }
#toast { position: fixed; left: 50%; bottom: 140px; transform: translateX(-50%) translateY(20px); background: var(--marino); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 600; opacity: 0; pointer-events: none; transition: .25s; z-index: 1000; max-width: calc(100% - 32px); }
#toast.on { opacity: 1; transform: translateX(-50%); }
:focus-visible { outline: 3px solid var(--naranja); outline-offset: 2px; }

/* ---------- v2 UX ---------- */
.saludo h1 { margin: 4px 0 0; font-size: 1.45rem; color: var(--marino); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .saludo h1 { color: #e3eefb; } }
.saludo p { margin: 0 0 12px; }
.resumen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.resumen-4 { grid-template-columns: repeat(4, 1fr); }
.res { border-radius: 14px; padding: 10px 8px; text-align: center; display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--borde); background: var(--card); }
.res b { font-size: 1.6rem; line-height: 1.1; }
.res span { font-size: .78rem; font-weight: 700; }
.res-bad { background: var(--bad-bg); color: var(--bad); border-color: transparent; }
.res-warn { background: var(--warn-bg); color: var(--warn); border-color: transparent; }
.res-ok { background: var(--ok-bg); color: var(--ok); border-color: transparent; }
.res-azul { background: var(--hielo); color: var(--azul); border-color: transparent; }
.res-gris { color: var(--muted); }
.depto { border-left-width: 5px; transition: transform .12s; }
.depto:active { transform: scale(.99); }
.depto-bad { border-left-color: var(--bad); } .depto-warn { border-left-color: #e0a100; } .depto-ok { border-left-color: var(--ok); }
.barra-ok span { background: var(--ok); } .barra-warn span { background: #e0a100; } .barra-bad span { background: var(--bad); }
.fila-rep > div:first-child { flex: 1; } .fila-rep .barra { margin-top: 6px; height: 6px; }

/* login */
.login-hero { background: linear-gradient(160deg, var(--hielo), transparent); border-radius: 20px; padding: 20px 12px 6px; margin-bottom: 14px; }
.tour-cta { width: 100%; display: flex; align-items: center; gap: 14px; text-align: left; padding: 16px; border: 0; border-radius: 16px; background: var(--azul); color: #fff; font: inherit; cursor: pointer; box-shadow: 0 8px 22px rgba(13, 71, 161, .3); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tour-cta { background: #1565c0; } }
.tour-cta b { display: block; font-size: 1.1rem; } .tour-cta small { opacity: .9; }
.tour-cta-i { flex: 0 0 44px; height: 44px; border-radius: 50%; background: var(--naranja); display: grid; place-items: center; font-size: 1.1rem; }
.login-o { color: var(--muted); font-size: .9rem; margin: 20px 0 4px; }
.lista-entrar { grid-template-columns: 1fr; }
@media (min-width: 560px) { .lista-entrar { grid-template-columns: 1fr 1fr; } }
.entrar { flex-direction: row; align-items: center; gap: 12px; }
.entrar b { display: block; } .entrar small { color: var(--muted); font-size: .8rem; }
.av { flex: 0 0 42px; height: 42px; border-radius: 50%; background: var(--hielo); display: grid; place-items: center; font-size: 1.25rem; }
.pie-login .chip-demo { vertical-align: middle; }

/* tour */
.pill-tour { position: fixed; left: 14px; bottom: calc(72px + env(safe-area-inset-bottom)); z-index: 610; min-height: 52px; padding: 0 16px; border: 2px solid var(--azul); border-radius: 26px; background: var(--card); color: var(--azul); font: inherit; font-weight: 700; cursor: pointer; box-shadow: var(--sombra); }
.pasos { list-style: none; padding: 0; margin: 8px 0; }
.pasos button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 4px; min-height: 56px; border: 0; border-top: 1px solid var(--borde); background: none; color: var(--texto); font: inherit; text-align: left; cursor: pointer; }
.pasos button > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; font-weight: 600; }
.pasos small { color: var(--muted); font-weight: 400; }
.paso-n { flex: 0 0 32px; height: 32px; border-radius: 50%; background: var(--hielo); color: var(--azul); display: grid; place-items: center; font-weight: 800; }
.pasos .hecho .paso-n { background: var(--ok); color: #fff; }
.pasos .hecho span:nth-child(2) { color: var(--muted); }

/* more menu */
.grid-mas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.mas-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-height: 96px; padding: 14px; border-radius: var(--radio); background: var(--card); border: 1px solid var(--borde); box-shadow: var(--sombra); color: var(--texto); text-decoration: none; font: inherit; font-weight: 700; cursor: pointer; text-align: left; }
.mas-tile span { font-size: 1.6rem; }

/* driver steps */
.pasos-chofer { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0 0 12px; }
.pasos-chofer li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: .8rem; font-weight: 700; color: var(--muted); text-align: center; }
.pasos-chofer span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--hielo); }
.pasos-chofer .ahora { color: var(--azul); } .pasos-chofer .ahora span { background: var(--azul); color: #fff; }
.pasos-chofer .hecho { color: var(--ok); } .pasos-chofer .hecho span { background: var(--ok); color: #fff; }

/* desktop: wider tower */
@media (min-width: 1000px) {
  .main { max-width: 1100px; }
  .grid-deptos { grid-template-columns: repeat(3, 1fr); }
  .tabs { justify-content: center; } .tabs a { flex: 0 0 120px; }
}
