@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/golos-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/golos-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/golos-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212;
}

:root {
 color-scheme: light;
 font-family: 'Golos Text', 'Helvetica Neue', Arial, sans-serif;
 color: #16150f;
 background: #fbfaf7;
 -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { min-height: 100vh; min-height: 100svh; margin: 0; display: flex; flex-direction: column; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
button:focus-visible, a:focus-visible { outline: 3px solid #0b5fbf; outline-offset: 4px; }
.login-main { flex: 1; display: grid; place-items: center; width: 100%; padding: 40px 24px; }
.login-panel { width: min(100%, 408px); padding: 36px; background: #fff; border: 1px solid #d6d2c8; border-radius: 0; }
h1, h2 { margin: 0 0 12px; font-size: 28px; font-weight: 600; line-height: 1.25; letter-spacing: -.4px; }
.login-description { margin: 0 0 28px; color: #55524a; font-size: 14px; line-height: 1.6; }
.field { margin-bottom: 20px; }
label { display: block; margin-bottom: 8px; font-size: 14px; line-height: 1.5; font-weight: 600; }
input { width: 100%; min-width: 0; min-height: 48px; padding: 12px 13px; color: #16150f; background: #fff; border: 1px solid #bfbaae; border-radius: 0; font-size: 16px; }
input:hover { border-color: #6f6b63; }
input:focus { outline: 2px solid #0b5fbf; outline-offset: 2px; border-color: #16150f; }
.password-control { position: relative; }
.password-control input { padding-right: 92px; }
.password-control button { position: absolute; right: 2px; top: 2px; bottom: 2px; width: 82px; padding: 0; border: 0; border-radius: 0; background: transparent; color: #55524a; font-size: 12px; cursor: pointer; }
.password-control button:hover { color: #16150f; }
.primary-button { display: inline-flex; justify-content: center; align-items: center; width: 100%; min-height: 48px; margin-top: 4px; padding: 12px 20px; background: #16150f; border: 1px solid #16150f; border-radius: 0; color: #fff; font-size: 14px; font-weight: 600; line-height: 1.5; text-decoration: none; cursor: pointer; transition: background-color .15s; }
.primary-button:hover { background: #333128; border-color: #333128; }
.primary-button:disabled { background: #6f6b63; border-color: #6f6b63; cursor: wait; }
.login-error { margin: 0 0 18px; padding: 12px 14px; border-left: 3px solid #b44837; background: #fff3f0; color: #913526; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.login-success p { margin: 0 0 24px; color: #55524a; font-size: 14px; line-height: 1.7; }
noscript .login-error { margin: 20px 0 0; }
@media (max-width: 480px) {
 :root { background: #fff; }
 .login-main { padding: 32px 24px; }
 .login-panel { padding: 0; border: 0; border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) { .primary-button { transition: none; } }
