.account-dialog {
  box-sizing: border-box;
  width: min(calc(100% - 24px), 390px);
  padding: 18px 22px;
  color: #606060;
  background: #fffff1;
  border: 2px solid #cfcfbc;
  font: 12px/1.45 Verdana, Arial, sans-serif;
}
.account-dialog::backdrop { background: #2227; }
.account-dialog h2 { margin: 0 0 13px; font-size: 15px; }
.account-dialog form label { display: block; margin: 0 0 9px; }
.account-dialog input:not([type="hidden"]) {
  box-sizing: border-box; display: block; width: 100%; margin-top: 3px; padding: 3px 5px;
  border: 1px solid #aaa; background: #fff; font: inherit;
}
.account-dialog button { font: inherit; }
.account-buttons { display: flex; flex-wrap: wrap; gap: 6px; }
.account-buttons button { color: #fff; background: #2f6582; border: 1px solid #2f6582; border-radius: 0; padding: 3px 8px; }
.account-buttons button:disabled { opacity: .55; }
.account-links { margin: 11px 0 0; }
.account-links button, button.account-link {
  padding: 0; border: 0; color: #2f6582; background: transparent; font: inherit; font-weight: bold; cursor: pointer;
}
.account-links button:hover, button.account-link:hover { text-decoration: underline; }
.account-password-hint { margin: -3px 0 9px; }
.account-password-control { margin-bottom: 9px; }
.account-dialog .account-password-control label { margin: 0; }
.account-password-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px; margin-top: 3px; }
.account-dialog .account-password-row input { margin-top: 0; }
.account-password-row button {
  min-height: 30px; padding: 3px 7px; border: 1px solid #cfcfbc;
  background: transparent; color: #2f6582; cursor: pointer;
}
.account-password-row button:hover { background: #2f658212; }
@media (pointer: coarse) {
  .account-password-row button { min-height: 40px; }
}
.account-feedback.is-error { color: #a22617; }
.account-data-notice { margin: 11px 0 0; color: #73736b; font-size: .92em; }

.account-captcha img { display: block; max-width: 100%; height: auto; }
.account-captcha details { margin: 4px 0 8px; }
.account-captcha summary { cursor: pointer; color: #2f6582; }
.account-captcha audio { display: block; width: 100%; margin-top: 4px; }

.external-login-buttons { margin-top: 11px; }
.external-login-buttons[hidden] { display: none; }
#account-external select { display: block; margin-top: 3px; max-width: 100%; font: inherit; }
