/* One header geometry for the homepage, public pages and standalone surveys. */
html:has(.hzd-header) { scrollbar-gutter: stable; }
html:has(.hzd-header)::-webkit-scrollbar { width: 10px; height: 10px; }
html:has(.hzd-header)::-webkit-scrollbar-thumb { border: 2px solid #fcfcfa; border-radius: 99px; background: #c4d4e4; }
body header.hzd-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid #dfe7ef;
  background: rgb(252 252 250 / 97%);
  color: #183b5b;
  backdrop-filter: blur(12px);
}
body .hzd-header .hzd-header-inner {
  box-sizing: border-box;
  display: flex;
  width: 100%;
  max-width: 1200px;
  height: 76px;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 auto;
  padding: 0 40px;
}
body .hzd-header .hzd-brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
body .hzd-header .hzd-brand img {
  display: block;
  width: 156px;
  height: auto;
  max-width: none;
  margin: 0;
  object-fit: contain;
}
body .hzd-header .hzd-header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
body .hzd-header .hzd-header-button {
  box-sizing: border-box;
  display: inline-flex;
  flex: 0 0 96px;
  width: 96px;
  height: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 1px solid #d4e3f0;
  border-radius: 24px;
  background: #f7fafd;
  color: #183b5b;
  font: 500 12px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: none;
  transition: background 180ms, border-color 180ms;
}
body .hzd-header .hzd-header-button svg {
  display: block;
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body .hzd-header .hzd-header-button span { display: inline-flex; margin: 0; }
body .hzd-header a:focus-visible { outline: 2px solid #3478b9; outline-offset: 4px; }
@media (max-width: 768px) {
  body .hzd-header .hzd-header-inner {
    height: 64px;
    min-height: 64px;
    padding-inline: max(18px, env(safe-area-inset-left, 0px)) max(18px, env(safe-area-inset-right, 0px));
  }
  body .hzd-header .hzd-brand img { width: 104px; }
}
@media (max-width: 359px) {
  body .hzd-header .hzd-header-actions { gap: 6px; }
  body .hzd-header .hzd-header-button { flex-basis: 80px; width: 80px; }
}
@media (hover: hover) and (pointer: fine) {
  body .hzd-header .hzd-header-button:hover { border-color: #b8d1e5; background: #eaf3fc; }
}
@media (prefers-reduced-motion: reduce) {
  body .hzd-header .hzd-header-button { transition: none; }
}
