/* Agenda Nail PRO · Agenda de turnos multi-manicurista. Mobile-first (390 px). */
:root {
  --blush-0: #fffafb;
  --blush-1: #fdf1f4;
  --blush-2: #f9e1e8;
  --blush-3: #f3c9d6;
  --nude: #ead2cc;
  --greige: #ece6e1;
  --fucsia: #e23f8c;
  --fucsia-2: #c92a73;
  --fucsia-suave: #fde6ef;
  --plum: #6e1f47;
  --plum-2: #8c3a62;
  --oro: #c8a15a;
  --oro-suave: #ecdcb8;
  --blanco: #ffffff;
  --texto: #3b2430;
  --gris: #8d7a83;
  --borde: #f0dfe5;
  --error: #c0283a;
  --ok: #2e8a5a;
  --ok-bg: #e2f4ea;
  --pend: #b9781a;
  --pend-bg: #fff2dc;
  --off-bg: #f1ecee;

  --grad: linear-gradient(135deg, #f0569d 0%, #d92f7d 100%);
  --radio: 22px;
  --radio-chico: 14px;
  --sombra: 0 12px 32px rgba(155, 45, 92, 0.10), 0 2px 6px rgba(155, 45, 92, 0.05);
  --sombra-suave: 0 4px 14px rgba(155, 45, 92, 0.08);
  --sombra-btn: 0 10px 22px rgba(226, 63, 140, 0.30);
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --nav-alto: 70px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh;
  font-family: var(--sans); font-size: 16px; line-height: 1.45; color: var(--texto);
  background: linear-gradient(180deg, var(--blush-0) 0%, var(--blush-1) 38%, var(--blush-2) 100%) fixed;
}
/* Bokeh suave de fondo */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(circle at 12% 8%, rgba(243, 167, 196, 0.35) 0 60px, transparent 120px),
    radial-gradient(circle at 92% 18%, rgba(255, 255, 255, 0.9) 0 46px, transparent 90px),
    radial-gradient(circle at 85% 62%, rgba(243, 182, 205, 0.30) 0 70px, transparent 150px),
    radial-gradient(circle at 6% 78%, rgba(255, 255, 255, 0.85) 0 50px, transparent 110px),
    radial-gradient(circle at 50% 104%, rgba(236, 160, 190, 0.28) 0 90px, transparent 200px);
}

h1, h2, h3 { font-family: var(--serif); color: var(--plum); margin: 0; line-height: 1.18; font-weight: 600; }
a { color: var(--fucsia); }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
button { font-family: inherit; }
.texto-suave { color: var(--gris); }
.centrado { text-align: center; }
.chispa { color: var(--oro); }

/* ---------- Estructura ---------- */
.app { min-height: 100vh; }
.contenido {
  max-width: 560px; margin: 0 auto; outline: none;
  padding: calc(14px + env(safe-area-inset-top)) 18px calc(var(--nav-alto) + 30px + env(safe-area-inset-bottom));
}
.tarjeta {
  background: var(--blanco); border-radius: var(--radio); box-shadow: var(--sombra);
  padding: 20px 18px; margin-bottom: 16px; border: 1px solid rgba(240, 223, 229, 0.7);
}
.tarjeta-titulo { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.tarjeta-titulo h2 { font-size: 1.2rem; }
.tarjeta-sub { margin: -6px 0 14px; color: var(--gris); font-size: 0.92rem; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 12px 22px; border: 0; border-radius: 999px;
  font: 500 1.02rem var(--sans); letter-spacing: 0.01em; text-decoration: none; cursor: pointer;
  transition: transform 0.1s, box-shadow 0.2s, opacity 0.2s; -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.5; cursor: default; box-shadow: none; }
.btn svg { width: 20px; height: 20px; }
.btn-primario { background: var(--grad); color: var(--blanco); box-shadow: var(--sombra-btn); }
.btn-secundario { background: var(--blanco); color: var(--fucsia-2); box-shadow: inset 0 0 0 1.5px #ec8ab6; }
.btn-peligro { background: var(--error); color: var(--blanco); }
.btn-texto-peligro { background: transparent; color: var(--error); min-height: 46px; }
.btn-whatsapp { background: #25a35a; color: var(--blanco); box-shadow: 0 8px 18px rgba(37, 163, 90, 0.25); }
.btn-grande { width: 100%; min-height: 56px; font-size: 1.08rem; }
.btn-compacto { min-height: 46px; padding: 10px 18px; font-size: 0.98rem; }
.btn-chico {
  display: block; margin: 14px auto 0; padding: 8px 20px; min-height: 42px; border-radius: 999px;
  border: 1px solid var(--oro-suave); background: rgba(255, 255, 255, 0.7); color: var(--plum);
  font: 500 0.92rem var(--sans); cursor: pointer;
}
.btn-agregar {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 56px;
  border: 1.5px dashed #eaa3c3; border-radius: var(--radio-chico); background: #fff7fa;
  color: var(--fucsia); font: 500 1rem var(--sans); cursor: pointer;
}
.btn-icono {
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  border-radius: 50%; border: 0; background: var(--blanco); color: var(--plum); cursor: pointer;
  flex-shrink: 0; text-decoration: none; box-shadow: var(--sombra-suave);
}

/* ---------- Logo ---------- */
.logo { display: block; border-radius: 50%; background: var(--greige); box-shadow: 0 0 0 1px var(--oro-suave), 0 0 0 5px rgba(255,255,255,0.9), var(--sombra); }

/* ---------- Formularios ---------- */
.campo { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; min-width: 0; }
.campo label, .campo .label { font-weight: 500; font-size: 0.92rem; color: var(--plum); }
input, select, textarea {
  width: 100%; min-height: 52px; padding: 12px 15px; border: 1.5px solid var(--borde);
  border-radius: var(--radio-chico); background: #fffdfd; color: var(--texto);
  font: 1rem var(--sans); -webkit-appearance: none; appearance: none;
}
input::placeholder, textarea::placeholder { color: #bba9b1; }
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e1f47' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px;
}
textarea { resize: vertical; min-height: 84px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: #ec8ab6; box-shadow: 0 0 0 4px rgba(226, 63, 140, 0.12); }
.form-error-general { margin: 0 0 12px; padding: 12px 14px; border-radius: var(--radio-chico); background: #fde9ec; color: var(--error); font-weight: 500; }
.ayuda { margin: 0; color: var(--gris); font-size: 0.86rem; }
.ayuda-error { color: var(--error) !important; font-weight: 500; }
.fila-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.input-pesos { position: relative; }
.input-pesos span { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--gris); font-weight: 500; }
.input-pesos input { padding-left: 32px; }
.interruptor { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--texto); cursor: pointer; min-height: 44px; }
.interruptor input { width: 22px; height: 22px; min-height: 0; padding: 0; accent-color: var(--fucsia); -webkit-appearance: auto; appearance: auto; }

/* ---------- Estados ---------- */
.chip { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: 0.76rem; font-weight: 500; white-space: nowrap; }
.chip-pendiente { background: var(--pend-bg); color: var(--pend); }
.chip-aprobado { background: var(--ok-bg); color: var(--ok); }
.chip-rechazado, .chip-cancelado { background: var(--off-bg); color: var(--gris); }
.vacio { color: var(--gris); text-align: center; padding: 18px 8px; margin: 0; }
.cargando { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--plum-2); padding: 40px 0; }
.spinner { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid var(--blush-3); border-top-color: var(--fucsia); animation: girar 0.8s linear infinite; }
@keyframes girar { to { transform: rotate(360deg); } }

/* ---------- Página de reservas ---------- */
.contenido-reservas { padding-bottom: calc(150px + env(safe-area-inset-bottom)); }
.perfil { text-align: center; padding: 18px 8px 4px; position: relative; }
.perfil .logo { width: 104px; height: 104px; margin: 0 auto 14px; }
.perfil h1 { font-size: 1.85rem; letter-spacing: 0.005em; }
.perfil-zona { display: inline-flex; align-items: center; gap: 5px; margin: 6px 0 0; color: var(--plum-2); font-size: 0.95rem; }
.perfil-zona svg { width: 17px; height: 17px; color: var(--oro); }
.perfil-redes { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }
.red {
  display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 8px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.85); color: var(--plum); text-decoration: none; font-size: 0.9rem; font-weight: 500;
  box-shadow: var(--sombra-suave); border: 1px solid var(--borde);
}
.red svg { width: 18px; height: 18px; color: var(--fucsia); }
.adorno { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 18px auto 2px; color: var(--oro); }
.adorno::before, .adorno::after { content: ''; height: 1px; width: 64px; background: linear-gradient(90deg, transparent, var(--oro-suave)); }
.adorno::after { transform: scaleX(-1); }
.adorno svg { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.perfil-intro { margin: 4px 0 0; color: var(--gris); font-size: 0.95rem; }

.paso { display: flex; align-items: center; gap: 10px; font-size: 1.22rem; margin: 26px 2px 12px; }
.paso-n {
  display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--grad); color: var(--blanco); font: 500 0.95rem var(--sans); box-shadow: 0 4px 10px rgba(226, 63, 140, 0.28);
}

.lista-opciones { display: flex; flex-direction: column; gap: 10px; }
.opcion-servicio {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px; min-height: 76px;
  background: var(--blanco); border-radius: 18px; box-shadow: var(--sombra-suave);
  border: 1.5px solid transparent; cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.opcion-servicio:focus-visible { outline: 3px solid rgba(226, 63, 140, 0.35); outline-offset: 2px; }
.opcion-servicio.sel { border-color: var(--fucsia); box-shadow: 0 10px 24px rgba(226, 63, 140, 0.16); }
.miniatura {
  width: 52px; height: 52px; border-radius: 15px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, #fbe7ee 0%, #f4cfdc 100%); color: var(--fucsia-2); position: relative;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.7);
}
.miniatura svg { width: 30px; height: 30px; stroke-width: 1.5; }
.miniatura::after { content: '✦'; position: absolute; top: 3px; right: 5px; font-size: 9px; color: var(--oro); }
.opcion-info { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.opcion-info strong { font-size: 1.04rem; font-weight: 500; color: var(--texto); }
.opcion-info small { color: var(--gris); font-size: 0.86rem; display: inline-flex; align-items: center; gap: 4px; }
.opcion-info small svg { width: 14px; height: 14px; }
.opcion-lado { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.opcion-precio { font-weight: 500; color: var(--plum); white-space: nowrap; font-size: 1.02rem; }
.opcion-precio.consultar { color: var(--fucsia-2); font-size: 0.82rem; font-weight: 400; }
.radio-punto { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--blush-3); position: relative; display: flex; align-items: center; justify-content: center; }
.opcion-servicio.sel .radio-punto { background: var(--grad); border-color: transparent; }
.opcion-servicio.sel .radio-punto::after { content: ''; width: 9px; height: 5px; border: solid #fff; border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }

.tira-dias { position: relative; display: flex; gap: 8px; overflow-x: auto; padding: 4px 4px 12px; margin: 0 -18px; padding-left: 18px; padding-right: 18px; scroll-snap-type: x proximity; scrollbar-width: none; }
.tira-dias::-webkit-scrollbar { display: none; }
.dia {
  flex: 0 0 64px; scroll-snap-align: center; display: flex; flex-direction: column; align-items: center; gap: 1px;
  padding: 10px 4px 9px; border-radius: 20px; border: 1px solid var(--borde); background: var(--blanco);
  box-shadow: var(--sombra-suave); color: var(--texto); cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.dia-nombre { font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gris); }
.dia-num { font-family: var(--serif); font-size: 1.45rem; color: var(--plum); line-height: 1.15; }
.dia-estado { font-size: 0.68rem; color: var(--gris); white-space: nowrap; }
.dia.sel { background: var(--grad); border-color: transparent; box-shadow: var(--sombra-btn); }
.dia.sel .dia-nombre, .dia.sel .dia-num, .dia.sel .dia-estado { color: var(--blanco); }
.dia.off { opacity: 0.5; cursor: default; box-shadow: none; background: rgba(255, 255, 255, 0.55); }

.caja-horas { background: var(--blanco); border-radius: var(--radio); box-shadow: var(--sombra); padding: 16px; }
.horas-fecha { margin: 0 0 4px; color: var(--plum); font-family: var(--serif); font-size: 1.05rem; }
.grupo-titulo { display: flex; align-items: center; gap: 6px; margin: 12px 0 8px; color: var(--gris); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }
.grupo-titulo svg { width: 16px; height: 16px; color: var(--oro); }
.grilla-horas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.hora {
  min-height: 46px; border-radius: 999px; border: 1.5px solid var(--borde); background: #fffafb;
  font: 500 0.98rem var(--sans); color: var(--texto); cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.hora.sel { background: var(--grad); color: var(--blanco); border-color: transparent; box-shadow: 0 6px 14px rgba(226, 63, 140, 0.3); }
.sin-horas { background: var(--blanco); border-radius: var(--radio); box-shadow: var(--sombra-suave); padding: 18px; color: var(--gris); text-align: center; }

.pie { text-align: center; color: var(--plum-2); font-size: 0.88rem; margin: 20px 10px 0; }
.pie-pro { text-align: center; margin: 22px 0 0; font-size: 0.78rem; }
.pie-pro a { color: var(--gris); text-decoration: none; padding: 8px; }

.barra-reserva {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-radius: 26px 26px 0 0; box-shadow: 0 -8px 28px rgba(155, 45, 92, 0.12);
  padding: 10px 18px calc(12px + env(safe-area-inset-bottom));
}
.barra-in { max-width: 560px; margin: 0 auto; }
.barra-resumen { font-size: 0.88rem; color: var(--gris); text-align: center; margin-bottom: 8px; min-height: 1.3em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.barra-resumen b { color: var(--plum); font-weight: 500; }
body.pagina-reservas .toast { bottom: calc(130px + env(safe-area-inset-bottom)); }

.confirmacion { text-align: center; padding-top: 6px; }
.confirmacion .tarjeta { text-align: left; }
.ok-grande {
  width: 86px; height: 86px; margin: 18px auto 14px; border-radius: 50%; background: var(--grad);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 7px rgba(255,255,255,0.9), 0 0 0 8px var(--oro-suave), var(--sombra-btn);
}
.ok-grande svg { width: 44px; height: 44px; color: var(--blanco); stroke-width: 2.4; }
.confirmacion-titulo { font-size: 1.75rem; }
.confirmacion-sub { color: var(--plum-2); font-size: 1.02rem; margin: 6px 0 18px; }
.detalle-datos { margin: 0; display: grid; }
.detalle-datos div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--borde); }
.detalle-datos div:last-child { border-bottom: 0; }
.detalle-datos dt { color: var(--gris); }
.detalle-datos dd { margin: 0; font-weight: 500; text-align: right; color: var(--texto); }
.acciones-columna { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.acciones-fila { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 8px; }

/* ---------- Panel: acceso ---------- */
.splash { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: calc(24px + env(safe-area-inset-top)) 18px 28px; }
.splash-contenido { width: 100%; max-width: 420px; text-align: center; }
.splash .logo { width: 112px; height: 112px; margin: 0 auto; }
.splash-titulo { font-size: 2.3rem; margin: 18px 0 4px; }
.splash-sub { color: var(--plum-2); margin: 0 0 40px; font-size: 1rem; }
.splash-form {
  position: relative; background: var(--blanco); border-radius: 26px; padding: 44px 22px 24px; box-shadow: var(--sombra);
  text-align: left; border: 1px solid rgba(240, 223, 229, 0.7);
}
.splash-icono {
  position: absolute; top: -28px; left: 50%; transform: translateX(-50%); width: 56px; height: 56px; border-radius: 50%;
  background: var(--blanco); display: flex; align-items: center; justify-content: center; color: var(--oro);
  box-shadow: 0 0 0 1.5px var(--oro-suave), var(--sombra-suave);
}
.splash-icono svg { width: 26px; height: 26px; }
.acceso-titulo { font-size: 1.55rem; text-align: center; margin-bottom: 6px; }
.acceso-sub { text-align: center; color: var(--gris); margin: 0 0 18px !important; font-size: 0.95rem; }
.splash-form p { margin: 0 0 12px; }
.splash-form .btn-grande { margin-top: 6px; }
.separador { display: flex; align-items: center; gap: 12px; color: var(--oro); font-size: 0.85rem; margin: 16px 0 4px; }
.separador::before, .separador::after { content: ''; flex: 1; height: 1px; background: var(--borde); }
.splash-form .btn-chico { margin-top: 10px; }
.splash-pie { margin-top: 22px; }
.splash-pie a { color: var(--plum-2); }

/* ---------- Panel: cabecera ---------- */
.cabecera { display: flex; align-items: center; gap: 12px; padding: 4px 0 18px; }
.cabecera .logo { width: 48px; height: 48px; box-shadow: 0 0 0 1px var(--oro-suave), 0 0 0 3px #fff, var(--sombra-suave); }
.cabecera-textos { flex: 1; min-width: 0; }
.cabecera-pre { margin: 0; color: var(--gris); font-size: 0.82rem; letter-spacing: 0.04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cabecera h1 { font-size: 1.6rem; }
.cabecera-sub { margin: 2px 0 14px; color: var(--plum-2); font-size: 0.95rem; }

/* ---------- Panel: pedidos ---------- */
.lista-pedidos { display: flex; flex-direction: column; gap: 12px; }
.pedido { background: var(--blanco); border-radius: var(--radio); box-shadow: var(--sombra); padding: 16px 16px 14px; position: relative; overflow: hidden; }
.pedido::before { content: ''; position: absolute; left: 0; top: 16px; bottom: 16px; width: 4px; border-radius: 0 4px 4px 0; background: var(--pend); }
.pedido.estado-aprobado::before { background: var(--ok); }
.pedido.estado-rechazado::before, .pedido.estado-cancelado::before { background: #cdbfc5; }
.tarjeta .pedido { box-shadow: none; border: 1px solid var(--borde); }
.pedido-cabecera { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.pedido-cuando { display: flex; flex-direction: column; }
.pedido-cuando strong { color: var(--plum); font-weight: 500; }
.pedido-cuando span { color: var(--gris); font-size: 0.92rem; }
.pedido-clienta { font-family: var(--serif); font-size: 1.28rem; color: var(--plum); margin: 10px 0 2px; overflow-wrap: anywhere; }
.pedido-servicio { margin: 0; color: var(--texto); }
.enlace-tel { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; padding: 6px 0; min-height: 40px; font-size: 0.95rem; }
.pedido-notas { margin: 6px 0 0; background: var(--blush-1); border-radius: var(--radio-chico); padding: 8px 12px; font-style: italic; overflow-wrap: anywhere; color: var(--plum-2); }
.pedido-acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.pedido-acciones .btn { flex: 1 1 auto; }

/* ---------- Panel: agenda ---------- */
.cal-cabecera { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-cabecera h2 { font-size: 1.25rem; }
.cal-grilla { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-semana span { color: var(--gris); font-size: 0.8rem; padding: 6px 0; }
.cal-dia { position: relative; aspect-ratio: 1; min-height: 42px; border: 0; border-radius: 50%; background: transparent; font: 400 1rem var(--sans); color: var(--texto); cursor: pointer; }
.cal-dia.hoy { box-shadow: inset 0 0 0 1.5px var(--oro); }
.cal-dia.seleccionado { background: var(--grad); color: var(--blanco); }
.cal-dia .puntos { position: absolute; bottom: 4px; left: 0; right: 0; display: flex; justify-content: center; gap: 3px; }
.punto { display: inline-block; width: 6px; height: 6px; border-radius: 50%; }
.punto-aprobado { background: var(--ok); }
.punto-pendiente { background: var(--pend); }
.cal-dia.seleccionado .punto { box-shadow: 0 0 0 1.5px var(--blanco); }
.cal-leyenda { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 12px 0 0; color: var(--gris); font-size: 0.85rem; }
.cal-leyenda .punto + * { margin-right: 10px; }

/* ---------- Panel: servicios ---------- */
.lista-servicios { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.fila-servicio {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 72px; padding: 10px 12px;
  border: 1px solid var(--borde); border-radius: 18px; background: #fffdfd; text-align: left; font: inherit; color: inherit; cursor: pointer;
}
.fila-servicio.inactivo { opacity: 0.55; }
.fila-servicio-info { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.fila-servicio-info strong { font-weight: 500; }
.fila-servicio-info small { color: var(--gris); }
.fila-servicio-precio { color: var(--plum); white-space: nowrap; font-weight: 500; }
.fila-servicio-precio.sin-precio { color: var(--fucsia-2); font-size: 0.82rem; font-weight: 400; }
.fila-servicio .editar { color: #d6a9bd; width: 18px; height: 18px; }

/* ---------- Panel: horarios ---------- */
.lista-horarios { display: flex; flex-direction: column; margin-bottom: 12px; }
.fila-horario { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; padding: 8px 0; border-bottom: 1px solid var(--borde); }
.fila-horario:last-child { border-bottom: 0; }
.fila-horario .interruptor { min-width: 120px; }
.horas-rango { display: flex; align-items: center; gap: 6px; }
.horas-rango input { width: 132px; min-height: 44px; padding: 8px 10px; }
.fila-link { display: flex; gap: 8px; }
.fila-link input { flex: 1; font-size: 0.85rem; }

/* ---------- Navegación inferior ---------- */
.nav-inferior {
  position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 50;
  max-width: 536px; margin: 0 auto; display: flex; justify-content: space-around; height: var(--nav-alto); padding: 6px;
  background: rgba(255, 255, 255, 0.95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-radius: 24px; box-shadow: 0 10px 30px rgba(155, 45, 92, 0.16); border: 1px solid var(--borde);
}
.nav-inferior a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: var(--gris); text-decoration: none; font-size: 0.76rem; border-radius: 18px; -webkit-tap-highlight-color: transparent;
}
.nav-inferior a svg { width: 24px; height: 24px; }
.nav-inferior a.activo { color: var(--fucsia-2); background: var(--fucsia-suave); }
.nav-icono { position: relative; display: inline-flex; }
.badge {
  position: absolute; top: -6px; right: -12px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  background: var(--grad); color: var(--blanco); font-size: 0.72rem; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 2px var(--blanco);
}

/* ---------- Hoja modal ---------- */
.sheet-capa { position: fixed; inset: 0; z-index: 100; background: rgba(70, 20, 45, 0.38); display: flex; align-items: flex-end; justify-content: center; opacity: 0; transition: opacity 0.2s; }
.sheet-capa.abierta { opacity: 1; }
.sheet {
  width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto; background: var(--blanco); border-radius: 28px 28px 0 0;
  padding: 20px 18px calc(22px + env(safe-area-inset-bottom)); transform: translateY(30px); transition: transform 0.2s;
}
.sheet-capa.abierta .sheet { transform: translateY(0); }
.sheet-cabecera { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sheet-cabecera h2 { font-size: 1.35rem; }
.sheet .btn-icono { box-shadow: none; background: var(--blush-1); }
.confirmar-texto { margin: 0 0 18px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--nav-alto) + 26px + env(safe-area-inset-bottom)); z-index: 200;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none; max-width: calc(100% - 32px); width: max-content;
  padding: 12px 18px; border-radius: 16px; background: var(--plum); color: var(--blanco); box-shadow: var(--sombra); transition: opacity 0.2s, transform 0.2s;
}
.toast.visible { opacity: 1; transform: translate(-50%, 0); }
.toast.error { background: var(--error); }
.toast.aviso { background: #8a6410; }
.noscript { margin: 40px 20px; padding: 20px; background: var(--blanco); border-radius: var(--radio); }

@media (min-width: 768px) {
  .contenido { padding-top: 32px; }
  .sheet-capa { align-items: center; }
  .sheet { border-radius: 28px; max-height: 86vh; }
  .cal-dia { aspect-ratio: auto; width: 52px; height: 52px; margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ================= Agenda Nail PRO ================= */
.oculto { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ayuda-ok { color: var(--ok) !important; font-weight: 500; }
.logo-monograma {
  display: flex; align-items: center; justify-content: center; flex: none; background: var(--grad); color: #fff;
  font-family: var(--serif); font-weight: 600; letter-spacing: 0.02em; object-fit: cover;
}
img.logo { object-fit: cover; }
.perfil .logo-monograma { margin: 0 auto 14px; }
.input-slug { display: flex; align-items: stretch; border: 1.5px solid var(--borde); border-radius: var(--radio-chico); background: var(--blanco); overflow: hidden; }
.input-slug span { display: flex; align-items: center; padding: 0 4px 0 12px; color: var(--gris); font-size: 0.85rem; white-space: nowrap; }
.input-slug input { border: 0 !important; box-shadow: none !important; padding-left: 2px; min-width: 0; flex: 1; }
.input-slug:focus-within { border-color: var(--fucsia); }
.perfil-logo { display: flex; align-items: center; gap: 18px; }
.perfil-logo .logo { width: 96px; height: 96px; }
.perfil-logo-acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; flex: 1; }
.perfil-logo-acciones .ayuda { flex-basis: 100%; }
label.btn { cursor: pointer; }
.cargando-btn { opacity: 0.6; pointer-events: none; }
.colores { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.color-op {
  width: 38px; height: 38px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: var(--c, #fff);
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--borde); position: relative;
}
.color-op[aria-checked="true"] { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--c); }
.color-libre { background: conic-gradient(#f44, #fd4, #4d6, #4cf, #64f, #f4c, #f44); overflow: hidden; display: inline-block; }
.color-libre input { opacity: 0; width: 100%; height: 100%; cursor: pointer; border: 0; padding: 0; }
.no-disponible h2 { margin-bottom: 6px; }
.landing-lista { margin: 0; padding-left: 1.1em; display: grid; gap: 10px; line-height: 1.45; }
.landing-lista li::marker { color: var(--fucsia); content: '✦  '; }
.btn-chico + .btn-chico { margin-top: 6px; }
.nav-inferior a { font-size: 0.7rem; }

/* Gestión (sólo superadmin) */
.tabs { display: flex; gap: 6px; background: var(--blanco); border: 1px solid var(--borde); border-radius: 999px; padding: 4px; margin-bottom: 16px; }
.tabs button { flex: 1; border: 0; background: none; border-radius: 999px; padding: 10px; font: inherit; color: var(--gris); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--fucsia-suave); color: var(--fucsia-2); font-weight: 500; }
.fila-gestion { display: flex; gap: 12px; align-items: flex-start; }
.fila-gestion .logo { width: 52px; height: 52px; }
.fila-gestion-info { flex: 1; min-width: 0; }
.fila-gestion-info h3 { margin: 0 0 2px; font-size: 1.1rem; }
.fila-gestion-info p { margin: 2px 0; font-size: 0.88rem; color: var(--plum-2); word-break: break-word; }
.chip-activa { background: var(--ok-bg); color: var(--ok); }
.chip-pausada { background: var(--off-bg); color: var(--gris); }
.chip-prueba { background: var(--pend-bg); color: var(--pend); }
.acciones-fila { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.lista-gestion { display: grid; gap: 12px; }
textarea { resize: vertical; min-height: 84px; }

/* ---------- PRO · Panel de la dueña (Agenda / Próximos / Nuevo / Ajustes) ---------- */
.barra-panel { display: flex; align-items: center; gap: 12px; margin: 0 -2px 14px; padding: 4px 0 12px; border-bottom: 1px solid var(--borde); }
.barra-panel .logo { width: 44px; height: 44px; flex: none; }
.barra-panel-textos { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.barra-panel-textos strong { font-family: var(--serif); font-weight: 600; color: var(--plum); font-size: 1.12rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.barra-panel-textos span { font-size: 0.8rem; color: var(--gris); }
.btn-link-top { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--oro-suave); background: var(--blanco); color: var(--plum); font: 500 0.9rem var(--sans); box-shadow: var(--sombra-suave); cursor: pointer; }
.btn-link-top svg { width: 16px; height: 16px; stroke: var(--fucsia); fill: none; stroke-width: 2; stroke-linecap: round; }
.titulo-vista { font-family: var(--serif); font-weight: 600; color: var(--plum); font-size: 1.55rem; margin: 4px 0 12px; }
.dia-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.dia-nav .btn-icono { background: var(--blanco); border: 1px solid var(--borde); box-shadow: var(--sombra-suave); }
.dia-nav-titulo { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.dia-nav-titulo h1 { margin: 0; font-family: var(--serif); font-weight: 600; color: var(--plum); font-size: 1.3rem; }
.dia-nav-titulo span { font-size: 0.82rem; color: var(--fucsia); font-weight: 500; }
.dia-nav-titulo .btn-chico { margin: 0; padding: 2px 10px; font-size: 0.78rem; }
.tira-agenda { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; margin: 0 -18px 4px; padding-left: 18px; padding-right: 18px; scroll-snap-type: x proximity; scrollbar-width: none; }
.tira-agenda::-webkit-scrollbar { display: none; }
.tira-dia { flex: none; width: 62px; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 9px 0 8px; border-radius: 16px; border: 1px solid var(--borde); background: var(--blanco); box-shadow: var(--sombra-suave); cursor: pointer; scroll-snap-align: center; font-family: var(--sans); }
.tira-nombre { font-size: 0.7rem; letter-spacing: 0.06em; color: var(--gris); font-weight: 500; }
.tira-num { font-family: var(--serif); font-size: 1.4rem; color: var(--plum); line-height: 1.15; }
.tira-estado { font-size: 0.68rem; color: var(--gris); min-height: 1em; }
.tira-estado b { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--fucsia-suave); color: var(--fucsia-2); font-size: 0.72rem; }
.tira-dia.cerrado { background: rgba(255, 255, 255, 0.55); box-shadow: none; }
.tira-dia.cerrado .tira-num { color: var(--gris); }
.tira-dia.sel { background: var(--grad); border-color: transparent; box-shadow: var(--sombra-btn); }
.tira-dia.sel .tira-nombre, .tira-dia.sel .tira-num, .tira-dia.sel .tira-estado { color: var(--blanco); }
.tira-dia.sel .tira-estado b { background: rgba(255, 255, 255, 0.28); color: var(--blanco); }
.aviso-pendientes { display: flex; align-items: center; gap: 10px; padding: 12px 14px; margin-bottom: 12px; border-radius: var(--radio-chico); background: var(--pend-bg); color: var(--pend); text-decoration: none; font-size: 0.92rem; border: 1px solid #f3dcae; }
.aviso-pendientes svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; flex: none; }
.aviso-pendientes span:nth-child(2) { flex: 1; }
.contadores { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.contador { background: var(--blanco); border: 1px solid var(--borde); border-radius: var(--radio-chico); box-shadow: var(--sombra-suave); padding: 10px 8px; text-align: center; display: flex; flex-direction: column; }
.contador b { font-family: var(--serif); font-size: 1.45rem; color: var(--plum); font-weight: 600; }
.contador span { font-size: 0.8rem; color: var(--gris); }
.btn-agregar-dia { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 12px 0 8px; padding: 14px; border-radius: var(--radio-chico); border: 1.5px dashed var(--blush-3); background: rgba(255, 255, 255, 0.6); color: var(--fucsia-2); font-weight: 500; text-decoration: none; }
.btn-agregar-dia svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
.chips-filtro { display: flex; gap: 8px; overflow-x: auto; margin: 0 -18px 12px; padding: 2px 18px 6px; scrollbar-width: none; }
.chips-filtro::-webkit-scrollbar { display: none; }
.chip-filtro { flex: none; padding: 8px 15px; border-radius: 999px; border: 1px solid var(--borde); background: var(--blanco); color: var(--plum); text-decoration: none; font-size: 0.9rem; font-weight: 500; box-shadow: var(--sombra-suave); }
.chip-filtro.sel { background: var(--grad); color: var(--blanco); border-color: transparent; box-shadow: var(--sombra-btn); }
.segmentado { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; border-radius: 999px; background: var(--blush-1); border: 1px solid var(--borde); }
.segmentado label { position: relative; cursor: pointer; }
.segmentado input { position: absolute; opacity: 0; pointer-events: none; }
.segmentado span { display: block; text-align: center; padding: 9px 6px; border-radius: 999px; color: var(--plum); font-size: 0.92rem; }
.segmentado input:checked + span { background: var(--blanco); color: var(--fucsia-2); font-weight: 500; box-shadow: var(--sombra-suave); }
.segmentado input:focus-visible + span { outline: 2px solid var(--fucsia); }
#n-libres { min-height: 24px; }
#guardar-ajustes { margin: 4px 0 18px; }
.acciones-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.acciones-3 .btn { width: 100%; min-width: 0; padding-left: 4px; padding-right: 4px; font-size: 0.9rem; }

/* ---------- Modo demo ---------- */
.banner-demo {
  position: sticky; top: 0; z-index: 70; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 12px;
  padding: 7px 12px; background: var(--plum); color: #fff; font-size: 0.78rem; line-height: 1.35; text-align: center;
}
.banner-demo b { background: var(--fucsia, #e23f8c); color: #fff; border-radius: 999px; padding: 1px 8px; font-weight: 600; letter-spacing: 0.02em; }
.banner-demo-acc { display: inline-flex; gap: 10px; align-items: center; }
.banner-demo a { color: #ffd3e8; font-weight: 600; text-decoration: underline; }
.banner-demo button { background: transparent; border: 1px solid rgba(255,255,255,0.45); color: #fff; border-radius: 999px; padding: 2px 10px; font: inherit; cursor: pointer; }
.etiqueta-demo { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #fde3ef; color: var(--plum, #4a1d36); font-family: var(--sans, sans-serif); font-size: 0.7rem; font-weight: 600; vertical-align: middle; letter-spacing: 0.03em; }

/* Acceso con PIN */
.input-pin { font-size: 1.6rem !important; letter-spacing: 0.5em; text-align: center; font-variant-numeric: tabular-nums; }
.input-pin::placeholder { letter-spacing: 0.3em; }
.acceso-olvide { text-align: center; margin: 0; }
.check-linea { display: flex; align-items: center; gap: 8px; margin: 2px 0 12px; font-size: 0.95rem; color: var(--gris); }
.check-linea input[type="checkbox"] { width: 20px; height: 20px; min-height: 0; padding: 0; margin: 0; flex: none; appearance: auto; -webkit-appearance: checkbox; border: 0; box-shadow: none; accent-color: var(--fucsia); }
.codigo-activacion { margin: 14px 0 8px; padding: 14px; border-radius: 16px; background: var(--fucsia-suave); text-align: center; font-size: 1.9rem; font-weight: 700; letter-spacing: 0.18em; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--plum); user-select: all; }
.input-codigo { text-transform: uppercase; letter-spacing: 0.2em; text-align: center; font-size: 1.25rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.acceso-alterno { margin-top: 6px; }

/* ---------- Fotos de servicios, extras y seña ---------- */
.miniatura-foto { padding: 0; border: 0; overflow: hidden; cursor: zoom-in; background: var(--blush-1); }
.opcion-servicio .miniatura-foto { width: 64px; height: 64px; border-radius: 16px; }
.miniatura-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.miniatura-foto::after { display: none; }
.miniatura-foto:focus-visible { outline: 3px solid rgba(226, 63, 140, 0.45); outline-offset: 2px; }
.miniatura-n { position: absolute; right: 4px; bottom: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: rgba(59, 36, 48, 0.72); color: #fff; font-size: 0.7rem; line-height: 18px; text-align: center; }
.opcion-desc { color: var(--gris); font-size: 0.86rem; line-height: 1.3; margin: 1px 0 2px; }
.chip-sena { align-self: flex-start; margin-top: 5px; padding: 2px 9px; border-radius: 999px; background: var(--blush-1);
  color: var(--fucsia-2); font-size: 0.78rem; font-weight: 500; white-space: nowrap; }
.resumen-sena { color: var(--fucsia-2); font-weight: 400; white-space: nowrap; }
.nota-extras { margin-top: 12px; padding: 12px 14px; border-radius: 16px; border: 1.5px dashed var(--blush-3); background: #fffafb; font-size: 0.94rem; }
.nota-extras p { margin: 0; }
.nota-extras p + p { margin-top: 6px; }
.nota-extras-titulo { display: flex; align-items: center; gap: 6px; font-weight: 500; color: var(--plum); margin-bottom: 4px !important; }
.nota-extras-titulo svg { width: 16px; height: 16px; color: var(--oro); }
.nota-extras-precio { color: var(--plum); font-weight: 500; white-space: nowrap; }
.caja-sena { display: flex; flex-direction: column; gap: 10px; border: 1.5px solid var(--blush-3); }
.caja-sena p { margin: 0; line-height: 1.45; }
.caja-sena-titulo { display: flex; align-items: center; gap: 6px; font-weight: 500; color: var(--plum); }
.caja-sena-titulo svg { width: 18px; height: 18px; color: var(--oro); }
.caja-sena .alias { color: var(--fucsia-2); word-break: break-all; }
.pedido-sena { margin: 2px 0 0; color: var(--fucsia-2); font-size: 0.92rem; }

/* Visor de fotos */
.visor-capa { position: fixed; inset: 0; z-index: 200; background: rgba(25, 10, 18, 0.92); display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.18s; touch-action: pan-y; }
.visor-capa.abierta { opacity: 1; }
.visor-fig { margin: 0; max-width: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 0 12px; }
.visor-img { max-width: min(100%, 800px); max-height: calc(100vh - 120px); max-height: calc(100dvh - 120px); border-radius: 14px; object-fit: contain; background: #2a1a22; }
.visor-fig figcaption { color: #fff; font-size: 0.95rem; text-align: center; }
.visor-cuenta { opacity: 0.7; }
.visor-cerrar, .visor-flecha { position: absolute; border: 0; border-radius: 50%; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.16); color: #fff; cursor: pointer; }
.visor-cerrar svg, .visor-flecha svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.visor-cerrar { top: calc(12px + env(safe-area-inset-top)); right: 12px; }
.visor-flecha { top: 50%; transform: translateY(-50%); }
.visor-ant { left: 8px; }
.visor-sig { right: 8px; }

/* Panel: fotos del servicio y horarios fijos */
.fila-servicio .miniatura-foto { cursor: pointer; }
.fotos-srv { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fotos-srv.subiendo { pointer-events: none; opacity: 0.7; }
.foto-srv { display: flex; flex-direction: column; gap: 6px; }
.foto-srv-ver { padding: 0; border: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 1; background: var(--blush-1); cursor: zoom-in; }
.foto-srv-ver img { width: 100%; height: 100%; object-fit: cover; display: block; }
.foto-srv-acc { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; }
.foto-srv-acc .btn { min-height: 38px; padding: 6px 12px; font-size: 0.88rem; }
.foto-srv-agregar { aspect-ratio: 1; border: 1.5px dashed var(--blush-3); border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; color: var(--fucsia-2); cursor: pointer; background: #fffafb; font-size: 0.92rem; }
.foto-srv-agregar svg { width: 26px; height: 26px; }
.foto-srv-estado { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; margin: 0; }
#h-modo { margin-bottom: 8px; }
.horas-fijas { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.chips-horas { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-hora { display: inline-flex; align-items: center; gap: 2px; padding: 4px 4px 4px 11px; border-radius: 999px; background: var(--blush-1); border: 1px solid var(--borde); font-weight: 500; font-size: 0.92rem; }
.chip-hora button { border: 0; background: transparent; color: var(--gris); width: 26px; height: 26px; border-radius: 50%; font-size: 1.05rem; line-height: 1; cursor: pointer; }
.hf-agregar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.hf-agregar input { width: auto; flex: 0 0 auto; }
.btn-texto { background: transparent; color: var(--fucsia-2); min-height: 40px; box-shadow: none; }
.caja-sena b:not(.alias), .chip-sena, .pedido-sena b { white-space: nowrap; }

/* ---------- Fotos de referencia (reserva) ---------- */
.refs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.ref-mini { position: relative; width: 78px; height: 78px; }
.ref-ver { display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: var(--radio-chico); overflow: hidden; cursor: zoom-in; background: var(--fucsia-suave); }
.ref-ver img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ref-quitar {
  position: absolute; top: -7px; right: -7px; width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff;
  background: var(--texto); color: #fff; display: grid; place-items: center; padding: 0; cursor: pointer; box-shadow: var(--sombra-suave);
}
.ref-quitar svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2.4; fill: none; stroke-linecap: round; }
.ref-agregar {
  width: 78px; height: 78px; border: 1.5px dashed #eaa3c3; border-radius: var(--radio-chico); background: #fff7fa; color: var(--fucsia-2);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font: 500 0.78rem var(--sans); cursor: pointer;
}
.ref-agregar svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.refs-estado { flex-basis: 100%; }
.estado-refs { margin: 14px 0 0; padding: 12px 14px; border-radius: var(--radio-chico); background: #fff7fa; color: var(--gris); font-size: 0.92rem; text-align: center; }
.estado-refs svg { width: 16px; height: 16px; vertical-align: -3px; margin-right: 6px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.estado-refs.refs-ok { background: #eaf7ef; color: #2c7a4b; }
.estado-refs.refs-falla { background: #fff4e5; color: #8a5a12; }

/* ---------- Fotos de referencia (panel) ---------- */
.pedido-refs { margin: 8px 0 2px; }
.pedido-refs-txt { display: inline-flex; align-items: center; gap: 6px; font-size: 0.84rem; color: var(--gris); }
.pedido-refs-txt svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.pedido-refs-minis { display: flex; gap: 8px; margin-top: 6px; }
.ref-mini-panel { width: 64px; height: 64px; padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: zoom-in; background: var(--fucsia-suave); }
.ref-mini-panel img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ref-mini-panel img:not([src]) { visibility: hidden; }
.ref-mini-panel.ref-sin { cursor: default; opacity: 0.5; }

/* ---------- Notificaciones (panel) ---------- */
.aviso-notif {
  display: flex; align-items: center; gap: 10px; margin: 0 0 14px; padding: 12px 12px 12px 14px; border-radius: var(--radio-chico);
  background: #fff7fa; border: 1px solid var(--borde); font-size: 0.9rem; color: var(--texto);
}
.aviso-notif > svg { width: 22px; height: 22px; flex: none; stroke: var(--fucsia); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.aviso-notif > span { flex: 1; }
.aviso-notif .btn-chico { flex: none; text-decoration: none; }
.aviso-notif-cerrar { flex: none; width: 32px; height: 32px; border: 0; background: none; color: var(--gris); padding: 4px; cursor: pointer; }
.aviso-notif-cerrar svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; }
.estado-notif { margin: 6px 0 12px; }
.chip-notif { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 500; }
.chip-notif-ok { background: #e3f5ea; color: #2c7a4b; }
.chip-notif-apagado { background: #f3edf0; color: var(--gris); }
.chip-notif-error { background: #fde9ec; color: var(--error); }
#sec-notif .btn svg { width: 18px; height: 18px; margin-right: 6px; vertical-align: -3px; stroke: currentColor; fill: none; stroke-width: 1.7; }
#sec-notif .ayuda { margin-top: 10px; }
#sec-notif .btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.pasos-ios { margin: 0 0 12px; padding: 12px 14px; border-radius: var(--radio-chico); background: #fff7fa; font-size: 0.92rem; }
