/* Top layer : aucune coupe par overflow/transform ni décalage après ouverture. */
[data-floating-panel][popover] { margin:0; }
[data-floating-panel][popover]:not(:popover-open) { display:none !important; }
[data-floating-panel][popover]:popover-open,
[data-floating-panel][data-floating-fallback="true"] {
  box-sizing:border-box;
  position:fixed !important;
  inset:auto !important;
  left:var(--tg-floating-left,0px) !important;
  top:var(--tg-floating-top,0px) !important;
  right:auto !important;
  bottom:auto !important;
  transform:none !important;
  margin:0 !important;
  max-width:var(--tg-floating-width,calc(100vw - 16px)) !important;
  max-height:var(--tg-floating-height,calc(100dvh - 16px)) !important;
  overflow-x:hidden;
  overflow-y:auto;
  overscroll-behavior:contain;
  z-index:2147483000 !important;
  visibility:visible;
  animation:none !important;
  transition:none !important;
}
