.test-account-dialog {
  width: min(520px, calc(100vw - 32px));
  max-height: calc(100dvh - 48px);
  box-sizing: border-box;
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid #e2e8f2;
  border-radius: 16px;
  background: #fff;
  color: #0f1b2d;
  box-shadow: 0 4px 12px rgb(12 24 52 / .08), 0 28px 72px -12px rgb(12 24 52 / .24);
}
.test-account-dialog[open] { display: flex; flex-direction: column; }
.test-account-dialog:modal { overscroll-behavior: contain; }
.test-account-dialog::backdrop { background: rgb(15 27 45 / .46); backdrop-filter: blur(4px); overflow: hidden; overscroll-behavior: contain; }
.test-account-dialog header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 24px 16px; border-bottom: 1px solid #e2e8f2; }
.test-account-dialog h1 { font-size: 19px; font-weight: 700; letter-spacing: -.02em; margin: 0; }
.test-account-dialog :is(form, section) { padding: 20px 24px 0; }
.test-account-dialog label { display: block; margin: 0 0 8px; color: #33445d; font-size: 13px; font-weight: 600; }
.test-account-dialog input { width: 100%; box-sizing: border-box; min-height: 44px; padding: 10px 12px; font: inherit; font-size: 14px; border: 1px solid #cbd5e4; border-radius: 9px; color: #0f1b2d; background: #fff; }
.test-account-dialog button { min-height: 40px; padding: 8px 16px; border: 1px solid #cbd5e4; border-radius: 9px; background: #fff; color: #33445d; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.test-account-dialog button.primary { width: 100%; min-height: 44px; background: #1848e8; color: #fff; border-color: #1848e8; }
.test-account-dialog button:disabled { opacity: .55; cursor: wait; }
.test-account-dialog section button { margin-top: 12px; }
.test-account-dialog p { margin: 12px 0; color: #5d6e87; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.test-account-feedback { min-height: 20px; margin: 0; padding: 14px 24px 20px; }
.test-account-dialog :focus-visible { outline: 2px solid #1848e8; outline-offset: 2px; }
.test-account-dialog > * { flex-shrink: 0; }
