/* The retired intro is removed from the native component; no reserved space. */
html body main.client-resource-page {
  padding-top: 0 !important;
}

/* Keep the gallery backdrop and native form geometry, without a second card. */
html body .client-access-overlay.is-open {
  background: var(--studio-ui-gallery-scrim-surface, rgba(3, 3, 3, .888));
  -webkit-backdrop-filter: blur(var(--studio-ui-gallery-scrim-blur, 23.5px));
  backdrop-filter: blur(var(--studio-ui-gallery-scrim-blur, 23.5px));
}
html body .client-access-overlay .client-access-dialog {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

/* A single native OTP input still owns selection, paste and iOS autofill. */
html body .client-access-overlay .client-access-dialog .client-access-code-field input[autocomplete="one-time-code"] {
  caret-color: var(--studio-ui-ink, #eee) !important;
  cursor: text;
}

@media (forced-colors: active) {
  html body .client-access-overlay.is-open {
    background: Canvas !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
  html body .client-access-overlay .client-access-dialog {
    background: Canvas !important;
  }
  html body .client-access-overlay .client-access-dialog .client-access-code-field input[autocomplete="one-time-code"] {
    caret-color: CanvasText !important;
  }
}
