/* Kedalion NS · вход в графите с оранжевым (срез «первый вход»). Подключается последним в login.html.
   Самостоятельный файл: чужие пакеты не нужны. Откат пакета снимает подключение — возвращается прежний вид.
   Графит #1E1F22 / #2B2D31 / #3A3D42, оранжевый #FF6A00 / #FF8A3D, тёмный текст на оранжевой кнопке. */
html:root body:has(#loginForm) {
  background:
    radial-gradient(520px 340px at 105% -8%, rgba(255,106,0,.20), transparent 62%),
    radial-gradient(420px 300px at -20% 108%, rgba(255,138,61,.08), transparent 60%),
    linear-gradient(180deg, #1E1F22 0%, #17181A 70%) !important;
  background-attachment: fixed !important;
  color: #F2F3F5 !important;
  color-scheme: dark;
}
html:root body:has(#loginForm) header.app,
html:root body:has(#loginForm) footer.company-foot,
html:root body:has(#loginForm) .login-hero,
html:root body:has(#loginForm) form.card#loginForm h2,
html:root body:has(#loginForm) form.card#loginForm .sub { display: none !important; }
html:root body:has(#loginForm) main.wrap { padding: 64px 28px 40px !important; max-width: 400px !important; margin: 0 auto !important; background: transparent !important; }
html:root body:has(#loginForm) .lg-top { display: none !important; }
html:root body:has(#loginForm) .tpill { background: #2B2D31 !important; border: 1px solid #3A3D42 !important; box-shadow: none !important; color: #A9ACB3 !important; }
html:root body:has(#loginForm) .tpill i { background: #FF8A3D !important; }
html:root body:has(#loginForm) .glass-login-mark { display: flex !important; flex-direction: column !important; align-items: center !important; margin: 0 0 24px !important; }
html:root body:has(#loginForm) .glass-emblem {
  width: 84px !important; height: 84px !important; border-radius: 24px !important; position: relative !important;
  background: #2B2D31 url(/brand/onb-logo.svg) center / 58px 58px no-repeat !important;
  border: 1px solid #3A3D42 !important; box-shadow: 0 14px 36px -16px rgba(255,106,0,.65) !important;
}
html:root body:has(#loginForm) .glass-emblem::after { content: "" !important; position: absolute !important; inset: -5px !important; border-radius: 28px !important; border: 1.5px solid rgba(255,138,61,.45) !important; }
html:root body:has(#loginForm) .glass-emblem img { visibility: hidden !important; }
html:root body:has(#loginForm) .glass-wmark { margin-top: 18px !important; color: #F2F3F5 !important; font-size: 22px !important; font-weight: 750 !important; letter-spacing: -.03em !important; }
html:root body:has(#loginForm) .glass-wsub { color: #A9ACB3 !important; }
html:root body:has(#loginForm) form.card#loginForm { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; }
html:root body:has(#loginForm) form.card#loginForm label { color: #A9ACB3 !important; font-size: 12px !important; font-weight: 600 !important; margin: 12px 0 7px 4px !important; display: block !important; }
html:root body:has(#loginForm) form.card#loginForm .field {
  height: 48px !important; width: 100% !important; border-radius: 14px !important; padding: 0 16px !important;
  background: #1E1F22 !important; border: 1px solid #4A4D53 !important; box-shadow: none !important;
  color: #F2F3F5 !important; -webkit-text-fill-color: #F2F3F5 !important; font-size: 15px !important; caret-color: #FF8A3D !important;
}
html:root body:has(#loginForm) form.card#loginForm .field:focus { border-color: #FF8A3D !important; box-shadow: 0 0 0 3px rgba(255,106,0,.18) !important; outline: none !important; }
html:root body:has(#loginForm) form.card#loginForm .field:-webkit-autofill { -webkit-box-shadow: 0 0 0 40px #1E1F22 inset !important; }
html:root body:has(#loginForm) form.card#loginForm .btn,
html:root body:has(#loginForm) #btnLogin {
  margin-top: 20px !important; height: 50px !important; min-height: 50px !important; width: 100% !important; border-radius: 14px !important; border: 0 !important;
  background: linear-gradient(180deg, #FF8A3D, #FF6A00) !important; color: #1A1B1E !important;
  box-shadow: 0 10px 26px -12px rgba(255,106,0,.75), inset 0 1px 0 rgba(255,255,255,.25) !important;
  font-weight: 700 !important; font-size: 16px !important;
}
html:root body:has(#loginForm) #btnLogin:disabled { background: #313338 !important; color: #8A8E96 !important; box-shadow: none !important; }
html:root body:has(#loginForm) #btnLogin:focus-visible { outline: 2px solid #FF8A3D !important; outline-offset: 2px !important; }
html:root body:has(#loginForm) .err { color: #FF6B5E !important; }
html:root body:has(#loginForm) .lg-foot { margin-top: 22px !important; color: #8A8E96 !important; font-size: 12.5px !important; text-align: center !important; }
html:root:has(#loginForm) { background: #17181A !important; }
html:root body:has(#loginForm) { min-height: 100vh !important; min-height: 100dvh !important; margin: 0 !important; }
html:root body:has(#loginForm)::before, html:root body:has(#loginForm)::after { display: none !important; }
