/* Reservision account pages, matched to the approved mock (11-04): /signup + /login (page 4, SignUp.dc.html),
   /start (page 5, Onboarding.dc.html), /account (page 9, Account.dc.html). Loaded after site.css, so these rules win
   over its CP1 auth block (site.css belongs to the public-site builder). Tokens only (tokens.css); every tap >= --tap. */

/* ---------- the page frame: a full-height black column, header as the mock draws it ---------- */
.auth-page { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.auth-page > .auth { flex: 1 0 auto; }
.auth-page .top { height: auto; padding: var(--s3) var(--s4) 0; }
.auth-page .lockup { gap: var(--s2); }
.auth-page .lockup .mascot-svg { width: 28px; height: 28px; }
.auth-page .wordmark { font-size: 22px; }
.auth-page .eyebrow { font-size: 13px; letter-spacing: 0.08em; margin: 0; }
.auth-page .field { margin: 0; }
.auth-page .field > span { font-size: 14px; font-weight: 600; margin: 0 0 var(--s2); }
.auth-page .field input { height: 48px; padding: 0 14px; }
.auth-page .field .at b { left: 14px; font-weight: 400; color: var(--dark-muted); }
.auth-page .field .at input { padding-left: 30px; }
.auth-page .field .note { margin: var(--s2) 0 0; color: var(--dark-muted); font-style: normal; font-size: 13px; }
.auth-page .field .err:empty { display: none; }
.auth-page .auth-form > .pill { margin-top: 0; }
.auth-page .textlink { text-decoration: underline; }

/* Pills in the mock: big ones 52 px, caps at 0.04em; the small row buttons say their words in plain case. */
.auth-page .pill { letter-spacing: 0.04em; font-size: 14px; }
.auth-page .pill.plain { text-transform: none; letter-spacing: 0; font-weight: 700; font-size: 13px; }
.auth-page .pill.sm { min-height: var(--tap); padding: 0 var(--s4); }
.auth-page .pill.quiet-pill { border-width: var(--rule-width); border-color: var(--dark-rule); color: var(--dark-muted); }

/* ---------- /signup and /login (page 4): one column, 24 px apart, "Already have an account?" at the foot ---------- */
.auth-signup > .auth { padding: var(--s4) var(--s4) var(--s5); gap: var(--s5); }
.auth-signup .auth-h { font-size: 52px; line-height: 0.95; margin: var(--s5) 0 0; }
.auth-signup .auth-lede { font-size: 15px; line-height: 1.5; margin: 0; max-width: none; }
.auth-signup .auth-form { gap: var(--s5); }
.auth-signup .auth-slot { display: flex; flex-direction: column; gap: var(--s5); }
.auth-signup .auth-slot:empty { display: none; }
.auth-signup .auth-or { margin: 0; }
.auth-signup .auth-google { font-size: 15px; letter-spacing: 0; text-transform: none; }
.auth-signup .auth-note { font-size: 14px; margin: 0; }
.auth-signup .auth-note .textlink { min-height: 0; }
.auth-signup .auth-note[hidden] { display: none; }
.auth-signup .auth-foot { margin-top: auto; }
.auth-signup .auth-privacy { font-size: 12px; margin: calc(-1 * var(--s3)) 0 0; }
.auth-signup .formerr { margin: 0; }

/* ---------- /start (page 5): no header, 16 px apart, CONTINUE at the foot ---------- */
.auth-start > .auth { padding: 20px var(--s4) var(--s5); gap: var(--s4); }
.auth-start .auth-step { margin: 0; }
.auth-start .auth-h { font-size: 44px; line-height: 0.95; margin: 0; }
.auth-start .auth-note { font-size: 14px; margin: 0; }
.auth-start .auth-form { flex: 1 0 auto; gap: var(--s4); }
.auth-start .formerr { margin: 0; }
.auth-start .tick-cards { gap: var(--s4); margin: 0; }
.auth-start .host-profile { margin: 0; padding-top: var(--s4); display: flex; flex-direction: column; gap: var(--s3); }
.auth-start .host-profile .field > span { margin-bottom: var(--s3); }
.auth-start .host-profile .invited { margin: 0; align-self: flex-start; }
.auth-start #invitedBy:empty { display: none; }
.auth-start .auth-form > .pill { margin-top: auto; }
.auth-start .auth-privacy { font-size: 12px; margin: 0; }

/* ---------- /account (page 9): 18 px apart, three ruled sections ---------- */
.auth-acct > .auth { padding: var(--s4) var(--s4) var(--s6); gap: 18px; }
.auth-acct .acct-h { font-size: 28px; font-weight: 800; margin: 0; }
.auth-acct .acct-status, .auth-acct .acct-flash { margin: 0; }
.auth-acct .acct-profile { gap: 18px; }
.auth-acct .acct-profile .formerr { margin: 0; }
.auth-acct .acct-section { margin: 0; padding-top: 18px; gap: 10px; }
.auth-acct .acct-row .pill.sm { padding: 0 var(--s4); }
.auth-acct .acct-hint { font-size: 13px; color: var(--dark-muted); }
.auth-acct .acct-team { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); font-size: 15px; min-height: var(--tap); }
.auth-acct .acct-team-name { min-width: 0; overflow-wrap: anywhere; }
.auth-acct .acct-team-name small { display: block; font-size: 14px; color: var(--dark-muted); }
.auth-acct .acct-team-end { display: inline-flex; align-items: center; gap: var(--s2); flex: none; }
.auth-acct .acct-tag-shown {
  background: var(--soot); border: var(--rule-width) solid var(--dark-rule); border-radius: 4px;
  padding: 2px 6px; font-size: 11px; font-weight: 800; letter-spacing: 0.04em;
}
.auth-acct .acct-invite {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s3);
  background: var(--dark-surface); border-radius: var(--radius); padding: var(--s3) 14px; font-size: 14px;
}
.auth-acct .acct-invite .pill { font-size: 12px; }
.auth-acct .acct-invite .pill.outline { border-width: var(--rule-width); border-color: var(--dark-rule); }
.auth-acct .acct-team-leave { font-size: 13px; color: var(--dark-muted); min-height: var(--tap); }
.auth-acct .acct-out .pill { min-height: 48px; font-size: 13px; }
.auth-acct .acct-out, .auth-acct .acct-delete { gap: 10px; }
.auth-acct .acct-delete { border-top: 0; padding-top: 0; }

/* /start back link on the HOST THIS NIGHT INSTEAD road (Khalil 11-05) */
.auth-back { margin: 0 0 var(--s3, 12px); font-size: 15px; }
.auth-back .textlink { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- /account tabs (1.4.1, mock page 20): Account settings · Your pages, the look of hosting.css's .hz-tabs ---------- */
.auth-acct .acct-tabs {
  display: flex; gap: var(--s4); overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  margin: 0 calc(-1 * var(--s4)); padding: 0 var(--s4); border-bottom: var(--rule-width) solid var(--graphite);
}
.auth-acct .acct-tabs::-webkit-scrollbar { display: none; }
.auth-acct .acct-tab {
  flex: none; display: inline-flex; align-items: center; min-height: var(--tap); white-space: nowrap;
  font-size: 14px; font-weight: 700; color: var(--silver); text-decoration: none;
  border-bottom: 2px solid transparent; margin-bottom: calc(-1 * var(--rule-width));
}
.auth-acct .acct-tab.is-on { color: var(--off-white); border-bottom-color: var(--off-white); }
.auth-acct .acct-tab:focus-visible { outline: 2px solid var(--off-white); outline-offset: -2px; }
.auth-acct .acct-panel { display: flex; flex-direction: column; gap: 18px; }
.auth-acct .acct-panel[hidden] { display: none; }

/* Your pages rows: label / sub / ›, beside .acct-row (site.css) */
.auth-acct .acct-pages { display: flex; flex-direction: column; }
.auth-acct .acct-page {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s3); min-height: 56px;
  padding: var(--s3) 0; font-size: 15px; font-weight: 700; color: var(--off-white); text-decoration: none;
  border-bottom: var(--rule-width) solid var(--dark-rule);
}
.auth-acct .acct-page:last-child { border-bottom: 0; }
.auth-acct .acct-page:focus-visible { outline: 2px solid var(--off-white); outline-offset: 2px; }
.auth-acct .acct-page-text { min-width: 0; overflow-wrap: anywhere; }
.auth-acct .acct-page-text small { display: block; font-size: 14px; font-weight: 400; color: var(--dark-muted); }
.auth-acct .acct-page-go { flex: none; font-size: 22px; line-height: 1; color: var(--dark-muted); }

/* Invites (1.5.0, review #9): an org's staff invite above Your pages' rows: its line, then Accept · No. */
.auth-acct .acct-invites { display: flex; flex-direction: column; gap: var(--s2); padding-bottom: var(--s3); border-bottom: var(--rule-width) solid var(--dark-rule); }
.auth-acct .acct-invites .eyebrow { margin: 0; }
.auth-acct .acct-invite { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); flex-wrap: wrap; padding: var(--s2) 0; }
.auth-acct .acct-invite-text { min-width: 0; flex: 1 1 220px; font-size: 15px; font-weight: 700; color: var(--off-white); overflow-wrap: anywhere; }
.auth-acct .acct-invite-btns { display: flex; gap: var(--s2); flex: none; }
.auth-acct .acct-invites .formerr:empty { display: none; }

/* 1.5.2 (R3): the Turnstile human check on the code forms; empty until the widget draws (or when the check is off). */
.auth-ts { display: flex; justify-content: center; min-height: 0; }
.auth-ts:empty { display: none; }
.auth-ts .formerr { margin: 0; width: 100%; }
