/* Shared home-page header, loaded after each page's styles. */
body .site-header { display:flex; align-items:center; gap:24px; padding:14px clamp(18px,4vw,64px); background:rgba(7,8,22,.93); }
body .site-header .brand { display:flex; align-items:center; flex-shrink:0; gap:12px; margin-left:24px; }
body .site-header .brand .vip-logo-mark { display:block; flex:none; width:69px; height:60px; object-fit:contain; filter:none; border-radius:5px; }
body .site-header .brand .brand-name { display:block; max-width:160px; font-size:11px; line-height:1.45; letter-spacing:.04em; }
body .site-header .nav { display:flex; flex-direction:row; gap:22px; margin-left:auto; font-size:15px; }
body .site-header .header-account { display:inline-flex; flex-shrink:0; margin-left:0; padding:11px 17px; font-size:16px; }
body .site-header .menu-button { display:none; }
body .site-header a:focus-visible, body .site-header button:focus-visible { outline:3px solid #61ffe0; outline-offset:5px; }
@media (min-width:1051px) and (max-width:1350px) {
  body .site-header { gap:12px; padding-inline:25px; }
  body .site-header .brand { margin-left:0; }
  body .site-header .nav { gap:12px; font-size:14px; }
  body .site-header .header-account { padding-inline:12px; font-size:14px; }
}
@media (max-width:1050px) {
  body .site-header { padding:12px 18px; }
  body .site-header .brand { margin-left:0; }
  body .site-header .nav { display:none; }
  body .site-header .header-account { margin-left:auto; }
  body .site-header .menu-button { display:block; flex-shrink:0; margin-left:0; }
  body .site-header.open .nav { display:flex; flex-direction:column; position:absolute !important; top:calc(100% + 8px); left:18px; right:18px; margin:0; padding:18px; border:1px solid var(--stroke); border-radius:20px; background:rgba(7,8,22,.98); max-height:calc(100dvh - 110px); overflow-y:auto; }
}
@media (max-width:760px) {
  body .site-header .brand .vip-logo-mark { width:54px; height:47px; }
}
@media (max-width:680px) {
  body .site-header { gap:9px; padding:12px; }
  body .site-header .brand .brand-name { display:none; }
  body .site-header .header-account { padding:9px 12px; font-size:12px; }
  body .site-header .menu-button { width:38px; height:38px; }
}
@media (max-width:480px) {
  body .site-header .header-account { font-size:10px; padding:11px 10px; }
}
.contacts-dialog { width:min(440px,calc(100vw - 32px)); max-height:calc(100dvh - 32px); overflow:auto; padding:28px 22px 22px; border:1px solid #405b79; border-radius:16px; background:#19293e; color:#e9f0ff; text-align:center; box-shadow:0 30px 100px #0008; }
.contacts-dialog::backdrop { background:#030812ba; backdrop-filter:blur(4px); }
.contacts-dialog h2 { font-size:25px; margin:0 0 20px; }
.contacts-dialog .contacts-links { display:grid; gap:8px; }
.contacts-dialog a { color:#98bde9; text-decoration:underline; overflow-wrap:anywhere; }
.contacts-dialog .contacts-owner { font-size:14px; line-height:1.7; margin:20px 0; }
.contacts-dialog .contacts-owner small { display:block; font-size:12px; }
.contacts-dialog .contacts-qr { width:220px; max-width:80%; height:auto; margin:22px auto; border-radius:10px; }
.contacts-dialog .contacts-close { width:100%; padding:13px; border:1px solid #405b79; border-radius:7px; background:#244162; color:#e9f0ff; font:inherit; cursor:pointer; }

.site-header [data-api-tariffs][hidden] { display:none !important; }

/* Keep the link hidden until the current account's API access is confirmed. */
.site-header:not([data-api-access]) a[href="/tariffs"] { display:none !important; }
