.auth-page{background:radial-gradient(ellipse at 50% 0%,#16304a 0%,transparent 65%),var(--background);min-height:100dvh;padding:2rem 1rem;font-size:1rem}.auth-container{width:100%;max-width:30rem;margin:0 auto}.auth-brand{flex-direction:column;align-items:center;gap:.4rem;margin:0 0 2rem;display:flex}.auth-brand img{width:10rem;height:auto}.auth-brand>span{color:var(--muted);letter-spacing:.06em;font-size:.875rem}.auth-card{border:1px solid var(--border);background:var(--card);border-radius:1rem;min-width:0;padding:1.5rem;box-shadow:0 1.5rem 5rem #0002}.auth-icon{width:3rem;height:3rem;color:var(--gold);background:#f2ca5010;border:1px solid #f2ca5033;border-radius:.8rem;justify-content:center;align-items:center;margin-bottom:1.25rem;display:flex}.auth-card h1{letter-spacing:-.035em;font-family:Space Grotesk,Manrope,sans-serif;font-size:clamp(1.5rem,4vw,1.85rem);font-weight:500;line-height:1.25}.auth-intro{color:var(--muted);margin:.75rem 0 1.5rem;line-height:1.65}.auth-card fieldset{border:0;min-width:0;margin:0;padding:0}.auth-field{flex-direction:column;gap:.45rem;min-width:0;margin:1.15rem 0;display:flex}.auth-field>span{font-size:.875rem;font-weight:700}.auth-field input{width:100%;min-width:0;min-height:3rem;color:var(--text);font:inherit;background:#081827;border:1px solid #43556a;border-radius:.55rem;padding:.7rem .85rem;font-size:1rem}.auth-field input:focus{border-color:var(--gold)}.auth-field input[readonly]{color:#b9cce1;background:#0c1b2a}.auth-field small,.auth-help{color:var(--muted);font-size:.875rem;line-height:1.6}.auth-help{margin:1.25rem 0 0}.auth-button{min-height:2.75rem;font:inherit;text-align:center;border:1px solid #0000;border-radius:.55rem;justify-content:center;align-items:center;gap:.6rem;padding:.7rem 1rem;font-size:.875rem;font-weight:700;line-height:1.5;transition:background .15s,border-color .15s;display:inline-flex}.auth-primary{background:var(--gold);color:#142033;width:100%;margin-top:.5rem}.auth-primary:hover:enabled{background:#ffe18a}.auth-secondary{color:var(--text);background:#172b40;border-color:#43556a}.auth-secondary:hover:enabled{background:#233b53;border-color:#8194a9}.auth-text-button{min-height:2.75rem;color:var(--gold);font:inherit;text-align:center;background:0 0;border:0;justify-content:center;align-items:center;margin:1rem auto 0;padding:.5rem;font-size:.875rem;display:flex}.auth-text-button:hover:enabled{text-decoration:underline}.auth-footer{color:var(--muted);text-align:center;justify-content:center;align-items:center;gap:.5rem;margin-top:1.5rem;font-size:.75rem;display:flex}.auth-footer svg{flex-shrink:0}.auth-loading{color:var(--muted);align-items:center;gap:.7rem;margin:2rem 0;display:flex}.auth-spinner{animation:1s linear infinite auth-spin}.auth-error,.auth-notice{color:var(--red);overflow-wrap:anywhere;background:#ffb4ab0a;border:1px solid #a56259;border-radius:.55rem;margin:1rem 0;padding:.8rem 1rem;font-size:.875rem}.auth-notice{color:var(--green);background:#58e7aa08;border-color:#3e7966}.auth-error[hidden],.auth-notice[hidden]{display:none}.auth-account{color:var(--text);overflow-wrap:anywhere;border:1px solid var(--border);background:#0b1c2c;border-radius:.55rem;margin-bottom:1.25rem;padding:.7rem .85rem;font-size:.875rem}.auth-setup{flex-direction:column;gap:1rem;margin:1.5rem 0;display:flex}.auth-qr{background:#fff;border-radius:.5rem;align-self:center;max-width:100%;height:auto;display:block}.auth-secret{flex-direction:column;gap:.65rem;min-width:0;display:flex}.auth-secret>span{color:var(--muted);font-size:.875rem}.auth-secret code{overflow-wrap:anywhere;-webkit-user-select:all;user-select:all;border:1px solid var(--border);letter-spacing:.1em;background:#081827;border-radius:.5rem;padding:.8rem;font-size:1rem}.auth-field .auth-code{letter-spacing:.3em;text-align:center;font-family:Space Grotesk,monospace;font-size:1.65rem}.auth-recovery-codes{grid-template-columns:minmax(0,1fr);gap:.6rem;margin:1.25rem 0;padding:0;list-style:none;display:grid}.auth-recovery-codes li{border:1px solid var(--border);-webkit-user-select:all;user-select:all;background:#081827;border-radius:.45rem;min-width:0;padding:.7rem .6rem}.auth-recovery-codes code{overflow-wrap:anywhere;font-size:.875rem;display:block}.auth-recovery>.auth-secondary{width:100%}.auth-check{cursor:pointer;align-items:center;gap:.8rem;min-height:2.75rem;margin:1.25rem 0;padding:.6rem 0;font-size:.875rem;display:flex}.auth-check input{width:1.25rem;height:1.25rem;accent-color:var(--gold);flex-shrink:0}.auth-back{min-height:2.75rem;color:var(--muted);align-items:center;gap:.5rem;margin-top:1rem;font-size:.875rem;display:inline-flex}.auth-back:hover{color:var(--gold)}.auth-admin>.auth-back{margin:0 0 1.25rem}.auth-admin-section{border-top:1px solid var(--border);margin-top:1.4rem;padding-top:1.4rem}.auth-admin-section h2,.auth-reset h2{margin-bottom:.5rem;font-size:1.1rem}.auth-admin-section>p,.auth-reset>p{color:var(--muted);font-size:.875rem}.auth-count{border:1px solid var(--border);min-width:1.65rem;min-height:1.65rem;color:var(--muted);border-radius:.45rem;justify-content:center;align-items:center;margin-left:.35rem;font-size:.8rem;display:inline-flex}.auth-records{margin:1rem 0 0;padding:0;list-style:none}.auth-records>li{border-top:1px solid var(--border);flex-direction:column;gap:1rem;padding:1.2rem 0;display:flex}.auth-records>li:first-child{border:0}.auth-record-info{min-width:0}.auth-record-info>strong,.auth-record-info>span,.auth-record-info>small{overflow-wrap:anywhere;display:block}.auth-record-info>strong{font-size:.95rem}.auth-record-info>span,.auth-record-info>small{color:var(--muted);margin-top:.25rem;font-size:.875rem}.auth-badges{flex-wrap:wrap;gap:.4rem;margin-top:.65rem;display:flex}.auth-badges>span{border:1px solid var(--border);color:var(--muted);border-radius:.4rem;padding:.2rem .5rem;font-size:.75rem}.auth-actions{flex-wrap:wrap;align-items:center;gap:.65rem;display:flex}.auth-actions>.auth-primary{width:auto;margin:0}.auth-generated-link,.auth-reset{background:#f2ca5007;border:1px solid #776a3e;border-radius:.7rem;min-width:0;margin:1.5rem 0;padding:1rem}.auth-generated-link .auth-field{margin-top:0}.auth-generated-link>.auth-text-button{margin:0 .5rem;display:inline-flex}.auth-sr{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.auth-reset>p{overflow-wrap:anywhere}.auth-promotion-actions{margin-top:1rem}.auth-promotion-actions>.auth-button{flex:1}.auth-promotion-actions>.auth-primary{white-space:normal}@keyframes auth-spin{to{transform:rotate(360deg)}}@media (min-width:640px){.auth-page{padding:3rem 1.5rem}.auth-card{padding:2rem}.auth-page-admin .auth-container{max-width:68rem}.auth-invite-form fieldset{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);column-gap:1rem;display:grid}.auth-invite-form .auth-primary{grid-column:1/-1;justify-self:start;width:auto}.auth-records>li{flex-direction:row;justify-content:space-between;align-items:center}.auth-records .auth-actions{flex-shrink:0;justify-content:flex-end}.auth-record-info{flex:1}.auth-records .auth-actions{max-width:50%}}@media (min-width:1024px){.auth-page{padding-top:4rem}.auth-page-admin .auth-card{padding:2.5rem}.auth-invite-form fieldset{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr) auto;align-items:center}.auth-invite-form .auth-primary{grid-column:auto;margin-top:.6rem}.auth-brand{margin-bottom:2.5rem}}@media (prefers-reduced-motion:reduce){.auth-spinner{animation:none}.auth-page *{scroll-behavior:auto!important;transition:none!important}}
