/* Account pages (/account/activate/, /login/, /account/): one centred column on paper, the seal and a Marcellus title
   as in the invite dialog, then the form or the account. Each page swaps views (data-view, shown one at a time by its
   script). Load after site.css. Mobile first. */
.ac { min-height: 88svh; padding: calc(var(--hdr) + clamp(48px, 8vw, 112px)) 0 var(--sec); }
.ac [hidden] { display: none !important; }   /* .btn and the command rows set their own display */
.ac-panel { max-width: 460px; margin-inline: auto; }
.ac-wide { max-width: 760px; }
.ac-seal { display: block; width: 21px; height: 40px; margin-bottom: 26px; }
.ac-seal svg { width: 100%; height: 100%; }
.ac-h { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4.6vw, 60px); line-height: 1; letter-spacing: -.01em; text-wrap: balance; }
.ac-line { margin-top: 14px; color: var(--ink-soft); text-wrap: pretty; }
.ac-who span { color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.ac-line a, .ac-alt a, .ac-err a, .ac-note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.ac-form { display: grid; margin-top: 30px; }
.ac-l { margin-top: 16px; font-size: 13px; font-weight: 500; color: var(--ink-mute); }
.ac-l:first-child { margin-top: 0; }
.ac-in {
  width: 100%; margin-top: 8px; height: 54px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--rule); background: #FAF9F6;
  outline: 0; font-size: 17px; transition: border-color .2s, box-shadow .2s;
}
.ac-in::placeholder { color: #B3B0A8; }
.ac-in:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(11, 11, 12, .07); }
.ac-in[aria-invalid="true"] { border-color: var(--loss); box-shadow: 0 0 0 4px rgba(184, 50, 43, .1); }
.ac-code { font-family: var(--mono); font-size: 21px; letter-spacing: .08em; text-transform: uppercase; }
.ac-hint { margin-top: 8px; font-size: 13px; color: var(--ink-mute); }
.ac-err { min-height: 26px; padding-top: 8px; font-size: 14px; color: var(--loss); }
.ac-err.is-info { color: var(--ink-mute); }
.ac-err:empty { min-height: 16px; }
.ac-form .btn { margin-top: 8px; }
.ac-form .btn:disabled, .ac-row .btn:disabled { opacity: .5; cursor: default; }
.ac-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.ac-alt { margin-top: 18px; font-size: 14px; color: var(--ink-mute); }
.ac-note { margin-top: 18px; font-size: 14px; color: var(--ink-mute); }
.ac-link { margin-top: 28px; }
.ac-text-btn { justify-self: start; margin-top: 10px; font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* the account: trial, plan, then one block per platform */
.ac-trial { margin-top: 18px; font-size: var(--t-lead); line-height: 1.45; letter-spacing: -.012em; }
.ac-trial span { font-weight: 500; white-space: nowrap; }
.ac-plats { display: grid; gap: 16px; margin-top: 40px; }
.ac-plat { display: grid; gap: 14px; align-content: start; padding: 22px 20px 20px; border-radius: var(--r-m); background: #FAF9F6; box-shadow: inset 0 0 0 1px var(--rule-2); }
.ac-plat .btn { justify-self: start; }
.ac-cmd-l { font-size: 13px; font-weight: 500; color: var(--ink-mute); }
.ac-cmd { display: grid; justify-items: start; gap: 10px; margin-top: -6px; }
.ac-cmd code { justify-self: stretch; }
.ac-cmd code { display: block; min-width: 0; padding: 12px 14px; border-radius: var(--r-s); background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--rule-2);
  font: 400 13px/1.5 var(--mono); color: var(--ink); overflow-wrap: anywhere; user-select: all; }
.ac-cmd .btn { min-width: 84px; }
.ac-off { font-size: 14px; color: var(--ink-mute); }
.ac-refused { margin-top: 28px; padding: 16px 18px; border-radius: var(--r-s); background: rgba(184, 50, 43, .07); color: var(--loss); font-size: 15px; }
.ac-refused a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.ac-foot { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--rule); }

@media (min-width: 600px) {
  .ac-cmd { grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
}
@media (min-width: 900px) {
  .ac-plat { padding: 26px 24px 24px; }
}
