.auth-page{margin:0;min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;background:var(--crm-bg);color:var(--crm-text);font:14px/1.6 var(--crm-font-sans)}.auth-page *,.auth-page *:before,.auth-page *:after{box-sizing:border-box}.auth-page [hidden]{display:none!important}.auth-page .visually-hidden,.signup-shell .visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.auth-page :is(button,input){font:inherit}.auth-page :is(a,button,input):focus-visible{outline:2px solid var(--crm-focus-ring);outline-offset:3px}.auth-page a{color:var(--crm-accent);text-underline-offset:4px}.auth-skip-link{position:fixed;z-index:10000;left:16px;top:12px;padding:12px 16px;background:var(--crm-surface);border-radius:var(--crm-radius-control);transform:translateY(-160%)}.auth-skip-link:focus{transform:translateY(0)}.auth-header,.auth-footer{width:min(1200px,100%);margin-inline:auto;padding:28px 40px;display:flex;justify-content:space-between;align-items:center;gap:24px}.auth-brand{display:flex;align-items:center;gap:12px;min-width:0}.auth-brand-logo{display:block;width:190px;max-width:min(190px,50vw);height:46px;object-fit:contain;object-position:left center}.auth-brand-copy{display:flex;flex-direction:column}.auth-brand [hidden]{display:none!important}.auth-brand-copy strong{font-size:18px;line-height:1.4;overflow-wrap:anywhere}.auth-brand-copy>span{color:var(--crm-text-muted);font-size:12px}.auth-shell{width:min(1200px,100%);padding:36px 40px 48px;margin:auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,500px);align-items:center;gap:clamp(48px,8vw,100px)}.auth-story{min-width:0}.auth-ai-badge{display:inline-flex;align-items:center;gap:9px;width:fit-content;max-width:100%;margin:0 0 20px;padding:8px 13px;border:1px solid var(--crm-border);border-radius:999px;background:var(--crm-accent-soft);color:var(--crm-accent);font-size:11px;font-weight:700;letter-spacing:.12em;line-height:1.4;text-transform:uppercase}.auth-ai-badge>span{display:inline-block;min-width:180px;white-space:nowrap}.auth-ai-badge svg{display:block;width:15px;height:15px;flex:0 0 15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.auth-ai-badge .auth-ai-sparkle-small{width:12px;height:12px;flex-basis:12px;opacity:.75}.auth-story h2{font-size:clamp(32px,3.4vw,48px);line-height:1.13;letter-spacing:-.045em;font-weight:650;margin:0 0 16px}.auth-story h2 span{color:var(--crm-accent)}.auth-story-copy{color:var(--crm-text-muted);font-size:15px;max-width:400px;margin:0 0 32px}.auth-workflow{padding:20px;background:var(--crm-surface);border:1px solid var(--crm-border);border-radius:var(--crm-radius-panel)}.auth-workflow-head{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;margin-bottom:24px}.auth-workflow-label{font-size:12px;font-weight:600;color:var(--crm-text-secondary)}.auth-workflow-status{display:inline-flex;align-items:center;gap:6px;color:var(--crm-text-muted);font-size:11px}.auth-workflow-status>span{width:6px;height:6px;background:var(--crm-success);border-radius:50%}.auth-workflow ol{list-style:none;padding:0;margin:0;display:grid;gap:24px}.auth-workflow li{display:flex;align-items:flex-start;gap:12px;position:relative}.auth-step{flex:0 0 30px;width:30px;height:30px;display:grid;place-items:center;background:var(--crm-accent-soft);color:var(--crm-accent);border-radius:var(--crm-radius-control);font-size:12px;font-weight:600}.auth-workflow h3{font-size:13px;line-height:1.5;font-weight:600;margin:0 0 3px}.auth-workflow li p{font-size:12px;color:var(--crm-text-muted);margin:0}.auth-story-note{margin:16px 0 0;font-size:12px;color:var(--crm-text-muted)}.auth-module-grid{list-style:none;padding:0;margin:32px 0 0 -44px;width:calc(100% + 44px);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px 12px}.auth-module-grid li{display:grid;justify-items:center;align-content:start;gap:10px;min-width:0;text-align:center;color:var(--crm-text-secondary);font-size:15px;line-height:1.35;animation:auth-feature-label-highlight 9.6s ease-in-out infinite}.auth-module-grid li:nth-child(1){animation-delay:0s}.auth-module-grid li:nth-child(2){animation-delay:1.2s}.auth-module-grid li:nth-child(3){animation-delay:2.4s}.auth-module-grid li:nth-child(4){animation-delay:3.6s}.auth-module-grid li:nth-child(5){animation-delay:4.8s}.auth-module-grid li:nth-child(6){animation-delay:6s}.auth-module-grid li:nth-child(7){animation-delay:7.2s}.auth-module-grid li:nth-child(8){animation-delay:8.4s}.auth-module-icon{width:68px;height:68px;display:grid;place-items:center;border-radius:20px}.auth-module-grid li .auth-module-icon{animation:auth-feature-icon-highlight 9.6s ease-in-out infinite}.auth-module-grid li:nth-child(1) .auth-module-icon{animation-delay:0s}.auth-module-grid li:nth-child(2) .auth-module-icon{animation-delay:1.2s}.auth-module-grid li:nth-child(3) .auth-module-icon{animation-delay:2.4s}.auth-module-grid li:nth-child(4) .auth-module-icon{animation-delay:3.6s}.auth-module-grid li:nth-child(5) .auth-module-icon{animation-delay:4.8s}.auth-module-grid li:nth-child(6) .auth-module-icon{animation-delay:6s}.auth-module-grid li:nth-child(7) .auth-module-icon{animation-delay:7.2s}.auth-module-grid li:nth-child(8) .auth-module-icon{animation-delay:8.4s}@keyframes auth-feature-label-highlight{0%,9%,to{color:var(--crm-text-secondary)}2%,7%{color:var(--crm-accent)}}@keyframes auth-feature-icon-highlight{0%,9%,to{transform:scale(1);box-shadow:0 0 0 0 transparent}2%,7%{transform:scale(1.05);box-shadow:0 0 0 4px var(--crm-accent-soft)}}.auth-module-icon svg{width:32px;height:32px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.auth-module-icon--green{color:#15803d;background:#dcfce7}.auth-module-icon--blue{color:#1d4ed8;background:#dbeafe}.auth-module-icon--purple{color:#7e22ce;background:#f3e8ff}.auth-module-icon--orange{color:#c2410c;background:#ffedd5}.auth-module-icon--cyan{color:#0e7490;background:#cffafe}.auth-module-icon--violet{color:#6d28d9;background:#ede9fe}.auth-module-icon--pink{color:#be185d;background:#fce7f3}.auth-module-icon--indigo{color:#4338ca;background:#e0e7ff}.auth-trust-panel{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:calc(100% + 44px);margin:26px 0 0 -44px;overflow:hidden;border:1px solid var(--crm-border);border-radius:22px;background:var(--crm-surface)}.auth-trust-item{display:grid;justify-items:center;align-content:center;gap:5px;min-width:0;padding:18px 10px;text-align:center}.auth-trust-item+.auth-trust-item{border-left:1px solid var(--crm-border)}.auth-trust-item svg{display:block;width:26px;height:26px;margin-bottom:4px;fill:none;stroke:var(--crm-accent);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.auth-trust-item strong{color:var(--crm-text);font-size:14px;font-weight:650;line-height:1.35}.auth-trust-item span{color:var(--crm-text-muted);font-size:12px;line-height:1.4}.auth-login-panel{min-width:0}.login-card{padding:32px;background:var(--crm-surface);border:1px solid var(--crm-border);border-radius:var(--crm-radius-panel);box-shadow:var(--crm-shadow-md)}.auth-login-eyebrow{display:flex;align-items:center;gap:6px;color:var(--crm-text-muted);font-size:12px;font-weight:500;margin-bottom:16px}.login-card h1{font-size:28px;line-height:1.3;letter-spacing:-.03em;font-weight:600;margin:0 0 8px}.auth-login-copy{color:var(--crm-text-muted);margin:0 0 28px}.auth-page .field{margin-bottom:20px}.auth-page .field>label{display:block;margin-bottom:8px;font-size:13px;font-weight:500}.auth-page .field input{width:100%;min-height:48px;padding:12px;border:1px solid var(--crm-border-strong);border-radius:var(--crm-radius-control);background:var(--crm-surface);color:var(--crm-text);font-size:16px;line-height:1.4}.auth-page .field input::placeholder{color:var(--crm-text-muted);opacity:1;font-size:14px}.auth-page .field input:focus{border-color:var(--crm-focus-ring);box-shadow:var(--crm-focus-shadow)}.auth-page .field input[aria-invalid=true]{border-color:var(--crm-danger)}.auth-input-wrap{position:relative}.auth-input-icon{position:absolute;z-index:1;left:13px;top:50%;width:17px;height:17px;transform:translateY(-50%);fill:none;stroke:var(--crm-text-muted);stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.auth-page .auth-input-wrap input,.auth-page .password-field input{padding-left:40px}.password-field{position:relative}.auth-page .password-field input{padding-right:46px}.password-toggle{position:absolute;z-index:2;right:3px;top:3px;width:42px;height:42px;display:grid;place-items:center;background:transparent;border:0;border-radius:var(--crm-radius-control);color:var(--crm-text-muted);cursor:pointer}.password-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.password-toggle:hover{background:var(--crm-accent-soft)}.field-error{color:var(--crm-danger-text);font-size:12px;margin-top:8px}.auth-page .remember{display:flex;align-items:center;gap:10px;min-height:44px;margin:-4px 0 16px;cursor:pointer;color:var(--crm-text-secondary);font-size:13px}.auth-page .remember input{width:18px;height:18px;margin:0;accent-color:var(--crm-accent)}.auth-captcha{padding:16px;margin:4px 0 18px;border:1px solid #c4b5fd;border-radius:var(--crm-radius-card);background:#f5f3ff;color:#171923}.auth-captcha-heading{display:flex;align-items:center;gap:12px;margin-bottom:12px}.auth-captcha-shield{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;border:1px solid #ddd6fe;border-radius:10px;color:#6d47dd;background:#fff}.auth-captcha-heading>.auth-captcha-shield{display:grid;place-items:center;align-self:center;line-height:1}.auth-captcha-shield svg{display:block;width:20px;height:20px;margin:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.auth-captcha-heading strong,.auth-captcha-heading span{display:block}.auth-captcha-heading strong{font-size:13px}.auth-captcha-heading span{color:#5b6475;font-size:12px}.auth-captcha-equation{display:flex;align-items:center;gap:8px;padding-left:52px}.auth-captcha-equation>span{font-size:19px;font-weight:700;white-space:nowrap}.auth-captcha-equation b{color:#6d47dd}.auth-captcha-equation input{width:72px;height:44px;border:1px solid #cbd5e1;border-radius:10px;color:#171923;background:#fff;text-align:center;font-weight:600}.captcha-refresh{display:grid;place-items:center;width:42px;height:42px;border:1px solid #e2e8f0;border-radius:50%;color:#5b6475;background:#fff;cursor:pointer}.captcha-refresh svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.captcha-refresh:disabled{opacity:.65;cursor:wait}.auth-or{display:flex;align-items:center;gap:12px;margin:16px 0;color:var(--crm-text-muted);font-size:12px}.auth-or:before,.auth-or:after{content:"";height:1px;flex:1;background:var(--crm-border)}.demo-login-button{width:100%;min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--crm-accent);border-radius:var(--crm-radius-control);color:var(--crm-accent);background:var(--crm-surface);font-weight:600;cursor:pointer}.demo-login-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.demo-login-button:hover{background:var(--crm-accent-soft)}.auth-signup-link{margin:18px 0 0;text-align:center;color:var(--crm-text-secondary);font-size:12px}.auth-signup-link a{font-weight:600;text-decoration:none}.login-button{width:100%;min-height:48px;border:1px solid transparent;border-radius:var(--crm-radius-control);background:var(--crm-accent);color:var(--crm-on-accent);font-weight:600!important;cursor:pointer;transition:background .15s}.login-button:hover{background:var(--crm-accent-hover)}.login-button:disabled{cursor:wait;opacity:.75}.auth-access-note{text-align:center;font-size:11px;margin:16px 0 0;color:var(--crm-text-muted)}.auth-alert{padding:12px;border-radius:var(--crm-radius-control);margin-bottom:20px;font-size:13px;overflow-wrap:anywhere}.auth-alert strong,.auth-alert span{display:block}.auth-alert--danger{background:var(--crm-danger-soft);color:var(--crm-danger-text);border:1px solid var(--crm-danger)}.auth-alert--success{background:var(--crm-success-soft);color:var(--crm-success-text);border:1px solid var(--crm-success)}.auth-footer{padding-block:16px;color:var(--crm-text-muted);font-size:12px}.auth-footer nav{display:flex;gap:20px}.auth-footer a{display:inline-flex;align-items:center;min-height:44px;color:var(--crm-text-muted);text-decoration:none}.auth-footer a:hover{color:var(--crm-accent);text-decoration:underline}.auth-page .pwa-banner{background:var(--crm-surface);color:var(--crm-text);border-color:var(--crm-border);font-family:var(--crm-font-sans)}.auth-page .pwa-banner p{color:var(--crm-text-muted)}.auth-page .pwa-banner{border-radius:var(--crm-radius-panel);box-shadow:var(--crm-shadow-lg);-webkit-backdrop-filter:none;backdrop-filter:none}.auth-page .pwa-banner :is(.pwa-banner-status,.pwa-banner-badge){color:var(--crm-text-muted)}.auth-page .pwa-banner .pwa-banner-btn{min-height:44px;background:var(--crm-surface);color:var(--crm-text);border-color:var(--crm-border);border-radius:var(--crm-radius-control);box-shadow:none}.auth-page .pwa-banner .pwa-banner-btn--primary{background:var(--crm-accent);color:var(--crm-on-accent);border-color:var(--crm-accent)}.auth-page .pwa-banner-dot{background:var(--crm-success);box-shadow:none}.auth-page .pwa-banner[data-connection=offline] .pwa-banner-dot{background:var(--crm-warning);box-shadow:none}@media(max-width:900px){.auth-header,.auth-footer{padding-inline:24px}.auth-shell{max-width:620px;grid-template-columns:minmax(0,1fr);gap:36px;padding:24px 24px 40px}.auth-login-panel{grid-row:1}.auth-story h2{font-size:28px}.auth-story{padding-top:32px;border-top:1px solid var(--crm-border)}}@media(min-width:901px)and (max-width:1100px){.auth-trust-item{padding-inline:7px}.auth-trust-item strong{font-size:13px}}@media(max-width:480px){.auth-header{padding:20px;gap:12px}.auth-brand-copy strong{font-size:16px}.auth-brand-copy>span{font-size:11px}.auth-shell{padding:16px 20px 32px;gap:28px}.login-card{padding:24px}.auth-login-copy{margin-bottom:24px}.auth-footer{padding:8px 20px 16px;flex-wrap:wrap;justify-content:center;gap:0 24px}.auth-footer nav{gap:24px}.auth-trust-panel{width:100%;margin-left:0}.auth-brand-logo{width:170px;height:42px}.auth-module-grid{margin-left:0;width:100%;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px 8px}.auth-module-grid li{font-size:13px}.auth-module-icon{width:54px;height:54px;border-radius:16px}.auth-module-icon svg{width:27px;height:27px}.auth-ai-badge{gap:7px;padding:7px 10px;font-size:9px;letter-spacing:.09em}.auth-ai-badge>span{min-width:150px}.auth-captcha{padding:13px}.auth-captcha-equation{padding-left:0}}@media(max-width:480px){.auth-trust-panel{grid-template-columns:1fr}.auth-trust-item{padding:14px 12px}.auth-trust-item+.auth-trust-item{border-top:1px solid var(--crm-border);border-left:0}}@media(prefers-reduced-motion:reduce){.auth-page *,.auth-page *:before,.auth-page *:after{transition:none!important;animation:none!important}}
