/**
 * 公众页整页滚动：覆盖 NeoAdmin layout-shell 的 body overflow:hidden。
 * 须在 layout-shell.css 之后加载（见 App.razor）。
 */
html.neo-public-active,
html:has(.neo-public-page),
body.neo-public-active,
body:has(.neo-public-page) {
  height: auto !important;
  min-height: 100%;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

body.neo-public-active > *,
body:has(.neo-public-page) > * {
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}

/**
 * 公众页原生 select 与登记表单 input（px-4 py-3.5 text-sm）对齐，
 * 覆盖 neo-select.css 的 h-8（2rem）。
 */
.neo-public-page select {
  box-sizing: border-box;
  height: 3.125rem !important;
  min-height: 3.125rem !important;
  padding-block: 0.875rem !important;
  padding-inline: 1rem 2rem !important;
  font-size: 0.875rem !important;
  line-height: 1.25rem !important;
}

.neo-public-page [data-referral-tab].is-active {
  background-color: #2d5e3a;
  border-color: #2d5e3a;
  color: #fff;
}

.neo-public-page [data-referral-org-card].is-selected {
  border-color: #2d5e3a;
  box-shadow: 0 0 0 1px #2d5e3a;
}
