
/* Tamaño de visualización «Estándar»: contenido de 1440 px como máximo, centrado */
html[data-t26-ancho="estandar"] { --t26-margen: max(clamp(16px, 3vw, 76px), calc((100vw - 1440px) / 2)); }
html[data-t26-ancho="estandar"] .t26-pt > .t26-car { max-width: calc(100vw - 2 * var(--t26-margen)); margin-left: auto; margin-right: auto; }
@media (max-width: 1599px) { .t26-ancho-g, .t26-aj--ancha { display: none !important; } }
/* 12:42 · en «Estándar» los paneles laterales (desplegables del dashboard y formularios, menú de cuenta, explorar) se abren DENTRO
   del marco de 1440 px, alineados con el logo / PUBLICA TU FIESTA; en «Ancho de pantalla» siguen pegados a la esquina */
@media (min-width: 1600px) {
	html[data-t26-ancho="estandar"] body:not(#t26a#t26b#t26c#t26d#t26e#t26f#t26g#t26h#t26i#t26j) .t26-lat { padding-right: calc(var(--t26-margen) - 16px) !important; padding-left: calc(var(--t26-margen) - 16px) !important; }
	html[data-t26-ancho="estandar"] body:not(#t26a#t26b#t26c#t26d#t26e#t26f#t26g#t26h#t26i#t26j) .t26-lat[data-modo="ficha"] .t26-lat__caja { right: calc(var(--t26-margen) - 16px) !important; }
	html[data-t26-ancho="estandar"] body:not(#t26a#t26b#t26c#t26d#t26e#t26f#t26g#t26h#t26i#t26j) .t26-izq:is(.is-on, .t26-sel):not(.t26-izq--l) { right: calc(var(--t26-margen) - 16px) !important; }
	html[data-t26-ancho="estandar"] body:not(#t26a#t26b#t26c#t26d#t26e#t26f#t26g#t26h#t26i#t26j) .t26-izq.t26-izq--l:is(.is-on, .t26-sel) { left: calc(var(--t26-margen) - 16px) !important; right: auto !important; } /* filtros de la agenda: se abren por la izquierda, alineados con el logo */
	html[data-t26-ancho="estandar"] body:not(#t26a#t26b#t26c#t26d#t26e#t26f#t26g#t26h#t26i#t26j) .tpd26-cajon__panel { right: calc(var(--t26-margen) - 16px) !important; }
	html[data-t26-ancho="estandar"] body:not(#t26a#t26b#t26c#t26d#t26e#t26f#t26g#t26h#t26i#t26j) .tp-explora-panel { left: calc(var(--t26-margen) - 16px) !important; }
	/* cerrado: que salga entero de la pantalla (si no, asomaba al moverlo hacia dentro) */
	html[data-t26-ancho="estandar"] body:not(#t26a#t26b#t26c#t26d#t26e#t26f#t26g#t26h#t26i#t26j) .tpd26-cajon:not(.is-abierto) .tpd26-cajon__panel { transform: translateX(calc(100% + var(--t26-margen) + 40px)) !important; }
}
/* 13:40 · fondo detrás de los paneles y ventanas flotantes: difuminado al 30 % (antes 10 %) */
html body:not(#t26a#t26b#t26c#t26d#t26e#t26f#t26g#t26h#t26i#t26j#t26k#t26l#t26m#t26n#t26o) :is(.tpd26-cajon__fondo, .t26-lat__velo, .t26-izq-velo, .tp-explora-fondo, .t26-aj__fondo, .t26-sh__velo, .t26-pop__velo) { backdrop-filter: blur(5px) !important; -webkit-backdrop-filter: blur(5px) !important; background: rgba(0, 0, 0, .30) !important; }
/* 13:40 · paneles laterales (derecha e izquierda) FLOTANDO DENTRO de la web: 14:10 · mismo margen arriba y abajo de toda la ventana (24 px; arriba, debajo de la barra de WordPress si la hay)
   --t26-pt = parte de abajo de la cabecera (o de la barra de WordPress si la cabecera ya no se ve) + 16 px; lo calcula el JS de abajo */
@media (min-width: 768px) {
	html body:not(#t26a#t26b#t26c#t26d#t26e#t26f#t26g#t26h#t26i#t26j#t26k#t26l#t26m#t26n#t26o) .t26-izq:is(.is-on, .t26-sel) { top: var(--t26-pt, 56px) !important; max-height: calc(100vh - var(--t26-pt, 56px) - 24px) !important; }
	html body:not(#t26a#t26b#t26c#t26d#t26e#t26f#t26g#t26h#t26i#t26j#t26k#t26l#t26m#t26n#t26o) :is(.tpd26-cajon__panel, .tp-explora-panel) { top: var(--t26-pt, 56px) !important; bottom: 24px !important; height: auto !important; max-height: none !important; }
	html body:not(#t26a#t26b#t26c#t26d#t26e#t26f#t26g#t26h#t26i#t26j#t26k#t26l#t26m#t26n#t26o) .t26-lat__caja { top: var(--t26-pt, 56px) !important; bottom: 24px !important; max-height: calc(100vh - var(--t26-pt, 56px) - 24px) !important; }
	/* buscador del menú de ALBERTO */
	html body:not(#t26a#t26b#t26c#t26d#t26e#t26f#t26g#t26h#t26i#t26j#t26k#t26l#t26m#t26n#t26o) .tpd26-cajon__busca { position: static !important; background: transparent !important; } /* el buscador va con el menú: ya no se queda flotando y las filas no pasan por detrás */
	html:not([data-t26-ancho="estandar"]) body:not(#t26a#t26b#t26c#t26d#t26e#t26f#t26g#t26h#t26i#t26j#t26k#t26l#t26m#t26n#t26o) :is(.tpd26-cajon__panel) { right: 16px !important; }
	html:not([data-t26-ancho="estandar"]) body:not(#t26a#t26b#t26c#t26d#t26e#t26f#t26g#t26h#t26i#t26j#t26k#t26l#t26m#t26n#t26o) :is(.tp-explora-panel) { left: 16px !important; }
}
/* fila «Ajustes de la web» (botón con el mismo aspecto que las demás filas del menú) */
button.tpd26-cajon__it.t26-aj__abre { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 14px; width: 100%; padding: 11px 24px; font: 400 14px/1.3 var(--t26-texto); color: #fff; cursor: pointer; }
button.t26-aj__abre:is(:hover, :focus-visible) { color: #ff2a2a; }
.t26-aj__abre .tpd26-cajon__tx { flex: 1; }
.t26-aj__fl { opacity: .7; }
/* VENTANA DE AJUSTES (como la de Claude): menú a la izquierda, contenido a la derecha */
.t26-aj { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.t26-aj[hidden] { display: none; }
.t26-aj__fondo { position: absolute; inset: 0; }
.t26-aj__caja { position: relative; display: grid; grid-template-columns: 250px minmax(0, 1fr); width: min(940px, 100%); height: min(640px, calc(100dvh - 32px)); background: #1b1b1b; border: 1px solid #3a3a3a; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); overflow: hidden; font-family: var(--t26-texto); color: #fff; text-align: left; }
.t26-aj__nav { display: flex; flex-direction: column; gap: 2px; padding: 20px 12px; border-right: 1px solid #2a2a2a; overflow-y: auto; }
.t26-aj__ng { padding: 4px 12px 10px; font: 400 13px/1.2 var(--t26-texto); color: #8f8f8f; }
.t26-aj__ni { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; font: 500 14px/1.2 var(--t26-texto); color: #dcdcdc !important; text-decoration: none !important; }
.t26-aj__ni svg { flex: 0 0 auto; width: 18px; height: 18px; }
.t26-aj__ni:is(:hover, :focus-visible) { color: #ff2a2a !important; }
.t26-aj__ni.is-on { background: #2a2a2a; color: #fff !important; }
.t26-aj__main { position: relative; overflow-y: auto; padding: 28px 36px 24px; }
.t26-aj__x { all: unset; position: absolute; top: 16px; right: 16px; display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; color: #fff; cursor: pointer; }
.t26-aj__x:is(:hover, :focus-visible) { color: #ff2a2a; }
.t26-aj :is(.t26-aj__x, .t26-aj__seg button, .t26-aj__ni):focus { outline: none; }
html body:not(#t26a#t26b#t26c#t26d#t26e#t26f#t26g#t26h#t26i#t26j#t26k#t26l#t26m#t26n#t26o#t26p#t26q) .tpd26-cajon .tpd26-cajon__busca { padding-left: 0 !important; padding-right: 0 !important; }
html body:not(#t26a#t26b#t26c#t26d#t26e#t26f#t26g#t26h#t26i#t26j#t26k#t26l#t26m#t26n#t26o#t26p#t26q) .t26c-gen .t26-aj__seg button { color: #9a9a9a !important; background: transparent !important; }
html body:not(#t26a#t26b#t26c#t26d#t26e#t26f#t26g#t26h#t26i#t26j#t26k#t26l#t26m#t26n#t26o#t26p#t26q) .t26c-gen .t26-aj__seg button:hover { color: #fff !important; }
html body:not(#t26a#t26b#t26c#t26d#t26e#t26f#t26g#t26h#t26i#t26j#t26k#t26l#t26m#t26n#t26o#t26p#t26q) .t26c-gen .t26-aj__seg button[aria-checked="true"] { background: #333 !important; color: #fff !important; }
html body:not(#t26a#t26b#t26c#t26d#t26e#t26f#t26g#t26h#t26i#t26j#t26k#t26l#t26m#t26n#t26o#t26p#t26q) .t26c-gen .t26-aj__fila { border-bottom: 1px solid #333 !important; } /* 17-10: el buscador del menú, alineado con las filas */
.t26c-gen .t26-aj__fila { max-width: 760px; }
.t26c-gen .t26-aj__h:first-child { padding-top: 0; }
.t26-aj__h { margin: 0 0 4px; padding-top: 8px; font: 600 16px/1.3 var(--t26-texto) !important; color: #fff; text-transform: none !important; letter-spacing: 0 !important; }
.t26-aj__h ~ .t26-aj__h { margin-top: 32px; }
.t26-aj__fila { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 0; border-bottom: 1px solid #2a2a2a; }
.t26-aj__fila:has(+ .t26-aj__h), .t26-aj__fila:has(+ .t26-aj__nota) { border-bottom: 0; }
.t26-aj__et { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.t26-aj__et b { font: 500 15px/1.3 var(--t26-texto); color: #fff; }
.t26-aj__et small { font: 400 13px/1.35 var(--t26-texto); color: #8f8f8f; }
/* selector como el de Claude: caja con los iconos; la opción elegida, marcada con fondo más claro y borde */
.t26-aj__seg { flex: 0 0 auto; display: inline-flex; gap: 2px; padding: 3px; background: #141414; border: 1px solid #2a2a2a; border-radius: 10px; }
.t26-aj__seg button { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 32px; border-radius: 7px; border: 1px solid transparent; color: #9a9a9a; cursor: pointer; }
.t26-aj__seg button:is(:hover, :focus-visible) { color: #ff2a2a; }
.t26-aj__seg button[aria-checked="true"] { background: #2f2f2f; border-color: #3d3d3d; color: #fff; }
.t26-aj__nota { margin: 20px 0 0; font: 400 12px/1.4 var(--t26-texto); color: #8f8f8f; }
@media (max-width: 760px) {
	.t26-aj { padding: 0; }
	.t26-aj__caja { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); width: 100%; height: 100dvh; border: 0; border-radius: 0; }
	.t26-aj__nav { flex-direction: row; gap: 4px; padding: 12px 56px 12px 12px; border-right: 0; border-bottom: 1px solid #2a2a2a; overflow-x: auto; scrollbar-width: none; }
	.t26-aj__ng { display: none; }
	.t26-aj__ni { flex: 0 0 auto; white-space: nowrap; padding: 8px 12px; }
	.t26-aj__x { top: 10px; right: 8px; z-index: 1; }
	.t26-aj__main { padding: 16px 16px 24px; }
}
/* contenido de Mi cuenta dentro de la ventana */
.t26-aj__main:has(.t26-aj__marco:not([hidden])) { padding: 0; overflow: hidden; }
.t26-aj__marco { position: absolute; inset: 0; }
.t26-aj__marco[hidden], .t26-aj__gen[hidden] { display: none; }
.t26-aj__marco iframe { display: block; width: 100%; height: 100%; border: 0; background: transparent; color-scheme: normal; }
.t26-aj__main:has(.t26-aj__marco:not([hidden])) .t26-aj__x { z-index: 2; }
/* la página cargada DENTRO de la ventana: sin cabecera, pie, barra de admin ni menús */
html.t26-en-ventana { margin-top: 0 !important; --t26-margen: 32px; }
html.t26-en-ventana :is(#wpadminbar, .t26-saltar, header.t26-cab, footer.t26-pie, .tpd26-cajon, .tp-explora-fondo, .tp-explora-panel, .t26-preview) { display: none !important; }
html.t26-en-ventana body { background: #1b1b1b !important; }
html[data-t26-tema="dia"].t26-en-ventana body { background: #fff !important; }
html.t26-en-ventana main { padding-top: 28px !important; padding-bottom: 28px !important; min-height: 0 !important; }
/* MENÚ DE CUENTA: nombre, @usuario y rol caben justos en el alto de la foto; buscador limpio con lupa */
html body:not(#t26a#t26b#t26c#t26d#t26e#t26f#t26g#t26h#t26i#t26j) .tpd26-cajon__cab { align-items: center !important; gap: 14px !important; }
html body:not(#t26a#t26b#t26c#t26d#t26e#t26f#t26g#t26h#t26i#t26j) .tpd26-cajon__avatar { width: 56px !important; height: 56px !important; flex: 0 0 56px !important; object-fit: cover; }
html body:not(#t26a#t26b#t26c#t26d#t26e#t26f#t26g#t26h#t26i#t26j) .tpd26-cajon__quien { display: flex !important; flex-direction: column !important; justify-content: center !important; gap: 0 !important; height: 56px !important; min-width: 0; }
html body:not(#t26a#t26b#t26c#t26d#t26e#t26f#t26g#t26h#t26i#t26j) .tpd26-cajon__quien > * { margin: 0 !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body:not(#t26a#t26b#t26c#t26d#t26e#t26f#t26g#t26h#t26i#t26j) .tpd26-cajon__quien strong { font: 700 16px/20px var(--t26-texto) !important; }
html body:not(#t26a#t26b#t26c#t26d#t26e#t26f#t26g#t26h#t26i#t26j) .tpd26-cajon__quien span { font: 400 13px/18px var(--t26-texto) !important; }
html body:not(#t26a#t26b#t26c#t26d#t26e#t26f#t26g#t26h#t26i#t26j) .tpd26-cajon__quien em { font: 700 10px/18px var(--t26-texto) !important; letter-spacing: .12em !important; }
html body:not(#t26a#t26b#t26c#t26d#t26e#t26f#t26g#t26h#t26i#t26j) .tpd26-cajon__busca { background: transparent !important; padding: 12px 24px 6px !important; box-shadow: none !important; border: 0 !important; }
html body:not(#t26a#t26b#t26c#t26d#t26e#t26f#t26g#t26h#t26i#t26j) .tpd26-cajon__busca input { height: 40px !important; width: 100% !important; box-sizing: border-box !important; padding: 0 14px 0 40px !important; background: #141414 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a9a9a' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") 14px center / 16px no-repeat !important; border: 1px solid #2a2a2a !important; border-radius: 10px !important; font: 400 14px/1 var(--t26-texto) !important; color: #fff !important; box-shadow: none !important; }
html body:not(#t26a#t26b#t26c#t26d#t26e#t26f#t26g#t26h#t26i#t26j) .tpd26-cajon__busca input:focus { border-color: #4a4a4a !important; outline: none !important; }
html[data-t26-tema="dia"] body:not(#t26a#t26b#t26c#t26d#t26e#t26f#t26g#t26h#t26i#t26j) .tpd26-cajon__busca input { background-color: #f4f4f4 !important; border-color: #e2e2e2 !important; color: #111 !important; }
/* tema Día */
html[data-t26-tema="dia"] .t26-aj__caja { background: #fff; border-color: #e2e2e2; color: #111; }
html[data-t26-tema="dia"] :is(.t26-aj__nav, .t26-aj__fila) { border-color: #ececec; }
html[data-t26-tema="dia"] .t26-aj__ni:not(:hover) { color: #333 !important; }
html[data-t26-tema="dia"] .t26-aj__ni.is-on { background: #f0f0f0; color: #111 !important; }
html[data-t26-tema="dia"] :is(.t26-aj__h, .t26-aj__et b, .t26-aj__x:not(:hover), button.t26-aj__abre:not(:hover)) { color: #111; }
html[data-t26-tema="dia"] .t26-aj__seg { background: #f2f2f2; border-color: #e2e2e2; }
html[data-t26-tema="dia"] .t26-aj__seg button[aria-checked="true"] { background: #fff; border-color: #d6d6d6; color: #111; }
