@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600&family=DM+Sans:wght@400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --negro: #0a0a0a;
  --blanco: #ffffff;
  --fondo: #faf8f4;
  --terracota: #c98f63;
  --terracota-suave: #f7ede3;
  --gris-texto: #6b6b6b;
  --gris-borde: #e8e5e0;
  --rojo: #b3312c;
  --rojo-suave: #fbe7e7;
  --radio: 14px;
  --radio-sm: 12px;
}

html { font-size: 16px; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--fondo);
  color: var(--negro);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.5;
}

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; }
a { color: inherit; }

.fraunces { font-family: 'Fraunces', serif; letter-spacing: 0.01em; }

/* ---------- Layout general ---------- */

.app-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 20px 96px; /* hueco para la barra inferior */
}

/* ---------- Navegación móvil (barra inferior) ---------- */

.nav-inferior {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 64px;
  background: var(--blanco);
  border-top: 1px solid var(--gris-borde);
  display: flex;
  z-index: 100;
  padding-bottom: env(safe-area-inset-bottom);
}
.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--gris-texto);
  font-size: 12px;
  font-weight: 500;
}
.nav-item svg { width: 24px; height: 24px; }
.nav-item.active { color: var(--negro); }

/* ---------- Navegación escritorio (lateral) ---------- */

.nav-lateral { display: none; }

@media (min-width: 900px) {
  .nav-inferior { display: none; }
  .nav-lateral {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: 220px;
    background: var(--negro);
    padding: 24px 12px;
    z-index: 100;
  }
  .nav-lateral .logo {
    font-family: 'Fraunces', serif;
    color: var(--blanco);
    font-size: 20px;
    letter-spacing: 0.06em;
    padding: 0 12px 24px;
  }
  .nav-lateral .logo span { color: var(--terracota); }
  .nav-lateral .nav-item {
    flex: none;
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    padding: 13px 14px;
    border-radius: 10px;
    font-size: 16px;
    color: rgba(255,255,255,0.65);
    margin-bottom: 4px;
  }
  .nav-lateral .nav-item.active {
    background: rgba(201,143,99,0.18);
    color: var(--blanco);
  }
  .app-main { margin-left: 220px; padding: 32px 32px 64px; max-width: none; }
  .app-main > * { max-width: 720px; margin-left: auto; margin-right: auto; }
}

/* ---------- Tipografía ---------- */

.titulo-pantalla { font-family: 'Fraunces', serif; font-size: 26px; font-weight: 600; letter-spacing: 0.01em; }
.cifra-grande { font-family: 'Fraunces', serif; font-size: 34px; font-weight: 600; line-height: 1.15; }
.texto-secundario { color: var(--gris-texto); font-size: 14px; }
.etiqueta { font-size: 14px; font-weight: 500; color: var(--gris-texto); display: block; margin-bottom: 6px; }

/* ---------- Botones ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 24px;
  border-radius: var(--radio-sm);
  font-size: 18px;
  font-weight: 600;
  transition: opacity 0.12s, background 0.12s;
  text-decoration: none;
}
.btn:active { opacity: 0.82; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-primario { background: var(--negro); color: var(--blanco); }
.btn-secundario { background: var(--blanco); color: var(--negro); border: 1.5px solid var(--negro); }
.btn-peligro { background: var(--blanco); color: var(--rojo); border: 1.5px solid var(--rojo); }
.btn-peligro-lleno { background: var(--rojo); color: var(--blanco); }
.btn-medio { min-height: 48px; font-size: 16px; padding: 0 18px; }
.btn-pequeno { min-height: 40px; font-size: 15px; padding: 0 14px; font-weight: 600; }
.btn-full { width: 100%; }
.btn svg { width: 22px; height: 22px; flex-shrink: 0; }

.link-texto {
  font-size: 15px;
  color: var(--gris-texto);
  text-decoration: underline;
  padding: 10px;
  display: inline-block;
}
.link-texto:active { color: var(--negro); }

/* ---------- Tarjetas ---------- */

.tarjeta {
  background: var(--blanco);
  border: 1px solid var(--gris-borde);
  border-radius: var(--radio);
  padding: 20px;
  margin-bottom: 12px;
}
.tarjeta-tocable { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.tarjeta-tocable:active { background: #f3f0ea; }

.titulo-bloque {
  font-size: 14px;
  font-weight: 600;
  color: var(--gris-texto);
  margin-bottom: 10px;
}

/* ---------- Buscador ---------- */

.buscador-wrap { position: relative; margin-bottom: 16px; }
.buscador-wrap svg {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; color: var(--gris-texto); pointer-events: none;
}
.buscador {
  width: 100%;
  height: 58px;
  border: 1.5px solid var(--negro);
  border-radius: var(--radio-sm);
  background: var(--blanco);
  padding: 0 16px 0 50px;
  font-size: 17px;
  color: var(--negro);
}
.buscador::placeholder { color: #9a9a9a; }
.buscador:focus { outline: 3px solid rgba(201,143,99,0.35); outline-offset: 1px; }

.resultados-busqueda {
  background: var(--blanco);
  border: 1px solid var(--gris-borde);
  border-radius: var(--radio-sm);
  margin-top: 6px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(10,10,10,0.08);
}

/* ---------- Filas de lista / historial ---------- */

.fila {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gris-borde);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.fila:last-child { border-bottom: none; }
.fila:active { background: #f6f3ee; }
.fila .fila-principal { font-size: 16px; font-weight: 500; }
.fila .fila-secundaria { font-size: 14px; color: var(--gris-texto); margin-top: 1px; }
.fila .fila-importe { font-size: 16px; font-weight: 600; white-space: nowrap; }
.fila .fila-importe.negativo { color: var(--rojo); }
.fila .fila-importe.cero { color: var(--gris-texto); font-weight: 400; }

/* ---------- Chips de clientes recientes ---------- */

.chips-recientes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip-cliente {
  min-height: 52px;
  padding: 0 20px;
  border-radius: 26px;
  background: var(--blanco);
  border: 1px solid var(--gris-borde);
  font-size: 16px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
}
.chip-cliente:active { background: #f3f0ea; }

/* ---------- Bonos por terminar ---------- */

.bloque-terminar {
  background: var(--blanco);
  border: 1px solid var(--gris-borde);
  border-left: 4px solid var(--terracota);
  border-radius: var(--radio);
  padding: 16px 20px;
  margin-bottom: 20px;
}
.fila-terminar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  border-bottom: 1px solid var(--gris-borde);
}
.fila-terminar:last-child { border-bottom: none; }
.fila-terminar .nombre { font-size: 17px; font-weight: 600; }
.fila-terminar .detalle { font-size: 14px; color: var(--terracota); font-weight: 500; }

/* ---------- Barra de progreso del bono ---------- */

.progreso { height: 8px; background: var(--gris-borde); border-radius: 4px; overflow: hidden; margin: 10px 0 14px; }
.progreso > div { height: 100%; background: var(--negro); border-radius: 4px; }

/* ---------- Franja de aviso en tarjeta de bono ---------- */

.franja-aviso {
  background: var(--terracota-suave);
  color: #9a5f33;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  margin-bottom: 12px;
}

/* ---------- Formularios ---------- */

.campo { margin-bottom: 16px; }
.input {
  width: 100%;
  height: 52px;
  border: 1px solid #c9c4bc;
  border-radius: var(--radio-sm);
  background: var(--blanco);
  padding: 0 15px;
  font-size: 17px;
  color: var(--negro);
}
textarea.input { height: auto; min-height: 80px; padding: 12px 15px; resize: vertical; }
.input:focus { outline: none; border-color: var(--negro); }
.input::placeholder { color: #9a9a9a; }

/* Botones de opción (tipos de bono, forma de pago, concepto) */
.opciones-grandes { display: flex; flex-direction: column; gap: 10px; }
.opcion-grande {
  min-height: 60px;
  border: 1.5px solid var(--gris-borde);
  border-radius: var(--radio-sm);
  background: var(--blanco);
  padding: 12px 18px;
  font-size: 17px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  width: 100%;
}
.opcion-grande .sub { font-size: 14px; font-weight: 400; color: var(--gris-texto); display: block; margin-top: 1px; }
.opcion-grande:active { border-color: var(--negro); }
.opcion-grande.seleccionada { border-color: var(--negro); background: #f6f3ee; }

.fila-opciones { display: flex; gap: 8px; }
.fila-opciones .opcion-grande { flex: 1; justify-content: center; text-align: center; min-height: 54px; }

/* ---------- Modales ---------- */

.modal-fondo {
  position: fixed; inset: 0;
  background: rgba(10,10,10,0.5);
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s;
}
.modal-fondo.abierto { opacity: 1; pointer-events: all; }
.modal {
  background: var(--blanco);
  border-radius: 20px 20px 0 0;
  width: 100%;
  max-width: 560px;
  max-height: 88vh;
  overflow-y: auto;
  padding: 12px 20px 28px;
  transform: translateY(40px);
  transition: transform 0.22s;
}
.modal-fondo.abierto .modal { transform: translateY(0); }
.modal-asa { width: 40px; height: 4px; background: #d0ccc5; border-radius: 2px; margin: 4px auto 8px; }
.modal-cabecera {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  margin-bottom: 8px;
}
.modal-cancelar { font-size: 16px; color: var(--gris-texto); padding: 10px 6px; }
.modal-titulo { font-family: 'Fraunces', serif; font-size: 24px; font-weight: 600; margin-bottom: 4px; }

@media (min-width: 768px) {
  .modal-fondo { align-items: center; }
  .modal { border-radius: 20px; max-width: 480px; transform: translateY(12px) scale(0.98); }
  .modal-asa { display: none; }
}

/* ---------- Banda de confirmación ---------- */

.banda-exito {
  position: fixed;
  left: 50%;
  bottom: 84px;
  transform: translateX(-50%) translateY(120px);
  background: var(--negro);
  color: var(--blanco);
  font-size: 17px;
  font-weight: 500;
  padding: 16px 26px;
  border-radius: var(--radio);
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100vw - 32px);
  transition: transform 0.25s;
  box-shadow: 0 10px 30px rgba(10,10,10,0.25);
}
.banda-exito.visible { transform: translateX(-50%) translateY(0); }
.banda-exito svg { width: 22px; height: 22px; color: var(--terracota); flex-shrink: 0; }
@media (min-width: 900px) { .banda-exito { bottom: 32px; } }

/* ---------- Estados vacíos ---------- */

.vacio {
  text-align: center;
  padding: 32px 16px;
  color: var(--gris-texto);
  font-size: 16px;
}
.vacio .btn { margin-top: 16px; }

/* ---------- Pestañas de facturación ---------- */

.pildoras { display: flex; gap: 6px; background: #efece6; padding: 5px; border-radius: 12px; margin-bottom: 20px; }
.pildora {
  flex: 1;
  min-height: 44px;
  border-radius: 9px;
  font-size: 16px;
  font-weight: 600;
  color: var(--gris-texto);
}
.pildora.activa { background: var(--blanco); color: var(--negro); box-shadow: 0 1px 3px rgba(10,10,10,0.08); }

.nav-periodo { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 4px; }
.btn-flecha {
  width: 48px; height: 48px;
  border: 1px solid var(--gris-borde);
  border-radius: 10px;
  background: var(--blanco);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.btn-flecha:active { background: #f3f0ea; }

/* ---------- Cabecera de ficha ---------- */

.ficha-cabecera { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.btn-atras {
  width: 48px; height: 48px;
  border-radius: 12px;
  border: 1px solid var(--gris-borde);
  background: var(--blanco);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.btn-atras svg { width: 24px; height: 24px; }

.tel-link { color: var(--gris-texto); text-decoration: none; font-size: 16px; }
.tel-link:active { color: var(--negro); }

/* ---------- Login ---------- */

.login-wrap { max-width: 420px; margin: 0 auto; padding: 40px 24px; }
.login-logo { font-family: 'Fraunces', serif; font-size: 26px; letter-spacing: 0.06em; text-align: center; margin-bottom: 6px; }
.login-logo span { color: var(--terracota); }

/* ---------- Utilidades ---------- */

.oculto { display: none !important; }
.mb-8 { margin-bottom: 8px; } .mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; } .mb-20 { margin-bottom: 20px; } .mb-24 { margin-bottom: 24px; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; }
.centrado { text-align: center; }
.fila-botones { display: flex; gap: 10px; }
.fila-botones .btn { flex: 1; }

:focus-visible { outline: 3px solid rgba(201,143,99,0.5); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ============================================================
   AMPLIACIÓN v2 — Agenda, galería, dietas
   ============================================================ */

/* Barra inferior con 5 elementos: etiquetas algo más compactas */
.nav-inferior .nav-item { font-size: 11px; gap: 2px; }

/* ---------- Agenda: rejilla del día ---------- */

.agenda-cabecera {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; margin-bottom: 12px; flex-wrap: wrap;
}
.agenda-fecha { min-width: 168px; text-align: center; }
.agenda-fecha .dia { font-family: 'Fraunces', serif; font-size: 20px; font-weight: 600; text-transform: capitalize; }

.slot {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid var(--gris-borde);
  min-height: 52px;
}
.slot:last-child { border-bottom: none; }
.slot-hora {
  width: 52px; flex-shrink: 0;
  font-size: 14px; color: var(--gris-texto);
  padding-top: 14px;
}
.slot-contenido { flex: 1; padding: 6px 0; display: flex; flex-direction: column; gap: 6px; }
.slot-libre {
  flex: 1;
  display: flex; align-items: center;
  min-height: 40px;
  color: #b5b0a8;
  font-size: 14px;
  border-radius: 8px;
  padding: 0 12px;
  cursor: pointer;
}
.slot-libre:active { background: #f3f0ea; color: var(--gris-texto); }

.cita-card {
  background: var(--negro);
  color: var(--blanco);
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.cita-card:active { opacity: 0.88; }
.cita-card .c-nombre { font-size: 16px; font-weight: 600; }
.cita-card .c-detalle { font-size: 13px; color: rgba(255,255,255,0.75); margin-top: 1px; }
.cita-card .c-tag {
  display: inline-block; font-size: 11px; font-weight: 600;
  background: rgba(201,143,99,0.25); color: var(--terracota);
  border-radius: 20px; padding: 1px 8px; margin-top: 4px;
}
.cita-card.cancelada {
  background: var(--blanco);
  color: var(--gris-texto);
  border: 1px dashed #c9c4bc;
}
.cita-card.cancelada .c-nombre { text-decoration: line-through; font-weight: 500; }
.cita-card.cancelada .c-detalle { color: #b5b0a8; }

.bloqueo-card {
  background: repeating-linear-gradient(135deg, #efece6, #efece6 8px, #e8e5e0 8px, #e8e5e0 16px);
  color: var(--gris-texto);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

.dia-cerrado {
  text-align: center;
  padding: 40px 16px;
  color: var(--gris-texto);
  font-size: 16px;
  background: repeating-linear-gradient(135deg, #faf8f4, #faf8f4 10px, #f3f0ea 10px, #f3f0ea 20px);
  border-radius: var(--radio);
}

/* ---------- Agenda: semana ---------- */

.semana-scroll { overflow-x: auto; margin: 0 -20px; padding: 0 20px; }
.semana-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(128px, 1fr));
  gap: 8px;
  min-width: 960px;
}
.semana-dia {
  background: var(--blanco);
  border: 1px solid var(--gris-borde);
  border-radius: var(--radio-sm);
  padding: 10px;
  min-height: 180px;
}
.semana-dia.hoy { border-color: var(--terracota); border-width: 2px; }
.semana-dia.cerrado { background: repeating-linear-gradient(135deg, #faf8f4, #faf8f4 8px, #f3f0ea 8px, #f3f0ea 16px); }
.semana-dia .sd-cab {
  font-size: 13px; font-weight: 600; text-align: center;
  padding-bottom: 8px; margin-bottom: 8px;
  border-bottom: 1px solid var(--gris-borde);
  cursor: pointer; text-transform: capitalize;
}
.semana-dia.hoy .sd-cab { color: var(--terracota); }
.chip-cita {
  background: var(--negro); color: var(--blanco);
  border-radius: 7px; padding: 5px 8px; margin-bottom: 5px;
  font-size: 12px; line-height: 1.35; cursor: pointer;
}
.chip-cita .h { font-weight: 600; }
.chip-cita.cancelada { background: var(--blanco); border: 1px dashed #c9c4bc; color: #b5b0a8; text-decoration: line-through; }
.chip-bloqueo {
  background: repeating-linear-gradient(135deg, #efece6, #efece6 6px, #e8e5e0 6px, #e8e5e0 12px);
  color: var(--gris-texto);
  border-radius: 7px; padding: 5px 8px; margin-bottom: 5px;
  font-size: 12px; cursor: pointer;
}

/* ---------- Inicio: llegan ahora ---------- */

.bloque-llegan {
  background: var(--negro);
  color: var(--blanco);
  border-radius: var(--radio);
  padding: 16px 20px;
  margin-bottom: 12px;
}
.bloque-llegan .titulo-bloque { color: var(--terracota); }
.fila-llega {
  display: flex; align-items: center; gap: 12px;
  min-height: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.fila-llega:last-child { border-bottom: none; }
.fila-llega .hora { font-family: 'Fraunces', serif; font-size: 20px; font-weight: 600; color: var(--terracota); width: 62px; }
.fila-llega .nombre { font-size: 16px; font-weight: 600; }
.fila-llega .serv { font-size: 13px; color: rgba(255,255,255,0.65); }

/* ---------- Fotos ---------- */

.fotos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.fotos-grid .foto-mini {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: 10px; cursor: pointer; display: block;
  border: 1px solid var(--gris-borde);
}
.foto-grande { width: 100%; border-radius: var(--radio-sm); display: block; margin-bottom: 16px; }

/* ---------- Horario en Ajustes ---------- */

.fila-horario {
  display: flex; align-items: center; gap: 10px;
  min-height: 56px;
  border-bottom: 1px solid var(--gris-borde);
}
.fila-horario:last-child { border-bottom: none; }
.fila-horario .dia-nombre { width: 88px; font-size: 15px; font-weight: 500; }
.fila-horario input[type="time"] { height: 44px; font-size: 15px; padding: 0 8px; width: 96px; }
.fila-horario .cerrado-txt { color: var(--gris-texto); font-size: 15px; }

/* Interruptor simple */
.interruptor {
  width: 52px; height: 30px; border-radius: 15px;
  background: var(--gris-borde); position: relative; flex-shrink: 0;
  transition: background 0.15s; border: none; cursor: pointer;
}
.interruptor::after {
  content: ''; position: absolute; width: 24px; height: 24px; border-radius: 50%;
  background: var(--blanco); top: 3px; left: 3px; transition: left 0.15s;
  box-shadow: 0 1px 3px rgba(10,10,10,0.2);
}
.interruptor.on { background: var(--negro); }
.interruptor.on::after { left: 25px; }

.fila-ajuste {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 56px; border-bottom: 1px solid var(--gris-borde);
}
.fila-ajuste:last-child { border-bottom: none; }
.fila-ajuste .fa-titulo { font-size: 16px; font-weight: 500; }
.fila-ajuste .fa-sub { font-size: 14px; color: var(--gris-texto); }

/* Mensaje de WhatsApp simulado */
.burbuja-msg {
  background: #f3f0ea;
  border-radius: 14px 14px 14px 4px;
  padding: 14px 16px;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 16px;
}

/* ============================================================
   AMPLIACIÓN v3 — Página pública de reservas
   ============================================================ */

.publico-main { max-width: 480px; margin: 0 auto; padding: 24px 20px 64px; }
.publico-cabecera { text-align: center; margin-bottom: 24px; }
.publico-logo { font-family: 'Fraunces', serif; font-size: 24px; letter-spacing: 0.06em; }
.publico-logo span { color: var(--terracota); }

.paso-titulo {
  font-family: 'Fraunces', serif;
  font-size: 22px; font-weight: 600;
  margin-bottom: 4px;
}
.paso-num { font-size: 13px; font-weight: 600; color: var(--terracota); text-transform: uppercase; letter-spacing: 0.06em; }

/* Selector de días */
.dias-scroll { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 8px; }
.dia-chip {
  flex-shrink: 0;
  width: 64px; min-height: 72px;
  border: 1.5px solid var(--gris-borde);
  border-radius: var(--radio-sm);
  background: var(--blanco);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  cursor: pointer;
}
.dia-chip .dc-sem { font-size: 12px; color: var(--gris-texto); text-transform: capitalize; }
.dia-chip .dc-num { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 600; }
.dia-chip .dc-mes { font-size: 11px; color: var(--gris-texto); text-transform: capitalize; }
.dia-chip.seleccionado { border-color: var(--negro); background: var(--negro); }
.dia-chip.seleccionado .dc-sem, .dia-chip.seleccionado .dc-mes { color: rgba(255,255,255,0.7); }
.dia-chip.seleccionado .dc-num { color: var(--blanco); }
.dia-chip:disabled { opacity: 0.35; cursor: not-allowed; background: var(--fondo); }

/* Rejilla de horas */
.horas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hora-btn {
  min-height: 52px;
  border: 1.5px solid var(--gris-borde);
  border-radius: var(--radio-sm);
  background: var(--blanco);
  font-size: 17px; font-weight: 600;
}
.hora-btn.seleccionada { background: var(--negro); color: var(--blanco); border-color: var(--negro); }

/* Resumen y confirmación */
.resumen-linea { display: flex; justify-content: space-between; gap: 12px; min-height: 44px; align-items: center; border-bottom: 1px solid var(--gris-borde); font-size: 16px; }
.resumen-linea:last-child { border-bottom: none; }
.resumen-linea .rl-label { color: var(--gris-texto); }
.resumen-linea .rl-valor { font-weight: 600; text-align: right; }

.confirmacion-icono {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--negro); color: var(--terracota);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.confirmacion-icono svg { width: 36px; height: 36px; }

.enlace-gestion {
  background: #f3f0ea;
  border-radius: var(--radio-sm);
  padding: 12px 14px;
  font-size: 14px;
  word-break: break-all;
  color: var(--gris-texto);
}
