.acct-overlay{position:fixed;inset:0;z-index:200;display:grid;place-items:center;padding:20px;background:rgba(12,20,40,.55);backdrop-filter:blur(3px)}
.acct-modal{position:relative;width:min(440px,100%);max-height:calc(100vh - 40px);overflow:auto;padding:32px 30px 28px;border-radius:22px;background:#fff;box-shadow:0 30px 80px rgba(10,20,50,.35);color:#17233a}
.acct-modal.wide{width:min(560px,100%)}
.acct-modal h2{margin:0 0 6px;font-size:26px;letter-spacing:-.02em}
.acct-close{position:absolute;right:14px;top:12px;width:34px;height:34px;border:0;border-radius:10px;background:#f1f4fa;color:#53617a;font-size:22px;line-height:1;cursor:pointer}
.acct-lead{margin:0 0 18px;color:#5d6b82;font-size:15px;line-height:1.5}
.acct-note{margin:0 0 14px;padding:10px 12px;border-radius:12px;background:#fff7e6;color:#8a5a00;font-size:13px;font-weight:700}
.acct-form{display:grid;gap:14px}
.acct-form label{display:grid;gap:6px;font-size:13px;font-weight:800;color:#33425c}
.acct-form input[type=text],.acct-form input[type=email],.acct-form input[type=password],.acct-form input:not([type]){height:48px;padding:0 14px;border:2px solid #d9e1ed;border-radius:13px;font:inherit;font-size:16px;color:#17233a}
.acct-form input:focus{outline:none;border-color:#2457f5;box-shadow:0 0 0 3px rgba(36,87,245,.14)}
.acct-error{margin:0;padding:10px 12px;border-radius:11px;background:#fff0f1;color:#a52b3b;font-size:14px;font-weight:700}
.acct-primary{min-height:50px;border:0;border-radius:14px;background:#2457f5;color:#fff;font:inherit;font-size:16px;font-weight:850;cursor:pointer}
.acct-primary:disabled{background:#b9c4de;cursor:not-allowed}
.acct-secondary{min-height:44px;padding:0 18px;border:2px solid #d5deeb;border-radius:13px;background:#fff;color:#26344d;font:inherit;font-weight:850;cursor:pointer}
.acct-link{border:0;background:none;color:#2457f5;font:inherit;font-weight:850;cursor:pointer;padding:0}
.acct-switch{margin:16px 0 0;text-align:center;font-size:14px;color:#5d6b82}
.acct-plans{display:grid;gap:10px}
.acct-plan{display:grid!important;grid-template-columns:auto 1fr auto;align-items:center;gap:12px!important;padding:14px 16px;border:2px solid #d9e1ed;border-radius:16px;cursor:pointer;font-weight:inherit!important}
.acct-plan.selected{border-color:#2457f5;background:#f1f5ff}
.acct-plan-body strong{display:block;font-size:16px;color:#17233a}
.acct-plan-body small{display:block;margin-top:3px;font-size:13px;font-weight:600;color:#5d6b82;line-height:1.4}
.acct-price{font-size:17px;font-weight:900;color:#17233a;text-align:right;white-space:nowrap}
.acct-price em{display:block;font-style:normal;font-size:11px;color:#8a5a00;font-weight:800}
.acct-methods{display:grid;gap:8px}
.acct-methods>span{font-size:13px;font-weight:800;color:#33425c}
.acct-method{display:flex!important;align-items:center;gap:10px!important;padding:11px 14px;border:2px solid #e1e7f0;border-radius:13px;font-weight:800!important;font-size:15px!important;cursor:pointer}
.acct-method.disabled{opacity:.55;cursor:not-allowed}
.acct-method small{margin-left:8px;color:#8a95aa;font-weight:700}
.acct-card{margin:0 0 14px;padding:16px;border:1px solid #e1e7f0;border-radius:16px;background:#f8faff}
.acct-card p{margin:6px 0 12px;font-size:14px;color:#43516a}
.acct-orders{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:8px;font-size:13px}
.acct-orders li{display:flex;justify-content:space-between;gap:12px}
.lock-label.paid-lock{color:#2457f5;font-weight:850}
@media(max-width:520px){.acct-modal{padding:26px 20px 22px}.acct-plan{grid-template-columns:auto 1fr}.acct-price{grid-column:2;text-align:left}}

.acct-plan{align-items:start!important}
.acct-plan.recommended{border-color:#2457f5}
.acct-plan.disabled{opacity:.5;cursor:not-allowed}
.acct-plan-body ul{margin:6px 0 4px;padding-left:18px;display:grid;gap:3px;font-size:13px;font-weight:600;color:#43516a;line-height:1.4}
.acct-badge{margin-left:8px;padding:2px 8px;border-radius:999px;background:#2457f5;color:#fff;font-style:normal;font-size:11px;font-weight:850;vertical-align:middle}
.small-test-button.locked-mock{opacity:.6;position:relative}
.small-test-button.locked-mock::after{content:"";position:absolute;right:8px;top:8px;width:11px;height:9px;border-radius:2px;background:#8a95aa;box-shadow:0 -5px 0 -3px #8a95aa}

/* вход через Google */
.acct-google{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;margin:0 0 14px;min-width:0}
.acct-google-btn{display:flex;justify-content:center;min-height:44px;min-width:0;overflow:hidden}
.acct-or{display:flex;align-items:center;gap:12px;color:#8a95aa;font-size:13px;font-weight:700}
.acct-or::before,.acct-or::after{content:"";flex:1;height:1px;background:#e1e7f0}

/* окно пакетов */
.acct-modal.wide{width:min(600px,100%)}
.acct-promo{display:flex;align-items:center;gap:12px;margin:0 0 16px;padding:12px 14px;border:1px solid #cfe0ff;border-radius:14px;background:#f1f6ff;color:#1d3f9e}
.acct-promo svg{flex:none;width:22px;height:22px;color:#2457f5}
.acct-promo p{margin:0;font-size:14px;font-weight:800;line-height:1.4}
.acct-plan-head{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px}
.acct-plan-head strong{display:inline!important}
.acct-plan-head .acct-badge{margin-left:0}
.acct-discount{padding:2px 8px;border-radius:999px;background:#e7f7ef;color:#137a4a;font-style:normal;font-size:12px;font-weight:850;white-space:nowrap}
.acct-plan-body ul li.gift{color:#7a4b00}
.acct-plan-body ul li.gift::marker{content:"★ ";color:#e08a12}
.acct-plan-note{color:#8a5a00!important}
.acct-price{display:grid;justify-items:end;gap:1px}
.acct-price s{font-size:13px;font-weight:700;color:#8a95aa}
.acct-price b{font-size:19px;font-weight:900;color:#17233a}

/* как оплатить */
.acct-back{display:inline-flex;align-items:center;gap:6px;margin:-6px 0 10px;padding:4px 0;border:0;background:none;color:#2457f5;font:inherit;font-size:14px;font-weight:850;cursor:pointer}
.acct-back span{font-size:20px;line-height:1}
.acct-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0 16px;padding:14px 16px;border:2px solid #2457f5;border-radius:16px;background:#f1f5ff}
.acct-summary strong{display:block;font-size:16px}
.acct-summary small{display:block;color:#5d6b82;font-size:13px;font-weight:600}
.acct-summary b{font-size:20px;font-weight:900;white-space:nowrap}
.acct-pay{display:grid;gap:12px}
.acct-pay.two{grid-template-columns:1fr 1fr}
.acct-pay-option{display:flex;flex-direction:column;gap:10px;padding:16px;border:1px solid #e1e7f0;border-radius:16px;background:#f8faff}
.acct-pay-option h3{margin:0;font-size:16px;line-height:1.3}
.acct-pay-option p{margin:0;color:#43516a;font-size:14px;line-height:1.45}
.acct-qr{display:grid;place-items:center;padding:10px;border-radius:12px;background:#fff;border:1px solid #e1e7f0}
.acct-qr img{display:block;width:100%;max-width:220px;height:auto;aspect-ratio:1/1;object-fit:contain}
.acct-pay-facts{display:grid;gap:6px;margin:0}
.acct-pay-facts div{display:flex;justify-content:space-between;gap:10px;font-size:14px}
.acct-pay-facts dt{color:#5d6b82;font-weight:700}
.acct-pay-facts dd{margin:0;font-weight:850;text-align:right;overflow-wrap:anywhere}
.acct-hint{padding:9px 11px;border-radius:11px;background:#fff7e6;color:#7a4b00!important;font-weight:700}
.acct-wa{display:flex;align-items:center;justify-content:center;min-height:50px;margin-top:auto;padding:0 16px;border-radius:14px;background:#1f9d55;color:#fff;font-weight:850;text-decoration:none;text-align:center}
.acct-wa:hover{background:#188a49}
.acct-online{margin-top:14px}
.acct-support{margin:14px 0 0;color:#5d6b82;font-size:13px;text-align:center}

/* профиль */
.acct-meta{display:flex;flex-wrap:wrap;gap:6px 16px;margin:-10px 0 16px;color:#5d6b82;font-size:13px;font-weight:700}
.acct-includes{margin:0 0 12px;padding-left:18px;display:grid;gap:3px;font-size:13px;color:#43516a;line-height:1.4}
.acct-includes li.gift{color:#7a4b00}
.acct-actions{display:flex;flex-wrap:wrap;gap:10px}
a.acct-secondary{display:inline-flex;align-items:center;text-decoration:none}
@media(max-width:560px){.acct-pay.two{grid-template-columns:1fr}.acct-price{display:flex;justify-content:flex-start;align-items:baseline;gap:10px}.acct-summary b{font-size:18px}}

/* окно входа и регистрации */
.acct-auth{display:grid;min-width:0}
.acct-brand{display:flex;align-items:center;gap:10px;margin:0 0 18px;font-size:15px;font-weight:850;color:#17233a;letter-spacing:-.01em}
.acct-brand img{display:block;width:40px;height:36px;object-fit:contain}
.acct-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin:0 0 20px;padding:4px;border-radius:14px;background:#eef2f8}
.acct-tabs button{min-height:40px;padding:0 10px;border:0;border-radius:11px;background:none;color:#53617a;font:inherit;font-size:15px;font-weight:850;cursor:pointer}
.acct-tabs button:hover{color:#17233a}
.acct-tabs button.active{background:#fff;color:#17233a;box-shadow:0 1px 3px rgba(16,32,70,.14);cursor:default}
.acct-auth h2{font-size:24px}
.acct-auth .acct-lead{margin-bottom:20px}
.acct-field>span{font-size:14px;font-weight:800;color:#26344d}
.acct-form input::placeholder{color:#9aa5b8}
.acct-auth .acct-primary{min-height:54px;margin-top:4px;font-size:17px;box-shadow:0 8px 20px rgba(36,87,245,.28)}
.acct-primary:not(:disabled):hover{background:#1c49d6}
.acct-auth .acct-switch{margin-top:18px}
.acct-google{margin:0 0 18px}
.acct-google-btn{width:100%;min-height:44px;align-items:center}
.acct-google-btn>div{max-width:100%}
.acct-or span{white-space:nowrap}

/* окно «нужен пакет» для гостя */
.acct-locked{display:grid}
.acct-lock-icon{display:grid;place-items:center;width:52px;height:52px;margin:0 0 14px;border-radius:16px;background:#eef3ff;color:#2457f5}
.acct-lock-icon svg{width:28px;height:28px}
.acct-locked h2{font-size:24px;padding-right:30px}
.acct-steps{list-style:none;margin:0 0 20px;padding:0;display:grid;gap:10px;counter-reset:step}
.acct-steps li{position:relative;display:grid;gap:2px;padding:12px 14px 12px 54px;border:1px solid #e1e7f0;border-radius:14px;background:#f8faff;counter-increment:step}
.acct-steps li::before{content:counter(step);position:absolute;left:14px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#2457f5;color:#fff;font-size:14px;font-weight:900}
.acct-steps b{font-size:15px;color:#17233a}
.acct-steps span{font-size:14px;color:#5d6b82;line-height:1.4}
.acct-locked .acct-primary{min-height:54px;font-size:17px;box-shadow:0 8px 20px rgba(36,87,245,.28)}
.acct-locked .acct-switch{margin-top:14px}

.acct-legal{margin:14px 0 0;text-align:center;font-size:12px;line-height:1.4;color:#53617a}.acct-legal a{color:#2457f5;text-decoration:none}

.acct-pay-steps{margin:0;padding:0;list-style:none;display:grid;gap:10px;font-size:14px;line-height:1.45;color:#1d2b47;counter-reset:step}
.acct-pay-steps li{position:relative;padding-left:34px;counter-increment:step}
.acct-pay-steps li::before{content:counter(step);position:absolute;left:0;top:1px;width:24px;height:24px;border-radius:50%;background:#2457f5;color:#fff;font-size:12px;font-weight:850;display:flex;align-items:center;justify-content:center}
.acct-pay-steps b{font-weight:850}
.acct-copy{display:inline-flex;gap:8px;align-items:baseline;flex-wrap:wrap}
.acct-copy .acct-link{font-size:13px}
.acct-kaspi .acct-primary{margin-top:4px}
.acct-kaspi .acct-error{margin:0}
.acct-qr img{max-width:260px}
.acct-wa-row{flex-direction:row;align-items:center;justify-content:space-between;gap:16px}
.acct-wa-row .acct-wa{margin:0;flex:none;min-height:44px}
@media(max-width:560px){.acct-wa-row{flex-direction:column;align-items:stretch}}
.acct-login-box{display:flex;flex-direction:column;gap:2px;padding:12px 14px;border-radius:12px;background:#fff;border:2px dashed #2457f5}
.acct-login-box span{font-size:12px;font-weight:700;color:#5d6b82;text-transform:uppercase;letter-spacing:.04em}
.acct-login-box b{font-size:18px;font-weight:850;overflow-wrap:anywhere}
.acct-rule{margin:-4px 0 0;font-size:12px;line-height:1.4;color:#5d6b82}
/* выбор специальности (пакет «Максимум») */
.acct-spec{display:grid;gap:12px}
.acct-spec h2{padding-right:30px}
.acct-spec .acct-lead{margin:0}
.acct-spec-search{height:48px;padding:0 14px;border:2px solid #d9e1ed;border-radius:13px;font:inherit;font-size:16px;color:#17233a}
.acct-spec-search:focus{outline:none;border-color:#2457f5}
.acct-spec-list{display:grid;gap:6px;max-height:min(46vh,420px);overflow:auto;padding:2px}
.acct-spec-item{display:flex;gap:10px;align-items:baseline;width:100%;padding:11px 14px;border:1px solid #e1e7f0;border-radius:12px;background:#f8faff;color:#17233a;font:inherit;font-size:15px;text-align:left;cursor:pointer}
.acct-spec-item:hover,.acct-spec-item:focus-visible{border-color:#2457f5;background:#eef2ff;outline:none}
.acct-spec-code{flex:none;font-weight:900;color:#2457f5}
.acct-spec-empty{margin:8px 0;color:#5d6b82;font-size:14px}
.acct-locked .acct-wa{margin-bottom:10px}

.surprise-overlay{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:20px;background:rgba(32,10,28,.55);backdrop-filter:blur(4px);animation:sp-fade .5s ease both}
.surprise-card{width:min(420px,100%);padding:36px 28px 28px;border-radius:28px;text-align:center;background:linear-gradient(160deg,#fff 0%,#fff0f4 100%);box-shadow:0 30px 80px rgba(120,20,60,.35);animation:sp-rise .7s cubic-bezier(.2,.9,.3,1.2) both}
.surprise-heart{width:84px;height:76px;margin:0 auto 14px;display:block;animation:sp-beat 1.3s ease-in-out infinite;filter:drop-shadow(0 8px 14px rgba(239,71,111,.45))}
.surprise-card h2{margin:0 0 26px;font-size:30px;line-height:1.2;color:#b0124a}
.surprise-card p{margin:0 0 24px;font-size:17px;color:#8a5a6e}
.surprise-btn{border:0;border-radius:999px;padding:13px 34px;font:inherit;font-weight:800;color:#fff;background:#ef476f;cursor:pointer;box-shadow:0 10px 24px rgba(239,71,111,.4)}
.surprise-btn:hover{background:#d93a60}
@keyframes sp-fade{from{opacity:0}to{opacity:1}}
@keyframes sp-rise{from{opacity:0;transform:translateY(24px) scale(.92)}to{opacity:1;transform:none}}
@keyframes sp-beat{0%,100%{transform:scale(1)}15%{transform:scale(1.16)}30%{transform:scale(1)}45%{transform:scale(1.1)}}
@media(prefers-reduced-motion:reduce){.surprise-heart,.surprise-card,.surprise-overlay{animation:none}}
