.auth-reference{margin:0;background:#F4F6F8!important;color:#1E293B!important;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}
.auth-reference-layout{display:grid;grid-template-columns:minmax(380px,46%) 1fr;min-height:100dvh}
.auth-art{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:space-between;gap:32px;min-height:100dvh;padding:56px 48px 40px;background:#161422;color:#E2E8F0;overflow:hidden}
.auth-art-top,.auth-dispatch-board,.auth-art-bottom{position:relative;z-index:1}
.auth-wordmark{display:flex;align-items:center;gap:14px}
.auth-logo-symbol{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;border-radius:12px;color:#FFFFFF;background:#6D28D9;box-shadow:0 6px 16px rgba(15,23,42,0.28)}
.auth-logo-symbol svg{width:24px;height:24px}
.auth-wordmark h1{margin:0;color:#FFFFFF;font-size:clamp(1.75rem,2.5vw,2.25rem);font-weight:800;letter-spacing:-.035em;line-height:1.15;white-space:nowrap}
.auth-wordmark h1>span{color:#C4B5FD}
.auth-art-lead{margin:20px 0 0;max-width:42ch;color:#CBD5E1;font-size:1.05rem;line-height:1.55;text-wrap:pretty}
.auth-dispatch-board{display:grid;gap:12px;max-width:460px}
.auth-dispatch-row{display:flex;align-items:flex-start;gap:14px;padding:16px 18px;border-radius:14px;background:#1F1D2E;border:1px solid rgba(255,255,255,0.09);transition:border-color 180ms cubic-bezier(0.23,1,0.32,1),background-color 180ms cubic-bezier(0.23,1,0.32,1)}
.auth-dispatch-icon{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;border-radius:10px;background:#2C2840;color:#E9D5FF}
.auth-dispatch-icon svg{width:18px;height:18px}
.auth-dispatch-row strong{display:block;color:#F8FAFC;font-size:.9375rem;font-weight:650;line-height:1.35}
.auth-dispatch-row span{display:block;margin-top:3px;color:#B8C2D4;font-size:.8125rem;line-height:1.45}
.auth-art-caption{max-width:460px;padding-top:18px;border-top:1px solid rgba(255,255,255,0.12)}
.auth-art-caption p{color:#CBD5E1;font-size:.875rem;line-height:1.6;margin:0;text-wrap:pretty}
.auth-reference .auth-shell.auth-entry{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;width:100%;max-width:none;min-height:100dvh;padding:40px 32px;margin:0;background:transparent}
.auth-card{width:100%;max-width:430px;padding:36px;border-radius:20px;background:#FFFFFF;border:1px solid #DCE3EC;box-shadow:0 12px 32px rgba(15,23,42,0.06);color:#1E293B}
.auth-reference .auth-login-title{font-size:1.5rem;line-height:1.25;font-weight:750;letter-spacing:-.025em;color:#0F172A;margin:0 0 8px}
.auth-login-intro{font-size:.9375rem;color:#475569;margin:0 0 28px;line-height:1.5;text-wrap:pretty}
.auth-login-form{display:grid;gap:20px}
.auth-field>label{display:block;margin-bottom:8px;font-size:.875rem;font-weight:600;color:#334155}
.auth-input-wrap{position:relative}
.auth-input-wrap>svg{position:absolute;top:50%;left:14px;translate:0 -50%;width:18px;height:18px;color:#64748B;pointer-events:none;transition:color 180ms cubic-bezier(0.23,1,0.32,1)}
.auth-input-wrap:focus-within>svg{color:#6D28D9}
.auth-reference .auth-input-wrap>.form-control{width:100%;height:48px;min-height:48px;padding:12px 14px 12px 42px;background:#F8FAFC!important;color:#0F172A!important;border:1px solid #CBD5E1;border-radius:12px;font-size:.9375rem;transition:background-color 180ms cubic-bezier(0.23,1,0.32,1),border-color 180ms cubic-bezier(0.23,1,0.32,1),box-shadow 180ms cubic-bezier(0.23,1,0.32,1)}
.auth-reference .auth-input-wrap-password>.form-control{padding-right:48px}
.auth-reference .auth-input-wrap>.form-control::placeholder{color:#64748B;opacity:1}
.auth-reference .auth-input-wrap>.form-control:focus{background:#FFFFFF!important;border-color:#6D28D9;box-shadow:0 0 0 3px rgba(109,40,217,0.16);outline:none}
.auth-password-toggle{position:absolute;top:50%;right:4px;translate:0 -50%;display:grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;border:0;border-radius:10px;background:transparent;color:#475569;cursor:pointer;transition:color 160ms cubic-bezier(0.23,1,0.32,1),background-color 160ms cubic-bezier(0.23,1,0.32,1)}
.auth-password-toggle svg{width:18px;height:18px}
.auth-password-toggle[aria-pressed="true"]{color:#6D28D9;background:#F3E8FF}
.auth-reference .auth-submit,.auth-reference .btn-primary{width:100%;min-height:48px;border:0;border-radius:12px;padding:12px 20px;background:#6D28D9!important;color:#FFFFFF!important;font-size:.9375rem;font-weight:650;box-shadow:0 4px 12px rgba(109,40,217,0.22);transition:background-color 160ms cubic-bezier(0.23,1,0.32,1),transform 160ms cubic-bezier(0.23,1,0.32,1),box-shadow 160ms cubic-bezier(0.23,1,0.32,1)}
.auth-reference .auth-submit:disabled,.auth-reference .btn-primary:disabled{opacity:.72;cursor:wait}
.auth-reference .auth-recover{display:inline-flex;align-items:center;justify-content:center;justify-self:center;min-height:44px;padding:8px 14px;border-radius:10px;color:#6D28D9;font-size:.875rem;font-weight:600;text-decoration:none}
.auth-reference .auth-recover:hover{color:#5B21B6;text-decoration:underline;text-underline-offset:4px}
.auth-entry-footer{width:100%;max-width:430px;text-align:center;margin-top:28px;color:#475569;font-size:.875rem}
.auth-entry-footer>p{margin-bottom:8px}
.auth-entry-footer .install-options{color:#475569;font-size:.8125rem}
.auth-entry-footer summary{list-style:none;cursor:pointer;min-height:44px;padding:8px 12px;display:inline-flex;align-items:center;gap:8px;color:#475569;border-radius:10px}
.auth-entry-footer summary::-webkit-details-marker{display:none}
.auth-entry-footer summary::before{content:'›';font-size:17px;transition:rotate 180ms cubic-bezier(0.23,1,0.32,1)}
.auth-entry-footer details[open]>summary::before{rotate:90deg}
.auth-entry-footer details>p{font-size:.8125rem;margin-top:8px}
.auth-reference :focus-visible{outline:3px solid #6D28D9;outline-offset:3px}
.auth-art :focus-visible{outline-color:#C4B5FD}
.auth-mobile-brand{display:none}
@media(hover:hover) and (pointer:fine){
  .auth-dispatch-row:hover{border-color:rgba(196,181,253,0.32);background:#252238}
  .auth-password-toggle:hover{color:#0F172A;background:#E2E8F0}
  .auth-reference .auth-submit:not(:disabled):hover,.auth-reference .btn-primary:not(:disabled):hover{background:#5B21B6!important;box-shadow:0 8px 20px rgba(91,33,182,0.28)}
}
@media(max-width:1023px){
  .auth-reference-layout{grid-template-columns:1fr}
  .auth-art{display:none}
  .auth-reference .auth-shell.auth-entry{padding:32px 20px;min-height:100dvh}
  .auth-mobile-brand{display:flex;align-items:center;gap:12px;margin-bottom:28px}
  .auth-mobile-brand .auth-logo-symbol{width:40px;height:40px;flex-basis:40px;border-radius:10px}
  .auth-mobile-brand strong{font-size:1.4rem;color:#0F172A;letter-spacing:-.03em}
  .auth-mobile-brand strong>span{color:#6D28D9}
  .auth-card{padding:28px 24px}
  .auth-entry-footer{margin-top:24px}
}
@media(max-width:380px){
  .auth-reference .auth-shell.auth-entry{padding:24px 16px}
  .auth-card{padding:24px 18px}
  .auth-reference .auth-login-title{font-size:1.375rem}
}
