/* Sign-up, sign-in, account and ceremony pages (server.js), on the design tokens.
   These pages keep their plain markup; this file gives it the design system's look.
   Replaces the inline <style> block they used to carry (no inline style is allowed). */
.acct { max-width: 34rem; margin-inline: auto; padding: var(--o-space-6) var(--o-gutter) 0; }
.acct h1 { font-size: var(--o-text-title-1); font-weight: var(--o-weight-heavy); line-height: var(--o-leading-tight); letter-spacing: -0.04em; margin-bottom: var(--o-space-2); }
.acct h2 { font-size: var(--o-text-title-3); font-weight: var(--o-weight-bold); margin: var(--o-space-6) 0 var(--o-space-2); }
.acct h2.first { margin-top: 0; }
.acct p { margin: 0 0 var(--o-space-3); }
.acct p.sub { color: var(--o-ink-2); margin-bottom: var(--o-space-5); }
.acct .meta { color: var(--o-ink-2); font-size: var(--o-text-callout); }
.acct .hint { margin-top: var(--o-space-2); }
.acct .spaced { margin-top: var(--o-space-4); }
.acct .amount { font-family: var(--o-font-mono); font-size: var(--o-text-title-2); margin-bottom: var(--o-space-1); }
.acct .card { background: var(--o-surface); border-radius: var(--o-radius-lg); padding: var(--o-space-5); margin: 0 0 var(--o-space-4); }
.acct label { display: block; font-size: var(--o-text-callout); font-weight: var(--o-weight-semibold); margin: var(--o-space-4) 0 var(--o-space-1); }
.acct input[type=email], .acct input[type=password] {
  display: block; width: 100%; min-height: var(--o-tap); padding: 0 var(--o-space-3);
  border: 1px solid var(--o-control); border-radius: var(--o-radius-md); background: var(--o-bg); color: var(--o-ink); font-size: var(--o-text-body);
}
.acct input:focus-visible { border-color: var(--o-ink); outline-offset: 1px; }
.acct .row { display: flex; flex-wrap: wrap; gap: var(--o-space-2); margin-top: var(--o-space-4); }
.acct button {
  display: inline-flex; align-items: center; justify-content: center; min-height: var(--o-tap); padding: 0 var(--o-space-5);
  border: 0; border-radius: var(--o-radius-md); background: var(--o-accent); color: var(--o-on-accent);
  box-shadow: inset 0 0 0 1px var(--o-fill-edge); font-size: var(--o-text-callout); font-weight: var(--o-weight-semibold);
}
.acct button.secondary { background: transparent; color: var(--o-ink); box-shadow: none; border: 1px solid var(--o-control); }
.acct button:disabled { background: var(--o-surface-2); color: var(--o-ink-disabled); box-shadow: none; cursor: not-allowed; }
.acct form.inline { display: inline; margin: 0; }
.acct .notice, .acct .err { border-radius: var(--o-radius-md); padding: var(--o-space-3) var(--o-space-4); margin: 0 0 var(--o-space-4); font-size: var(--o-text-callout); }
.acct .notice { background: var(--o-warn-tint); color: var(--o-ink); box-shadow: inset 3px 0 0 var(--o-warn); }
.acct .err { background: var(--o-danger-tint); color: var(--o-ink); box-shadow: inset 3px 0 0 var(--o-danger); }
.acct code { font-family: var(--o-font-mono); font-size: var(--o-text-meta); background: var(--o-surface-2); padding: 2px 6px; border-radius: var(--o-radius-xs); }
.acct .code-display { font-family: var(--o-font-mono); font-size: var(--o-text-title-3); letter-spacing: 0.04em; background: var(--o-ink); color: var(--o-bg); padding: var(--o-space-4); border-radius: var(--o-radius-md); overflow-wrap: anywhere; margin: var(--o-space-3) 0; }
.acct a:not(.o-btn) { color: var(--o-ink); text-decoration: underline; text-underline-offset: 0.2em; }
.acct .row a { text-decoration: none; }
