/* Registro de campo del técnico (celular primero): mosaicos, pasos, fotos, firmas y listas. */

/* ── portada ── */
.cmp-hero p.t-hello { margin-top: 6px; }
.cmp-live { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 14px; padding: 12px 14px; border-radius: 14px; border: 0; background: var(--vc-oro); color: #1A1406; font: 600 0.875rem/1.3 var(--vc-font-ui); text-align: left; cursor: pointer; }
.cmp-dot { width: 10px; height: 10px; border-radius: 50%; background: #1A1406; flex: none; animation: cmp-pulse 1.6s ease-in-out infinite; }
@keyframes cmp-pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .cmp-dot { animation: none; } }

.cmp-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cmp-tile { display: grid; justify-items: start; align-content: start; gap: 8px; min-height: 148px; padding: 16px 14px 14px; border-radius: 20px; border: 1px solid var(--vc-linea); background: var(--vc-papel);
  text-align: left; cursor: pointer; transition: transform var(--vc-t1, .12s) ease, border-color .15s; min-width: 0; }
.cmp-tile:hover { border-color: var(--acero-300); }
.cmp-tile:active { transform: scale(.98); }
.cmp-tile-l { font: 700 1rem/1.2 var(--vc-font-display); color: var(--vc-texto); letter-spacing: -.01em; }
.cmp-tile-s { font-size: 0.7813rem; line-height: 1.3; color: var(--vc-texto-3); overflow-wrap: anywhere; }
.cmp-tile-s.on { color: var(--vc-oro-texto); font-weight: 600; }

/* ── encabezado y pasos ── */
.cmp-head { display: flex; align-items: center; gap: 10px; min-width: 0; }
.cmp-head h2 { font-size: 1.25rem; line-height: 1.15; letter-spacing: -.02em; }
.cmp-head .grow { min-width: 0; }
.cmp-head .small { overflow-wrap: anywhere; }
.cmp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.cmp-steps span { height: 5px; border-radius: 99px; background: var(--acero-100); }
.cmp-steps span.on { background: var(--vc-oro); }
.cmp-stepnav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.cmp-stepnav button { display: grid; justify-items: center; gap: 2px; padding: 8px 2px 7px; border-radius: 12px; border: 1px solid var(--vc-linea); background: #fff; font: inherit; color: var(--vc-texto-3); cursor: pointer; min-width: 0; }
.cmp-stepnav button b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 0.8125rem; background: var(--acero-100); color: var(--vc-texto-2); }
.cmp-stepnav button span { font-size: 0.75rem; font-weight: 600; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmp-stepnav button.on { border-color: var(--vc-oro); background: var(--vc-crema, #FFF8E6); color: var(--vc-tinta); }
.cmp-stepnav button.on b { background: var(--vc-oro); color: var(--vc-tinta); }
.cmp-stepnav button.done { color: var(--vc-tinta); }
.cmp-stepnav button.done b { background: var(--vc-ok, #1D7A4B); color: #fff; }
.cmp-stepnav button:disabled { opacity: .55; cursor: default; }
.cmp-restored { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 10px 12px; border-radius: 12px; background: var(--vc-info-bg); color: var(--vc-info); font-size: 0.8438rem; }
.cmp-restored .link-btn { font-weight: 700; }
.cmp-sum .cmp-edit { justify-self: start; font-size: 0.8125rem; font-weight: 700; }
.cmp-sec { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; min-width: 0; }
/* Una sola columna que nunca crece más que la tarjeta (los campos grandes no ensanchan la página). */
.cmp-big, .cmp-doc, .cmp-area, .cmp-sum, .cmp-done, .cmp-exp, .cmp-req, .cmp-line:not(.row) { grid-template-columns: minmax(0, 1fr); }
.cmp > *, .cmp-sec > * { min-width: 0; }
.cmp-sec-h { display: flex; align-items: center; gap: 10px; }
.cmp-sec-h h3 { font-size: 1rem; }
.cmp-n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--vc-carbon); color: var(--vc-oro); font: 700 0.8125rem/1 var(--vc-font-display); flex: none; }
.cmp-sec.done .cmp-n { background: var(--vc-ok); color: #fff; }
.cmp-nav { display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; }
.cmp-nav .btn { min-height: 52px; }
.cmp .field-label, .cmp-sec .field-label { margin-top: 2px; }

/* ── tiendas ── */
.cmp-store-list { display: grid; gap: 6px; }
.cmp-store { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 1px solid var(--vc-linea); border-radius: 14px; background: #fff; text-align: left; cursor: pointer; min-width: 0; }
.cmp-store .grow { display: grid; min-width: 0; }
.cmp-store .grow b, .cmp-store .grow span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmp-store:hover { background: var(--vc-hover); }
.cmp-store-sel { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: var(--vc-sel); border: 1px solid #F3DDB4; min-width: 0; }
.cmp-store-sel .grow { min-width: 0; }

/* ── productos y renglones ── */
.cmp-prods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.cmp-prod { display: grid; gap: 2px; padding: 10px 12px; border-radius: 14px; border: 1.5px solid var(--vc-linea); background: #fff; text-align: left; cursor: pointer; min-width: 0; }
.cmp-prod b { font-size: 0.875rem; overflow-wrap: anywhere; }
.cmp-prod[aria-pressed="true"] { border-color: var(--vc-carbon); background: var(--vc-sel); }
.cmp-row-btn { width: 100%; min-height: 52px; padding: 11px 12px; border: 1px solid var(--vc-linea); border-radius: 12px; background: #fff; text-align: left; cursor: pointer; font-size: 0.875rem; min-width: 0; overflow-wrap: anywhere; }
.cmp-row-btn.row { display: flex; }
.cmp-line { display: grid; gap: 8px; padding: 10px 12px; border-radius: 14px; background: var(--vc-arena); min-width: 0; }
.cmp-line.row { display: flex; flex-wrap: wrap; }
.cmp-line.row > .grow { flex: 1 1 150px; }
.cmp-line b { overflow-wrap: anywhere; min-width: 0; }
/* R56 · El nombre del producto va completo en su renglón; «Hoja de seguridad» y «Quitar» bajan si no caben (ya no parte el nombre). */
.cmp-line > .row:first-child { flex-wrap: wrap; gap: 4px 12px; }
.cmp-line > .row:first-child > b.grow { flex: 1 1 9rem; overflow-wrap: break-word; }
.cmp-dose { flex: 1 1 140px; min-width: 0; min-height: 44px; }
.cmp-step { display: inline-flex; align-items: center; gap: 4px; }
.cmp-step button { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--acero-200); background: #fff; font: 600 1.375rem/1 var(--vc-font-ui); color: var(--vc-texto); cursor: pointer; }
.cmp-step input { width: 64px; height: 44px; text-align: center; border: 1.5px solid var(--acero-200); border-radius: 12px; font: 600 1rem var(--vc-font-ui); }
.cmp-step .small { margin-left: 2px; }

/* ── fotos, video y documentos ── */
.cmp-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cmp-thumbs figure { position: relative; margin: 0; }
.cmp-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; display: block; background: var(--acero-100); }
.cmp-thumbs figcaption { font-size: 0.7188rem; color: var(--vc-texto-2); margin-top: 3px; }
.cmp-x { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(11, 12, 14, .7); color: #fff; display: grid; place-items: center; cursor: pointer; }
.cmp-doc { display: grid; gap: 10px; }
.cmp-doc img { width: 100%; max-height: 220px; object-fit: contain; border-radius: 14px; background: var(--acero-50); border: 1px solid var(--vc-linea); }
.cmp-doc-empty { display: flex; align-items: center; gap: 12px; padding: 14px; border: 2px dashed var(--acero-200); border-radius: 14px; }
.cmp-cam { border-radius: 24px; max-width: 320px; }
.cmp-cam video { transform: scaleX(-1); }
.cmp-scan video, .cmp-cam video.cmp-play { transform: none; }
.cmp-rec { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); background: #B42318; color: #fff; font: 700 0.8125rem/1 var(--vc-font-ui); padding: 6px 10px; border-radius: 99px; }
.cmp-scan-box { position: absolute; inset: 22%; border: 3px solid var(--vc-oro); border-radius: 18px; pointer-events: none; }

/* ── importe grande ── */
.cmp-big { display: grid; gap: 6px; min-width: 0; }
.cmp-big-l { font-weight: 600; font-size: 0.875rem; color: var(--acero-700); }
.cmp-big-in { display: flex; align-items: center; gap: 6px; min-width: 0; padding: 6px 14px; border: 1.5px solid var(--acero-200); border-radius: 16px; background: #fff; }
.cmp-big-in:focus-within { border-color: var(--oro-600); }
.cmp-big-p { font: 700 1.75rem/1 var(--vc-font-display); color: var(--vc-texto-3); }
.cmp-big input { flex: 1; width: 100%; min-width: 0; border: 0; outline: 0; font: 800 2.125rem/1.2 var(--vc-font-display); letter-spacing: -.02em; padding: 6px 0; background: transparent; color: var(--vc-texto); }

/* ── listas de revisión (sí / no) ── */
.cmp-check { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--vc-linea); background: #fff; }
.cmp-check .grow { min-width: 0; flex: 1 1 150px; overflow-wrap: anywhere; }
.cmp-check.ok { border-color: #BFE3CC; background: var(--vc-ok-bg); }
.cmp-check.bad { border-color: #F5C2BC; background: var(--vc-error-bg); }
.cmp-check > .input { flex: 1 1 100%; min-height: 44px; }
.cmp-yn { display: inline-flex; border: 1px solid var(--acero-200); border-radius: 12px; overflow: hidden; flex: none; }
.cmp-yn button { min-width: 64px; min-height: 48px; border: 0; background: #fff; font: 600 0.9375rem var(--vc-font-ui); color: var(--vc-texto-2); cursor: pointer; }
.cmp-yn button + button { border-left: 1px solid var(--acero-200); }
.cmp-yn button[aria-pressed="true"] { background: var(--vc-ok); color: #fff; }
.cmp-yn button.no[aria-pressed="true"] { background: var(--vc-error); color: #fff; }
.cmp-area { display: grid; gap: 10px; padding: 12px; border-radius: 16px; border: 1px solid var(--vc-linea); background: var(--vc-arena); min-width: 0; }
.cmp-area > .row { flex-wrap: wrap; }

/* ── resumen, listo ── */
.cmp-sum { display: grid; gap: 8px; padding: 12px; border-radius: 14px; background: var(--vc-arena); }
.cmp-sum > div { display: grid; gap: 1px; min-width: 0; }
.cmp-sum b { overflow-wrap: anywhere; }
.cmp-done { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 28px 18px; }
.cmp-done h2 { font-size: 1.375rem; }
.cmp-folio { font: 800 1.625rem/1 var(--vc-font-display); letter-spacing: .04em; padding: 10px 16px; border-radius: 14px; background: var(--vc-carbon); color: var(--vc-oro); }

/* ── jornada ── */
.cmp-shift .cmp-timer { font: 800 2.75rem/1 var(--vc-font-display); color: var(--vc-oro); letter-spacing: -.03em; margin-top: 10px; }
.cmp-mini { gap: 10px; padding: 12px 14px; }
.cmp-mini .grow { min-width: 0; }

/* ── gastos, pedidos, camioneta ── */
.cmp-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cmp-kpis > div { display: grid; gap: 4px; padding: 12px 10px; border-radius: 16px; background: var(--vc-papel); border: 1px solid var(--vc-linea); min-width: 0; }
.cmp-kpis span { font-size: 0.7188rem; color: var(--vc-texto-3); line-height: 1.2; }
.cmp-kpis b { font: 800 1rem/1.1 var(--vc-font-display); overflow-wrap: anywhere; }
.cmp-kpis .warn { background: var(--vc-sel); border-color: #F3DDB4; }
.cmp-exp, .cmp-req { display: grid; gap: 8px; }
.cmp-exp .grow { min-width: 0; }
.cmp-amt { font: 800 1.0625rem/1 var(--vc-font-display); white-space: nowrap; }
.cmp-stock { gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--vc-linea-suave); }
.cmp-stock:last-child { border-bottom: 0; }
.cmp-stock .grow { min-width: 0; overflow-wrap: anywhere; }
.cmp-stock.low b { color: var(--vc-error); }
.cmp-move { align-items: flex-start; gap: 10px; }
.cmp-move .grow { min-width: 0; }
.cmp-sign { font: 700 0.875rem/1.4 var(--vc-font-ui); min-width: 54px; text-align: right; }
.cmp-sign.in { color: var(--vc-ok); }
.cmp-sign.out { color: var(--vc-error); }
.cmp-ev-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--vc-ok); margin-top: 6px; flex: none; }
.cmp-ev-dot.bad { background: var(--vc-error); }
.cmp-fiscal { gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--vc-linea-suave); }
.cmp-fiscal .grow { display: grid; min-width: 0; }
.cmp-fiscal b { overflow-wrap: anywhere; }
.cmp-ext-code { font-size: 1.25rem; letter-spacing: .04em; }
.cmp-ext .kv { margin: 0; }

@media (min-width: 720px) {
  .cmp-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cmp-prods { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 360px) {
  .cmp-kpis { grid-template-columns: 1fr; }
  .cmp-tile { min-height: 132px; }
}
.cmp-err { margin: 0; }

/* Mi vehículo */
.veh-m { padding: 14px; display: grid; gap: 12px; }
.veh-m-top { display: flex; gap: 12px; align-items: center; }
.veh-m-top img { width: 92px; height: 72px; object-fit: cover; border-radius: 12px; flex: none; }
.veh-m-title { font: 800 1.125rem/1.2 var(--titulo); display: block; }
.veh-m-km { font: 800 1.5rem/1.1 var(--titulo); margin-top: 4px; }
.veh-m-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.veh-m-facts > div { display: grid; gap: 2px; padding: 10px; border-radius: 12px; background: var(--acero-50); }
.veh-m-facts span { font-size: 0.75rem; color: var(--acero-600); }
.veh-m-facts b { font: 800 1rem/1.2 var(--titulo); }
.veh-m-facts small { font-size: 0.7188rem; color: var(--acero-500); }
.veh-m-policy { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; border: 1px solid var(--acero-100); }
.veh-m-actions { grid-template-columns: 1fr 1fr; }
.veh-m-people { max-height: 260px; overflow-y: auto; }
.veh-m-people .is-on { background: var(--oro-50); }
.veh-m-recv summary { font-weight: 700; cursor: pointer; }
.veh-m .veh-alert, .cmp .veh-alert { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; font-size: 0.8438rem; font-weight: 600; }
.cmp .veh-alert.lv-bad { background: var(--error-50); color: var(--error); }
.cmp .veh-alert.lv-warn { background: var(--aviso-50); color: var(--aviso); }
.cmp .veh-alert.lv-info { background: var(--acero-50); color: var(--acero-700); }
.cmp .veh-plate { display: inline-block; font: 700 0.6875rem/1.2 monospace; padding: 1px 5px; border: 1px solid var(--acero-300); border-radius: 4px; }
.cmp .veh-checkgrid { display: grid; gap: 6px; }

/* Registro rechazado por la oficina (sigue guardado en el teléfono): «Rehacer» o «Descartar» */
.cmp-rejected { align-items: flex-start; }
.cmp-rej-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.cmp-rej-acts .btn { min-height: 44px; }

/* Quién recibió antes en esta tienda: un toque y queda escrito */
.cmp-recv { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.cmp-recv .chip { min-height: 44px; padding: 8px 14px; font-size: 0.9063rem; }

/* El registro libre cierra el servicio programado de esa tienda */
.cmp-linked { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--vc-ok-bg, #E8F5EE); border: 1px solid #BFE3CC; font-size: 0.875rem; min-width: 0; }
.cmp-linked .grow { min-width: 0; overflow-wrap: anywhere; }

/* «Igual que la vez pasada» */
.cmp-same { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 16px; border: 1.5px solid var(--vc-oro); background: var(--vc-sel); text-align: left; cursor: pointer; font: inherit; color: var(--vc-texto); min-width: 0; }
.cmp-same .grow { display: grid; gap: 2px; min-width: 0; }
.cmp-same b { font-size: 0.9688rem; }

/* Certificado ya enviado por correo */
.cmp-sent { padding: 10px 12px; border-radius: 12px; background: var(--vc-ok-bg, #E8F5EE); color: var(--vc-ok, #1D7A4B); font-weight: 700; font-size: 0.875rem; overflow-wrap: anywhere; text-align: center; }

/* Tres botones de foto (antes, después, evidencia) en una fila */
.cmp-photo3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cmp-photo3 .photo-btn, .cmp-photo3 .btn { width: 100%; }
.cmp-photo3 .btn { min-height: 48px; padding: 0 8px; }
.tech .photo-btn .btn-sm { min-height: 44px; }
.cmp-x { width: 34px; height: 34px; }

/* ── ronda 34: foto del ticket primero, fotos guiadas en mosaicos, opciones grandes ── */
.cmp-ticket { display: grid; gap: 10px; min-width: 0; }
.cmp-ticket-cta { display: grid; justify-items: center; gap: 8px; width: 100%; min-height: 176px; padding: 22px 16px; border-radius: 20px; border: 2px dashed var(--vc-oro);
  background: var(--vc-sel); color: var(--vc-tinta); font: inherit; text-align: center; cursor: pointer; }
.cmp-ticket-cta b { font: 800 1.1875rem/1.2 var(--vc-font-display); }
.cmp-ticket-cta .small { color: var(--vc-texto-3); max-width: 300px; }
.cmp-ticket-cta:active { transform: scale(.99); }
.cmp-ticket-ic { width: 68px; height: 68px; border-radius: 20px; display: grid; place-items: center; background: var(--vc-oro); color: var(--vc-tinta); }
.cmp-ticket-img { position: relative; }
.cmp-ticket-img img { display: block; width: 100%; max-height: 260px; object-fit: contain; border-radius: 16px; background: var(--acero-50); border: 1px solid var(--vc-linea); }
.cmp-ticket-read { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 99px;
  background: rgba(20, 21, 25, .85); color: #fff; font-size: 0.8125rem; font-weight: 600; }
.cmp-ticket-read .cmp-dot { background: var(--vc-oro); }

.cmp-ptile { position: relative; min-width: 0; }
.cmp-ptile-b { position: relative; display: grid; justify-items: center; align-content: center; gap: 6px; width: 100%; min-height: 128px; padding: 12px 8px 10px; border-radius: 18px;
  border: 1.5px solid var(--vc-linea); background: #fff; font: inherit; color: var(--vc-texto); cursor: pointer; overflow: hidden; text-align: center; }
.cmp-ptile-b:active { transform: scale(.98); }
.cmp-ptile.req .cmp-ptile-b { border: 2px dashed var(--vc-oro); background: var(--vc-sel); }
.cmp-ptile.has .cmp-ptile-b { padding: 0; border: 2px solid var(--vc-ok); background: var(--acero-50); }
.cmp-ptile.has img { display: block; width: 100%; height: 128px; object-fit: cover; }
.cmp-ptile-art svg { width: 76px; height: 52px; display: block; }
.cmp-ptile-l { display: inline-flex; align-items: center; gap: 6px; font: 700 0.9063rem/1.15 var(--vc-font-ui); }
.cmp-ptile.has .cmp-ptile-l { position: absolute; left: 6px; right: 6px; bottom: 6px; justify-content: center; padding: 6px 8px; border-radius: 10px; background: rgba(20, 21, 25, .82); color: #fff; font-size: 0.8125rem; }
.cmp-ptile-ok { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--vc-ok); color: #fff; flex: none; }
.cmp-ptile-req { font-size: 0.6875rem; font-weight: 800; letter-spacing: .02em; padding: 2px 7px; border-radius: 99px; background: var(--vc-oro); color: var(--vc-tinta); }
.cmp-ptile-h { font-size: 0.75rem; color: var(--vc-texto-3); line-height: 1.2; }
.cmp-ptile-busy { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .8); font-weight: 700; font-size: 0.8125rem; }
.veh-ptiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.veh-ptiles.one { grid-template-columns: minmax(0, 1fr); }
.veh-ptiles.one .cmp-ptile-b { min-height: 116px; grid-template-columns: auto auto; column-gap: 14px; }
.veh-ptiles.one .cmp-ptile.has img { height: 150px; }
.veh-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.veh-two .cmp-big input { font-size: 1.75rem; }
.veh-km-msg { padding: 8px 12px; border-radius: 12px; background: var(--acero-50); font-weight: 600; font-size: 0.875rem; color: var(--vc-texto-2); }
.veh-km-msg.warn { background: var(--vc-aviso-bg); color: var(--vc-aviso); }
.veh-km-msg.bad { background: var(--vc-error-bg); color: var(--vc-error); }
.veh-done { display: grid; gap: 12px; border: 2px solid var(--vc-ok); }
.veh-done-img, .exp-done-img { width: 64px; height: 64px; object-fit: cover; border-radius: 14px; border: 1px solid var(--vc-linea); flex: none; }
.veh-done-t, .exp-done-t { font: 800 1.125rem/1.2 var(--vc-font-display); display: block; }
.veh-done-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.veh-done-stats > div { display: grid; gap: 2px; padding: 10px; border-radius: 12px; background: var(--acero-50); min-width: 0; }
.veh-done-stats span { font-size: 0.75rem; color: var(--vc-texto-3); }
.veh-done-stats b { font: 800 1.0625rem/1.2 var(--vc-font-display); overflow-wrap: anywhere; }

.cmp-choice { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.cmp-choice.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cmp-choice-b { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 10px 12px; border-radius: 14px; border: 1.5px solid var(--vc-linea); background: #fff;
  font: inherit; color: var(--vc-texto); text-align: left; cursor: pointer; min-width: 0; }
.cmp-choice-b > span { display: grid; gap: 1px; min-width: 0; }
.cmp-choice-b b { font-size: 0.9375rem; line-height: 1.2; overflow-wrap: anywhere; }
.cmp-choice-b small { font-size: 0.75rem; color: var(--vc-texto-3); }
.cmp-choice-b svg { flex: none; color: var(--vc-texto-3); }
.cmp-choice-b[aria-pressed="true"] { border: 2px solid var(--vc-carbon); background: var(--vc-sel); }
.cmp-choice-b[aria-pressed="true"] svg { color: var(--vc-tinta); }

/* gastos: mosaicos del tipo, semana, viáticos de la ruta y lista por día */
.exp-ic { display: inline-grid; place-items: center; border-radius: 30%; background: var(--vc-oro); color: var(--vc-tinta); flex: none; }
.exp-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.exp-tile { display: grid; justify-items: center; align-content: start; gap: 6px; min-height: 112px; padding: 12px 6px 10px; border-radius: 18px; border: 1.5px solid var(--vc-linea);
  background: #fff; font: inherit; color: var(--vc-texto); text-align: center; cursor: pointer; min-width: 0; }
.exp-tile:active { transform: scale(.97); }
.exp-tile-l { font: 700 0.875rem/1.15 var(--vc-font-ui); overflow-wrap: anywhere; }
.exp-tile-s { font-size: 0.7188rem; color: var(--vc-texto-3); line-height: 1.15; }
.exp-tile[aria-pressed="true"] { border: 2px solid var(--vc-carbon); background: var(--vc-sel); }
.exp-tile[aria-pressed="true"] .exp-ic { background: var(--vc-carbon); color: var(--vc-oro); }
.exp-thumb { width: 52px; height: 52px; object-fit: cover; border-radius: 12px; border: 1px solid var(--vc-linea); flex: none; background: var(--acero-50); }
.cmp-exp.st-rechazado { border-color: #F5C2BC; }
.cmp-exp.st-por_enviar { border-style: dashed; }
.exp-week { display: grid; gap: 10px; }
.exp-week .grow, .exp-today { display: grid; gap: 2px; min-width: 0; }
.exp-today { text-align: right; }
.exp-week-t { font: 800 1.875rem/1.05 var(--vc-font-display); letter-spacing: -.02em; }
.exp-today b { font: 800 1.125rem/1.1 var(--vc-font-display); }
.exp-bar { display: flex; height: 14px; border-radius: 99px; overflow: hidden; background: var(--acero-100); gap: 2px; }
.exp-bar span { min-width: 6px; }
.exp-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 0.7813rem; color: var(--vc-texto-2); }
.exp-legend span { display: inline-flex; align-items: center; gap: 6px; }
.exp-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.b-por_enviar { background: var(--vc-aviso); }
.b-por_revisar { background: #9AA1AC; }
.b-aprobado { background: var(--vc-ok); }
.b-por_reembolsar { background: var(--vc-info); }
.b-reembolsado { background: #0F5132; }
.b-rechazado { background: var(--vc-error); }
.exp-budget { display: grid; gap: 8px; }
.exp-left { font: 800 1.0625rem/1.15 var(--vc-font-display); color: var(--vc-ok); white-space: nowrap; }
.exp-budget.over .exp-left { color: var(--vc-error); }
.exp-meter { height: 10px; border-radius: 99px; background: var(--acero-100); overflow: hidden; }
.exp-meter span { display: block; height: 100%; border-radius: 99px; background: var(--vc-oro); }
.exp-budget.over .exp-meter span { background: var(--vc-error); }
.exp-day { font: 700 0.8125rem/1 var(--vc-font-ui); letter-spacing: .04em; text-transform: uppercase; color: var(--vc-texto-3); margin-top: 4px; }
.exp-done { display: grid; gap: 12px; border: 2px solid var(--vc-ok); }
.exp-done-a { font: 800 1.25rem/1.2 var(--vc-font-display); }
@media (max-width: 360px) {
  .exp-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cmp-choice.c2, .veh-two { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 720px) { .exp-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } .veh-ptiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* fotos del servicio (fumigación y limpieza): área de la foto y mosaicos de foto */
.cmp-photo-area { display: grid; gap: 6px; }
.cmp-ptiles3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cmp-ptiles3 .cmp-ptile-b { min-height: 104px; }
.cmp-ptiles3 .cmp-ptile-art svg { width: 54px; height: 40px; }
.cmp-ptiles1 { display: grid; grid-template-columns: minmax(0, 1fr); }
.cmp-ptiles1 .cmp-ptile-b { min-height: 96px; }
.cmp-kind-art { width: 52px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--acero-100); color: var(--vc-texto-2); }
.cmp-kind-art.k-antes { background: var(--vc-aviso-bg); color: var(--vc-aviso); }
.cmp-kind-art.k-despues { background: var(--vc-ok-bg); color: var(--vc-ok); }
.cmp-kind-art.k-zona { background: var(--vc-info-bg); color: var(--vc-info); }

/* ── oficina: registro de kilometraje, comparar entregas y fotos de los documentos ── */
.km-filters { display: grid; gap: 8px; }
.km-filters .chips .chip { min-height: 38px; }
.km-tbl td { vertical-align: top; }
.km-tbl .num { text-align: right; white-space: nowrap; }
.km-phs { display: flex; flex-wrap: wrap; gap: 6px; }
.veh-thumb.km-ph { width: 64px; height: 64px; }
.veh-thumb.km-ph span { position: absolute; left: 0; right: 0; bottom: 0; padding: 1px 3px; background: rgba(20, 21, 25, .72); color: #fff; font-size: 0.5938rem; font-weight: 700; line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.km-card { display: grid; gap: 8px; }
.km-cmp summary { cursor: pointer; }
.km-cmp-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 10px 0; }
.km-cmp-pick label { display: grid; gap: 4px; min-width: 0; }
.km-cmp-grid { display: grid; grid-template-columns: 96px repeat(2, minmax(0, 1fr)); gap: 8px; align-items: center; }
.km-cmp-h { display: grid; gap: 1px; min-width: 0; }
.km-cmp-l { font-weight: 700; font-size: 0.8125rem; color: var(--acero-700); }
.km-cmp-ph { padding: 0; border: 1px solid var(--acero-100); border-radius: 10px; overflow: hidden; background: var(--acero-50); cursor: zoom-in; display: block; width: 100%; }
.km-cmp-ph img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.km-cmp-none { aspect-ratio: 4 / 3; border-radius: 10px; border: 1.5px dashed var(--acero-200); display: grid; place-items: center; color: var(--acero-500); font-size: 0.7813rem; }
@media (max-width: 560px) { .km-cmp-grid { grid-template-columns: 64px repeat(2, minmax(0, 1fr)); } .km-cmp-pick { grid-template-columns: minmax(0, 1fr); } }
.svc-fotos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.svc-foto { margin: 0; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.svc-foto > a { display: block; width: 100%; }
.svc-foto .btn { width: 100%; }
.svc-foto img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; border: 1px solid var(--acero-100); background: var(--acero-50); }
.svc-foto figcaption { font-size: 0.7813rem; overflow-wrap: anywhere; }
.svc-foto.is-hidden img { opacity: .35; filter: grayscale(1); }
.veh-ptiles.one .cmp-ptile-b { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; justify-items: start; text-align: left; padding: 12px 16px; column-gap: 14px; row-gap: 2px; }
.veh-ptiles.one .cmp-ptile-art { grid-row: span 2; }
.veh-ptiles.one .cmp-ptile-l { align-self: end; }
.veh-ptiles.one .cmp-ptile-h { align-self: start; }
.veh-ptiles.one .cmp-ptile.has .cmp-ptile-b { display: block; padding: 0; }
.km-cmp-grid { grid-template-columns: 96px repeat(2, minmax(0, 240px)); }
@media (max-width: 560px) { .km-cmp-grid { grid-template-columns: 64px repeat(2, minmax(0, 1fr)); } }
.exp-budget { grid-template-columns: minmax(0, 1fr); }
.exp-left-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.exp-left-row .exp-left { font-size: 1.375rem; white-space: normal; }
.exp-week { grid-template-columns: minmax(0, 1fr); }
.km-list { padding: 0; overflow: hidden; }
.km-item { display: grid; grid-template-columns: 92px minmax(0, 1fr) minmax(0, 300px); gap: 8px 16px; padding: 12px 16px; border-bottom: 1px solid var(--acero-100); align-items: start; }
.km-item:last-child { border-bottom: 0; }
.km-item.warn { background: var(--aviso-50); }
.km-when, .km-what { display: grid; gap: 2px; min-width: 0; }
.km-what b { overflow-wrap: anywhere; }
.km-nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; text-align: right; }
.km-nums > div { display: grid; gap: 1px; min-width: 0; }
.km-nums span { font-size: 0.6563rem; color: var(--acero-500); text-transform: uppercase; letter-spacing: .04em; line-height: 1.15; }
.km-nums b { font-size: 0.875rem; white-space: nowrap; }
.km-item > .km-phs { grid-column: 2 / -1; }
@media (max-width: 760px) {
  .km-item { grid-template-columns: minmax(0, 1fr); }
  .km-when { grid-auto-flow: column; justify-content: start; gap: 8px; align-items: baseline; }
  .km-nums { text-align: left; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .km-item > .km-phs { grid-column: 1; }
}

/* ═════ R39 · Modo campo simple: botones grandes, un tema por pantalla, lo de ahora primero ═════
   Texto en rem (respeta el tamaño de letra que elija la persona). */
.tech { --tech-tabs-h: calc(80px + var(--safe-b)); padding-bottom: calc(var(--tech-tabs-h) + 12px); }
html:has(.tech) { scroll-padding-top: 76px; }
html:has(.flow-nav) { scroll-padding-bottom: calc(190px + var(--safe-b, 0px)); }

/* ── pestañas grandes con ícono y palabra ── */
.tabbar.tech-tabs { padding: 4px 4px calc(6px + var(--safe-b)); }
.tabbar.tech-tabs button { min-height: 68px; gap: 3px; padding: 6px 1px 4px; font-size: .75rem; font-weight: 700; letter-spacing: -.015em; color: var(--acero-600); align-content: center; }
.tabbar.tech-tabs button[aria-current="page"] { color: var(--vc-tinta, #14130F); font-weight: 800; }
.tabbar.tech-tabs .tab-ic { height: 36px; }
.tabbar.tech-tabs .tab-ic > svg:not(.i3d) { width: 26px; height: 26px; }
.tabbar.tech-tabs .tab-l { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.15; }
.tabbar.tech-tabs .tab-badge { min-width: 22px; height: 22px; border-radius: 11px; font-size: .8125rem; }

/* ── «Ahora»: una tarjeta, un botón grande ── */
.now { gap: 10px; padding: 18px 16px 14px; }
.now-top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.now-tag { flex: 1; min-width: 0; display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--oro); }
.now-meta { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.now-time { display: inline-flex; align-items: center; gap: 4px; font-size: .9375rem; font-weight: 700; color: #fff; white-space: nowrap; }
.now .ahora-dist { font-size: .875rem; }
.now-folio { font-size: .875rem; font-weight: 700; color: #C9CED6; white-space: nowrap; }
.now .now-title { font-size: 1.5rem; line-height: 1.2; }
.now .now-sub { font-size: 1rem; color: #D5D9E0; overflow-wrap: anywhere; }
.now-flags { display: flex; flex-wrap: wrap; gap: 6px; }
.now-flag { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: .875rem; font-weight: 700; line-height: 1.25; background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .22); }
.job-card .now-flag { background: var(--acero-50); color: var(--vc-tinta, #14130F); border-color: var(--acero-200); }
.now-flag.is-urgent { background: #B42318; border-color: #B42318; color: #fff; }
.now-flag.is-blocked { background: #FEE4E2; border-color: #FDA29B; color: #7A1D14; }
.now-flag.is-paused { background: #FEF0C7; border-color: #FEC84B; color: #6B4404; }
.now-flag.is-late { background: #FFE7D1; border-color: #FDBA74; color: #7C2D12; }
.now-flag.is-money { background: var(--oro); border-color: var(--oro); color: #14130F; }
.now-track { list-style: none; margin: 2px 0 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 2px; }
.now-track li { position: relative; display: grid; justify-items: center; gap: 4px; text-align: center; font-size: .75rem; font-weight: 600; color: #A3A9B3; min-width: 0; }
.now-track li > span:last-child { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.now-track li::before { content: ''; position: absolute; top: 10px; left: -50%; right: 50%; height: 2px; background: #3A3B42; }
.now-track li:first-child::before { display: none; }
.now-track-dot { position: relative; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #5A5D66; background: #1A1B20; display: grid; place-items: center; font-size: .75rem; color: #fff; }
.now-track li.done::before, .now-track li.on::before { background: #2E9E62; }
.now-track li.done .now-track-dot { background: #2E9E62; border-color: #2E9E62; }
.now-track li.on { color: #fff; font-weight: 800; }
.now-track li.on .now-track-dot { background: var(--oro); border-color: var(--oro); }
.now-hint { font-size: .9375rem; color: #D5D9E0; }
.now .now-go { min-height: 66px; font-size: 1.1875rem; font-weight: 800; border-radius: 16px; margin-top: 2px; white-space: normal; line-height: 1.2; }
.now .now-go svg { width: 24px; height: 24px; }
.now .btn-lg[data-testid="ahora-go"] { min-height: 66px; font-size: 1.1875rem; font-weight: 800; border-radius: 16px; }
.now-acts { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; }
.now-acts .btn { min-height: 56px; padding: 0 10px; font-size: 1rem; font-weight: 700; }
.now-more { justify-self: center; display: inline-flex; align-items: center; gap: 4px; min-height: 48px; padding: 0 12px; border: 0; background: none; font: inherit; font-size: .9375rem; font-weight: 700; color: #E8EAEE; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.next-card.now .btn-lg { min-height: 60px; font-size: 1.0625rem; }

/* ── «Mi día» ── R69 · tarjeta clara y corta debajo de «Ahora» (antes era otro bloque oscuro con «Mis trabajos» repetido) */
.midia { display: grid; gap: 8px; padding: 10px 14px 14px; min-width: 0; }
.midia-top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.midia-date { flex: 1; min-width: 0; font-size: .8125rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--vc-oro-texto, #8A5A00); }
.midia-top .btn-icon { flex: none; width: 44px; min-height: 44px; margin-right: -6px; }
.midia .midia-msg { margin: 0; font-size: 1.0625rem; line-height: 1.4; color: var(--vc-tinta, #14130F); }
.midia .midia-msg b { color: var(--vc-oro-texto, #8A5A00); }
.midia-bar { height: 10px; border-radius: 999px; background: var(--acero-100); overflow: hidden; }
.midia-bar span { display: block; height: 100%; border-radius: inherit; background: var(--vc-oro, var(--oro)); transition: width .4s ease; }
.midia-stats { display: flex; flex-wrap: wrap; gap: 6px; }
.midia-stat { display: inline-flex; align-items: baseline; gap: 4px; padding: 4px 10px; border-radius: 999px; background: var(--acero-50); border: 1px solid var(--acero-100); font-size: .875rem; font-weight: 600; color: var(--acero-700); }
.midia-stat b { font-size: 1rem; font-weight: 800; color: var(--vc-tinta, #14130F); }
.midia-stat.live { background: var(--vc-crema, #FFF8E6); border-color: var(--vc-oro, var(--oro)); }
.midia-stat.warn { background: #FFF4E0; border-color: #F5C451; color: #6B4404; }
@media (prefers-reduced-motion: reduce) { .midia-bar span { transition: none; } }

/* ═════ R69 · tanda 2 · «Mi día» como ruta: las paradas en orden con su número, foto, hora, distancia y estado (ícono + palabra) ═════ */
.ruta { display: grid; gap: 8px; margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--acero-100); min-width: 0; }
.ruta-h { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.ruta-h b { flex: 1; min-width: 0; font: 800 1.0625rem/1.2 var(--titulo); color: var(--vc-tinta, #14130F); }
.ruta-h span { flex: none; font-size: .9375rem; font-weight: 700; color: var(--acero-600); }
.ruta-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; min-width: 0; }
.ruta-stop, .ruta-hechas { position: relative; min-width: 0; }
.ruta-list > li + li::before { content: ''; position: absolute; z-index: 0; left: 20px; top: -10px; height: 18px; width: 2px; background: var(--acero-200); pointer-events: none; }
.ruta-row { display: grid; grid-template-columns: 30px 40px minmax(0, 1fr); align-items: center; gap: 10px; width: 100%; min-height: 64px; padding: 8px 6px;
  border: 1.5px solid transparent; border-radius: 14px; background: none; font: inherit; color: var(--vc-tinta, #14130F); text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
div.ruta-row { cursor: default; }
.ruta-row:active { background: var(--acero-50); }
.ruta-row:focus-visible { outline: 3px solid var(--vc-oro, var(--oro)); outline-offset: 1px; }
.ruta-stop.is-next .ruta-row { border-color: var(--vc-oro, var(--oro)); background: var(--vc-crema, #FFF8E6); }
.ruta-n { position: relative; z-index: 1; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .9375rem; line-height: 1;
  border: 2px solid var(--acero-300); background: #fff; color: var(--vc-tinta, #14130F); }
.ruta-n.is-hecho { background: #E7F6EC; border-color: var(--vc-ok, #1D7A4B); color: #14532D; }
.ruta-n.is-trabajando { background: var(--vc-oro, var(--oro)); border-color: var(--vc-oro, var(--oro)); }
.ruta-n.is-camino { background: #DCE7FD; border-color: #3E6FE0; color: #1E3A8A; }
.ruta-foto { width: 40px; height: 40px; border-radius: 10px; }
.ruta-sin-tienda { color: var(--acero-600); }
.ruta-txt { display: grid; gap: 2px; min-width: 0; }
.ruta-title { font-size: 1rem; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ruta-l2 { display: flex; align-items: center; gap: 8px; min-width: 0; }
.ruta-st { display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px 1px 6px; border-radius: 999px; border: 1px solid var(--acero-200); background: var(--acero-50);
  font-size: .875rem; font-weight: 700; line-height: 1.45; color: var(--acero-700); white-space: nowrap; }
.ruta-st.is-hecho { background: #E7F6EC; border-color: #8FD3A7; color: #14532D; }
.ruta-st.is-trabajando { background: #FFF1C2; border-color: var(--vc-oro, var(--oro)); color: #5C3B00; }
.ruta-st.is-camino { background: #E8EFFD; border-color: #A9C1F5; color: #1E3A8A; }
.ruta-sig { font-weight: 800; color: var(--vc-oro-texto, #8A5A00); }
.ruta-hora { flex: 1; min-width: 0; font-size: .9375rem; font-weight: 700; color: var(--acero-700); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ruta-sub { font-size: .9375rem; color: var(--acero-600); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ruta-stop.is-hecho .ruta-title { color: var(--acero-700); }
.ruta-hechas-b { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 6px; border: 0; border-radius: 12px; background: none;
  font: inherit; font-size: 1rem; font-weight: 700; color: #14532D; text-align: left; cursor: pointer; }
.ruta-hechas-v { font-size: .9375rem; color: var(--acero-600); text-decoration: underline; text-underline-offset: 3px; }
.ruta-mas { justify-self: start; min-height: 48px; padding: 0 6px; border: 0; background: none; font: inherit; font-size: 1rem; font-weight: 700; color: var(--vc-tinta, #14130F);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ruta-acts { display: grid; gap: 8px; }
.ruta-acts .btn { min-height: 54px; font-size: 1.0625rem; font-weight: 800; white-space: normal; line-height: 1.2; }
.ruta-mapa { display: grid; gap: 6px; min-width: 0; }
.tech-page .ruta-mapa .map, .ruta-mapa .map { height: 300px; border-radius: 14px; }
.ruta-mapa.is-cargando { min-height: 120px; display: flex; align-items: center; justify-content: center; gap: 10px; border-radius: 14px; background: var(--acero-50); font-size: 1rem; color: var(--acero-700); }
.ruta-mapa-nota { margin: 0; font-size: .9375rem; color: var(--acero-600); }
/* En el mapa del día el acercamiento es con los dedos: los botones +/− de Leaflet son chicos para el dedo */
.ruta-mapa .leaflet-control-zoom { display: none; }

/* ═════ R69 · tanda 2 · avisos que ayudan en «Ahora»: «Llegaste a…» y «Llevas 3 h en este trabajo» ═════ */
.now-llega { display: grid; gap: 10px; padding: 14px; border-radius: 18px; background: rgba(253, 178, 7, .14); border: 2px solid var(--oro); }
.now-llega-t { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-size: 1.1875rem; line-height: 1.35; color: #fff; }
.now-llega-t b { color: var(--oro); }
.now-llega-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--oro); color: #14130F; }
.now-llega .now-more { justify-self: center; }
.now-largo { display: grid; gap: 10px; padding: 14px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 2px solid #F79009; }
.now-largo-t { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-size: 1.0625rem; line-height: 1.4; color: #fff; }
.now-largo-t svg { flex: none; margin-top: 3px; color: #FDB022; }
.now-largo-acts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.now-largo-acts .btn { min-height: 60px; padding: 0 10px; font-size: 1.0625rem; font-weight: 800; }

/* ═════ R69 · tanda 2 · un solo diseño (servicio, limpieza y extintores como el HAMMY): barra delgada arriba, pasos, la acción a la vista ═════ */
.ts-job.step-mode, .ext-screen.step-mode { gap: 10px; }
.svc-bar .job-bar-back, .svc-bar .ts-back { width: 44px; height: 44px; border-radius: 12px; background: none; color: var(--vc-tinta, #14130F); }
.svc-bar .job-bar-falla { min-height: 44px; }
.svc-bar-mark { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--brand-soft, var(--acero-50)); overflow: hidden; }
.svc-bar-mark .brand-logo { display: block; max-width: 100%; }
.svc-bar .ts-kind { font-size: .875rem; letter-spacing: .02em; color: var(--acero-700); }
.svc-bar.is-open .job-bar-desc { visibility: visible; }
.flow-nav.ts-start { grid-template-columns: minmax(0, 1fr); }
.flow-nav.ts-start > .btn:last-child { order: -1; }
.svc-bar-more { gap: 10px; }
.svc-bar-info { display: grid; gap: 4px; font-size: 1rem; line-height: 1.4; color: var(--acero-700); }
.svc-bar-addr { overflow-wrap: anywhere; }
.svc-bar-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-bar-acts .btn { flex: 1 1 110px; min-height: 48px; padding: 0 10px; }
.svc-bar-more .alert { font-size: 1rem; }
.job-dot.st-agendado, .job-dot.st-en_camino { background: #3E6FE0; }
.job-dot.st-en_proceso { background: var(--vc-oro, var(--oro)); box-shadow: 0 0 0 3px var(--vc-crema, #FFF8E6); animation: pulse 1.6s ease-in-out infinite; }
.job-dot.st-terminado { background: var(--vc-ok, #1D7A4B); }
.job-dot.st-solicitado, .job-dot.st-cancelado { background: var(--acero-300); }
.ext-dot.is-ok { background: var(--vc-ok, #1D7A4B); }
.ext-dot.is-aviso { background: #F79009; }
.ext-dot.is-error { background: #B42318; }
.ext-dot.is-gris { background: var(--acero-300); }
@media (prefers-reduced-motion: reduce) { .job-dot.st-en_proceso { animation: none; } }
.ts-start-hint { margin: 0; padding: 0 4px; font-size: .9375rem; }
.ts-flow { gap: 10px; }
.ts-flow h3 { font-size: 1.1875rem; }
.ts-step-done { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 12px; background: #E7F6EC; color: #14532D; font-size: .9375rem; font-weight: 700; }
.flow-done > .ts-done-acts, .flow-done > .ext-done-acts { justify-self: stretch; text-align: left; gap: 10px; }
.flow-done > .ts-done-acts:empty { display: none; }
.ts-cant-open { justify-self: center; min-height: 48px; padding: 0 8px; font-size: 1rem; font-weight: 700; }
.ts-cant-acts .btn { min-height: 52px; }
.ts-job .chips .chip, .ext-screen .chips .chip, [data-testid="campo-limpieza"] .chips .chip, [data-testid="campo-extintores"] .chips .chip { min-height: 44px; }
/* El botón grande de la foto del paso («Tomar foto de lo que se hizo») y su «?» al lado */
.photo-btn.block > .btn { flex: 1 1 auto; min-width: 0; white-space: normal; line-height: 1.2; }
.ts-flow .photo-btn .btn-lg, .ext-step .photo-btn .btn-lg { min-height: 64px; font-size: 1.125rem; font-weight: 800; border-radius: 16px; }
.cmp-ptile > .fg-ayuda { position: absolute; z-index: 2; top: -8px; right: -8px; border: 0; background: none; font-size: 1rem; }
.cmp-ptile > .fg-ayuda::before { content: ''; position: absolute; z-index: -1; inset: 7px; border-radius: 50%; border: 2px solid var(--acero-300, #B4BAC4); background: var(--papel, #fff);
  box-shadow: 0 2px 6px rgba(11, 12, 14, .18); }
.cmp-area > .row:first-child { flex-wrap: wrap; row-gap: 6px; }
.cmp-area > .row:first-child > b.grow { flex: 1 1 8rem; min-width: 0; overflow-wrap: anywhere; }
.cmp-ticket-wrap { position: relative; }
.cmp-ticket-wrap > .fg-ayuda { position: absolute; top: 10px; right: 10px; }
.cmp-quitar { min-height: 44px; padding: 0 8px; }
/* Extintores: «Todo bien» grande, la lista con «Bien / Mal» de 48 px y «Escanear el siguiente» al guardar */
.ext-flow { gap: 10px; }
.ext-step .chips[data-testid="ext-kind"] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ext-step .chips[data-testid="ext-kind"] .chip { min-width: 0; text-align: center; }
.ext-chk-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 1.0625rem; }
.ext-find .ext-scan-cta { min-height: 150px; }
.ext-code-row { gap: 8px; align-items: flex-end; }
.ext-code-row .btn { min-height: 48px; }
.ext-hist > summary { min-height: 52px; }
.cmp-head .btn-icon { width: 44px; min-height: 44px; flex: none; }

/* ── «Reportar otra falla en esta tienda» compacto, pegado a «Ahora» ── */
.home-rx { margin-top: -6px; }
.home-rx .rx-cta { min-height: 52px; padding: 6px 12px; border-width: 1.5px; border-radius: 14px; gap: 10px; }
.home-rx .rx-cta b { font-size: .9688rem; }
.home-rx .rx-cta-ic { width: 2.25rem; height: 2.25rem; border-radius: 10px; }
.home-rx .rx-cta-ic svg { width: 20px; height: 20px; }

/* ── R69 · «Deja lista tu app»: avisos, huella y práctica en una sola tarjeta, un toque cada uno ── */
.setup-card { display: grid; gap: 4px; padding: 6px 12px 10px; min-width: 0; border: 1.5px solid var(--vc-oro, var(--oro)); }
.setup-h { display: flex; align-items: center; gap: 6px; min-width: 0; }
.setup-h h3 { font-size: 1.0625rem; line-height: 1.25; min-width: 0; }
.setup-n { font-weight: 700; color: var(--vc-oro-texto, #8A5A00); white-space: nowrap; }
.setup-h .btn-icon { flex: none; width: 44px; min-height: 44px; margin-right: -8px; }
.setup-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.setup-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; min-width: 0; padding: 8px 10px; border-radius: 12px; background: var(--acero-50); }
.setup-ic { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--vc-crema, #FFF8E6); color: var(--vc-oro-texto, #8A5A00); }
.setup-t { flex: 1 1 7.5rem; display: grid; gap: 1px; min-width: 0; }
.setup-t b { font-size: .9375rem; line-height: 1.25; }
.setup-t small { font-size: .8125rem; line-height: 1.3; color: var(--acero-600); }
.setup-row > .btn { flex: none; min-height: 44px; padding: 0 14px; margin-left: auto; }
.setup-row.is-done { padding-block: 6px; background: none; }
.setup-row.is-done .setup-ic { background: var(--vc-ok, #1D7A4B); color: #fff; border-radius: 50%; width: 26px; height: 26px; }
.setup-row.is-done b { font-weight: 600; color: var(--acero-600); }
/* La invitación de los avisos (push-ui.js) adentro, con el aspecto de un renglón más. */
.setup-push { padding: 0; background: none; display: block; }
.setup-card .push-nudge { margin: 0; border: 0; border-radius: 12px; background: var(--acero-50); padding: 8px 10px; }
.setup-card .push-nudge strong { font-size: .9375rem; }

/* ── tarjetas de la lista del día, más grandes ── */
.home-tech .group-title { font-size: .875rem; }
.job-card .store-actions .btn { min-height: 52px; font-size: 1rem; font-weight: 700; }
.job-card .jc-store { font-size: 1.0625rem; }
.job-card .desc { font-size: 1rem; }
.ts-later > summary, .ts-past > summary { min-height: 52px; display: flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: 14px; background: var(--papel, #fff); border: 1px solid var(--vc-linea, var(--acero-100)); font-weight: 800; font-size: 1rem; cursor: pointer; }
.ts-later[open] > summary { margin-bottom: 10px; }
.ts-later .ts-later-n { margin-left: auto; font-size: .875rem; color: var(--acero-600); font-weight: 700; }

/* ── pasos cortos: barra de avance, botones de abajo y lo que falta ── */
/* R69 · Barra de pasos compacta: «Paso 2 de 7 · Foto de antes» en un renglón y todos los pasos como círculos en una fila (antes era
   una tarjeta alta con fichas de 4 en 4 que, junto con el encabezado, dejaba la acción del paso hasta abajo). Los círculos miden lo
   mismo con la letra grande para que quepan los 7 en 360 px; el número sí crece. */
.flow-bar { display: grid; gap: 2px; padding: 8px 8px 2px; border-radius: 14px; background: var(--papel, #fff); border: 1px solid var(--vc-linea, var(--acero-100)); min-width: 0; }
.flow-count { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 8px; padding: 0 4px; min-width: 0; }
.flow-count b { font-size: .9375rem; font-weight: 800; color: var(--vc-tinta, #14130F); white-space: nowrap; }
.flow-name { font-size: .9375rem; font-weight: 700; color: var(--acero-700); min-width: 0; overflow-wrap: anywhere; }
.flow-dots { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); align-items: center; min-width: 0; }
.flow-dot { position: relative; display: grid; place-items: center; min-width: 0; min-height: 46px; padding: 0; border: 0; background: none; font: inherit; color: var(--acero-700); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.flow-dot::before { content: ''; position: absolute; z-index: 0; top: 50%; left: -50%; right: 50%; height: 3px; margin-top: -1.5px; background: var(--acero-100); pointer-events: none; }
.flow-dot:first-child::before { display: none; }
.flow-dot.past::before, .flow-dot.on::before { background: var(--vc-ok, #1D7A4B); }
.flow-dot b { position: relative; z-index: 1; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: .875rem; font-weight: 800; line-height: 1;
  background: #fff; border: 2px solid var(--acero-200); color: var(--acero-700); }
.flow-dot.done b { background: var(--vc-ok, #1D7A4B); border-color: var(--vc-ok, #1D7A4B); color: #fff; }
.flow-dot.on b { width: 36px; height: 36px; font-size: 1rem; background: var(--vc-oro, var(--oro)); border-color: var(--vc-oro, var(--oro)); color: var(--vc-tinta, #14130F);
  box-shadow: 0 0 0 4px var(--vc-crema, #FFF8E6); }
span.flow-dot, .flow-dot:disabled { cursor: default; }
.flow-dot:disabled:not(.done) b { opacity: .6; }
.flow-dot:focus-visible { outline: none; }
.flow-dot:focus-visible b { outline: 3px solid var(--vc-oro, var(--oro)); outline-offset: 2px; }
/* Botones de abajo del paso: fijos arriba de las pestañas; al final descansan en su lugar con espacio debajo (no tapan nada). */
.flow-nav { position: sticky; bottom: calc(var(--tech-tabs-h, 80px) + 6px); z-index: 30; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 8px; padding: 8px; margin-bottom: 4px; border-radius: 18px; background: #fff; border: 1.5px solid var(--vc-linea, var(--acero-200)); box-shadow: 0 -10px 24px -18px rgba(11, 12, 14, .45); }
.flow-nav > .btn:only-child { grid-column: 1 / -1; }
.flow-nav .btn { min-width: 0; min-height: 58px; padding: 0 12px; font-size: 1.0625rem; font-weight: 800; white-space: normal; line-height: 1.15; border-radius: 14px; }
/* R69 · El paso ya está listo: «Listo, seguir» resaltado (dorado con aro), dos latidos para que se note. */
.flow-nav .btn.flow-ready { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--vc-oro, var(--oro)); animation: flow-ready 1.1s ease-in-out 2; }
@keyframes flow-ready { 50% { transform: scale(1.03); } }
@media (prefers-reduced-motion: reduce) { .flow-nav .btn.flow-ready { animation: none; } }
.flow-nav.in-wizard { position: static; padding: 0; border: 0; background: none; max-width: 728px; margin: 0 auto; box-shadow: none; }
.wizard-foot .flow-nav .btn { max-width: none; margin: 0; min-height: 60px; font-size: 1.0625rem; }
.close-wizard .wizard-body { gap: 12px; }
.flow-lead { font-size: 1.0625rem; color: var(--acero-700); }
.flow-missing { display: grid; gap: 8px; padding: 14px; border-radius: 16px; background: #FFF8E6; border: 1.5px solid #F5C451; color: #5C3B00; }
.flow-miss-h { display: flex; align-items: center; gap: 8px; font-size: 1.0625rem; }
.flow-missing ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.flow-miss-go, .flow-miss-row { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 50px; padding: 8px 12px; border-radius: 12px; background: #fff; border: 1px solid #F3D58A; font: inherit; font-size: 1rem; font-weight: 600; color: var(--vc-tinta, #14130F); text-align: left; }
.flow-miss-go { cursor: pointer; }
.flow-miss-dot { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid #C98A00; }
.flow-miss-arrow { font-size: 1.5rem; line-height: 1; color: #9A6A00; }
.flow-allset { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 16px; background: #E7F6EC; border: 1.5px solid #8FD3A7; color: #14532D; font-size: 1.0625rem; font-weight: 700; }
.flow-yesno { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.flow-yn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 64px; padding: 8px 10px; border-radius: 16px; border: 2px solid var(--acero-200); background: #fff; font: inherit; font-size: 1.0625rem; font-weight: 800; line-height: 1.2; text-align: center; color: var(--vc-tinta, #14130F); cursor: pointer; }
.flow-yn[aria-pressed="true"].is-si { border-color: var(--vc-ok, #1D7A4B); background: #E7F6EC; color: #14532D; box-shadow: inset 0 0 0 1px var(--vc-ok, #1D7A4B); }
.flow-yn[aria-pressed="true"].is-no { border-color: #B42318; background: #FEF3F2; color: #7A1D14; box-shadow: inset 0 0 0 1px #B42318; }
.flow-yn-x { font-size: 1.125rem; }
.flow-done { display: grid; justify-items: center; gap: 10px; padding: 22px 16px; border-radius: 22px; text-align: center; background: #E7F6EC; border: 2px solid #8FD3A7; }
.flow-done h2 { font-size: 1.625rem; color: #14532D; }
.flow-done p { max-width: 36ch; font-size: 1.0625rem; color: #1F3B2A; }
.flow-done.is-pending { background: #FFF8E6; border-color: #F5C451; }
.flow-done.is-pending h2 { color: #5C3B00; }
.flow-done > section { justify-self: stretch; text-align: left; }
.work-more { display: flex; flex-wrap: wrap; gap: 8px; }
.work-more .btn { flex: 1 1 150px; min-height: 52px; font-weight: 700; }
.work-more .paro-lite { color: #B42318; border-color: #FDA29B; }
.job-detail.is-working .job-head .store-actions .btn { min-height: 48px; }
.tech .check { min-height: 48px; font-size: 1rem; }
.tech .check input[type="checkbox"] { width: 24px; height: 24px; }

/* ── sin señal: aviso tranquilo ── */
.netbar.calm { font-size: .9375rem; line-height: 1.35; }
.netbar.calm b { color: var(--oro); }

/* ── dictado: el micrófono grande junto a cada texto ── */
.tech .dictate .mic { min-height: 48px; padding: 0 16px; border-radius: 14px; border: 2px solid var(--vc-oro, var(--oro)); background: var(--vc-crema, #FFF8E6); color: var(--vc-tinta, #14130F); font-size: 1rem; font-weight: 700; gap: 8px; }
.tech .dictate .mic svg { width: 22px; height: 22px; }
.tech .dictate .mic.on { background: var(--error); border-color: var(--error); color: #fff; }

/* ── Perfil: renglones grandes ── */
.pf-list { display: grid; gap: 8px; }
.pf-list > .group-title { margin: 6px 2px 0; }
.pf-row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 72px; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--vc-linea, var(--acero-100)); background: #fff; font: inherit; text-align: left; color: var(--vc-tinta, #14130F); cursor: pointer; }
.pf-row-t { display: grid; gap: 2px; min-width: 0; }
.pf-row-t b { font-size: 1.0625rem; }
.pf-row-t span { font-size: .875rem; color: var(--acero-600); }
.pf-row > svg:last-child { flex: none; color: var(--acero-500); }
.pf-row.is-gold { border: 2px solid var(--vc-oro, var(--oro)); background: var(--vc-crema, #FFF8E6); }
.pf-row.is-dark { background: var(--vc-negro, #0B0C0E); border-color: var(--vc-negro, #0B0C0E); color: #fff; }
.pf-row.is-dark .pf-row-t span, .pf-row.is-dark > svg:last-child { color: #C9CED6; }
.pf-acts .btn { min-height: 56px; }

/* ── Herramientas: «Las que más usas» con mosaicos grandes ── */
.tbx-top { display: grid; gap: 10px; margin-bottom: 18px; }
.tbx-top-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tbx-top-tile { display: grid; justify-items: center; align-content: center; gap: 8px; min-height: 124px; padding: 14px 8px; border-radius: 20px; border: 1.5px solid var(--vc-linea, var(--acero-200)); background: #fff; font: inherit; font-size: 1.0625rem; font-weight: 800; color: var(--vc-tinta, #14130F); text-align: center; cursor: pointer; }
.tbx-top-tile:active { transform: scale(.97); }
@media (prefers-reduced-motion: reduce) { .tbx-top-tile:active { transform: none; } }

/* ── servicios: botones grandes y mensajes de «¡Listo!» ── */
.ts-start .ts-big { min-height: 60px; font-size: 1.125rem; font-weight: 800; }
.ts-done-msg, .cmp-done-msg { font-size: 1.0625rem; color: var(--acero-700); text-align: center; }
.ts-done h3 { font-size: 1.375rem; }
.tabbar.tech-tabs.five button { font-size: .6875rem; letter-spacing: -.025em; padding-left: 0; padding-right: 0; }

/* ── R42 · «Mensaje original» siempre desplegado (con «Compactar») ── */
.orig-msg { display: grid; gap: 4px; }
.orig-msg-h { display: flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 700; color: var(--acero-600); }
.orig-msg-t { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 6px; font-weight: 700; }
.orig-msg .quote { margin-top: 0; font-size: 1rem; line-height: 1.5; overflow-wrap: anywhere; }
.orig-msg.is-small .quote { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ── R42 · «FIRMAR, SELLAR Y CALIFICAR»: la pantalla para el gerente (letra enorme, botones grandes) ── */
.fsc-cta-card { display: grid; gap: 10px; padding: 16px; border-radius: 18px; border: 2px solid var(--vc-oro, var(--oro)); background: var(--vc-crema, #FFF8E6); }
.fsc-hand { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 1.125rem; font-weight: 700; }
.fsc-cta-card .small { margin: 0; font-size: .9375rem; color: var(--acero-700); }
.fsc-cta { width: 100%; min-height: 76px; padding: 12px 16px; border: 0; border-radius: 16px; background: var(--vc-negro, #0B0C0E); color: #fff; font: inherit; font-family: var(--titulo);
  font-size: 1.375rem; font-weight: 800; letter-spacing: .01em; line-height: 1.15; cursor: pointer; }
.fsc-cta:active { transform: scale(.99); }
.fsc-cta:focus-visible { outline: 4px solid var(--vc-oro, var(--oro)); outline-offset: 3px; }
.fsc-sum { display: grid; gap: 10px; padding: 14px; border-radius: 16px; border: 1.5px solid #8FD3A7; background: #E7F6EC; }
.fsc-sum-h { display: flex; align-items: center; gap: 10px; font-size: 1.0625rem; color: #14532D; }
.fsc-sum-ok { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--vc-ok, #1D7A4B); color: #fff; }
.fsc-sum-h .link-btn { min-height: 44px; padding: 0 8px; font-weight: 700; }
.fsc-sum-l { display: grid; gap: 8px; }
.fsc-sum-lock { display: flex; align-items: flex-start; gap: 6px; margin: 0; font-size: .875rem; line-height: 1.35; color: #14532D; }
.fsc-sum-lock svg { flex: none; margin-top: 2px; }
.fsc-sum-l li { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 1rem; }
.fsc-sum-l li { flex-wrap: wrap; }
.fsc-sum-l li > span:last-child { flex: 1 1 10rem; min-width: 0; overflow-wrap: anywhere; }
.fsc-sum-sig { flex: none; display: grid; place-items: center; width: 72px; height: 48px; border-radius: 8px; background: #fff; overflow: hidden; }
.fsc-sum-sig img { max-width: 100%; max-height: 100%; object-fit: contain; }

.wizard.fsc { z-index: 1550; background: #fff; }
.fsc-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--acero-100); background: #fff; }
.fsc-kicker { font-size: .9375rem; font-weight: 700; color: var(--acero-600); }
.fsc-count { font-family: var(--titulo); font-size: 1.25rem; font-weight: 800; }
.fsc-x { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 12px; border-radius: 12px; border: 1.5px solid var(--acero-200); background: #fff; font: inherit; font-size: .9375rem; font-weight: 700; cursor: pointer; }
.fsc-track { display: grid; grid-auto-flow: column; gap: 6px; padding: 8px 14px 0; background: #fff; }
.fsc-track span { height: 8px; border-radius: 999px; background: var(--acero-100); }
.fsc-track span.on { background: var(--vc-oro, var(--oro)); }
.fsc-body { gap: 18px; padding-bottom: 28px; }
.fsc-title { font-size: 2rem; line-height: 1.1; }
.fsc-lead { margin: 0; font-size: 1.25rem; line-height: 1.4; color: var(--acero-700); }
.fsc-q { display: grid; gap: 10px; margin: 0; padding: 14px; border-radius: 18px; border: 2px solid var(--acero-100); background: #fff; min-width: 0; }
.fsc-q.miss { border-color: var(--error); background: #FEF3F2; }
.fsc-ql { display: flex; align-items: flex-start; gap: 10px; padding: 0; font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
.fsc-n { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--vc-negro, #0B0C0E); color: #fff; font-size: 1rem; }
.fsc-opt { font-size: 1rem; font-weight: 500; color: var(--acero-600); }
.fsc-stars { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 4px; }
.fsc-stars > button { display: grid; place-items: center; width: 56px; height: 56px; padding: 0; border: 0; border-radius: 12px; background: none; color: var(--acero-200); cursor: pointer; }
.fsc-stars > button.on { color: var(--oro); }
.fsc-stars > button.on svg { fill: var(--oro); }
.fsc-stars > button:focus-visible { outline: 3px solid var(--oro-100); }
.fsc-stars .stars button { width: 56px; height: 56px; }
.fsc-stars-l { width: 100%; font-size: 1.125rem; font-weight: 700; color: var(--acero-700); }
.fsc-yn { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fsc-yn-b { min-height: 64px; border-radius: 16px; border: 2px solid var(--acero-200); background: #fff; font: inherit; font-size: 1.375rem; font-weight: 800; cursor: pointer; }
.fsc-yn-b.si[aria-checked="true"] { border-color: var(--vc-ok, #1D7A4B); background: #E7F6EC; color: #14532D; box-shadow: inset 0 0 0 1px var(--vc-ok, #1D7A4B); }
.fsc-yn-b.no[aria-checked="true"] { border-color: var(--error); background: #FEF3F2; color: #7A1D14; box-shadow: inset 0 0 0 1px var(--error); }
.fsc-nps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.fsc-nps button { min-height: 52px; border-radius: 12px; border: 2px solid var(--acero-200); background: #fff; font: inherit; font-size: 1.25rem; font-weight: 800; cursor: pointer; }
.fsc-nps button[aria-checked="true"].lo { border-color: var(--error); background: #FEF3F2; }
.fsc-nps button[aria-checked="true"].mid { border-color: #B45309; background: #FFF8E6; }
.fsc-nps button[aria-checked="true"].hi { border-color: var(--vc-ok, #1D7A4B); background: #E7F6EC; }
.fsc .field-label { font-size: 1.125rem; font-weight: 700; }
.fsc :is(.fsc-input, .fsc-q, .fsc-body > .field) .input { min-height: 60px; font-size: 1.25rem; }
.fsc textarea.input { font-size: 1.125rem; }
.fsc-sig { display: grid; gap: 8px; }
.fsc-stamp { border-radius: 16px; overflow: hidden; background: var(--acero-100); }
.fsc-stamp img { display: block; width: 100%; max-height: 46vh; object-fit: contain; }
.fsc-body .btn-lg { min-height: 64px; font-size: 1.1875rem; }
.fsc-nostamp { min-height: 56px; border-radius: 14px; border: 2px solid var(--acero-200); background: #fff; font: inherit; font-size: 1.125rem; font-weight: 700; cursor: pointer; }
.fsc-nostamp.on { border-color: var(--vc-tinta, #14130F); background: var(--vc-arena, #F4F1EA); }
.fsc-done { display: grid; justify-items: center; gap: 12px; padding: 28px 16px; border-radius: 24px; text-align: center; background: #E7F6EC; border: 2px solid #8FD3A7; }
.fsc-done-ic { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: var(--vc-ok, #1D7A4B); color: #fff; }
.fsc-done h2 { font-size: 2.25rem; color: #14532D; }
.fsc-done p { margin: 0; font-size: 1.25rem; color: #1F3B2A; }
.fsc-done-hand { padding: 12px 16px; border-radius: 14px; background: #fff; }
.fsc-err { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 14px; background: #FEF3F2; border: 2px solid var(--error); color: #7A1D14; font-size: 1.125rem; font-weight: 700; }
.fsc-foot .btn { min-height: 64px; font-size: 1.1875rem; }
@media (prefers-reduced-motion: reduce) { .fsc-cta:active { transform: none; } }
/* R51 · Químicos por dosis y «de noche» en fumigación */
.cmp-dose-sum { padding: 6px 10px; border-radius: 10px; background: var(--acero-100); }
.cmp-night-hint { padding: 6px 10px; border-radius: 10px; background: var(--info-50); color: var(--info); font-weight: 600; }
/* R69 · Fotos guiadas: la guía antes de la foto (dibujo y frase, y su «?») y el aviso «Salió oscura / borrosa» */
.photo-btn.fg-con-ayuda { gap: 8px; align-items: center; }
.photo-btn.with-gal.block.fg-con-ayuda { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px; }
.photo-step .photo-btn.with-gal.block.fg-con-ayuda { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) 44px; }
.fg-ayuda { flex: none; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 2px solid var(--acero-300, #B4BAC4); background: var(--papel, #fff);
  color: var(--grafito, #0B0C0E); font: 800 1.25rem/1 var(--titulo, inherit); cursor: pointer; display: inline-grid; place-items: center; align-self: center; }
.fg-ayuda:active, .fg-ayuda:focus-visible { background: var(--oro-50, #FFF8E3); border-color: var(--oro-600, #E5A000); }
.fg-guia { display: grid; gap: 14px; justify-items: center; text-align: center; }
.fg-svg { display: block; width: 100%; max-width: 360px; height: auto; }
.fg-frase { margin: 0; font-size: 1.25rem; font-weight: 700; line-height: 1.35; color: var(--grafito, #0B0C0E); text-wrap: balance; }
.fg-aviso { display: grid; gap: 12px; }
.fg-aviso-img { position: relative; border-radius: 14px; overflow: hidden; background: #0B0C0E; }
.fg-aviso-img img { display: block; width: 100%; max-height: 36vh; object-fit: contain; }
.fg-aviso-tag { position: absolute; left: 10px; top: 10px; padding: 4px 12px; border-radius: 999px; font-weight: 800; font-size: .9375rem; background: var(--error, #B91C1C); color: #fff; }
.fg-aviso-tag.is-oscura { background: #0B0C0E; color: var(--oro, #FDB207); box-shadow: inset 0 0 0 1.5px var(--oro, #FDB207); }
.fg-consejo { margin: 0; font-size: 1.125rem; line-height: 1.4; }
/* En la cámara con marco: el «?» arriba a la derecha (sin mover el marco) y la guía encima de la imagen, sin tapar el botón de la foto */
.fcam-top.fg-con-ayuda { padding-left: 58px; padding-right: 58px; }
.fg-fcam-ayuda { position: absolute; right: 12px; top: calc(12px + env(safe-area-inset-top)); width: 44px; height: 44px; padding: 0; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .7); background: rgba(11, 12, 14, .45); color: #fff; font: 800 1.25rem/1 var(--titulo, inherit); cursor: pointer; }
.fg-fcam-ayuda[aria-pressed="true"] { background: var(--oro, #FDB207); border-color: var(--oro, #FDB207); color: #0B0C0E; }
.fg-fcam { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(86vw, 380px); max-height: calc(100% - 300px); overflow: auto;
  display: grid; gap: 10px; justify-items: center; text-align: center; padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, .96); color: var(--grafito, #0B0C0E);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.fg-fcam .fg-svg { max-height: 140px; }
.fg-fcam p { margin: 0; font-size: 1.125rem; font-weight: 700; line-height: 1.35; }
.fg-fcam-err { display: grid; gap: 8px; justify-items: center; width: 100%; }
.fg-fcam-err span { font-size: 1rem; font-weight: 600; }
@media (max-height: 540px) { .fg-fcam .fg-svg, .fg-fcam-err .fg-svg { display: none; } .fg-fcam { max-height: calc(100% - 150px); } }

/* R69 · «Registro»: la frase de cada mosaico de 14 px o más (en Android de gama media se leía chica: 12.5 px). Solo esta regla; el resto
   de esta hoja lo trabaja otro equipo. */
.cmp-tiles .cmp-tile-s { font-size: max(14px, 0.875rem); line-height: 1.3; }

/* R71 · «Material usado» en el paso 4 («Después»): «No usé material» como renglón grande, el aviso de lo que falta para terminar, la
   descripción operativa en la búsqueda («También: READY MIX») y «Dar de alta … al catálogo» (supervisión y Dirección) con su pantalla
   completa encima del trabajo y del cierre. */
.mat-card .combo-t { display: grid; gap: 2px; min-width: 0; }
.mat-card .combo-t > span { overflow-wrap: anywhere; }
.mat-card .combo-op { font-size: max(13px, 0.8125rem); color: var(--acero-600); font-weight: 600; overflow-wrap: anywhere; }
.mat-none { align-items: center; min-height: 56px; background: var(--papel, #fff); }
.mat-none input { width: 24px; height: 24px; accent-color: var(--ok, #15803D); }
.mat-none b { display: block; font-size: 1.0625rem; }
.mat-none small { font-size: max(14px, 0.875rem); }
.mat-none.is-on { background: var(--ok-50, #E3F5E9); border-color: var(--ok, #15803D); }
.mat-none.is-off { opacity: .7; cursor: not-allowed; }
.mat-falta { margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--oro-50, #FFF8E3); border: 1px solid var(--oro, #FDB207); font-weight: 700; font-size: 1rem; }
.mat-alta, .svc-alta { display: grid; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--oro-50, #FFF8E3); }
.mat-alta .btn, .svc-alta .btn { min-height: 48px; white-space: normal; }
.svc-alta { background: var(--acero-50, #F4F2EE); }
.wizard.alta-cat { z-index: 1560; }
.alta-cat .wizard-head h2 { font-size: 1.0625rem; line-height: 1.25; min-width: 0; }
.alta-cat .wizard-body { padding-bottom: calc(24px + var(--safe-b, 0px)); }
/* R77 · Foto de después con su foto de antes: «Igual que antes» (se puede encimar en el portal) u «Otro ángulo». */
.thumb .pair-tag, .cmp-thumbs .pair-tag { position: absolute; left: 4px; top: 4px; z-index: 1; padding: 2px 8px; border-radius: 999px; font-size: .75rem; font-weight: 800;
  background: #F5B800; color: #15171B; pointer-events: none; }
.thumb .pair-tag.ok, .cmp-thumbs .pair-tag.ok { background: #12A150; color: #fff; }

/* R79 · «Galería» debajo de cada mosaico de foto (limpieza, fumigación…): botón de 44 px, a lo ancho del mosaico. */
.cmp-ptile-gal { margin-top: 6px; width: 100%; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 6px 8px;
  border-radius: 12px; border: 1.5px solid var(--acero-300, #B4BAC4); background: var(--papel, #fff); color: var(--vc-tinta, #15171B); font: 700 0.9375rem/1.1 var(--vc-font-ui, inherit); cursor: pointer; }
.cmp-ptile-gal:disabled { opacity: .55; }
.cmp-ptile-gal svg { flex: none; }
/* Mosaicos del mismo renglón con el mismo alto: los «Galería» quedan alineados aunque una etiqueta ocupe dos renglones. */
.cmp-ptile:has(> .cmp-ptile-gal) { display: flex; flex-direction: column; }
.cmp-ptile:has(> .cmp-ptile-gal) > .cmp-ptile-b { flex: 1 1 auto; }
