/* One header for public pages, company workspaces and platform administration. */
.site-header { position: sticky; top: 0; z-index: 1001; background: #182633; color: #fff; border-bottom: 1px solid #ffffff14; }
.site-header-inner { width: min(1280px, calc(100% - 96px)); min-height: 78px; margin-inline: auto; display: flex; align-items: center; gap: 25px; }
.site-header a { color: #c3cdd5; }
.site-header a:hover { color: #fff; }
.site-header :is(a, button, summary):focus-visible { outline: 2px solid #f1a92a; outline-offset: 4px; }
.site-header .site-header-brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; color: #fff; white-space: nowrap; font-size: 1.12rem; font-weight: 850; letter-spacing: .04em; }
.site-header-mark { display: grid; place-items: center; width: 34px; height: 34px; background: #f0a627; color: #172431; border-radius: 5px; font-size: .84rem; font-weight: 850; letter-spacing: -.05em; }
.site-header-navigation { display: flex; align-items: center; justify-content: center; flex: 1; gap: 28px; }
.site-header-navigation > a, .site-header-login { padding-block: 14px; font-size: .82rem; font-weight: 600; white-space: nowrap; }
.site-header-navigation a[aria-current="page"], .site-header-login[aria-current="page"] { color: #fff; text-decoration: underline; text-decoration-color: #f1a92a; text-underline-offset: 8px; text-decoration-thickness: 2px; }
.site-header-navigation a:hover, .site-header-login:hover { text-decoration: underline; text-underline-offset: 8px; }
.site-header-actions { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.site-header .site-header-primary { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 43px; padding: 11px 17px; border: 1px solid transparent; border-radius: 9px; background: #f1a92a; color: #1b2a34; font-size: .8rem; line-height: 1.3; font-weight: 750; white-space: nowrap; cursor: pointer; }
.site-header .site-header-primary:hover { background: #ffbd49; color: #172431; }
.site-header summary { list-style: none; }
.site-header summary::-webkit-details-marker { display: none; }
.site-header-chevron { width: 16px; height: 16px; }
.site-header-account[open] .site-header-chevron { transform: rotate(180deg); }
.site-header-account { position: relative; }
.site-header-panel { position: absolute; top: calc(100% + 15px); right: 0; width: 272px; max-height: calc(100dvh - 106px); overflow-y: auto; padding: 10px; background: #182633; color: #fff; border: 1px solid #405366; border-radius: 12px; box-shadow: 0 16px 45px #0a203638; }
.site-header-identity { display: grid; gap: 4px; padding: 9px 12px 16px; margin-bottom: 7px; border-bottom: 1px solid #405366; overflow-wrap: anywhere; }
.site-header-identity strong { font-size: .88rem; }
.site-header-identity span { font-size: .75rem; color: #b8c6d2; }
.site-header-panel nav { display: grid; gap: 2px; }
.site-header-panel a, .site-header-sign-out { display: block; padding: 9px 12px; border-radius: 6px; font-size: .83rem; line-height: 1.5; }
.site-header-panel a:hover, .site-header-panel a[aria-current="page"] { color: #fff; background: #2b4053; }
.site-header-panel a[aria-current="page"] { box-shadow: inset 3px 0 #f1a92a; }
.site-header-sign-out-form { margin: 8px 0 0; padding-top: 8px; border-top: 1px solid #405366; }
.site-header-sign-out { width: 100%; border: 0; background: transparent; color: #f4c978; text-align: left; font-weight: 650; }
.site-header-sign-out:hover { background: #ffffff12; color: #ffdb9a; }
.site-header-mobile { display: none; }

.language-switcher { display: flex; align-items: center; gap: 3px; flex-shrink: 0; }
.language-switcher-form { margin: 0; }
.language-switcher-button { display: block; padding: 8px 6px; color: #cad8e4; border: 1px solid transparent; border-radius: 5px; background: transparent; font-size: .68rem; font-weight: 700; line-height: 1.3; }
.language-switcher-button:hover { background: #ffffff18; color: #fff; }
.language-switcher-button.is-active { border-color: #f1a92a; color: #f1a92a; }

@media (max-width: 1200px) {
  .site-header-inner { width: calc(100% - 64px); gap: 18px; }
  .site-header-navigation { gap: 18px; }
  .site-header-navigation > a { font-size: .76rem; }
  .site-header-actions { gap: 14px; }
}
@media (max-width: 1050px) {
  .site-header-navigation, .site-header-actions { display: none; }
  .site-header-inner > .language-switcher { margin-left: auto; }
  .site-header-mobile { display: block; }
  .site-header-mobile > summary { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; min-height: 44px; padding: 10px; border-radius: 5px; cursor: pointer; }
  .site-header-mobile > summary > span { display: block; width: 24px; height: 2px; background: #fff; }
  .site-header-mobile[open] > summary { background: #ffffff12; }
  .site-header-mobile-panel { position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100dvh - 78px); overflow-y: auto; padding: 12px 32px 24px; background: #182633; border-bottom: 1px solid #405366; box-shadow: 0 18px 25px #18263330; }
  .site-header-mobile-panel nav { display: grid; }
  .site-header-mobile-panel a { display: block; padding: 11px 12px; border-radius: 6px; font-size: .9rem; }
  .site-header-mobile-panel a:hover, .site-header-mobile-panel a[aria-current="page"] { color: #fff; background: #2b4053; }
  .site-header-mobile-panel a[aria-current="page"] { box-shadow: inset 3px 0 #f1a92a; }
  .site-header-mobile-account { margin-top: 12px; padding-top: 14px; border-top: 1px solid #405366; }
  .site-header-section-label { margin: 0 12px 8px; color: #f1a92a; font-size: .7rem; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
  .site-header-mobile-account .site-header-primary { margin-top: 10px; }
}
@media (max-width: 600px) {
  .site-header-inner { width: calc(100% - 40px); min-height: 72px; gap: 12px; }
  .site-header .site-header-brand { font-size: 1.06rem; }
  .site-header-mobile-panel { max-height: calc(100dvh - 72px); padding-inline: 20px; }
}
@media (max-width: 360px) {
  .site-header-inner { width: calc(100% - 24px); gap: 7px; }
  .site-header .site-header-brand { gap: 7px; font-size: .94rem; }
  .language-switcher-button { padding-inline: 5px; }
}
@media print { .site-header { display: none; } }
