/* Flexible signup surface: free space precedes social, never overlaps the fields. */
body.na-auth-page.na-auth-page--create.page-signup-create[data-signup-layout="v1"] .na-auth-form {
  position:relative;
  inset:auto;
  z-index:1;
  flex:0 0 auto;
  display:flex;
  flex-direction:column;
  width:100%;
  max-width:none;
  min-width:0;
  height:auto;
  min-height:calc(100vh - var(--signup-panel-offset) - var(--signup-content-top) - var(--signup-content-bottom));
  min-height:calc(100dvh - var(--signup-panel-offset) - var(--signup-content-top) - var(--signup-content-bottom));
  margin:0;
  padding:0;
  transform:none;
}
/* Keep the native DOM order and usable controls when content exceeds the viewport. */
body.na-auth-page.na-auth-page--create.page-signup-create[data-signup-layout="v1"] .na-auth-form > * { flex-shrink:0; }
body.na-auth-page.na-auth-page--create.page-signup-create[data-signup-layout="v1"] .na-auth-form .na-auth-form__title {
  position:static;
  inset:auto;
  width:100%;
  max-width:100%;
  height:auto;
  min-height:0;
  margin:0 auto;
  transform:none;
  overflow-wrap:normal;
}
body.na-auth-page.na-auth-page--create.page-signup-create[data-signup-layout="v1"] .na-auth-form .na-auth-form__subtitle {
  position:static;
  inset:auto;
  width:100%;
  max-width:380px;
  height:auto;
  margin:var(--signup-subtitle-top) auto var(--signup-subtitle-bottom);
  font-size:14px;
  line-height:20px;
  transform:none;
}
body.na-auth-page.na-auth-page--create.page-signup-create[data-signup-layout="v1"] .na-auth-form > :is(.na-auth-field-wrap,.na-auth-pills,.na-auth-row,.na-auth-btn,.na-auth-divider,.na-auth-social) {
  box-sizing:border-box;
  position:relative;
  inset:auto;
  width:min(380px,100%);
  max-width:100%;
  min-width:0;
  margin-inline:auto;
  transform:none;
}
body.na-auth-page.na-auth-page--create.page-signup-create[data-signup-layout="v1"] .na-auth-form .na-auth-field-wrap:first-of-type { margin-top:0; }
body.na-auth-page.na-auth-page--create.page-signup-create[data-signup-layout="v1"] .na-auth-form .na-auth-pills {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin-top:var(--signup-row-gap);
}
body.na-auth-page.na-auth-page--create.page-signup-create[data-signup-layout="v1"] .na-auth-form .na-auth-row--triple {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin-top:var(--signup-row-gap);
}
body.na-auth-page.na-auth-page--create.page-signup-create[data-signup-layout="v1"] .na-auth-form :is(.na-auth-pill,.na-auth-select-wrap) { min-width:0; }
body.na-auth-page.na-auth-page--create.page-signup-create[data-signup-layout="v1"] .na-auth-form :is(.na-auth-field,.na-auth-select,.na-auth-pill,.mkt-select-trigger) { height:var(--signup-control-height); }
body.na-auth-page.na-auth-page--create.page-signup-create[data-signup-layout="v1"] .na-auth-form .na-auth-divider {
  display:grid;
  grid-template-columns:minmax(8px,1fr) auto minmax(8px,1fr);
  align-items:center;
  gap:12px;
  margin-top:auto;
  padding-top:var(--signup-divider-top);
  margin-bottom:var(--signup-divider-bottom);
  color:var(--mkt-legacy-text-21a395e46495,#81768f);
  font-size:12px;
  font-weight:400;
  line-height:18px;
  letter-spacing:normal;
  text-align:center;
}
body.na-auth-page.na-auth-page--create.page-signup-create[data-signup-layout="v1"] .na-auth-form .na-auth-divider::before,body.na-auth-page.na-auth-page--create.page-signup-create[data-signup-layout="v1"] .na-auth-form .na-auth-divider::after {
  display:block;
  height:1px;
  background:var(--mkt-legacy-background-60b0b350d0b3,#d9d1e4);
}
body.na-auth-page.na-auth-page--create.page-signup-create[data-signup-layout="v1"] .na-auth-form .na-auth-social { margin-block:0; gap:12px; }
body.na-auth-page.na-auth-page--create.page-signup-create[data-signup-layout="v1"] .na-auth-form .na-auth-social-btn {
  box-sizing:border-box;
  flex:0 0 44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  margin:0;
  padding:0;
  border:1px solid var(--mkt-legacy-border-f9a3070a4f00,#d5cbe1);
  border-radius:12px;
  background:var(--mkt-legacy-background-952ab4fdd506,rgba(255,255,255,.72));
  box-shadow:none;
  filter:none;
  transform:none;
  transition:background-color 160ms ease,border-color 160ms ease;
}
body.na-auth-page.na-auth-page--create.page-signup-create[data-signup-layout="v1"] .na-auth-form .na-auth-social-btn picture { display:flex; align-items:center; justify-content:center; width:20px; height:20px; }
body.na-auth-page.na-auth-page--create.page-signup-create[data-signup-layout="v1"] .na-auth-form .na-auth-social-btn img { width:20px; height:20px; object-fit:contain; }
body.na-auth-page.na-auth-page--create.page-signup-create[data-signup-layout="v1"] .na-auth-form .na-auth-social-btn:not(:disabled):is(:hover,:focus-visible) {
  background-color:var(--mkt-legacy-background-56a58919e64b,#f7f3ff) !important;
  border-color:var(--mkt-legacy-border-8654df9b2f42,#b7a4d0);
  box-shadow:none !important;
  transform:none;
}
body.na-auth-page.na-auth-page--create.page-signup-create[data-signup-layout="v1"] .na-auth-form .na-auth-social-btn:focus-visible { outline:2px solid var(--mkt-legacy-border-85195eacbd73,#7961b5); outline-offset:3px; }
body.na-auth-page.na-auth-page--create.page-signup-create[data-signup-layout="v1"] .na-auth-form .na-auth-social-btn:disabled { opacity:.6; cursor:default; }
@media (max-width:991.98px) {
  /* Header plus air above the panel form one reserve, not two stacked spacers. */
}
/* Reserve the icon space so neither the label nor the button moves on hover. */
body.na-auth-page.na-auth-page--create.page-signup-create[data-signup-layout="v1"] .na-auth-form [data-signup-next] {
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-top:var(--signup-next-gap);
}
body.na-auth-page.na-auth-page--create.page-signup-create[data-signup-layout="v1"] .na-auth-form [data-signup-next] > :is(picture,.na-auth-page__fallback) { display:none; }
body.na-auth-page.na-auth-page--create.page-signup-create[data-signup-layout="v1"] .na-auth-form [data-signup-next] .na-auth-btn__text {
  position:static;
  inset:auto;
  display:inline-block;
  width:auto;
  height:auto;
  white-space:nowrap;
  transform:none;
}
body.na-auth-page.na-auth-page--create.page-signup-create[data-signup-layout="v1"] .na-auth-form [data-signup-next]:disabled { cursor:default; opacity:.55; }
/* Short windows trade free space for compact intervals, then allow natural scroll. */
