/* The second step of the back-office / register sign-in (public/shared/two-step.js). Only tokens both stylesheets define (--ink, --muted, --line, --panel-2, --brand, --danger-ink). */
.ts-form { display: grid; gap: 14px; min-width: 0; }
.ts-note { margin: 0; color: var(--muted); }
.ts-steps { margin: 0; padding-inline-start: 20px; display: grid; gap: 4px; color: var(--muted); }
.ts-qr { justify-self: center; width: min(212px, 100%); background: #fff; padding: 8px; border-radius: 10px; border: 1px solid var(--line); line-height: 0; }   /* white in the dark theme too: the code must scan */
.ts-qr svg { width: 100%; height: auto; aspect-ratio: 1; display: block; }
.ts-secret { display: grid; gap: 6px; min-width: 0; }
.ts-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.ts-secret-row { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: var(--panel-2); border: 1px dashed var(--line); border-radius: 10px; min-width: 0; }
.ts-secret-row code { flex: 1; min-width: 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14.5px; letter-spacing: .08em; text-align: center; overflow-wrap: anywhere; color: var(--ink); }
.ts-copy, .ts-link, .ts-back { background: none; border: 0; padding: 8px 6px; min-height: 40px; color: var(--brand); font: inherit; font-weight: 700; cursor: pointer; }
.ts-link { padding: 0; min-height: 0; justify-self: start; text-decoration: underline; }
.ts-back { justify-self: center; }
.ts-code { width: 100%; min-height: 48px; text-align: center; direction: ltr; letter-spacing: .5em; font-size: 22px; font-weight: 650; font-variant-numeric: tabular-nums; }
.ts-error { margin: 0; min-height: 18px; color: var(--danger-ink); font-weight: 650; }
.ts-error:empty { min-height: 0; }
