
/* Skillity authentication pages — separate from internal dashboard CSS. */
:root{color-scheme:light;--auth-ink:#17213f;--auth-muted:#66728e;--auth-blue:#4959f8;--auth-border:#e4e8f4}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}body{margin:0}
.auth-body{background:#f7f8fe;color:var(--auth-ink);font:15px/1.65 system-ui,-apple-system,"Segoe UI",sans-serif;min-height:100vh}
.auth-body [hidden]{display:none!important}
.auth-body a{text-decoration:none;color:inherit}
.auth-body button,.auth-body input{font:inherit}
.auth-body a:focus-visible,.auth-body button:focus-visible,.auth-body input:focus-visible{outline:3px solid #a6adff;outline-offset:3px}
.auth-body button{cursor:pointer}
.auth-skip-link{position:absolute;top:-110px;left:18px;z-index:100;background:white;padding:12px 20px}
.auth-skip-link:focus{top:10px}
.auth-page{max-width:1440px;min-height:100vh;display:flex;flex-direction:column;margin:auto;padding:0 32px}
.auth-topbar{height:105px;flex-shrink:0;display:flex;justify-content:space-between;align-items:center;gap:20px}
.auth-brand{display:inline-flex;align-items:center;gap:8px;font-size:28px;letter-spacing:-.06em;font-weight:790;color:#192445!important}
.auth-brand .brand-mark{width:35px;height:40px;display:block}
.auth-brand .brand-dot{color:#5164f6}
.auth-home-link{font-size:13px;font-weight:750;display:flex;align-items:center;gap:9px;color:#536581!important;background:white;border:1px solid #e8ebf7;padding:10px 15px;border-radius:12px;transition:background .2s}
.auth-home-link:hover{background:#f0f2ff}
.auth-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.94fr);background:white;border:1px solid #e7eafa;border-radius:32px;overflow:hidden;box-shadow:0 28px 85px #26347112;flex:1;min-height:620px;max-height:870px}
.auth-story{min-width:0;position:relative;isolation:isolate;background:linear-gradient(142deg,#eaf1ff 0%,#eeeaff 62%,#f5eafa 100%);display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;padding:clamp(30px,4vw,65px) clamp(26px,4vw,65px) 27px}
.auth-story::before{content:"";position:absolute;border:1px solid #ffffffb0;top:-135px;right:-130px;width:400px;height:400px;border-radius:50%;z-index:-1}
.auth-story::after{content:"";position:absolute;background:#bacbff33;left:-170px;bottom:-190px;width:460px;height:460px;border-radius:50%;z-index:-1}
.auth-kicker{font-size:11px;letter-spacing:.11em;font-weight:820;color:#6060c0}
.auth-kicker>span{margin-right:5px}
.auth-story h1{font-size:clamp(38px,3.9vw,59px);line-height:1.1;letter-spacing:-.056em;margin:24px 0 20px;font-weight:820;color:#182243}
.auth-story h1 span{color:#5262e9}
.auth-story-content>p{max-width:410px;font-size:16px;line-height:1.8;color:#5a6888;margin:0}
.auth-story-points{display:flex;flex-wrap:wrap;gap:9px;margin-top:28px;max-width:500px}
.auth-story-points>span{padding:7px 11px;border:1px solid #ffffffbc;background:#ffffff9b;border-radius:11px;color:#56618b;font-size:11px;font-weight:740;white-space:nowrap}
.auth-story-bottom{font-size:11px;color:#8a92b4;font-weight:650;z-index:2}
.auth-visual{height:280px;max-width:100%;position:relative;align-self:stretch;display:flex;align-items:center;justify-content:center}
.auth-visual-halo{position:absolute;right:3%;bottom:-55px;height:310px;width:380px;max-width:95%;border-radius:50%;background:radial-gradient(ellipse,#bfc9ffad,transparent 70%);z-index:-1}
.auth-code-bubble{background:#1d294b;color:#ecf2ff;border:1px solid #ffffff25;box-shadow:0 26px 35px #1d37722e;border-radius:17px;position:absolute;left:0;top:2px;max-width:290px;padding:18px 19px;transform:rotate(-6deg);z-index:1}
.auth-code-dots{font-size:10px;letter-spacing:1px;color:#f59e9e;margin-bottom:12px}
.auth-code-dots span{color:#b6c4e9;margin-left:22px;letter-spacing:0}
.auth-code-bubble code{display:block;font:11px/2 ui-monospace,Consolas,"Liberation Mono",monospace}
.auth-code-bubble code b{color:#bfa7ff;font-weight:700}
.auth-mentor-art{position:absolute;bottom:-22px;right:-4%;width:min(310px,70%);height:260px;object-fit:contain;object-position:bottom right;border-radius:0;z-index:2;filter:drop-shadow(0 14px 15px #1c3e6526)}
.auth-sparkle{position:absolute;font-size:30px;color:#8588ef}
.auth-sparkle-first{top:36px;right:0}.auth-sparkle-second{left:5%;bottom:47px}
.auth-panel{padding:clamp(34px,4vw,64px);display:flex;align-items:center;justify-content:center;flex-direction:column;background:white;min-width:0}
.auth-card{max-width:405px;width:100%}
.auth-section-label{font-size:11px;font-weight:840;letter-spacing:.115em;color:#626bd8}
.auth-card h2{color:#192444;font-size:clamp(30px,3vw,39px);line-height:1.12;letter-spacing:-.046em;margin:15px 0 15px;font-weight:820}
.auth-card h2 span{color:#5361ec}
.auth-description{color:#717d97;line-height:1.8;font-size:14px;margin:0 0 31px}
.auth-login-form{display:grid;gap:22px}
.auth-field label{font-size:13px;color:#32415f;font-weight:730;display:block;margin-bottom:8px}
.auth-field input{border:1px solid #dbe1ee;background:#fff;border-radius:13px;min-height:54px;width:100%;outline:none;color:#1b2944;padding:13px 16px;transition:border-color .15s,box-shadow .15s}
.auth-field input:focus{border-color:#818bfa;box-shadow:0 0 0 4px #697af21c}
.auth-field input::placeholder{color:#9ca5b8}
.auth-field-label-row{display:flex;align-items:center;justify-content:space-between;gap:14px}
.auth-field-label-row>a{font-size:12px;color:#5664d7!important;font-weight:720;margin-bottom:8px;white-space:nowrap}
.auth-field-label-row>a:hover{text-decoration:underline}
.auth-password-field{position:relative}
.auth-password-field input{padding-right:95px}
.auth-password-toggle{position:absolute;right:10px;top:50%;transform:translateY(-50%);background:#f2f3ff;border:0;border-radius:8px;color:#5564cc;padding:7px 11px;font-size:11px!important;font-weight:760}
.auth-password-toggle:hover{background:#e9ecff}
.auth-submit{min-height:55px;width:100%;display:flex;align-items:center;justify-content:center;gap:13px;margin-top:5px;background:#4f5ef2;color:#fff;border:0;border-radius:13px;font-weight:760;box-shadow:0 12px 27px #4858ed38;transition:background .2s,transform .2s,box-shadow .2s}
.auth-submit:hover{background:#3f4fdd;transform:translateY(-2px);box-shadow:0 15px 31px #4858ed43}
.auth-divider{display:flex;align-items:center;gap:14px;margin:32px 0 16px;color:#8c97aa;font-size:12px;text-align:center}
.auth-divider::before,.auth-divider::after{content:"";height:1px;background:#e8eaf5;flex:1}
.auth-help{font-size:13px;color:#74819b;line-height:1.8;margin:0}
.auth-help a{color:#4b59cc!important;font-weight:740}
.auth-help a:hover{text-decoration:underline}
.auth-message{background:#eefbf6;border:1px solid #cfeedd;border-radius:12px;padding:11px 14px;color:#28705e;font-size:13px;margin:0 0 19px}
.auth-alert{background:#fff3f5;border:1px solid #f5d5db;border-radius:12px;padding:12px 16px;color:#a33452;font-size:13px;margin-bottom:20px}
.auth-alert .errorlist,.auth-field-error .errorlist{list-style:none;margin:0;padding:0}
.auth-field-error{font-size:12px;color:#bc3855;margin:7px 0 0}
.auth-panel-footnote{font-size:11px;color:#a3abc0;text-align:center;margin-top:40px}
.auth-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 6px;color:#8a95af;font-size:12px}
.auth-footer>div{display:flex;flex-wrap:wrap;gap:20px}
.auth-footer a:hover{color:#5260d4}
.auth-after-form{margin-top:24px}
.auth-after-form a,.auth-text-button{color:#5662d9!important;font-size:13px;font-weight:740;background:none;border:0;padding:0}
.auth-after-form a:hover,.auth-text-button:hover{text-decoration:underline}
.auth-security-hint{margin-top:23px;background:#f5f6ff;border:1px solid #e6e8fa;color:#627199;font-size:12px;padding:13px 16px;border-radius:12px}
.auth-totp-setup{background:#f4f6ff;border-radius:14px;border:1px solid #e2e7fa;padding:19px;margin:22px 0}
.auth-totp-setup p{font-size:12px;color:#526280;margin:0 0 10px;font-weight:720}
.auth-secret{display:block;font:14px/1.8 ui-monospace,Consolas,monospace;overflow-wrap:anywhere;color:#333c8b;background:white;padding:12px 14px;border:1px solid #e3e6fb;border-radius:10px}
.auth-totp-setup small,.auth-field>small{display:block;margin-top:10px;font-size:12px;color:#6a7898}
@media(max-height:810px) and (min-width:900px){.auth-story{padding-top:32px}.auth-layout{min-height:540px}.auth-visual{height:205px}.auth-mentor-art{height:200px;width:230px}.auth-code-bubble{top:0}.auth-footer{padding:14px 6px}}
@media(max-width:1000px){.auth-page{padding:0 20px}.auth-story,.auth-panel{padding:37px}.auth-story h1{font-size:44px}.auth-visual{height:240px}.auth-code-bubble{max-width:235px;top:16px;padding:13px}.auth-mentor-art{height:220px;width:240px}.auth-panel-footnote{margin-top:25px}}
@media(max-width:760px){.auth-layout{grid-template-columns:1fr;min-height:0;max-height:none}.auth-story{padding:28px 30px;background:linear-gradient(115deg,#eaf0ff,#f2ecff)}.auth-story h1{font-size:clamp(31px,7vw,42px);margin:12px 0 12px}.auth-story-content>p{font-size:13px;max-width:520px}.auth-story-points{margin-top:15px}.auth-visual,.auth-story-bottom{display:none}.auth-panel{padding:43px 29px}.auth-topbar{height:82px}.auth-footer{padding:18px 4px;flex-wrap:wrap}}
@media(max-width:470px){.auth-page{padding:0 11px}.auth-topbar{padding:0 8px}.auth-layout{border-radius:20px}.auth-story{padding:24px 23px}.auth-story h1{font-size:34px}.auth-story-points{gap:6px}.auth-story-points>span{font-size:10px;padding:6px 9px}.auth-panel{padding:34px 22px}.auth-card h2{font-size:30px}.auth-card .auth-description{margin-bottom:22px}.auth-footer{font-size:11px;gap:9px}.auth-footer>div{gap:15px}}
@media(prefers-reduced-motion:reduce){.auth-body *, .auth-body *::before, .auth-body *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
