/* PANEL LATERAL de los campos largos del formulario de fiesta (assets/js/campos.js) · mismo look que el banner de logos */
.t26-lat{ position: fixed; inset: 0; z-index: 100000; display: flex; justify-content: flex-end; }
.t26-lat[hidden]{ display: none !important; }
.t26-lat__velo{ position: absolute; inset: 0; background: rgba(0, 0, 0, .65); }
.t26-lat__caja{ position: relative; width: min(560px, 100%); height: 100%; background: #1f1f1f; border-left: 1px solid #333; display: flex; flex-direction: column; box-sizing: border-box; }
.t26-lat[data-modo="ficha"]{ justify-content: center; align-items: center; }/* la ficha completa: grande y centrada, se ve todo de golpe */ 
.t26-lat[data-modo="ficha"] .t26-lat__caja{ width: min(1200px, 94vw); height: min(92vh, 1100px); border: 1px solid #333; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
@media (max-width: 700px) { .t26-lat[data-modo="ficha"] .t26-lat__caja{ width: 100%; height: 100%; border-radius: 0; border: 0; } }
html.t26-lat-abierto,html.t26-lat-abierto body{ overflow: hidden; }
.t26-lat__cab{ display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 24px; border-bottom: 1px solid var(--t26-linea); }
body .t26-lat__cab h2{ margin: 0; font: 800 18px/1.15 var(--t26-titulo, inherit); letter-spacing: .02em; text-transform: uppercase; color: #fff; }
.t26-lat__x{ width: 36px; height: 36px; flex: 0 0 auto; border-radius: 50%; border: 1.5px solid #fff; background: transparent; color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.t26-lat__x:hover,.t26-lat__x:focus-visible{ background: #e40613; border-color: #e40613; }
.t26-lat__cuerpo{ flex: 1; overflow-y: auto; padding: 20px 24px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.t26-lat[data-modo="ficha"] .t26-lat__cuerpo{ padding: 0; overflow: hidden; }
.t26-lat__pie{ display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 24px; border-top: 1px solid var(--t26-linea); }
.t26-lat__pie[hidden]{ display: none; }
.t26-lat__res{ flex: 1; font-size: 13px; color: #9a9a9a; }
.t26-lat__ok{ border: 0; border-radius: 999px; background: #e40613; color: #fff; padding: 12px 26px; font: 800 13px/1 var(--t26-texto, inherit); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.t26-lat__ok:hover{ background: #ff1a27; }/* buscador + opciones */

.t26-lat__busca{ display: flex; align-items: center; gap: 8px; }
.t26-lat__busca input{ flex: 1; min-width: 0; background: #111; border: 1px solid #333; border-radius: 999px; color: #fff; font-size: 15px; padding: 11px 16px; outline: none; }
.t26-lat__busca input:focus{ border-color: #e40613; }
.t26-lat__limpiar{ background: transparent; border: 1px solid #444; border-radius: 999px; color: #ccc; padding: 10px 14px; font: 700 11px/1 var(--t26-texto, inherit); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.t26-lat__limpiar:hover{ border-color: #e40613; background: #e40613; color: #fff; }
.t26-lat__ops{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
@media (max-width: 480px) { .t26-lat__ops{ grid-template-columns: 1fr; } }
.t26-lat__op{ display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; border: 1px solid #333; background: #262626; color: #eee; font-size: 14px; text-align: left; cursor: pointer; }
.t26-lat__op:hover{ border-color: #e40613; }
.t26-lat__op i{ width: 20px; height: 20px; flex: 0 0 auto; border-radius: 5px; border: 2px solid #666; display: flex; align-items: center; justify-content: center; }
.t26-lat__op.is-on{ border-color: #e40613; background: rgba(228, 6, 19, .14); font-weight: 700; }
.t26-lat__op.is-on i{ background: #e40613; border-color: #e40613; }
.t26-lat__op.is-on i::after{ content: "✕"; color: #fff; font: 900 12px/1 sans-serif; font-style: normal; }
.t26-lat__nada{ color: #888; margin: 0; }
.t26-lat__ops--uno .t26-lat__op i{ border-radius: 50%; }
.t26-lat__ops--uno .t26-lat__op.is-on i::after{ content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.t26-lat__nuevo{ align-self: flex-start; border: 1px dashed #e40613; background: transparent; color: #fff; border-radius: 999px; padding: 11px 18px; font: 800 12px/1 var(--t26-texto, inherit); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.t26-lat__nuevo:hover{ background: #e40613; }
html[data-t26-tema="dia"] .t26-lat__nuevo{ color: #000; }
html[data-t26-tema="dia"] .t26-lat__nuevo:hover{ color: #fff; }/* ficha dentro del panel */

.t26-lat__if{ width: 100%; height: 100%; border: 0; display: block; background: transparent; }
.t26-lat__carga{ position: absolute; top: 24px; left: 24px; color: #888; font-size: 14px; }
.t26-lat__cuerpo.is-cargado .t26-lat__carga{ display: none; }/* resumen en el campo del formulario */

.t26-lat-campo .tpd26-multi__ph.t26-lat-lleno{ color: inherit; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }/* campo «Selecciona varios» de la ficha (géneros): igual que en el formulario de fiesta */

.t26-lat-campo-btn{ width: 100%; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 14px; border-radius: 10px; border: 1px solid #333; background: #262626; color: #fff; text-align: left; cursor: pointer; }
.t26-lat-campo-btn:hover,.t26-lat-campo-btn:focus-visible{ border-color: #e40613; }
.t26-lat-campo-btn__val{ flex: 1; display: flex; flex-wrap: wrap; gap: 6px; }
.t26-lat-campo-btn__val em{ font-style: normal; color: #8f8f8f; }
.t26-lat-campo-btn__val b{ background: #e40613; color: #fff; border-radius: 999px; padding: 5px 11px; font: 700 11px/1 var(--t26-texto, inherit); letter-spacing: .06em; text-transform: uppercase; }
html[data-t26-tema="dia"] .t26-lat-campo-btn{ background: #f5f5f5; border-color: #ddd; color: #000; }/* aviso */

.t26-lat-toast{ position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 100001; background: #e40613; color: #fff; padding: 13px 22px; border-radius: 999px; font: 700 14px/1.2 var(--t26-texto, inherit); box-shadow: 0 12px 30px rgba(0, 0, 0, .4); transition: opacity .5s; }
.t26-lat-toast.is-fuera{ opacity: 0; }/* modo día */

html[data-t26-tema="dia"] .t26-lat__caja{ background: #fff; border-left-color: #ddd; }
html[data-t26-tema="dia"] body .t26-lat__cab h2{ color: #000; }
html[data-t26-tema="dia"] .t26-lat__cab,html[data-t26-tema="dia"] .t26-lat__pie{ border-color: #e2e2e2; }
html[data-t26-tema="dia"] .t26-lat__x{ border-color: #000; color: #000; }
html[data-t26-tema="dia"] .t26-lat__x:hover{ border-color: #e40613; color: #fff; }
html[data-t26-tema="dia"] .t26-lat__busca input{ background: #f5f5f5; border-color: #ddd; color: #000; }
html[data-t26-tema="dia"] .t26-lat__op{ background: #f5f5f5; border-color: #e2e2e2; color: #111; }
html[data-t26-tema="dia"] .t26-lat__op i{ border-color: #999; }
html[data-t26-tema="dia"] .t26-lat__limpiar{ color: #333; border-color: #ccc; }/* píldoras de la misma altura (regla de toda la web): buscador, Limpiar, Hecho y + Nuevo = 44 px */


.t26-lat .t26-lat__busca input,.t26-lat .t26-lat__limpiar,.t26-lat .t26-lat__ok,.t26-lat .t26-lat__nuevo{ height: 44px; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
.t26-lat .t26-lat__busca input{ display: block; padding-top: 0; padding-bottom: 0; }
.t26-lat .t26-lat__limpiar{ background: transparent; border: 1px solid #555; color: #ddd; padding: 0 18px; }
.t26-lat .t26-lat__limpiar:hover{ background: #e40613; border-color: #e40613; color: #fff; }
.t26-lat .t26-lat__ok,.t26-lat .t26-lat__nuevo{ padding: 0 24px; }
.t26-lat__cuerpo > *{ flex-shrink: 0; }/* orden alfabético en VERTICAL (de arriba abajo y luego la columna de al lado), en todos los paneles de selección */

.t26-lat__ops{ display: block; columns: 2; column-gap: 6px; }
.t26-lat__ops > *{ break-inside: avoid; margin-bottom: 6px; width: 100%; box-sizing: border-box; }
@media (max-width: 480px) { .t26-lat__ops{ columns: 1; } }/* campos que se eligen en el PANEL LATERAL: nunca el desplegable viejo debajo (se colaban los dos a la vez) */


body .t26-lat-campo .tpd26-panel,body .t26-lat-campo .choices__list--dropdown,body .t26-lat-campo .choices__list[aria-expanded]{ display: none !important; }
