/* Product delta: istniejące tokeny i core ARCHE, bez zewnętrznych zasobów. */
.auth-page{min-width:320px;background:var(--bg);color:var(--ink)}
.auth-page [hidden]{display:none!important}
.auth-shell{width:min(1040px,100%);margin:0 auto;padding:32px 40px}
.auth-brand{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:24px;padding-bottom:28px;border-bottom:1px solid var(--line)}
.auth-wordmark{font:500 26px/1 var(--sans);letter-spacing:8px}
.auth-wordmark span{display:block;margin-top:12px;font-size:10px;letter-spacing:2px;color:var(--muted)}
.auth-brand-caption{font-size:12px;color:var(--muted)}
.auth-main{width:min(480px,100%);max-width:none;margin:48px auto 0;padding:0}
.auth-card{background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:32px}
.auth-card h1{font:32px/1.2 var(--serif);margin:0 0 12px;letter-spacing:-.015em;outline:none}
.auth-eyebrow{font-size:11px;letter-spacing:.06em;color:var(--muted);margin:0 0 12px}
.auth-intro{font-size:14px;line-height:1.5;color:var(--muted);margin:0 0 24px}
.auth-account{margin:-8px 0 24px;font-size:12px;color:var(--muted);overflow-wrap:anywhere}
.auth-progress{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:28px}
.auth-progress span{font-size:11px;color:var(--muted);padding-top:8px;border-top:2px solid var(--line)}
.auth-progress .current{border-color:var(--ink);color:var(--ink);font-weight:500}
.auth-progress .done{border-color:var(--positive)}
.auth-form{margin:0}
.auth-fields{border:0;padding:0;margin:0;min-width:0;display:grid;gap:16px}
.auth-field{display:grid;gap:6px;min-width:0;font-size:13px;font-weight:500}
.auth-field input{width:100%;min-width:0;min-height:44px;background:var(--surface);font-weight:400}
.auth-help{font-size:12px;font-weight:400;color:var(--muted);line-height:1.5;margin:0}
.auth-submit{width:100%;min-height:44px;margin-top:8px}
.auth-text-button{font-size:12px;padding:4px 0;min-height:32px;border:0;border-radius:0;background:transparent;text-decoration:underline;text-underline-offset:3px}
.auth-text-button:hover:not(:disabled){background:transparent;text-decoration-thickness:2px}
.auth-error{margin:0 0 20px;padding:12px;border-left:3px solid var(--ink);background:var(--subtle);font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.auth-field input[aria-invalid="true"]{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
.auth-status{min-height:20px;margin:16px 0 0;font-size:12px;color:var(--muted)}
.auth-status:empty{min-height:0;margin:0}
.auth-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:16px;padding:0 2px;font-size:11px;color:var(--muted)}
.auth-instructions{padding:0;margin:0 0 20px;list-style:none;counter-reset:setup}
.auth-instructions li{counter-increment:setup;position:relative;padding:4px 0 4px 28px;min-height:32px;font-size:13px;color:var(--muted)}
.auth-instructions li::before{content:counter(setup);position:absolute;left:0;top:4px;color:var(--ink);font-variant-numeric:tabular-nums}
.auth-qr{display:grid;justify-items:center;gap:12px;padding:20px;margin-bottom:12px;background:var(--bg);border:1px solid var(--line);border-radius:var(--radius)}
.auth-qr img{display:block;width:224px;height:224px;max-width:100%;object-fit:contain;background:#fff;border:8px solid #fff}
.auth-qr-placeholder{color:var(--muted);font-size:12px;text-align:center;padding:4px 0;max-width:260px}
.auth-qr button{min-height:40px;min-width:180px;background:var(--surface)}
.auth-manual{margin:0 0 24px;font-size:12px}
.auth-manual summary{min-height:32px;display:list-item;padding:6px 0;font-size:12px;color:var(--muted)}
.auth-manual-body{display:grid;gap:8px;margin-top:8px;padding:12px;border:1px solid var(--line);border-radius:var(--radius)}
.auth-manual-body p{margin:0;font-size:12px;overflow-wrap:anywhere}
.auth-manual-key{font:14px/1.6 monospace;overflow-wrap:anywhere;user-select:all;letter-spacing:.04em}
.auth-code{font-size:28px;line-height:1.2;text-align:center;letter-spacing:.25em;font-variant-numeric:tabular-nums;padding-left:calc(12px + .25em)}
.auth-code.is-recovery{font-size:16px;letter-spacing:.06em}
.auth-recovery-toggle{justify-self:start;margin-top:0}
.auth-recovery-contact{margin-top:-8px}
.auth-backup-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:4px}
.auth-small-button{min-height:32px;padding:4px 10px;font-size:12px;white-space:nowrap;background:var(--surface)}
.auth-recovery-list{list-style:none;margin:0 0 16px;padding:12px 16px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px;background:var(--bg);border:1px solid var(--line);border-radius:var(--radius)}
.auth-recovery-list li{font:12px/32px monospace;letter-spacing:.025em;white-space:nowrap}
.auth-checkbox{display:flex;gap:10px;align-items:flex-start;font-size:13px;font-weight:400}
.auth-checkbox input{width:16px;min-height:16px;height:16px;flex:0 0 16px;margin:3px 0 0;accent-color:var(--ink)}
.auth-separator{border-top:1px solid var(--line);margin-top:20px;padding-top:12px}
.auth-noscript{margin:32px auto;max-width:480px;padding:16px;background:var(--surface)}
@media(max-width:600px){.auth-shell{padding:24px 16px}.auth-brand{padding-bottom:24px}.auth-brand-caption{font-size:11px}.auth-main{margin-top:28px}.auth-card{padding:24px}.auth-card h1{font-size:28px}.auth-intro{font-size:13px}.auth-progress{margin-bottom:24px}.auth-recovery-list{grid-template-columns:1fr;padding:8px 16px}.auth-recovery-list li{font-size:13px}.auth-bottom{margin-top:12px}.auth-qr{padding:16px}}
@media(max-width:360px){.auth-card{padding:20px}.auth-brand-caption{display:none}.auth-wordmark{font-size:23px}.auth-code.is-recovery{font-size:14px}.auth-progress{gap:6px}.auth-progress span{font-size:10px}}
