.kn-header {
  position: relative;
  z-index: 8;
  width: 100%;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #d6e1e9;
  color: #133052;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}
html[dir="rtl"] .kn-header { font-family: Tahoma, "Segoe UI", Arial, sans-serif; }
.kn-header *, .kn-header *::after, .kn-header *::before { box-sizing: border-box; }
.kn-bar {
  width: min(calc(100% - 72px), 1280px);
  margin-inline: auto;
  min-height: 77px;
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 24px);
  direction: ltr;
}
.kn-header a { text-decoration: none; color: inherit; }
.kn-header :is(a, summary):focus-visible { outline: 3px solid #ad650a; outline-offset: 3px; }
.kn-menu { position: relative; margin: 0; flex: none; }
.kn-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 13px;
  height: 44px;
  border: 1px solid #c3d2dc;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  background: #fff;
  color: #153758;
  font-weight: 650;
  font-size: .92rem;
  line-height: 1;
}
.kn-toggle::-webkit-details-marker { display: none; }
.kn-toggle:hover, .kn-menu[open] .kn-toggle { background: #edf5f2; border-color: #91ab9e; color: #164d3e; }
.kn-burger { display: grid; align-content: center; gap: 4px; width: 17px; height: 18px; }
.kn-burger i { display: block; width: 17px; height: 1.7px; border-radius: 2px; background: currentColor; }
.kn-menu[open] .kn-burger { position: relative; }
.kn-menu[open] .kn-burger i { position: absolute; top: 8px; }
.kn-menu[open] .kn-burger i:first-child { transform: rotate(45deg); }
.kn-menu[open] .kn-burger i:nth-child(2) { opacity: 0; }
.kn-menu[open] .kn-burger i:last-child { transform: rotate(-45deg); }
.kn-identity { display: inline-flex; gap: 7px; align-items: center; direction: ltr; flex-shrink: 0; }
.kn-identity img { width: 54px; height: 39px; object-fit: contain; }
.kn-identity > span { display: flex; flex-direction: column; gap: 4px; color: #133052; font-family: Inter, "Segoe UI", Arial, sans-serif; }
.kn-identity strong { font-weight: 800; font-size: 1.5rem; letter-spacing: -.065em; line-height: .91; }
.kn-identity small { font-size: .565rem; font-weight: 720; letter-spacing: .24em; line-height: 1; }
.kn-quick, .kn-actions { display: flex; align-items: center; flex-shrink: 0; }
.kn-quick { margin-left: auto; gap: clamp(16px, 2.5vw, 35px); }
.kn-actions { gap: clamp(9px, 1.5vw, 22px); }
.kn-shortcut, .kn-actions > a { font-size: .94rem; font-weight: 630; }
.kn-shortcut, .kn-language { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
.kn-shortcut:hover, .kn-shortcut[aria-current], .kn-language:hover { text-decoration: underline; text-underline-offset: 5px; }
.kn-header .kn-language { padding-inline: 4px; }
.kn-header .kn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 8px 16px;
  background: #13395c;
  color: white;
  border-radius: 4px;
  text-align: center;
  line-height: 1.2;
}
.kn-header .kn-cta:hover { background: #194b70; }
.kn-panel {
  position: absolute;
  left: 0;
  top: calc(100% + 11px);
  padding: 22px;
  width: min(515px, calc(100vw - 36px));
  max-height: calc(100vh - 90px);
  max-height: calc(100dvh - 90px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid #cbd7dd;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 36px rgb(12 34 52 / 18%);
  text-align: start;
}
.kn-menu[open] .kn-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.kn-group-name { color: #466957; margin: 0 0 6px; padding: 2px 10px 9px; border-bottom: 1px solid #d9e4df; font-size: .84rem; font-weight: 700; line-height: 1.4; }
.kn-header .kn-destination { display: flex; align-items: center; min-height: 43px; padding: 9px 10px; border-radius: 4px; line-height: 1.3; font-size: 1rem; font-weight: 560; }
.kn-destination[aria-current], .kn-destination:hover { background: #edf4f2; color: #174f3d; }
@media (max-width: 880px) {
  .kn-bar { width: calc(100% - 40px); }
  .kn-quick { display: none; }
  .kn-actions { margin-left: auto; }
}
@media (max-width: 600px) {
  .kn-bar { width: calc(100% - 28px); min-height: 66px; gap: 10px; }
  .kn-toggle { width: 44px; padding: 0; }
  .kn-toggle-text { position: absolute; clip-path: inset(50%); height: 1px; width: 1px; overflow: hidden; }
  .kn-identity { gap: 4px; }
  .kn-identity img { width: 38px; height: 33px; }
  .kn-identity strong { font-size: 1.12rem; }
  .kn-identity small { font-size: .47rem; }
  .kn-actions { gap: 7px; }
  .kn-actions > a { font-size: .86rem; }
  .kn-header .kn-cta { padding: 7px 9px; }
  .kn-panel { top: calc(100% + 8px); width: min(515px, calc(100vw - 28px)); padding: 15px 10px; }
  .kn-menu[open] .kn-panel { gap: 8px; }
  .kn-header .kn-destination { min-height: 44px; font-size: .95rem; }
}
@media (max-width: 400px) {
  .kn-header .kn-cta { display: none; }
}
@supports (position: sticky) {
  .kn-header { position: sticky; top: 0; }
  html { scroll-padding-top: 88px; }
  @media (max-width: 600px) { html { scroll-padding-top: 75px; } }
}
@media (max-width: 600px) {
  .kn-bar { position: relative; }
  .kn-menu { position: static; }
  .kn-menu .kn-panel { width: min(100%, 515px); top: calc(100% - 2px); }
}
