/* 079 · Transferencias (app móvil). Identidad CTI: Navy #0B1B4B, Lima #C4E000, Poppins.
 * Campos grandes como el resto de la app (--field-h / --field-font, #188) y canal libre para Don Pepe. */
.tra-page {
  --tra-navy: #0B1B4B;
  --tra-lima: #C4E000;
  font-family: Poppins, Arial, sans-serif;
  color: var(--tra-navy);
}
.tra-kicker { margin: 0; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted, #8fa0b8); }
.tra-h1 { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin: 0.15rem 0 0.5rem; font-size: 1.45rem; }
.tra-prio { display: inline-block; padding: 0.15rem 0.6rem; border-radius: 999px; font-size: 0.78rem; font-weight: 700; background: #eef1f6; color: var(--tra-navy, #0B1B4B); vertical-align: middle; }
.tra-prio--urgente { background: var(--err, #8b1e2d); color: #fff; }
.tra-prio--alta { background: var(--tra-lima, #C4E000); color: var(--tra-navy, #0B1B4B); }
.tra-prio--baja { color: #5b6b84; }
.tra-progress { height: 0.5rem; border-radius: 999px; background: #e3e8f0; overflow: hidden; }
.tra-progress span { display: block; height: 100%; background: var(--tra-lima, #C4E000); transition: width 0.3s; }
.tra-progress-txt { margin: 0.35rem 0 0.75rem; }
.tra-list { display: grid; gap: 0.65rem; }
.tra-card { display: grid; gap: 0.35rem; text-decoration: none; color: inherit; border-left: 5px solid var(--tra-navy, #0B1B4B); }
.tra-card-top { display: flex; gap: 0.4rem; align-items: center; flex-wrap: wrap; }
.tra-code { margin-left: auto; font-weight: 700; }
.tra-route { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin: 0; font-size: 1.05rem; }
.tra-route b { background: var(--tra-navy, #0B1B4B); color: #fff; border-radius: 8px; padding: 0.15rem 0.55rem; font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; letter-spacing: 0.02em; }
.tra-route i { font-style: normal; font-weight: 700; color: var(--tra-navy, #0B1B4B); }
.tra-route--big { font-size: 1.2rem; }
.tra-meta { font-size: 0.85rem; color: #5b6b84; }
.tra-current { border-top: 5px solid var(--tra-lima, #C4E000); }
.tra-what { margin: 0.25rem 0 0.5rem; font-size: 1.05rem; }
.tra-steps { display: grid; gap: 0.45rem; margin: 0.65rem 0; }
.tra-step { display: flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0.75rem; border-radius: 12px; }
.tra-step--locked { background: #eef6d0; border: 1px solid #cfe36b; }
.tra-step-ok { display: grid; place-items: center; width: 1.9rem; height: 1.9rem; flex: none; border-radius: 999px; background: var(--tra-lima, #C4E000); color: var(--tra-navy, #0B1B4B); font-weight: 800; }
.tra-step-body { display: grid; min-width: 0; flex: 1; }
.tra-step-body small { color: #5b6b84; font-weight: 600; }
.tra-step-body strong { font-size: 1.05rem; overflow-wrap: anywhere; }
.tra-change { flex: none; min-height: 2.6rem; padding: 0 0.8rem; border: 1px solid var(--tra-navy, #0B1B4B); border-radius: 10px; background: #fff; color: var(--tra-navy, #0B1B4B); font: inherit; font-weight: 600; }
.tra-active { border: 2px solid var(--tra-navy, #0B1B4B); }
.tra-active.is-err { border-color: var(--err, #8b1e2d); }
.tra-field { display: grid; gap: 0.2rem; }
.tra-field-label { font-size: 1.15rem; font-weight: 700; }
.tra-hint { color: #34446b; }
.tra-input-row { display: flex; gap: 0.5rem; margin-top: 0.55rem; }
.tra-input-row input,
.tra-uom {
  min-height: var(--field-h, 3.375rem);
  font: inherit;
  font-size: var(--field-font, 1.0625rem);
  padding: 0.5rem 0.75rem;
  border: 2px solid var(--line, #d5dbe6);
  border-radius: 12px;
  color: var(--tra-navy, #0B1B4B);
  background: #fff;
}
.tra-input-row input { flex: 1; min-width: 0; width: 100%; }
.tra-input-row input:focus,
.tra-uom:focus { outline: none; border-color: var(--tra-navy, #0B1B4B); box-shadow: 0 0 0 3px rgba(196, 224, 0, 0.55); }
.tra-uom { flex: none; max-width: 46%; }
.tra-status { min-height: 1.3rem; margin: 0.4rem 0; font-weight: 600; }
.tra-status.is-err { color: var(--err, #8b1e2d); }
.tra-status.is-wait { color: var(--muted, #8fa0b8); }
.tra-status.is-ok { color: var(--ok, #2d6a1e); }
.tra-go,
.tra-next {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.6rem;
  font-size: 1.15rem;
  font-weight: 700;
  border-radius: 14px;
  touch-action: manipulation;
  text-decoration: none;
}
.tra-next { margin-top: 0.75rem; background: var(--tra-lima, #C4E000); color: var(--tra-navy, #0B1B4B); border: 0; }
/* 081 · Nueva transferencia desde la app. */
.tra-new { margin: 0.25rem 0 0.9rem; }
.tra-finish { margin-top: 0.6rem; background: #fff; color: var(--tra-navy, #0B1B4B); border: 2px solid var(--tra-navy, #0B1B4B); }
.tra-contents { list-style: none; margin: 0.55rem 0 0; padding: 0.5rem 0.65rem; display: grid; gap: 0.3rem; border-radius: 10px; background: #f3f6fa; font-size: 0.95rem; }
.tra-contents b { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; margin-right: 0.35rem; }
.tra-serials { list-style: none; margin: 0.5rem 0 0; padding: 0; display: grid; gap: 0.25rem; font-weight: 600; color: var(--ok, #2d6a1e); }
.tra-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.tra-line { display: flex; gap: 0.6rem; align-items: flex-start; }
.tra-line small { display: block; color: #5b6b84; }
.tra-line.is-done { opacity: 0.65; }
.tra-line.is-off { text-decoration: line-through; opacity: 0.5; }
.tra-line.is-current .tra-check { background: var(--tra-navy, #0B1B4B); color: #fff; }
.tra-check { display: grid; place-items: center; flex: none; width: 1.7rem; height: 1.7rem; border-radius: 999px; background: #e3e8f0; font-weight: 700; font-size: 0.85rem; }
.tra-line.is-done .tra-check { background: var(--tra-lima, #C4E000); }
.tra-more summary { cursor: pointer; font-weight: 700; min-height: 2.6rem; display: flex; align-items: center; }
.tra-done { text-align: center; border-top: 6px solid var(--tra-lima, #C4E000); }
.tra-done-ico { display: grid; place-items: center; width: 4rem; height: 4rem; margin: 0.25rem auto; border-radius: 999px; background: var(--tra-lima, #C4E000); color: var(--tra-navy, #0B1B4B); font-size: 2rem; font-weight: 800; }
.tra-done h2 { margin: 0.25rem 0; }
/* Canal libre: el orbe de Don Pepe (3.5rem, abajo a la derecha) nunca tapa campos ni botones. */
.tra-fab-gap { height: 5rem; }
.tra-page input,
.tra-page .btn,
.tra-page select { scroll-margin-bottom: 5.5rem; }
/* Con el orbe visible, los botones de acción dejan su canal a la derecha: nunca quedan debajo del orbe. */
body:has(#don-pepe-fab:not([hidden])) .tra-go { width: calc(100% - 3.75rem); }
body:has(#don-pepe-fab:not([hidden])) .tra-next,
body:has(#don-pepe-fab:not([hidden])) .tra-finish { width: calc(100% - 4.5rem); }
body:has(#don-pepe-fab:not([hidden])) .tra-step--locked { padding-right: 0.75rem; }
