/* The mailed and guest pages' one sheet (/password, /invite, /guest) and the
   shell's can't-run fallback, after theme.css: every colour a token, every
   face a --font-* (docs/design/studio-skin). The Accounts artboard's 1a card. */
* { box-sizing: border-box; }
body { margin: 0; background: var(--ground); color: var(--text);
       font: 13px/1.5 var(--font-ui); min-height: 100vh; }
main { display: flex; align-items: flex-start; justify-content: center;
       padding: 10vh 16px 40px; }
.card { width: 100%; max-width: 380px; background: var(--chrome);
        border: 1px solid var(--rule); border-radius: var(--radius-lg);
        padding: 28px;
        box-shadow: 0 20px 50px color-mix(in srgb, var(--text-hi) 14%, transparent); }
h1 { margin: 0; font: 600 24px/1.2 var(--font-serif); color: var(--text-hi); }
.who { margin: 6px 0 20px; font-size: 13px; color: var(--label); }
label { display: block; margin-bottom: 6px; font-size: 12px; color: var(--text-dim); }
.row { display: flex; gap: 8px; align-items: stretch; }
input { flex: 1; min-width: 0; height: 38px; padding: 0 12px;
        background: var(--inset); color: var(--text);
        border: 1px solid var(--border); border-radius: var(--radius-sm);
        font: inherit; }
input:focus { outline: none; border-color: var(--accent); }
button { height: 38px; padding: 0 14px; cursor: pointer; font: inherit;
         background: none; color: var(--text); border: 1px solid var(--border-strong);
         border-radius: var(--radius-sm); }
/* The one filled primary per card: what the card is for. */
button.go { width: 100%; height: 40px; margin-top: 16px;
            background: var(--accent); color: var(--on-accent); border-color: var(--accent);
            font-size: 14px; font-weight: 500; }
/* Choosing a password makes Set password the card's action: Sign in steps back. */
#doors:has(#form:not([hidden])) #in { background: none; color: var(--text);
                                      border-color: var(--border-strong); }
button[disabled] { opacity: .5; cursor: default; }
.rule { margin: 8px 0 0; font-size: 12px; color: var(--label); }
/* ponytail: no fill behind a refusal; a danger-tint token when a second surface needs one */
.bad { margin: 0 0 12px; padding: 12px 14px; font-size: 13px; color: var(--danger);
       border: 1px solid var(--danger-border); border-radius: var(--radius-md); }
.note { margin: 16px 0 0; padding: 10px 12px; border-radius: var(--radius-md);
        background: var(--accent-tint); color: var(--accent-on-tint); line-height: 1.5; }
a { color: var(--accent-hi); text-decoration: none; }
a:hover { text-decoration: underline; }
