/* The sign-in shell's own parts: the sign-in card, the enrol step and the project list. Loads after /kit/shell.css
   and, like it, holds no colour value of its own: every colour is a --stage-* token. */
/* Source: apps/artifactory/viewer/viewer.css (Quine 2's sign-in card) — diverges: Stage tokens, a serif title, the project list as one card */

/* ---------- the card ---------- */
.gate { min-height: 100vh; display: grid; place-items: center; padding: var(--s6) var(--gutter) }
.gate-card { width: 100%; max-width: 420px; padding: var(--s6) var(--s5) var(--s5) }
@media (min-width: 700px) { .gate-card { padding: var(--s7) var(--s6) var(--s6) } }
.gate-card .btn.wide { margin-top: var(--s2) }
.quiet.center { display: flex; margin: var(--s2) auto 0 }
.enroll { margin: 0 0 var(--s4) }
/* The QR code reads on the light system canvas in either theme, so a scanner finds its contrast. */
.qr-ground { width: max-content; max-width: 100%; margin: 0 auto var(--s3); padding: var(--s2); border-radius: var(--r-sm); color-scheme: light; background: Canvas }
.qr { display: block }
.secret-label { margin: 0 0 var(--s1); font-size: 14px; color: var(--stage-dim) }
.secret { margin: 0; font: 500 15px/1.4 var(--mono); letter-spacing: .04em; word-break: break-all }
.otp { font-family: var(--mono) !important; font-size: 22px !important; letter-spacing: .2em }

/* ---------- the projects: one card, its rows a hairline apart ---------- */
.home { padding-block: var(--s6) var(--s7) }
.home-title { margin-bottom: var(--s5) }
.home-state:empty { display: none }
.home-state { display: grid; gap: var(--s3); justify-items: start; margin: 0 0 var(--s5) }
.projects { max-width: 760px }
.project-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "kind go" "title go"; align-items: center; gap: 2px var(--s4); min-height: 64px; padding: var(--s3) var(--s4); color: inherit; font-weight: inherit; text-decoration: none }
.project-kind { grid-area: kind; font: 600 var(--type-kicker, 11px)/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--stage-dim) }
.project-title { grid-area: title; font: 500 var(--type-title, 24px)/1.2 var(--serif); min-width: 0 }
.project-go { grid-area: go; font: 600 15px/1 var(--sans); text-decoration: underline; text-underline-offset: 3px }
.project-go::after { content: " \203A" }
.project-row.none .project-go { color: var(--stage-dim); text-decoration: none }
.project-row.none .project-go::after { content: none }
a.project-row:hover .project-title { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px }
.home-who { margin: var(--s5) 0 0; font-size: 14.5px }
