.account-deletion {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: #121212;
  background: #faf7f2;
  margin: 0;
  padding: 32px 24px max(32px, env(safe-area-inset-bottom));
}
.account-deletion, .account-deletion * { box-sizing: border-box; }
.account-deletion main { width: 100%; max-width: 420px; margin: 0 auto; }
.account-deletion .brand { margin-bottom: 32px; }
.account-deletion .brand img { display: block; width: 148px; max-width: 100%; height: auto; }
.account-deletion h1 { font-size: 1.875rem; line-height: 1.2; font-weight: 700; margin: 0 0 16px; }
.account-deletion h1:focus { outline: none; }
.account-deletion p { color: #6f6a62; margin: 0 0 24px; }
.account-deletion form { margin: 24px 0 0; }
.account-deletion label { display: block; margin: 0 0 8px; }
.account-deletion input {
  display: block;
  width: 100%;
  min-height: 52px;
  border: 1px solid #e1d8c5;
  border-radius: 16px;
  background: #fff;
  color: #121212;
  font: inherit;
  padding: 12px 16px;
  margin: 0 0 16px;
}
.account-deletion input::placeholder { color: #6f6a62; opacity: 1; }
.account-deletion button, .account-deletion #return-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 16px;
  margin: 0 0 8px;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  color: #121212;
  background: #e6a729;
  cursor: pointer;
}
.account-deletion .provider-button { background: #fff; border-color: #e1d8c5; }
.account-deletion .destructive-button { background: #e64629; }
.account-deletion .quiet-button { background: transparent; }
.account-deletion button:disabled { cursor: default; opacity: .65; }
.account-deletion button[aria-busy="true"] { opacity: 1; }
.account-deletion button[aria-busy="true"]::after {
  content: "";
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-left: 8px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: deletion-spin .8s linear infinite;
}
.account-deletion a { color: #121212; font-weight: 600; text-underline-offset: 3px; }
.account-deletion input:focus-visible, .account-deletion button:focus-visible,
.account-deletion a:focus-visible, .account-deletion summary:focus-visible {
  outline: 3px solid #775615;
  outline-offset: 3px;
}
.account-deletion .divider { display: flex; align-items: center; gap: 16px; margin: 24px 0; color: #6f6a62; }
.account-deletion .divider::before, .account-deletion .divider::after { content: ""; height: 1px; flex: 1; background: #e1d8c5; }
.account-deletion details { margin-top: 16px; }
.account-deletion summary { min-height: 44px; padding: 12px 0; font-size: 1rem; font-weight: 600; cursor: pointer; }
.account-deletion details p { margin: 16px 0 8px; }
.account-deletion details form { margin-top: 16px; }
.account-deletion output { display: block; padding: 16px; border: 1px solid #e1d8c5; border-radius: 16px; background: #fff; overflow-wrap: anywhere; font-family: ui-monospace, monospace; }
.account-deletion #result-panel a { display: flex; align-items: center; min-height: 44px; width: fit-content; max-width: 100%; }
.account-deletion #status { margin: 16px 0; color: #8a2c1c; }
.account-deletion #status:empty { display: none; }
.account-deletion footer { margin-top: 32px; }
.account-deletion footer a { display: inline-flex; align-items: center; min-height: 44px; font-size: 1rem; color: #6f6a62; }
.account-deletion [hidden] { display: none !important; }
@keyframes deletion-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .account-deletion button[aria-busy="true"]::after { animation: none; } }
@media (min-width: 768px) { .account-deletion { padding-top: 64px; } }
