/* Veltman Lang — вход в кабинет, стиль 2026 (только оформление; логика входа не меняется) */
@import url("fonts-local-20261202f.css");

/* ---------- цвета: ученик (бордо) / родитель (сирень) ---------- */
html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4){
  --lx-ink:#0a141c;--lx-navy:#0f1f2b;--lx-navy2:#17303f;
  --lx-a1:#a3173c;--lx-a2:#c9325a;--lx-soft:#efc3cf;--lx-glow:rgba(163,23,60,.5);--lx-champ2:#e3cfb2;
  --lx-od:#f3efe9;--lx-odm:rgba(243,239,233,.62);--lx-line:rgba(243,239,233,.12);
  font-family:Manrope,system-ui,sans-serif!important;color:var(--lx-od);min-height:100vh;
  background:radial-gradient(90% 70% at 85% 0%,color-mix(in srgb,var(--lx-a1) 24%,transparent),transparent 60%),radial-gradient(120% 90% at 20% 10%,var(--lx-navy2),var(--lx-navy) 45%,var(--lx-ink))!important;
  transition:background .8s
}
html body.compact-login.login-parent35:not(#q1):not(#q2):not(#q3):not(#q4){
  --lx-a1:#7d6aa0;--lx-a2:#9f8cc8;--lx-soft:#d9cdf0;--lx-glow:rgba(125,106,160,.55)
}

/* ---------- каркас ---------- */
html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4) .login-wrap{min-height:100vh;display:grid!important;place-items:center;padding:96px 24px 40px!important;max-width:none!important;width:auto!important;margin:0!important}
html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4) .login-wrap .login-card{width:min(1060px,100%)!important;max-width:none!important;padding:0!important;border-radius:32px!important;overflow:hidden!important;background:rgba(10,20,28,.55)!important;border:1px solid var(--lx-line)!important;box-shadow:0 60px 120px -50px rgba(0,0,0,.8)!important;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}
html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4) #live-view:not([hidden]){display:grid!important;grid-template-columns:1.05fr 1fr!important;column-gap:0!important;gap:0!important;align-items:stretch!important;min-height:620px}

/* ---------- левая панель: приветствие + фотокарточки ---------- */
html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4) #live-view .lx-hello{grid-column:1!important;grid-row:1!important}
.lx-hello{position:relative;overflow:hidden;padding:44px 44px 0;background:radial-gradient(80% 55% at 50% 100%,var(--lx-glow),transparent 70%),linear-gradient(160deg,#17303f,#0f1f2b 60%,#0a141c);border-right:1px solid var(--lx-line);transition:background .8s}
.lx-hello .lx-k{font:600 11px/1.4 Manrope,sans-serif;letter-spacing:.2em;text-transform:uppercase;color:var(--lx-champ2);display:flex;align-items:center;gap:10px;margin:0}
.lx-hello .lx-k::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--lx-a2);transition:background .8s}
.lx-hello h2{font:700 clamp(28px,2.7vw,38px)/1.1 Manrope,sans-serif;letter-spacing:-.035em;margin:18px 0 12px;color:var(--lx-od)}
.lx-hello h2 em{font:italic 500 1.1em/1 "Cormorant Garamond",Georgia,serif;letter-spacing:0;color:var(--lx-soft);transition:color .8s}
.lx-hello p{font:400 15px/1.6 Manrope,sans-serif;color:var(--lx-odm);max-width:360px;margin:0}
.lx-hello .lx-sign{display:inline-block;margin-top:12px;font:italic 500 22px/1 "Cormorant Garamond",Georgia,serif;color:var(--lx-champ2)}
.lx-hello h2{display:block}
.lx-hello .lx26-pa{display:none}
html body.login-parent35 .lx-hello .lx26-st{display:none}
html body.login-parent35 .lx-hello .lx26-pa{display:block;animation:lxIn .6s cubic-bezier(.16,1,.3,1)}
html body:not(.login-parent35) .lx-hello .lx26-st{animation:lxIn .6s cubic-bezier(.16,1,.3,1)}
@keyframes lxIn{from{opacity:0;transform:translateY(8px)}}
.lx-hello .lx-bg{position:absolute;left:0;bottom:36px;white-space:nowrap;font:800 96px/1 Manrope,sans-serif;letter-spacing:-.05em;color:transparent;background:linear-gradient(180deg,color-mix(in srgb,var(--lx-a2) 40%,transparent),transparent);-webkit-background-clip:text;background-clip:text;animation:lxRun 50s linear infinite;pointer-events:none;z-index:0}
@keyframes lxRun{to{transform:translateX(-50%)}}

/* стопка фотокарточек (её двигает родной скрипт кабинета) */
html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4) #live-view .london36{
  grid-column:1!important;grid-row:1!important;align-self:end!important;justify-self:center!important;
  display:block!important;position:relative;z-index:3;width:min(66%,340px)!important;max-width:none!important;margin:0 0 40px!important;order:0
}
html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4) #live-view .london36 .backing36{transition:background 1s,transform 1.3s}
html body.compact-login.login-parent35:not(#q1):not(#q2):not(#q3):not(#q4) #live-view .london36 .backing36{background:#7d6aa0!important}

/* ---------- правая часть: форма ---------- */
html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4) #live-view>.login-fields36{grid-column:2!important;grid-row:1!important;align-self:stretch!important;display:flex!important;flex-direction:column;justify-content:center;padding:48px 48px 40px!important;min-width:0;max-width:none!important;width:auto!important;margin:0!important}
html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4) #live-view .login-fields36 .eyebrow{display:block!important;font:600 11px/1.4 Manrope,sans-serif!important;letter-spacing:.2em!important;color:var(--lx-soft)!important;margin:22px 0 0!important;max-width:none!important;text-align:left!important}
html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4) #live-view .login-fields36 .page-title{font:700 clamp(32px,3.2vw,44px)/1.05 Manrope,sans-serif!important;letter-spacing:-.035em!important;color:var(--lx-od)!important;margin:10px 0 8px!important;max-width:none!important}
html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4) #live-view .login-fields36 .page-sub{font:400 15px/1.55 Manrope,sans-serif!important;color:var(--lx-odm)!important;max-width:none!important;margin:0 0 22px!important}
html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4) #live-view .role-switch35{align-self:flex-start;display:inline-flex!important;position:relative;padding:4px!important;border-radius:999px!important;background:rgba(255,255,255,.05)!important;border:1px solid var(--lx-line)!important;width:auto!important;margin:0!important}
html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4) #live-view .role-switch35 button{position:relative;z-index:1;padding:10px 20px!important;border-radius:999px!important;font:700 12px/1 Manrope,sans-serif!important;letter-spacing:.1em!important;text-transform:uppercase;color:var(--lx-odm)!important;background:none!important;border:0!important;min-height:0!important;width:auto!important;white-space:nowrap;transition:background .5s,color .3s,box-shadow .5s!important}
html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4) #live-view .role-switch35 button[aria-pressed="true"]{background:var(--lx-a1)!important;color:#fff!important;box-shadow:0 10px 24px -10px var(--lx-glow)!important}
html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4) #live-view .role-switch35>span{display:none!important}
html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4) #live-view .login-fields36 .field-label{display:block;font:600 11px/1 Manrope,sans-serif!important;letter-spacing:.16em!important;text-transform:uppercase;color:var(--lx-champ2)!important;margin:0 0 9px!important}
html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4) #live-view #live-form{margin:0!important}
html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4) #live-view #live-form>div{margin-bottom:16px!important}
html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4) #live-view .login-fields36 input[type=text],html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4) #live-view .login-fields36 input[type=password]{width:100%!important;box-sizing:border-box;height:52px!important;min-height:52px!important;padding:0 18px!important;border-radius:16px!important;border:1px solid rgba(243,239,233,.16)!important;background:rgba(255,255,255,.04)!important;color:var(--lx-od)!important;font:500 16px/1 Manrope,sans-serif!important;outline:none;transition:border-color .2s,background .2s,box-shadow .2s}
html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4) #live-view .login-fields36 input:focus{border-color:var(--lx-a2)!important;background:rgba(255,255,255,.07)!important;box-shadow:0 0 0 4px color-mix(in srgb,var(--lx-a2) 22%,transparent)!important}
html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4) #live-view .login-fields36 button[type=submit]{width:100%!important;height:54px!important;min-height:54px!important;padding:0 24px!important;margin-top:6px!important;border-radius:999px!important;border:0!important;background:var(--lx-a1)!important;color:#fff!important;font:700 13px/1 Manrope,sans-serif!important;letter-spacing:.14em!important;text-transform:uppercase;box-shadow:0 18px 36px -16px var(--lx-glow)!important;transition:transform .25s,background .5s!important}
html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4) #live-view .login-fields36 button[type=submit]:hover{background:var(--lx-a2)!important;transform:translateY(-2px)}
html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4) #live-view .login-fields36 details{color:var(--lx-odm)!important}
html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4) #live-view .login-fields36 details summary{font:500 14px/1.4 Manrope,sans-serif!important;color:var(--lx-odm)!important}
html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4) #live-view .login-fields36 details .btn-ghost{border-radius:999px!important}
html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4) #live-error{color:#ff9fb3!important}

/* ---------- шапка ---------- */
html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4) .topbar{position:fixed!important;inset:0 0 auto 0;z-index:20;display:flex!important;align-items:center;justify-content:space-between;width:auto!important;margin:0!important;min-height:0!important;padding:18px clamp(18px,4vw,48px)!important;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4) .topbar .btn-ghost{padding:11px 18px!important;border-radius:999px!important;border:1.5px solid rgba(243,239,233,.3)!important;background:none!important;color:var(--lx-od)!important;font:700 12px/1 Manrope,sans-serif!important;letter-spacing:.12em!important;text-transform:uppercase}
html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4) .topbar .btn-ghost:hover{background:var(--lx-od)!important;color:var(--lx-ink)!important}
html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4) .login-loading{padding:72px 32px!important;text-align:center;color:var(--lx-odm)}
html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4) .login-loading strong{font:700 22px/1.2 Manrope,sans-serif!important;color:var(--lx-od)!important;letter-spacing:-.02em}

/* ---------- телефон ---------- */
@media (max-width:860px){
  html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4) .login-wrap{padding:70px 12px 24px!important;place-items:start center}
  html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4) #live-view:not([hidden]){display:grid!important;grid-template-columns:1fr!important;min-height:0}
  html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4) #live-view .lx-hello{grid-row:1!important}
  html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4) #live-view .london36{grid-row:1!important;align-self:center!important;justify-self:end!important;width:138px!important;margin:0 14px 0 0!important}
  html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4) #live-view>.login-fields36{grid-column:1!important;grid-row:2!important;padding:24px 22px 28px!important}
  html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4) #live-view .login-fields36 .eyebrow{display:none!important}
  html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4) #live-view .login-fields36 .page-title{font-size:28px!important;margin-top:16px!important}
  html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4) #live-view .login-fields36 .page-sub{margin-bottom:16px!important}
  html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4) .topbar{padding:14px 16px!important;gap:10px}
  html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4) .topbar .btn-ghost{padding:9px 13px!important;font-size:11px!important;white-space:nowrap}
  .lx-hello{padding:22px 160px 22px 22px;border-right:0;border-bottom:1px solid var(--lx-line);min-height:190px}
  .lx-hello h2{font-size:23px;margin:10px 0 6px}
  .lx-hello p{font-size:13px;line-height:1.5}
  .lx-hello .lx-sign{font-size:18px;margin-top:6px}
  .lx-hello .lx-bg{font-size:56px;bottom:2px;opacity:.5}
}
@media (prefers-reduced-motion:reduce){.lx-hello .lx-bg,.lx-hello .lx26-st,.lx-hello .lx26-pa{animation:none!important}}

/* переключатель роли: перебить градиент кабинета */
html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7) #live-view .role-switch35 button[aria-pressed="true"]{background:var(--lx-a1)!important;background-image:none!important;color:#fff!important}
html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7) #live-view .role-switch35 button[aria-pressed="false"]{background:none!important;background-image:none!important}
html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4) #live-view .login-fields36>*{order:0!important}
@media (max-width:860px){.lx-hello p:not(.lx-k){display:none}.lx-hello{min-height:170px}.lx-hello h2{font-size:24px}}

/* ===== 12 ноября: просторнее, «плывущие» карточки, плавная смена ученик/родитель ===== */
html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6) .login-wrap .login-card{width:1160px!important;max-width:calc(100vw - 48px)!important}
html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6) #live-view:not([hidden]){padding:14px!important}
html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6) #live-view .lx-hello{width:auto!important;max-width:none!important;align-self:stretch!important;justify-self:stretch!important;margin:0!important;border-radius:24px;border:1px solid var(--lx-line)}
html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4) #live-view:not([hidden]){min-height:680px;grid-template-columns:1.1fr 1fr!important}
/* тексты приветствия лежат друг на друге — высота не прыгает, только плавная смена */
.lx-hello{display:grid;grid-template-rows:auto 1fr;align-content:start}
.lx-hello > .lx26-st,.lx-hello > .lx26-pa{grid-area:2/1;display:block!important;align-self:start;animation:none!important;transition:opacity .6s ease,transform .8s cubic-bezier(.16,1,.3,1),visibility 0s linear .6s}
.lx-hello > .lx26-pa{opacity:0;visibility:hidden;transform:translateY(12px)}
html body.login-parent35 .lx-hello > .lx26-pa{opacity:1;visibility:visible;transform:none;transition-delay:.1s,.1s,0s}
html body.login-parent35 .lx-hello > .lx26-st{opacity:0;visibility:hidden;transform:translateY(-12px)}
/* фотокарточки: крупнее и медленно плывут */
html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5) #live-view .london36{width:min(64%,385px)!important;justify-self:end!important;margin:0 34px 30px 0!important;animation:lx26drift 9s ease-in-out infinite}
html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4) #live-view .london36 .photo-card36{animation:lx26card 7s ease-in-out infinite}
html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4) #live-view .london36 .photo-card36:nth-of-type(2){animation-duration:8.5s;animation-delay:-2s}
html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4) #live-view .london36 .photo-card36:nth-of-type(3){animation-duration:9.5s;animation-delay:-4s}
html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4) #live-view .london36 .photo-card36:nth-of-type(4){animation-duration:10.5s;animation-delay:-6s}
@keyframes lx26drift{0%,100%{translate:0 0;rotate:-1deg}50%{translate:10px -16px;rotate:1.2deg}}
@keyframes lx26card{0%,100%{translate:0 0}33%{translate:6px -8px}66%{translate:-5px 5px}}
/* форма — по центру своей половины */
html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4) #live-view>.login-fields36{padding:48px max(44px,calc((100% - 410px)/2))!important}
/* переключатель: плашка плавно переезжает */
html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4) #live-view .role-switch35{display:inline-grid!important;grid-template-columns:1fr 1fr;isolation:isolate}
html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5) #live-view .role-switch35>span{display:block!important;position:absolute;z-index:0;top:4px;bottom:4px;left:4px;width:calc(50% - 4px)!important;border-radius:999px!important;background:var(--lx-a1)!important;background-image:linear-gradient(135deg,var(--lx-a2),var(--lx-a1))!important;box-shadow:0 10px 24px -10px var(--lx-glow)!important;transform:translateX(0);transition:transform .6s cubic-bezier(.65,0,.25,1),background-color .7s ease,box-shadow .7s ease;pointer-events:none}
html body.compact-login.login-parent35:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5) #live-view .role-switch35>span{transform:translateX(100%)}
html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8) #live-view .role-switch35 button{background:none!important;background-image:none!important;box-shadow:none!important;text-align:center;justify-content:center;transition:color .45s ease!important}
html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6):not(#q7):not(#q8) #live-view .role-switch35 button[aria-pressed="true"]{color:#fff!important}
/* заголовки формы мягко проявляются при смене роли */
html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4) #live-view .login-fields36 :is(#login-role35,#login-title35,#login-sub35){transition:color .6s}
@media (max-width:860px){
  html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6) .login-wrap .login-card{width:100%!important;max-width:100%!important}
  html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5):not(#q6) #live-view:not([hidden]){padding:8px!important}
  html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5) #live-view .london36{width:150px!important;margin:0 12px 0 0!important;align-self:center!important}
  html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4) #live-view>.login-fields36{padding:24px 22px 28px!important}
  html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4) #live-view:not([hidden]){min-height:0;grid-template-columns:1fr!important}
}
@media (prefers-reduced-motion:reduce){html body.compact-login #live-view .london36,html body.compact-login #live-view .london36 .photo-card36{animation:none!important}}
/* без жёлтой подсветки автозаполнения */
html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5) #live-view .login-fields36 input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px #15232f inset!important;box-shadow:0 0 0 1000px #15232f inset!important;-webkit-text-fill-color:#f3efe9!important;caret-color:#f3efe9;transition:background-color 99999s ease 0s!important}
html body.compact-login:not(#q1):not(#q2):not(#q3):not(#q4):not(#q5) #live-view .login-fields36 input:-webkit-autofill:focus{-webkit-box-shadow:0 0 0 1000px #15232f inset,0 0 0 4px color-mix(in srgb,var(--lx-a2) 22%,transparent)!important;box-shadow:0 0 0 1000px #15232f inset,0 0 0 4px color-mix(in srgb,var(--lx-a2) 22%,transparent)!important}
