
@font-face{
  font-family:"Golos Text";font-style:normal;font-weight:400 900;font-display:swap;
  src:url("/fonts/golos/golos-text-cyrillic-ext.woff2") format("woff2");
  unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}
@font-face{
  font-family:"Golos Text";font-style:normal;font-weight:400 900;font-display:swap;
  src:url("/fonts/golos/golos-text-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 900;font-display:swap;
  src:url("/fonts/golos/golos-text-latin-ext.woff2") format("woff2");
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face{
  font-family:"Golos Text";font-style:normal;font-weight:400 900;font-display:swap;
  src:url("/fonts/golos/golos-text-latin.woff2") format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
.ml-header {
  position: fixed;
  inset: 0 0 auto;
  height: var(--pub-header-h);
  padding-inline: var(--home-pad);
  display: flex;
  align-items: center;
  gap: 32px;
  z-index: 30;
  background: #070707;
  border-bottom: 1px solid #202020;
}
.ml-brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; color: #efefed; }
.ml-brand img { width: 40px; height: 40px; flex-shrink: 0; }
.ml-brand-name { font-size: 23px; font-weight: 650; letter-spacing: -.9px; }
.ml-brand-name > span { color: var(--home-blue); }
.ml-nav { display: flex; gap: 28px; margin-left: auto; }
.ml-nav a, .ml-login { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; }
.ml-nav a { color: #a9a9a9; }
.ml-header-actions { display: flex; align-items: center; gap: 24px; margin-left: 24px; }
.ml-login { justify-content: center; padding-inline: 20px; border: 1px solid #393939; border-radius: 6px; color: #efefed; }
.ml-language { position: relative; }
.ml-language button { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0; background: none; border: 0; color: #b6b6b6; font: inherit; font-size: 12px; cursor: pointer; }
.ml-language button svg { width: 14px; height: 14px; transition: transform 180ms var(--home-motion); }
.ml-language button[aria-expanded=true] svg { transform: rotate(180deg); }
.ml-languages { position: absolute; top: calc(100% + 8px); right: -12px; width: 168px; padding: 7px; background: #171717; border: 1px solid #363636; border-radius: 6px; box-shadow: 0 12px 30px #0005; }
.ml-languages a { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; font-size: 14px; color: #eee; border-radius: 3px; }
.ml-languages a[aria-current=true] { background: #232323; color: var(--home-blue); }


/* Shared across public and application shells. The logo artwork is the existing cat. */
.ml-logo { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; color: var(--text-strong, #efefed); text-decoration: none; font-family: "Golos Text", "Segoe UI", sans-serif; }
.ml-logo .ml-logo-image { display: block; flex: 0 0 auto; width: 40px; height: 40px; object-fit: contain; }
.ml-logo .ml-logo-name { font-size: 23px; font-weight: 650; letter-spacing: -.9px; line-height: 1.2; font-style: normal; }
.ml-logo-name > span { color: #91b9e8; }
html[data-theme=light] .ml-logo-name > span { color: #31689f; }
body.manalog-public-header { --pub-header-h: 64px; --home-pad: clamp(22px, 4.5vw, 72px); --home-blue: #91b9e8; --home-motion: cubic-bezier(.22, 1, .36, 1); padding-top: var(--pub-header-h); }
[data-public-header] { font-family: "Golos Text", "Segoe UI", sans-serif; font-weight: 400; line-height: 1.4; }
[data-public-header] a { text-decoration: none; }
[data-public-header] .ml-nav { display: flex; gap: 28px; }
[data-public-header] .ml-brand { color: #efefed; }
[data-public-header] svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
[data-public-header] .ml-language button svg { width: 14px; height: 14px; }
[data-public-header] [hidden] { display: none !important; }
[data-public-header] :focus-visible { outline: 2px solid #91b9e8; outline-offset: 4px; }
[data-public-header] .ml-menu-toggle { display: none; min-height: 44px; width: 32px; padding: 0; border: 0; background: transparent; color: #c7c7c7; align-items: center; justify-content: center; cursor: pointer; }
[data-public-header] .ml-login { background: transparent; font-weight: 500; transition: background-color 350ms ease; }
[data-public-header] .ml-login:hover { background: #151a20; }
[data-public-header] .ml-nav a:hover { color: #fff; }
[data-public-header] .ml-languages a:hover { background: #262626; }
body.auth-page.manalog-public-header .auth-shell { min-height: calc(100dvh - var(--pub-header-h)); padding-top: 42px; }
.app-page .topbar { background: var(--bg-elev); backdrop-filter: none; }
.app-page .topbar .ml-logo { margin-right: 16px; }
@media (max-width: 1050px) {
  [data-public-header] { gap: 20px; }
  [data-public-header] .ml-nav { gap: 18px; }
  [data-public-header] .ml-header-actions { gap: 16px; margin-left: auto; }
}
@media (max-width: 900px) {
  [data-public-header] .ml-menu-toggle { display: inline-flex; }
  [data-public-header] .ml-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: 14px var(--home-pad) 20px; background: #070707; border-bottom: 1px solid #292929; }
  [data-public-header].is-menu-open .ml-nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px 20px; }
  [data-public-header] .ml-nav a { min-height: 44px; }
}
@media (max-width: 760px) {
  body.manalog-public-header { --pub-header-h: 56px; }
  .ml-logo .ml-logo-image { width: 32px; height: 32px; }
  .ml-logo .ml-logo-name { font-size: 20px; }
  .app-page .topbar .ml-logo { margin-right: 0; gap: 8px; }
}
@media (max-width: 520px) {
  [data-public-header] { gap: 8px; padding-inline: 16px; }
  [data-public-header] .ml-header-actions { gap: 10px; }
  [data-public-header] .ml-logo { gap: 8px; }
  [data-public-header] .ml-login { padding-inline: 12px; font-size: 12px; }
  [data-public-header] .ml-language button { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { [data-public-header] *, [data-public-header] *::before { animation: none !important; transition: none !important; } }

@media (max-width: 360px) {
  [data-public-header] { padding-inline: 12px; }
  [data-public-header] .ml-header-actions { gap: 4px; }
  [data-public-header] .ml-login { padding-inline: 10px; }
}
