/* Estadía — estilos propios sobre app.css (base de Cuadra): calendario y detalles de la reserva. */

/* ---------- Calendario ---------- */
.cal { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radio); padding: 8px; }
.cal-cab { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); text-align: center; font-size: .72rem; font-weight: 700; color: var(--ink-faint); padding-bottom: 4px; }
.cal-sem { border-top: 1px solid var(--line); }
.cal-fila { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal-dia { padding: 3px 4px; font-size: .78rem; color: var(--ink-soft); min-height: 24px; }
.cal-dia.fuera { color: var(--ink-faint); opacity: .55; }
.cal-dia.hoy { color: var(--brand); font-weight: 800; }
.cal-dia.hoy::first-line { text-decoration: underline; }
.cal-barras { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px 0; padding: 0 1px 4px; }
.barra-res { border: 0; text-align: left; cursor: pointer; font-size: .68rem; font-weight: 700; line-height: 22px; padding: 0 6px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #fff; margin: 0 1px; }
.barra-res.ini { border-radius: 8px 0 0 8px; margin-left: 3px; }
.barra-res.fin { border-radius: 0 8px 8px 0; margin-right: 3px; }
.barra-res.ini.fin { border-radius: 8px; }
.barra-res.consulta { background: #8b95a1; } .barra-res.aprobada { background: #d97706; } .barra-res.confirmada { background: #0369a1; }
.barra-res.en_curso { background: #059669; } .barra-res.finalizada { background: #64748b; opacity: .8; }
.leyenda .ley-consulta::before { background: #8b95a1; } .leyenda .ley-aprobada::before { background: #d97706; } .leyenda .ley-confirmada::before { background: #0369a1; }
.leyenda .ley-en_curso::before { background: #059669; } .leyenda .ley-finalizada::before { background: #64748b; }
.leyenda .lp-pendiente::before { background: #d97706; } .leyenda .lp-parcial::before { background: #eab308; } .leyenda .lp-pagado::before { background: #059669; } .leyenda .lp-vencido::before { background: #dc2626; }
.cal-celda { min-height: 52px; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; border-top: 1px solid var(--line); }
.signo-pago { border: 0; border-radius: 999px; width: 26px; height: 26px; font-weight: 900; font-size: .85rem; color: #fff; cursor: pointer; position: relative; padding: 0; }
.signo-pago small { position: absolute; top: -5px; right: -6px; background: var(--ink); color: var(--bg); border-radius: 99px; font-size: .6rem; min-width: 14px; line-height: 14px; }
.signo-pago.pendiente { background: #d97706; } .signo-pago.parcial { background: #eab308; } .signo-pago.pagado { background: #059669; } .signo-pago.vencido { background: #dc2626; }
.cal-fila.pagos { border-top: 0; }

/* ---------- Detalle ---------- */
.item .btn.chico { margin-top: 4px; }
.titulo-vista .chip { flex: none; }
.estrellas.editable { font-size: 2rem; margin: 4px 0; }
.ajuste .lista .item[style*="cursor:default"]:active { transform: none; }
.ajuste .item-monto .x { display: inline-block; }
select.input.buscar { margin-bottom: 10px; }
.previa-msj { overflow-wrap: anywhere; }
