/* Structural contract. Keep all rules scoped; native dialogs/toasts stay outside it. */
[data-ht-auth-page] {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  height: auto;
  background: var(--ht-auth-background, var(--background));
  color: var(--ht-auth-foreground, var(--foreground));
}
[data-ht-auth-page] [data-ht-auth-part="panel"] {
  width: 100%;
  max-width: var(--ht-auth-panel-width, 480px);
  min-width: 0;
}
[data-ht-auth-slot]:empty { display: none; }
[data-ht-auth-slot="background"] {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
[data-ht-auth-slot="intro"], [data-ht-auth-slot="footer"] {
  position: relative;
  min-width: 0;
  overflow-wrap: anywhere;
}
