/* Shared header lockup. Keep this after each surface's existing header styles. */
.skh-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  max-width: 100%;
  flex: none;
  box-sizing: border-box;
  color: #214b3c;
  text-decoration: none;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  text-align: left;
}

.skh-brand .skh-brand-mark {
  display: block;
  width: 40px;
  height: 40px;
  max-width: none;
  flex: 0 0 40px;
  object-fit: contain;
}

.skh-brand > .skh-brand-wordmark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  gap: 4px;
  font-family: inherit;
  letter-spacing: normal;
  line-height: 1;
}

.skh-brand .skh-brand-name {
  display: block;
  color: #214b3c;
  font-family: inherit;
  font-size: 23px;
  font-weight: 750;
  line-height: 1.05;
  letter-spacing: -.7px;
  white-space: nowrap;
}

.skh-brand .skh-brand-region {
  display: block;
  color: #89734c;
  font-family: inherit;
  font-size: 7px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 1.9px;
  white-space: nowrap;
}

.skh-brand:focus-visible {
  outline: 3px solid #a57d35;
  outline-offset: 4px;
  border-radius: 5px;
}

.app-header .brand.skh-brand,
html[lang=zh-Hans] .app-header .brand.skh-brand {
  min-width: 190px;
}

/* The map retains its existing two-row navigation below 980px. */
@media (max-width: 979px) {
  .app-header .brand.skh-brand,
  html[lang=zh-Hans] .app-header .brand.skh-brand {
    min-width: 0;
  }
}

@media (max-width: 760px) {
  .skh-brand {
    gap: 8px;
  }

  .skh-brand .skh-brand-mark {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .skh-brand > .skh-brand-wordmark {
    gap: 3px;
  }

  .skh-brand .skh-brand-name {
    font-size: 20px;
    letter-spacing: -.6px;
  }

  .guide-header {
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
  }

  .guide-header > nav {
    width: 100%;
    justify-content: flex-start;
    gap: 8px 16px;
  }
}
