.account-notifications-dialog {
  width: min(480px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid #4a403c;
  border-radius: 18px;
  color: #e9e0d2;
  background: #211f20;
  box-shadow: 0 28px 100px #0009;
}
.account-notifications-dialog::backdrop { background: #0c0b0dc7; backdrop-filter: blur(7px); }
.account-notifications-form { position: relative; padding: 30px; }
.account-notifications-kicker { margin: 0 42px 10px 0; color: #bdab95; font-size: 10px; letter-spacing: 1.8px; }
.account-notifications-form h2 { margin: 0 30px 12px 0; font: 29px/1.2 Georgia, serif; color: #e9dbca; }
.account-notifications-intro { margin: 0 0 24px; color: #b5a99d; font-size: 13px; line-height: 1.65; }
.account-notifications-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.account-notifications-email { display: grid; gap: 9px; color: #c7b6a3; font-size: 13px; font-weight: 600; }
.account-notifications-email input {
  width: 100%;
  box-sizing: border-box;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid #53453e;
  border-radius: 9px;
  color: #e5d4c0;
  background: #191718;
  font: inherit;
}
.account-notifications-email input::placeholder { color: #998879; opacity: 1; }
.account-notifications-form :is(input, button):focus-visible { outline: 2px solid #b59bbf; outline-offset: 3px; }
.account-notifications-help { margin: 9px 0 22px; font-size: 12px; line-height: 1.55; color: #b5a99d; }
.account-notifications-toggle { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.account-notifications-toggle input { flex: 0 0 auto; width: 18px; height: 18px; margin: 2px 0 0; accent-color: #c7a5bd; }
.account-notifications-toggle strong { display: block; color: #e9dbca; font-size: 13px; line-height: 1.5; font-weight: 600; }
.account-notifications-toggle small { display: block; margin-top: 6px; color: #b5a99d; font-size: 12px; line-height: 1.55; }
.account-notifications-delivery { margin: 20px 0 0; padding: 12px; color: #e6c997; background: #332b20; border: 1px solid #5b4930; border-radius: 9px; font-size: 12px; line-height: 1.55; }
.account-notifications-message { min-height: 20px; margin: 18px 0 12px; color: #c7d9b7; font-size: 13px; line-height: 1.5; }
.account-notifications-message.error { color: #edacac; }
.account-notifications-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 9px; }
.account-notifications-actions button { min-height: 44px; padding: 10px 15px; border: 1px solid #594739; border-radius: 9px; background: #302823; color: #d2bba0; font: inherit; font-size: 13px; cursor: pointer; }
.account-notifications-actions button[type="submit"] { color: #31271f; background: #e2d3bc; border-color: #e2d3bc; font-weight: 600; }
.account-notifications-actions button[type="submit"]:hover { background: #f1e4d0; }
.account-notifications-form button:disabled { cursor: wait; opacity: .55; }
.account-notifications-form fieldset:disabled { opacity: .6; }
.account-notifications-close { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid #57413d; border-radius: 50%; color: #d2b9ad; background: #2e2726; font-size: 24px; line-height: 1; cursor: pointer; }
.account-notifications-close:hover { color: #f2d8d2; background: #403030; }
.account-notifications-dialog [hidden] { display: none !important; }
@media (max-width: 560px) {
  .account-notifications-form { padding: 26px 22px; }
  .account-notifications-form h2 { font-size: 26px; }
}
