/* Изолированная правка новой версии. Исходные стили не изменяются. */
.header {
  position: fixed !important;
  inset: 16px 0 auto !important;
  padding: 0 !important;
}

.header-body {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  min-height: 56px !important;
}

.header .menu,
.header .burger,
.header .header-mobile-actions { display: none !important; }

.header .ask-ai {
  display: block !important;
  width: 222px !important;
  height: 44px !important;
  margin: 0 !important;
  overflow: hidden;
  background: url('/neiroset/assets/images/logo-two.svg') left center / contain no-repeat;
  font-size: 0 !important;
}

.header .ask-ai > * { display: none !important; }
.header .header-actions { display: flex !important; justify-self: end !important; gap: 8px !important; }

@media (max-width: 560px) {
  .header { inset: 8px 0 auto !important; }
  .header .ask-ai { width: 142px !important; height: 30px !important; }
  .header .header-actions { gap: 6px !important; }
  .header .btn-black,
  .header .btn-white { min-width: 0 !important; padding-inline: 10px !important; }
}

@media (max-width: 360px) {
  .header .ask-ai { width: 112px !important; }
  .header .btn-black,
  .header .btn-white { padding-inline: 8px !important; font-size: 12px !important; }
}
