.crm-auth{--auth-ink:#17243b;--auth-paper:#fff;--auth-quiet:#62728a;--auth-line:#e3e9f2;--auth-soft:#f5f7fc;--auth-blue:#245fe5;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--auth-ink);font-size:14px;color-scheme:light}
html[data-auth-theme="dark"] .crm-auth,.dark .crm-auth{--auth-ink:#e8edf7;--auth-paper:#172237;--auth-quiet:#a1b0c8;--auth-line:#33445d;--auth-soft:#1c2c43;--auth-blue:#8caeff;color-scheme:dark}
.crm-auth-page{margin:0;padding:32px 14px;min-height:100vh;min-height:100svh;display:grid;place-items:center;background:#eff3fa}
html[data-auth-theme="dark"] .crm-auth-page{background:#101a2a}
.crm-auth *{box-sizing:border-box}.crm-auth .auth-window{width:min(470px,100%);background:var(--auth-paper);border:1px solid var(--auth-line);border-radius:22px;overflow:hidden;box-shadow:0 18px 60px #203b6312}
.crm-auth .auth-brand{display:flex;gap:12px;align-items:center;padding:23px 28px;border-bottom:1px solid var(--auth-line)}
.crm-auth .auth-mark{display:grid;place-items:center;width:42px;height:42px;flex-shrink:0;background:#245fe5;color:#fff;border-radius:13px;font-size:19px;font-weight:700}.crm-auth .auth-name{font-size:13px;font-weight:700;letter-spacing:1.3px}.crm-auth .auth-sub{color:var(--auth-quiet);font-size:12px;margin-top:4px}
.crm-auth .auth-content{padding:28px}.crm-auth .auth-eyebrow{color:var(--auth-blue);font-size:11px;letter-spacing:1.8px;font-weight:700;text-transform:uppercase;margin-bottom:12px}
.crm-auth h1,.crm-auth h2{font-size:27px;letter-spacing:-.8px;font-weight:650;margin:0 0 9px;line-height:1.2;color:var(--auth-ink)}.crm-auth h3{font-size:17px;letter-spacing:-.2px;margin:0 0 8px;color:var(--auth-ink)}.crm-auth p{color:var(--auth-quiet);line-height:1.65;margin:0 0 20px}
.crm-auth .auth-steps{display:flex;gap:8px;margin:0 0 28px}.crm-auth .auth-step{height:4px;flex:1;border-radius:3px;background:var(--auth-line)}.crm-auth .auth-step.active{background:#245fe5}
.crm-auth label{display:block;font-size:13px;font-weight:600;margin:18px 0 8px;color:var(--auth-ink)}.crm-auth input{width:100%;min-width:0;padding:14px;font-size:16px;border:1px solid var(--auth-line);border-radius:11px;background:var(--auth-soft);color:var(--auth-ink);font-family:inherit}.crm-auth input:focus{outline:2px solid var(--auth-blue);outline-offset:2px}
.crm-auth .auth-password{position:relative}.crm-auth .auth-password input{padding-right:77px}.crm-auth .auth-show{position:absolute;right:8px;top:4px;min-height:44px;padding:7px 10px;color:var(--auth-quiet);background:transparent;border:0;font-size:12px;cursor:pointer}
.crm-auth .auth-button{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;padding:15px;margin-top:22px;border-radius:11px;border:0;background:#245fe5;color:#fff;font-size:14px;font-family:inherit;font-weight:600;min-height:48px;box-shadow:0 5px 14px #245fe522;cursor:pointer;text-decoration:none}.crm-auth .auth-secondary{background:var(--auth-paper);border:1px solid var(--auth-line);color:var(--auth-ink);box-shadow:none;margin-top:12px}.crm-auth .auth-button:disabled{opacity:.55;cursor:not-allowed}
.crm-auth a{color:var(--auth-blue)}.crm-auth .auth-link{display:inline-flex;align-items:center;min-height:44px;padding:9px 0;background:transparent;border:0;color:var(--auth-blue);font:inherit;font-size:12px;text-align:left;text-decoration:none;cursor:pointer}.crm-auth .auth-right{display:flex;justify-content:flex-end;margin-top:8px}
.crm-auth .auth-divider{display:flex;align-items:center;gap:12px;color:var(--auth-quiet);font-size:11px;margin:25px 0 0}.crm-auth .auth-divider:before,.crm-auth .auth-divider:after{content:"";height:1px;flex:1;background:var(--auth-line)}.crm-auth .auth-code{font-size:25px;letter-spacing:8px;text-align:center;font-family:ui-monospace,Consolas,monospace;padding:17px 10px}
.crm-auth .auth-note,.crm-auth .auth-flash{background:var(--auth-soft);padding:13px 15px;border-radius:11px;font-size:13px;line-height:1.6;color:var(--auth-quiet);margin:16px 0;overflow-wrap:anywhere}.crm-auth .auth-flash.error{color:#b53232;background:#fff1f0}.crm-auth .auth-flash.success{color:#18734e;background:#eefaf3}.crm-auth .auth-flash.warning{color:#86520c;background:#fff8e7}
.dark .crm-auth .auth-flash.error,html[data-auth-theme="dark"] .auth-flash.error{color:#ffa3a3;background:#3a252e}.dark .crm-auth .auth-flash.success,html[data-auth-theme="dark"] .auth-flash.success{color:#90ddb7;background:#19352c}
.crm-auth .auth-footer{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:17px 28px;background:var(--auth-soft);border-top:1px solid var(--auth-line);color:var(--auth-quiet);font-size:11px}.crm-auth .auth-small{font-size:12px;color:var(--auth-quiet);line-height:1.6;margin:10px 0 0}.crm-auth .auth-address{text-align:center;overflow-wrap:anywhere}
.crm-auth-settings{max-width:760px;margin:24px auto;background:var(--auth-paper);border:1px solid var(--auth-line);border-radius:20px;overflow:hidden}.crm-auth .auth-status{display:inline-flex;align-items:center;gap:8px;padding:7px 11px;background:var(--auth-soft);border-radius:8px;color:var(--auth-ink);font-size:12px;margin:4px 0 18px}.crm-auth .auth-status-dot{width:7px;height:7px;border-radius:50%;background:#18734e}
.crm-auth .auth-brand>div:last-child{min-width:0;overflow-wrap:anywhere}
@media(max-width:736px){body:has(.crm-auth-settings) .sidebar{display:none}body:has(.crm-auth-settings) .content{margin-left:0;padding:16px;min-width:0}.crm-auth-settings{width:100%}}
.crm-auth .auth-guide{list-style:none;counter-reset:auth-step;padding:0;margin:22px 0}.crm-auth .auth-guide li{counter-increment:auth-step;display:grid;grid-template-columns:30px minmax(0,1fr);gap:13px;padding:17px 0;border-bottom:1px solid var(--auth-line)}.crm-auth .auth-guide li:before{content:counter(auth-step);display:grid;place-items:center;width:30px;height:30px;border-radius:9px;color:var(--auth-blue);background:var(--auth-soft);font-weight:700}.crm-auth .auth-guide p{margin:4px 0 0;font-size:13px}.crm-auth .auth-qr{display:block;width:240px;max-width:100%;height:auto;margin:20px auto;padding:12px;background:#fff;border-radius:14px;border:1px solid var(--auth-line)}
.crm-auth .auth-key{display:block;font-family:ui-monospace,Consolas,monospace;overflow-wrap:anywhere;background:var(--auth-soft);color:var(--auth-ink);padding:14px;border-radius:10px;user-select:all;margin-top:10px}.crm-auth details{padding:16px 0;border-top:1px solid var(--auth-line)}.crm-auth summary{cursor:pointer;font-weight:600;color:var(--auth-ink)}.crm-auth details p{margin:12px 0 0;font-size:13px}.crm-auth .auth-log{margin:18px 0;padding:0;list-style:none}.crm-auth .auth-log li{padding:12px 0;border-bottom:1px solid var(--auth-line);font-size:13px;color:var(--auth-quiet);line-height:1.5;overflow-wrap:anywhere}
@media(max-width:380px){.crm-auth-page{padding:16px 8px}.crm-auth .auth-content{padding:23px 18px}.crm-auth .auth-brand{padding:20px 18px}.crm-auth .auth-footer{padding:15px 18px}.crm-auth h1,.crm-auth h2{font-size:24px}.crm-auth-settings{margin:12px 0}}

.crm-auth-page{background:radial-gradient(ellipse at 15% 25%,#17334d 0,transparent 55%),#080e19!important;overflow-x:hidden;padding:32px 24px}
.crm-auth-page .auth-window{background:#142035;border-color:#354762;box-shadow:0 25px 80px #0005;min-width:0}
.auth-entry-layout{width:min(470px,100%);margin:auto}.auth-entry-with-video{width:min(1320px,100%);display:grid;grid-template-columns:minmax(0,1.55fr) minmax(350px,470px);gap:28px;align-items:center}
.auth-film{min-width:0;border:1px solid #354762;border-radius:22px;overflow:hidden;background:#101b2d;box-shadow:0 25px 80px #0005;color:#e8edf7}
.auth-film-frame{position:relative;aspect-ratio:16/9;background:#05080e}.auth-film-frame iframe{display:block;position:absolute;inset:0;width:100%;height:100%;border:0}
.auth-film-caption{padding:22px 26px}.crm-auth .auth-film-caption h2{font-size:24px;margin:8px 0;color:#e8edf7}.crm-auth .auth-film-caption p{color:#a1b0c8;font-size:13px;margin:0;line-height:1.65}
.auth-film-tag{font-size:10px;letter-spacing:2px;font-weight:700;color:#8caeff}.auth-film-bottom{display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin-top:15px;font-size:11px;color:#a1b0c8}.crm-auth .auth-film-bottom a{color:#a9c1ff;text-decoration:none;min-height:32px;display:inline-flex;align-items:center}
@media(max-width:999px){.auth-entry-with-video{max-width:600px;grid-template-columns:minmax(0,1fr);gap:20px}.auth-entry-with-video .auth-window{width:100%}.crm-auth-page{padding:20px 14px}.auth-film-caption{padding:16px 20px}.crm-auth .auth-film-caption h2{font-size:20px}.auth-film-bottom{margin-top:10px}}
@media(max-width:380px){.crm-auth-page{padding:12px 8px}.auth-film-caption{padding:14px 18px}}
.auth-film-frame video{display:block;width:100%;height:100%;position:absolute;inset:0;object-fit:cover;background:#05080e}.crm-auth .auth-film-control{color:#b7ceff;background:#1b2b43;border:1px solid #3d5270;border-radius:8px;padding:8px 13px;min-height:36px;cursor:pointer;font:inherit}.crm-auth .auth-film-control:focus-visible{outline:2px solid #8caeff;outline-offset:3px}

.auth-cinema-page{position:relative;isolation:isolate;padding:28px 7vw;background:#090e17!important;min-height:100svh}
.auth-cinema-page .auth-entry-with-video{display:block;width:100%;max-width:none;margin:0}
.auth-cinema-page .auth-film{position:fixed;inset:0;z-index:-1;border:0;border-radius:0;box-shadow:none;background:#090e17}
.auth-cinema-page .auth-film-frame{position:absolute;inset:0;aspect-ratio:auto}
.auth-cinema-page .auth-film-frame video{width:100%;height:100%;object-fit:cover;object-position:center}
.auth-cinema-page .auth-film:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#050a1220 0%,#050a1240 40%,#050a12aa 100%),linear-gradient(0deg,#050a1270,transparent 45%);pointer-events:none}
.auth-cinema-page .auth-window{position:relative;margin-left:auto;width:min(440px,100%);background:#101b2bba;border:1px solid #ffffff30;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);box-shadow:0 25px 90px #0006}
.auth-cinema-page .auth-window .auth-footer{background:#15223999}.auth-cinema-page .auth-window input{background:#17283bd9;border-color:#ffffff24}.auth-cinema-page .auth-window .auth-content{padding:24px 28px}
.auth-cinema-page .auth-film-caption{position:absolute;left:4vw;bottom:26px;padding:0;z-index:1}.auth-cinema-page .auth-film-caption h2{font-size:13px;letter-spacing:.8px;color:#ffffffc0;font-weight:500;margin:0}.auth-cinema-page .auth-film-bottom{margin:0;gap:14px}
.auth-cinema-page .auth-film-control{background:#101b2b99;backdrop-filter:blur(10px);border-color:#ffffff40;color:#fff;min-height:40px;padding:8px 15px}
@media(max-width:999px){.auth-cinema-page{padding:22px 18px 80px}.auth-cinema-page .auth-window{margin:0 auto;max-width:440px}.auth-cinema-page .auth-film-caption{left:18px;bottom:16px}.auth-cinema-page .auth-film:after{background:linear-gradient(#050a1240,#050a1270)}.auth-cinema-page .auth-film-frame video{object-position:42% center}}
@media(max-width:380px){.auth-cinema-page{padding:16px 10px 76px}.auth-cinema-page .auth-window .auth-content{padding:20px 18px}}
