/* The account pages (sign in, sign up, reset, confirm): one narrow column,
   the Team Manic wordmark, one card. Everything else comes from mm.css. */

.acct-brand { display: inline-block; margin: 10px 0 18px; font-size: clamp(46px, 14vw, 68px); text-decoration: none; }
.acct-card { --gap: 18px; }
.acct-card h1 { font-size: 26px; font-weight: 700; line-height: 1.15; }
.acct-form { --gap: 16px; }
.acct-card p a { font-weight: 700; }
.acct-pass { display: flex; gap: 8px; }
.acct-pass .mm-input { flex: 1 1 0; min-width: 0; }
.acct-pass .mm-btn { flex: none; min-width: 74px; }
.acct-hint { font-size: 14px; }
.acct-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; cursor: pointer; }
.acct-check input { width: 22px; height: 22px; margin: 0; accent-color: var(--ink); flex: none; }
.acct-check-hint { display: block; font-size: 14px; font-weight: 400; opacity: .8; margin-top: 2px; }
.acct-links { display: flex; flex-wrap: wrap; gap: 0 20px; padding-top: 6px; border-top: var(--border); font-size: 15px; }
/* Each link is a finger-sized target, also when they stack on a phone. */
.acct-links a { padding: 11px 0; }
.acct-email { font-weight: 700; overflow-wrap: anywhere; }

/* Spacing. mm.css zeroes the margin of every ".mm p" and ".mm h1" with one
   class plus one element, which outranks ".mm-stack > * + *": a paragraph
   in a stack gets no gap. These carry two classes so the gaps hold. */
.mm .acct-card > * + *, .mm .acct-card .mm-stack > * + * { margin-top: var(--gap, 16px); }
.mm .acct-card h1 + p { margin-top: 8px; }
.mm .acct-card .mm-field .mm-msg, .mm .acct-card .acct-hint { margin-top: 8px; }

/* mm.css resets ".mm a" and ".mm button" (colour, and font for buttons)
   with one class plus one element, which outranks the single class of
   ".mm-btn": a button's label comes out ink on ink. Restated here so these
   pages do not depend on that; delete once mm.css makes the resets
   ":where()" rules. */
.acct-card .mm-btn { color: var(--canvas); font-size: 14px; font-weight: 700; }
.acct-card .mm-btn-ghost { color: var(--ink); }
