.app { max-width: 720px; margin: 0 auto; padding: 0 16px 24px; }
#entrada { padding-top: 12vh; max-width: 420px; }
.titulo-grande { font-size: 34px; line-height: 41px; font-weight: 700; letter-spacing: .37px; margin: 4px 0 2px; }
.sub { color: var(--label-2); margin: 0 0 20px; }

.nav {
  position: sticky; top: 0; z-index: 10; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: calc(44px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 8px 0;
  background: var(--bar); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: .5px solid var(--sep);
}
.nav .link { padding: 8px; }
.nav-titulo { font-weight: 600; }
.nav-der { justify-self: end; }
.atras { display: inline-flex; align-items: center; gap: 2px; justify-self: start; }
.atras span { font-size: 30px; line-height: 0; margin-top: -3px; }

.buscar {
  width: 100%; border: 0; border-radius: 10px; background: var(--fill); padding: 9px 12px; font-size: 17px; outline: none;
  margin-bottom: 12px;
}
.buscar::placeholder { color: var(--label-2); }
.filtros { overflow-x: auto; margin: 0 -16px 18px; padding: 0 16px; scrollbar-width: none; }
.filtros::-webkit-scrollbar { display: none; }
.filtros .seg { min-width: 100%; }
.filtros .seg button { flex: 1; white-space: nowrap; padding: 5px 6px; min-width: 0; }

/* Filas de la lista */
.reg .txt strong { font-weight: 400; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reg .txt small { display: block; color: var(--label-2); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reg .der { text-align: right; flex: none; font-size: 15px; }
.reg .der small { display: block; color: var(--label-2); }
.estado-nuevo { color: var(--tint); }
.estado-contactado { color: var(--orange); }
.estado-inscrito { color: var(--green); }
.estado-descartado { color: var(--label-2); }
.vacio { color: var(--label-2); text-align: center; padding: 40px 16px; }
.salir { text-align: center; margin-top: 8px; }

/* Detalle: pantalla completa en celular, panel a la derecha en compu */
.velo { position: fixed; inset: 0; background: rgba(0, 0, 0, .3); z-index: 20; }
.detalle {
  position: fixed; inset: 0; z-index: 21; background: var(--bg); overflow-y: auto; overscroll-behavior: contain;
}
.detalle-cuerpo { padding: 0 16px calc(32px + env(safe-area-inset-bottom)); max-width: 640px; margin: 0 auto; }
@media (min-width: 900px) {
  .detalle { left: auto; width: 520px; border-left: .5px solid var(--sep); }
}
.acciones { display: flex; gap: 8px; margin-bottom: 22px; }
.acciones a { flex: 1; text-align: center; text-decoration: none; background: var(--card); color: var(--tint); border-radius: 10px; padding: 10px 6px; font-size: 15px; font-weight: 500; }
.acciones a:active { background: var(--card-press); }
.detalle textarea { min-height: 80px; }
.dato .txt { color: var(--label-2); flex: 0 0 44%; }
.dato .val { flex: 1; text-align: right; white-space: pre-wrap; word-break: break-word; }
.borrar { color: var(--tint); justify-content: center; }

.aviso .txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aviso .quitar { font-size: 15px; color: var(--label-2); }
#avisoNuevo input { flex: 1; }
.avisos { margin-top: 28px; }
