/* Brintage R703 — Editor profesional aprobado 18/11/2026.
   Basado en el boceto blanco seleccionado. SOLO presentación del menú.
   Se conserva la estructura, las acciones, permisos, paneles y el lienzo. */
#createpost.cp-brintage-toolbar-v2{
  --brpro-ink:#1e2d40;
  --brpro-muted:#687b92;
  --brpro-border:#dae3ee;
  --brpro-panel:#fff;
  --brpro-soft:linear-gradient(180deg,#fefefe 0%,#f0f3f8 100%);
  --brpro-active:linear-gradient(180deg,#228dff 0%,#0752da 100%);
}
/* El panel de escritorio sigue siendo el contenedor original, sin añadir DOM. */
#createpost.cp-brintage-toolbar-v2.cp-editor-step > .cp-collage-tabs{
  background:#fff!important;
  background-image:linear-gradient(155deg,#fff 0%,#fcfdff 100%)!important;
  border:1px solid #e0e6ef!important;
  border-radius:22px!important;
  box-shadow:0 9px 24px rgba(32,57,96,.085),0 1px 2px rgba(32,57,96,.05)!important;
  padding:10px!important;
  gap:12px!important;
  overflow:visible!important;
}
#createpost.cp-brintage-toolbar-v2 .cp-collage-bank-switch{
  gap:8px!important;
  min-height:52px!important;
}
/* Pestañas: iconos y tipografía uniformes, ninguna paleta arcoíris. */
#createpost.cp-brintage-toolbar-v2 .cp-collage-bank-switch > button.cp-brintage-free-tab,
#createpost.cp-brintage-toolbar-v2 .cp-collage-bank-switch > button.cp-collage-tab:not(.cp-favorites-tab){
  display:flex!important;align-items:center!important;justify-content:center!important;
  gap:9px!important;min-height:52px!important;width:100%!important;
  padding:8px 8px!important;
  background:#f6f8fb!important;
  background-image:var(--brpro-soft)!important;
  border:1px solid var(--brpro-border)!important;
  border-radius:17px!important;
  color:var(--brpro-ink)!important;
  font:700 clamp(11px,1.7vw,14px)/1.2 Arial,Helvetica,sans-serif!important;
  letter-spacing:-.1px!important;
  text-shadow:none!important;
  box-shadow:0 1px 2px rgba(30,51,82,.04)!important;
  filter:none!important;transform:none!important;
  transition:background .15s ease,border-color .15s ease,box-shadow .15s ease!important;
}
#createpost.cp-brintage-toolbar-v2 .cp-collage-bank-switch > button.cp-brintage-free-tab:hover:not(:disabled),
#createpost.cp-brintage-toolbar-v2 .cp-collage-bank-switch > button.cp-collage-tab:not(.cp-favorites-tab):hover:not(:disabled){
  background-image:linear-gradient(180deg,#fff,#eaf1fa)!important;
  border-color:#b9cde5!important;
}
/* Modo activo: SOLO el seleccionado es azul, exactamente como el boceto. */
#createpost.cp-brintage-toolbar-v2.cp-free-mode .cp-collage-bank-switch > button.cp-brintage-free-tab,
#createpost.cp-brintage-toolbar-v2:not(.cp-free-mode):not(.cp-themes-open) .cp-collage-bank-switch > button.cp-collage-tab[data-bank="original"].is-active,
#createpost.cp-brintage-toolbar-v2:not(.cp-free-mode):not(.cp-themes-open) .cp-collage-bank-switch > button.cp-collage-tab[data-bank="emotive"].is-active{
  background:#1268ec!important;
  background-image:var(--brpro-active)!important;
  border:1px solid #1478ed!important;
  color:#fff!important;
  box-shadow:0 5px 12px rgba(12,97,223,.22),0 1px 2px rgba(12,97,223,.11)!important;
  text-shadow:none!important;
  filter:none!important;transform:none!important;
}
/* No revivir Clásicos/Temáticos como activos al estar en Diseño libre. */
#createpost.cp-brintage-toolbar-v2.cp-free-mode .cp-collage-bank-switch > button.cp-collage-tab[data-bank]{
  background-image:var(--brpro-soft)!important;
  border-color:var(--brpro-border)!important;
  color:var(--brpro-ink)!important;
  box-shadow:0 1px 2px rgba(30,51,82,.04)!important;
}
/* La unión SVG de Temáticos y catálogo sigue funcionando como antes. */
#createpost.cp-brintage-toolbar-v2.cp-themes-open .cp-collage-bank-switch > button.cp-collage-tab[data-bank="emotive"],
#createpost.cp-brintage-toolbar-v2.cp-themes-open .cp-collage-bank-switch > button.cp-collage-tab[data-bank="emotive"].is-active{
  background:transparent!important;background-image:none!important;
  border-color:transparent!important;box-shadow:none!important;
  color:#1266c4!important;transform:none!important;
}
#createpost.cp-brintage-toolbar-v2 .cp-collage-bank-switch .cp-br-free-icon{
  display:block!important;flex:0 0 24px!important;width:24px!important;height:24px!important;
  background:currentColor!important;
  -webkit-mask:url('../icos/br-menu-pro-palette.svg') center/contain no-repeat!important;
  mask:url('../icos/br-menu-pro-palette.svg') center/contain no-repeat!important;
  filter:none!important;
}
#createpost.cp-brintage-toolbar-v2 .cp-collage-bank-switch .cp-tab-grid{
  display:block!important;flex:0 0 20px!important;width:20px!important;height:20px!important;
  background:currentColor!important;
  -webkit-mask:url('../icos/br-menu-pro-grid.svg') center/contain no-repeat!important;
  mask:url('../icos/br-menu-pro-grid.svg') center/contain no-repeat!important;
  filter:none!important;
}
#createpost.cp-brintage-toolbar-v2 .cp-collage-bank-switch .cp-tab-heart{
  display:block!important;flex:0 0 24px!important;width:24px!important;height:24px!important;
  font-size:0!important;line-height:0!important;
  background:currentColor!important;
  -webkit-mask:url('../icos/br-menu-pro-heart.svg') center/contain no-repeat!important;
  mask:url('../icos/br-menu-pro-heart.svg') center/contain no-repeat!important;
}
/* Herramientas: cinco mosaicos del mismo tamaño, mismo color y mismo trazo. */
#createpost.cp-brintage-toolbar-v2 .cp-collage-tools{
  gap:7px!important;
  min-height:79px!important;
}
#createpost.cp-brintage-toolbar-v2 .cp-collage-tools > button,
#createpost.cp-brintage-toolbar-v2 .cp-collage-tools > button:not(:disabled):hover,
#createpost.cp-brintage-toolbar-v2.cp-free-mode .cp-collage-tabs .cp-collage-tools > button.cp-filter-toggle:not(:disabled){
  --br-tool-top:#fefefe;--br-tool-bottom:#f0f3f8;--br-tool-border:#dce4ef;
  color:var(--brpro-ink)!important;
  background:#f7f9fc!important;
  background-image:var(--brpro-soft)!important;
  border:1px solid var(--brpro-border)!important;
  border-radius:17px!important;
  box-shadow:0 1px 2px rgba(30,51,82,.035)!important;
  min-height:79px!important;
  padding:9px 2px 8px!important;
  gap:7px!important;
  opacity:1!important;
  text-shadow:none!important;
  filter:none!important;transform:none!important;
}
#createpost.cp-brintage-toolbar-v2 .cp-collage-tools > button:not(:disabled):hover{
  background-image:linear-gradient(180deg,#fff,#eaf1fa)!important;
  border-color:#bbd0ea!important;
  box-shadow:0 3px 8px rgba(32,57,96,.06)!important;
}
/* Estado abierto/activado: indicación serena, no el botón hundido antiguo. */
#createpost.cp-brintage-toolbar-v2 .cp-collage-tools > button:is(.is-active,.is-open,[aria-expanded="true"],.has-effect):not(:disabled),
#createpost.cp-brintage-toolbar-v2.cp-free-mode .cp-collage-tabs .cp-collage-tools > button.cp-filter-toggle.is-active:not(:disabled){
  background:#edf5ff!important;
  background-image:linear-gradient(180deg,#f9fcff 0%,#e8f2ff 100%)!important;
  border-color:#9fc4f2!important;
  box-shadow:0 0 0 1px rgba(48,126,222,.08)!important;
  color:var(--brpro-ink)!important;
  text-shadow:none!important;
}
#createpost.cp-brintage-toolbar-v2 .cp-collage-tools > button:disabled,
#createpost.cp-brintage-toolbar-v2.cp-free-mode .cp-collage-tabs .cp-collage-tools > button.cp-filter-toggle:disabled{
  background-image:var(--brpro-soft)!important;
  border-color:var(--brpro-border)!important;
  color:#7e8da1!important;
  opacity:.67!important;
  box-shadow:0 1px 2px rgba(30,51,82,.025)!important;
  filter:none!important;
  cursor:not-allowed!important;
}
#createpost.cp-brintage-toolbar-v2 .cp-collage-tools > button:is(.cp-animation-toggle,.cp-text-tool-toggle,.cp-filter-toggle,.cp-global-effect-toggle,.cp-thematic-visual-toggle,.cp-motion-menu-trigger),
#createpost.cp-brintage-toolbar-v2 .cp-collage-tools > button .cp-tool-label,
#createpost.cp-brintage-toolbar-v2 .cp-collage-tools > button.cp-text-tool-toggle > span:first-child,
#createpost.cp-brintage-toolbar-v2 .cp-collage-tools > button:disabled .cp-tool-label{
  color:inherit!important;
  text-shadow:none!important;
}
#createpost.cp-brintage-toolbar-v2 .cp-collage-tools > button .cp-tool-label{
  display:block!important;width:100%!important;
  font:700 clamp(9px,1.5vw,12px)/1.12 Arial,Helvetica,sans-serif!important;
  letter-spacing:-.12px!important;
  text-align:center!important;
  white-space:nowrap!important;
  text-overflow:clip!important;
  overflow:visible!important;
}
/* Todos los iconos monocromos heredan el mismo color del botón. */
#createpost.cp-brintage-toolbar-v2 .cp-collage-tools .cp-animation-icon,
#createpost.cp-brintage-toolbar-v2 .cp-collage-tools .cp-filter-icon,
#createpost.cp-brintage-toolbar-v2 .cp-collage-tools .cp-global-effect-icon,
#createpost.cp-brintage-toolbar-v2 .cp-collage-tools .cp-motion-toolbar-icon{
  display:block!important;position:relative!important;
  flex:0 0 25px!important;width:25px!important;height:25px!important;
  border:0!important;border-radius:0!important;
  background-color:currentColor!important;background-image:none!important;
  filter:none!important;
}
#createpost.cp-brintage-toolbar-v2 .cp-collage-tools .cp-animation-icon{
  -webkit-mask:url('../icos/br-menu-pro-animate.svg') center/contain no-repeat!important;
  mask:url('../icos/br-menu-pro-animate.svg') center/contain no-repeat!important;
}
#createpost.cp-brintage-toolbar-v2 .cp-collage-tools .cp-filter-icon{
  -webkit-mask:url('../icos/br-menu-pro-sliders.svg') center/contain no-repeat!important;
  mask:url('../icos/br-menu-pro-sliders.svg') center/contain no-repeat!important;
}
#createpost.cp-brintage-toolbar-v2 .cp-collage-tools .cp-global-effect-icon{
  -webkit-mask:url('../icos/br-menu-pro-sparkles.svg') center/contain no-repeat!important;
  mask:url('../icos/br-menu-pro-sparkles.svg') center/contain no-repeat!important;
}
#createpost.cp-brintage-toolbar-v2 .cp-collage-tools .cp-motion-toolbar-icon{
  -webkit-mask:url('../icos/br-menu-pro-motion.svg') center/contain no-repeat!important;
  mask:url('../icos/br-menu-pro-motion.svg') center/contain no-repeat!important;
}
#createpost.cp-brintage-toolbar-v2 .cp-collage-tools .cp-animation-icon::before,
#createpost.cp-brintage-toolbar-v2 .cp-collage-tools .cp-animation-icon::after,
#createpost.cp-brintage-toolbar-v2 .cp-collage-tools .cp-global-effect-icon::before,
#createpost.cp-brintage-toolbar-v2 .cp-collage-tools .cp-global-effect-icon::after{
  content:none!important;display:none!important;
}
#createpost.cp-brintage-toolbar-v2 .cp-collage-tools .cp-motion-toolbar-icon > svg{display:none!important;}
#createpost.cp-brintage-toolbar-v2 .cp-collage-tools .cp-text-tool-toggle > span:first-child{
  font:700 29px/25px Georgia,serif!important;
  flex:0 0 25px!important;width:25px!important;height:25px!important;
}
/* El estado bloqueado mantiene contraste y no hereda blanco del diseño pastel. */
#createpost.cp-brintage-toolbar-v2.cp-editor-step .cp-collage-tools > button.cp-motion-menu-trigger:disabled,
#createpost.cp-brintage-toolbar-v2.cp-editor-step .cp-collage-tools > button.cp-motion-menu-trigger:disabled .cp-tool-label,
#createpost.cp-brintage-toolbar-v2.cp-editor-step .cp-collage-tools > button.cp-motion-menu-trigger:disabled .cp-motion-toolbar-icon{
  color:#687d96!important;
  text-shadow:none!important;
  opacity:1!important;
  filter:none!important;
}
/* El sexto control de Temáticos se integra sin tapar los cinco normales. */
#createpost.cp-brintage-toolbar-v2 .cp-collage-tools > button.cp-thematic-visual-toggle[hidden]{display:none!important;}
/* móvil: el selector superior y el carril de herramientas mantienen sus carriles
   de tamaño fijo. No reducir el lienzo, ni los controles de publicación. */
@media(max-width:768px){
  #key > #createpost.pg.mobile-createpost.cp-brintage-toolbar-v2.cp-editor-step > .cp-mobile-design-launcher{
    background:#fff!important;
    border:1px solid #e0e6ef!important;
    border-radius:16px!important;
    box-shadow:0 2px 8px rgba(32,57,96,.045)!important;
    padding:3px!important;
    box-sizing:border-box!important;
    gap:4px!important;
  }
  #createpost.mobile-createpost.cp-brintage-toolbar-v2 .cp-mobile-design-launcher > button.cp-mobile-design-launch:not([data-mode="favorites"]){
    display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
    gap:2px!important;
    min-height:0!important;height:100%!important;
    padding:3px 2px!important;
    background:#f6f8fb!important;
    background-image:var(--brpro-soft)!important;
    color:var(--brpro-ink)!important;
    border:1px solid var(--brpro-border)!important;
    border-radius:12px!important;
    box-shadow:none!important;
    filter:none!important;transform:none!important;
    text-shadow:none!important;
    font:700 clamp(9px,2.5vw,11px)/1.08 Arial,Helvetica,sans-serif!important;
    overflow:hidden!important;white-space:normal!important;text-overflow:clip!important;
  }
  #createpost.mobile-createpost.cp-brintage-toolbar-v2 .cp-mobile-design-launcher > button.cp-mobile-design-launch.is-active:not([data-mode="favorites"]){
    color:#fff!important;
    background:#1168ee!important;background-image:var(--brpro-active)!important;
    border-color:#1478ed!important;
    box-shadow:0 2px 5px rgba(12,97,223,.16)!important;
  }
  #createpost.mobile-createpost.cp-brintage-toolbar-v2 .cp-mobile-design-launcher > button.cp-mobile-design-launch:not([data-mode="favorites"]):hover:not(:disabled){
    background-image:linear-gradient(180deg,#fff,#eaf1fa)!important;
    border-color:#b9cde5!important;
  }
  #createpost.mobile-createpost.cp-brintage-toolbar-v2 .cp-mobile-design-launcher > button.cp-mobile-design-launch.is-active:not([data-mode="favorites"]):hover:not(:disabled){
    background-image:var(--brpro-active)!important;
  }
  /* Iconos móviles: mismos dibujos, sin caracteres arbitrarios. */
  #createpost.mobile-createpost.cp-brintage-toolbar-v2 .cp-mobile-design-launcher > button.cp-mobile-design-launch:not([data-mode="favorites"])::before{
    content:""!important;
    display:block!important;position:static!important;
    width:16px!important;height:16px!important;flex:0 0 16px!important;
    margin:0!important;font-size:0!important;
    background-color:currentColor!important;
    mask-position:center!important;mask-size:contain!important;mask-repeat:no-repeat!important;
    -webkit-mask-position:center!important;-webkit-mask-size:contain!important;-webkit-mask-repeat:no-repeat!important;
    color:inherit!important;transform:none!important;
  }
  #createpost.mobile-createpost.cp-brintage-toolbar-v2 .cp-mobile-design-launcher > [data-mode="free"]::before{
    -webkit-mask-image:url('../icos/br-menu-pro-palette.svg')!important;mask-image:url('../icos/br-menu-pro-palette.svg')!important;
  }
  #createpost.mobile-createpost.cp-brintage-toolbar-v2 .cp-mobile-design-launcher > [data-mode="classic"]::before{
    -webkit-mask-image:url('../icos/br-menu-pro-grid.svg')!important;mask-image:url('../icos/br-menu-pro-grid.svg')!important;
  }
  #createpost.mobile-createpost.cp-brintage-toolbar-v2 .cp-mobile-design-launcher > [data-mode="thematic"]::before{
    -webkit-mask-image:url('../icos/br-menu-pro-heart.svg')!important;mask-image:url('../icos/br-menu-pro-heart.svg')!important;
  }
  #key > #createpost.pg.mobile-createpost.cp-brintage-toolbar-v2.cp-editor-step > .cp-collage-tabs{
    background:#fff!important;border:1px solid #e0e6ef!important;border-radius:16px!important;
    padding:3px!important;box-shadow:0 2px 8px rgba(32,57,96,.045)!important;
  }
  #createpost.mobile-createpost.cp-brintage-toolbar-v2 .cp-collage-tools{
    gap:4px!important;min-height:0!important;height:100%!important;
  }
  #key > #createpost.pg.mobile-createpost.cp-brintage-toolbar-v2.cp-editor-step > .cp-collage-tabs .cp-collage-tools > button{
    min-height:0!important;height:100%!important;
    padding:4px 1px 3px!important;
    gap:3px!important;border-radius:11px!important;
  }
  #createpost.mobile-createpost.cp-brintage-toolbar-v2 .cp-collage-tools .cp-tool-label{
    font-size:clamp(7.4px,2.15vw,10px)!important;
    white-space:nowrap!important;letter-spacing:-.22px!important;
  }
  #createpost.mobile-createpost.cp-brintage-toolbar-v2 .cp-collage-tools .cp-animation-icon,
  #createpost.mobile-createpost.cp-brintage-toolbar-v2 .cp-collage-tools .cp-filter-icon,
  #createpost.mobile-createpost.cp-brintage-toolbar-v2 .cp-collage-tools .cp-global-effect-icon,
  #createpost.mobile-createpost.cp-brintage-toolbar-v2 .cp-collage-tools .cp-motion-toolbar-icon{
    flex-basis:19px!important;width:19px!important;height:19px!important;
  }
  #createpost.mobile-createpost.cp-brintage-toolbar-v2 .cp-collage-tools .cp-text-tool-toggle > span:first-child{
    font-size:23px!important;line-height:19px!important;
    flex-basis:19px!important;width:19px!important;height:19px!important;
  }
  #createpost.mobile-createpost.cp-brintage-toolbar-v2 .cp-collage-tools > button:disabled .cp-tool-label{
    color:inherit!important;
  }
  /* Respetar la integración existente del catálogo abierto. */
  #createpost.mobile-createpost.cp-brintage-toolbar-v2.cp-themes-open > .cp-mobile-design-launcher [data-mode="thematic"]{
    background-image:var(--brpro-soft)!important;
    border-color:#cbd9e9!important;color:#176bbf!important;
  }
}
@media(max-width:350px){
  #createpost.mobile-createpost.cp-brintage-toolbar-v2 .cp-collage-tools .cp-tool-label{
    font-size:7.4px!important;letter-spacing:-.3px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  #createpost.cp-brintage-toolbar-v2 .cp-collage-tools > button,
  #createpost.cp-brintage-toolbar-v2 .cp-collage-bank-switch > button,
  #createpost.mobile-createpost.cp-brintage-toolbar-v2 .cp-mobile-design-launcher > button{
    transition:none!important;
  }
}


/* Brintage R704 — proporciones compactas aprobadas 18/11/2026.
   Reduce aire vertical sin cambiar paleta, funciones ni eventos. */
@media (min-width:769px){
  #createpost.cp-brintage-toolbar-v2.cp-editor-step > .cp-collage-tabs{
    padding:7px!important; gap:7px!important; border-radius:18px!important;
    box-shadow:0 5px 16px rgba(32,57,96,.075),0 1px 2px rgba(32,57,96,.04)!important;
  }
  #createpost.cp-brintage-toolbar-v2 .cp-collage-bank-switch{
    min-height:44px!important;height:44px!important;gap:6px!important;
  }
  #createpost.cp-brintage-toolbar-v2 .cp-collage-bank-switch > button.cp-brintage-free-tab,
  #createpost.cp-brintage-toolbar-v2 .cp-collage-bank-switch > button.cp-collage-tab:not(.cp-favorites-tab){
    display:grid!important;
    grid-template-columns:19px minmax(0,1fr) 12px!important;
    align-items:center!important;justify-content:stretch!important;
    column-gap:5px!important;
    height:44px!important;min-height:44px!important;
    padding:6px 7px!important;gap:5px!important;
    border-radius:13px!important;
    font:700 clamp(11px,1.25vw,12.5px)/1.14 Arial,Helvetica,sans-serif!important;
    letter-spacing:-.13px!important;
  }
  #createpost.cp-brintage-toolbar-v2 .cp-collage-bank-switch > button.cp-brintage-free-tab > span:nth-child(2),
  #createpost.cp-brintage-toolbar-v2 .cp-collage-bank-switch > button.cp-collage-tab:not(.cp-favorites-tab) > span:nth-child(2){
    overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
    min-width:0!important;
  }
  #createpost.cp-brintage-toolbar-v2 .cp-collage-bank-switch .cp-br-free-icon,
  #createpost.cp-brintage-toolbar-v2 .cp-collage-bank-switch .cp-tab-heart{
    width:19px!important;height:19px!important;flex-basis:19px!important;
  }
  #createpost.cp-brintage-toolbar-v2 .cp-collage-bank-switch .cp-tab-grid{
    width:18px!important;height:18px!important;flex-basis:18px!important;
  }
  #createpost.cp-brintage-toolbar-v2 .cp-collage-bank-switch > button.cp-brintage-free-tab::after{
    right:8px!important;width:6px!important;height:6px!important;
  }
  #createpost.cp-brintage-toolbar-v2 .cp-collage-tools{
    min-height:64px!important;height:64px!important;gap:6px!important;
  }
  #createpost.cp-brintage-toolbar-v2 .cp-collage-tools > button{
    min-height:64px!important;height:64px!important;
    padding:6px 2px 5px!important;gap:4px!important;
    border-radius:13px!important;
  }
  #createpost.cp-brintage-toolbar-v2 .cp-collage-tools .cp-animation-icon,
  #createpost.cp-brintage-toolbar-v2 .cp-collage-tools .cp-filter-icon,
  #createpost.cp-brintage-toolbar-v2 .cp-collage-tools .cp-global-effect-icon,
  #createpost.cp-brintage-toolbar-v2 .cp-collage-tools .cp-motion-toolbar-icon{
    flex:0 0 21px!important;width:21px!important;height:21px!important;
  }
  #createpost.cp-brintage-toolbar-v2 .cp-collage-tools .cp-text-tool-toggle > span:first-child{
    flex:0 0 21px!important;width:21px!important;height:21px!important;
    font:700 24px/21px Georgia,serif!important;
  }
  #createpost.cp-brintage-toolbar-v2 .cp-collage-tools > button .cp-tool-label{
    font:700 clamp(9.2px,1.18vw,11px)/1.1 Arial,Helvetica,sans-serif!important;
    letter-spacing:-.15px!important;
  }
}
/* El estado abierto debe contrastar, incluso con los CSS heredados de filtros.
   No modificar la funcionalidad ni el gradiente azul de la pestaña seleccionada. */
#key #createpost.cp-brintage-toolbar-v2.cp-editor-step .cp-collage-tools > button.cp-filter-toggle.is-active:not(:disabled),
#key #createpost.cp-brintage-toolbar-v2.cp-editor-step .cp-collage-tools > button.cp-filter-toggle.is-active:not(:disabled) .cp-filter-icon,
#key #createpost.cp-brintage-toolbar-v2.cp-editor-step .cp-collage-tools > button.cp-filter-toggle.is-active:not(:disabled) .cp-tool-label{
  color:#23364e!important;text-shadow:none!important;
}
#key #createpost.cp-brintage-toolbar-v2.cp-editor-step .cp-collage-tools > button.cp-motion-menu-trigger:disabled,
#key #createpost.cp-brintage-toolbar-v2.cp-editor-step .cp-collage-tools > button.cp-motion-menu-trigger:disabled .cp-motion-toolbar-icon,
#key #createpost.cp-brintage-toolbar-v2.cp-editor-step .cp-collage-tools > button.cp-motion-menu-trigger:disabled .cp-tool-label{
  color:#647890!important;opacity:1!important;text-shadow:none!important;
}
/* Android/teléfono: mantener superficies táctiles útiles, compactar solo
   separación interna y radios; el lienzo no pierde superficie. */
@media(max-width:768px){
  #key > #createpost.pg.mobile-createpost.cp-brintage-toolbar-v2.cp-editor-step > .cp-mobile-design-launcher{
    border-radius:13px!important;padding:2px!important;gap:3px!important;
  }
  #createpost.mobile-createpost.cp-brintage-toolbar-v2 .cp-mobile-design-launcher > button.cp-mobile-design-launch:not([data-mode="favorites"]){
    border-radius:10px!important;gap:1px!important;
  }
  #key > #createpost.pg.mobile-createpost.cp-brintage-toolbar-v2.cp-editor-step > .cp-collage-tabs{
    border-radius:13px!important;padding:2px!important;
  }
  #createpost.mobile-createpost.cp-brintage-toolbar-v2 .cp-collage-tools{gap:3px!important;}
  #key > #createpost.pg.mobile-createpost.cp-brintage-toolbar-v2.cp-editor-step > .cp-collage-tabs .cp-collage-tools > button{
    border-radius:9px!important;gap:2px!important;
  }
}

/* Evitar ícono blanco heredado de los filtros en Diseño libre. */
#key #createpost.cp-brintage-toolbar-v2.cp-free-mode .cp-collage-tools > button.cp-filter-toggle .cp-filter-icon{
  background-color:currentColor!important;
  opacity:1!important;
  filter:none!important;
}
/* Mantener targets táctiles de al menos 44px al compactar el menú móvil. */
@media(max-width:768px){
  #key > #createpost.pg.mobile-createpost.cp-brintage-toolbar-v2.cp-editor-step > .cp-collage-tabs .cp-collage-tools > button{
    min-height:44px!important;
  }
}

/* Brintage R705 — El desplegable pertenece a Temáticos, no a Diseño libre. */
#key #createpost.cp-brintage-toolbar-v2 .cp-collage-bank-switch > button.cp-brintage-free-tab::after,
#key #createpost.mobile-createpost.cp-brintage-toolbar-v2 .cp-mobile-design-launcher > [data-mode="free"]::after{
  content:none!important;display:none!important;border:0!important;
}
/* La pestaña Libre no necesita reservar espacio para un chevrón. */
#createpost.cp-brintage-toolbar-v2 .cp-collage-bank-switch > button.cp-brintage-free-tab{
  padding-right:7px!important;
}
/* Mismo símbolo en la derecha de Temáticos, sin alterar su ancho o alto. */
#createpost.cp-brintage-toolbar-v2 .cp-collage-bank-switch > button.cp-collage-tab[data-bank="emotive"] .cp-br-thematic-chevron{
  display:block!important;grid-column:3!important;justify-self:center!important;
  position:relative!important;
  width:7px!important;height:7px!important;flex:0 0 7px!important;
  border-right:2px solid currentColor!important;
  border-bottom:2px solid currentColor!important;
  border-top:0!important;border-left:0!important;
  transform:rotate(45deg)!important;
  transition:transform .16s ease!important;
  margin:0 0 3px!important;pointer-events:none!important;opacity:.95!important;
}
#createpost.cp-brintage-toolbar-v2.cp-themes-open .cp-collage-bank-switch > button.cp-collage-tab[data-bank="emotive"] .cp-br-thematic-chevron{
  transform:rotate(225deg)!important;margin-bottom:-3px!important;
}
/* El botón funcional preexistente queda sobre el ícono, sin dibujar otra flecha. */
#createpost.cp-brintage-toolbar-v2 .cp-emotive-menu-toggle .cp-emotive-menu-chevron{
  opacity:0!important;
}
@media(min-width:769px){
  #createpost.cp-brintage-toolbar-v2 .cp-collage-bank-switch > button.cp-collage-tab[data-bank="emotive"]{
    padding-right:7px!important;
  }
  #createpost.cp-brintage-toolbar-v2.cp-emotive-editor .cp-collage-bank-switch > .cp-emotive-menu-toggle{
    right:4px!important;top:50%!important;transform:translateY(-50%)!important;
    width:25px!important;height:37px!important;
  }
}
@media(max-width:768px){
  #createpost.mobile-createpost.cp-brintage-toolbar-v2 .cp-mobile-design-launcher > [data-mode="free"]{
    padding-right:3px!important;
  }
  #createpost.mobile-createpost.cp-brintage-toolbar-v2 .cp-mobile-design-launcher > [data-mode="thematic"]::after{
    content:''!important;display:block!important;
    right:6px!important;top:13px!important;
    width:7px!important;height:7px!important;
    border-right:2px solid currentColor!important;border-bottom:2px solid currentColor!important;
    border-top:0!important;border-left:0!important;
    transform:rotate(45deg)!important;
  }
  #createpost.mobile-createpost.cp-brintage-toolbar-v2 .cp-mobile-design-launcher > [data-mode="thematic"][aria-expanded="true"]::after{
    transform:rotate(225deg)!important;
  }
}


/* BRINTAGE R706 — Corrección consolidada del menú aprobada 18/11/2026.
   Único diseño sobrio R703/R705: sin animaciones geométricas en hover.
   Los elementos se mantienen igual de grandes en cualquier estado. */

/* 7. El editor y sus herramientas JAMÁS se filtran durante Load Images.
   .cp-free-mode puede quedar activo en el paso de selección; no basta con
   confiar en él ni en el inline style que cambia JavaScript. */
#key #createpost.cp-select-step > .cp-free-controls,
#key #createpost:not(.cp-editor-step) > .cp-free-controls,
#key #createpost.cp-select-step .cp-mobile-design-sheet,
#key #createpost:not(.cp-editor-step) .cp-mobile-design-sheet,
#key #createpost.cp-select-step > .cp-collage-tabs,
#key #createpost:not(.cp-editor-step) > .cp-collage-tabs,
#key #createpost.cp-select-step > .cp-mobile-design-launcher,
#key #createpost:not(.cp-editor-step) > .cp-mobile-design-launcher{
  display:none!important;visibility:hidden!important;
}

/* 1. Hover no altera geometría: cero scale, translate, flex-grow o tamaños.
   Aplicar a tabs de modo y herramientas incluso cuando están activas. */
#key #createpost.cp-brintage-toolbar-v2 .cp-collage-bank-switch > button.cp-brintage-free-tab,
#key #createpost.cp-brintage-toolbar-v2 .cp-collage-bank-switch > button.cp-collage-tab:not(.cp-favorites-tab),
#key #createpost.cp-brintage-toolbar-v2 .cp-collage-tools > button,
#key #createpost.mobile-createpost.cp-brintage-toolbar-v2 .cp-mobile-design-launcher > button.cp-mobile-design-launch:not([data-mode="favorites"]){
  transform:none!important;scale:1!important;
  margin:0!important;box-sizing:border-box!important;
  flex-grow:0!important;flex-shrink:1!important;
  transition:background-color .15s ease,background-image .15s ease,border-color .15s ease,box-shadow .15s ease!important;
}
#key #createpost.cp-brintage-toolbar-v2 .cp-collage-bank-switch > button.cp-brintage-free-tab:hover,
#key #createpost.cp-brintage-toolbar-v2 .cp-collage-bank-switch > button.cp-collage-tab:not(.cp-favorites-tab):hover,
#key #createpost.cp-brintage-toolbar-v2 .cp-collage-tools > button:hover,
#key #createpost.mobile-createpost.cp-brintage-toolbar-v2 .cp-mobile-design-launcher > button.cp-mobile-design-launch:not([data-mode="favorites"]):hover{
  transform:none!important;scale:1!important;filter:none!important;
}

/* 2. El contenedor tiene EXACTAMENTE el mismo aire arriba y abajo.
   Herramientas sin padding interior que falsifique el margen inferior. */
@media(min-width:769px){
  #key #createpost.cp-brintage-toolbar-v2.cp-editor-step > .cp-collage-tabs{
    padding:10px!important;gap:7px!important;
    border-radius:18px!important;
    height:auto!important;min-height:0!important;
    box-sizing:border-box!important;
  }
  #key #createpost.cp-brintage-toolbar-v2 .cp-collage-bank-switch{
    padding:0!important;margin:0!important;gap:7px!important;
    height:44px!important;min-height:44px!important;box-sizing:border-box!important;
  }
  #key #createpost.cp-brintage-toolbar-v2 .cp-collage-bank-switch > button.cp-brintage-free-tab,
  #key #createpost.cp-brintage-toolbar-v2 .cp-collage-bank-switch > button.cp-collage-tab:not(.cp-favorites-tab){
    width:100%!important;min-width:0!important;
    height:44px!important;min-height:44px!important;max-height:44px!important;
    padding:5px 7px!important;gap:5px!important;border-radius:13px!important;
    transform:none!important;scale:1!important;
  }
  #key #createpost.cp-brintage-toolbar-v2 .cp-collage-tools{
    display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;
    align-items:stretch!important;align-content:stretch!important;
    width:100%!important;height:64px!important;min-height:64px!important;max-height:64px!important;
    gap:7px!important;padding:0!important;margin:0!important;
    box-sizing:border-box!important;flex:0 0 64px!important;
  }
  #key #createpost.cp-brintage-toolbar-v2 .cp-collage-tools:has(> .cp-thematic-visual-toggle:not([hidden])){
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
  }
  #key #createpost.cp-brintage-toolbar-v2 .cp-collage-tools > button{
    position:relative!important;align-self:stretch!important;
    width:100%!important;min-width:0!important;max-width:100%!important;
    height:64px!important;min-height:64px!important;max-height:64px!important;
    flex:0 1 auto!important;padding:5px 2px!important;gap:3px!important;
    border-radius:13px!important;box-sizing:border-box!important;
    transform:none!important;scale:1!important;
  }
  #key #createpost.cp-brintage-toolbar-v2 .cp-collage-tools > button:hover,
  #key #createpost.cp-brintage-toolbar-v2 .cp-collage-tools > button.is-active,
  #key #createpost.cp-brintage-toolbar-v2 .cp-collage-tools > button.is-open{
    height:64px!important;min-height:64px!important;max-height:64px!important;
    width:100%!important;padding:5px 2px!important;gap:3px!important;
    transform:none!important;scale:1!important;
  }
}

/* 5. El azul del modo elegido no se pierde JAMÁS en hover/keyboard-focus. */
#key #createpost.cp-brintage-toolbar-v2.cp-free-mode .cp-collage-bank-switch > button.cp-brintage-free-tab,
#key #createpost.cp-brintage-toolbar-v2.cp-free-mode .cp-collage-bank-switch > button.cp-brintage-free-tab:hover,
#key #createpost.cp-brintage-toolbar-v2.cp-free-mode .cp-collage-bank-switch > button.cp-brintage-free-tab:focus,
#key #createpost.cp-brintage-toolbar-v2:not(.cp-free-mode):not(.cp-themes-open) .cp-collage-bank-switch > button.cp-collage-tab.is-active,
#key #createpost.cp-brintage-toolbar-v2:not(.cp-free-mode):not(.cp-themes-open) .cp-collage-bank-switch > button.cp-collage-tab.is-active:hover,
#key #createpost.mobile-createpost.cp-brintage-toolbar-v2 .cp-mobile-design-launcher > button.cp-mobile-design-launch.is-active:not([data-mode="favorites"]),
#key #createpost.mobile-createpost.cp-brintage-toolbar-v2 .cp-mobile-design-launcher > button.cp-mobile-design-launch.is-active:not([data-mode="favorites"]):hover{
  background:#1268ec!important;background-image:var(--brpro-active)!important;
  border-color:#1478ed!important;color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  filter:none!important;transform:none!important;scale:1!important;
}

/* 3 y 6. Contraste seguro y proporciones de todos los tiles, Filtros incluido.
   No heredar colores blancos de brintage-toolbar-v2 ni del CSS anterior. */
#key #createpost.cp-brintage-toolbar-v2 .cp-collage-tools > button,
#key #createpost.cp-brintage-toolbar-v2 .cp-collage-tools > button:hover,
#key #createpost.cp-brintage-toolbar-v2 .cp-collage-tools > button.is-active,
#key #createpost.cp-brintage-toolbar-v2 .cp-collage-tools > button.is-open,
#key #createpost.cp-brintage-toolbar-v2 .cp-collage-tools > button[aria-expanded="true"],
#key #createpost.cp-brintage-toolbar-v2 .cp-collage-tools > button.has-effect{
  color:#22364e!important;-webkit-text-fill-color:#22364e!important;
  text-shadow:none!important;filter:none!important;
}
#key #createpost.cp-brintage-toolbar-v2 .cp-collage-tools > button .cp-tool-label,
#key #createpost.cp-brintage-toolbar-v2 .cp-collage-tools > button .cp-thematic-visual-icon,
#key #createpost.cp-brintage-toolbar-v2 .cp-collage-tools > button.cp-text-tool-toggle > span:first-child,
#key #createpost.cp-brintage-toolbar-v2 .cp-collage-tools > button .cp-filter-icon,
#key #createpost.cp-brintage-toolbar-v2 .cp-collage-tools > button .cp-motion-toolbar-icon{
  color:#22364e!important;-webkit-text-fill-color:#22364e!important;
  opacity:1!important;text-shadow:none!important;filter:none!important;
}
#key #createpost.cp-brintage-toolbar-v2 .cp-collage-tools > button.cp-thematic-visual-toggle .cp-thematic-visual-icon{
  display:block!important;opacity:1!important;font-size:23px!important;line-height:23px!important;
}
#key #createpost.cp-brintage-toolbar-v2 .cp-collage-tools > button:disabled,
#key #createpost.cp-brintage-toolbar-v2 .cp-collage-tools > button:disabled .cp-tool-label,
#key #createpost.cp-brintage-toolbar-v2 .cp-collage-tools > button:disabled .cp-motion-toolbar-icon{
  color:#71839b!important;-webkit-text-fill-color:#71839b!important;
  text-shadow:none!important;filter:none!important;
}
#key #createpost.cp-brintage-toolbar-v2 .cp-collage-tools > button.cp-filter-toggle,
#key #createpost.cp-brintage-toolbar-v2.cp-free-mode .cp-collage-tabs .cp-collage-tools > button.cp-filter-toggle,
#key #createpost.cp-brintage-toolbar-v2.cp-free-mode .cp-collage-tabs .cp-collage-tools > button.cp-filter-toggle:not(:disabled),
#key #createpost.cp-brintage-toolbar-v2.cp-free-mode .cp-collage-tabs .cp-collage-tools > button.cp-filter-toggle.is-active:not(:disabled){
  background:#f7f9fc!important;background-image:var(--brpro-soft)!important;
  border:1px solid var(--brpro-border)!important;
  box-shadow:0 1px 2px rgba(30,51,82,.035)!important;
  color:#22364e!important;
  text-shadow:none!important;filter:none!important;
}
#key #createpost.cp-brintage-toolbar-v2 .cp-collage-tools > button.cp-filter-toggle .cp-filter-icon{
  background-color:#22364e!important;color:#22364e!important;
  -webkit-text-fill-color:#22364e!important;opacity:1!important;
}
#key #createpost.cp-brintage-toolbar-v2 .cp-collage-tools > button.cp-filter-toggle .cp-tool-label{
  background:transparent!important;color:#22364e!important;
  -webkit-text-fill-color:#22364e!important;opacity:1!important;
}
#key #createpost.cp-brintage-toolbar-v2 .cp-collage-tools > button.cp-filter-toggle.is-active:not(:disabled),
#key #createpost.cp-brintage-toolbar-v2 .cp-collage-tools > button.cp-filter-toggle[aria-pressed="true"]:not(:disabled){
  background:#edf5ff!important;background-image:linear-gradient(180deg,#f9fcff,#e8f2ff)!important;
  border-color:#9fc4f2!important;
}

/* Efectos abierto = selección azul tenue; efecto aplicado pero cerrado = neutral.
   Mantener JS .has-effect para saber si hay un efecto realmente elegido. */
#key #createpost.cp-brintage-toolbar-v2 .cp-collage-tools > button.cp-global-effect-toggle:not(.is-open):not([aria-expanded="true"]),
#key #createpost.cp-brintage-toolbar-v2 .cp-collage-tools > button.cp-global-effect-toggle.has-effect:not(.is-open):not([aria-expanded="true"]){
  background:#f7f9fc!important;background-image:var(--brpro-soft)!important;
  border:1px solid var(--brpro-border)!important;
  box-shadow:0 1px 2px rgba(30,51,82,.035)!important;
}
#key #createpost.cp-brintage-toolbar-v2 .cp-collage-tools > button.cp-global-effect-toggle.is-open,
#key #createpost.cp-brintage-toolbar-v2 .cp-collage-tools > button.cp-global-effect-toggle[aria-expanded="true"]{
  background:#edf5ff!important;background-image:linear-gradient(180deg,#f9fcff,#e8f2ff)!important;
  border:1px solid #9fc4f2!important;
  box-shadow:0 0 0 1px rgba(48,126,222,.08)!important;
}
#key #createpost.cp-brintage-toolbar-v2 .cp-collage-tools > button.cp-global-effect-toggle:not(.is-open):hover{
  background-image:linear-gradient(180deg,#fff,#eaf1fa)!important;
  border-color:#b9cde5!important;
}

/* 8. SOLO escritorio: ocultar la X y el botón Cerrar herramientas de Libre.
   Móvil: conservar controles y lógica de cierre tal como estaban. */
@media(min-width:769px){
  #key #createpost .cp-free-controls .cp-free-head > .cp-free-close-x,
  #key #createpost .cp-free-controls .cp-free-head-actions > .cp-free-back{
    display:none!important;visibility:hidden!important;
  }
}
/* Teléfonos: respetar el alto de 42px para interacción, nada de escala/traslación.
   No aplicar los tamaños de escritorio a dispositivos móviles. */
@media(max-width:768px){
  #key #createpost.mobile-createpost.cp-brintage-toolbar-v2 .cp-collage-tools{
    display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;
    padding:0!important;gap:3px!important;min-width:0!important;box-sizing:border-box!important;
  }
  #key #createpost.mobile-createpost.cp-brintage-toolbar-v2 .cp-collage-tools:has(> .cp-thematic-visual-toggle:not([hidden])){
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
  }
  #key #createpost.mobile-createpost.cp-brintage-toolbar-v2 .cp-collage-tools > button{
    min-width:0!important;width:100%!important;max-width:100%!important;
    height:100%!important;padding:4px 1px 3px!important;
    transform:none!important;scale:1!important;
  }
  #key #createpost.mobile-createpost.cp-brintage-toolbar-v2 .cp-mobile-design-launcher > button.cp-mobile-design-launch{
    transform:none!important;scale:1!important;
  }
}

/* La barra temática móvil tiene SEIS botones: no dejar el sexto en una segunda fila. */
@media(max-width:768px){
  #key#key > #createpost.pg.mobile-createpost.cp-brintage-toolbar-v2.cp-editor-step > .cp-collage-tabs > .cp-collage-tools:has(> button.cp-thematic-visual-toggle:not([hidden])){
    display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;
    grid-auto-flow:row!important;max-width:100%!important;min-width:0!important;
  }
}
