.auth-page{min-height:100vh;display:grid;grid-template-columns:44% 1fr;background:var(--bg)}.auth-brand{background:var(--primary);background-image:linear-gradient(150deg,var(--primary),var(--primary-hover));padding:40px 48px;display:flex;flex-direction:column;gap:40px}.auth-brand,.auth-brand .auth-logo b{color:var(--card)}.auth-brand .auth-logo-mark{background:color-mix(in srgb,var(--card) 18%,transparent);color:var(--card)}.auth-brand-body{margin:auto 0;max-width:460px}.auth-brand-body h2{font-size:28px;font-weight:700;line-height:1.3;margin:0 0 28px}.auth-brand-body ul{list-style:none;margin:0;padding:0;display:grid;gap:20px}.auth-brand-body li{display:flex;gap:14px;align-items:flex-start}.auth-brand-body li b{display:block;font-size:16px}.auth-brand-body li small{display:block;font-size:14px;opacity:.88;margin-top:2px;line-height:1.45}.auth-brand-icon{width:42px;height:42px;border-radius:10px;display:grid;place-items:center;flex:none;background:color-mix(in srgb,var(--card) 16%,transparent)}.auth-brand-foot{opacity:.8;font-size:13px}.auth-logo{display:flex;align-items:center;gap:10px}.auth-logo b{font-size:22px;color:var(--ink)}.auth-logo-mark{width:40px;height:40px;border-radius:10px;display:grid;place-items:center;background:var(--primary);color:var(--card);flex:none}.auth-logo-compact{display:none;justify-content:center;margin-bottom:18px}.auth-main{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px 20px}.auth-card{width:100%;max-width:440px;background:var(--card);border:1px solid var(--border);border-radius:var(--radius);box-shadow:0 10px 32px color-mix(in srgb,var(--ink) 6%,transparent);padding:32px}.auth-card h1{font-size:24px;font-weight:700;margin:0 0 6px;color:var(--ink)}.auth-card .auth-sub{color:var(--muted);margin:0 0 22px}.auth-form{display:grid;gap:16px}.auth-form .form-control{min-height:42px}.auth-field .form-label{font-weight:600;margin-bottom:6px;color:var(--ink)}.auth-required{color:var(--danger)}.auth-field-head{display:flex;justify-content:space-between;align-items:baseline;gap:8px}.auth-field-head a{font-size:14px}.auth-card a{color:var(--primary);font-weight:600;text-decoration:none}.auth-card a:hover{color:var(--primary-hover);text-decoration:underline}.auth-password{position:relative}.auth-password .form-control{padding-right:44px}.auth-password .form-control.is-invalid{background-image:none}.auth-password-toggle{position:absolute;top:0;right:0;height:100%;width:42px;border:0;background:rgba(0,0,0,0);color:var(--muted);display:grid;place-items:center;border-radius:0 8px 8px 0;cursor:pointer}.auth-password-toggle:hover{color:var(--ink)}.auth-password-toggle:focus-visible{outline:2px solid var(--primary);outline-offset:-2px}.auth-check{display:flex;align-items:flex-start;gap:8px}.auth-check .form-check-input{margin-top:2px;flex:none}.auth-check .form-check-input:checked{background-color:var(--primary);border-color:var(--primary)}.auth-row{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.auth-submit{width:100%;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px}.auth-foot{text-align:center;color:var(--muted);margin:20px 0 0}.auth-alert{display:flex;gap:10px;align-items:flex-start;border-radius:8px;padding:10px 12px;font-size:14px;border:1px solid}.auth-alert svg{flex:none;margin-top:1px}.auth-alert.error{background:var(--primary-light);border-color:color-mix(in srgb,var(--danger) 30%,transparent);color:var(--danger)}.auth-alert.success{background:color-mix(in srgb,var(--success) 8%,var(--card));border-color:color-mix(in srgb,var(--success) 30%,transparent);color:var(--success)}.auth-alert.info{background:var(--bg);border-color:var(--border);color:var(--ink)}.auth-demo{border:1px dashed var(--border);background:var(--bg);border-radius:8px;padding:12px 14px;display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:14px}.auth-demo b{display:block;color:var(--ink)}.auth-demo span{color:var(--muted);word-break:break-all}.auth-demo .btn{flex:none}.auth-demo-link{display:block;margin-top:6px;word-break:break-all}.auth-strength{margin-top:8px}.auth-strength-bar{display:grid;grid-template-columns:repeat(4,1fr);gap:4px}.auth-strength-bar span{height:4px;border-radius:2px;background:var(--border)}.auth-strength-bar.level-0 span:nth-child(-n+1),.auth-strength-bar.level-1 span:nth-child(-n+1){background:var(--danger)}.auth-strength-bar.level-2 span:nth-child(-n+2){background:var(--warning)}.auth-strength-bar.level-3 span:nth-child(-n+3),.auth-strength-bar.level-4 span{background:var(--success)}.auth-strength-label{display:block;color:var(--muted);margin-top:4px}.auth-strength-rules{list-style:none;padding:0;margin:6px 0 0;display:flex;flex-wrap:wrap;gap:4px 14px;color:var(--muted);font-size:13px}.auth-strength-rules li{display:flex;align-items:center;gap:4px}.auth-strength-rules li.ok{color:var(--success)}.auth-state{text-align:center;display:grid;gap:12px;justify-items:center}.auth-state-icon{width:56px;height:56px;border-radius:50%;display:grid;place-items:center;background:var(--primary-light);color:var(--primary)}.auth-state.success .auth-state-icon{background:color-mix(in srgb,var(--success) 10%,var(--card));color:var(--success)}.auth-state p{color:var(--muted);margin:0}.auth-actions{display:grid;gap:10px;width:100%}.auth-loading{min-height:100vh;display:grid;place-content:center;justify-items:center;gap:20px;background:var(--bg)}.auth-spinner{color:var(--primary)!important}@media(max-width:900px){.auth-page{grid-template-columns:1fr}.auth-brand{display:none}.auth-logo-compact{display:flex}}@media(max-width:600px){.auth-main{padding:16px;justify-content:flex-start}.auth-card{padding:16px;border:0;box-shadow:none;background:rgba(0,0,0,0);max-width:none}.auth-form .btn,.auth-form .form-control{min-height:44px}.auth-demo{flex-direction:column;align-items:stretch}}