/* SiteHeader owns its namespace. Page styles must not override these rules. */
.hk-site-header {
  --header-height: 56px;
  --header-padding: 16px;
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  box-sizing: border-box;
  background: #fafbf8;
  box-shadow: 0 1px 0 #e0e3de;
  color: #17181d;
  font-family: Arial, 'Malgun Gothic', sans-serif;
}

html { overflow-y: scroll; scrollbar-gutter: stable; }
body[data-site-header-page] { margin: 0; }
/* A formatting context keeps the first child's margin inside the page, not above its header. */
body[data-site-header-page] > main,
body[data-site-header-page] > main[class] { display: flow-root; margin-top: 16px; }
.hk-site-header { font-size: 16px; font-weight: 400; line-height: 1.4; font-style: normal; letter-spacing: normal; text-transform: none; }
.hk-site-header .hk-site-header__toggle { font: 400 22px/1 Arial, 'Malgun Gothic', sans-serif; }
.hk-site-header__nav a, .hk-site-menu a { font-weight: 400; }
.hk-site-header *, .hk-site-menu * { box-sizing: border-box; }
.hk-site-header__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  height: 100%;
  padding: 0 var(--header-padding);
}
.hk-site-header__brand, .hk-site-header__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}
.hk-site-header__brand {
  color: inherit;
  text-decoration: none;
  font-size: 20px;
  font-weight: 800;
  white-space: nowrap;
}
.hk-site-header__brand > span { width: 8px; height: 8px; border-radius: 50%; background: #ee542d; }
.hk-site-header__nav { display: none; flex: 1 1 auto; min-width: 0; align-items: center; justify-content: center; gap: 24px; }
.hk-site-header a, .hk-site-menu a { white-space: nowrap; }
.hk-site-header__nav a, .hk-site-menu a { color: inherit; text-decoration: none; font-size: 14px; }
.hk-site-header__nav a[aria-current], .hk-site-menu a[aria-current] { color: #b73517; }
.hk-site-header__my {
  display: flex; align-items: center; justify-content: center;
  height: 36px; padding: 0 8px; border: 1px solid #727780;
  border-radius: 8px; color: inherit; text-decoration: none; font-size: 11px; font-weight: 700;
}
.hk-site-header .hk-site-header__toggle {
  display: flex; flex: 0 0 36px; align-items: center; justify-content: center;
  width: 36px; height: 36px; padding: 0; border: 1px solid #727780;
  border-radius: 8px; color: inherit; background: transparent; font-size: 22px; cursor: pointer;
}
.hk-site-header a:focus-visible, .hk-site-header button:focus-visible,
.hk-site-menu a:focus-visible, .hk-site-menu button:focus-visible { outline: 2px solid #b73517; outline-offset: 2px; }
.hk-site-menu { width: calc(100% - 32px); max-width: 420px; max-height: 80dvh; padding: 24px; border: 1px solid #e0e3de; border-radius: 12px; background: #fafbf8; color: #17181d; font-family: Arial, 'Malgun Gothic', sans-serif; }
.hk-site-menu::backdrop { background: #0008; }
.hk-site-menu__heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hk-site-menu nav { display: flex; flex-direction: column; gap: 24px; padding: 24px 0 0; }
.hk-site-menu button { padding: 8px; cursor: pointer; }
@media (min-width: 768px) {
  .hk-site-header { --header-height: 64px; --header-padding: 24px; }
  .hk-site-header__nav { display: flex; }
  .hk-site-header .hk-site-header__toggle { display: none; }
}
