*,*:before,*:after{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background:#f0f2f5;color:#1a1a1a}.auth-page{min-height:100vh;min-height:100svh;position:relative;isolation:isolate;display:grid;place-items:center;overflow:hidden;padding:max(32px,env(safe-area-inset-top,0px)) max(32px,env(safe-area-inset-right,0px)) max(32px,env(safe-area-inset-bottom,0px)) max(32px,env(safe-area-inset-left,0px));background:radial-gradient(circle at 12% 16%,rgba(14,165,233,.18),transparent 28rem),radial-gradient(circle at 88% 84%,rgba(59,130,246,.13),transparent 30rem),#eef6fb}.auth-page:before,.auth-page:after{content:"";position:absolute;z-index:-1;border-radius:999px;border:1px solid rgba(0,103,184,.1)}.auth-page:before{width:22rem;height:22rem;top:-10rem;right:0}.auth-page:after{width:16rem;height:16rem;bottom:0;left:0}.auth-shell{width:min(100%,960px);display:grid;grid-template-columns:minmax(0,.92fr) minmax(400px,1.08fr);overflow:hidden;background:#fff;border:1px solid rgba(148,163,184,.2);border-radius:28px;box-shadow:0 24px 70px #0f456f29;animation:auth-shell-in .45s cubic-bezier(.22,1,.36,1)}@keyframes auth-shell-in{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.auth-brand{position:relative;display:flex;flex-direction:column;min-width:0;padding:48px 44px 42px;overflow:hidden;color:#fff;background:linear-gradient(160deg,rgba(255,255,255,.08),transparent 46%),linear-gradient(145deg,#0067b8,#075985)}.auth-brand:after{content:"";position:absolute;width:260px;height:260px;right:-120px;bottom:-120px;border:1px solid rgba(255,255,255,.18);border-radius:50%;box-shadow:0 0 0 38px #ffffff09,0 0 0 76px #ffffff06}.auth-logo{position:relative;z-index:1;display:flex;align-items:center;gap:12px}.auth-logo-mark{width:42px;height:42px;display:grid;place-items:center;flex:0 0 auto;border:1px solid rgba(255,255,255,.3);border-radius:13px;background:#ffffff21;box-shadow:inset 0 1px #ffffff2e}.auth-logo-mark svg{width:29px;height:29px;overflow:visible;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}.auth-logo-text{font-size:1.25rem;font-weight:750;letter-spacing:-.02em}.auth-brand-copy{position:relative;z-index:1;margin:auto 0;padding:52px 0}.auth-eyebrow{margin-bottom:13px;color:#bae6fd;font-size:.78rem;font-weight:700;letter-spacing:.14em}.auth-brand h1{max-width:12ch;font-size:clamp(2rem,3.7vw,2.85rem);line-height:1.17;letter-spacing:-.04em}.auth-brand-lead{max-width:30rem;margin-top:20px;color:#ffffffc2;font-size:.93rem;line-height:1.75}.auth-value-list{position:relative;z-index:1;display:grid;gap:11px;list-style:none;color:#ffffffd1;font-size:.82rem}.auth-value-list li{display:flex;align-items:center;gap:11px}.auth-value-list span{color:#7dd3fc;font-size:.68rem;font-weight:700;letter-spacing:.08em}.auth-panel{min-width:0;padding:42px 48px 40px;background:#fff}.auth-panel-header{margin-bottom:22px}.auth-panel-kicker{margin-bottom:6px;color:#0078d4;font-size:.78rem;font-weight:700;letter-spacing:.08em}.auth-panel-header h2{color:#0f172a;font-size:1.65rem;line-height:1.25;letter-spacing:-.025em}.auth-panel-header>p:last-child{margin-top:7px;color:#64748b;font-size:.86rem}.auth-tabs{display:flex;gap:5px;margin-bottom:18px;padding:4px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc}.auth-tab{flex:1;min-width:44px;min-height:44px;background:transparent;border:none;border-radius:8px;padding:8px 16px;color:#64748b;font-family:inherit;font-size:.9rem;font-weight:600;cursor:pointer;transition:color .16s ease,background .16s ease,box-shadow .16s ease}.auth-tab.active{color:#075985;background:#fff;box-shadow:0 1px 4px #0f172a17}.auth-tab:hover:not(.active){color:#334155;background:#f1f5f9}.auth-form{display:flex;flex-direction:column;gap:13px}.auth-field{display:flex;flex-direction:column;gap:5px}.auth-field label{font-size:.82rem;color:#555;font-weight:500}.auth-field input{border:1px solid #d1d5db;border-radius:8px;padding:9px 12px;font-size:.92rem;outline:none;transition:border-color .15s;color:#111}.auth-field input:focus{border-color:#0078d4;box-shadow:0 0 0 3px #0078d41f}.auth-page .auth-field{gap:6px}.auth-page .auth-field label{color:#334155;font-size:.8rem;font-weight:650}.auth-page .auth-field>input,.auth-page .auth-password input{width:100%;min-width:44px;min-height:44px;border-color:#cbd5e1;border-radius:10px;padding:10px 12px;color:#0f172a;background:#fff;font:inherit;font-size:.9rem;transition:border-color .16s ease,box-shadow .16s ease}.auth-page .auth-field input::placeholder{color:#94a3b8}.auth-page .auth-field input:focus-visible{border-color:#0078d4;box-shadow:0 0 0 3px #0078d424}.auth-page .auth-field input[aria-invalid=true]{border-color:#dc2626}.auth-password{position:relative}.auth-password input{padding-right:60px}.auth-password-toggle{position:absolute;top:50%;right:7px;min-width:44px;min-height:44px;transform:translateY(-50%);border:none;border-radius:7px;color:#475569;background:transparent;font-family:inherit;font-size:.75rem;font-weight:650;cursor:pointer;transition:color .16s ease,background .16s ease}.auth-password-toggle:hover{color:#075985;background:#f0f9ff}.auth-field-status{display:flex;align-items:center;gap:6px;min-height:15px;margin-top:-8px;color:#64748b;font-size:.72rem}.auth-field-status.is-valid{color:#15803d}.auth-field-status.is-invalid{color:#b91c1c}.auth-submit{min-width:44px;min-height:44px;margin-top:3px;border:none;border-radius:10px;color:#fff;background:linear-gradient(135deg,#0078d4,#0067b8);box-shadow:0 7px 18px #0067b833;font-family:inherit;font-size:.9rem;font-weight:700;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,filter .16s ease}.auth-submit:hover:not(:disabled){filter:brightness(.94);box-shadow:0 9px 22px #0067b842;transform:translateY(-1px)}.auth-submit:active:not(:disabled){transform:translateY(0)}.auth-submit:disabled{opacity:.62;cursor:wait}.auth-install-entry{margin-top:18px;padding-top:16px;border-top:1px solid #e2e8f0}.auth-install-button{width:100%;min-width:44px;min-height:44px;border:1px solid #bfdbfe;border-radius:10px;background:#eff6ff;color:#1d4ed8;font-family:inherit;font-size:.86rem;font-weight:700;cursor:pointer}.auth-install-button:hover:not(:disabled){background:#dbeafe}.auth-install-button:disabled{color:#64748b;background:#f8fafc;cursor:default}.auth-install-guide{margin-top:10px;padding:12px;border:1px solid #dbeafe;border-radius:10px;background:#f8fafc;color:#334155;font-size:.78rem;line-height:1.55}.auth-install-guide ol{margin:7px 0 8px 20px}.auth-error{background:#fef2f2;border:1px solid #fecaca;color:#dc2626;border-radius:8px;padding:8px 12px;font-size:.85rem;margin-bottom:4px}.auth-page .auth-error{display:flex;align-items:center;min-height:39px;margin-bottom:13px;padding:9px 12px;border-radius:9px;color:#b91c1c;font-size:.8rem;line-height:1.45}.auth-tab:focus-visible,.auth-password-toggle:focus-visible,.auth-submit:focus-visible{outline:3px solid rgba(0,120,212,.28);outline-offset:2px}@media (max-width: 720px){.auth-page{display:block;overflow:visible;padding:max(14px,env(safe-area-inset-top,0px)) max(14px,env(safe-area-inset-right,0px)) max(14px,env(safe-area-inset-bottom,0px)) max(14px,env(safe-area-inset-left,0px))}.auth-page:before,.auth-page:after{display:none}.auth-shell{width:100%;grid-template-columns:minmax(0,1fr);border-radius:20px;box-shadow:0 15px 45px #0f456f21}.auth-brand{min-height:auto;padding:20px 22px 19px}.auth-brand:after,.auth-value-list,.auth-eyebrow{display:none}.auth-logo-mark{width:36px;height:36px;border-radius:11px}.auth-logo-mark svg{width:25px;height:25px}.auth-logo-text{font-size:1.08rem}.auth-brand-copy{margin:15px 0 0;padding:0}.auth-brand h1{max-width:none;font-size:1.2rem;line-height:1.35;letter-spacing:-.02em}.auth-brand-lead{margin-top:5px;font-size:.78rem;line-height:1.55}.auth-panel{padding:24px 22px 26px}.auth-panel-header{margin-bottom:17px}.auth-panel-header h2{font-size:1.42rem}.auth-tabs{margin-bottom:16px}}@media (max-width: 380px){.auth-page{padding:max(8px,env(safe-area-inset-top,0px)) max(8px,env(safe-area-inset-right,0px)) max(8px,env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px))}.auth-brand{padding:16px 18px}.auth-brand-copy{margin-top:11px}.auth-brand-lead{display:none}.auth-panel{padding:21px 18px 23px}.auth-panel-header>p:last-child{margin-top:4px}}@media (prefers-reduced-motion: reduce){.auth-shell{animation:none}.auth-tab,.auth-page .auth-field input,.auth-password-toggle,.auth-submit{transition:none}.auth-submit:hover:not(:disabled){transform:none}}.app-splash{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:linear-gradient(135deg,#e0f0ff,#f0f4ff);animation:splash-in .5s ease both}@keyframes splash-in{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.app-splash-icon{font-size:3.6rem;animation:splash-float 2.2s ease-in-out infinite;filter:drop-shadow(0 4px 12px rgba(0,120,212,.18))}@keyframes splash-float{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}.app-splash-title{font-size:1.9rem;font-weight:700;color:#0078d4;letter-spacing:-.5px}.app-splash-dots{display:flex;gap:7px;margin-top:6px}.app-splash-dots span{width:8px;height:8px;border-radius:50%;background:#0078d4;animation:splash-bounce 1s ease-in-out infinite}.app-splash-dots span:nth-child(2){animation-delay:.15s}.app-splash-dots span:nth-child(3){animation-delay:.3s}@keyframes splash-bounce{0%,80%,to{transform:scale(.8);opacity:.4}40%{transform:scale(1.2);opacity:1}}.error-boundary-card{display:flex;flex-direction:column;align-items:center;gap:10px;padding:56px 24px;text-align:center}.error-boundary-icon{font-size:36px;line-height:1}.error-boundary-title{margin:0;color:#374151;font-size:16px;font-weight:600}.error-boundary-detail{max-width:320px;margin:0;color:#9ca3af;font-size:12px;word-break:break-word}.error-boundary-retry{margin-top:4px;padding:7px 18px;border:none;border-radius:6px;color:#fff;background:#0078d4;font-size:13px;cursor:pointer}.error-boundary-retry:hover{background:#005a9e}.deployment-recovery-notice{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:12px;padding:12px 16px;border:1px solid #f59e0b;border-radius:10px;color:#78350f;background:#fffbeb}.deployment-recovery-notice>div:first-child{display:grid;gap:3px}.deployment-recovery-actions{display:flex;gap:8px}.deployment-recovery-actions button{padding:7px 12px;border:0;border-radius:7px;color:#fff;background:#b45309;cursor:pointer}.deployment-recovery-actions button:disabled{color:#92400e;background:#fde68a;cursor:not-allowed}.deployment-recovery-actions .deployment-recovery-later{color:#78350f;background:transparent}
