/* The auth entry shell follows the shared SATway photo, card and blue palette. */
.auth-page{--auth-text:#090f34;--auth-muted:#737d9e;--auth-border:#cedaff;--auth-accent:#1454ff;min-height:100vh;display:flex;flex-direction:column}
.auth-entry-page{background:#edf2ff;color:var(--auth-text);color-scheme:light}
.auth-entry-page :is(a,button,input):focus-visible{outline:3px solid var(--auth-accent);outline-offset:4px}
.auth-layout{display:grid;grid-template-columns:minmax(0,1.03fr) minmax(0,.97fr);min-height:100vh;width:100%}
.auth-wordmark{display:inline-flex;align-items:center;gap:.18em;width:fit-content;font-size:26px;font-weight:800;line-height:1;letter-spacing:-.055em;white-space:nowrap;color:#0f1b33;position:relative;z-index:1}
.auth-wordmark-block{display:inline-flex;align-items:center;justify-content:center;height:1.35em;padding-inline:.25em;border-radius:.22em;background:#2453de;color:#fff}
.auth-wordmark-inverse{color:#fff}
.auth-wordmark-inverse .auth-wordmark-block{background:#fff;color:#1c42b5}
.auth-scene{position:relative;display:flex;flex-direction:column;justify-content:space-between;min-height:100vh;padding:40px;overflow:hidden;background:#07132f;color:#fff}
.auth-scene-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:51% 56%;transform:scale(1.04);pointer-events:none}
.auth-scene-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(7,19,47,.7),rgba(7,19,47,.22) 48%,rgba(7,19,47,.88)),linear-gradient(90deg,rgba(7,19,47,.75),rgba(7,19,47,.2) 55%,transparent);pointer-events:none}
.auth-scene-grid{position:absolute;inset:0;opacity:.2;background-image:linear-gradient(#ffffff0e 1px,transparent 1px),linear-gradient(90deg,#ffffff0e 1px,transparent 1px);background-size:54px 54px;mask-image:linear-gradient(#000,transparent 58%);pointer-events:none}
.auth-scene-content{position:relative;z-index:1;max-width:672px;margin-block:auto;padding-block:44px 32px}
.auth-scene-badge{display:inline-flex;align-items:center;gap:8px;border:1px solid #ffffff26;border-radius:100px;padding:6px 12px;background:#ffffff1a;backdrop-filter:blur(12px);color:#a5f3fc;font-size:10px;font-weight:800;letter-spacing:1.7px;line-height:1.5}
.auth-scene-badge>span{width:8px;height:8px;border-radius:50%;background:#67e8f9;box-shadow:0 0 0 4px #67e8f915}
.auth-scene h2{margin-top:22px;font-size:43px;font-weight:600;line-height:1.03;letter-spacing:-2.2px;color:#fff;max-width:576px}
.auth-scene-description{max-width:390px;font-size:13px;line-height:1.8;color:#dbeafeab;margin-top:18px}
.auth-scene-demo{position:relative;height:238px;margin-top:28px;width:100%;max-width:620px}
.auth-journey-card{position:absolute;left:0;top:0;width:min(100%,355px);overflow:hidden;border-radius:24px;border:1px solid #ffffff26;background:#08142ec7;box-shadow:0 30px 70px #00000059;backdrop-filter:blur(24px)}
.auth-journey-top{display:flex;align-items:center;gap:10px;padding:15px 16px;border-bottom:1px solid #ffffff1a}
.auth-journey-icon{width:32px;height:32px;border-radius:12px;background:#496ee933;color:#a5f3fc;display:grid;place-items:center;font-size:19px;flex-shrink:0}
.auth-journey-top div>span{display:block;color:#bfdbfe8c;font-size:8px;font-weight:800;letter-spacing:1px}
.auth-journey-top strong{display:block;color:#fff;font-size:12px;font-weight:600;margin-top:3px}
.auth-journey-spark{font-size:23px;color:#67e8f9;margin-left:auto}
.auth-journey-progress{height:2px;background:#ffffff1a}
.auth-journey-progress>span{display:block;height:100%;width:64%;background:#67e8f9}
.auth-journey-paths{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:18px 16px}
.auth-journey-paths>span{border:1px solid #ffffff1a;background:#ffffff0d;border-radius:9px;padding:10px 6px;color:#dbeafeb3;font-size:13px;font-weight:800;text-align:center}
.auth-journey-paths>span:first-child{border-color:#67e8f9;background:#67e8f9;color:#020617;box-shadow:0 0 22px #67e8f938}
.auth-journey-paths strong{display:block;margin-top:5px;font-size:8px;font-weight:600;white-space:nowrap}
.auth-insight-card{position:absolute;right:0;bottom:4px;display:flex;align-items:flex-start;gap:10px;width:235px;padding:16px 14px;border:1px solid #ffffffb3;border-radius:16px;background:#fffffff2;color:#0f1b33;box-shadow:0 20px 35px #00000030;backdrop-filter:blur(16px);transform:rotate(1.5deg)}
.auth-insight-card>span{display:grid;place-items:center;flex-shrink:0;width:32px;height:32px;border-radius:12px;background:#ecfdf5;color:#059669;font-size:17px}
.auth-insight-card small{font-size:8px;font-weight:800;letter-spacing:1px;color:#8e99b3;display:block}
.auth-insight-card p{font-size:11px;font-weight:600;line-height:1.7;margin-top:5px;color:#3b4869}
.auth-scene-footer{position:relative;z-index:1;display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:18px}
.auth-scene-footer>div{display:flex;flex-wrap:wrap;gap:8px}
.auth-scene-footer>div>span{border:1px solid #ffffff1f;border-radius:100px;background:#07132f80;backdrop-filter:blur(12px);padding:6px 12px;font-size:10px;font-weight:600;color:#eff6ffbf}
.auth-scene-footer>p{font-size:8px;font-weight:600;letter-spacing:1px;line-height:1.8;color:#bfdbfe66}
.auth-form-pane{position:relative;isolation:isolate;min-width:0;min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px 28px;overflow:hidden}
.auth-form-atmosphere{position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 5% 3%,#496ee919,transparent 52%),radial-gradient(ellipse at 100% 55%,#8b5cf616,transparent 56%)}
.auth-form-atmosphere::after{content:'';position:absolute;inset:0;background-image:radial-gradient(circle at 1px 1px,#2563eb17 1px,transparent 0);background-size:28px 28px;mask-image:radial-gradient(circle at center,#000,transparent 72%);opacity:.4}
.auth-mobile-wordmark{display:none}
.auth-card{width:100%;max-width:448px;min-width:0;padding:32px;border:1px solid #ffffffcc;border-radius:28px;background:#ffffffe6;box-shadow:0 28px 80px #1c305f1f;backdrop-filter:blur(24px)}
.auth-heading{text-align:center}
.auth-cap{display:block;width:128px;height:116px;margin:-3px auto 8px}
.auth-heading h1{font-size:30px;font-weight:800;line-height:1.2;letter-spacing:-1.2px;margin:0;color:var(--auth-text)}
.auth-heading>p{overflow-wrap:anywhere;max-width:310px;margin:9px auto 0;color:var(--auth-muted);font-size:13px;line-height:1.65}
.auth-back-home{display:inline-flex;align-items:center;gap:6px;color:#8e99b3;font-size:12px;margin-top:24px;transition:color .15s}
.auth-back-home .icon{width:14px;height:14px;color:#2453de}
.auth-back-home:hover{color:#5a6784}
.auth-providers{display:grid;gap:14px;margin-top:28px}
.provider-button{display:flex;align-items:center;gap:14px;width:100%;min-height:64px;padding:9px 15px 9px 11px;border:1px solid var(--auth-border);border-radius:14px;background:#fff;color:var(--auth-text);font-size:14px;font-weight:600;line-height:1.45;text-align:left;cursor:pointer;transition:background .15s,border-color .15s,box-shadow .15s}
.provider-button:not(:disabled):hover{border-color:#8eacff;background:#fbfdff;box-shadow:0 3px 10px #264f8c08}
.provider-button:disabled{color:var(--auth-text);opacity:1;cursor:not-allowed}
.provider-button[aria-busy=true]{cursor:wait}
.provider-icon{display:grid;flex:0 0 44px;width:44px;height:44px;place-items:center;border-radius:50%;background:#f3f6ff}
.provider-telegram-icon{background:linear-gradient(145deg,#41b6ed,#259cdb);color:#fff;box-shadow:inset 0 1px 0 #ffffff26}
.provider-icon svg{width:25px;height:25px}
.provider-label{flex:1;min-width:0}
.provider-arrow{flex:0 0 18px;width:18px;height:18px;color:#090f34}
.provider-divider{height:1px;margin:25px 0 21px;background:#e2e8fb}
.provider-consent{display:flex;justify-content:center;align-items:flex-start;gap:10px;font-size:11px;line-height:1.75;color:var(--auth-muted);cursor:pointer;text-align:center}
.provider-consent input{flex:0 0 17px;width:17px;height:17px;margin:2px 0 0;accent-color:#1454ff;cursor:pointer}
.provider-consent input:disabled{cursor:wait}
.provider-consent a{color:#1454ff;font-weight:500;text-decoration:underline;text-underline-offset:2px;text-decoration-color:#a8c0e2}
.provider-consent a:hover{text-decoration-color:currentColor}
.new-tab-note{display:block;font-size:9px;color:var(--auth-muted);margin-top:3px}
.consent-hint{font-size:10px;color:var(--auth-muted);text-align:center;line-height:1.7;margin-top:13px}
.form-message{font-size:12px;line-height:1.65;border-radius:10px;padding:12px;margin-top:20px;overflow-wrap:anywhere}
.form-error{background:#fff5f6;color:#b4233c;border:1px solid #f0ccd3}
.form-notice{background:#f3f6ff;color:#2453de;border:1px solid #cedaff}
.plain-button{padding:7px 3px;background:transparent;font-size:11px;font-weight:700;text-decoration:underline;text-underline-offset:3px;line-height:1.7}
.plain-button:hover{color:#1c42b5}
.account-page button:disabled{cursor:wait;opacity:.6;transform:none;box-shadow:none}
.auth-switch{margin-top:23px;text-align:center;font-size:12px;color:var(--auth-muted);line-height:1.9}
.auth-switch a{font-weight:600;color:#1454ff;text-decoration:underline;text-underline-offset:3px}
.shared-account-note{font-size:10px;color:var(--auth-muted);line-height:1.8;text-align:center;margin-top:21px;padding-top:18px;border-top:1px solid #e2e8fb}
/* Existing account workspace retains its landing-page layout. */
.auth-header{padding:26px 0}
.auth-header-inner,.account-main{width:calc(100% - 80px);max-width:1180px;margin-inline:auto}
.auth-header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px}
.auth-home-link{display:inline-flex;align-items:center;gap:18px;font-size:12px;font-weight:700;white-space:nowrap}
.auth-home-link:hover{text-decoration:underline;text-underline-offset:4px}
.auth-footer{text-align:center;color:var(--muted);font-size:10px;padding:16px 24px 28px}
.account-main{flex:1;padding-top:36px;padding-bottom:30px}
.account-loading{min-height:300px;display:flex;justify-content:center;align-items:center;gap:12px;font-size:13px;color:var(--muted)}
.loading-orbit{width:20px;height:20px;border:2px solid #dce4f2;border-top-color:#2453de;border-radius:50%;animation:account-spin 1s linear infinite}
@keyframes account-spin{to{transform:rotate(360deg)}}
.account-welcome{display:flex;align-items:flex-end;justify-content:space-between;gap:35px;padding-block:15px 40px;border-bottom:1px solid var(--line)}
.account-welcome .eyebrow{font-size:8px;letter-spacing:1.4px;margin-bottom:18px}
.account-welcome h1{font-size:43px;font-weight:800;letter-spacing:-2px;line-height:1.2;overflow-wrap:anywhere}
.account-dot{color:#2453de}
.account-welcome p:last-child{font-size:12px;color:var(--muted);margin-top:15px}
.account-identity{display:flex;align-items:center;gap:12px;background:#edf2ff;border-radius:12px;padding:14px 18px;max-width:340px;min-width:0;flex-shrink:0}
.account-avatar{width:39px;height:39px;display:grid;place-items:center;background:var(--lime);border-radius:50%;font-size:16px;font-weight:800;flex-shrink:0}
.account-identity>div{min-width:0}
.account-identity div>span{display:block;font-size:9px;color:var(--muted)}
.account-identity strong{display:block;font-size:11px;overflow-wrap:anywhere;margin-top:3px}
.account-section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-block:40px 25px}
.account-section-heading h2{font-size:24px;letter-spacing:-.8px}
.account-section-heading p{font-size:11px;color:var(--muted)}
.account-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.account-product{border:1px solid #19376614;border-radius:18px;padding:26px;display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s;min-width:0}
.account-product:hover{transform:translateY(-4px);box-shadow:0 12px 24px #19376614}
.account-product-ielts{background:var(--lavender)}
.account-product-sat{background:var(--lime)}
.account-product-topik{background:var(--peach)}
.account-product-number{font-size:8px;font-weight:800;letter-spacing:.7px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.account-product-number .icon{width:17px;height:17px}
.account-product-art{display:block;height:134px;padding-top:34px;font-size:46px;font-weight:800;letter-spacing:-3px}
.account-product-topik .account-product-art{font-size:48px}
.account-product h3{font-size:31px;letter-spacing:-1.8px;line-height:1.2;margin-top:10px}
.account-product h3>span{font-weight:500}
.account-product p{font-size:11px;line-height:1.85;margin-block:15px 23px;color:#43526f;flex:1}
.account-product-cta{border-top:1px solid #19376626;padding-top:18px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;font-weight:800}
.account-product-cta .icon{width:17px;height:17px}
.account-access-note{font-size:10px;color:var(--muted);line-height:1.9;max-width:760px;margin-top:22px}
.account-bottom{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-top:35px;padding-top:21px;border-top:1px solid var(--line);font-size:11px;font-weight:700}
.account-bottom>a:hover{text-decoration:underline;text-underline-offset:3px}
@media(min-width:1280px){.auth-scene{padding:56px}.auth-scene h2{font-size:49px;letter-spacing:-2.7px}.auth-scene-demo{height:260px}}
@media(max-width:1050px){.account-identity{max-width:290px}.account-product{padding:23px}.account-product-art{font-size:39px}}
@media(max-width:1023px){.auth-layout{display:block}.auth-scene{display:none}.auth-form-pane{justify-content:flex-start;padding:36px 20px 32px;min-height:100svh}.auth-mobile-wordmark{display:inline-flex;font-size:23px;margin-bottom:28px}.auth-card{padding:32px}.auth-back-home{margin-top:24px}}
@media(max-width:800px){.auth-header-inner,.account-main{width:calc(100% - 48px)}.auth-header{padding:23px 0}.account-welcome{display:block}.account-welcome h1{font-size:36px}.account-identity{max-width:100%;width:fit-content;margin-top:25px}.account-section-heading{display:block;margin-top:32px}.account-section-heading p{margin-top:10px}.account-products{grid-template-columns:1fr;gap:17px}.account-product{position:relative;padding:24px;display:block;overflow:hidden}.account-product-number{max-width:100%}.account-product-art{height:auto;padding:0;position:absolute;right:25px;top:67px;font-size:43px;opacity:.35;pointer-events:none}.account-product h3{font-size:32px;margin-top:26px}.account-product p{max-width:70%;min-height:40px;margin-block:15px 22px}.account-product-cta{margin-top:20px}.account-access-note{font-size:11px}.account-main{padding-top:12px}}
@media(max-width:639px){.auth-form-pane{padding-top:29px}.auth-card{padding:28px}.auth-mobile-wordmark{margin-bottom:24px}.auth-heading h1{font-size:29px}}
@media(max-width:420px){.auth-header-inner,.account-main{width:calc(100% - 36px)}.auth-header .brand{font-size:27px;letter-spacing:-1.3px}.auth-header .brand-mark{width:30px;height:30px;margin-right:7px}.auth-header .brand-mark svg{width:27px;height:27px}.auth-header-inner{gap:16px}.auth-home-link{font-size:10px;gap:9px}.account-welcome h1{font-size:32px;letter-spacing:-1.5px}.account-welcome p:last-child{font-size:11px}.account-section-heading h2{font-size:22px}.account-product{padding:22px}.account-product p{max-width:83%}.account-bottom{gap:15px;font-size:10px}.account-bottom .plain-button{font-size:10px}.account-product-art{font-size:37px;right:17px;opacity:.2}}
@media(max-width:380px){.auth-form-pane{padding-inline:16px}.auth-card{padding:23px 20px;border-radius:24px}.auth-cap{width:121px;height:110px}.auth-heading h1{font-size:28px}.auth-heading>p{font-size:12px}.provider-button{gap:10px;min-height:62px;padding-right:11px;font-size:12px}.provider-icon{flex-basis:40px;width:40px;height:40px}.auth-switch{font-size:11px}.provider-consent{font-size:10px}}
@media(prefers-reduced-motion:reduce){.auth-entry-page *{transition:none!important}.loading-orbit{animation:none}.account-product:hover{transform:none}}
