/* The deletion page's form (web/delete-account/). Everything else comes from
   legal.css, so the page reads as one of the site's documents: dark ground,
   bone text, brass links. Contrast measured (23 September 2026) against
   --ink (#17150f): bone 15.6:1, brass 5.9:1, muted 5.0:1, the error text
   7.5:1, the ok text 10.7:1; ink on the brass button 5.9:1 and on the red
   one 5.5:1; bone in the input box 14.1:1. */
.step { margin-top: 2rem; }
.step[hidden], .note[hidden], #confirm[hidden] { display: none !important; }

.form { display: grid; gap: 0.6rem; justify-items: start; margin: 0 0 0.6rem; }
.lab { font-weight: 600; }
.form input {
  width: 100%;
  max-width: 24rem;
  font: inherit;
  font-size: 1.05rem;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  border: 1px solid rgba(240, 237, 230, 0.35);
  background: #221f17;
  color: var(--bone);
}
.form input:focus { outline: 3px solid var(--brass); outline-offset: 1px; border-color: var(--brass); }

.btn {
  font: inherit;
  font-weight: 700;
  min-height: 48px;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  border: 1px solid var(--brass);
  background: var(--brass);
  color: var(--ink);
  cursor: pointer;
}
.btn:hover { filter: brightness(1.07); }
.btn:focus-visible { outline: 3px solid var(--bone); outline-offset: 2px; }
.btn[disabled] { opacity: 0.5; cursor: default; filter: none; }
.btn--quiet { background: transparent; color: var(--bone); border-color: rgba(240, 237, 230, 0.45); }
.btn--danger { background: #e0685e; border-color: #e0685e; color: var(--ink); }

.text-btn {
  font: inherit;
  background: none;
  border: 0;
  padding: 0.4rem 0;
  margin-right: 1.2rem;
  color: var(--brass);
  text-decoration: underline;
  cursor: pointer;
  min-height: 44px;
}
.text-btn:focus-visible { outline: 3px solid var(--bone); outline-offset: 2px; }
.links { margin: 0.2rem 0 0.8rem; }

.small { font-size: 0.92rem; color: var(--muted); }
.status { min-height: 1.4em; margin: 0.4rem 0 0.9rem; }
.status:empty { min-height: 0; margin: 0; }
.status.is-error { color: #f08a80; font-weight: 600; }
.status.is-ok { color: #9fd49a; font-weight: 600; }

.note {
  border: 1px solid rgba(240, 237, 230, 0.2);
  border-left: 4px solid var(--brass);
  border-radius: 8px;
  padding: 0.9rem 1rem 0.3rem;
  margin: 0 0 1rem;
}
.note--warn { border-left-color: #e0685e; }
.note p { margin-bottom: 0.6rem; }
