/* ============================================================================
   Account page: one sheet of paper with the form on it. No cards, no stripes.
   ========================================================================== */
.acct { padding-block: clamp(36px, 6vw, 84px) clamp(80px, 11vw, 140px); }
.acct-in { width: min(100% - 2 * var(--gutter), 540px); margin-inline: auto; }
.acct h1 { margin-bottom: 14px; }
.acct .intro { max-width: 30em; }
.acct .sheet { margin-top: 30px; }
.acct .sheet-doc em:empty { display: none; }
.acct .sheet-doc em { overflow: hidden; text-overflow: ellipsis; }
.acct .sheet-bar .act-link { white-space: nowrap; flex: none; color: var(--paper-dim); font-size: 0.92rem; padding: 0.35em 0.4em; background-image: linear-gradient(var(--accent), var(--accent)); }

.acct-body { padding: clamp(22px, 5vw, 32px); color: var(--paper-text); font-family: var(--font-ui); }
.acct-body h2 { font: 700 clamp(1.4rem, 1.15rem + 1vw, 1.8rem) / 1.12 var(--font-display); letter-spacing: -0.03em; margin: 0 0 8px; outline: none; border: 0; padding: 0; color: var(--paper-text); }
.acct-body .note { color: var(--paper-dim); margin: 0 0 20px; max-width: 34em; }
.acct-body a { color: var(--paper-text); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 0.1em; text-underline-offset: 0.2em; }
.acct-body a:hover { text-decoration-style: wavy; }
.acct-body .btn-link { color: var(--paper-text); }
.acct-body .fine { color: var(--paper-dim); font-size: 0.9rem; margin-top: 14px; max-width: 34em; }
.acct-body .btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }
.acct-body .btn-ghost { color: var(--paper-text); border-color: var(--paper-edge); background: transparent; }

.field { display: grid; gap: 4px; margin-bottom: 20px; }
.field label { font: 600 0.92rem var(--font-ui); color: var(--paper-dim); }
.field input {
  width: 100%; font: 400 1.15rem var(--font-serif); color: var(--paper-text); background: transparent; border: 0; border-radius: 0;
  border-bottom: 1.5px solid color-mix(in srgb, var(--paper-faint) 70%, transparent); padding: 8px 2px 7px; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus { border-bottom-color: var(--accent); box-shadow: 0 1.5px 0 var(--accent); }
.field input:-webkit-autofill { -webkit-text-fill-color: var(--paper-text); transition: background-color 9999s; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }

.price { font: 700 clamp(1.9rem, 1.4rem + 2vw, 2.6rem) / 1 var(--font-display); letter-spacing: -0.035em; margin: 6px 0 16px; color: var(--paper-text); }

.msg { min-height: 1.5em; margin: 18px 0 0; font-weight: 500; color: var(--paper-dim); }
.msg:empty { margin-top: 0; min-height: 0; }
.msg[data-kind='error'] { color: color-mix(in srgb, var(--accent) 78%, var(--paper-text)); }

.acct-fine { display: flex; gap: 8px; align-items: flex-start; margin-top: 18px; color: var(--text-faint); }
.acct-fine .g { margin-top: 0.15em; }
.acct-fine a { color: var(--text-dim); }

.nav-text { font-size: 0.95rem; color: var(--text-dim); }
@media (max-width: 560px) {
  .acct-body .btn-primary { width: 100%; }
  .acct-body .row .btn-primary { width: 100%; }
}
