.test-account-dialog {
  width: min(540px, calc(100% - 32px));
  max-height: calc(100dvh - 48px);
  box-sizing: border-box;
  padding: 24px;
  overflow: auto;
  border: 1px solid #bdc8d9;
  border-radius: 16px;
  background: #fff;
  color: #17253d;
}
.test-account-dialog:modal { overscroll-behavior: contain; }
.test-account-dialog::backdrop { background: #17253d99; overflow: hidden; overscroll-behavior: contain; }
.test-account-dialog header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.test-account-dialog h1 { font-size: 22px; margin: 0; }
.test-account-dialog label { display: block; margin: 20px 0 6px; font-size: 15px; }
.test-account-dialog input { width: 100%; box-sizing: border-box; min-height: 48px; padding: 10px; font: inherit; font-size: 16px; border: 1px solid #7b8da8; border-radius: 6px; }
.test-account-dialog button { min-height: 48px; padding: 10px 16px; border: 1px solid #9caec9; border-radius: 6px; background: #fff; color: #17253d; font: inherit; cursor: pointer; }
.test-account-dialog button.primary { background: #003dff; color: #fff; border-color: #003dff; font-weight: 600; }
.test-account-dialog button:disabled { opacity: .65; cursor: wait; }
.test-account-dialog section button { margin-top: 12px; }
.test-account-dialog p { margin: 12px 0; color: #52657f; line-height: 1.7; overflow-wrap: anywhere; }
.test-account-feedback { min-height: 3.4em; }
.test-account-dialog :focus-visible { outline: 2px solid #1746ed; outline-offset: 3px; }
