/* The staff practice sign in (lane fritz-staff-practice), in golf's sign in look (golf/signin-look/look.js): white, one
   centred column 400 px at most, Dave's logo in one spot on every step, the title 30 at 750, a label 15 at 650 12 px above
   its 52 px box, a hint 8 px under it, black presses with white words, the seat pills white with an ink outline that fill
   black with white words when pressed. Golf's type scale only (30, 17, 15, 13; weights 500, 650, 750). Always light. */
html, body { margin: 0; background: var(--card); color: var(--ink); }
body { font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; }
* { box-sizing: border-box; }

/* the frame: the column's top where a usual step leaves 40% of the free height above it, so nothing jumps between steps */
.sp { display: flex; flex-direction: column; align-items: center; min-height: 100vh; min-height: 100svh;
  padding: max(56px, calc((100svh - 510px) * .4)) 24px 24px; }
.sp-in { width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 24px; }
.sp-logo { display: block; align-self: center; width: 112px; height: auto; margin: 0 0 4px; }
@media (min-width: 768px) { .sp-logo { width: 128px; } }
.sp-title { margin: 0; font-size: 30px; font-weight: 750; line-height: 1.15; text-align: center; text-wrap: balance; outline: none; }

.sp-form { display: flex; flex-direction: column; gap: 32px; margin: 0; }
.sp-field { display: flex; flex-direction: column; text-align: left; }
.sp-field label { font-size: 15px; font-weight: 650; line-height: 20px; margin: 0 0 12px; }
.sp-field input { width: 100%; height: 52px; min-height: 52px; margin: 0; padding: 0 16px; font: inherit; font-size: 17px; font-weight: 500;
  color: var(--ink); background: var(--card); border: 1px solid var(--edge-line); border-radius: 12px; -webkit-appearance: none; appearance: none; }
.sp-field input:focus { outline: 2px solid var(--ink); outline-offset: 2px; }
#sp-code { font-size: 30px; font-weight: 650; letter-spacing: .24em; text-align: center; }
.sp-hint { margin: 8px 0 0; font-size: 15px; font-weight: 500; line-height: 20px; color: var(--ink-2); }
.sp-err { margin: 8px 0 0; font-size: 15px; font-weight: 650; line-height: 20px; color: var(--ink); text-align: left; }
.sp-err[hidden] { display: none; }

.sp-main { display: flex; align-items: center; justify-content: center; width: 100%; height: 52px; min-height: 52px; margin: 0; padding: 0 20px;
  font: inherit; font-size: 17px; font-weight: 650; color: var(--card); background: var(--ink); border: 1px solid var(--ink); border-radius: 999px; cursor: pointer; }
.sp-main:active { background: color-mix(in srgb, var(--ink) 88%, var(--card)); }
.sp-link { align-self: center; min-height: 44px; margin: -8px 0 0; padding: 0 4px; font: inherit; font-size: 15px; font-weight: 650; color: var(--ink);
  background: none; border: 0; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; cursor: pointer; }

/* Which seat?: one pick, four big pills, one under the other; pressed fills black with white words */
.sp-pills { display: flex; flex-direction: column; gap: 12px; }
.sp-pill { display: flex; align-items: center; justify-content: center; width: 100%; height: 56px; min-height: 56px; margin: 0; padding: 0 20px;
  font: inherit; font-size: 17px; font-weight: 650; color: var(--ink); background: var(--card); border: 1.5px solid var(--ink); border-radius: 999px;
  cursor: pointer; -webkit-tap-highlight-color: transparent; }
.sp-pill[aria-pressed="true"] { color: var(--card); background: var(--ink); }
@media (hover: hover) { .sp-pill:hover { background: var(--fog); } .sp-pill[aria-pressed="true"]:hover { background: var(--ink); } }
.sp-pill:focus-visible, .sp-main:focus-visible, .sp-link:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* the quiet line under each step, centred */
.sp-quiet { margin: 0; font-size: 13px; font-weight: 500; line-height: 20px; color: var(--ink-2); text-align: center; text-wrap: balance; }
