/* components.css · piezas de la interfaz */

/* ---------- Arranque e ingreso ---------- */
.boot, .ingreso {
  position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 22px;
  color: #fff;
  background:
    radial-gradient(60% 40% at 50% 100%, rgba(255,182,39,.55), transparent 70%),
    radial-gradient(80% 50% at 50% 100%, rgba(242,92,128,.45), transparent 75%),
    linear-gradient(180deg, var(--noche-2) 0%, var(--noche) 60%, #2A3F6B 100%);
}
.boot .msg { font-family: var(--f-titulo); font-weight: 700; font-size: 1.2rem; text-align: center; }
.ingreso .caja { width: 100%; max-width: 420px; }
.ingreso .sol { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(180deg, var(--mango), var(--flamenco)); margin-bottom: 20px; box-shadow: 0 0 0 10px rgba(255,182,39,.12), 0 0 60px rgba(255,182,39,.5); }
.ingreso h1 { color: #fff; font-size: 2.6rem; }
.ingreso .lema { color: var(--mango); margin: 8px 0 18px; font-weight: 600; }
.ingreso .verso { font-size: .9rem; color: rgba(255,255,255,.78); margin-bottom: 26px; }
.ingreso .quien { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.ingreso .quien button { background: rgba(255,255,255,.08); border: 2px solid rgba(255,255,255,.16); color: #fff; border-radius: var(--r-medio); padding: 14px; text-align: left; min-height: 66px; }
.ingreso .quien button b { display: block; font-size: 1.08rem; }
.ingreso .quien button small { color: rgba(255,255,255,.7); }
.ingreso .quien button.sel { background: #fff; color: var(--noche); border-color: var(--mango); }
.ingreso .quien button.sel small { color: var(--tinta-2); }
.ingreso label { display: block; font-size: .9rem; margin-bottom: 6px; color: rgba(255,255,255,.85); }
.ingreso input { width: 100%; padding: 15px; border-radius: var(--r-medio); border: 0; font-size: 1.15rem; color: var(--tinta); }
.ingreso .entrar { width: 100%; margin-top: 14px; min-height: 52px; font-size: 1.05rem; }
.ingreso .error { color: #FFD5DE; min-height: 1.4em; margin-top: 10px; font-size: .92rem; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; border-radius: 999px; border: 0;
  background: var(--mar); color: #fff; font-weight: 700; text-decoration: none; transition: transform .12s, filter .15s; }
.btn:active { transform: scale(.97); }
.btn:hover { filter: brightness(1.06); }
.btn.sec { background: #fff; color: var(--noche); border: 1.5px solid var(--linea); }
.btn.peligro { background: #fff; color: var(--rojo); border: 1.5px solid #F2C9C9; }
.btn.mango { background: var(--mango); color: var(--noche-2); }
.btn.chico { min-height: 38px; padding: 6px 14px; font-size: .9rem; }
.btn[disabled] { opacity: .55; cursor: default; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 12px; border-radius: 999px; border: 1.5px solid var(--linea);
  background: #fff; color: var(--noche); font-weight: 700; font-size: .86rem; text-decoration: none; white-space: nowrap; }
.chip.mar { background: var(--mar-s); border-color: transparent; color: var(--mar-2); }
.chip.mango { background: var(--mango-s); border-color: transparent; color: #8A5A00; }
.ico-btn { width: 40px; height: 40px; border-radius: 12px; border: 1.5px solid var(--linea); background: #fff; color: var(--noche); display: inline-flex; align-items: center; justify-content: center; font-size: 1.05rem; flex: 0 0 auto; }
.ico-btn.suave { border-color: transparent; background: transparent; color: var(--tinta-2); font-size: 1.3rem; }
.ico-btn[disabled] { opacity: .35; }

/* Botón flotante para agregar: siempre a la mano del pulgar */
.fab { position: fixed; right: 18px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 50;
  display: inline-flex; align-items: center; gap: 8px; height: 58px; padding: 0 22px 0 18px; border-radius: 999px; border: 0;
  background: var(--mango); color: var(--noche-2); font-weight: 800; font-size: 1rem; box-shadow: var(--sombra-alta); }
.fab span { font-size: 1.6rem; line-height: 1; margin-top: -2px; }

/* ---------- Inicio: pase de abordar ---------- */
.portada { position: relative; border-radius: var(--r-grande); overflow: hidden; min-height: 260px; color: #fff; margin-bottom: 16px; background: var(--noche); }
.portada .foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portada::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,28,54,.15) 0%, rgba(11,28,54,.25) 40%, rgba(11,28,54,.85) 100%); }
.portada .txt { position: relative; z-index: 1; padding: 26px 24px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 260px; }
.portada h1 { color: #fff; font-size: 2.4rem; }
.portada .lema { color: var(--mango); font-weight: 700; margin-top: 4px; }
.portada .credito { position: absolute; right: 10px; top: 8px; z-index: 1; font-size: .68rem; color: rgba(255,255,255,.75); }

.pase { display: grid; grid-template-columns: 1fr 180px; background: #fff; border-radius: var(--r-grande); box-shadow: var(--sombra); margin-bottom: 18px; overflow: hidden; position: relative; }
.pase .izq { padding: 18px 20px; }
.pase .der { padding: 18px 22px; border-left: 2px dashed var(--linea); display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--mango-s); }
.pase .der .num { font-family: var(--f-titulo); font-weight: 800; font-size: 2.6rem; color: var(--noche); line-height: 1; }
.pase .der small { color: #8A5A00; font-weight: 700; text-align: center; }
.pase::before, .pase::after { content: ''; position: absolute; right: 169px; width: 22px; height: 22px; border-radius: 50%; background: var(--fondo); }
.pase::before { top: -11px; } .pase::after { bottom: -11px; }
.ruta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ruta .cod { font-family: var(--f-titulo); font-weight: 800; font-size: 1.5rem; color: var(--noche); }
.ruta .linea-ruta { flex: 1; min-width: 30px; border-top: 2px dotted var(--linea); position: relative; }
.paradas { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.pase .etq { font-size: .78rem; color: var(--tinta-2); font-weight: 700; }


.avances { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 24px; }
.avance { background: #fff; border-radius: var(--r-medio); padding: 14px 16px; box-shadow: var(--sombra); text-decoration: none; color: inherit; }
.avance .n { font-family: var(--f-titulo); font-weight: 800; font-size: 1.8rem; color: var(--noche); }
.avance .barra { height: 8px; border-radius: 8px; background: var(--mar-s); margin-top: 8px; overflow: hidden; }
.avance .barra span { display: block; height: 100%; background: linear-gradient(90deg, var(--mar), var(--palma)); border-radius: 8px; }
@media (max-width: 520px) { .avances { grid-template-columns: 1fr 1fr 1fr; gap: 8px; } .avance { padding: 12px; } .avance .n { font-size: 1.35rem; } .avance .muted { font-size: .78rem; } }
.seccion-titulo { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 6px 0 12px; }

/* ---------- Días ---------- */
.dias-nav { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 12px; margin: 0 -2px 4px; scrollbar-width: none; }
.dias-nav::-webkit-scrollbar { display: none; }
.dia-pill { flex: 0 0 auto; border: 0; background: #fff; border-radius: 18px; padding: 9px 14px; text-align: center; min-width: 68px; box-shadow: var(--sombra); }
.dia-pill .dsem { font-size: .76rem; color: var(--tinta-2); font-weight: 700; }
.dia-pill .dnum { font-family: var(--f-titulo); font-weight: 800; font-size: 1.45rem; color: var(--noche); line-height: 1.05; }
.dia-pill.sel { background: var(--noche); }
.dia-pill.sel .dsem { color: var(--mango); }
.dia-pill.sel .dnum { color: #fff; }
.dia-pill .listo { font-size: .68rem; color: var(--palma); font-weight: 800; }
.dia-pill.nuevo { background: transparent; box-shadow: none; border: 2px dashed var(--linea); }

/* Portada del día: foto grande estilo revista */
.dia-portada { position: relative; border-radius: var(--r-grande); overflow: hidden; min-height: 190px; margin-bottom: 18px; background: linear-gradient(135deg, var(--noche), var(--mar)); color: #fff; }
.dia-portada img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dia-portada::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,28,54,0) 20%, rgba(11,28,54,.85) 100%); }
.dia-portada .txt { position: relative; z-index: 1; padding: 18px 20px; min-height: 190px; display: flex; flex-direction: column; justify-content: flex-end; }
.dia-portada .fecha { align-self: flex-start; background: var(--mango); color: var(--noche-2); border-radius: 999px; padding: 3px 12px; font-size: .82rem; font-weight: 800; margin-bottom: 8px; }
.dia-portada h1 { color: #fff; font-size: 1.9rem; }
.dia-portada .prog { margin-top: 6px; font-size: .9rem; opacity: .9; }
.dia-portada .ico-btn { position: absolute; top: 12px; right: 12px; z-index: 2; background: rgba(255,255,255,.92); border: 0; }

/* ---------- Línea de tiempo ---------- */
.linea { margin: 0; padding: 0; list-style: none; position: relative; }
.act { display: grid; grid-template-columns: 62px 1fr; gap: 10px; position: relative; padding-bottom: 12px; }
.act .hora { font-family: var(--f-titulo); font-weight: 800; color: var(--noche); font-size: .98rem; text-align: right; padding-top: 14px; line-height: 1.05; }
.act .hora small { display: block; font-family: var(--f-texto); font-weight: 600; font-size: .72rem; color: var(--tinta-2); margin-top: 3px; }

.tarjeta { background: #fff; border-radius: var(--r-medio); box-shadow: var(--sombra); overflow: hidden; position: relative; }
.tarjeta::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--mar); }
.tarjeta.t-comida::before { background: var(--mango); }
.tarjeta.t-descanso::before { background: #A9B8D0; }
.tarjeta.t-vuelo::before { background: var(--flamenco); }
.tarjeta.t-traslado { background: transparent; box-shadow: none; border: 1.5px dashed var(--linea); }
.tarjeta.t-traslado::before { display: none; }
.tarjeta.cumplida { background: #F6FBF9; }
.tarjeta.cumplida .tit { text-decoration: line-through; text-decoration-color: rgba(14,154,167,.6); color: var(--tinta-2); }
.tarjeta.cambiada, .fila.cambiada { animation: brillo 1.6s ease; }
@keyframes brillo { 0%, 40% { background: var(--mango-s); } 100% { } }

.tarjeta .cuerpo { display: flex; gap: 12px; align-items: center; padding: 12px 8px 12px 14px; }
.tarjeta .mini { width: 58px; height: 58px; border-radius: 14px; object-fit: cover; flex: 0 0 auto; background: var(--mar-s); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.tarjeta .info { flex: 1; min-width: 0; cursor: pointer; }
.tarjeta .tit { font-weight: 800; font-size: 1.02rem; line-height: 1.25; }
.tarjeta .meta { font-size: .84rem; color: var(--tinta-2); display: flex; flex-wrap: wrap; gap: 2px 10px; margin-top: 3px; }
.tarjeta .quien { font-size: .8rem; color: var(--palma); font-weight: 800; margin-top: 3px; }
.tarjeta .acciones-rapidas { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 12px 12px 84px; }
.tarjeta.t-traslado .cuerpo { padding: 8px 8px 8px 12px; }
.tarjeta.t-traslado .tit { font-weight: 700; font-size: .94rem; }
.tarjeta.t-traslado .acciones-rapidas { padding-left: 64px; }
.chip-fija { display: inline-block; background: var(--flamenco-s); color: #B8274E; border-radius: 999px; padding: 0 8px; font-size: .74rem; font-weight: 800; }
.aviso-cruce { background: #FDECEC; color: var(--rojo); font-size: .84rem; padding: 7px 14px; font-weight: 700; }
.aviso-libre { font-size: .8rem; color: var(--tinta-2); padding: 0 0 10px 72px; }
.traslado-sig { font-size: .8rem; color: var(--tinta-2); padding: 0 0 10px 72px; }

.check { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; border: 2.5px solid var(--mar); background: #fff; color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem; font-weight: 900; transition: transform .15s, background .2s; }
.check:active { transform: scale(.88); }
.check.si { background: var(--mar); }

/* Panel desplegado: galería + mapa */
.panel { border-top: 1px solid var(--linea); }
.galeria { display: flex; gap: 8px; overflow-x: auto; padding: 12px 14px; scroll-padding: 0 14px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.galeria::-webkit-scrollbar { display: none; }
.galeria figure { margin: 0; flex: 0 0 82%; max-width: 420px; scroll-snap-align: start; position: relative; }
.galeria img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; background: var(--mar-s); cursor: zoom-in; }
.galeria figcaption { font-size: .72rem; color: var(--tinta-2); margin-top: 4px; }
.galeria .agregar { flex: 0 0 140px; aspect-ratio: 4 / 3; border-radius: 14px; border: 2px dashed var(--linea); background: #fff; color: var(--mar-2); font-weight: 800;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.galeria .agregar span { font-size: 1.6rem; }
.panel iframe { width: calc(100% - 24px); margin: 0 12px; aspect-ratio: 16 / 9; border: 0; border-radius: 14px; display: block; background: var(--mar-s); }
.panel .pie-panel { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px; align-items: center; }
.panel .det { padding: 12px 14px 0; font-size: .94rem; }
.panel .lugar-nom { font-size: .85rem; color: var(--tinta-2); flex: 1 1 100%; }

/* ---------- Listas ---------- */
.filtro { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 14px; padding-bottom: 2px; scrollbar-width: none; }
.filtro::-webkit-scrollbar { display: none; }
.filtro button { flex: 0 0 auto; border: 0; background: #fff; border-radius: 999px; padding: 7px 15px; min-height: 40px; font-weight: 700; color: var(--noche); box-shadow: var(--sombra); }
.filtro button.sel { background: var(--noche); color: #fff; }
.bloque { background: #fff; border-radius: var(--r-medio); box-shadow: var(--sombra); margin-bottom: 16px; overflow: hidden; }
.bloque .cab { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px 10px; }
.bloque .cab .cnt { font-size: .82rem; color: var(--mar-2); font-weight: 800; background: var(--mar-s); border-radius: 999px; padding: 2px 10px; }
.fila { display: flex; align-items: center; gap: 12px; padding: 8px 6px 8px 16px; border-top: 1px solid #EEF2F6; min-height: 58px; }
.fila .txt { flex: 1; min-width: 0; }
.fila .txt small { display: block; color: var(--palma); font-weight: 800; font-size: .78rem; }
.fila.cumplida .txt span { text-decoration: line-through; color: var(--tinta-2); }
.agregar-rapido { display: flex; gap: 8px; padding: 10px 12px 12px 16px; border-top: 1px solid #EEF2F6; }
.agregar-rapido input { flex: 1; min-width: 0; border: 1.5px dashed var(--linea); border-radius: 12px; padding: 10px 12px; background: var(--fondo); font-size: .98rem; }
.agregar-rapido input:focus { border-style: solid; border-color: var(--mar); background: #fff; outline: none; }
.nota { padding: 12px 10px 12px 16px; border-top: 1px solid #EEF2F6; display: flex; gap: 10px; align-items: flex-start; }
.nota .txt { flex: 1; }
.nota::before { content: ''; flex: 0 0 8px; height: 8px; border-radius: 50%; background: var(--mango); margin-top: 8px; }

/* ---------- Editor ---------- */
.pestanas { display: flex; gap: 6px; background: #fff; border-radius: 999px; padding: 5px; box-shadow: var(--sombra); margin-bottom: 18px; overflow-x: auto; scrollbar-width: none; }
.pestanas button { flex: 1 0 auto; border: 0; background: none; border-radius: 999px; padding: 8px 14px; font-weight: 700; color: var(--noche); min-height: 40px; }
.pestanas button.sel { background: var(--noche); color: #fff; }
.ed-fila { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-top: 1px solid #EEF2F6; }
.ed-fila .txt { flex: 1; min-width: 0; }
.ed-fila .txt .h { font-family: var(--f-titulo); font-weight: 800; color: var(--mar-2); font-size: .86rem; }
.ed-fila .botones { display: flex; gap: 5px; flex: 0 0 auto; }
.agregar-aqui { display: block; width: 100%; border: 1.5px dashed var(--linea); background: transparent; color: var(--mar-2); font-weight: 800; padding: 6px; border-radius: 10px; margin: 4px 0; }
.barra-acciones { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 14px; }
@media (max-width: 520px) { .ed-fila .ico-btn { width: 36px; height: 36px; } .agregar-aqui { font-size: .85rem; padding: 4px; } }

/* ---------- Hojas, formularios, visor ---------- */
.modal-fondo { position: fixed; inset: 0; background: rgba(11,28,54,.5); z-index: 80; display: flex; align-items: flex-end; justify-content: center; }
.modal { background: #fff; width: 100%; max-width: 560px; max-height: 92vh; max-height: 92dvh; overflow-y: auto; border-radius: 26px 26px 0 0;
  padding: 10px 18px calc(20px + env(safe-area-inset-bottom, 0px)); animation: sube .22s ease; }
.modal::before { content: ''; display: block; width: 44px; height: 5px; border-radius: 5px; background: var(--linea); margin: 0 auto 14px; }
@media (min-width: 700px) { .modal-fondo { align-items: center; } .modal { border-radius: 26px; } .modal::before { display: none; } .modal { padding-top: 22px; } }
@keyframes sube { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal h2 { margin-bottom: 14px; }
.hoja-opciones { display: flex; flex-direction: column; gap: 8px; }
.hoja-opciones button { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; border: 0; background: var(--fondo); border-radius: 14px; padding: 14px 16px; font-weight: 700; font-size: 1rem; min-height: 54px; }
.hoja-opciones button span { font-size: 1.25rem; width: 26px; text-align: center; }
.hoja-opciones button.peligro { color: var(--rojo); }
.hoja-opciones button[disabled] { opacity: .4; }
.campo { margin-bottom: 14px; }
.campo label, .campo .lbl { display: block; font-weight: 800; font-size: .9rem; margin-bottom: 6px; color: var(--noche); }
.campo .ayuda { font-size: .8rem; color: var(--tinta-2); margin-top: 4px; }
.campo input, .campo select, .campo textarea { width: 100%; padding: 12px; border: 1.5px solid var(--linea); border-radius: 12px; background: #fff; font-size: 1rem; }
.campo input:focus, .campo select:focus, .campo textarea:focus { border-color: var(--mar); outline: none; }
.campo textarea { min-height: 70px; resize: vertical; }
.opciones-chip { display: flex; flex-wrap: wrap; gap: 8px; }
.opciones-chip button { border: 1.5px solid var(--linea); background: #fff; border-radius: 999px; padding: 7px 14px; font-weight: 700; min-height: 40px; color: var(--noche); }
.opciones-chip button.sel { background: var(--noche); border-color: var(--noche); color: #fff; }
.dos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
details.mas { border: 1.5px solid var(--linea); border-radius: 14px; padding: 4px 14px; margin-bottom: 14px; }
details.mas summary { font-weight: 800; color: var(--mar-2); padding: 10px 0; cursor: pointer; list-style: none; }
details.mas summary::-webkit-details-marker { display: none; }
details.mas[open] summary { margin-bottom: 6px; }
.modal .pie-modal { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 8px; position: sticky; bottom: 0; background: #fff; padding-top: 10px; }
.foto-previa { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 14px; background: var(--mar-s); margin-bottom: 8px; }

.visor { position: fixed; inset: 0; z-index: 110; background: rgba(5,12,24,.94); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; }
.visor img { max-height: 80vh; max-width: 100%; border-radius: 12px; }
.visor .pie-visor { color: rgba(255,255,255,.8); font-size: .85rem; margin-top: 12px; text-align: center; }
.visor .cerrar { position: absolute; top: calc(14px + env(safe-area-inset-top, 0px)); right: 14px; }
.visor .quitar-foto { margin-top: 14px; }

/* ---------- Familia y vacíos ---------- */
.persona { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-top: 1px solid #EEF2F6; }
.persona .av { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--mango), var(--flamenco)); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--f-titulo); font-weight: 800; font-size: 1.2rem; position: relative; }
.persona .av.en-linea::after { content: ''; position: absolute; right: 0; bottom: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--palma); border: 2px solid #fff; }
.vacio { text-align: center; padding: 34px 20px; background: #fff; border-radius: var(--r-medio); box-shadow: var(--sombra); }
.vacio .grande { font-size: 2.4rem; margin-bottom: 6px; }
.vacio p { color: var(--tinta-2); }

/* ---------- Avisos ---------- */
.toasts { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(90px + env(safe-area-inset-bottom, 0px)); z-index: 120; display: flex; flex-direction: column; gap: 8px; width: min(92vw, 440px); }
.toast { background: var(--noche-2); color: #fff; padding: 12px 14px 12px 16px; border-radius: 16px; box-shadow: var(--sombra-alta); font-size: .94rem; animation: sube .2s ease; display: flex; align-items: center; gap: 12px; }
.toast .t { flex: 1; }
.toast button { background: var(--mango); color: var(--noche-2); border: 0; border-radius: 999px; padding: 6px 14px; font-weight: 800; }
.toast.ok { background: #116B5A; }
.toast.error { background: var(--rojo); }
.toast.warn { background: #8A5A00; }

/* ---------- Celular: la hora pasa arriba de la tarjeta para ganar ancho ---------- */
@media (max-width: 600px) {
  .act { grid-template-columns: 1fr; gap: 4px; padding-bottom: 14px; }
  .act .hora { text-align: left; padding: 0 0 0 4px; display: flex; align-items: baseline; gap: 6px; font-size: .95rem; }
  .act .hora small { display: inline; margin: 0; }
  .act .hora small::before { content: '– '; }
  .aviso-libre, .traslado-sig { padding-left: 4px; }
  .tarjeta .cuerpo { gap: 10px; padding: 10px 6px 10px 12px; }
  .tarjeta .mini { width: 50px; height: 50px; border-radius: 12px; font-size: 1.3rem; }
  .check { width: 38px; height: 38px; }
  .tarjeta .acciones-rapidas, .tarjeta.t-traslado .acciones-rapidas { padding: 0 12px 12px 12px; }
  .pase { grid-template-columns: 1fr 112px; }
  .pase .izq { padding: 16px; }
  .pase .der { min-width: 0; padding: 12px 8px; }
  .pase .der .num { font-size: 2.2rem; }
  .pase::before, .pase::after { right: 101px; }
  .ruta { flex-wrap: nowrap; gap: 6px; }
  .ruta .cod { font-size: 1.1rem; }
  .ruta .linea-ruta { min-width: 10px; }
  .pase .verso-pase { display: none; }
  .dia-portada h1 { font-size: 1.6rem; }
}
