:root[data-theme=light]{--auth-bg:#fff;--auth-surface:#fafafa;--auth-card-bg:#fff;--auth-text:#3c4043;--auth-text-secondary:#5f6368;--auth-text-muted:#80868b;--auth-border:#dadce0;--auth-input-bg:#fff;--auth-checkbox-bg:#fff;--auth-primary:#1a73e8;--auth-primary-hover:#1557b0;--auth-error:#d93025;--auth-shadow:#3c40434d}:root[data-theme=dark]{--auth-bg:#18181b;--auth-surface:#27272a;--auth-card-bg:#18181b;--auth-text:#e4e4e7;--auth-text-secondary:#a1a1aa;--auth-text-muted:#71717a;--auth-border:#3f3f46;--auth-input-bg:#27272a;--auth-checkbox-bg:#27272a;--auth-primary:#1a73e8;--auth-primary-hover:#2b7de9;--auth-error:#f28b82;--auth-shadow:#0000004d}*{box-sizing:border-box;margin:0;padding:0}body{background:var(--auth-bg);color:var(--auth-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;min-height:100vh;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}input,textarea,select{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark}@media (prefers-color-scheme:dark){input,textarea,select{--lightningcss-light: ;--lightningcss-dark:initial}}:root[data-theme=dark],:root[data-theme=dark] input,:root[data-theme=dark] textarea,:root[data-theme=dark] select{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.auth-logo{z-index:100;width:auto;height:clamp(2rem,4vw,2.5rem);position:fixed;top:clamp(1rem,3vw,1.5rem);left:clamp(1rem,3vw,1.75rem)}.auth-tabs{background:var(--auth-surface);z-index:100;box-shadow:0 1px 3px var(--auth-shadow);border-radius:10px;gap:4px;padding:4px;display:flex;position:fixed;top:clamp(1rem,3vw,1.5rem);left:50%;transform:translate(-50%)}.auth-tab{color:var(--auth-text-muted);cursor:pointer;background:0 0;border:none;border-radius:8px;padding:clamp(.4rem,2vw,.5rem) clamp(.75rem,3vw,1.25rem);font-family:inherit;font-size:clamp(.75rem,2vw,.8125rem);font-weight:500;transition:all .2s;position:relative}.auth-tab:hover{color:var(--auth-text)}.auth-tab.active{background:var(--auth-bg);color:var(--auth-text);box-shadow:0 1px 3px #00000026, 0 0 0 1px var(--auth-border);font-weight:600}.auth-container{width:100%;min-height:100vh;padding-top:clamp(3.5rem,8vh,4rem);display:flex}.auth-split{grid-template-columns:1fr 1fr;align-items:center;gap:clamp(1.5rem,3vw,2.5rem);width:100%;max-width:1400px;min-height:calc(100vh - clamp(3.5rem,8vh,4rem));margin:0 auto;padding:0 clamp(1.5rem,4vw,3rem);display:grid}@media (max-width:900px){.auth-split{grid-template-columns:1fr;justify-items:center}.auth-art{display:none!important}}.auth-art{justify-content:center;align-items:center;padding:clamp(1rem,3vw,2rem);display:flex;position:relative;overflow:hidden}.auth-art img,.auth-illustration-image{object-fit:cover;border-radius:16px;width:100%;max-width:510px;height:auto}.auth-art svg{width:100%;max-width:min(510px,90%);height:auto}.auth-form{flex-direction:column;justify-content:center;gap:clamp(1.25rem,2.5vw,1.5rem);width:100%;max-width:28rem;padding:clamp(1rem,3vw,2rem);display:flex;position:relative}.auth-centered{width:min(26rem,90vw);margin:auto;padding:clamp(5rem,12vh,6.25rem) clamp(1rem,3vw,1.5rem) clamp(2rem,6vh,3.75rem)}.auth-title{color:var(--auth-text);letter-spacing:-.02em;margin-bottom:.5rem;font-size:clamp(1.5rem,4vw,1.625rem);font-weight:400;line-height:1.2}.auth-subtitle{color:var(--auth-text-secondary);margin-bottom:clamp(1rem,2.5vw,1.5rem);font-size:clamp(.8125rem,2vw,.875rem);line-height:1.55}.auth-social-row{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:clamp(.5rem,2vw,.625rem);margin-bottom:clamp(.75rem,2vw,1rem);display:grid}.auth-social-btn{background:var(--auth-input-bg);border:1px solid var(--auth-border);color:var(--auth-text);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;gap:clamp(.4rem,2vw,.5rem);padding:clamp(.5rem,2vw,.5625rem) 0;font-family:inherit;font-size:clamp(.75rem,2vw,.8125rem);font-weight:500;transition:all .15s;display:flex}.auth-social-btn:hover{background:var(--auth-surface);border-color:var(--auth-text-muted)}.auth-social-btn svg,.auth-social-icon{flex-shrink:0}.auth-social-icon{display:block}.auth-divider{background:var(--auth-border);height:1px;margin-bottom:clamp(.75rem,2vw,1rem);position:relative}.auth-divider-text{background:var(--auth-bg);color:var(--auth-text-muted);padding:0 clamp(.5rem,2vw,.75rem);font-size:clamp(.6875rem,1.5vw,.75rem);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.auth-label{color:var(--auth-text-muted);text-transform:uppercase;letter-spacing:.05em;margin-bottom:.5rem;font-size:clamp(.625rem,1.5vw,.6875rem);font-weight:600;display:block}.auth-input{border:1px solid var(--auth-border);border-radius:8px;outline:none;width:100%;padding:clamp(.625rem,2vw,.6875rem) clamp(.75rem,2vw,.875rem);font-family:inherit;font-size:clamp(.8125rem,2vw,.875rem);transition:border-color .2s,box-shadow .2s;background:var(--auth-input-bg)!important;color:var(--auth-text)!important}.auth-input:-webkit-autofill{transition:background-color 5000s ease-in-out;-webkit-box-shadow:0 0 0 1000px var(--auth-input-bg) inset!important;-webkit-text-fill-color:var(--auth-text)!important;box-shadow:0 0 0 1000px var(--auth-input-bg) inset!important;border:1px solid var(--auth-border)!important;caret-color:var(--auth-text)!important;background-color:var(--auth-input-bg)!important;background-clip:content-box!important}.auth-input:-webkit-autofill:hover{transition:background-color 5000s ease-in-out;-webkit-box-shadow:0 0 0 1000px var(--auth-input-bg) inset!important;-webkit-text-fill-color:var(--auth-text)!important;box-shadow:0 0 0 1000px var(--auth-input-bg) inset!important;border:1px solid var(--auth-border)!important;caret-color:var(--auth-text)!important;background-color:var(--auth-input-bg)!important;background-clip:content-box!important}.auth-input:-webkit-autofill:focus{transition:background-color 5000s ease-in-out;-webkit-box-shadow:0 0 0 1000px var(--auth-input-bg) inset!important;-webkit-text-fill-color:var(--auth-text)!important;box-shadow:0 0 0 1000px var(--auth-input-bg) inset!important;border:1px solid var(--auth-border)!important;caret-color:var(--auth-text)!important;background-color:var(--auth-input-bg)!important;background-clip:content-box!important}.auth-input:-webkit-autofill:active{transition:background-color 5000s ease-in-out;-webkit-box-shadow:0 0 0 1000px var(--auth-input-bg) inset!important;-webkit-text-fill-color:var(--auth-text)!important;box-shadow:0 0 0 1000px var(--auth-input-bg) inset!important;border:1px solid var(--auth-border)!important;caret-color:var(--auth-text)!important;background-color:var(--auth-input-bg)!important;background-clip:content-box!important}.auth-input::placeholder{color:var(--auth-text-muted)!important}.auth-input:focus{border-color:var(--auth-primary);box-shadow:0 0 0 3px #1a73e814;background:var(--auth-input-bg)!important}.auth-input:focus:-webkit-autofill{-webkit-box-shadow:0 0 0 3px #1a73e814, 0 0 0 1000px var(--auth-input-bg) inset!important;box-shadow:0 0 0 3px #1a73e814, 0 0 0 1000px var(--auth-input-bg) inset!important}.auth-input-wrap input{background:var(--auth-input-bg)!important;color:var(--auth-text)!important}.auth-input-wrap input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px var(--auth-input-bg) inset!important;-webkit-text-fill-color:var(--auth-text)!important}.auth-input-wrap{margin-bottom:1.25rem;position:relative}.auth-password-wrap{position:relative}.auth-input-wrap .auth-input{padding-right:clamp(2rem,8vw,2.5rem)}.auth-eye-btn{color:var(--auth-text-muted);cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;padding:.25rem;font-size:clamp(.6875rem,1.5vw,.75rem);display:flex;position:absolute;top:50%;right:clamp(.5rem,2vw,.625rem);transform:translateY(-50%)}.auth-eye-btn:hover{color:var(--auth-text-secondary)}.auth-hint{color:var(--auth-text-muted);margin:.25rem 0 clamp(1rem,3vw,1.25rem);font-size:clamp(.6875rem,1.5vw,.75rem)}.auth-check{cursor:pointer;align-items:flex-start;gap:clamp(.5rem,2vw,.625rem);margin-bottom:clamp(.75rem,2vw,1rem);display:flex}.auth-check input{width:1rem;height:1rem;accent-color:var(--auth-primary);cursor:pointer;appearance:none;border:1.5px solid var(--auth-border);border-radius:3px;flex-shrink:0;margin-top:.125rem;transition:all .15s;position:relative;background-color:var(--auth-checkbox-bg)!important}.auth-check input:checked{border-color:var(--auth-primary);background-color:var(--auth-primary)!important}.auth-check input:checked:after{content:"✓";color:#fff;font-size:.75rem;font-weight:700;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.auth-check span{color:var(--auth-text-secondary);font-size:clamp(.8125rem,2vw,.875rem);line-height:1.45}.auth-check a,.auth-link{color:var(--auth-primary);font-weight:600;text-decoration:none}.auth-check a:hover,.auth-link:hover{text-decoration:underline}@media (max-width:640px){.auth-logo{height:2.75rem;left:50%;transform:translate(-50%)}.auth-tabs{display:none}.auth-container{min-height:auto;padding-top:7rem}.auth-split{min-height:auto;padding:0 1rem 2rem}.auth-centered{width:100%;margin:0 auto;padding:0 2rem 2rem}.auth-centered .auth-check span{white-space:nowrap;font-size:.625rem;line-height:1.4}}.auth-btn-primary{background:var(--auth-primary);color:#fff;text-transform:uppercase;letter-spacing:.05em;cursor:pointer;border:none;border-radius:8px;width:100%;margin-bottom:clamp(1rem,3vw,1.25rem);padding:clamp(.625rem,2vw,.75rem);font-family:inherit;font-size:clamp(.6875rem,1.5vw,.75rem);font-weight:600;transition:all .2s}.auth-btn-primary:hover{background:var(--auth-primary-hover)}.auth-btn-primary:disabled{opacity:.5;cursor:not-allowed}.auth-btn-secondary{background:var(--auth-input-bg);border:1px solid var(--auth-border);width:100%;color:var(--auth-text-secondary);text-transform:uppercase;letter-spacing:.05em;cursor:pointer;border-radius:8px;padding:clamp(.625rem,2vw,.75rem);font-family:inherit;font-size:clamp(.6875rem,1.5vw,.75rem);font-weight:600;transition:all .2s}.auth-btn-secondary:hover{background:var(--auth-surface);color:var(--auth-text)}.auth-text-center{text-align:center;color:var(--auth-text-secondary);margin-bottom:clamp(.5rem,2vw,.75rem);font-size:clamp(.8125rem,2vw,.875rem)}.auth-text-right{text-align:right;margin-bottom:clamp(1rem,3vw,1.25rem)}.auth-footer-links{text-align:center;color:var(--auth-text-secondary);width:100%;margin-top:clamp(1rem,3vw,1.5rem);font-size:clamp(.8125rem,2vw,.875rem)}.auth-footer-links a{color:var(--auth-primary);font-weight:500;text-decoration:none}.auth-footer-links a:hover{text-decoration:underline}.auth-footer-and{color:var(--auth-text-muted);margin:0 .25rem}.auth-forgot-icon{background:var(--auth-surface);border:1px solid var(--auth-border);width:clamp(2.5rem,8vw,3rem);height:clamp(2.5rem,8vw,3rem);color:var(--auth-text-muted);border-radius:12px;justify-content:center;align-items:center;margin-bottom:clamp(1rem,3vw,1.25rem);display:flex}.auth-back-btn{color:var(--auth-text);cursor:pointer;background:0 0;border:none;align-items:center;gap:.5rem;width:fit-content;margin-bottom:1rem;padding:0;font-family:inherit;font-size:.875rem;font-weight:500;transition:all .2s;display:flex;position:static}.auth-back-btn:hover{color:var(--auth-primary)}.auth-back-btn:before{content:"←";font-size:1.25rem}.auth-form{position:relative}.auth-alert{border-radius:8px;align-items:center;gap:clamp(.5rem,2vw,.625rem);margin-bottom:clamp(1rem,3vw,1.5rem);padding:clamp(.75rem,2vw,.875rem);font-size:clamp(.8125rem,2vw,.875rem);display:flex}.auth-alert-success{color:var(--auth-primary);background:#1a73e81a;border:1px solid #1a73e833}.auth-alert-error{color:var(--auth-error);background:#d930251a;border:1px solid #d9302533}.cs-spinner-wrap{background:var(--auth-bg);justify-content:center;align-items:center;min-height:100vh;display:flex}@keyframes cs-spin{to{transform:rotate(360deg)}}.cs-spinner{border:3px solid #1a73e840;border-top-color:var(--auth-primary);border-radius:50%;width:32px;height:32px;animation:.75s linear infinite cs-spin}.cs-app-logo{object-fit:cover;border:1px solid var(--auth-border);border-radius:12px;width:clamp(3rem,10vw,3.5rem);height:clamp(3rem,10vw,3.5rem);margin-bottom:clamp(.75rem,2vw,1rem);display:block}.cs-app-initial{background:linear-gradient(135deg, var(--auth-primary), #2b7de9);color:#fff;border-radius:14px;justify-content:center;align-items:center;width:clamp(3rem,10vw,3.5rem);height:clamp(3rem,10vw,3.5rem);margin-bottom:clamp(.75rem,2vw,1rem);font-size:clamp(1.25rem,4vw,1.5rem);font-weight:700;display:flex}.cs-app-name{letter-spacing:-.01em;color:var(--auth-text);margin-bottom:clamp(.5rem,2vw,.75rem);font-size:clamp(1.25rem,4vw,1.375rem);font-weight:600;line-height:1.3}.cs-chip{border:1px solid var(--auth-border);background:var(--auth-surface);border-radius:9999px;align-items:center;gap:clamp(.4rem,2vw,.5rem);margin-bottom:clamp(1.25rem,3vw,1.75rem);padding:.3125rem clamp(.75rem,3vw,.875rem) .3125rem .375rem;display:inline-flex}.cs-chip-avatar{background:linear-gradient(135deg, var(--auth-primary), #2b7de9);color:#fff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:clamp(1.375rem,4vw,1.625rem);height:clamp(1.375rem,4vw,1.625rem);font-size:clamp(.625rem,1.5vw,.6875rem);font-weight:700;display:flex}.cs-chip-text{color:var(--auth-text);font-size:clamp(.8125rem,2vw,.875rem)}.cs-access-line{color:var(--auth-text);margin-bottom:clamp(.75rem,2vw,1rem);font-size:clamp(.875rem,2vw,.9375rem)}.cs-scopes{flex-direction:column;gap:.125rem;width:100%;margin-bottom:clamp(1rem,3vw,1.25rem);list-style:none;display:flex}.cs-scope-item{border-radius:10px;align-items:flex-start;gap:clamp(.5rem,2vw,.625rem);padding:clamp(.5rem,2vw,.625rem) clamp(.625rem,2vw,.75rem);font-size:clamp(.8125rem,2vw,.875rem);transition:background .15s;display:flex}.cs-scope-item:hover{background:var(--auth-surface)}.cs-scope-icon{color:var(--auth-primary);flex-shrink:0;margin-top:.0625rem}.cs-scope-label{color:var(--auth-text);margin-bottom:.125rem;font-weight:500}.cs-scope-desc{color:var(--auth-text-muted);font-size:clamp(.75rem,1.5vw,.8125rem)}.cs-hint{color:var(--auth-text-muted);margin-bottom:clamp(.5rem,2vw,.5rem);font-size:clamp(.6875rem,1.5vw,.75rem);line-height:1.6}.cs-link{color:var(--auth-primary);font-weight:500;text-decoration:none}.cs-link:hover{text-decoration:underline}.cs-actions{justify-content:flex-end;align-items:center;gap:clamp(.5rem,2vw,.5rem);width:100%;margin-top:clamp(1rem,3vw,1.25rem);display:flex}.cs-btn-ghost{color:var(--auth-text-muted);cursor:pointer;background:0 0;border:1.5px solid #0000;border-radius:12px;padding:clamp(.5rem,2vw,.625rem) clamp(1rem,3vw,1.25rem);font-family:inherit;font-size:clamp(.8125rem,2vw,.875rem);font-weight:600;transition:background .15s,border-color .15s}.cs-btn-ghost:hover:not(:disabled){background:var(--auth-surface);border-color:var(--auth-border)}.cs-btn-primary{background:var(--auth-primary);color:#fff;cursor:pointer;border:none;border-radius:12px;padding:clamp(.5rem,2vw,.625rem) clamp(1.25rem,3vw,1.5rem);font-family:inherit;font-size:clamp(.8125rem,2vw,.875rem);font-weight:600;transition:background .15s,transform .15s,box-shadow .15s;box-shadow:0 8px 20px -8px #1a73e866}.cs-btn-primary:hover:not(:disabled){background:var(--auth-primary-hover);transform:translateY(-1px)}.cs-btn-primary:disabled,.cs-btn-ghost:disabled{opacity:.5;cursor:not-allowed;box-shadow:none;transform:none}
