@font-face {
  font-family: Manrope;
  src: url('/assets/fonts/Manrope.woff2') format('woff2'),url('/assets/fonts/Manrope.ttf') format('truetype');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
[hidden], html:lang(ru) [data-locale="uz"], html:lang(uz) [data-locale="ru"] { display: none !important; }
.public-footer { border-top: 1px solid var(--line); padding: 32px 0; background: var(--paper); }
.public-footer .wrap { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 20px 42px; }
.footer-links { display: grid; gap: 6px; }
.footer-links a, .plain-action { width: fit-content; color: var(--brand-dark); font: inherit; font-size: .875rem; text-align: start; text-underline-offset: .18em; }
.plain-action { background: transparent; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
.footer-links strong { font-size: .875rem; }
.site-credit { display: block; font-size: .78rem; color: var(--muted); margin: 6px 0 0; }
.application-note { font-size: .86rem; line-height: 1.55; color: var(--muted); margin: 12px 0 0; }
.application-note a, .data-document a, .cookie-panel a { color: var(--brand-dark); text-underline-offset: .17em; }
.cookie-panel {
  position: fixed; z-index: 30; inset: auto 16px max(12px, env(safe-area-inset-bottom)) auto;
  width: min(31rem, calc(100% - 32px)); padding: 19px 22px;
  max-height: min(75vh, 30rem); overflow: auto;
  background: var(--paper); color: var(--ink); border: 1px solid #bdcec9; border-radius: 16px;
  box-shadow: 0 6px 32px rgba(20,45,42,.14);
}
.cookie-panel h2 { margin: 0 0 6px; font-size: 1.12rem; line-height: 1.35; }
.cookie-panel p { font-size: .875rem; margin: 0 0 9px; line-height: 1.55; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.cookie-actions button { flex: 1 1 8rem; font: inherit; font-weight: 700; font-size: .875rem; min-height: 44px; padding: 6px 12px; border: 1px solid var(--brand); background: #fff; color: var(--brand-dark); border-radius: 8px; cursor: pointer; }
.cookie-actions button:hover { background: var(--brand-soft); }
body:has(.cookie-panel:not([hidden])) { padding-bottom: var(--cookie-space, 17rem); }
.doc-header { border-bottom: 1px solid var(--line); background: #fff; }
.doc-header .wrap { display: flex; justify-content: space-between; align-items: center; padding-block: 14px; gap: 12px; }
.doc-header a { color: var(--brand-dark); }
.data-document { width: min(44rem, calc(100% - 40px)); margin: 0 auto; padding: 48px 0 60px; }
.data-document h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.14; letter-spacing: -.04em; margin: 18px 0; }
.data-document h2 { font-size: 1.3rem; margin: 30px 0 8px; line-height: 1.4; }
.data-document p { margin: 0 0 12px; }
.data-document .intro { color: var(--muted); font-size: 1.06rem; }
.data-document section { border-top: 1px solid var(--line); margin-top: 22px; }
@media(max-width:600px) {
  .cookie-panel { inset-inline: 10px; width: auto; bottom: max(8px, env(safe-area-inset-bottom)); padding: 14px 16px; }
  .public-footer .wrap { justify-content: flex-start; gap: 20px 28px; }
  .public-footer .footer-brand { width: 100%; }
}
