:root {
  --navy-950: #061222;
  --navy-900: #0c1a2e;
  --navy-800: #122a4a;
  --blue-600: #1e5a96;
  --blue-500: #2b6cb0;
  --blue-400: #4299e1;
  --sky-100: #e8f2fb;
  --sky-50: #f4f8fd;
  --white: #ffffff;
  --text: #1a202c;
  --text-muted: #4a5568;
  --accent: #ff4d4d;
  --accent-soft: rgba(255, 77, 77, 0.18);
  --header-bg: #0b1a2b;
  --header-line: rgba(255, 255, 255, 0.14);
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(6, 18, 34, 0.08);
  --shadow-lg: 0 20px 50px rgba(6, 18, 34, 0.12);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: linear-gradient(180deg, var(--sky-50) 0%, var(--white) 38%);
  min-height: 100vh;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

input,
textarea,
select,
option {
  -webkit-user-select: text;
  user-select: text;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: var(--blue-600);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--header-bg);
  color: var(--white);
  border-bottom: 1px solid var(--header-line);
}

.site-header a {
  color: inherit;
}

.site-header a.btn--accent {
  color: #ff4d4d;
}

.header-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0.85rem clamp(0.75rem, 1.8vw, 1.5rem);
  overflow-x: visible;
}

.header-bar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem 0.65rem;
  min-width: 0;
  width: 100%;
}

.header-brand {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.55rem 0.65rem;
  flex-shrink: 0;
  min-width: 0;
}

.header-brand__search {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
  flex-shrink: 0;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.88);
  color: inherit;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
  font-weight: 600;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.07);
}

.menu-toggle__bars {
  width: 18px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.brand:hover {
  text-decoration: none;
  opacity: 0.94;
}

.brand__emblem-img {
  display: block;
  width: 52px;
  height: auto;
  max-height: 58px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand__text {
  font-weight: 700;
  font-size: clamp(0.78rem, 1.5vw, 1.05rem);
  letter-spacing: 0.03em;
  text-transform: none;
  line-height: 1.15;
  white-space: nowrap;
}

.header-toolbar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.3rem 0.5rem;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.76rem;
}

.header-pill,
.header-pill.header-pill--link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
}

.header-pill:hover,
.header-pill.header-pill--link:hover {
  background: rgba(255, 255, 255, 0.07);
  text-decoration: none;
  color: inherit;
}

.header-toolbar__sep {
  width: 1px;
  height: 1.35rem;
  margin: 0 0.2rem;
  background: rgba(255, 255, 255, 0.22);
  flex-shrink: 0;
}

.util-link--contacts {
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.07em;
  white-space: nowrap;
  padding: 0.2rem 0;
}

.btn--nav {
  padding: 0.42rem 0.65rem;
  border-radius: 6px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.2;
  white-space: nowrap;
}

.util-link {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.util-link:hover {
  color: var(--white);
  text-decoration: none;
}

.util-link--icononly {
  padding: 0.25rem;
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.92);
}

.util-link--icononly:hover {
  background: rgba(255, 255, 255, 0.08);
}

.util-link--max {
  color: #0f1f34;
}

.util-link--max:hover {
  background: transparent;
}

.util-max-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  background: #ffffff;
  color: #0f1f34;
  box-shadow: inset 0 0 0 1px rgba(15, 31, 52, 0.12);
}

.util-link--caps {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
  font-weight: 600;
}

.util-icon {
  flex-shrink: 0;
}

.util-icon--fill {
  stroke: none;
}

.util-link--vk .util-icon--fill {
  transform: translateY(1px);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lang-switch__ru {
  text-decoration: none;
  padding: 0.15rem 0.1rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
}

.lang-switch__ru:hover {
  color: var(--white);
  text-decoration: none;
}

.lang-switch__ru.lang-switch__ru--on {
  color: #e8c547;
  font-weight: 700;
}

.lang-switch__en {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: auto;
  height: auto;
  padding: 0.15rem 0.1rem;
  border: none;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1;
}

.lang-switch__en:hover {
  color: var(--white);
  background: transparent;
  text-decoration: none;
}

.lang-switch__en.lang-switch__en--on {
  min-width: 1.9rem;
  height: 1.9rem;
  padding: 0 0.35rem;
  border-radius: 50%;
  background: #ffffff;
  color: #0d0d0d;
  font-size: 0.58rem;
  font-weight: 700;
}

.lang-switch__en.lang-switch__en--on:hover {
  background: #f2f2f2;
  color: #000;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.btn:hover {
  text-decoration: none;
}

.btn--sm {
  padding: 0.4rem 0.75rem;
  font-size: 0.68rem;
}

.btn--outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.88);
  color: var(--white);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn--accent {
  background: rgba(255, 77, 77, 0.06);
  border-color: #d93b3b;
  color: #d93b3b;
  box-shadow: none;
  text-shadow: none;
}

.btn--accent:hover {
  background: rgba(255, 77, 77, 0.12);
  color: #bf2f2f;
  border-color: #bf2f2f;
  box-shadow: none;
  text-shadow: none;
}

.btn--primary {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  color: var(--white);
  border: none;
}

.btn--primary:hover {
  filter: brightness(1.06);
}

.btn--block {
  width: 100%;
  margin-top: 1rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(12, 26, 46, 0.06);
}

.card--elevated {
  box-shadow: var(--shadow-lg);
}

.layout-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 18, 34, 0.45);
  z-index: 45;
  backdrop-filter: blur(2px);
}

.side-nav {
  --side-nav-top: 5rem;
  --side-nav-left: 0;
  --side-nav-width: min(400px, 100vw);
  position: fixed;
  top: var(--side-nav-top);
  left: var(--side-nav-left);
  width: var(--side-nav-width);
  max-height: calc(100vh - var(--side-nav-top));
  background: #10253d;
  color: var(--white);
  z-index: 50;
  padding: 0.5rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  overflow-y: auto;
  box-shadow: none;
}

.side-nav[hidden] {
  display: block;
}

.side-nav--open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.side-nav__title {
  display: none;
}

.side-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.side-nav__list a {
  display: block;
  padding: 0.65rem 0.95rem;
  color: #ffffff;
  border-bottom: 0;
  font-size: 0.78rem;
  text-decoration: none;
  text-transform: uppercase;
  line-height: 1.28;
}

.side-nav__link-title {
  display: block;
  font-size: inherit;
  font-weight: 600;
  line-height: inherit;
}

.side-nav__list a:hover {
  color: var(--white);
  padding-left: 1.15rem;
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
  transition: padding 0.15s, background 0.15s;
}

.menu-toggle[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 720px) {
  .side-nav {
    --side-nav-width: min(400px, 100vw);
  }
}

.hero {
  position: relative;
  min-height: clamp(300px, 48vw, 460px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  overflow: hidden;
  background: #030b14;
}

.hero__bands {
  position: absolute;
  inset: -25%;
  background:
    linear-gradient(118deg, rgba(36, 120, 200, 0.28) 0%, transparent 44%),
    linear-gradient(-34deg, rgba(24, 86, 160, 0.22) 0%, transparent 50%),
    linear-gradient(8deg, rgba(18, 70, 130, 0.14) 25%, transparent 58%);
}

.hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 52% 62% at 50% 36%, rgba(56, 189, 248, 0.42) 0%, rgba(14, 116, 180, 0.14) 38%, transparent 68%),
    radial-gradient(ellipse 95% 85% at 50% 115%, rgba(6, 40, 82, 0.9) 0%, transparent 58%),
    linear-gradient(180deg, rgba(4, 14, 28, 0.2) 0%, transparent 40%, rgba(2, 8, 18, 0.65) 100%);
  pointer-events: none;
}

.hero__network {
  position: absolute;
  inset: 0;
  background-image: url("../assets/hero-network.svg");
  background-size: cover;
  background-position: center;
  opacity: 0.72;
  mix-blend-mode: screen;
}

.hero__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 72% 68% at 50% 42%, transparent 28%, rgba(1, 6, 14, 0.82) 100%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2.75rem 1.25rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__emblem-stack {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.65rem;
  min-height: min(200px, 44vw);
}

.hero__emblem-ring {
  position: absolute;
  width: min(220px, 58vw);
  height: min(220px, 58vw);
  border-radius: 50%;
  border: 1px solid rgba(186, 230, 253, 0.32);
  box-shadow:
    0 0 0 1px rgba(125, 211, 252, 0.1),
    0 0 70px rgba(56, 189, 248, 0.28),
    inset 0 0 55px rgba(125, 211, 252, 0.12);
  pointer-events: none;
}

.hero__emblem-img {
  position: relative;
  width: min(136px, 38vw);
  height: auto;
  filter:
    drop-shadow(0 0 32px rgba(255, 255, 255, 0.38))
    drop-shadow(0 10px 28px rgba(0, 0, 0, 0.5));
  z-index: 1;
}

.hero__title {
  margin: 0;
  font-size: clamp(1.75rem, 5vw, 2.85rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.08;
  max-width: min(94vw, 980px);
  overflow-wrap: anywhere;
  text-wrap: balance;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45);
}

.hero__subtitle {
  margin: 0.55rem 0 0;
  max-width: 28rem;
  font-size: 0.95rem;
  opacity: 0.88;
  font-weight: 500;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.employee-widget {
  max-width: 1200px;
  margin: -2.5rem auto 0;
  padding: 0 1.25rem;
  position: relative;
  z-index: 2;
}

.employee-widget__inner {
  padding: 1.5rem 1.75rem;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .employee-widget__inner {
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
  }
}

.employee-widget__text h2 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.employee-widget__text p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.employee-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: stretch;
}

.employee-form__input {
  flex: 1 1 200px;
  min-width: 0;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(12, 26, 46, 0.12);
  border-radius: var(--radius-sm);
  font: inherit;
  background: var(--sky-50);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.employee-form__input:focus {
  outline: none;
  border-color: var(--blue-400);
  box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.2);
  background: var(--white);
}

.employee-result {
  grid-column: 1 / -1;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
}

.employee-result--ok {
  background: var(--sky-100);
  border: 1px solid rgba(30, 90, 150, 0.15);
}

.employee-result--empty {
  background: #fff8f8;
  border: 1px solid rgba(197, 48, 48, 0.2);
  color: var(--text);
}

.employee-dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1.25rem;
  margin: 0;
}

.employee-dl dt {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.employee-dl dd {
  margin: 0;
  font-weight: 600;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
}

.content-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 900px) {
  .content-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.news-block,
.notice-block {
  padding: 1.5rem 1.75rem;
}

.section-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.section-head h2 {
  margin: 0;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.section-head__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.section-head__dot--blue {
  background: var(--blue-500);
}

.section-head__dot--red {
  background: var(--accent);
}

.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-list li {
  border-bottom: 1px solid rgba(12, 26, 46, 0.08);
}

.news-list li:last-child {
  border-bottom: none;
}

.news-list__link {
  display: block;
  padding: 0.85rem 0;
  color: inherit;
  text-decoration: none;
}

.news-list__link:hover {
  color: var(--blue-600);
}

.news-list__link time {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.news-list__link span {
  font-weight: 600;
  font-size: 0.92rem;
}

.notice-block__text {
  margin: 0 0 0.5rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.tiles-section {
  margin-top: 2.75rem;
}

.tiles-section__title {
  font-size: 1.1rem;
  margin: 0 0 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tiles-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.tile {
  padding: 0;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.tile__media {
  height: 140px;
  background-color: #dbeafe;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.tile__media--1 {
  background-image: url("../assets/official-header-bg.jpg");
  background-position: center;
}

.tile__media--2 {
  background-image: url("../assets/official-header-emblem.png");
  background-position: center;
}

.tile__media--3 {
  background-image: url("../assets/official-victory-banner.png");
  background-position: center 38%;
}

.tile__title {
  margin: 0;
  padding: 1rem 1.25rem 0.25rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tile__more {
  display: inline-block;
  padding: 0 1.25rem 1.25rem;
  font-weight: 600;
  font-size: 0.88rem;
}

.site-footer {
  background: linear-gradient(180deg, var(--navy-900), var(--navy-950));
  color: rgba(255, 255, 255, 0.88);
  padding: 2.5rem 1.25rem 1.5rem;
  margin-top: 2rem;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.footer-col__title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.55;
  margin: 0 0 0.75rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.88rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-links li {
  margin-bottom: 0.45rem;
}

.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  opacity: 0.85;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom__emblem {
  width: 32px;
  height: auto;
  flex-shrink: 0;
  border-radius: 6px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.modal {
  border: none;
  padding: 0;
  background: transparent;
  max-width: calc(100vw - 2rem);
}

.modal::backdrop {
  background: rgba(6, 18, 34, 0.5);
  backdrop-filter: blur(3px);
}

.modal__panel {
  position: relative;
  padding: 1.75rem;
  min-width: min(420px, 92vw);
}

.modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  background: var(--sky-100);
  border-radius: 50%;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text);
}

.modal__close:hover {
  background: #ddeaf7;
}

.modal__panel h2 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  padding-right: 2rem;
}

.modal__lead {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (max-width: 1100px) {
  .header-pill,
  .header-pill.header-pill--link {
    padding: 0.28rem 0.48rem;
    font-size: 0.6rem;
    gap: 0.3rem;
  }

  .btn--nav {
    padding: 0.3rem 0.48rem;
    font-size: 0.52rem;
  }

  .util-link--caps,
  .util-link--contacts {
    font-size: 0.6rem;
  }
}

@media (max-width: 640px) {
  .btn--nav {
    padding: 0.3rem 0.45rem;
    font-size: 0.5rem;
  }

  .util-link--contacts {
    font-size: 0.58rem;
  }

  .brand__text {
    max-width: 46vw;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand__emblem-img {
    width: 42px;
    max-height: 48px;
  }
}

/* Mobile homepage/layout stabilization */
@media (max-width: 820px) {
  .header-shell {
    padding: 0.5rem 0.55rem 0.55rem;
  }

  .header-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.35rem;
  }

  .header-brand {
    width: auto;
    justify-content: flex-start;
    gap: 0.35rem;
    min-width: 0;
  }

  .menu-toggle {
    padding: 0.36rem 0.46rem;
    min-height: 34px;
    border-color: rgba(255, 255, 255, 0.52);
    border-radius: 7px;
  }

  .menu-toggle__label {
    display: none;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
    gap: 0.38rem;
  }

  .brand__text {
    font-size: 0.62rem;
    letter-spacing: 0.02em;
    max-width: 40vw;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-brand__search {
    display: none;
  }

  .header-toolbar {
    width: auto;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 0.3rem;
    padding-top: 0;
    border-top: 0;
    overflow: hidden;
  }

  .header-toolbar__sep {
    display: none;
  }

  .util-link--contacts,
  .util-link--vk,
  .site-header a[href="https://t.me"],
  .site-header a[href="/rss.xml"],
  #open-feedback,
  #btn-a11y,
  #btn-open-register {
    display: none;
  }

  .header-toolbar .util-link--icononly {
    display: none;
  }

  .util-link--icononly {
    padding: 0.15rem;
  }

  .lang-switch {
    margin-left: 0.1rem;
    order: 0;
    gap: 0.35rem;
  }

  .header-auth-slot {
    order: 0;
    width: 0;
    display: none;
    margin-right: 0;
  }

  #btn-open-register,
  #btn-open-login {
    min-height: 32px;
    font-size: 0.58rem;
    padding: 0.32rem 0.56rem;
    letter-spacing: 0.02em;
    text-transform: none;
    border-radius: 7px;
  }

  #btn-open-login {
    margin-left: 0;
    border-color: rgba(255, 255, 255, 0.36);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    white-space: nowrap;
  }

  .hero {
    min-height: 340px;
    border-radius: 0;
  }

  .hero__content {
    padding: 2rem 1rem 2.15rem;
  }

  .hero__title {
    font-size: clamp(1.28rem, 6.4vw, 1.72rem);
    letter-spacing: 0.03em;
    line-height: 1.12;
  }

  .hero__subtitle {
    font-size: 0.95rem;
    max-width: 95%;
  }

  .employee-widget {
    margin-top: -0.9rem;
    padding-inline: 0.7rem;
  }

  .employee-widget__inner {
    padding: 1rem;
  }

  .employee-form {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .employee-form .btn {
    width: 100%;
  }

  .content-grid,
  .tiles-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .content-grid,
  .tiles-section,
  .site-footer {
    padding-inline: 0.7rem;
  }

  .card {
    border-radius: 12px;
  }

  .modal__panel {
    min-width: 0;
    width: min(96vw, 560px);
    padding: 1rem;
  }
}

@media (max-width: 420px) {
  .brand__emblem-img {
    width: 34px;
    max-height: 40px;
  }

  .brand__text {
    max-width: 41vw;
    font-size: 0.54rem;
    letter-spacing: 0.01em;
  }

  #btn-open-register,
  #btn-open-login {
    font-size: 0.52rem;
    padding: 0.28rem 0.36rem;
  }

  .hero {
    min-height: 300px;
  }

  .hero__title {
    font-size: 1.06rem;
    letter-spacing: 0.02em;
  }

  .hero__subtitle {
    font-size: 0.86rem;
    max-width: 92%;
  }

  .hero__emblem-img {
    width: 84px;
    height: auto;
  }
}

.header-auth-slot {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  margin-right: 0.15rem;
}

.header-auth-slot a,
.header-auth-slot button {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  padding: 0.28rem 0.5rem;
  cursor: pointer;
  font-family: inherit;
}

.header-auth-slot a:hover,
.header-auth-slot button:hover {
  background: rgba(255, 255, 255, 0.16);
  text-decoration: none;
}

.header-auth-slot .header-user-email {
  font-size: 0.62rem;
  opacity: 0.85;
  max-width: 10rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.a11y-high-contrast {
  filter: contrast(1.15) brightness(1.05);
}

body.a11y-high-contrast .site-header {
  border-bottom-width: 2px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.auth-form label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.auth-form input,
.auth-form textarea {
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(12, 26, 46, 0.15);
  border-radius: var(--radius-sm);
  font: inherit;
}

.auth-form textarea {
  min-height: 5rem;
  resize: vertical;
}

.auth-msg {
  margin: 0;
  font-size: 0.88rem;
  padding: 0.5rem 0.65rem;
  border-radius: var(--radius-sm);
}

.auth-msg--err {
  background: #fff5f5;
  color: #c53030;
  border: 1px solid rgba(197, 48, 48, 0.25);
}

.auth-msg--ok {
  background: var(--sky-100);
  color: var(--blue-600);
  border: 1px solid rgba(30, 90, 150, 0.2);
}

.page-shell {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.page-card {
  padding: 1.5rem 1.75rem;
}

.cabinet-header-bar {
  justify-content: flex-start;
}

.cabinet-back {
  text-decoration: none;
  color: inherit;
  opacity: 0.92;
}

.cabinet-back:hover {
  opacity: 1;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  -webkit-user-select: text;
  user-select: text;
}

.admin-table th,
.admin-table td {
  text-align: left;
  padding: 0.5rem 0.65rem;
  border-bottom: 1px solid rgba(12, 26, 46, 0.1);
}

.admin-table th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.admin-actions button,
.admin-actions select {
  font: inherit;
  font-size: 0.78rem;
  padding: 0.25rem 0.45rem;
  border-radius: 6px;
  border: 1px solid rgba(12, 26, 46, 0.2);
  cursor: pointer;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
}

.admin-tabs button {
  font: inherit;
  font-size: 0.82rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(12, 26, 46, 0.2);
  background: #fff;
  cursor: pointer;
}

.admin-tabs button.is-active {
  background: var(--blue-600, #1e4d8b);
  color: #fff;
  border-color: transparent;
}

.admin-panel[hidden] {
  display: none !important;
}

.employee-chat-actions {
  margin: 1rem 0 0;
}

.chat-modal-panel {
  display: flex;
  flex-direction: column;
  max-width: 760px;
  width: calc(100vw - 2rem);
}

.client-chat-modal {
  min-height: min(82vh, 760px);
  padding: 1rem 1rem 0.9rem;
}

.client-chat-head {
  padding-right: 2.4rem;
}

.client-chat-head h2 {
  margin: 0;
}

.client-chat-head .modal__lead {
  margin-top: 0.35rem;
}

.chat-messages {
  max-height: none;
  overflow-y: auto;
  flex: 1;
  margin: 1rem 0 0;
  padding: 0.75rem;
  border-radius: 10px;
  background: rgba(12, 26, 46, 0.04);
  border: 1px solid rgba(12, 26, 46, 0.08);
}

.client-chat-messages {
  min-height: 320px;
  max-height: min(52vh, 470px);
  background: linear-gradient(180deg, #f7fbff 0%, #eef5ff 100%);
}

.client-chat-compose {
  margin-top: 0.65rem;
  gap: 0.6rem;
}

.client-chat-input {
  min-height: 74px;
  border-radius: 12px;
}

.client-chat-actions {
  display: flex;
  gap: 0.6rem;
  align-items: end;
  justify-content: space-between;
}

.client-chat-file {
  margin: 0;
}

.client-chat-error {
  margin-top: 0.55rem;
}

.chat-msg {
  margin-bottom: 0.65rem;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  font-size: 0.88rem;
}

.chat-msg--visitor {
  margin-left: 1.5rem;
  background: rgba(30, 90, 150, 0.1);
}

.chat-msg--staff {
  margin-right: 1.5rem;
  background: rgba(12, 26, 46, 0.06);
}

.chat-msg__meta {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.chat-msg__body {
  white-space: pre-wrap;
  word-break: break-word;
}

.chat-msg__file {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.82rem;
}

.chat-msg--loading,
.chat-msg--err {
  margin: 0;
  padding: 0.5rem;
}

.chat-msg--err {
  color: #c53030;
}

.chat-send-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.chat-send-form__text {
  font: inherit;
  width: 100%;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  border: 1px solid rgba(12, 26, 46, 0.2);
  resize: vertical;
}

.chat-send-form__file-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.82rem;
}

.chat-send-form__file-label {
  color: var(--text-muted);
}

.admin-chat-thread {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid rgba(12, 26, 46, 0.12);
  background: rgba(255, 255, 255, 0.6);
}

.admin-chat-thread .chat-messages {
  max-height: 220px;
}

.tg-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 1rem;
  min-height: 620px;
}

.tg-sidebar {
  border: 1px solid rgba(12, 26, 46, 0.12);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.tg-sidebar__head {
  padding: 0.75rem;
  border-bottom: 1px solid rgba(12, 26, 46, 0.08);
}

.tg-threads {
  overflow-y: auto;
  padding: 0.4rem;
  flex: 1;
}

.tg-thread {
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 0.6rem 0.65rem;
  margin-bottom: 0.4rem;
  background: transparent;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.tg-thread:hover {
  background: rgba(12, 26, 46, 0.05);
}

.tg-thread.is-active {
  background: rgba(30, 90, 150, 0.12);
}

.tg-thread__title {
  font-size: 0.84rem;
  font-weight: 700;
}

.tg-thread__meta {
  font-size: 0.76rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tg-thread__time {
  margin-top: 0.1rem;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.tg-chat {
  border: 1px solid rgba(12, 26, 46, 0.12);
  border-radius: 12px;
  background: #fff;
  display: flex;
  flex-direction: column;
  min-height: 620px;
}

.tg-chat--empty {
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.tg-chat__head {
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid rgba(12, 26, 46, 0.08);
  background: rgba(12, 26, 46, 0.03);
}

.tg-chat__title {
  margin: 0;
  font-size: 1rem;
}

.tg-chat__sub {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.tg-chat__body {
  flex: 1;
  max-height: none;
  min-height: 420px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg, #f8fbff 0%, #f3f8ff 100%);
}

.tg-chat__composer {
  border-top: 1px solid rgba(12, 26, 46, 0.08);
  padding: 0.75rem;
}

.tg-composer-row {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.tg-composer-row textarea,
#staff-chat-text,
#chat-text {
  width: 100%;
  min-height: 46px;
  max-height: 150px;
  resize: vertical;
  border: 1px solid rgba(12, 26, 46, 0.18);
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  font: inherit;
}

.tg-composer-row--actions {
  margin-top: 0.6rem;
  justify-content: space-between;
}

.chat-msg {
  max-width: 78%;
  margin-bottom: 0.5rem;
  padding: 0.5rem 0.65rem;
  border-radius: 12px;
  font-size: 0.88rem;
  box-shadow: 0 1px 0 rgba(12, 26, 46, 0.08);
}

.chat-msg--visitor {
  margin-left: 0;
  margin-right: auto;
  background: #ffffff;
  border: 1px solid rgba(12, 26, 46, 0.08);
}

.chat-msg--staff {
  margin-right: 0;
  margin-left: auto;
  background: #d9f3ff;
  border: 1px solid rgba(52, 154, 215, 0.25);
}

.chat-msg__meta {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.7rem;
  margin-bottom: 0.2rem;
}

.chat-modal-panel {
  max-width: 760px;
  width: min(96vw, 760px);
}

@media (max-width: 980px) {
  .tg-layout {
    grid-template-columns: 1fr;
  }
  .tg-sidebar {
    min-height: 240px;
  }
  .tg-chat,
  .tg-chat__body {
    min-height: 420px;
  }
  .client-chat-modal {
    min-height: min(88vh, 760px);
  }
  .client-chat-messages {
    max-height: min(52vh, 420px);
  }
}

body.theme-dark {
  color: #e8f2fb;
  background: linear-gradient(180deg, #061222 0%, #0b1a2e 45%, #050b14 100%);
}

body.theme-dark a {
  color: #9bc8ff;
}

body.theme-dark .tg-sidebar,
body.theme-dark .tg-chat,
body.theme-dark .chat-modal-panel,
body.theme-dark .client-chat-messages {
  background: #0f243b;
  border-color: rgba(232, 242, 251, 0.12);
}

body.theme-dark .tg-chat__head,
body.theme-dark .tg-chat__composer,
body.theme-dark .tg-sidebar__head {
  border-color: rgba(232, 242, 251, 0.12);
}

body.theme-dark .client-chat-messages {
  background: linear-gradient(180deg, rgba(20, 54, 86, 0.9) 0%, rgba(12, 30, 51, 1) 100%);
}

body.theme-dark .chat-messages {
  background: rgba(232, 242, 251, 0.04);
  border-color: rgba(232, 242, 251, 0.1);
}

body.theme-dark .chat-msg--visitor {
  background: rgba(155, 200, 255, 0.14);
  border-color: rgba(155, 200, 255, 0.22);
}

body.theme-dark .chat-msg--staff {
  background: rgba(232, 242, 251, 0.06);
  border-color: rgba(232, 242, 251, 0.12);
}

body.theme-dark .chat-msg__meta {
  color: rgba(232, 242, 251, 0.7);
}

.theme-toggle {
  border: 1px solid rgba(232, 242, 251, 0.12);
  background: rgba(12, 26, 46, 0.04);
  color: inherit;
  border-radius: 10px;
  padding: 0.35rem 0.6rem;
  font: inherit;
  font-size: 0.78rem;
  cursor: pointer;
}

body.theme-dark .theme-toggle {
  background: rgba(232, 242, 251, 0.04);
}

.client-chat-ops {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0 0.9rem 0.85rem;
}

.client-chat-ops__left {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.client-chat-ops select {
  font: inherit;
  font-size: 0.82rem;
  padding: 0.45rem 0.6rem;
  border-radius: 10px;
  border: 1px solid rgba(12, 26, 46, 0.2);
}

body.theme-dark .client-chat-ops select {
  background: rgba(232, 242, 251, 0.04);
  border-color: rgba(232, 242, 251, 0.12);
  color: inherit;
}

.client-chat-ops__buttons {
  display: flex;
  gap: 0.55rem;
  align-items: center;
}

/* Messenger polish: sidebar cards, header actions, bubble readability */
.tg-layout {
  height: min(82vh, 860px);
  min-height: 640px;
}

.tg-sidebar,
.tg-chat {
  border-radius: 16px;
  overflow: hidden;
}

.tg-sidebar__head {
  padding: 0.95rem;
}

#client-thread-search,
#staff-thread-search {
  height: 42px;
  border-radius: 12px;
  font-size: 0.95rem;
  padding: 0 0.85rem;
}

.tg-threads {
  padding: 0.5rem;
  gap: 0.35rem;
}

.tg-thread {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  width: 100%;
  text-align: left;
  padding: 0.7rem;
  border-radius: 12px;
  border: 1px solid transparent;
}

.tg-thread:hover {
  background: rgba(52, 154, 215, 0.08);
}

.tg-thread.is-active {
  background: rgba(52, 154, 215, 0.16);
  border-color: rgba(52, 154, 215, 0.35);
}

.tg-thread__avatar {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #3e8ed8, #4bb3d5);
}

.tg-thread__body {
  flex: 1;
  min-width: 0;
}

.tg-thread__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.tg-thread__title {
  font-size: 0.93rem;
  font-weight: 600;
  line-height: 1.2;
}

.tg-thread__meta {
  display: block;
  margin-top: 0.18rem;
  font-size: 0.82rem;
  opacity: 0.88;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tg-thread__time {
  font-size: 0.72rem;
  opacity: 0.75;
  white-space: nowrap;
}

.tg-thread__pin {
  display: inline-block;
  margin-top: 0.22rem;
  font-size: 0.7rem;
  padding: 0.08rem 0.38rem;
  border-radius: 999px;
  background: rgba(52, 154, 215, 0.14);
  color: #1f6cae;
}

.tg-chat__head {
  padding: 0.85rem 1rem;
}

.tg-chat__actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.tg-chat__actions select,
.tg-chat__actions button,
.tg-chat__actions .theme-toggle {
  height: 34px;
  border-radius: 10px;
  font-size: 0.78rem;
}

.tg-chat__body {
  padding: 0.75rem 0.95rem 0.55rem;
}

.chat-messages {
  border-radius: 14px;
  padding: 0.8rem;
}

.chat-msg {
  max-width: min(78%, 620px);
  padding: 0.56rem 0.72rem;
  border-radius: 14px;
}

.chat-msg__body {
  white-space: pre-wrap;
  word-break: break-word;
}

.chat-msg__file {
  display: inline-block;
  margin-top: 0.28rem;
}

.tg-chat__composer {
  padding: 0.7rem 0.95rem;
}

.tg-composer-row textarea,
#staff-chat-text,
#chat-text {
  border-radius: 14px;
  min-height: 48px;
  font-size: 0.92rem;
}

.tg-composer-row--actions {
  margin-top: 0.5rem;
}

body.theme-dark .tg-thread:hover {
  background: rgba(155, 200, 255, 0.12);
}

body.theme-dark .tg-thread.is-active {
  background: rgba(155, 200, 255, 0.18);
  border-color: rgba(155, 200, 255, 0.32);
}

body.theme-dark .tg-thread__pin {
  background: rgba(155, 200, 255, 0.18);
  color: #c8e3ff;
}

body.theme-dark .tg-thread__avatar {
  background: linear-gradient(135deg, #558ecc, #3f7bb7);
}

@media (max-width: 980px) {
  .tg-layout {
    height: auto;
    min-height: 0;
  }
}

/* Mobile messenger UX: compact, native-like layout */
@media (max-width: 760px) {
  #employee-chat-modal.modal {
    margin: 0;
    padding: 0;
    width: 100vw;
    max-width: 100vw;
  }

  #employee-chat-modal.modal::backdrop {
    background: rgba(6, 18, 34, 0.56);
  }

  .chat-modal-panel.client-chat-modal {
    width: 100vw;
    max-width: 100vw;
    min-height: 100dvh;
    border-radius: 0;
    margin: 0;
    padding: 0.72rem 0.72rem calc(0.72rem + env(safe-area-inset-bottom));
  }

  .client-chat-head {
    padding: 0.15rem 2.2rem 0.15rem 0.15rem;
    margin-bottom: 0.3rem;
  }

  .client-chat-head h2 {
    font-size: 0.95rem;
    line-height: 1.2;
  }

  .client-chat-head .modal__lead {
    font-size: 0.78rem;
    margin-top: 0.18rem;
  }

  .client-chat-ops {
    padding: 0.2rem 0.1rem 0.55rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.4rem;
    align-items: stretch;
  }

  .client-chat-ops__left {
    width: 100%;
  }

  .client-chat-ops select {
    width: 100%;
    height: 38px;
    font-size: 0.84rem;
  }

  .client-chat-ops__buttons {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.36rem;
    width: 100%;
  }

  .client-chat-ops__buttons .btn,
  .client-chat-ops__buttons .theme-toggle {
    height: 38px;
    min-width: 0;
    padding: 0.3rem 0.38rem;
    font-size: 0.7rem;
    letter-spacing: 0.01em;
    text-transform: none;
  }

  .chat-messages.client-chat-messages,
  .chat-messages {
    margin-top: 0.45rem;
    padding: 0.62rem;
    min-height: 260px;
    max-height: 46dvh;
    border-radius: 12px;
  }

  .chat-msg {
    max-width: 90%;
    border-radius: 12px;
    padding: 0.5rem 0.58rem;
  }

  .chat-msg__meta {
    font-size: 0.68rem;
    margin-bottom: 0.16rem;
  }

  .chat-send-form.client-chat-compose {
    margin-top: 0.48rem;
    gap: 0.42rem;
  }

  .chat-send-form__text.client-chat-input,
  #chat-text {
    min-height: 48px;
    max-height: 120px;
    border-radius: 12px;
    font-size: 0.9rem;
    padding: 0.55rem 0.62rem;
  }

  .client-chat-actions {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 0.45rem;
  }

  .client-chat-file {
    min-width: 0;
    overflow: hidden;
  }

  .client-chat-file input[type="file"] {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    font-size: 0.76rem;
  }

  .client-chat-actions .btn {
    height: 38px;
    width: 100%;
    padding: 0.4rem 0.7rem;
    font-size: 0.74rem;
    text-transform: none;
  }

  .tg-chat__actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
  }

  .tg-chat__actions > * {
    min-width: 0;
  }

  .tg-chat__actions select {
    grid-column: 1 / -1;
    width: 100%;
  }

  .tg-chat__actions button,
  .tg-chat__actions .theme-toggle {
    height: 36px;
    font-size: 0.74rem;
    text-transform: none;
  }
}

/* Final mobile guards: prevent header/login break on auth state */
@media (max-width: 820px) {
  .header-auth-slot {
    display: none !important;
    width: 0 !important;
    max-width: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #btn-open-login {
    display: inline-flex !important;
  }

  .header-toolbar {
    min-width: 0;
  }
}
