.site-header { width: 100%; }
.site-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: min(100%, 1110px); min-height: 64px; margin: 0 auto; padding: 14px 30px 8px; }
.site-brand { display: inline-flex; align-items: center; gap: 13px; color: #3c5675; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 19px; font-weight: 750; letter-spacing: .01em; line-height: 1.3; text-decoration: none; text-transform: uppercase; white-space: nowrap; }
.site-brand img { display: block; width: 38px; height: 38px; border-radius: 9px; }
.site-return { color: #617286; font-size: 14px; text-decoration: none; white-space: nowrap; }
.site-header-inner:not(.home-header-inner) .site-return { margin-right: max(0px, calc(100% - 850px)); }
.site-return:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-return:focus-visible { outline: 3px solid #c89e40; outline-offset: 4px; }
.site-menu { position: relative; z-index: 5; text-align: left; }
.site-menu summary { display: flex; align-items: center; gap: 7px; padding: 8px 10px; border: 1px solid #aeb9c5; border-radius: 8px; background: #fff; color: #3c5675; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 14px; font-weight: 600; line-height: 1.4; cursor: pointer; list-style: none; }
.site-menu summary::-webkit-details-marker { display: none; }
.site-menu summary svg { width: 18px; height: 18px; }
.site-menu summary:focus-visible, .site-menu-panel a:focus-visible, .site-menu-panel button:focus-visible { outline: 3px solid #c89e40; outline-offset: 3px; }
.site-menu-panel { position: absolute; top: calc(100% + 6px); right: 0; box-sizing: border-box; width: max-content; max-width: calc(100vw - 32px); padding: 6px; border: 1px solid #c9c5bc; border-radius: 10px; background: #fff; box-shadow: 0 10px 28px rgb(35 54 77 / 15%); }
.site-menu-panel a, .site-menu-panel button { display: block; box-sizing: border-box; width: 100%; padding: 11px 10px; border: 0; border-radius: 6px; background: transparent; color: #3c5675; text-align: left; text-decoration: none; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 14px; font-weight: 400; line-height: 1.4; white-space: nowrap; cursor: pointer; }
.site-menu-panel a:hover, .site-menu-panel button:hover { background: #f2f0ea; }
footer.site-footer { width: 100%; margin-top: 0; padding: 24px 20px 36px; border-top: 1px solid #ddd8ca; color: #657080; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 13px; line-height: 1.5; text-align: center; }
.site-footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 20px; max-width: 1110px; margin: 0 auto; }
.site-footer-links a { color: inherit; text-underline-offset: 3px; }
.site-footer-links a:focus-visible, .site-brand:focus-visible { outline: 3px solid #c89e40; outline-offset: 4px; }
@media (max-width: 700px) { .site-header-inner { padding: 14px 20px 8px; } }
@media (max-width: 520px) {
  .site-header-inner { padding: 14px 16px 8px; }
  .site-menu summary { justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; }
  .site-menu summary svg { width: 24px; height: 24px; }
  .site-menu-label { display: none; }
}
@media (max-width: 360px) {
  .site-header-inner { gap: 12px; }
  .site-brand { gap: 8px; font-size: 16px; }
  .site-return { font-size: 12px; }
}
