/* Laura Sentium · «Mi agenda» · «Granate noche» (Claude Design, export-final/Mi Agenda Sentium Final). */

body:has(.lsa) { margin: 0; background: #F5EDDB; }
body:has(.lsa) .wp-site-blocks { padding: 0 !important; }
.lsa-pagina { margin: 0 !important; padding: 0 !important; max-width: none !important; }

.lsa {
	--a-granate: #4D2430;
	--a-granate-deep: #3A1A24;
	--a-granate-light: #6E4A55;
	--a-crema: #F5EDDB;
	--a-crema-light: #FBF7F0;
	--a-linea: #E6D9C4;
	--a-oro: #D4B47A;
	--a-oro-claro: #F0DDB4;
	--a-nude: #E5C7BB;
	--a-titulo: 'Cormorant', Georgia, serif;
	--a-ancho: 640px;
	position: fixed;
	inset: 0;
	z-index: 1;
	display: flex;
	flex-direction: column;
	background: var(--a-crema);
	color: var(--a-granate);
	font-family: 'Montserrat', sans-serif;
	-webkit-font-smoothing: antialiased;
}
.lsa *, .lsa *::before, .lsa *::after { box-sizing: border-box; }
.lsa a { color: var(--a-granate); text-underline-offset: 3px; }
.lsa button, .lsa input, .lsa textarea { font-family: inherit; }
.lsa button { cursor: pointer; }
.lsa :focus-visible { outline: 2px solid var(--a-oro); outline-offset: 2px; }
.lsa input::placeholder, .lsa textarea::placeholder { color: var(--a-granate-light); }
@keyframes lsaGira { to { transform: rotate(360deg); } }
@keyframes lsaSube { from { transform: translateY(100%); } to { transform: none; } }
.lsa-cargando { margin: auto; font-size: 15px; }
.lsa-giro { width: 18px; height: 18px; border-radius: 999px; border: 2px solid currentColor; border-right-color: transparent; animation: lsaGira .8s linear infinite; flex: none; }

/* ---------- Entrar ---------- */
.lsa-entrar { flex: 1; overflow: auto; display: flex; flex-direction: column; }
.lsa-entrar__cab { background: var(--a-granate); color: var(--a-crema); padding: 56px 24px 40px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lsa-entrar__cab img { width: 190px; height: auto; }
.lsa-entrar__titulo { font-family: var(--a-titulo); font-size: 34px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.lsa-entrar__cab i { width: 56px; height: 1px; background: var(--a-oro); }
.lsa-entrar form { width: 100%; max-width: 420px; margin: 0 auto; padding: 28px 20px 40px; display: flex; flex-direction: column; gap: 18px; }

/* ---------- Estructura ---------- */
.lsa-cab { flex: none; background: var(--a-granate); color: var(--a-crema); }
.lsa-cab__in { max-width: var(--a-ancho); margin: 0 auto; height: 64px; padding: 0 12px 0 16px; display: flex; align-items: center; gap: 10px; }
.lsa-cab__logo { height: 38px; width: auto; margin-left: -6px; }
.lsa-cab__titulo { margin-left: auto; font-family: var(--a-titulo); font-size: 22px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.lsa-cab__volver { height: 48px; padding: 0 10px 0 2px; margin-left: -4px; border: 0; background: none; color: var(--a-crema); font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 4px; }
.lsa-cab__salir { width: 48px; height: 48px; border: 0; background: none; color: var(--a-crema) !important; display: flex; align-items: center; justify-content: center; }
.lsa-cuerpo { flex: 1; overflow: auto; -webkit-overflow-scrolling: touch; }
.lsa-cuerpo__in { max-width: var(--a-ancho); margin: 0 auto; padding: 22px 16px 32px; display: flex; flex-direction: column; gap: 16px; }
.lsa-nav { flex: none; background: var(--a-granate-deep); padding-bottom: env(safe-area-inset-bottom); }
.lsa-nav__in { max-width: var(--a-ancho); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.lsa-nav button { height: 72px; border: 0; border-top: 3px solid transparent; background: transparent; color: var(--a-crema); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; font-size: 12px; font-weight: 600; letter-spacing: .06em; }
.lsa-nav button[aria-current="page"] { border-top-color: var(--a-oro); background: rgba(255, 255, 255, .06); }
.lsa-nav button[aria-current="page"] svg { stroke: var(--a-oro); }
.lsa-pie { flex: none; background: var(--a-crema-light); border-top: 1px solid var(--a-linea); padding-bottom: env(safe-area-inset-bottom); }
.lsa-pie__in { max-width: var(--a-ancho); margin: 0 auto; padding: 12px 16px; display: grid; grid-template-columns: 1fr 2fr; gap: 10px; }

/* ---------- Piezas ---------- */
.lsa-h1 { font-family: var(--a-titulo); font-size: 36px; font-weight: 500; line-height: 1.05; color: var(--a-granate-deep); margin: 0; }
.lsa-etq { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; }
.lsa-sub { font-size: 15px; line-height: 1.5; }
.lsa-caja { background: var(--a-crema-light); border: 1px solid var(--a-linea); }
.lsa-btn { height: 58px; border: 0; border-radius: 2px; background: var(--a-granate); color: var(--a-crema) !important; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; display: flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; width: 100%; }
.lsa-btn--borde { background: transparent; border: 1px solid var(--a-granate); color: var(--a-granate) !important; }
.lsa-btn--claro { background: var(--a-crema-light); border: 1px solid var(--a-granate); color: var(--a-granate) !important; }
.lsa-btn--off { background: var(--a-linea); color: var(--a-granate) !important; }
.lsa-btn--grande { height: 62px; font-size: 15px; }
.lsa-enlace { min-height: 48px; padding: 0; border: 0; background: none; color: var(--a-granate); font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; align-self: flex-start; }
.lsa-enlace--suave { font-weight: 400; font-size: 14px; }
.lsa-campo { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
.lsa-campo input, .lsa-campo textarea { height: 56px; padding: 0 16px; border: 1px solid var(--a-linea); border-radius: 2px; background: var(--a-crema-light); font-size: 17px; font-weight: 400; color: var(--a-granate-deep); width: 100%; }
.lsa-campo textarea { height: auto; padding: 14px 16px; line-height: 1.4; resize: none; }
.lsa-campo small { font-size: 13px; font-weight: 400; }
.lsa-campo--error input { border-color: var(--a-granate); }
.lsa-aviso { display: flex; gap: 12px; align-items: flex-start; background: var(--a-nude); color: var(--a-granate-deep); padding: 14px 16px; font-size: 15px; line-height: 1.5; }
.lsa-etiqueta { align-self: flex-start; font-size: 13px; font-weight: 600; color: var(--a-granate-deep); padding: 5px 9px; line-height: 1.35; }
.lsa-etiqueta--senal { background: var(--a-nude); }
.lsa-etiqueta--bono { background: var(--a-linea); }
.lsa-etiqueta--regalo { background: var(--a-oro); }
.lsa-vacio { padding: 32px 20px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.lsa-vacio__icono { width: 60px; height: 60px; border-radius: 999px; border: 1px solid var(--a-granate); display: flex; align-items: center; justify-content: center; }
.lsa-vacio__icono--error { border: 0; background: var(--a-nude); color: var(--a-granate-deep); }
.lsa-vacio strong { font-family: var(--a-titulo); font-size: 30px; font-weight: 600; line-height: 1.1; color: var(--a-granate-deep); }
.lsa-esqueleto { height: 110px; background: var(--a-crema-light); border: 1px solid var(--a-linea); position: relative; overflow: hidden; }
.lsa-esqueleto::after { content: ""; position: absolute; inset: 16px; background: linear-gradient(90deg, #EFE5D3 0 18%, transparent 18% 24%, #EFE5D3 24% 80%, transparent 80%); opacity: .8; }
.lsa-cargando-txt { display: flex; align-items: center; gap: 10px; font-size: 15px; }

/* Hoy */
.lsa-citas { display: flex; flex-direction: column; gap: 12px; }
.lsa-cita { width: 100%; text-align: left; background: var(--a-crema-light); color: var(--a-granate-deep); border: 1px solid var(--a-linea); border-radius: 2px; padding: 16px; display: grid; grid-template-columns: 62px minmax(0, 1fr) 20px; gap: 14px; align-items: center; }
.lsa-cita--ahora { background: var(--a-granate); color: var(--a-crema); border-color: var(--a-granate); }
.lsa-cita--hecha { opacity: .7; }
.lsa-cita__hora { display: flex; flex-direction: column; gap: 2px; align-self: start; }
.lsa-cita__hora b { font-family: var(--a-titulo); font-size: 30px; font-weight: 600; line-height: 1; }
.lsa-cita__hora span { font-size: 13px; color: var(--a-granate); }
.lsa-cita--ahora .lsa-cita__hora span { color: var(--a-oro-claro); }
.lsa-cita__txt { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.lsa-cita__txt strong { font-size: 17px; font-weight: 600; line-height: 1.3; }
.lsa-cita__txt > span { font-size: 15px; }
.lsa-cita__sello { align-self: flex-start; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; background: var(--a-oro); color: var(--a-granate-deep); padding: 5px 9px; }
.lsa-cita__estado { font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.lsa-dias { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px; padding: 0 16px 6px; scrollbar-width: none; }
.lsa-dia { flex: none; width: 68px; height: 84px; border-radius: 2px; border: 1px solid var(--a-linea); background: var(--a-crema-light); color: var(--a-granate-deep); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.lsa-dia span:first-child { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.lsa-dia b { font-family: var(--a-titulo); font-size: 28px; font-weight: 600; line-height: 1; }
.lsa-dia span:last-child { font-size: 11px; font-weight: 500; }
.lsa-dia[aria-pressed="true"] { background: var(--a-granate); border-color: var(--a-granate); color: var(--a-crema); }
.lsa-dia--cerrado { opacity: .55; }

/* Detalle */
.lsa-estado { padding: 16px; display: flex; gap: 12px; align-items: center; }
.lsa-estado--vino { background: var(--a-granate); color: var(--a-crema); }
.lsa-estado--novino { background: var(--a-nude); color: var(--a-granate-deep); }
.lsa-estado__txt { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.lsa-estado__txt strong { font-size: 17px; }
.lsa-estado__txt span { font-size: 14px; line-height: 1.45; }
.lsa-estado button { flex: none; height: 48px; padding: 0 6px; border: 0; background: none; color: inherit; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.lsa-titulo-cita { font-family: var(--a-titulo); font-size: 34px; font-weight: 600; line-height: 1.05; color: var(--a-granate-deep); }
.lsa-cobra { position: relative; background: var(--a-granate); color: var(--a-crema); padding: 20px 22px; display: flex; flex-direction: column; gap: 4px; }
.lsa-cobra::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(212, 180, 122, .45); pointer-events: none; }
.lsa-cobra .lsa-etq { color: var(--a-oro-claro); }
.lsa-cobra b { font-family: var(--a-titulo); font-size: 56px; font-weight: 600; line-height: 1; color: var(--a-oro); }
.lsa-cobra b.es-texto { font-size: 34px; }
.lsa-cobra span:last-child { font-size: 14px; line-height: 1.5; }
.lsa-clienta { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.lsa-clienta__abrir { text-align: left; border: 0; background: none; padding: 0; color: var(--a-granate-deep); display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; }
.lsa-clienta__abrir strong { font-size: 20px; display: block; }
.lsa-clienta__abrir span span { font-size: 15px; color: var(--a-granate); }
.lsa-dos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lsa-dos .lsa-btn { height: 52px; font-size: 13px; }
.lsa-puntos { display: flex; gap: 4px; }
.lsa-puntos i { flex: 1; height: 8px; background: var(--a-linea); }
.lsa-puntos i.es-lleno { background: var(--a-granate); }
.lsa-atajo { background: var(--a-nude); color: var(--a-granate-deep); padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.lsa-atajo strong { font-family: var(--a-titulo); font-size: 26px; font-weight: 600; line-height: 1.1; }

/* Vender */
.lsa-progreso { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 600; }
.lsa-progreso div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.lsa-progreso i { height: 4px; background: var(--a-linea); }
.lsa-progreso i.es-hecho { background: var(--a-granate); }
.lsa-tipos { display: grid; grid-template-columns: 1fr; gap: 12px; }
.lsa-tipo { min-height: 168px; border: 0; border-radius: 2px; background: var(--a-granate); color: var(--a-crema); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 20px; }
.lsa-tipo--regalo { background: var(--a-granate-deep); }
.lsa-tipo b { font-family: var(--a-titulo); font-size: 32px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; line-height: 1; }
.lsa-tipo span { font-size: 14px; }
.lsa-opciones { display: flex; flex-direction: column; gap: 10px; }
.lsa-op { text-align: left; min-height: 60px; padding: 12px 16px; border: 1px solid var(--a-linea); border-radius: 2px; background: var(--a-crema-light); color: var(--a-granate-deep); display: flex; align-items: center; gap: 14px; }
.lsa-op[aria-pressed="true"] { border: 2px solid var(--a-granate); }
.lsa-op__punto { flex: none; width: 26px; height: 26px; border-radius: 999px; border: 1px solid var(--a-granate); }
.lsa-op[aria-pressed="true"] .lsa-op__punto { border: 8px solid var(--a-granate); }
.lsa-op__txt { flex: 1; display: flex; flex-direction: column; gap: 3px; font-size: 16px; font-weight: 600; }
.lsa-op__txt span { font-size: 14px; font-weight: 400; color: var(--a-granate); }
.lsa-op b { font-family: var(--a-titulo); font-size: 28px; font-weight: 600; }
.lsa-interruptor { text-align: left; min-height: 84px; padding: 16px; border: 1px solid var(--a-linea); border-radius: 2px; background: var(--a-crema-light); color: var(--a-granate-deep); display: flex; align-items: center; gap: 14px; }
.lsa-interruptor[aria-checked="true"] { border: 2px solid var(--a-granate); }
.lsa-interruptor > span:first-child { flex: 1; display: flex; flex-direction: column; gap: 4px; font-size: 16px; font-weight: 600; line-height: 1.35; }
.lsa-interruptor small { font-size: 13px; font-weight: 400; color: var(--a-granate); }
.lsa-interruptor i { flex: none; width: 56px; height: 32px; border-radius: 999px; background: var(--a-linea); position: relative; transition: background .2s; }
.lsa-interruptor i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 999px; background: var(--a-crema-light); transition: transform .2s; }
.lsa-interruptor[aria-checked="true"] i { background: var(--a-granate); }
.lsa-interruptor[aria-checked="true"] i::after { transform: translateX(24px); }
.lsa-pagos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.lsa-pago { height: 100px; border: 1px solid var(--a-granate); border-radius: 2px; background: var(--a-crema-light); color: var(--a-granate); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 600; }
.lsa-pago[aria-pressed="true"] { background: var(--a-granate); color: var(--a-crema); }
.lsa-cobra--grande b { font-size: 64px; }
.lsa-resumen span { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--a-linea); font-size: 15px; }
.lsa-resumen span b { text-align: right; }
.lsa-hecho { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding-top: 12px; }
.lsa-hecho__icono { width: 76px; height: 76px; border-radius: 999px; background: var(--a-granate); display: flex; align-items: center; justify-content: center; }
.lsa-codigo { width: 100%; background: var(--a-crema-light); border: 1px dashed var(--a-granate); padding: 20px 16px; display: flex; flex-direction: column; gap: 6px; align-items: center; }
.lsa-codigo b { font-family: ui-monospace, Menlo, monospace; font-size: 30px; letter-spacing: .06em; color: var(--a-granate-deep); }

/* Clientas y regalos */
.lsa-buscar { position: relative; }
.lsa-buscar svg { position: absolute; left: 16px; top: 18px; pointer-events: none; }
.lsa-buscar input { width: 100%; height: 58px; padding: 0 16px 0 50px; border: 1px solid var(--a-granate); border-radius: 2px; background: var(--a-crema-light); font-size: 17px; color: var(--a-granate-deep); }
.lsa-fila { text-align: left; width: 100%; padding: 16px; border: 1px solid var(--a-linea); border-radius: 2px; background: var(--a-crema-light); color: var(--a-granate-deep); display: flex; align-items: center; gap: 12px; }
.lsa-fila__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.lsa-fila__txt strong { font-size: 18px; }
.lsa-fila__txt > span { font-size: 15px; color: var(--a-granate); }
.lsa-bono { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.lsa-bono--apagado { opacity: .65; }
.lsa-bono__quedan { font-family: var(--a-titulo); font-size: 30px; font-weight: 600; line-height: 1; color: var(--a-granate-deep); }
.lsa-historial span { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-top: 1px solid var(--a-linea); font-size: 14px; line-height: 1.45; }
.lsa-historial span b { font-weight: 600; }
.lsa-correcciones { display: flex; flex-wrap: wrap; gap: 0 18px; border-top: 1px solid var(--a-linea); padding-top: 4px; }
.lsa-filtros { display: flex; gap: 6px; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; }
.lsa-filtros button { flex: none; height: 44px; padding: 0 14px; border: 1px solid var(--a-granate); border-radius: 2px; background: transparent; color: var(--a-granate); font-size: 13px; font-weight: 600; }
.lsa-filtros button[aria-pressed="true"] { background: var(--a-granate); color: var(--a-crema); }
.lsa-regalo { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.lsa-regalo__cab { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.lsa-regalo__cab b { font-family: ui-monospace, Menlo, monospace; font-size: 18px; letter-spacing: .04em; color: var(--a-granate-deep); }
.lsa-regalo__estado { font-size: 12px; font-weight: 600; color: var(--a-granate-deep); padding: 5px 9px; background: var(--a-linea); }
.lsa-regalo__estado--sin_usar { background: var(--a-oro); }
.lsa-regalo__estado--caducado { background: var(--a-nude); }
.lsa-regalo__pie { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 4px; font-size: 13px; }
.lsa-regalo__pie a { flex: none; height: 48px; padding: 0 16px; border: 1px solid var(--a-granate); border-radius: 2px; display: flex; align-items: center; gap: 8px; text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }

/* Avisos (suben desde abajo) */
.lsa-velo { position: absolute; inset: 0; z-index: 40; background: rgba(46, 24, 30, .55); }
.lsa-hoja { position: absolute; z-index: 41; left: 0; right: 0; bottom: 0; max-width: 520px; margin: 0 auto; background: var(--a-crema-light); padding: 26px 20px calc(22px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 12px; box-shadow: 0 -14px 40px rgba(46, 24, 30, .25); animation: lsaSube .25s ease-out; }
.lsa-hoja__icono { width: 56px; height: 56px; border-radius: 999px; display: flex; align-items: center; justify-content: center; background: var(--a-granate); color: var(--a-oro); }
.lsa-hoja__icono--error, .lsa-hoja__icono--pregunta { background: var(--a-nude); color: var(--a-granate-deep); }
.lsa-hoja strong { font-family: var(--a-titulo); font-size: 28px; font-weight: 600; line-height: 1.1; color: var(--a-granate-deep); }
.lsa-hoja > span { font-size: 15px; line-height: 1.5; }
.lsa-motivos { display: flex; flex-wrap: wrap; gap: 6px; }
.lsa-motivos button { height: 46px; padding: 0 14px; border: 1px solid var(--a-granate); border-radius: 2px; background: transparent; color: var(--a-granate); font-size: 14px; }
.lsa-motivos button[aria-pressed="true"] { background: var(--a-granate); color: var(--a-crema); }
.lsa-hoja .lsa-btn--peligro { background: var(--a-granate-deep); }

@media (min-width: 900px) {
	.lsa { --a-ancho: 760px; }
	.lsa-tipos { grid-template-columns: 1fr 1fr; }
}
.lsa-promo { margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--a-oro-claro); }
.lsa-config { margin-top: 14px; gap: 10px; }
.lsa-cab__salir { flex: none; } .lsa-cab__in .lsa-cab__salir + .lsa-cab__salir { margin-left: -6px; }
@media (max-width: 420px) { .lsa-cab__titulo { font-size: 18px; } .lsa-cab__logo { height: 32px; } }
