/* NODUS Turnos — diseño estándar (P1.2). Estructura y navegación fijas; la identidad de cada negocio llega por
   /{slug}/marca.css y /panel/marca.css (variables --marca-*), y el tema por <html data-tema="oscuro|claro">.
   Capas: tokens de tema -> componentes base -> página pública -> panel -> compatibilidad de pantallas anteriores.
   CSP: sin estilos en línea. Mobile first. */

/* ================================================================== 1. Tokens (marca por defecto y temas) */
:root {
  --marca-acento: #E16E54; --marca-acento-fuerte: #C95A42; --marca-sobre-acento: #111111; --marca-acento-texto: #E16E54; --marca-acento-claro: #E16E54;
  --marca-oscuro: #111111; --marca-grafito: #202020; --marca-claro: #F5F1EB;
  --fuente-marca: "Inter", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --fuente-ui: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --radio: 14px; --radio-grande: 20px;
}
:root, :root[data-tema="oscuro"] {
  color-scheme: dark;
  --fondo: var(--marca-oscuro); --fondo-2: #161514; --superficie: #1a1918; --superficie-2: var(--marca-grafito); --superficie-3: #2b2927;
  --borde: rgba(245, 241, 235, .11); --borde-fuerte: rgba(245, 241, 235, .24);
  --texto: var(--marca-claro); --texto-2: #d6cfc4; --texto-suave: #a39b91;
  --acento: var(--marca-acento); --acento-fuerte: var(--marca-acento-fuerte); --acento-texto: var(--marca-acento-texto); --sobre-acento: var(--marca-sobre-acento);
  --acento-tinte: color-mix(in srgb, var(--marca-acento) 15%, transparent); --acento-borde: color-mix(in srgb, var(--marca-acento) 55%, transparent);
  --ok: #8fd7a6; --ok-fondo: #13291b; --error: #ff8a73; --error-fondo: #3a1d17; --error-texto: #ffc7bb; --aviso: #f3cf82; --aviso-fondo: #33290f;
  --veladura: rgba(0, 0, 0, .72); --sombra: 0 18px 40px rgba(0, 0, 0, .45); --sombra-suave: 0 10px 28px rgba(0, 0, 0, .28);
  --campo-fondo: #151413; --campo-borde: rgba(245, 241, 235, .18); --campo-placeholder: #7d766d;
  --figura: #34312e; --figura-borde: #1d1b1a; --figura-linea: #8c8479; --figura-hover: #3a3733;
}
:root[data-tema="claro"] {
  color-scheme: light;
  --fondo: var(--marca-claro); --fondo-2: #ece6dc; --superficie: #fffdf9; --superficie-2: #f3eee6; --superficie-3: #e6dfd3;
  --borde: rgba(17, 17, 17, .12); --borde-fuerte: rgba(17, 17, 17, .3);
  --texto: var(--marca-oscuro); --texto-2: #3b362f; --texto-suave: #675f55;
  --acento-tinte: color-mix(in srgb, var(--marca-acento) 16%, transparent); --acento-borde: color-mix(in srgb, var(--marca-acento-fuerte) 60%, transparent);
  --ok: #1a7f37; --ok-fondo: #e7f5ea; --error: #a63a24; --error-fondo: #fbe9e4; --error-texto: #6e1f10; --aviso: #7a4f00; --aviso-fondo: #fff1d1;
  --veladura: rgba(17, 17, 17, .55); --sombra: 0 18px 40px rgba(17, 17, 17, .18); --sombra-suave: 0 10px 28px rgba(17, 17, 17, .08);
  --campo-fondo: #fffdf9; --campo-borde: rgba(17, 17, 17, .24); --campo-placeholder: #8d857a;
  --figura: #f1ebe1; --figura-borde: #d9cfc0; --figura-linea: #6d655b; --figura-hover: #d8cfc1;
}
/* compatibilidad con las variables de las pantallas anteriores */
:root { --marca: var(--acento); --marca-texto: var(--sobre-acento); --enlace: var(--acento-texto); --campo: var(--campo-fondo); --suave: var(--texto-suave); }

/* ================================================================== 2. Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--fondo); scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; } }
body { margin: 0; font-family: var(--fuente-ui); font-size: 16px; line-height: 1.55; background: var(--fondo); color: var(--texto); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(26px, 6.6vw, 34px); line-height: 1.15; font-weight: 750; letter-spacing: -.02em; margin-bottom: 8px; }
h2 { font-size: 18px; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; margin: 26px 0 12px; }
h3 { font-size: 16px; font-weight: 700; }
a { color: var(--acento-texto); text-underline-offset: 3px; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--acento); outline-offset: 2px; }
code, .codigo { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; }
code { font-size: .9em; padding: 2px 7px; border-radius: 6px; background: var(--acento-tinte); color: var(--acento-texto); }
.solo-lectores { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.texto-suave, .nota { color: var(--texto-suave); }
.nota { font-size: .92rem; }
.centrada { text-align: center; }
.vacio { padding: 22px 18px; text-align: center; color: var(--texto-suave); border: 1.5px dashed var(--borde-fuerte); border-radius: var(--radio-grande); }
.sobretitulo { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--texto-suave); font-weight: 650; margin-bottom: 8px; }
.trampa { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.destacada { background: var(--aviso-fondo); color: var(--aviso); padding: 10px 14px; border-radius: 12px; }

/* ================================================================== 3. Componentes */
/* Marca (logo + nombre). Única pieza que usa la tipografía de marca dentro del panel. */
.marca { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; min-width: 0; }
.marca img { width: 40px; height: 40px; object-fit: contain; flex: none; border-radius: 8px; }
.marca-texto { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.marca-texto b { font-family: var(--fuente-marca); font-size: 18px; letter-spacing: .12em; font-weight: 700; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.marca-texto small { font-size: 9px; letter-spacing: .5em; color: var(--acento-texto); margin-top: 5px; font-weight: 650; text-transform: uppercase; }
.lateral .marca-texto b { white-space: normal; line-height: 1.15; overflow-wrap: anywhere; } /* nombres largos: dos lineas en vez de cortarse */
.marca .inicial-marca { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--acento); color: var(--acento-texto); font-family: var(--fuente-marca); font-weight: 700; font-size: 18px; }

/* Botones (nuevos .btn y anteriores .boton) */
.btn, .boton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border: 1.5px solid transparent; border-radius: 999px;
  background: var(--acento); color: var(--sobre-acento); font: inherit; font-weight: 700; letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .1s; }
.btn:hover, .boton-primario:hover, .boton-cta:hover { background: var(--acento-fuerte); }
.btn:active, .boton:active { transform: translateY(1px); }
.btn[disabled], .boton:disabled { background: var(--superficie-3); color: var(--texto-suave); border-color: var(--borde); cursor: not-allowed; }
.btn-sec, .boton-secundario { background: transparent; color: var(--texto); border-color: var(--borde-fuerte); }
.btn-sec:hover, .boton-secundario:hover { background: var(--superficie-3); border-color: var(--texto-suave); }
.boton-primario, .boton-cta { background: var(--acento); color: var(--sobre-acento); }
.boton-peligro { background: transparent; color: var(--error); border-color: var(--error); }
.boton-peligro:hover { background: var(--error-fondo); }
.btn-chico, .boton-chico { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn-ancho, .boton-ancho { width: 100%; }
.btn-grande { min-height: 56px; font-size: 17px; }
.btn-texto, .enlace { background: none; border: 0; color: var(--acento-texto); padding: 8px 4px; min-height: 40px; text-decoration: underline; text-underline-offset: 3px; font: inherit; font-weight: 600; cursor: pointer; }

/* Campos */
.campo { display: block; }
.campo > span, .etiqueta-campo { display: block; font-size: 12.5px; letter-spacing: .09em; text-transform: uppercase; font-weight: 700; margin-bottom: 8px; color: var(--texto-2); }
.campo > small, .ayuda-campo { display: block; margin-top: 8px; font-size: 13.5px; color: var(--texto-suave); }
input, select, textarea, .entrada { font: inherit; width: 100%; min-height: 50px; padding: 12px 16px; border: 1.5px solid var(--campo-borde); border-radius: 12px; background: var(--campo-fondo); color: var(--texto); transition: border-color .15s, box-shadow .15s; }
textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: var(--campo-placeholder); }
input:hover, select:hover, textarea:hover { border-color: var(--texto-suave); }
input:focus, select:focus, textarea:focus { border-color: var(--acento); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--acento) 28%, transparent); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--error); }
input[type="checkbox"], input[type="radio"] { width: 22px; height: 22px; min-height: 0; padding: 0; accent-color: var(--acento); flex: none; }
input[type="color"] { padding: 4px; width: 64px; }
input[type="file"] { padding: 10px; }
.error-campo { display: block; margin-top: 6px; color: var(--error); font-size: 14px; font-weight: 600; }
.error-campo::before { content: "⚠ "; }
label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; font-weight: 650; font-size: .95rem; color: var(--texto-2); }
label > input, label > select, label > textarea, label > .error-campo { flex: 1 0 100%; }
label small { font-weight: 400; color: var(--texto-suave); }
.campo > input, .campo > textarea, .campo > select { margin: 0; }
.formulario { display: grid; gap: 18px; align-content: start; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.checks label, label.check { display: flex; flex-wrap: nowrap; align-items: center; gap: 10px; font-weight: 500; }
.checks label > input, label.check > input { flex: 0 0 auto; }

/* Chips, etiquetas y estados */
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--acento-borde); background: var(--acento-tinte); color: inherit; font: inherit; font-size: 14px; font-weight: 600; }
.chip span { font-size: 18px; line-height: 1; opacity: .8; }
.chip-estatico { cursor: default; min-height: 32px; }
.fila-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.etiqueta { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; background: var(--superficie-3); color: var(--texto-2); font-size: 12px; font-weight: 700; letter-spacing: .03em; line-height: 1.3; }
.etiqueta.ok { background: var(--acento-tinte); color: var(--acento-texto); }
.etiqueta.preparado { background: transparent; border: 1.5px dashed var(--acento-borde); color: var(--texto); padding: 2.5px 10px; }
.estado { display: inline-block; border-radius: 999px; padding: 4px 12px; font-size: .82rem; font-weight: 700; background: var(--superficie-3); color: var(--texto-2); }
.estado-confirmada, .estado-asistio { background: var(--acento-tinte); color: var(--acento-texto); }
.estado-cancelada, .estado-expirada, .estado-no_asistio { background: var(--error-fondo); color: var(--error-texto); }
.estado-pendiente { background: var(--aviso-fondo); color: var(--aviso); }

/* Avisos del sistema (flash) */
.aviso { border-radius: 14px; padding: 12px 16px; margin-bottom: 14px; font-weight: 550; border: 1px solid transparent; }
.aviso-ok { background: var(--ok-fondo); color: var(--ok); border-color: color-mix(in srgb, var(--ok) 35%, transparent); }
.aviso-error { background: var(--error-fondo); color: var(--error-texto); border-color: var(--error); }
.aviso-info { background: var(--aviso-fondo); color: var(--aviso); border-color: color-mix(in srgb, var(--aviso) 35%, transparent); }
.aviso input { margin-top: 8px; font-size: 14px; }
.secreto { font-family: ui-monospace, Consolas, monospace; background: var(--aviso-fondo); padding: 2px 6px; border-radius: 4px; user-select: all; }
.nota-proto { padding: 12px 16px; border-radius: 12px; background: var(--superficie-2); border-left: 3px solid var(--acento); font-size: 14px; color: var(--texto-2); }

/* Tarjetas y datos */
.tarjeta { background: var(--superficie); border: 1px solid var(--borde); border-radius: 18px; padding: 20px; box-shadow: var(--sombra-suave); margin-bottom: 16px; }
.tarjeta > h2:first-child { margin-top: 0; }
.resumen { margin: 4px 0 8px; display: grid; gap: 0; }
.resumen div, .filas div { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--borde); }
.resumen dt, .filas dt { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--texto-suave); font-weight: 650; padding-top: 3px; }
.resumen dd, .filas dd { margin: 0; font-weight: 600; }
.filas { display: grid; margin: 0 0 16px; }

/* Visor de imágenes (galería y referencias) */
.visor { border: 0; padding: 0; background: transparent; max-width: min(96vw, 900px); max-height: 94vh; overflow: visible; }
.visor::backdrop { background: rgba(0, 0, 0, .86); }
.visor img { display: block; max-width: 100%; max-height: 80vh; margin: 0 auto; border-radius: 12px; }
.visor-pie { color: #fff; text-align: center; margin: 8px 0 0; }
.visor-pie:empty { display: none; }
.visor-cerrar { position: absolute; top: -8px; right: -4px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: #111; font-size: 1.6rem; line-height: 1; cursor: pointer; z-index: 2; }

/* Vista previa de WhatsApp (colores propios de WhatsApp: no cambian con el tema) */
.wa { background: #0b141a; border-radius: 18px; overflow: hidden; border: 1px solid #1f2c34; color: #e9edef; }
.wa-cab { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #1f2c34; font-size: 15px; }
.wa-av { width: 36px; height: 36px; border-radius: 50%; background: var(--marca-acento); color: var(--marca-sobre-acento); display: grid; place-items: center; font-weight: 800; font-size: 13px; flex: none; }
.wa-cab small { display: block; color: #8696a0; font-size: 12px; }
.wa-cuerpo { padding: 16px 14px 18px; min-height: 100px; }
.wa-burbuja { max-width: 92%; margin-left: auto; padding: 9px 12px 7px; border-radius: 10px 10px 2px 10px; background: #005c4b; color: #e9edef; font-size: 14.5px; line-height: 1.4; white-space: pre-wrap; word-wrap: break-word; }
.wa-sello { display: inline-block; margin-bottom: 10px; padding: 3px 10px; border-radius: 999px; background: rgba(225, 110, 84, .18); color: #f0a38f; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.wa-editor { display: block; width: 100%; min-height: 150px; padding: 10px 12px; border-radius: 10px; border: 1.5px dashed #3b4a54; background: #1f2c34; color: #e9edef; font-size: 14.5px; line-height: 1.4; resize: vertical; }

/* Tablas (las anteriores se convierten en tarjetas en el celular) */
.tabla-envoltura { overflow-x: auto; background: var(--superficie); border: 1px solid var(--borde); border-radius: 18px; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--borde); vertical-align: top; }
th { background: var(--superficie-2); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--texto-suave); font-weight: 650; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td.num { text-align: right; white-space: nowrap; }
.inactivo { color: var(--texto-suave); }
@media (max-width: 699px) {
  table.responsive thead { display: none; }
  table.responsive, table.responsive tbody, table.responsive tr, table.responsive td { display: block; width: 100%; }
  table.responsive tr { border-bottom: 1px solid var(--borde); padding: 12px 14px; }
  table.responsive td { border: 0; padding: 3px 0; display: flex; justify-content: space-between; gap: 12px; text-align: right; }
  table.responsive td::before { content: attr(data-label); color: var(--texto-suave); font-weight: 600; text-align: left; }
  table.responsive td.num { white-space: normal; }
}

/* ================================================================== 4. Página pública */
body.publico { min-height: 100vh; display: flex; flex-direction: column; }
.contenedor { width: min(100% - 32px, 1120px); margin-inline: auto; }
.contenedor.angosto, .contenedor-angosto { width: min(100% - 32px, 780px); }
.contenedor-angosto { padding-top: 48px; }
main.contenedor, main.contenido-publico { flex: 1; padding: 24px 0 56px; }
.cabecera { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--fondo) 90%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--borde); }
.cabecera-fila { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: min(100% - 32px, 1120px); margin: 0 auto; padding: 12px 0; }
.publico .sobretitulo { color: var(--acento-texto); letter-spacing: .3em; font-weight: 700; }

/* Portada */
.hero { position: relative; isolation: isolate; min-height: calc(100svh - 0px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--marca-oscuro); color: var(--marca-claro); }
.hero.compacta { min-height: 72svh; }
.hero-foto { position: absolute; inset: 0; z-index: -4; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: saturate(.92) contrast(1.06); }
.hero-sombra { position: absolute; inset: 0; z-index: -3; background: linear-gradient(180deg, rgba(17, 17, 17, .8) 0%, rgba(17, 17, 17, .2) 26%, rgba(17, 17, 17, .4) 52%, rgba(17, 17, 17, .92) 84%, var(--fondo) 100%); }
.hero.sin-foto .hero-sombra { background: radial-gradient(70% 55% at 70% 30%, color-mix(in srgb, var(--marca-acento) 34%, transparent), transparent 70%), linear-gradient(180deg, #1b1917 0%, #121110 70%, var(--fondo) 100%); }
:root[data-tema="claro"] .hero.sin-foto { background: var(--marca-oscuro); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none; opacity: .09; mix-blend-mode: overlay; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .7 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.hero-nav { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px; width: min(100%, 1240px); margin-inline: auto; }
.hero-nav .marca img, .hero-nav .marca .inicial-marca { width: 54px; height: 54px; filter: drop-shadow(0 2px 14px rgba(0, 0, 0, .55)); }
.hero-nav .marca-texto b { font-size: 21px; letter-spacing: .2em; text-shadow: 0 2px 16px rgba(0, 0, 0, .6); }
.hero-nav .btn-sec { background: rgba(17, 17, 17, .35); backdrop-filter: blur(8px); border-color: rgba(245, 241, 235, .4); color: var(--marca-claro); }
.hero-contenido { width: min(100% - 40px, 1120px); margin: 0 auto; padding: 132px 0 84px; }
.hero .sobretitulo { color: var(--marca-acento-claro); letter-spacing: .34em; }
.hero h1 { font-family: var(--fuente-marca); font-weight: 700; font-size: clamp(46px, 13.5vw, 128px); line-height: .92; letter-spacing: .04em; text-wrap: balance; margin-bottom: 22px; color: var(--marca-claro); text-shadow: 0 6px 40px rgba(0, 0, 0, .6); text-transform: uppercase; }
.hero h1 .sub { display: flex; align-items: center; gap: 18px; font-size: .34em; letter-spacing: .7em; color: var(--marca-acento-claro); margin-top: 16px; font-family: var(--fuente-ui); font-weight: 600; text-shadow: none; }
.hero h1 .sub::after { content: ""; flex: 1; height: 1px; max-width: 220px; background: linear-gradient(90deg, var(--marca-acento), transparent); }
.bajada { max-width: 36ch; font-size: clamp(17px, 4.5vw, 21px); line-height: 1.5; color: #e4ddd2; margin-bottom: 30px; text-shadow: 0 2px 18px rgba(0, 0, 0, .7); }
.hero-acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.hero-acciones .btn { min-height: 56px; padding: 14px 30px; font-size: 17px; box-shadow: 0 14px 34px -12px color-mix(in srgb, var(--marca-acento) 75%, transparent); }
.hero-acciones .btn svg { width: 20px; height: 20px; }
.enlace-hero { color: #e4ddd2; text-decoration: none; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; border-bottom: 1px solid rgba(245, 241, 235, .35); }
.enlace-hero:hover { color: var(--marca-claro); border-color: var(--marca-acento); }
@media (min-width: 860px) {
  .hero-foto { left: 20%; width: 80%; }
  .hero-sombra { background: linear-gradient(90deg, rgba(17, 17, 17, .95) 0%, rgba(17, 17, 17, .7) 36%, rgba(17, 17, 17, .12) 70%), linear-gradient(180deg, rgba(17, 17, 17, .7) 0%, rgba(17, 17, 17, 0) 26%, rgba(17, 17, 17, .3) 66%, var(--fondo) 100%); }
  .hero-contenido { padding-bottom: 104px; }
  .hero-nav { padding: 26px 28px; }
}

/* Secciones */
.seccion { position: relative; padding: 56px 0 28px; }
.seccion h2, .titulo-seccion h2 { font-family: var(--fuente-marca); font-size: clamp(28px, 7vw, 44px); line-height: 1.1; margin: 0 0 30px; max-width: 22ch; text-wrap: balance; font-weight: 700; letter-spacing: 0; }
.publico h2.titulo-seccion { font-family: var(--fuente-marca); font-size: clamp(24px, 6vw, 34px); margin: 40px 0 18px; }
.pasos { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pasos li { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; padding: 22px 22px 24px; background: var(--superficie); border: 1px solid var(--borde); border-radius: var(--radio-grande); }
.pasos .num { font-family: var(--fuente-marca); font-size: 44px; line-height: .9; color: transparent; -webkit-text-stroke: 1px var(--acento); min-width: 54px; }
.pasos h3 { font-size: 18px; margin-bottom: 6px; }
.pasos p { color: var(--texto-2); font-size: 15.5px; }
@media (min-width: 860px) { .pasos { grid-template-columns: repeat(3, 1fr); gap: 18px; } .pasos li { grid-template-columns: 1fr; gap: 14px; padding: 28px 26px 30px; } }

/* Formulario de solicitud (misma página oscura) */
.papel { position: relative; background: radial-gradient(70% 38% at 50% 0%, color-mix(in srgb, var(--acento) 9%, transparent), transparent 70%), var(--fondo); padding: 64px 0 88px; scroll-margin-top: 0; }
.papel::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: min(100% - 40px, 1120px); height: 1px; background: linear-gradient(90deg, transparent, var(--borde-fuerte), transparent); }
.titulo-seccion .lead { color: var(--texto-2); max-width: 52ch; margin: -14px 0 34px; font-size: 16.5px; }
.bloque { border: 1px solid var(--borde); margin: 0 0 20px; padding: 28px 18px 30px; background: var(--superficie); border-radius: var(--radio-grande); box-shadow: var(--sombra-suave); display: grid; gap: 22px; min-width: 0; }
.bloque legend { float: left; width: 100%; padding: 0; margin-bottom: 2px; font-family: var(--fuente-marca); font-size: 24px; font-weight: 700; display: flex; align-items: center; gap: 14px; line-height: 1.15; }
.bloque legend + * { clear: both; }
.bloque legend small { font-family: var(--fuente-ui); font-size: 14px; font-weight: 500; color: var(--texto-suave); }
.bloque .num { font-family: var(--fuente-ui); display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding: 0 8px; border-radius: 999px; border: 1.5px solid var(--acento-borde); background: var(--acento-tinte); color: var(--acento-texto); font-size: 12.5px; font-weight: 800; flex: none; }
.ayuda { color: var(--texto-2); font-size: 15.5px; margin-top: -6px; }
.campo-corto { max-width: 240px; }
.resumen-errores { margin-bottom: 20px; padding: 16px 18px; border-radius: 14px; border: 1.5px solid var(--error); background: var(--error-fondo); color: var(--error-texto); }
.resumen-errores ul { margin: 6px 0 0; padding-left: 20px; }
.resumen-errores a { color: var(--error-texto); font-weight: 600; }
.consentimiento { display: grid; grid-template-columns: 28px 1fr; gap: 16px; align-items: start; padding: 18px; border-radius: 16px; background: var(--superficie-2); border: 1px solid var(--borde); cursor: pointer; line-height: 1.55; color: var(--texto-2); font-size: 15.5px; font-weight: 400; }
.consentimiento b { color: var(--texto); }
.consentimiento input { width: 26px; height: 26px; margin: 1px 0 0; }
.aviso-sin-mensaje { font-size: 14px; color: var(--texto-suave); border-left: 3px solid var(--acento); padding-left: 14px; }
#enviar, .btn-sombra { box-shadow: 0 16px 36px -14px color-mix(in srgb, var(--marca-acento) 80%, transparent); }
@media (min-width: 860px) { .bloque { padding: 36px 38px 38px; } }

/* Selector corporal (mejora progresiva sobre la lista de casillas) */
.cuerpo { display: grid; gap: 16px; }
.cuerpo-vistas { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: var(--campo-fondo); border: 1px solid var(--borde); justify-self: center; width: min(100%, 320px); }
.cuerpo-vistas button { min-height: 44px; border: 0; border-radius: 999px; background: transparent; color: var(--texto-2); font: inherit; font-weight: 700; cursor: pointer; }
.cuerpo-vistas button[aria-pressed="true"] { background: var(--acento); color: var(--sobre-acento); }
.cuerpo-lienzo { position: relative; justify-self: center; width: min(100%, 340px); border-radius: 22px; border: 1px solid var(--borde); background: radial-gradient(ellipse at 50% 34%, color-mix(in srgb, var(--acento) 10%, var(--superficie-2)) 0%, var(--campo-fondo) 72%); padding: 10px 6px 14px; touch-action: manipulation; }
.cuerpo-svg { display: block; width: 100%; height: auto; user-select: none; -webkit-user-select: none; }
.cuerpo-svg .lado { fill: var(--texto-suave); font: 700 6.6px/1 var(--fuente-ui); letter-spacing: .18em; }
.cuerpo-nota { text-align: center; font-size: 13.5px; color: var(--texto-suave); }
.cuerpo-sel { display: grid; gap: 12px; align-content: start; }
.cuerpo-sel-titulo { font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--texto-2); }
.cuerpo-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.zona { cursor: pointer; outline: none; }
.zona .forma { fill: var(--relleno, var(--figura)); stroke: color-mix(in srgb, var(--figura-linea) 12%, transparent); stroke-width: .7; transition: fill .14s; }
.zona .toque { fill: none; stroke: transparent; stroke-linejoin: round; pointer-events: stroke; }
.zona.sel .forma { fill: var(--acento); stroke: color-mix(in srgb, var(--marca-claro) 70%, transparent); stroke-width: 1; }
.zona:focus-visible .forma { stroke: var(--texto); stroke-width: 2.4; }
@media (hover: hover) { .zona:hover .forma { fill: var(--figura-hover); } .zona.sel:hover .forma { fill: color-mix(in srgb, var(--acento) 86%, white); } }
.cuerpo-svg .contorno { pointer-events: none; }
.cuerpo-svg .contorno path { fill: var(--figura-linea); stroke: var(--figura-linea); stroke-width: 2.6; stroke-linejoin: round; }
.cuerpo-svg .decor { pointer-events: none; fill: none; stroke: var(--figura-linea); stroke-width: 1; stroke-linecap: round; opacity: .5; }
.cuerpo-svg .decor circle { fill: var(--figura-linea); stroke: none; }
.cuerpo-svg .sombra-suelo { fill: #000; opacity: .32; pointer-events: none; }
.zonas-lista { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 6px 14px; }
.zonas-lista legend { font-weight: 700; margin-bottom: 8px; }
.zonas-lista label { font-weight: 500; flex-wrap: nowrap; align-items: center; }
.cuerpo.activo .zonas-lista { display: none; }
@media (min-width: 760px) {
  .cuerpo { grid-template-columns: 340px 1fr; grid-template-areas: "vistas sel" "lienzo sel" "nota sel"; column-gap: 36px; }
  .cuerpo-vistas { grid-area: vistas; width: 100%; } .cuerpo-lienzo { grid-area: lienzo; width: 100%; } .cuerpo-nota { grid-area: nota; }
  .cuerpo-sel { grid-area: sel; padding: 22px; border: 1px solid var(--borde); border-radius: 18px; background: var(--campo-fondo); align-self: start; }
}

/* Referencias */
.refs-zona { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; padding: 18px; border: 1.5px dashed var(--borde-fuerte); border-radius: 16px; background: var(--campo-fondo); }
.refs-zona input[type="file"] { flex: 1 1 260px; min-height: 0; border: 0; background: transparent; padding: 6px 0; }
.refs-contador { font-size: 14px; color: var(--texto-suave); }
.refs-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 12px; }
.refs-grid:empty { display: none; }
.ref { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--superficie-3); border: 1px solid var(--borde-fuerte); }
.ref img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ref button { position: absolute; top: 6px; right: 6px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(17, 17, 17, .82); color: #fff; font-size: 22px; line-height: 1; display: grid; place-items: center; cursor: pointer; }

/* Solicitud recibida */
.exito { text-align: center; padding: 44px 22px 38px; background: var(--superficie); border: 1px solid var(--borde); border-radius: 24px; box-shadow: var(--sombra-suave); }
.exito-icono { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: var(--acento); color: var(--sobre-acento); box-shadow: 0 0 0 10px var(--acento-tinte); }
.exito h1 { font-family: var(--fuente-marca); font-size: clamp(30px, 7vw, 42px); margin: 4px 0 14px; }
.exito-texto { max-width: 46ch; margin: 0 auto 26px; color: var(--texto-2); }
.exito .resumen { max-width: 480px; margin: 0 auto 28px; text-align: left; }

/* Reserva directa: servicios, días y horarios */
.lista-servicios { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 860px) { .lista-servicios { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.servicio { display: flex; align-items: center; gap: 16px; background: var(--superficie); border: 1px solid var(--borde); border-radius: 18px; padding: 16px 18px; color: var(--texto); text-decoration: none; transition: border-color .15s, background .15s; }
.servicio:hover, .servicio:focus-visible { border-color: var(--acento-borde); background: var(--superficie-2); }
.servicio-cuerpo { flex: 1; display: grid; gap: 3px; min-width: 0; }
.servicio-nombre { font-weight: 700; font-size: 17px; }
.servicio-desc { color: var(--texto-suave); font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.servicio-datos { color: var(--texto-2); font-size: .95rem; }
.servicio-accion { flex: none; background: var(--acento); color: var(--sobre-acento); border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: .9rem; }
.servicio-img { width: 72px; height: 72px; flex: none; object-fit: cover; border-radius: 12px; }
.servicio-portada { display: block; width: 100%; max-height: 240px; object-fit: cover; border-radius: 16px; margin-bottom: 14px; }
.paso { font-size: 12px; color: var(--texto-suave); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; margin: 24px 0 10px; }
.opciones { display: flex; flex-wrap: wrap; gap: 8px; }
.opcion { border: 1.5px solid var(--borde-fuerte); border-radius: 999px; padding: 9px 16px; text-decoration: none; color: var(--texto); background: transparent; font-weight: 600; }
.opcion small { color: var(--texto-suave); }
.opcion.activa { background: var(--acento); border-color: var(--acento); color: var(--sobre-acento); }
.opcion.activa small { color: inherit; opacity: .85; }
.dias { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; }
.dia { flex: 0 0 auto; min-width: 60px; display: flex; flex-direction: column; align-items: center; border: 1.5px solid var(--borde); border-radius: 14px; padding: 8px 10px; text-decoration: none; color: var(--texto); background: var(--superficie); scroll-snap-align: start; }
.dia span { font-size: .78rem; color: var(--texto-suave); text-transform: capitalize; }
.dia strong { font-size: 1.15rem; }
.dia.sin-lugar { opacity: .45; }
.dia.activa { background: var(--acento); border-color: var(--acento); color: var(--sobre-acento); opacity: 1; }
.dia.activa span { color: inherit; }
.horarios { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.horario { text-align: center; border: 1.5px solid var(--acento-borde); color: var(--texto); border-radius: 12px; padding: 11px 0; font-weight: 700; text-decoration: none; background: var(--superficie); font-variant-numeric: tabular-nums; }
.horario:hover, .horario:focus-visible { background: var(--acento); color: var(--sobre-acento); }
.bienvenida { margin: 4px 0; color: var(--texto-2); font-size: 17px; }
.bienvenida p { margin: 0 0 .6em; }
.equipo { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 860px) { .equipo { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.persona { display: flex; gap: 14px; background: var(--superficie); border: 1px solid var(--borde); border-radius: 18px; padding: 16px; }
.persona img, .inicial { width: 72px; height: 72px; flex: none; border-radius: 50%; object-fit: cover; }
.inicial { display: grid; place-items: center; background: var(--acento-tinte); color: var(--acento-texto); border: 1.5px solid var(--acento-borde); font-weight: 700; font-size: 1.6rem; }
.persona p { margin: 4px 0 0; color: var(--texto-suave); }
.persona small { color: var(--texto-suave); }
.galeria { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 700px) { .galeria { grid-template-columns: repeat(4, 1fr); } }
.foto { display: block; }
.foto img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; background: var(--superficie-3); }
.contacto { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 0; background: var(--superficie); border: 1px solid var(--borde); border-radius: 18px; }
.contacto li { display: flex; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--borde); }
.contacto li:last-child { border-bottom: 0; }
.contacto li span { width: 96px; flex: none; color: var(--texto-suave); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; padding-top: 2px; }
.texto-legal p { margin: 0 0 .8em; color: var(--texto-2); }
.pie { background: var(--fondo); border-top: 1px solid var(--borde); padding: 36px 0 44px; color: var(--texto-suave); font-size: 14px; }
.pie .contenedor { display: grid; gap: 12px; }
.pie a { color: var(--texto-2); }
.pie-app { margin: 0; font-size: .9rem; }
.cta-fija { display: none; }
@media (max-width: 699px) {
  .cta-fija { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--fondo) 94%, transparent); backdrop-filter: blur(12px); border-top: 1px solid var(--borde); }
  body.con-cta { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
}

/* ================================================================== 5. Panel */
body.panel { background: var(--fondo); }
.app { min-height: 100dvh; display: grid; grid-template-columns: 1fr; }
.lateral { display: none; }
.area { min-width: 0; }
.cab-movil { position: sticky; top: 0; z-index: 20; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px; background: color-mix(in srgb, var(--fondo) 92%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--borde); }
.cab-movil .marca img, .cab-movil .marca .inicial-marca { width: 34px; height: 34px; font-size: 15px; }
.cab-movil .marca-texto b { font-size: 15px; letter-spacing: .14em; }
.cab-usuario { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--texto-2); white-space: nowrap; }
.cab-usuario::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--acento); }
#vista { padding: 24px 16px calc(116px + env(safe-area-inset-bottom)); max-width: 1180px; margin: 0 auto; outline: none; }
.panel h1 { font-family: var(--fuente-ui); }
.lead-panel { margin: 4px 0 22px; color: var(--texto-2); max-width: 64ch; }
.nav { display: flex; }
.nav a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; flex: 1; min-height: 64px; color: var(--texto-suave); text-decoration: none; font-size: 11.5px; font-weight: 650; }
.nav a svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nav a[aria-current="page"] { color: var(--acento-texto); }
.nav .insignia { position: absolute; top: 7px; left: calc(50% + 6px); min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--acento); color: var(--sobre-acento); font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.inferior { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; background: color-mix(in srgb, var(--fondo) 94%, transparent); backdrop-filter: blur(14px); border-top: 1px solid var(--borde); padding-bottom: env(safe-area-inset-bottom); }
.lateral-pie { font-size: 13px; line-height: 1.5; color: var(--texto-suave); display: grid; gap: 10px; }
.lateral-pie b { color: var(--texto); }
.lateral-pie .enlaces { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.lateral-pie a, .lateral-pie button { color: var(--texto-2); font-size: 13px; }
.lateral-pie form { display: inline; margin: 0; }
.lateral-pie button { background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; font: inherit; font-size: 13px; }
@media (min-width: 900px) {
  .app { grid-template-columns: 264px 1fr; }
  .lateral { display: flex; flex-direction: column; gap: 30px; position: sticky; top: 0; height: 100dvh; padding: 28px 18px 24px; background: var(--fondo-2); border-right: 1px solid var(--borde); }
  .lateral .marca { padding: 0 8px; }
  .lateral .nav { flex-direction: column; gap: 4px; }
  .lateral .nav a { flex-direction: row; justify-content: flex-start; gap: 14px; min-height: 48px; padding: 0 14px; border-radius: 12px; font-size: 15px; font-weight: 600; }
  .lateral .nav a:hover { background: var(--superficie-2); color: var(--texto); }
  .lateral .nav a[aria-current="page"] { background: var(--acento-tinte); color: var(--texto); box-shadow: inset 3px 0 0 var(--acento); }
  .lateral .nav a[aria-current="page"] svg { color: var(--acento-texto); }
  .lateral .nav .insignia { position: static; margin-left: auto; }
  .lateral-pie { margin-top: auto; padding: 14px 8px 0; border-top: 1px solid var(--borde); }
  .inferior, .cab-movil { display: none; }
  #vista { padding: 44px 48px 72px; }
}
/* Inicio */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0 14px; }
.stat { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 16px; border-radius: 18px; background: var(--superficie); border: 1px solid var(--borde); color: inherit; text-decoration: none; box-shadow: var(--sombra-suave); }
.stat b { font-size: 46px; font-weight: 750; line-height: 1; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.stat.acento b { color: var(--acento-texto); }
.stat span { font-size: 14px; color: var(--texto-2); font-weight: 500; }
a.stat::after { content: "›"; position: absolute; right: 16px; top: 12px; color: var(--texto-suave); font-size: 24px; line-height: 1; }
a.stat:hover { border-color: var(--acento-borde); }
.resumen-presu { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 18px; font-size: 14px; }
.resumen-presu a { color: var(--texto-2); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; gap: 8px; }
.resumen-presu b { color: var(--acento-texto); font-size: 19px; font-weight: 750; }
.cuadricula { display: grid; gap: 24px; }
@media (min-width: 900px) { .cuadricula.dos { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; gap: 32px; } }
.panel-lado { display: grid; gap: 8px; }
.lista { display: grid; gap: 10px; list-style: none; padding: 0; margin: 0; }
.item-sesion { width: 100%; display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; align-items: center; text-align: left; padding: 16px 16px 16px 14px; border-radius: 16px; background: var(--superficie); border: 1px solid var(--borde); border-left: 4px solid var(--acento); color: inherit; text-decoration: none; transition: border-color .15s, background .15s; }
.item-sesion:hover { border-color: var(--acento-borde); border-left-color: var(--acento); background: var(--superficie-2); }
.item-sesion .hora { display: flex; flex-direction: column; line-height: 1.15; }
.item-sesion .hora b { font-size: 20px; font-weight: 750; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.item-sesion .hora small { color: var(--texto-suave); font-size: 12.5px; }
.item-sesion .nombre { font-weight: 700; font-size: 16px; display: block; }
.item-sesion .meta { font-size: 14px; color: var(--texto-suave); }
.item-sesion .flecha, .sol .flecha, .sol-mini .flecha { color: var(--texto-suave); font-size: 22px; }
.item-sesion.proxima { grid-template-columns: 96px 1fr auto; padding: 22px 20px 22px 18px; background: linear-gradient(120deg, var(--acento-tinte), var(--superficie) 62%); border-color: var(--acento-borde); border-left-width: 5px; }
.item-sesion.proxima .hora b { font-size: 28px; }
.item-sesion.proxima .nombre { font-size: 19px; }
.item-sesion.cancelada, .item-sesion.no_asistio { border-left-color: var(--error); opacity: .7; }
.fecha-proxima { margin: -6px 0 12px; color: var(--texto-2); font-size: 14.5px; font-weight: 500; }
.sol-mini, .sol { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; background: var(--superficie); border: 1px solid var(--borde); color: inherit; text-decoration: none; transition: border-color .15s, background .15s; }
.sol { grid-template-columns: 52px 1fr auto; padding: 16px 18px 16px 16px; border-radius: 18px; }
.sol:hover, .sol-mini:hover { border-color: var(--acento-borde); background: var(--superficie-2); }
.sol > span:nth-child(2), .sol-mini > span:nth-child(2) { min-width: 0; }
.avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--acento-tinte); border: 1.5px solid var(--acento-borde); color: var(--acento-texto); font-weight: 750; letter-spacing: .03em; font-size: 15px; flex: none; }
.sol-mini .avatar { width: 44px; height: 44px; font-size: 13px; }
.sol .nombre, .sol-mini .nombre { font-weight: 700; font-size: 16.5px; display: block; }
.sol .meta, .sol-mini .meta { font-size: 13.5px; color: var(--texto-suave); display: block; }
.sol .zonas { font-size: 14.5px; color: var(--texto-2); margin-top: 2px; display: block; }
.sol .refs { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--texto-suave); white-space: nowrap; }
.sol .refs svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.estados { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.sol .etiqueta, .sol-mini .etiqueta { white-space: normal; border-radius: 14px; }
.enlace-ver { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; color: var(--acento-texto); font-weight: 650; text-decoration: none; }
@media (min-width: 900px) { .lista.solicitudes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
.filtros-seg { display: grid; grid-template-columns: 1fr 1.15fr 1.5fr; width: 100%; max-width: 540px; margin-bottom: 18px; gap: 4px; padding: 3px; border-radius: 999px; background: var(--superficie); border: 1px solid var(--borde); }
.filtros-seg a { min-height: 44px; padding: 0 6px; font-size: 13.5px; gap: 6px; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; border-radius: 999px; color: var(--texto-2); text-decoration: none; font-weight: 650; }
.filtros-seg a[aria-current="true"] { background: var(--acento); color: var(--sobre-acento); }
.filtros-seg .cuenta, .filtro-archivo .cuenta { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--superficie-3); font-size: 12px; font-variant-numeric: tabular-nums; }
.filtros-seg a[aria-current="true"] .cuenta { background: rgba(17, 17, 17, .2); }
/* Detalle de solicitud */
.cab-volver, .miga a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--texto-2); text-decoration: none; font-weight: 600; }
.miga { margin: 0 0 6px; }
.fila-titulo { display: flex; align-items: center; gap: 16px; margin-top: 6px; }
.fila-titulo .avatar { width: 56px; height: 56px; font-size: 17px; }
.fila-titulo h1 { margin: 0; }
.detalle { display: grid; gap: 14px; margin-top: 20px; }
.detalle > .dato { margin: 0; padding: 18px 20px; border-radius: 18px; background: var(--superficie); border: 1px solid var(--borde); }
.dato dt { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--texto-suave); font-weight: 650; margin-bottom: 8px; }
.dato dd { margin: 0; }
.dato .texto { white-space: pre-wrap; line-height: 1.6; }
.miniaturas { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; }
.miniatura { display: block; aspect-ratio: 1; border: 1px solid var(--borde-fuerte); border-radius: 14px; overflow: hidden; background: var(--superficie-3); position: relative; }
.miniatura img { width: 100%; height: 100%; object-fit: cover; display: block; }
.miniatura::after { content: "⤢"; position: absolute; right: 6px; bottom: 6px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: rgba(17, 17, 17, .75); color: #fff; font-size: 15px; }
.barra-acciones { position: sticky; bottom: calc(76px + env(safe-area-inset-bottom)); display: grid; gap: 10px; padding: 12px; margin: 22px -4px 0; border-radius: 20px; background: color-mix(in srgb, var(--superficie) 96%, transparent); backdrop-filter: blur(12px); border: 1px solid var(--borde-fuerte); box-shadow: var(--sombra); z-index: 5; }
.detalle:has(.presupuesto form) ~ .barra-acciones { position: static; }
.acciones-grid { display: grid; gap: 10px; }
@media (min-width: 640px) { .barra-acciones, .acciones-grid.dos { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .barra-acciones { position: static; background: none; border: 0; box-shadow: none; padding: 0; margin: 22px 0 0; backdrop-filter: none; max-width: 560px; } }
@media (min-width: 1100px) {
  .detalle.con-lado { grid-template-columns: minmax(0, 1fr) 440px; grid-template-rows: repeat(5, min-content) 1fr; align-items: start; column-gap: 24px; }
  .detalle.con-lado > .presupuesto { grid-column: 2; grid-row: 1 / span 6; }
}
.presupuesto { display: grid; gap: 16px; border-color: var(--acento-borde); margin: 0; }
.presupuesto form { display: grid; gap: 18px; }
.presu-cab { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.presu-cab h2 { margin: 0; }
.presu-ultimo { margin: 0; padding: 14px 16px; border-radius: 14px; background: var(--superficie-2); line-height: 1.55; font-size: 14.5px; color: var(--texto-2); }
.presu-ultimo b { color: var(--texto); }
.importe, .campo > .importe { display: flex; align-items: stretch; margin: 0; font-size: inherit; letter-spacing: normal; text-transform: none; font-weight: inherit; color: inherit; }
.importe b { display: grid; place-items: center; min-height: 52px; padding: 0 16px; border: 1.5px solid var(--campo-borde); border-right: 0; border-radius: 12px 0 0 12px; background: var(--superficie-2); color: var(--acento-texto); font-size: 18px; }
.importe input { flex: 1; min-width: 0; border-radius: 0 12px 12px 0; font-size: 18px; font-weight: 700; }
.presu-hist summary { cursor: pointer; font-weight: 650; min-height: 40px; display: flex; align-items: center; }
.presu-hist ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 10px; font-size: 14px; color: var(--texto-2); }
.presu-hist li span { display: block; font-size: 12px; color: var(--texto-suave); }
/* M3.1: descartar / reabrir una solicitud (mismo lenguaje que el historial del presupuesto) */
.descarte { margin-top: 22px; }
.descarte > summary { cursor: pointer; font-weight: 650; min-height: 44px; display: flex; align-items: center; }
.descarte .formulario { margin-top: 12px; }
.descarte > form { margin-top: 14px; }
.filtro-archivo { margin: -8px 0 14px; }
.filtro-archivo a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; color: var(--texto-2); font-size: 14px; font-weight: 650; text-decoration: none; }
.filtro-archivo a[aria-current="true"] { color: var(--acento-texto); }
.descarte-hist { margin-top: 14px; }
/* M3.3: «Instalar aplicación» */
.app-ficha { display: flex; align-items: center; gap: 14px; }
.app-ficha img { border-radius: 16px; box-shadow: var(--sombra-suave); }
.app-ficha span { display: grid; gap: 2px; }
.app-ficha small { color: var(--texto-suave); }
.pasos-app { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.enviar-wa { display: grid; gap: 14px; padding: 16px; border-radius: 16px; border: 1px dashed var(--acento-borde); background: var(--superficie-2); }
/* Agenda */
.barra-agenda { display: grid; gap: 14px; margin: 4px 0 22px; }
.barra-fila { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.fecha-titulo { font-size: 24px; font-weight: 750; letter-spacing: -.02em; margin: 0; }
.segmento { display: inline-grid; grid-auto-flow: column; gap: 4px; padding: 4px; border-radius: 999px; background: var(--superficie); border: 1px solid var(--borde); }
.segmento a { min-height: 40px; padding: 0 18px; display: grid; place-items: center; border-radius: 999px; color: var(--texto-2); text-decoration: none; font-weight: 650; font-size: 14px; }
.segmento a[aria-current="true"] { background: var(--acento); color: var(--sobre-acento); }
.navfecha { display: flex; align-items: center; gap: 8px; }
.navfecha a { min-width: 44px; min-height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--borde-fuerte); color: var(--texto); text-decoration: none; font-size: 18px; }
.navfecha a.hoy { border-radius: 999px; padding: 0 18px; font-size: 14px; font-weight: 650; }
.navfecha form { margin: 0; }
.navfecha input[type="date"] { min-height: 44px; padding: 8px 12px; width: auto; }
.recursos-agenda { display: grid; gap: 28px; }
.recurso-titulo { font-size: 15px; font-weight: 700; margin: 0 0 10px; color: var(--texto-2); }
.dia-ag { position: relative; margin-left: 54px; border-top: 1px solid var(--borde); }
.dia-ag .linea { position: absolute; left: 0; right: 0; height: 1px; background: var(--borde); }
.dia-ag .etq { position: absolute; left: -54px; width: 44px; text-align: right; font-size: 12px; color: var(--texto-suave); font-variant-numeric: tabular-nums; transform: translateY(-8px); }
.bloque-ag { position: absolute; left: 8px; right: 6px; padding: 8px 12px 8px 14px; overflow: hidden; border-radius: 12px; text-align: left; font-size: 14px; line-height: 1.3; display: flex; flex-direction: column; gap: 1px; text-decoration: none; }
.bloque-ag b { font-size: 15px; font-weight: 700; }
.bloque-ag small { font-size: 12.5px; }
.bloque-ag.sesion { color: var(--texto); background: linear-gradient(95deg, color-mix(in srgb, var(--acento) 22%, var(--superficie-2)) 0%, var(--superficie-2) 62%); border: 1px solid var(--acento-borde); border-left: 4px solid var(--acento); box-shadow: 0 8px 22px rgba(0, 0, 0, .22); }
.bloque-ag.sesion small { color: var(--texto-2); }
.bloque-ag.sesion small:last-of-type { color: var(--texto-suave); }
.bloque-ag.sesion:hover { border-color: var(--acento); }
.bloque-ag.sesion::after { content: "✓"; position: absolute; top: 8px; right: 10px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--acento); color: var(--sobre-acento); font-size: 12px; font-weight: 800; }
@media (min-width: 640px) { .bloque-ag.sesion::after { content: "Confirmado"; width: auto; height: auto; padding: 3px 10px; border-radius: 999px; background: var(--acento-tinte); color: var(--acento-texto); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; } }
.bloque-ag.pasada { opacity: .78; }
.bloque-ag.asistio::after { content: "Asistió"; }
.bloque-ag.no_asistio { border-left-color: var(--error); }
.bloque-ag.no_asistio::after { content: "No asistió"; background: var(--error-fondo); color: var(--error-texto); }
.bloque-ag.bloqueo { color: var(--texto-2); background: repeating-linear-gradient(45deg, var(--superficie-2) 0 8px, var(--superficie) 8px 16px); border: 1.5px dashed var(--borde-fuerte); }
.bloque-ag.bloqueo small { color: var(--texto-suave); }
.bloque-ag.nueva { animation: destaca 1.6s ease 2; }
@keyframes destaca { 50% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--acento) 55%, transparent); } }
.ahora { position: absolute; left: -8px; right: 0; height: 2px; background: var(--acento); z-index: 2; pointer-events: none; }
.ahora::before { content: ""; position: absolute; left: 0; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--acento); }
.cerrado { padding: 30px 18px; text-align: center; color: var(--texto-suave); border: 1.5px dashed var(--borde-fuerte); border-radius: 18px; }
.leyenda { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; margin-top: 18px; font-size: 13.5px; color: var(--texto-suave); }
.leyenda i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: 6px; }
.leyenda .l-turno { background: var(--superficie-2); border: 1px solid var(--acento-borde); border-left: 4px solid var(--acento); }
.leyenda .l-bloqueo { background: repeating-linear-gradient(45deg, var(--superficie-3) 0 4px, var(--superficie) 4px 8px); border: 1.5px dashed var(--borde-fuerte); }
.semana { display: grid; gap: 10px; }
.sem-dia { background: var(--superficie); border: 1px solid var(--borde); border-radius: 16px; padding: 14px; display: grid; gap: 8px; align-content: start; }
.sem-dia.hoy { border-color: var(--acento-borde); box-shadow: inset 0 2px 0 var(--acento); }
.sem-dia > a { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0 8px; color: inherit; text-decoration: none; font-weight: 700; text-transform: capitalize; }
.sem-dia > a small { color: var(--texto-suave); font-weight: 500; text-transform: none; }
.sem-item { display: flex; flex-direction: column; gap: 1px; padding: 9px 11px 9px 12px; border-radius: 10px; font-size: 14px; text-align: left; width: 100%; text-decoration: none; color: var(--texto); }
.sem-item.sesion { background: linear-gradient(95deg, color-mix(in srgb, var(--acento) 20%, var(--superficie-2)), var(--superficie-2) 70%); border: 1px solid var(--acento-borde); border-left: 3px solid var(--acento); }
.sem-item.sesion span { color: var(--texto-2); }
.sem-item.bloqueo { background: repeating-linear-gradient(45deg, var(--superficie-2) 0 8px, var(--superficie) 8px 16px); color: var(--texto-2); border: 1.5px dashed var(--borde-fuerte); }
.sem-libre { font-size: 14px; color: var(--texto-suave); }
@media (min-width: 900px) { .semana { grid-template-columns: repeat(7, minmax(0, 1fr)); } .sem-item b { font-size: 13px; } .sem-item { font-size: 12.5px; } }
/* Agendar y editor de horario */
.form-panel { display: grid; gap: 20px; margin-top: 16px; }
.dos-col { display: grid; gap: 14px; }
@media (min-width: 560px) { .dos-col { grid-template-columns: 1fr 1fr; } }
.duraciones { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-dur { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--borde-fuerte); background: transparent; color: var(--texto); font: inherit; font-weight: 650; cursor: pointer; }
.chip-dur[aria-pressed="true"] { background: var(--acento); border-color: var(--acento); color: var(--sobre-acento); }
.fin-calculo { font-size: 15px; color: var(--texto-2); padding: 12px 16px; border-radius: 12px; background: var(--superficie-2); }
.fin-calculo b { color: var(--acento-texto); font-size: 18px; }
.estado-horario { padding: 12px 16px; border-radius: 12px; font-weight: 600; font-size: 15px; display: flex; gap: 10px; align-items: flex-start; }
.estado-horario.ok { background: var(--acento-tinte); border: 1px solid var(--acento-borde); color: var(--texto); }
.estado-horario.error { background: var(--error-fondo); border: 1px solid var(--error); color: var(--error-texto); }
.ocupado { font-size: 14px; color: var(--texto-suave); }
.resumen-sol { display: grid; gap: 6px; }
.resumen-sol .nombre { font-weight: 750; font-size: 19px; }
.check-consent { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; padding: 14px 16px; border-radius: 14px; background: var(--superficie-2); cursor: pointer; font-weight: 500; }
.editor { display: grid; gap: 14px; margin: 14px 0; padding: 16px; border: 1.5px solid var(--acento-borde); border-radius: 16px; background: var(--superficie-2); }
.confirmar-box { padding: 14px 16px; border-radius: 14px; background: var(--error-fondo); border: 1px solid var(--error); color: var(--error-texto); margin: 12px 0; font-weight: 600; }
/* Ajustes */
.ajustes-grid { display: grid; gap: 14px; }
.grupo-titulo { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--texto-suave); font-weight: 650; margin: 14px 0 -2px; }
@media (min-width: 1000px) { .ajustes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; align-items: start; } .ajustes-grid > .grupo-titulo { grid-column: 1 / -1; margin-top: 14px; } }
.hub { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hub a { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 16px 18px; border-radius: 16px; background: var(--superficie); border: 1px solid var(--borde); color: var(--texto); text-decoration: none; }
.hub a:hover { border-color: var(--acento-borde); }
.hub a b { font-size: 16px; }
.hub a small { grid-column: 1; color: var(--texto-suave); font-size: 14px; }
.hub a::after { content: "›"; grid-row: 1 / span 2; grid-column: 2; align-self: center; color: var(--texto-suave); font-size: 22px; }
.modalidades { display: grid; gap: 10px; }
.modalidad { display: grid; grid-template-columns: 26px 1fr; gap: 4px 12px; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--borde); cursor: pointer; font-weight: 400; }
.modalidad:has(input:checked) { border-color: var(--acento-borde); background: var(--acento-tinte); }
.modalidad b { font-size: 16px; color: var(--texto); }
.modalidad span { grid-column: 2; font-size: 14px; color: var(--texto-2); }
.variables { display: grid; gap: 8px; padding: 14px 16px; border-radius: 14px; background: var(--superficie-2); font-size: 14px; color: var(--texto-2); }
.variables > div { display: grid; grid-template-columns: 124px 1fr; gap: 10px; align-items: baseline; }
.variables code { justify-self: start; }
.variables-tit { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--texto-suave); font-weight: 650; }
.pie-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.muestra-tema { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; border: 0; padding: 0; margin: 0; }

/* ================================================================== 6. Pantallas anteriores del panel (servicios, recursos, galería, usuarios...) */
.encabezado { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.encabezado h1 { margin: 0; }
.acciones { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.acciones form { margin: 0; }
.filtros { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; margin-bottom: 16px; }
.filtros label { font-size: .85rem; }
.filtros input, .filtros select { width: auto; min-width: 150px; }
.rejilla { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .rejilla { grid-template-columns: 1fr 1fr; } }
.dias-horario { display: grid; gap: 8px; }
.dias-horario label { display: grid; grid-template-columns: 110px 1fr; align-items: center; font-weight: 500; }
.muestra-color { display: inline-block; width: 1.2em; height: 1.2em; border-radius: 4px; vertical-align: middle; border: 1px solid var(--borde); }
.agenda-barra { margin-bottom: 12px; }
.turno { display: block; border-left: 4px solid var(--acento); background: var(--superficie-2); border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; text-decoration: none; color: var(--texto); }
.turno small { color: var(--texto-suave); display: block; }
.fotos-admin { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); margin-top: 12px; }
.foto-admin { position: relative; background: var(--superficie); border: 1px solid var(--borde); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.foto-admin img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--superficie-3); }
.foto-admin.oculta img { opacity: .4; }
.foto-admin .insignia { position: absolute; top: 6px; left: 6px; font-size: .75rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--aviso-fondo); color: var(--aviso); }
.foto-admin form { margin: 0; padding: 0 8px; }
.foto-admin .acciones-foto { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 8px; }
.foto-admin .acciones-foto form { padding: 0; }
.foto-admin .acciones-foto .boton { width: 100%; min-height: 40px; padding: 6px 10px; font-size: 14px; }
.foto-admin input[type="text"] { font-size: .9rem; padding: 8px 10px; margin: 8px 0 0; min-height: 40px; }
.estilos { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); border: 0; padding: 0; margin: 0; }
.estilos legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.estilos label { display: block; position: relative; border: 1.5px solid var(--borde-fuerte); border-radius: 14px; padding: 12px 14px 12px 44px; cursor: pointer; background: var(--superficie); font-weight: 400; }
.estilos label strong { display: block; color: var(--texto); }
.estilos label small { color: var(--texto-suave); }
.estilos input { position: absolute; left: 14px; top: 15px; }
.estilos label:has(input:checked) { border-color: var(--acento); background: var(--acento-tinte); }
.previa-imagen { display: block; max-width: 100%; max-height: 160px; border-radius: 12px; margin-bottom: 8px; }
.pantalla-mas { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.pantalla-mas a { display: flex; flex-direction: column; gap: 2px; background: var(--superficie); border: 1px solid var(--borde); border-radius: 16px; padding: 14px 16px; text-decoration: none; color: var(--texto); min-height: 56px; justify-content: center; }
.pantalla-mas small { color: var(--texto-suave); }
.solo-escritorio { }
@media (max-width: 899px) { .solo-escritorio { display: none !important; } .filtros input, .filtros select { width: 100%; min-width: 0; } .filtros label { flex: 1 1 140px; } }
@media (max-width: 599px) {
  .fotos-admin { grid-template-columns: 1fr; }
  .foto-admin { display: grid; grid-template-columns: 112px 1fr; align-items: start; }
  .foto-admin img { grid-row: 1 / span 2; width: 112px; height: 100%; min-height: 128px; aspect-ratio: auto; }
  .foto-admin > form, .foto-admin > .acciones-foto { grid-column: 2; }
}
/* Ingreso y páginas simples */
body.simple { min-height: 100vh; display: grid; place-items: start center; }
body.simple .contenedor { padding: 48px 0; }

/* ================================================================== 7. Posiciones de la agenda del día (CSP sin estilos en línea: 1,2 px por minuto) */
.dia-ag .etq, .dia-ag .linea, .dia-ag .bloque-ag, .dia-ag .ahora { position: absolute; }
.ag-alto-60{height:72px}.ag-alto-120{height:144px}.ag-alto-180{height:216px}.ag-alto-240{height:288px}.ag-alto-300{height:360px}.ag-alto-360{height:432px}.ag-alto-420{height:504px}.ag-alto-480{height:576px}.ag-alto-540{height:648px}.ag-alto-600{height:720px}.ag-alto-660{height:792px}.ag-alto-720{height:864px}.ag-alto-780{height:936px}.ag-alto-840{height:1008px}.ag-alto-900{height:1080px}.ag-alto-960{height:1152px}.ag-alto-1020{height:1224px}.ag-alto-1080{height:1296px}.ag-alto-1140{height:1368px}.ag-alto-1200{height:1440px}.ag-alto-1260{height:1512px}.ag-alto-1320{height:1584px}.ag-alto-1380{height:1656px}.ag-alto-1440{height:1728px}
.ag-t-0{top:0px}.ag-t-5{top:6px}.ag-t-10{top:12px}.ag-t-15{top:18px}.ag-t-20{top:24px}.ag-t-25{top:30px}.ag-t-30{top:36px}.ag-t-35{top:42px}.ag-t-40{top:48px}.ag-t-45{top:54px}.ag-t-50{top:60px}.ag-t-55{top:66px}.ag-t-60{top:72px}.ag-t-65{top:78px}.ag-t-70{top:84px}.ag-t-75{top:90px}.ag-t-80{top:96px}.ag-t-85{top:102px}.ag-t-90{top:108px}.ag-t-95{top:114px}.ag-t-100{top:120px}.ag-t-105{top:126px}.ag-t-110{top:132px}.ag-t-115{top:138px}.ag-t-120{top:144px}.ag-t-125{top:150px}.ag-t-130{top:156px}.ag-t-135{top:162px}.ag-t-140{top:168px}.ag-t-145{top:174px}.ag-t-150{top:180px}.ag-t-155{top:186px}.ag-t-160{top:192px}.ag-t-165{top:198px}.ag-t-170{top:204px}.ag-t-175{top:210px}.ag-t-180{top:216px}.ag-t-185{top:222px}.ag-t-190{top:228px}.ag-t-195{top:234px}.ag-t-200{top:240px}.ag-t-205{top:246px}.ag-t-210{top:252px}.ag-t-215{top:258px}.ag-t-220{top:264px}.ag-t-225{top:270px}.ag-t-230{top:276px}.ag-t-235{top:282px}.ag-t-240{top:288px}.ag-t-245{top:294px}.ag-t-250{top:300px}.ag-t-255{top:306px}.ag-t-260{top:312px}.ag-t-265{top:318px}.ag-t-270{top:324px}.ag-t-275{top:330px}.ag-t-280{top:336px}.ag-t-285{top:342px}.ag-t-290{top:348px}.ag-t-295{top:354px}.ag-t-300{top:360px}.ag-t-305{top:366px}.ag-t-310{top:372px}.ag-t-315{top:378px}.ag-t-320{top:384px}.ag-t-325{top:390px}.ag-t-330{top:396px}.ag-t-335{top:402px}.ag-t-340{top:408px}.ag-t-345{top:414px}.ag-t-350{top:420px}.ag-t-355{top:426px}.ag-t-360{top:432px}.ag-t-365{top:438px}.ag-t-370{top:444px}.ag-t-375{top:450px}.ag-t-380{top:456px}.ag-t-385{top:462px}.ag-t-390{top:468px}.ag-t-395{top:474px}.ag-t-400{top:480px}.ag-t-405{top:486px}.ag-t-410{top:492px}.ag-t-415{top:498px}.ag-t-420{top:504px}.ag-t-425{top:510px}.ag-t-430{top:516px}.ag-t-435{top:522px}.ag-t-440{top:528px}.ag-t-445{top:534px}.ag-t-450{top:540px}.ag-t-455{top:546px}.ag-t-460{top:552px}.ag-t-465{top:558px}.ag-t-470{top:564px}.ag-t-475{top:570px}.ag-t-480{top:576px}.ag-t-485{top:582px}.ag-t-490{top:588px}.ag-t-495{top:594px}.ag-t-500{top:600px}.ag-t-505{top:606px}.ag-t-510{top:612px}.ag-t-515{top:618px}.ag-t-520{top:624px}.ag-t-525{top:630px}.ag-t-530{top:636px}.ag-t-535{top:642px}.ag-t-540{top:648px}.ag-t-545{top:654px}.ag-t-550{top:660px}.ag-t-555{top:666px}.ag-t-560{top:672px}.ag-t-565{top:678px}.ag-t-570{top:684px}.ag-t-575{top:690px}.ag-t-580{top:696px}.ag-t-585{top:702px}.ag-t-590{top:708px}.ag-t-595{top:714px}.ag-t-600{top:720px}.ag-t-605{top:726px}.ag-t-610{top:732px}.ag-t-615{top:738px}.ag-t-620{top:744px}.ag-t-625{top:750px}.ag-t-630{top:756px}.ag-t-635{top:762px}.ag-t-640{top:768px}.ag-t-645{top:774px}.ag-t-650{top:780px}.ag-t-655{top:786px}.ag-t-660{top:792px}.ag-t-665{top:798px}.ag-t-670{top:804px}.ag-t-675{top:810px}.ag-t-680{top:816px}.ag-t-685{top:822px}.ag-t-690{top:828px}.ag-t-695{top:834px}.ag-t-700{top:840px}.ag-t-705{top:846px}.ag-t-710{top:852px}.ag-t-715{top:858px}.ag-t-720{top:864px}.ag-t-725{top:870px}.ag-t-730{top:876px}.ag-t-735{top:882px}.ag-t-740{top:888px}.ag-t-745{top:894px}.ag-t-750{top:900px}.ag-t-755{top:906px}.ag-t-760{top:912px}.ag-t-765{top:918px}.ag-t-770{top:924px}.ag-t-775{top:930px}.ag-t-780{top:936px}.ag-t-785{top:942px}.ag-t-790{top:948px}.ag-t-795{top:954px}.ag-t-800{top:960px}.ag-t-805{top:966px}.ag-t-810{top:972px}.ag-t-815{top:978px}.ag-t-820{top:984px}.ag-t-825{top:990px}.ag-t-830{top:996px}.ag-t-835{top:1002px}.ag-t-840{top:1008px}.ag-t-845{top:1014px}.ag-t-850{top:1020px}.ag-t-855{top:1026px}.ag-t-860{top:1032px}.ag-t-865{top:1038px}.ag-t-870{top:1044px}.ag-t-875{top:1050px}.ag-t-880{top:1056px}.ag-t-885{top:1062px}.ag-t-890{top:1068px}.ag-t-895{top:1074px}.ag-t-900{top:1080px}.ag-t-905{top:1086px}.ag-t-910{top:1092px}.ag-t-915{top:1098px}.ag-t-920{top:1104px}.ag-t-925{top:1110px}.ag-t-930{top:1116px}.ag-t-935{top:1122px}.ag-t-940{top:1128px}.ag-t-945{top:1134px}.ag-t-950{top:1140px}.ag-t-955{top:1146px}.ag-t-960{top:1152px}.ag-t-965{top:1158px}.ag-t-970{top:1164px}.ag-t-975{top:1170px}.ag-t-980{top:1176px}.ag-t-985{top:1182px}.ag-t-990{top:1188px}.ag-t-995{top:1194px}.ag-t-1000{top:1200px}.ag-t-1005{top:1206px}.ag-t-1010{top:1212px}.ag-t-1015{top:1218px}.ag-t-1020{top:1224px}.ag-t-1025{top:1230px}.ag-t-1030{top:1236px}.ag-t-1035{top:1242px}.ag-t-1040{top:1248px}.ag-t-1045{top:1254px}.ag-t-1050{top:1260px}.ag-t-1055{top:1266px}.ag-t-1060{top:1272px}.ag-t-1065{top:1278px}.ag-t-1070{top:1284px}.ag-t-1075{top:1290px}.ag-t-1080{top:1296px}.ag-t-1085{top:1302px}.ag-t-1090{top:1308px}.ag-t-1095{top:1314px}.ag-t-1100{top:1320px}.ag-t-1105{top:1326px}.ag-t-1110{top:1332px}.ag-t-1115{top:1338px}.ag-t-1120{top:1344px}.ag-t-1125{top:1350px}.ag-t-1130{top:1356px}.ag-t-1135{top:1362px}.ag-t-1140{top:1368px}.ag-t-1145{top:1374px}.ag-t-1150{top:1380px}.ag-t-1155{top:1386px}.ag-t-1160{top:1392px}.ag-t-1165{top:1398px}.ag-t-1170{top:1404px}.ag-t-1175{top:1410px}.ag-t-1180{top:1416px}.ag-t-1185{top:1422px}.ag-t-1190{top:1428px}.ag-t-1195{top:1434px}.ag-t-1200{top:1440px}.ag-t-1205{top:1446px}.ag-t-1210{top:1452px}.ag-t-1215{top:1458px}.ag-t-1220{top:1464px}.ag-t-1225{top:1470px}.ag-t-1230{top:1476px}.ag-t-1235{top:1482px}.ag-t-1240{top:1488px}.ag-t-1245{top:1494px}.ag-t-1250{top:1500px}.ag-t-1255{top:1506px}.ag-t-1260{top:1512px}.ag-t-1265{top:1518px}.ag-t-1270{top:1524px}.ag-t-1275{top:1530px}.ag-t-1280{top:1536px}.ag-t-1285{top:1542px}.ag-t-1290{top:1548px}.ag-t-1295{top:1554px}.ag-t-1300{top:1560px}.ag-t-1305{top:1566px}.ag-t-1310{top:1572px}.ag-t-1315{top:1578px}.ag-t-1320{top:1584px}.ag-t-1325{top:1590px}.ag-t-1330{top:1596px}.ag-t-1335{top:1602px}.ag-t-1340{top:1608px}.ag-t-1345{top:1614px}.ag-t-1350{top:1620px}.ag-t-1355{top:1626px}.ag-t-1360{top:1632px}.ag-t-1365{top:1638px}.ag-t-1370{top:1644px}.ag-t-1375{top:1650px}.ag-t-1380{top:1656px}.ag-t-1385{top:1662px}.ag-t-1390{top:1668px}.ag-t-1395{top:1674px}.ag-t-1400{top:1680px}.ag-t-1405{top:1686px}.ag-t-1410{top:1692px}.ag-t-1415{top:1698px}.ag-t-1420{top:1704px}.ag-t-1425{top:1710px}.ag-t-1430{top:1716px}.ag-t-1435{top:1722px}.ag-t-1440{top:1728px}
.ag-h-25{height:27px}.ag-h-30{height:33px}.ag-h-35{height:39px}.ag-h-40{height:45px}.ag-h-45{height:51px}.ag-h-50{height:57px}.ag-h-55{height:63px}.ag-h-60{height:69px}.ag-h-65{height:75px}.ag-h-70{height:81px}.ag-h-75{height:87px}.ag-h-80{height:93px}.ag-h-85{height:99px}.ag-h-90{height:105px}.ag-h-95{height:111px}.ag-h-100{height:117px}.ag-h-105{height:123px}.ag-h-110{height:129px}.ag-h-115{height:135px}.ag-h-120{height:141px}.ag-h-125{height:147px}.ag-h-130{height:153px}.ag-h-135{height:159px}.ag-h-140{height:165px}.ag-h-145{height:171px}.ag-h-150{height:177px}.ag-h-155{height:183px}.ag-h-160{height:189px}.ag-h-165{height:195px}.ag-h-170{height:201px}.ag-h-175{height:207px}.ag-h-180{height:213px}.ag-h-185{height:219px}.ag-h-190{height:225px}.ag-h-195{height:231px}.ag-h-200{height:237px}.ag-h-205{height:243px}.ag-h-210{height:249px}.ag-h-215{height:255px}.ag-h-220{height:261px}.ag-h-225{height:267px}.ag-h-230{height:273px}.ag-h-235{height:279px}.ag-h-240{height:285px}.ag-h-245{height:291px}.ag-h-250{height:297px}.ag-h-255{height:303px}.ag-h-260{height:309px}.ag-h-265{height:315px}.ag-h-270{height:321px}.ag-h-275{height:327px}.ag-h-280{height:333px}.ag-h-285{height:339px}.ag-h-290{height:345px}.ag-h-295{height:351px}.ag-h-300{height:357px}.ag-h-305{height:363px}.ag-h-310{height:369px}.ag-h-315{height:375px}.ag-h-320{height:381px}.ag-h-325{height:387px}.ag-h-330{height:393px}.ag-h-335{height:399px}.ag-h-340{height:405px}.ag-h-345{height:411px}.ag-h-350{height:417px}.ag-h-355{height:423px}.ag-h-360{height:429px}.ag-h-365{height:435px}.ag-h-370{height:441px}.ag-h-375{height:447px}.ag-h-380{height:453px}.ag-h-385{height:459px}.ag-h-390{height:465px}.ag-h-395{height:471px}.ag-h-400{height:477px}.ag-h-405{height:483px}.ag-h-410{height:489px}.ag-h-415{height:495px}.ag-h-420{height:501px}.ag-h-425{height:507px}.ag-h-430{height:513px}.ag-h-435{height:519px}.ag-h-440{height:525px}.ag-h-445{height:531px}.ag-h-450{height:537px}.ag-h-455{height:543px}.ag-h-460{height:549px}.ag-h-465{height:555px}.ag-h-470{height:561px}.ag-h-475{height:567px}.ag-h-480{height:573px}.ag-h-485{height:579px}.ag-h-490{height:585px}.ag-h-495{height:591px}.ag-h-500{height:597px}.ag-h-505{height:603px}.ag-h-510{height:609px}.ag-h-515{height:615px}.ag-h-520{height:621px}.ag-h-525{height:627px}.ag-h-530{height:633px}.ag-h-535{height:639px}.ag-h-540{height:645px}.ag-h-545{height:651px}.ag-h-550{height:657px}.ag-h-555{height:663px}.ag-h-560{height:669px}.ag-h-565{height:675px}.ag-h-570{height:681px}.ag-h-575{height:687px}.ag-h-580{height:693px}.ag-h-585{height:699px}.ag-h-590{height:705px}.ag-h-595{height:711px}.ag-h-600{height:717px}.ag-h-605{height:723px}.ag-h-610{height:729px}.ag-h-615{height:735px}.ag-h-620{height:741px}.ag-h-625{height:747px}.ag-h-630{height:753px}.ag-h-635{height:759px}.ag-h-640{height:765px}.ag-h-645{height:771px}.ag-h-650{height:777px}.ag-h-655{height:783px}.ag-h-660{height:789px}.ag-h-665{height:795px}.ag-h-670{height:801px}.ag-h-675{height:807px}.ag-h-680{height:813px}.ag-h-685{height:819px}.ag-h-690{height:825px}.ag-h-695{height:831px}.ag-h-700{height:837px}.ag-h-705{height:843px}.ag-h-710{height:849px}.ag-h-715{height:855px}.ag-h-720{height:861px}.ag-h-725{height:867px}.ag-h-730{height:873px}.ag-h-735{height:879px}.ag-h-740{height:885px}.ag-h-745{height:891px}.ag-h-750{height:897px}.ag-h-755{height:903px}.ag-h-760{height:909px}.ag-h-765{height:915px}.ag-h-770{height:921px}.ag-h-775{height:927px}.ag-h-780{height:933px}.ag-h-785{height:939px}.ag-h-790{height:945px}.ag-h-795{height:951px}.ag-h-800{height:957px}.ag-h-805{height:963px}.ag-h-810{height:969px}.ag-h-815{height:975px}.ag-h-820{height:981px}.ag-h-825{height:987px}.ag-h-830{height:993px}.ag-h-835{height:999px}.ag-h-840{height:1005px}.ag-h-845{height:1011px}.ag-h-850{height:1017px}.ag-h-855{height:1023px}.ag-h-860{height:1029px}.ag-h-865{height:1035px}.ag-h-870{height:1041px}.ag-h-875{height:1047px}.ag-h-880{height:1053px}.ag-h-885{height:1059px}.ag-h-890{height:1065px}.ag-h-895{height:1071px}.ag-h-900{height:1077px}.ag-h-905{height:1083px}.ag-h-910{height:1089px}.ag-h-915{height:1095px}.ag-h-920{height:1101px}.ag-h-925{height:1107px}.ag-h-930{height:1113px}.ag-h-935{height:1119px}.ag-h-940{height:1125px}.ag-h-945{height:1131px}.ag-h-950{height:1137px}.ag-h-955{height:1143px}.ag-h-960{height:1149px}.ag-h-965{height:1155px}.ag-h-970{height:1161px}.ag-h-975{height:1167px}.ag-h-980{height:1173px}.ag-h-985{height:1179px}.ag-h-990{height:1185px}.ag-h-995{height:1191px}.ag-h-1000{height:1197px}.ag-h-1005{height:1203px}.ag-h-1010{height:1209px}.ag-h-1015{height:1215px}.ag-h-1020{height:1221px}.ag-h-1025{height:1227px}.ag-h-1030{height:1233px}.ag-h-1035{height:1239px}.ag-h-1040{height:1245px}.ag-h-1045{height:1251px}.ag-h-1050{height:1257px}.ag-h-1055{height:1263px}.ag-h-1060{height:1269px}.ag-h-1065{height:1275px}.ag-h-1070{height:1281px}.ag-h-1075{height:1287px}.ag-h-1080{height:1293px}.ag-h-1085{height:1299px}.ag-h-1090{height:1305px}.ag-h-1095{height:1311px}.ag-h-1100{height:1317px}.ag-h-1105{height:1323px}.ag-h-1110{height:1329px}.ag-h-1115{height:1335px}.ag-h-1120{height:1341px}.ag-h-1125{height:1347px}.ag-h-1130{height:1353px}.ag-h-1135{height:1359px}.ag-h-1140{height:1365px}.ag-h-1145{height:1371px}.ag-h-1150{height:1377px}.ag-h-1155{height:1383px}.ag-h-1160{height:1389px}.ag-h-1165{height:1395px}.ag-h-1170{height:1401px}.ag-h-1175{height:1407px}.ag-h-1180{height:1413px}.ag-h-1185{height:1419px}.ag-h-1190{height:1425px}.ag-h-1195{height:1431px}.ag-h-1200{height:1437px}.ag-h-1205{height:1443px}.ag-h-1210{height:1449px}.ag-h-1215{height:1455px}.ag-h-1220{height:1461px}.ag-h-1225{height:1467px}.ag-h-1230{height:1473px}.ag-h-1235{height:1479px}.ag-h-1240{height:1485px}.ag-h-1245{height:1491px}.ag-h-1250{height:1497px}.ag-h-1255{height:1503px}.ag-h-1260{height:1509px}.ag-h-1265{height:1515px}.ag-h-1270{height:1521px}.ag-h-1275{height:1527px}.ag-h-1280{height:1533px}.ag-h-1285{height:1539px}.ag-h-1290{height:1545px}.ag-h-1295{height:1551px}.ag-h-1300{height:1557px}.ag-h-1305{height:1563px}.ag-h-1310{height:1569px}.ag-h-1315{height:1575px}.ag-h-1320{height:1581px}.ag-h-1325{height:1587px}.ag-h-1330{height:1593px}.ag-h-1335{height:1599px}.ag-h-1340{height:1605px}.ag-h-1345{height:1611px}.ag-h-1350{height:1617px}.ag-h-1355{height:1623px}.ag-h-1360{height:1629px}.ag-h-1365{height:1635px}.ag-h-1370{height:1641px}.ag-h-1375{height:1647px}.ag-h-1380{height:1653px}.ag-h-1385{height:1659px}.ag-h-1390{height:1665px}.ag-h-1395{height:1671px}.ag-h-1400{height:1677px}.ag-h-1405{height:1683px}.ag-h-1410{height:1689px}.ag-h-1415{height:1695px}.ag-h-1420{height:1701px}.ag-h-1425{height:1707px}.ag-h-1430{height:1713px}.ag-h-1435{height:1719px}.ag-h-1440{height:1725px}
/* Selector corporal: degradé de volumen y relleno por vista (sin estilos en línea) */
.cuerpo-svg .stop-borde { stop-color: var(--figura-borde); }
.cuerpo-svg .stop-centro { stop-color: var(--figura); }
.cuerpo-svg[data-vista="frente"] { --relleno: url(#relleno-frente); }
.cuerpo-svg[data-vista="espalda"] { --relleno: url(#relleno-espalda); }
.cuerpo-ui { display: contents; }
.recurso-fila { margin-bottom: 10px; } .recurso-fila .recurso-titulo { margin: 0; }
