/* v2.0 (28-nov-2026): componentes-t5.css para el hub. Generado por v20.py: no editar a mano. */
/* ================================================================== mejorIA · T5 v1 (28-nov-2026): formularios y flujos. Agente t5 de design-lab.
   Lo enlazan solo catalogo/t5-*.html. NO entra en sistema.css (lo integra el agente principal). Sobre los .campo, .boton, .aviso y .casilla del DS v1.5.
   Tokens propuestos para el DS con prefijo --t5-. Las reglas que dependen de una ficha (locales, puntos de partida) las genera t5.py en la página. */
:root {
  --t5-control-grande: 56px;          /* botón de pago y de reunión: el principal del flujo, un escalón por encima de los 48 px */
  --t5-col-resumen: 23rem;            /* columna del resumen del pedido en escritorio */
  --t5-giro: .8s;                     /* vuelta del indicador de «enviando» */
  --t5-ancho-flujo: 1180px;
}

/* ---------- utilidades */
.t5-body { background: var(--fondo); }
.t5 { display: block; }
.t5 p { text-wrap: pretty; }
.t5-cifra { font-family: var(--f-mono); font-weight: 500; letter-spacing: -.01em; white-space: nowrap; }

.t5-et { font: 500 var(--t-etiqueta)/1.3 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--acento-texto); }
.t5-h1 { font: 700 var(--t-h1)/1.08 var(--f-titular); letter-spacing: -.025em; color: var(--texto); text-wrap: balance; }
.t5-lead { font: 500 var(--t-grande)/1.5 var(--f-texto); color: var(--texto-2); max-width: 58ch; }
.t5-bloque { width: 100%; }
.t5-enl { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- cabecera reducida de los flujos (propuesta) */
.t5-cab { border-bottom: 1px solid var(--borde); background: var(--fondo); }
.t5-cab-in { max-width: var(--t5-ancho-flujo); margin: 0 auto; padding: 0 1rem; min-height: var(--alto-cab); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.t5-cab .sitio-logo { display: inline-flex; align-items: center; min-height: 44px; }
.t5-volver { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: 0 .75rem; border-radius: var(--r-s); color: var(--principal); font-weight: 600; text-decoration: none; }
.t5-volver:hover { background: var(--principal-suave); }
.t5-volver-ic { width: 20px; height: 20px; transform: rotate(180deg); }

/* ---------- campos: estados con :user-invalid / :user-valid (MWG forms/validate-input-after-interaction) */
.t5-campo label { font-weight: 600; font-size: .9375rem; }
.t5-opc { font-weight: 400; color: var(--texto-2); }
.t5-campo .campo-ayuda { margin-top: -.125rem; }
.t5 .t5-error { display: none; gap: .4rem; align-items: flex-start; }
.t5-error-ic { display: inline-flex; flex: none; }
.t5-error-ic .ic { width: 18px; height: 18px; margin-top: .1rem; }
.t5 .campo-input:user-invalid, .t5 .campo--error .campo-input { border-color: var(--error); background: var(--error-fondo); }
.t5 .campo-input:user-valid, .t5 .campo--valido .campo-input { border-color: var(--exito); }
.t5-campo:has(.campo-input:user-invalid) .t5-error, .t5 .campo--error .t5-error { display: flex; }
.t5-casilla:has(input:user-invalid) + .t5-error, .t5-casilla.campo--error + .t5-error { display: flex; }
.t5-campo--corto .campo-input { max-width: 14rem; }
.t5 textarea.campo-input { min-height: 112px; }
.t5-oblig { font-size: var(--t-pequeno); color: var(--texto-2); }

/* casillas: fila entera de 44 px como zona táctil; accent-color cobalto (MWG ui-components/checkbox) */
.t5-casilla { display: flex; align-items: flex-start; gap: .75rem; min-height: 44px; padding: .55rem 0; }
.t5-casilla input { flex: none; width: 22px; height: 22px; margin: .1rem 0 0; accent-color: var(--principal); cursor: pointer; }
.t5-casilla label { flex: 1; cursor: pointer; line-height: 1.45; }
.t5-casilla label a { color: var(--principal); font-weight: 600; text-underline-offset: 3px; }
.t5-casilla--oblig { padding: .9rem 1rem; border: 1.5px solid var(--borde); border-radius: var(--r-m); background: var(--superficie); }
.t5-casilla--oblig:has(input:checked) { border-color: var(--principal); background: var(--principal-suave); }
.t5-casilla--oblig:has(input:user-invalid), .t5-casilla--oblig.campo--error { border-color: var(--error); background: var(--error-fondo); }

/* campo trampa (antispam sin terceros) */
.t5-trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* primera capa de privacidad, bajo el botón */
.t5-capa { font-size: .8125rem; line-height: 1.5; color: var(--texto-2); max-width: 66ch; }
.t5-capa a { color: var(--principal); text-underline-offset: 2px; }

/* opciones en tarjeta (radio nativo visible dentro) */
.t5-grupo { border: 0; padding: 0; margin: 0 0 1.75rem; min-width: 0; }
.t5-grupo > legend { padding: 0; margin-bottom: .75rem; font: 650 1.0625rem/1.3 var(--f-titular); color: var(--texto); }
.t5-grupo--sin { margin-bottom: 0; }
.t5-ops { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.t5-ops--filas { grid-template-columns: minmax(0, 1fr); }
.t5-ops--dos { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.t5-op { position: relative; }
.t5-op input { position: absolute; left: 1rem; top: 1.05rem; width: 22px; height: 22px; margin: 0; accent-color: var(--principal); cursor: pointer; }
.t5-op label { display: grid; gap: .3rem; min-height: 56px; padding: .9rem 1rem .9rem 3rem; border: 1.5px solid var(--borde-fuerte); border-radius: var(--r-m); background: var(--fondo); cursor: pointer; transition: border-color var(--d-rapida), background var(--d-rapida); }
.t5-op label:hover { border-color: var(--principal); }
.t5-op:has(input:checked) label { border-color: var(--principal); box-shadow: inset 0 0 0 1px var(--principal); background: var(--principal-suave); }
.t5-op input:focus-visible + label { outline: 3px solid var(--foco); outline-offset: 2px; }
.t5-op--fila label { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem 1rem; }
.t5-op-nombre { font: 650 1rem/1.3 var(--f-titular); color: var(--texto); }
.t5-op-que { color: var(--texto-2); font-size: .9375rem; }
.t5-op--fila .t5-op-que { color: var(--texto); }
.t5-op-precio { font: 500 .9375rem/1.3 var(--f-mono); color: var(--principal); }

.t5-nota { display: flex; gap: .5rem; align-items: flex-start; margin-top: .75rem; font-size: var(--t-pequeno); color: var(--texto-2); }
.t5-nota .ic { width: 20px; height: 20px; color: var(--principal); flex: none; }

/* ---------- botón de envío: «enviando» (MWG ui-components/spinner) */
.t5-enviar { position: relative; }
.t5-enviar--grande { min-height: var(--t5-control-grande); font-size: 1.0625rem; }
.t5-enviar .t5-txt-env, .t5-enviar .t5-spin { display: none; }
.t5-enviar.es-enviando .t5-txt { display: none; }
.t5-enviar.es-enviando .t5-txt-env, .t5-enviar.es-enviando .t5-spin { display: inline-block; }
.t5 .t5-enviar[aria-disabled="true"] { background: var(--boton); color: var(--boton-texto); cursor: progress; transform: none; opacity: .92; }
.t5-spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-top-color: transparent; animation: t5-giro var(--t5-giro) linear infinite; flex: none; }
.t5-spin--azul { color: var(--principal); width: 22px; height: 22px; }
@keyframes t5-giro { to { transform: rotate(1turn); } }
@media (prefers-reduced-motion: reduce) { .t5-spin { animation: none; border-top-color: currentColor; border-style: dotted; } }

.t5-aviso { margin: 0; }
.t5-aviso .ic { flex: none; }
.t5-aviso[hidden] { display: none; }

/* ---------- ADQUIRIR */
.t5-adq { max-width: var(--t5-ancho-flujo); margin: 0 auto; padding: clamp(1.5rem, 1rem + 2vw, 3rem) 1rem clamp(3rem, 2rem + 4vw, 5rem); }
.t5-adq-cab { display: grid; gap: .75rem; margin-bottom: 1.5rem; }
.t5-pn { list-style: none; padding: 0; margin: .5rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.t5-pn a { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: 0 .9rem 0 .4rem; border-radius: var(--r-pildora); border: 1px solid var(--borde); color: var(--texto); text-decoration: none; font-weight: 600; font-size: .9375rem; background: var(--fondo); }
.t5-pn a:hover { border-color: var(--principal); }
.t5-pn-n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--principal-suave); color: var(--principal); font: 500 .8125rem/1 var(--f-mono); }
.t5-adq-rej { display: grid; gap: 2rem; align-items: start; }
.t5-adq-form { display: grid; gap: 0; min-width: 0; }
.t5-adq-lado { display: none; }
.t5-paso { display: grid; gap: .25rem 1.5rem; padding: 2rem 0; border-top: 1px solid var(--borde); scroll-margin-top: 1rem; }
.t5-paso-n { font: 500 clamp(1.75rem, 1.4rem + 1.4vw, 2.75rem)/1 var(--f-mono); color: var(--acento-texto); letter-spacing: -.04em; }
.t5-paso-h { font: 700 var(--t-h3)/1.2 var(--f-titular); color: var(--texto); margin-bottom: 1.25rem; }
.t5-paso-in { container-type: inline-size; min-width: 0; }
.t5-rejilla { display: grid; gap: 1rem 1.25rem; }
@container (min-width: 34rem) { .t5-rejilla { grid-template-columns: repeat(2, minmax(0, 1fr)); } .t5-rejilla .t5-ancho { grid-column: 1 / -1; } }
.t5-pagar { display: grid; gap: .75rem; margin: 1.25rem 0 1rem; }
.t5-pagar-nota { font-size: var(--t-pequeno); color: var(--texto-2); }
.t5-medida-btn { display: none; }
/* lo que depende de lo elegido, sin JS */
.t5-adq:has(#adq-forma-3:checked) .t5-solo-1 { display: none; }
.t5-adq:has(#adq-locales option[value="mas"]:checked) .t5-pagar .t5-enviar { display: none; }
.t5-adq:has(#adq-locales option[value="mas"]:checked) .t5-medida-btn { display: inline-flex; }
@media (min-width: 720px) { .t5-paso { grid-template-columns: 4.5rem minmax(0, 1fr); } .t5-pagar { justify-items: start; } .t5-pagar .t5-enviar { min-width: 18rem; } }
@media (min-width: 960px) {
  .t5-adq-rej { grid-template-columns: minmax(0, 1fr) var(--t5-col-resumen); gap: 3rem; }
  .t5-adq-lado { display: block; position: sticky; top: 1.5rem; }
  .t5-res--movil { display: none; }
}

/* ---------- resumen del pedido: la ventana de la marca, en cobalto */
.t5-res { border-radius: var(--r-xl); overflow: hidden; background: var(--cobalto-700); color: #fff; box-shadow: var(--sombra-flota); }
.t5-res-barra { display: flex; align-items: center; gap: .6rem; padding: .7rem 1.1rem; background: var(--cobalto-800); color: var(--cobalto-100); font: 500 .8125rem/1.3 var(--f-mono); }
.t5-res-barra--clara { background: var(--superficie); color: var(--texto-2); border-bottom: 1px solid var(--borde); }
.t5-res-in { padding: 1.25rem 1.25rem 1.4rem; display: grid; gap: .75rem; }
.t5-res-mod { font: 650 1.0625rem/1.3 var(--f-titular); color: #fff; }
.t5-res-que { font-size: .875rem; color: var(--cobalto-100); }
.t5-res-forma { display: grid; gap: .6rem; }
.t5-res-forma--3 { display: none; }
.t5-adq:has(#adq-forma-3:checked) .t5-res-forma--1 { display: none; }
.t5-adq:has(#adq-forma-3:checked) .t5-res-forma--3 { display: grid; }
.t5-res-precio { display: flex; align-items: baseline; gap: .3rem; font-family: var(--f-mono); }
.t5-res-precio > span { align-items: baseline; gap: .3rem; }
.t5-res-grande { font: 500 clamp(2.5rem, 2rem + 1.5vw, 3.25rem)/1 var(--f-mono); letter-spacing: -.04em; color: #fff; }
.t5-res-per, .t5-res-desde { font: 500 1rem/1 var(--f-mono); color: var(--cobalto-100); margin-left: .25rem; }
.t5-res-desde { margin: 0 .25rem 0 0; }
.t5-res-lz, .t5-res-nota { font-size: .875rem; color: var(--cobalto-100); }
.t5-res-lz b, .t5-res-dl b { color: #fff; }
.t5-res-dl { display: grid; margin: 0; }
.t5-res-fila { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .25rem 1rem; padding: .6rem 0; border-top: 1px solid rgba(255,255,255,.16); }
.t5-res-fila dt { font-size: .875rem; color: var(--cobalto-100); }
.t5-res-fila dd { margin: 0; text-align: right; font-size: .9375rem; color: #fff; }
.t5-res-fila--hoy dt { color: #fff; font-weight: 700; }
.t5-res-fila--hoy dd { font: 500 1.125rem/1.2 var(--f-mono); }
.t5-res-iva { font: 500 .75rem/1.3 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--cobalto-200); }
.t5-res-medida { display: none; font-size: .9375rem; }
.t5-res-medida a { color: #fff; font-weight: 700; text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 44px; }
.t5-adq:has(#adq-locales option[value="mas"]:checked) .t5-res-forma--1 :is(.t5-res-precio, .t5-res-lz, .t5-res-nota, .t5-res-dl) { display: none; }
.t5-adq:has(#adq-locales option[value="mas"]:checked) .t5-res-medida { display: block; }
.t5-res .pendiente { background: transparent; color: var(--naranja-200); border-color: var(--acento-linea); }
.t5-res .puntos i { background: rgba(255,255,255,.45); }
.t5-res .puntos i:first-child { background: var(--naranja-400); }
.t5-res-lista { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.t5-res-lista li { display: flex; justify-content: space-between; gap: 1rem; font-size: .9375rem; }
/* móvil: plegado arriba */
.t5-res--movil { margin-bottom: 1.5rem; }
.t5-res--movil summary { display: flex; align-items: center; gap: .75rem; min-height: 56px; padding: .6rem 1rem; list-style: none; cursor: pointer; background: var(--cobalto-800); }
.t5-res--movil summary::-webkit-details-marker { display: none; }
.t5-res-sum { flex: 1; display: grid; font: 700 .9375rem/1.25 var(--f-texto); }
.t5-res-sum-mod { font: 500 .8125rem/1.3 var(--f-mono); color: var(--cobalto-100); }
.t5-res-chev { transition: transform var(--d-media) var(--c-suave); }
.t5-res--movil[open] .t5-res-chev { transform: rotate(180deg); }
.t5-res--movil summary:focus-visible { outline: 3px solid var(--cobalto-300); outline-offset: -3px; }
@media (prefers-reduced-motion: reduce) { .t5-res-chev { transition: none; } }

/* ---------- GRACIAS */
.t5-gracias { max-width: 46rem; margin: 0 auto; padding: clamp(2rem, 1rem + 4vw, 4.5rem) 1rem clamp(3rem, 2rem + 4vw, 5rem); }
.t5-g-ventana { border: 1px solid var(--borde); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sombra-flota); background: var(--fondo); }
.t5-g-ventana .puntos i { background: rgba(255,255,255,.45); } .t5-g-ventana .puntos i:first-child { background: var(--naranja-400); }
.t5-g-in { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); display: grid; gap: 1rem; }
.t5-g-ok { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--exito-fondo); color: var(--exito); }
.t5-g-ok .ic { width: 32px; height: 32px; }
.t5-g-lead { display: flex; gap: .6rem; align-items: flex-start; }
.t5-g-lead .ic { color: var(--principal); margin-top: .15rem; }
.t5-g-h2 { font: 700 var(--t-h3)/1.2 var(--f-titular); margin-top: 1rem; }
.t5-g-pasos { list-style: none; counter-reset: g; padding: 0; margin: 0; display: grid; gap: 0; }
.t5-g-pasos li { counter-increment: g; position: relative; padding: 0 0 1.25rem 3.25rem; display: grid; gap: .4rem; color: var(--texto-2); }
.t5-g-pasos li::before { content: counter(g, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 2.25rem; height: 2.25rem; display: grid; place-items: center; border-radius: 50%; background: var(--principal-suave); color: var(--principal); font: 500 .8125rem/1 var(--f-mono); }
.t5-g-pasos li:not(:last-child)::after { content: ""; position: absolute; left: 1.1rem; top: 2.5rem; bottom: .25rem; width: 2px; background: var(--cobalto-100); }
.t5-g-paso { font-weight: 700; color: var(--texto); }
.t5-chip { display: inline-flex; align-items: center; gap: .35rem; justify-self: start; padding: .3rem .7rem; border-radius: var(--r-pildora); font-weight: 600; font-size: .8125rem; }
.t5-chip .ic { width: 16px; height: 16px; }
.t5-chip--proceso { background: var(--aviso-fondo); color: var(--aviso); }
.t5-g-acc { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: .5rem; }
.t5-g-enl { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.t5-g-enl a { display: flex; align-items: center; min-height: 44px; color: var(--principal); font-weight: 600; text-underline-offset: 3px; border-bottom: 1px solid var(--borde); }

/* ---------- REUNIÓN (página de mejorIA sobre el motor /meet) */
.t5--reu { background: linear-gradient(180deg, var(--superficie) 0, var(--fondo) 70%); }
.t5-reu { max-width: var(--t5-ancho-flujo); margin: 0 auto; padding: clamp(1.5rem, 1rem + 3vw, 4rem) 1rem clamp(3rem, 2rem + 4vw, 5rem); display: grid; gap: 2rem; align-items: start; }
.t5-reu-txt { display: grid; gap: 1rem; align-content: start; }
.t5-reu-meta { display: flex; gap: .5rem; align-items: center; font: 500 .9375rem/1.3 var(--f-mono); color: var(--texto); }
.t5-reu-meta .ic { color: var(--principal); }
.t5-rpasos { list-style: none; padding: 0; margin: .5rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.t5-rpasos li { display: flex; align-items: center; gap: .5rem; color: var(--texto-2); font-weight: 600; font-size: .9375rem; }
.t5-rpasos span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--borde-fuerte); font: 500 .8125rem/1 var(--f-mono); }
.t5-rpasos [aria-current] { color: var(--texto); }
.t5-rpasos [aria-current] span { background: var(--principal-700); border-color: var(--principal); color: #fff; }
.t5-rpasos .es-hecho span { background: var(--principal-suave); border-color: var(--principal); color: var(--principal); }
.t5-reu-col { display: grid; gap: .75rem; }
.t5-reu-card { border: 1px solid var(--borde); border-radius: var(--r-xl); overflow: hidden; background: var(--fondo); box-shadow: var(--sombra-flota); }
.t5-reu-in { padding: 1.25rem 1.25rem 1.5rem; display: grid; gap: 1rem; }
.t5-reu-h { font: 700 var(--t-h3)/1.2 var(--f-titular); color: var(--texto); }
.t5-ej { margin-top: -.5rem; }
.t5-dias { display: flex; gap: .4rem; overflow-x: auto; padding: .25rem .25rem .5rem; margin: 0 -.25rem; scrollbar-width: thin; }
.t5-dia { position: relative; flex: none; }
.t5-dia input, .t5-hora input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.t5-dia label { display: grid; place-items: center; width: 52px; min-height: 60px; padding: .35rem 0; border: 1.5px solid var(--borde-fuerte); border-radius: var(--r-s); cursor: pointer; font: 500 .6875rem/1.2 var(--f-mono); color: var(--texto-2); }
.t5-dia label b { font: 700 1.0625rem/1.1 var(--f-titular); color: var(--texto); }
.t5-dia input:checked + label, .t5-hora input:checked + label { border: 2px solid var(--principal); background: var(--principal-suave); }
.t5-dia input:disabled + label { border-style: dashed; opacity: .5; cursor: not-allowed; }
.t5-dia input:focus-visible + label, .t5-hora input:focus-visible + label { outline: 3px solid var(--foco); outline-offset: 2px; }
.t5-horas { gap: .5rem; grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr)); }
.t5-hora { position: relative; }
.t5-hora label { display: grid; place-items: center; min-height: 48px; border: 1.5px solid var(--borde-fuerte); border-radius: var(--r-s); cursor: pointer; font: 500 .9375rem/1 var(--f-mono); color: var(--texto); }
.t5-hora label:hover, .t5-dia label:hover { border-color: var(--principal); }
.t5-hora input:checked + label { font-weight: 700; color: var(--principal); }
.t5-nota--zona { margin-top: 0; }
.t5-elegido { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .25rem .25rem .25rem 1rem; border-radius: var(--r-m); background: var(--superficie); font-size: .9375rem; color: var(--texto-2); }
.t5-elegido p { padding: .6rem 0; } .t5-elegido b { color: var(--texto); }
.t5-cambiar { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; padding: 0 .75rem; border-radius: var(--r-s); color: var(--principal); font-weight: 700; text-underline-offset: 3px; }
.t5-cambiar:hover { background: var(--principal-suave); }
.t5-pila { display: grid; gap: 1rem; }
.t5-inv { display: flex; gap: .6rem; align-items: flex-start; padding: .85rem 1rem; border-radius: var(--r-m); background: var(--principal-suave); font-size: .9375rem; color: var(--texto); }
.t5-inv .ic { color: var(--principal); flex: none; }
.t5-copiar { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .25rem .25rem .25rem 1rem; border: 1.5px dashed var(--borde-fuerte); border-radius: var(--r-m); min-width: 0; }
.t5-copiar-url { font: 500 .875rem/1.3 var(--f-mono); color: var(--texto); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.t5-copiar-btn { flex: none; min-height: 44px; font-weight: 700; }
.t5-r-salida { font-size: .9375rem; color: var(--texto-2); padding: 0 .25rem; }
.t5-r-salida a { color: var(--principal); font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 3px; }
@media (min-width: 960px) { .t5-reu { grid-template-columns: minmax(0, 1fr) 30rem; gap: 4rem; } .t5-reu-txt { position: sticky; top: 2rem; } }

/* ---------- CONTACTO (/contacto, noindex) */
.t5-c-cab { background: var(--cobalto-50); border-bottom: 1px solid var(--cobalto-100); padding: clamp(2rem, 1rem + 4vw, 4rem) 1rem clamp(4rem, 3rem + 4vw, 6rem); }
.t5-c-cab-in { max-width: var(--t5-ancho-flujo); margin: 0 auto; display: grid; gap: 1.5rem; align-items: end; }
.t5-c-cab .t5-h1 { color: var(--principal-700); }
.t5-c-directo { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.t5-c-directo a { display: flex; align-items: center; gap: .9rem; min-height: 60px; padding: .6rem 1.1rem; border-radius: var(--r-m); background: var(--fondo); border: 1px solid var(--cobalto-100); color: var(--texto); text-decoration: none; font: 500 1rem/1.3 var(--f-mono); }
.t5-c-directo a:hover { border-color: var(--principal); }
.t5-c-directo .ic { color: var(--principal); }
.t5-c-directo small { display: block; font: 600 .75rem/1.2 var(--f-texto); color: var(--texto-2); letter-spacing: .04em; text-transform: uppercase; }
.t5-c-forms { max-width: var(--t5-ancho-flujo); margin: clamp(-4rem, -2rem - 2vw, -2.5rem) auto 0; padding: 0 1rem; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr)); align-items: start; }
.t5-c-forms:has(> .t5-cform:only-child) { max-width: 48rem; }
.t5-cform { background: var(--fondo); border: 1px solid var(--borde); border-radius: var(--r-xl); padding: clamp(1.25rem, 1rem + 1vw, 2rem); box-shadow: var(--sombra-flota); display: grid; gap: 1.25rem; scroll-margin-top: 1rem; }
.t5-cform-cab { display: grid; gap: .5rem; }
.t5-cform-cab p { color: var(--texto-2); }
.t5-cform-ic { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-m); background: var(--naranja-50); color: var(--naranja-700); }
.t5-cform-h { font: 700 var(--t-h2)/1.1 var(--f-titular); letter-spacing: -.015em; color: var(--texto); }
.t5-cform:target { outline: 3px solid var(--foco); outline-offset: 4px; }
.t5-c-reu { max-width: var(--t5-ancho-flujo); margin: clamp(2.5rem, 2rem + 2vw, 4rem) auto clamp(3rem, 2rem + 3vw, 5rem); padding: 0 1rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.t5-c-reu > div { display: grid; gap: .4rem; max-width: 40rem; }
.t5-c-reu p { color: var(--texto-2); }
.t5-c-reu-h { font: 700 var(--t-h3)/1.2 var(--f-titular); color: var(--texto); }
@media (min-width: 860px) { .t5-c-cab-in { grid-template-columns: minmax(0, 1fr) auto; } }

/* ---------- piezas (hoja t5-v1.html) */
.t5-mrej { display: grid; gap: 1.25rem 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); align-items: start; }
.t5-m { display: grid; gap: .5rem; min-width: 0; }
.t5-m-et { font: 500 .75rem/1.3 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--texto-2); margin-bottom: .25rem; }
.t5-cargando { display: flex; align-items: center; gap: .75rem; color: var(--texto); font-weight: 600; }
.t5-esq { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-top: .75rem; }
.t5-esq i { height: 48px; border-radius: var(--r-s); background: var(--superficie-2); animation: t5-latido 1.4s var(--c-suave) infinite alternate; }
@keyframes t5-latido { from { opacity: 1; } to { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .t5-esq i { animation: none; } }
.t5-saliendo { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; padding: 1.25rem; border: 1px solid var(--borde); border-radius: var(--r-l); background: var(--fondo); }
.t5-saliendo > div { flex: 1 1 14rem; display: grid; gap: .25rem; } .t5-saliendo p { color: var(--texto-2); }
.t5-saliendo .t5-saliendo-h { font: 700 1.0625rem/1.3 var(--f-titular); color: var(--texto); }
.t5-reu-err { margin: 0; }
.t5-reu-err > div { display: grid; gap: .25rem; }
.t5-reu-err-acc { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
.t5-reu-err .boton--texto, .t5-vacio .boton--texto { color: var(--principal); background: var(--fondo); }
.t5-vacio { padding: 1.25rem; border: 1.5px dashed var(--borde-fuerte); border-radius: var(--r-l); display: grid; gap: .4rem; }
.t5-vacio-h { font: 700 1.0625rem/1.3 var(--f-titular); }
.t5-vacio p:not(.t5-vacio-h) { color: var(--texto-2); }
.t5-tabla-env { overflow-x: auto; }
.t5-tabla caption { text-align: left; font-weight: 600; padding-bottom: .5rem; }
.t5-tabla td:last-child { font: 400 .8125rem/1.4 var(--f-mono); }
.t5-lista { padding-left: 1.2rem; margin: 0; display: grid; gap: .6rem; max-width: 78ch; }
.t5-lista--ui { columns: 2 22rem; display: block; } .t5-lista--ui li { break-inside: avoid; margin-bottom: .35rem; }
.t5-cita { color: var(--texto-2); font-size: .875rem; }

/* ---------- ajustes v1 tras mirar las capturas */
/* campos en dos columnas: etiqueta, ayuda, campo y error alineados por filas (subgrid), aunque solo uno lleve ayuda */
.t5-rejilla { row-gap: 0; }
.t5-rejilla > .t5-campo { grid-row: span 4; display: grid; grid-template-rows: subgrid; row-gap: .375rem; padding-bottom: 1rem; align-content: start; }
.t5-rejilla > .t5-campo .campo-ayuda { margin-top: 0; }
.t5-sin-ayuda:empty { margin: 0; }
.t5-pila .t5-sin-ayuda, .t5-mrej .t5-sin-ayuda { display: none; }
.t5-res-fila--larga { display: grid; gap: .2rem; }
.t5-res-fila--larga dd { text-align: left; }
.t5-res-sum-precio { font: 500 1.0625rem/1 var(--f-mono); color: #fff; white-space: nowrap; }
.t5-res-sum-precio .t5-res-forma--3 { display: none; }
.t5-adq:has(#adq-forma-3:checked) .t5-res-sum-precio .t5-res-forma--1 { display: none; }
.t5-adq:has(#adq-forma-3:checked) .t5-res-sum-precio .t5-res-forma--3 { display: inline; }
.t5-recap { display: grid; gap: .1rem; margin: 0 0 1.25rem; padding: .25rem 1rem; border-left: 3px solid var(--principal); }
.t5-recap > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; padding: .45rem 0; }
.t5-recap > div + div { border-top: 1px solid var(--borde); }
.t5-recap dt { color: var(--texto-2); }
.t5-recap dd { margin: 0; }
.t5-recap.t5-res-forma--3 { display: none; }
.t5-adq:has(#adq-forma-3:checked) .t5-recap.t5-res-forma--1 { display: none; }
.t5-adq:has(#adq-forma-3:checked) .t5-recap.t5-res-forma--3 { display: grid; }
.t5-adq:has(#adq-locales option[value="mas"]:checked) .t5-recap { display: none; }
@media (max-width: 719px) { .t5-pn { display: none; } }
@media (min-width: 720px) { .t5-recap { max-width: 34rem; } }
.t5-body { min-height: 100vh; display: flex; flex-direction: column; }
.t5-body > main { flex: 1 0 auto; }
.t5-c-cab { padding-inline: 0; }
.t5-c-cab-in { padding: 0 1rem; }
@media (max-width: 959px) { .t5-reu--p2 .t5-lead, .t5-reu--p3 .t5-lead, .t5-reu--p2 .t5-reu-meta, .t5-reu--p3 .t5-reu-meta { display: none; } }
.t5-hoja .t5-lista a { display: inline-flex; align-items: center; min-height: 44px; }
