/* Login / 2FA (design/directions/Login.dc.html). */
.auth-card { gap: 22px; }
.auth-form { display: flex; flex-direction: column; gap: 18px; margin: 0; }
.auth-head { display: flex; flex-direction: column; gap: 6px; }
.auth-head h1 { font-size: 22px; font-weight: 700; }
.auth-head h1.is-large { font-size: 24px; }
.auth-head p { font-size: 14px; color: var(--sub); line-height: 1.8; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field .label { font-size: 13px; color: var(--ink); }
.auth-card .input { height: 44px; font-size: 15px; }
.code-input { height: clamp(48px, 14vw, 60px) !important; font-family: var(--mono); font-size: 30px !important; letter-spacing: 0.4em; text-align: center; }
.code-input.is-setup { height: clamp(48px, 13vw, 56px) !important; font-size: 26px !important; }
.code-input ~ .otp-boxes { font-size: 30px; }
.code-input.is-setup ~ .otp-boxes { font-size: 26px; }
.backup-input { height: 52px !important; font-family: var(--mono); font-size: 22px !important; letter-spacing: 0.15em; text-align: center; }
.auth-links { display: flex; justify-content: space-between; font-size: 13px; gap: 12px; }
.form-hint { font-size: 12px; color: var(--sub); line-height: 1.7; }

.auth-steps { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; flex-wrap: wrap; }
.auth-steps .role { background: var(--ink); color: #fff; border-radius: 999px; padding: 2px 10px; font-size: 12px; margin-right: 4px; }
.auth-step { display: flex; align-items: center; gap: 8px; color: var(--sub); }
.auth-step .no { width: 24px; height: 24px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; background: var(--tint); color: var(--sub); }
.auth-step.is-reached { color: var(--ink); }
.auth-step.is-reached .no { background: var(--primary); color: #fff; }
.auth-step .sep { color: var(--line-strong); padding: 0 2px; }

.note-box { display: flex; flex-direction: column; gap: 8px; background: var(--bg); border-radius: 12px; padding: 14px 16px; font-size: 14px; }
.note-box strong { font-weight: 700; }
.qr-row { display: flex; gap: 18px; align-items: center; }
.qr-box { width: 148px; height: 148px; flex-shrink: 0; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px; display: flex; align-items: center; justify-content: center; }
.qr-box svg { width: 126px; height: 126px; }
.qr-help { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--sub); min-width: 0; }
.manual-key { font-family: var(--mono); font-size: 15px; color: var(--ink); background: var(--bg); padding: 6px 10px; border-radius: 8px; word-break: break-all; }
.codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; background: var(--bg); border-radius: 12px; padding: 16px 20px; font-family: var(--mono); font-size: 16px; letter-spacing: 0.06em; margin: 0; list-style: none; }
.check-label { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.check-label input { width: 18px; height: 18px; accent-color: var(--primary); }
