/*
 * HBV Unified UI ownership layer · 2026-07-25
 *
 * This is the final presentation authority for shared layout, hierarchy and
 * responsive behavior. Earlier versioned styles remain as component sources;
 * conflicting shell geometry is deliberately resolved here.
 */
:root {
  --hbv-u-canvas: #f4f7fb;
  --hbv-u-surface: #ffffff;
  --hbv-u-surface-soft: #f8fbff;
  --hbv-u-ink: #142f4d;
  --hbv-u-muted: #6f8298;
  --hbv-u-line: #dce6f1;
  --hbv-u-line-strong: #cbd9e8;
  --hbv-u-blue: #176cf0;
  --hbv-u-blue-soft: #eaf2ff;
  --hbv-u-green: #16845f;
  --hbv-u-amber: #a96f11;
  --hbv-u-red: #b63e36;
  --hbv-u-radius: 16px;
  --hbv-u-shadow: 0 10px 28px rgba(18, 49, 82, .065);
  --hbv-u-shadow-soft: 0 5px 18px rgba(18, 49, 82, .045);
  /* 1600px usable canvas + 28px breathing room on both sides. */
  --hbv-u-content: 1656px;
}

html[data-hbv-unified-ui="ready"],
html[data-hbv-unified-ui="ready"] body {
  min-height: 100%;
  background: var(--hbv-u-canvas);
}

html[data-hbv-unified-ui="ready"] body {
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

html[data-hbv-unified-ui="ready"] :where(
  .admin-main, .admin-content, .admin-page, .main, .page, .panel,
  .panel-body, .workspace-bar, .page-head, .section-intro, .toolbar,
  .table-wrap, .table-shell, .hf21-table-shell, .s20-table-scroll
) {
  min-width: 0;
}

html[data-hbv-unified-ui="ready"] :where(
  p, small, td, th, .cell-sub, .notice-box, .danger-box, .empty-state
) {
  overflow-wrap: break-word;
}

html[data-hbv-unified-ui="ready"] :where(button, a, input, select, textarea, summary):focus-visible {
  outline: 3px solid rgba(23, 108, 240, .27) !important;
  outline-offset: 2px !important;
}

html[data-hbv-unified-ui="ready"] :where(button, .btn, input, select, textarea) {
  min-height: 36px;
}

/* -------------------------------------------------------------------------- */
/* Administration: one toolbar, one context layer, non-overlapping headings.  */
/* -------------------------------------------------------------------------- */

html[data-hbv-unified-ui="ready"] .admin-topbar {
  position: sticky !important;
  top: 0 !important;
  z-index: 90 !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  min-height: 68px !important;
  height: 68px !important;
  padding: 0 24px !important;
  gap: 18px !important;
  border-bottom: 1px solid var(--hbv-u-line) !important;
  background: rgba(255, 255, 255, .97) !important;
  box-shadow: 0 4px 18px rgba(18, 49, 82, .045) !important;
  backdrop-filter: blur(16px);
}

html[data-hbv-unified-ui="ready"] .admin-topbar-left {
  flex: 1 1 auto !important;
  min-width: 170px !important;
  max-width: 430px;
}

html[data-hbv-unified-ui="ready"] .admin-topbar-left > div {
  min-width: 0;
}

html[data-hbv-unified-ui="ready"] .admin-topbar h1 {
  margin: 0 !important;
  overflow: hidden;
  color: var(--hbv-u-ink) !important;
  font-size: 19px !important;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[data-hbv-unified-ui="ready"] .admin-breadcrumb {
  margin-top: 3px !important;
  overflow: hidden;
  color: var(--hbv-u-muted) !important;
  font-size: 10px !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[data-hbv-unified-ui="ready"] .admin-topbar-right {
  display: flex !important;
  flex: 0 0 auto !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  max-width: none !important;
  gap: 7px !important;
  overflow: visible !important;
}

/* Secondary destinations live in the explicit “更多” menu. */
html[data-hbv-unified-ui="ready"] .admin-topbar .admin-quick-links,
html[data-hbv-unified-ui="ready"] .admin-topbar [data-p4-help],
html[data-hbv-unified-ui="ready"] .admin-topbar [data-p4-alert],
html[data-hbv-unified-ui="ready"] .admin-topbar [data-p4-density],
html[data-hbv-unified-ui="ready"] .admin-topbar .r3-density-button {
  display: none !important;
}

html[data-hbv-unified-ui="ready"] .admin-topbar .r3-top-more {
  position: relative;
  display: block !important;
  flex: 0 0 auto;
}

html[data-hbv-unified-ui="ready"] .admin-topbar :where(
  .hf21-s5-command-trigger, #admin-account-security, .r3-top-more > summary
) {
  min-height: 36px !important;
  height: 36px !important;
  padding: 0 11px !important;
  border-radius: 10px !important;
  font-size: 10px !important;
  white-space: nowrap;
}

html[data-hbv-unified-ui="ready"] .admin-topbar .hf21-s5-command-trigger {
  gap: 8px !important;
  border-color: #bfd3ee !important;
  background: var(--hbv-u-blue-soft) !important;
  color: #1758ad !important;
}

html[data-hbv-unified-ui="ready"] .admin-topbar .hf21-s5-command-trigger kbd {
  min-width: 38px;
  padding: 3px 5px;
  border: 1px solid #c7d8eb;
  border-radius: 6px;
  background: #fff;
  color: #61748a;
  font: 700 9px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace;
  text-align: center;
}

html[data-hbv-unified-ui="ready"] .admin-topbar .admin-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px !important;
  max-width: 180px;
  padding: 0 10px !important;
  overflow: hidden;
  border: 1px solid var(--hbv-u-line) !important;
  border-radius: 999px !important;
  background: #f8fafc !important;
  color: #53677e !important;
  font-size: 9.5px !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[data-hbv-unified-ui="ready"] .admin-topbar #runtime-chip.hbv-status-alert {
  border-color: #f0c8c3 !important;
  background: #fff2f0 !important;
  color: #9e332d !important;
  font-weight: 800;
}

html[data-hbv-unified-ui="ready"] .admin-topbar #runtime-chip.hbv-status-warning {
  border-color: #ecd7a7 !important;
  background: #fff8e8 !important;
  color: #83570d !important;
  font-weight: 800;
}

html[data-hbv-unified-ui="ready"] .admin-topbar .s20-runtime-strip {
  flex: 0 0 auto;
  width: auto !important;
  max-width: none !important;
  min-height: 34px !important;
  padding: 0 10px !important;
  border-color: var(--hbv-u-line) !important;
  background: #fff !important;
  font-size: 9.5px !important;
  white-space: nowrap !important;
}

html[data-hbv-unified-ui="ready"] .admin-topbar .s20-runtime-strip .s20-runtime-detail {
  display: none !important;
}

html[data-hbv-unified-ui="ready"] .admin-topbar .admin-avatar {
  display: grid;
  flex: 0 0 36px !important;
  width: 36px !important;
  height: 36px !important;
  place-items: center;
}

html[data-hbv-unified-ui="ready"] .admin-content {
  width: 100% !important;
  max-width: var(--hbv-u-content) !important;
  margin: 0 auto !important;
  padding: 18px 28px 72px !important;
}

html[data-hbv-unified-ui="ready"] .admin-main > .hf21-admin-context {
  display: none !important;
}

html[data-hbv-unified-ui="ready"] .hf21-s5-ops-context {
  display: grid !important;
  grid-template-columns: minmax(230px, 1.35fr) repeat(3, minmax(150px, .75fr)) !important;
  gap: 8px !important;
  margin: 0 0 16px !important;
  padding: 8px !important;
  border: 1px solid var(--hbv-u-line) !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #f8fbff, #fff) !important;
  box-shadow: var(--hbv-u-shadow-soft) !important;
}

html[data-hbv-unified-ui="ready"] .hf21-s5-ops-context > div {
  min-height: 58px !important;
  padding: 9px 11px !important;
  border-radius: 9px !important;
}

html[data-hbv-unified-ui="ready"] .hf21-s5-ops-context :where(span, small) {
  font-size: 9px !important;
}

html[data-hbv-unified-ui="ready"] .hf21-s5-ops-context b {
  font-size: 12px !important;
}

/* A page heading is content, not a second sticky toolbar. */
html[data-hbv-unified-ui="ready"] .admin-page > .page-head,
html[data-hbv-unified-ui="ready"] .admin-page .page-head {
  position: static !important;
  top: auto !important;
  z-index: auto !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  min-height: 0 !important;
  margin: 0 0 14px !important;
  padding: 2px 0 15px !important;
  gap: 18px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--hbv-u-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

html[data-hbv-unified-ui="ready"] .page-head > div:first-child {
  min-width: 0;
  max-width: 980px;
}

html[data-hbv-unified-ui="ready"] .page-head h2 {
  margin: 0 !important;
  color: var(--hbv-u-ink) !important;
  font-size: clamp(24px, 2vw, 30px) !important;
  line-height: 1.2 !important;
  letter-spacing: -.035em !important;
}

html[data-hbv-unified-ui="ready"] .page-head p {
  max-width: 900px !important;
  margin: 6px 0 0 !important;
  color: var(--hbv-u-muted) !important;
  font-size: 11px !important;
  line-height: 1.6 !important;
}

html[data-hbv-unified-ui="ready"] .page-actions {
  display: flex !important;
  flex: 0 0 auto;
  flex-wrap: wrap !important;
  justify-content: flex-end !important;
  gap: 8px !important;
}

html[data-hbv-unified-ui="ready"] #page-dashboard > .admin-command-strip {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  gap: 9px !important;
  margin: 0 0 14px !important;
}

html[data-hbv-unified-ui="ready"] #page-dashboard .admin-command-card {
  min-width: 0 !important;
  min-height: 74px !important;
  padding: 11px 12px !important;
  border: 1px solid var(--hbv-u-line) !important;
  border-radius: 13px !important;
  background: #fff !important;
  box-shadow: var(--hbv-u-shadow-soft) !important;
}

html[data-hbv-unified-ui="ready"] #page-dashboard .admin-command-card:hover {
  border-color: #b9ceed !important;
  background: #f8fbff !important;
  transform: translateY(-1px);
}

html[data-hbv-unified-ui="ready"] #page-dashboard .admin-command-card span {
  min-width: 0;
}

html[data-hbv-unified-ui="ready"] #page-dashboard .admin-command-card b {
  font-size: 12px !important;
}

html[data-hbv-unified-ui="ready"] #page-dashboard .admin-command-card small {
  display: -webkit-box;
  margin-top: 4px;
  overflow: hidden;
  font-size: 9px !important;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

html[data-hbv-unified-ui="ready"] .ops-status-card {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 104px !important;
  margin: 0 0 16px !important;
  padding: 16px 18px !important;
  gap: 18px !important;
  border-radius: 15px !important;
  box-shadow: var(--hbv-u-shadow-soft) !important;
}

html[data-hbv-unified-ui="ready"] .ops-status-card h3 {
  margin: 3px 0 5px !important;
  font-size: 20px !important;
}

html[data-hbv-unified-ui="ready"] .ops-status-card p {
  font-size: 10px !important;
  line-height: 1.55 !important;
}

html[data-hbv-unified-ui="ready"] .ops-status-facts {
  gap: 7px !important;
}

html[data-hbv-unified-ui="ready"] .ops-status-facts span {
  min-height: 34px;
  padding: 7px 9px !important;
  font-size: 10px !important;
}

html[data-hbv-unified-ui="ready"] .admin-grid,
html[data-hbv-unified-ui="ready"] .metric-grid {
  align-items: stretch !important;
  gap: 12px !important;
}

html[data-hbv-unified-ui="ready"] .admin-page .panel,
html[data-hbv-unified-ui="ready"] .admin-page .metric-card {
  border-color: var(--hbv-u-line) !important;
  box-shadow: var(--hbv-u-shadow-soft) !important;
}

/* -------------------------------------------------------------------------- */
/* Member workspace: compact context and progress, especially on small screens. */
/* -------------------------------------------------------------------------- */

html[data-hbv-unified-ui="ready"] .hf21-family-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 80 !important;
  min-height: 68px !important;
  height: 68px !important;
}

html[data-hbv-unified-ui="ready"] .preview-mode-banner {
  position: static !important;
  top: auto !important;
  z-index: auto !important;
  min-height: 44px !important;
  padding: 7px 20px !important;
  gap: 14px !important;
  box-shadow: 0 5px 16px rgba(20, 55, 103, .13) !important;
}

html[data-hbv-unified-ui="ready"] .preview-mode-banner > div {
  min-width: 0;
  gap: 9px !important;
}

html[data-hbv-unified-ui="ready"] .preview-mode-banner b {
  flex: 0 0 auto;
  font-size: 11px !important;
}

html[data-hbv-unified-ui="ready"] .preview-mode-banner span {
  overflow: hidden;
  font-size: 9.5px !important;
  line-height: 1.45 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[data-hbv-unified-ui="ready"] .preview-mode-banner button {
  flex: 0 0 auto;
  min-height: 32px !important;
  height: 32px !important;
  padding: 0 11px !important;
  white-space: nowrap;
}

html[data-hbv-unified-ui="ready"] body.hbv-has-preview-banner .commercial-membership-ribbon {
  display: none !important;
}

html[data-hbv-unified-ui="ready"] .workspace-bar {
  max-width: 1472px !important;
  min-height: 58px !important;
  margin-top: 10px !important;
  padding: 9px 12px !important;
  gap: 9px !important;
  border-color: var(--hbv-u-line) !important;
  border-radius: 14px !important;
  box-shadow: var(--hbv-u-shadow-soft) !important;
}

html[data-hbv-unified-ui="ready"] .workspace-bar .s20-runtime-strip {
  min-height: 32px !important;
  padding: 0 9px !important;
}

html[data-hbv-unified-ui="ready"] .workspace-bar .s20-runtime-detail {
  display: none !important;
}

html[data-hbv-unified-ui="ready"] .hf21-journey-rail {
  position: static !important;
  top: auto !important;
  z-index: auto !important;
  display: grid !important;
  grid-template-columns: minmax(210px, .9fr) minmax(0, 4fr) auto !important;
  align-items: center !important;
  max-width: 1670px !important;
  min-height: 82px !important;
  margin: 10px auto 16px !important;
  padding: 10px 12px !important;
  gap: 10px !important;
  border: 1px solid var(--hbv-u-line) !important;
  border-radius: 15px !important;
  background: #fff !important;
  box-shadow: var(--hbv-u-shadow-soft) !important;
}

html[data-hbv-unified-ui="ready"] .hf21-journey-summary {
  min-width: 0;
}

html[data-hbv-unified-ui="ready"] .hf21-journey-summary span {
  font-size: 9px !important;
}

html[data-hbv-unified-ui="ready"] .hf21-journey-summary b {
  display: block;
  margin-top: 3px !important;
  overflow: hidden;
  font-size: 12px !important;
  line-height: 1.35 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[data-hbv-unified-ui="ready"] .hf21-journey-summary small {
  display: none !important;
}

html[data-hbv-unified-ui="ready"] .hf21-journey-steps {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(82px, 1fr)) !important;
  gap: 6px !important;
  min-width: 0;
}

html[data-hbv-unified-ui="ready"] .hf21-journey-step {
  min-width: 0 !important;
  min-height: 52px !important;
  padding: 7px 8px !important;
  gap: 7px !important;
  border-radius: 10px !important;
}

html[data-hbv-unified-ui="ready"] .hf21-journey-step i {
  flex: 0 0 24px !important;
  width: 24px !important;
  height: 24px !important;
  font-size: 10px !important;
}

html[data-hbv-unified-ui="ready"] .hf21-journey-step b {
  overflow: hidden;
  font-size: 10px !important;
  text-overflow: ellipsis;
  white-space: nowrap !important;
}

html[data-hbv-unified-ui="ready"] .hf21-journey-step small {
  display: none !important;
}

html[data-hbv-unified-ui="ready"] .hf21-mode-switch {
  min-width: 156px;
  padding: 5px !important;
}

html[data-hbv-unified-ui="ready"] .hf21-mode-switch > span {
  display: none !important;
}

html[data-hbv-unified-ui="ready"] .hf21-mode-buttons button {
  min-height: 32px !important;
  padding: 0 9px !important;
  font-size: 9px !important;
}

html[data-hbv-unified-ui="ready"] .main > .page {
  scroll-margin-top: 78px;
}

html[data-hbv-unified-ui="ready"] .hf21-page-context {
  grid-template-columns: minmax(230px, 1.3fr) repeat(3, minmax(130px, .7fr)) !important;
  gap: 8px !important;
  margin: 10px 0 16px !important;
  padding: 8px !important;
  border-radius: 14px !important;
  box-shadow: var(--hbv-u-shadow-soft) !important;
}

html[data-hbv-unified-ui="ready"] .hf21-page-context > div {
  min-height: 52px !important;
  padding: 7px 9px !important;
}

html[data-hbv-unified-ui="ready"] .hf21-page-context small {
  display: none !important;
}

/* -------------------------------------------------------------------------- */
/* Auxiliary/governance pages: global shell + one compact contextual toolbar. */
/* -------------------------------------------------------------------------- */

html[data-hbv-unified-ui="ready"] #hf21-s5-aux-header,
html[data-hbv-unified-ui="ready"] .p5-aux-ribbon {
  display: none !important;
}

html[data-hbv-unified-ui="ready"] body.hbv-unified-aux .hbv-unified-page-toolbar {
  position: relative !important;
  top: auto !important;
  z-index: 20 !important;
  display: flex !important;
  align-items: center !important;
  width: auto !important;
  max-width: 1540px !important;
  min-height: 58px !important;
  height: auto !important;
  margin: 0 auto !important;
  padding: 8px 28px !important;
  gap: 10px !important;
  overflow: visible !important;
  border-bottom: 1px solid var(--hbv-u-line) !important;
  background: rgba(255, 255, 255, .96) !important;
  color: var(--hbv-u-ink) !important;
  box-shadow: 0 4px 16px rgba(18, 49, 82, .035) !important;
}

html[data-hbv-unified-ui="ready"] body.hbv-unified-aux .hbv-unified-page-toolbar .mark {
  width: 36px !important;
  height: 36px !important;
  flex: 0 0 36px;
  border: 1px solid #d5e2f0 !important;
  border-radius: 11px !important;
  background: var(--hbv-u-blue-soft) !important;
  color: #245f9f !important;
}

html[data-hbv-unified-ui="ready"] body.hbv-unified-aux .hbv-unified-page-toolbar > div:not(.mark) {
  min-width: 0;
}

html[data-hbv-unified-ui="ready"] body.hbv-unified-aux .hbv-unified-page-toolbar h1 {
  margin: 0 !important;
  overflow: hidden;
  color: var(--hbv-u-ink) !important;
  font-size: 17px !important;
  line-height: 1.3 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[data-hbv-unified-ui="ready"] body.hbv-unified-aux .hbv-unified-page-toolbar p {
  margin: 2px 0 0 !important;
  overflow: hidden;
  color: var(--hbv-u-muted) !important;
  font-size: 10px !important;
  line-height: 1.4 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[data-hbv-unified-ui="ready"] body.hbv-unified-aux .hbv-unified-page-toolbar nav {
  position: relative;
  display: flex !important;
  align-items: center;
  margin-left: auto !important;
  gap: 7px !important;
}

html[data-hbv-unified-ui="ready"] body.hbv-unified-aux .hbv-unified-page-toolbar nav > button {
  min-height: 34px !important;
  height: 34px !important;
  padding: 0 11px !important;
  border: 1px solid #c7d9ef !important;
  border-radius: 9px !important;
  background: var(--hbv-u-blue) !important;
  color: #fff !important;
  font-size: 10px !important;
}

html[data-hbv-unified-ui="ready"] .hbv-related-pages {
  position: relative;
}

html[data-hbv-unified-ui="ready"] .hbv-related-pages > summary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  min-height: 34px;
  padding: 0 10px;
  list-style: none;
  border: 1px solid var(--hbv-u-line);
  border-radius: 9px;
  background: #fff;
  color: #4c627a;
  font-size: 10px;
  font-weight: 750;
  cursor: pointer;
}

html[data-hbv-unified-ui="ready"] .hbv-related-pages > summary::-webkit-details-marker {
  display: none;
}

html[data-hbv-unified-ui="ready"] .hbv-related-pages-menu {
  position: absolute;
  top: 41px;
  right: 0;
  z-index: 200;
  display: grid;
  width: max-content;
  min-width: 190px;
  max-width: min(320px, calc(100vw - 28px));
  padding: 7px;
  border: 1px solid var(--hbv-u-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(18, 49, 82, .16);
}

html[data-hbv-unified-ui="ready"] .hbv-related-pages-menu a {
  display: flex !important;
  align-items: center;
  min-height: 36px;
  padding: 0 10px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: transparent !important;
  color: #405b77 !important;
  font-size: 10px !important;
  text-decoration: none;
}

html[data-hbv-unified-ui="ready"] .hbv-related-pages-menu a:hover {
  background: #eef5ff !important;
  color: #1758ad !important;
}

html[data-hbv-unified-ui="ready"] body.hbv-unified-aux > .hf21-admin-context {
  grid-template-columns: minmax(230px, 1.35fr) repeat(3, minmax(130px, .7fr)) !important;
  gap: 8px !important;
  margin: 10px 18px 12px !important;
  padding: 8px !important;
  border-color: var(--hbv-u-line) !important;
  border-radius: 14px !important;
  box-shadow: var(--hbv-u-shadow-soft) !important;
}

html[data-hbv-unified-ui="ready"] body.hbv-unified-aux > .hf21-admin-context > div {
  min-height: 50px !important;
  padding: 7px 9px !important;
  border-left-width: 2px !important;
}

html[data-hbv-unified-ui="ready"] body.hbv-unified-aux > .hf21-admin-context span,
html[data-hbv-unified-ui="ready"] body.hbv-unified-aux > .hf21-admin-context small {
  font-size: 9px !important;
}

html[data-hbv-unified-ui="ready"] body.hbv-unified-aux > .hf21-admin-context b {
  font-size: 11px !important;
}

html[data-hbv-unified-ui="ready"] body.hbv-unified-aux > .hf21-admin-context > div:not(:first-child) small {
  display: none !important;
}

html[data-hbv-unified-ui="ready"] body.hbv-unified-aux > :where(.main, main.main) {
  padding-top: 14px !important;
}

html[data-hbv-unified-ui="ready"] #hv-app-topbar .hv-shell-home {
  color: #fff !important;
  font-size: 11px !important;
  text-indent: 0 !important;
  opacity: 1 !important;
}

/* Remove visual and semantic nesting noise from repeated table wrappers. */
html[data-hbv-unified-ui="ready"] :where(
  .table-wrap, .table-shell, .hf21-table-shell, .s20-table-scroll, .data-table-wrap
) :where(.table-wrap, .table-shell, .hf21-table-shell, .s20-table-scroll, .data-table-wrap) {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

html[data-hbv-unified-ui="ready"] :where(
  .table-wrap, .table-shell, .hf21-table-shell, .s20-table-scroll, .data-table-wrap
) {
  max-width: 100%;
  scrollbar-width: thin;
  scrollbar-color: #b9c9db transparent;
}

html[data-hbv-unified-ui="ready"] :where(.modal-card, .formal-export-card, [role="dialog"]) {
  max-width: min(920px, calc(100vw - 28px));
  max-height: min(880px, calc(100dvh - 28px));
}

/* -------------------------------------------------------------------------- */
/* Responsive hierarchy.                                                      */
/* -------------------------------------------------------------------------- */

@media (max-width: 1600px) {
  html[data-hbv-unified-ui="ready"] .admin-topbar {
    padding-inline: 20px !important;
  }
  html[data-hbv-unified-ui="ready"] #page-dashboard > .admin-command-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  html[data-hbv-unified-ui="ready"] .hf21-journey-rail {
    margin-inline: 20px !important;
  }
}

@media (max-width: 1380px) {
  html[data-hbv-unified-ui="ready"] .admin-topbar #admin-role-chip {
    display: none !important;
  }
  html[data-hbv-unified-ui="ready"] .admin-content {
    padding-inline: 21px !important;
  }
  html[data-hbv-unified-ui="ready"] .hf21-s5-ops-context {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  html[data-hbv-unified-ui="ready"] .hf21-s5-ops-context > div {
    min-height: 52px !important;
  }
  html[data-hbv-unified-ui="ready"] .hf21-s5-ops-context small {
    display: none !important;
  }
  html[data-hbv-unified-ui="ready"] .hf21-journey-rail {
    grid-template-columns: minmax(190px, .8fr) minmax(0, 4fr) !important;
  }
  html[data-hbv-unified-ui="ready"] .hf21-journey-rail > :last-child {
    display: none !important;
  }
}

@media (max-width: 1180px) {
  html[data-hbv-unified-ui="ready"] .admin-topbar .s20-runtime-strip {
    display: none !important;
  }
  html[data-hbv-unified-ui="ready"] .admin-topbar-left {
    max-width: 300px;
  }
  html[data-hbv-unified-ui="ready"] .hf21-journey-rail {
    grid-template-columns: 1fr !important;
  }
  html[data-hbv-unified-ui="ready"] .hf21-journey-summary {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  html[data-hbv-unified-ui="ready"] .hf21-page-context {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 920px) {
  html[data-hbv-unified-ui="ready"] .admin-topbar {
    min-height: 64px !important;
    height: 64px !important;
    padding: 0 14px !important;
  }
  html[data-hbv-unified-ui="ready"] .admin-topbar-left {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }
  html[data-hbv-unified-ui="ready"] .admin-topbar h1 {
    font-size: 17px !important;
  }
  html[data-hbv-unified-ui="ready"] .admin-breadcrumb,
  html[data-hbv-unified-ui="ready"] .admin-topbar #admin-role-chip,
  html[data-hbv-unified-ui="ready"] .admin-topbar #runtime-chip,
  html[data-hbv-unified-ui="ready"] .admin-topbar #admin-account-security {
    display: none !important;
  }
  html[data-hbv-unified-ui="ready"] .admin-topbar .hf21-s5-command-trigger {
    width: 38px !important;
    min-width: 38px !important;
    padding: 0 !important;
    justify-content: center;
  }
  html[data-hbv-unified-ui="ready"] .admin-topbar .hf21-s5-command-trigger span,
  html[data-hbv-unified-ui="ready"] .admin-topbar .hf21-s5-command-trigger kbd {
    display: none !important;
  }
  html[data-hbv-unified-ui="ready"] .admin-topbar .hf21-s5-command-trigger::before {
    content: "搜";
    font-weight: 800;
  }
  html[data-hbv-unified-ui="ready"] .admin-content {
    padding: 14px 14px 84px !important;
  }
  html[data-hbv-unified-ui="ready"] .admin-page > .page-head,
  html[data-hbv-unified-ui="ready"] .admin-page .page-head {
    align-items: flex-start !important;
    flex-direction: column !important;
  }
  html[data-hbv-unified-ui="ready"] .page-actions {
    width: 100%;
    justify-content: flex-start !important;
  }
  html[data-hbv-unified-ui="ready"] #page-dashboard > .admin-command-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  html[data-hbv-unified-ui="ready"] .ops-status-card {
    align-items: flex-start !important;
    flex-direction: column !important;
  }
  html[data-hbv-unified-ui="ready"] .ops-status-facts {
    justify-content: flex-start !important;
  }
  html[data-hbv-unified-ui="ready"] .workspace-bar {
    margin-inline: 12px !important;
  }
  html[data-hbv-unified-ui="ready"] .hf21-journey-rail {
    margin: 9px 12px 14px !important;
  }
  html[data-hbv-unified-ui="ready"] body.hbv-unified-aux .hbv-unified-page-toolbar {
    padding-inline: 18px !important;
  }
}

@media (max-width: 680px) {
  html[data-hbv-unified-ui="ready"] .admin-sidebar .admin-nav button,
  html[data-hbv-unified-ui="ready"] .admin-sidebar .admin-sidebar-foot button {
    min-height: 44px !important;
    height: auto !important;
  }

  html[data-hbv-unified-ui="ready"] .preview-mode-banner {
    align-items: center !important;
    flex-direction: row !important;
    min-height: 48px !important;
    padding: 7px 12px !important;
  }
  html[data-hbv-unified-ui="ready"] .preview-mode-banner > div {
    display: block !important;
  }
  html[data-hbv-unified-ui="ready"] .preview-mode-banner > div > span {
    display: none !important;
  }
  html[data-hbv-unified-ui="ready"] .preview-mode-banner button {
    min-height: 44px !important;
    height: 44px !important;
  }
  html[data-hbv-unified-ui="ready"] .hf21-family-header {
    min-height: 58px !important;
    height: 58px !important;
  }
  html[data-hbv-unified-ui="ready"] .workspace-bar {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    min-height: 0 !important;
    margin-top: 8px !important;
    padding: 8px !important;
  }
  html[data-hbv-unified-ui="ready"] .workspace-bar label,
  html[data-hbv-unified-ui="ready"] .workspace-bar label:first-child {
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr) !important;
    grid-column: auto !important;
    align-items: center !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  html[data-hbv-unified-ui="ready"] .workspace-bar #personal-space-context {
    display: none !important;
  }
  html[data-hbv-unified-ui="ready"] .workspace-bar :where(.autosave-chip, .workspace-user, #logout-btn, .s20-runtime-strip) {
    display: none !important;
  }
  html[data-hbv-unified-ui="ready"] .hf21-journey-rail {
    display: block !important;
    min-height: 0 !important;
    padding: 9px !important;
  }
  html[data-hbv-unified-ui="ready"] .hf21-journey-summary {
    display: block !important;
    margin-bottom: 7px;
  }
  html[data-hbv-unified-ui="ready"] .hf21-journey-steps {
    display: flex !important;
    gap: 6px !important;
    overflow-x: auto;
    padding-bottom: 2px;
    scroll-snap-type: x proximity;
  }
  html[data-hbv-unified-ui="ready"] .hf21-journey-step {
    flex: 0 0 54px !important;
    min-width: 54px !important;
    min-height: 50px !important;
    justify-content: center !important;
    padding: 5px !important;
    scroll-snap-align: start;
  }
  html[data-hbv-unified-ui="ready"] .hf21-journey-step span {
    display: none !important;
  }
  html[data-hbv-unified-ui="ready"] .hf21-mode-switch {
    display: none !important;
  }
  html[data-hbv-unified-ui="ready"] .hf21-page-context {
    display: flex !important;
    flex-wrap: wrap;
    gap: 6px !important;
  }
  html[data-hbv-unified-ui="ready"] .hf21-page-context > div:first-child {
    flex: 1 0 100%;
  }
  html[data-hbv-unified-ui="ready"] .hf21-page-context > div:not(:first-child) {
    flex: 1 1 92px;
    min-height: 44px !important;
  }
  html[data-hbv-unified-ui="ready"] .hf21-page-context > div:not(:first-child) b {
    font-size: 10px !important;
  }
  html[data-hbv-unified-ui="ready"] .hf21-s5-ops-context {
    display: block !important;
  }
  html[data-hbv-unified-ui="ready"] .hf21-s5-ops-context > div {
    display: none !important;
  }
  html[data-hbv-unified-ui="ready"] .hf21-s5-ops-context > div:first-child {
    display: grid !important;
    min-height: 54px !important;
  }
  html[data-hbv-unified-ui="ready"] #page-dashboard > .admin-command-strip {
    grid-template-columns: 1fr !important;
  }
  html[data-hbv-unified-ui="ready"] #page-dashboard .admin-command-card {
    min-height: 62px !important;
  }
  html[data-hbv-unified-ui="ready"] .page-head h2 {
    font-size: 23px !important;
  }
  html[data-hbv-unified-ui="ready"] .page-actions > * {
    flex: 1 1 auto;
  }
  html[data-hbv-unified-ui="ready"] body.hbv-unified-aux .hbv-unified-page-toolbar {
    min-height: 54px !important;
    padding: 7px 13px !important;
  }

  /* On data-governance mobile views, operational state precedes exposition. */
  html[data-hbv-unified-ui="ready"] body.hbv-unified-aux.hv-page-data-trust .hero {
    gap: 13px !important;
    padding: 16px !important;
  }

  html[data-hbv-unified-ui="ready"] body.hbv-unified-aux.hv-page-data-trust .hero .status {
    order: -1;
    padding: 15px !important;
  }

  html[data-hbv-unified-ui="ready"] body.hbv-unified-aux.hv-page-data-trust .hero .status b {
    margin: 6px 0 !important;
    font-size: 20px !important;
  }

  html[data-hbv-unified-ui="ready"] body.hbv-unified-aux.hv-page-data-trust .hero h2 {
    font-size: 21px !important;
  }

  html[data-hbv-unified-ui="ready"] body.hbv-unified-aux.hv-page-data-trust .hero p {
    font-size: 13px !important;
    line-height: 1.65 !important;
  }
  html[data-hbv-unified-ui="ready"] body.hbv-unified-aux .hbv-unified-page-toolbar .mark,
  html[data-hbv-unified-ui="ready"] body.hbv-unified-aux .hbv-unified-page-toolbar p {
    display: none !important;
  }
  html[data-hbv-unified-ui="ready"] body.hbv-unified-aux .hbv-unified-page-toolbar h1 {
    font-size: 15px !important;
  }
  html[data-hbv-unified-ui="ready"] body.hbv-unified-aux > .hf21-admin-context {
    display: flex !important;
    flex-wrap: wrap;
    margin: 8px 10px 10px !important;
    gap: 6px !important;
  }
  html[data-hbv-unified-ui="ready"] body.hbv-unified-aux > .hf21-admin-context > div:first-child {
    flex: 1 0 100%;
  }
  html[data-hbv-unified-ui="ready"] body.hbv-unified-aux > .hf21-admin-context > div:not(:first-child) {
    flex: 1 1 90px;
    min-height: 42px !important;
  }
  html[data-hbv-unified-ui="ready"] body.hbv-unified-aux > .hf21-admin-context small {
    display: none !important;
  }
  html[data-hbv-unified-ui="ready"] #hv-app-topbar .hv-shell-home {
    width: 37px !important;
    padding: 0 !important;
    overflow: hidden;
    font-size: 0 !important;
  }
  html[data-hbv-unified-ui="ready"] #hv-app-topbar .hv-shell-home::before {
    content: "返";
    font-size: 12px;
  }
}

@media (max-width: 420px) {
  html[data-hbv-unified-ui="ready"] .admin-topbar {
    gap: 8px !important;
  }
  html[data-hbv-unified-ui="ready"] .admin-topbar .admin-avatar {
    display: none !important;
  }
  html[data-hbv-unified-ui="ready"] .admin-topbar .r3-top-more > summary {
    min-width: 48px !important;
  }
  html[data-hbv-unified-ui="ready"] .workspace-bar {
    grid-template-columns: 1fr !important;
  }
  html[data-hbv-unified-ui="ready"] .hbv-related-pages > summary {
    min-width: 58px;
    padding-inline: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-hbv-unified-ui="ready"] *,
  html[data-hbv-unified-ui="ready"] *::before,
  html[data-hbv-unified-ui="ready"] *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

@media (forced-colors: active) {
  html[data-hbv-unified-ui="ready"] :where(
    .admin-topbar, .hf21-s5-ops-context, .page-head, .ops-status-card,
    .workspace-bar, .hf21-journey-rail, .hf21-admin-context,
    .hbv-unified-page-toolbar, .hbv-related-pages-menu
  ) {
    border: 1px solid CanvasText !important;
  }
}

@media print {
  html[data-hbv-unified-ui="ready"] :where(
    .admin-sidebar, .admin-topbar, .hf21-family-header, .preview-mode-banner,
    .workspace-bar, .hf21-journey-rail, #hv-app-sidebar, #hv-app-topbar,
    .hbv-unified-page-toolbar, .hf21-admin-context, .mobile-bottom-nav
  ) {
    display: none !important;
  }
  html[data-hbv-unified-ui="ready"] :where(.admin-main, .main) {
    width: 100% !important;
    margin: 0 !important;
  }
}

/* 2026-07-25 unified five-level position-corridor semantics. */
html[data-hbv-design="yanzhao-pro"] .risk-gradient-guide {
  position: relative;
  overflow: hidden;
  margin: 14px 0 18px;
  padding: 0 !important;
  border: 1px solid #dbe6f2 !important;
  border-radius: 18px !important;
  background:
    radial-gradient(circle at 2% 0%, rgba(44, 116, 233, .08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
  box-shadow: 0 12px 32px rgba(30, 67, 112, .07) !important;
}

html[data-hbv-design="yanzhao-pro"] .risk-gradient-guide::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #e55b4b 0%, #e99a3f 24%, #3478dc 48%, #22a17a 72%, #147f82 100%);
}

html[data-hbv-design="yanzhao-pro"] .risk-gradient-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px 14px;
  border-bottom: 1px solid #e7eef7;
}

html[data-hbv-design="yanzhao-pro"] .risk-gradient-head > div {
  display: grid;
  gap: 3px;
}

html[data-hbv-design="yanzhao-pro"] .risk-gradient-head span {
  color: #2d6fcf;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
}

html[data-hbv-design="yanzhao-pro"] .risk-gradient-head b {
  color: #17324f;
  font-size: 16px;
}

html[data-hbv-design="yanzhao-pro"] .risk-gradient-head p {
  margin: 0;
  color: #5d7188;
  font-size: 11px;
  line-height: 1.7;
  text-align: right;
}

html[data-hbv-design="yanzhao-pro"] .risk-gradient-head p strong {
  color: #183e6d;
}

html[data-hbv-design="yanzhao-pro"] .risk-gradient-scale {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

html[data-hbv-design="yanzhao-pro"] .risk-gradient-scale article {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 106px;
  padding: 16px 16px 14px 18px;
  border-right: 1px solid #e7eef7;
}

html[data-hbv-design="yanzhao-pro"] .risk-gradient-scale article:last-child {
  border-right: 0;
}

html[data-hbv-design="yanzhao-pro"] .risk-gradient-scale article::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  opacity: .9;
}

html[data-hbv-design="yanzhao-pro"] .risk-gradient-scale article.reach::after { background: #e55b4b; }
html[data-hbv-design="yanzhao-pro"] .risk-gradient-scale article.match::after { background: #e99a3f; }
html[data-hbv-design="yanzhao-pro"] .risk-gradient-scale article.stable::after { background: #3478dc; }
html[data-hbv-design="yanzhao-pro"] .risk-gradient-scale article.safe::after { background: #22a17a; }
html[data-hbv-design="yanzhao-pro"] .risk-gradient-scale article.bottom::after { background: #147f82; }

html[data-hbv-design="yanzhao-pro"] .risk-gradient-scale article i {
  color: #8a9eb3;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .12em;
}

html[data-hbv-design="yanzhao-pro"] .risk-gradient-scale article b {
  margin-top: 5px;
  color: #183551;
  font-size: 13px;
}

html[data-hbv-design="yanzhao-pro"] .risk-gradient-scale article span {
  margin-top: 7px;
  color: #64788e;
  font-size: 10px;
  line-height: 1.55;
}

html[data-hbv-design="yanzhao-pro"] .risk-gradient-foot {
  display: grid;
  grid-template-columns: auto minmax(80px, 220px) auto 1fr;
  align-items: center;
  gap: 9px;
  padding: 10px 20px 12px;
  border-top: 1px solid #e7eef7;
  color: #6b7e92;
  font-size: 9px;
}

html[data-hbv-design="yanzhao-pro"] .risk-gradient-foot > i {
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #e55b4b, #e99a3f, #3478dc, #22a17a, #147f82);
}

html[data-hbv-design="yanzhao-pro"] .risk-gradient-foot > b {
  justify-self: end;
  color: #2a527c;
  font-size: 10px;
  font-weight: 700;
}

html[data-hbv-design="yanzhao-pro"] .risk-gradient-guide.compact .risk-gradient-scale article {
  min-height: 64px;
}

html[data-hbv-design="yanzhao-pro"] .risk-gradient-guide.compact .risk-gradient-head {
  padding-block: 14px 11px;
}

html[data-hbv-design="yanzhao-pro"] .risk-track .bottom {
  background: #147f82;
}

html[data-hbv-design="yanzhao-pro"] .risk.bottom {
  background: #e7f5f5;
  color: #0e6669;
}

html[data-hbv-design="yanzhao-pro"] .risk-row {
  grid-template-columns: 76px 1fr 30px;
}

html[data-hbv-design="yanzhao-pro"] .candidate-summary-bar {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 980px) {
  html[data-hbv-design="yanzhao-pro"] .risk-gradient-scale {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html[data-hbv-design="yanzhao-pro"] .risk-gradient-scale article {
    border-bottom: 1px solid #e7eef7;
  }

  html[data-hbv-design="yanzhao-pro"] .risk-gradient-scale article:nth-child(2n) {
    border-right: 0;
  }

  html[data-hbv-design="yanzhao-pro"] .risk-gradient-scale article:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }

  html[data-hbv-design="yanzhao-pro"] .candidate-summary-bar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  html[data-hbv-design="yanzhao-pro"] .risk-gradient-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  html[data-hbv-design="yanzhao-pro"] .risk-gradient-head p {
    text-align: left;
  }

  html[data-hbv-design="yanzhao-pro"] .risk-gradient-scale {
    grid-template-columns: 1fr;
  }

  html[data-hbv-design="yanzhao-pro"] .risk-gradient-scale article,
  html[data-hbv-design="yanzhao-pro"] .risk-gradient-scale article:nth-child(2n),
  html[data-hbv-design="yanzhao-pro"] .risk-gradient-scale article:last-child {
    grid-column: auto;
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid #e7eef7;
  }

  html[data-hbv-design="yanzhao-pro"] .risk-gradient-scale article:last-child {
    border-bottom: 0;
  }

  html[data-hbv-design="yanzhao-pro"] .risk-gradient-foot {
    grid-template-columns: auto 1fr auto;
  }

  html[data-hbv-design="yanzhao-pro"] .risk-gradient-foot > b {
    grid-column: 1 / -1;
    justify-self: start;
  }

  html[data-hbv-design="yanzhao-pro"] .candidate-summary-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ========================================================================== */
/* 燕赵蓝 · 决策中枢设计系统 2026.07.25.9                                  */
/*                                                                            */
/* 统一管理端、会员端与治理页的视觉语言。旧样式只提供业务组件结构，本段是唯一 */
/* 的品牌、层级、间距、表面与交互状态所有权层。                              */
/* ========================================================================== */

html[data-hbv-design="yanzhao-pro"] {
  --yz-font: Inter, "SF Pro Text", "PingFang SC", "Microsoft YaHei UI",
    "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --yz-canvas: #f3f6fa;
  --yz-canvas-deep: #edf2f8;
  --yz-surface: #ffffff;
  --yz-surface-soft: #f8fafc;
  --yz-surface-blue: #f2f6ff;
  --yz-ink: #102a43;
  --yz-ink-strong: #071d35;
  --yz-muted: #62748a;
  --yz-subtle: #8a9aaf;
  --yz-line: #dbe4ef;
  --yz-line-strong: #c8d5e4;
  --yz-brand: #1f64e8;
  --yz-brand-hover: #1554cc;
  --yz-brand-deep: #0a3d91;
  --yz-brand-soft: #eaf1ff;
  --yz-navy: #081e38;
  --yz-navy-2: #0b2c50;
  --yz-cyan: #12a8c4;
  --yz-success: #138a63;
  --yz-success-soft: #e9f8f2;
  --yz-warning: #b66c08;
  --yz-warning-soft: #fff5e5;
  --yz-danger: #c6423a;
  --yz-danger-soft: #fff0ee;
  --yz-radius-sm: 9px;
  --yz-radius: 14px;
  --yz-radius-lg: 18px;
  --yz-shadow-xs: 0 1px 2px rgba(15, 39, 68, .035);
  --yz-shadow-sm: 0 7px 20px rgba(15, 39, 68, .055);
  --yz-shadow-md: 0 16px 40px rgba(15, 39, 68, .08);
  --yz-content: 1600px;
  color: var(--yz-ink);
  font-family: var(--yz-font);
  font-size: 14px;
  font-synthesis: none;
}

html[data-hbv-design="yanzhao-pro"],
html[data-hbv-design="yanzhao-pro"] body {
  background:
    radial-gradient(circle at 82% -8%, rgba(31, 100, 232, .055), transparent 34rem),
    linear-gradient(180deg, #f7f9fc 0, var(--yz-canvas) 22rem, var(--yz-canvas) 100%);
  color: var(--yz-ink);
}

html[data-hbv-design="yanzhao-pro"] body {
  letter-spacing: 0;
}

html[data-hbv-design="yanzhao-pro"] :where(h1, h2, h3, h4, h5, h6, strong, b) {
  color: var(--yz-ink-strong);
  font-family: var(--yz-font);
  font-variation-settings: "wght" 680;
}

html[data-hbv-design="yanzhao-pro"] :where(h1, h2, h3, h4, p) {
  margin-top: 0;
}

html[data-hbv-design="yanzhao-pro"] :where(p, small, .cell-sub, .muted) {
  color: var(--yz-muted);
}

html[data-hbv-design="yanzhao-pro"] :where(p, .notice, .notice-box, .danger-box) {
  line-height: 1.7;
}

html[data-hbv-design="yanzhao-pro"] :where(
  .eyebrow, .page-kicker, .ops-kicker, .section-no, .school-eyebrow
) {
  color: var(--yz-brand) !important;
  font-family: var(--yz-font) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: .09em !important;
  line-height: 1.4 !important;
  text-transform: uppercase;
}

html[data-hbv-design="yanzhao-pro"] :where(
  button, .btn, a.button, .primary, .secondary, .ghost, .school-btn
) {
  min-height: 40px;
  border-radius: 10px !important;
  font-family: var(--yz-font) !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.15;
  transition:
    background-color .16s ease,
    border-color .16s ease,
    box-shadow .16s ease,
    color .16s ease,
    transform .16s ease;
}

html[data-hbv-design="yanzhao-pro"] :where(
  .primary, .btn-primary, button.primary, a.primary
) {
  border: 1px solid var(--yz-brand) !important;
  background: linear-gradient(135deg, #2e73f2 0%, var(--yz-brand) 100%) !important;
  color: #fff !important;
  box-shadow: 0 6px 14px rgba(31, 100, 232, .18) !important;
}

html[data-hbv-design="yanzhao-pro"] :where(
  .primary, .btn-primary, button.primary, a.primary
):hover:not(:disabled) {
  border-color: var(--yz-brand-hover) !important;
  background: var(--yz-brand-hover) !important;
  box-shadow: 0 8px 18px rgba(31, 100, 232, .24) !important;
  transform: translateY(-1px);
}

html[data-hbv-design="yanzhao-pro"] :where(
  .secondary, .btn-secondary, button.secondary, a.secondary
) {
  border: 1px solid #b9ccef !important;
  background: #fff !important;
  color: var(--yz-brand-deep) !important;
  box-shadow: var(--yz-shadow-xs) !important;
}

html[data-hbv-design="yanzhao-pro"] :where(
  .secondary, .btn-secondary, button.secondary, a.secondary
):hover:not(:disabled) {
  border-color: #8bace8 !important;
  background: var(--yz-brand-soft) !important;
}

html[data-hbv-design="yanzhao-pro"] :where(.ghost, .btn-ghost, button.ghost, a.ghost) {
  border: 1px solid transparent !important;
  background: transparent !important;
  color: #405b78 !important;
  box-shadow: none !important;
}

html[data-hbv-design="yanzhao-pro"] :where(.ghost, .btn-ghost):hover:not(:disabled) {
  border-color: var(--yz-line) !important;
  background: #f1f5f9 !important;
  color: var(--yz-ink-strong) !important;
}

html[data-hbv-design="yanzhao-pro"] :where(.danger, .btn-danger, .danger-soft) {
  border-color: #efb7b2 !important;
  background: var(--yz-danger-soft) !important;
  color: #a92d2a !important;
  box-shadow: none !important;
}

html[data-hbv-design="yanzhao-pro"] :where(
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
  select,
  textarea,
  .multi-select-trigger
) {
  min-height: 42px;
  border: 1px solid var(--yz-line-strong) !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: var(--yz-ink) !important;
  font-family: var(--yz-font) !important;
  font-size: 13px !important;
  box-shadow: inset 0 1px 1px rgba(15, 39, 68, .025) !important;
}

html[data-hbv-design="yanzhao-pro"] :where(
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
  select,
  textarea,
  .multi-select-trigger
):focus {
  border-color: #7ea5ec !important;
  box-shadow: 0 0 0 4px rgba(31, 100, 232, .12) !important;
  outline: none !important;
}

html[data-hbv-design="yanzhao-pro"] ::placeholder {
  color: #99a7b8;
}

html[data-hbv-design="yanzhao-pro"] :where(
  .panel, .card, .metric-card, .stat-card, .report-card, .login-card,
  .auth-panel, .settings-card, .gov-panel, .ops-status-card, .kpi,
  .form-section, .candidate-summary-item, .security-item
) {
  border: 1px solid var(--yz-line) !important;
  border-radius: var(--yz-radius) !important;
  background: var(--yz-surface) !important;
  box-shadow: var(--yz-shadow-sm) !important;
}

html[data-hbv-design="yanzhao-pro"] :where(.panel-head, .settings-card-head) {
  min-height: 58px;
  padding: 16px 18px !important;
  border-bottom: 1px solid #e7edf5 !important;
  background: linear-gradient(180deg, #fff, #fbfcfe) !important;
  border-radius: var(--yz-radius) var(--yz-radius) 0 0 !important;
}

html[data-hbv-design="yanzhao-pro"] .panel-head :where(h2, h3, h4) {
  margin-bottom: 3px !important;
  font-size: 16px !important;
  line-height: 1.35 !important;
}

html[data-hbv-design="yanzhao-pro"] .panel-head p {
  margin: 0 !important;
  font-size: 12px !important;
}

html[data-hbv-design="yanzhao-pro"] :where(.panel-body, .settings-form) {
  padding: 18px !important;
}

html[data-hbv-design="yanzhao-pro"] :where(
  .notice, .notice-box, .public-boundary, .annual-data-boundary
) {
  border: 1px solid #cbdcf8 !important;
  border-left: 3px solid var(--yz-brand) !important;
  border-radius: 11px !important;
  background: #f5f8ff !important;
  color: #355271 !important;
}

html[data-hbv-design="yanzhao-pro"] :where(.danger-box, .dangerous-policy) {
  border: 1px solid #f0c4bf !important;
  border-left: 3px solid var(--yz-danger) !important;
  border-radius: 11px !important;
  background: var(--yz-danger-soft) !important;
}

html[data-hbv-design="yanzhao-pro"] :where(
  .status-badge, .tag, .grade, .admin-chip, .top-status-chip
) {
  border-radius: 999px !important;
  font-family: var(--yz-font) !important;
  font-size: 11px !important;
  font-weight: 750 !important;
  letter-spacing: 0 !important;
}

html[data-hbv-design="yanzhao-pro"] :where(
  .status-approved, .health-ok, .green, .safe
) {
  border-color: #a9ddcd !important;
  background: var(--yz-success-soft) !important;
  color: #087354 !important;
}

html[data-hbv-design="yanzhao-pro"] :where(
  .status-pending, .amber, .risk, .reach
) {
  border-color: #f0d19e !important;
  background: var(--yz-warning-soft) !important;
  color: #965809 !important;
}

html[data-hbv-design="yanzhao-pro"] :where(
  .status-rejected, .status-suspended, .negative
) {
  border-color: #efc0bb !important;
  background: var(--yz-danger-soft) !important;
  color: #a72f2b !important;
}

/* 数据表与列表只使用一套表面、行高和交互状态。 */
html[data-hbv-design="yanzhao-pro"] :where(
  .table-wrap, .table-shell, .hf21-table-shell, .s20-table-scroll,
  .data-table-wrap
) {
  border: 1px solid var(--yz-line) !important;
  border-radius: var(--yz-radius) !important;
  background: #fff !important;
  box-shadow: var(--yz-shadow-xs) !important;
}

html[data-hbv-design="yanzhao-pro"] :where(
  table, .table, .data-table, .gov-table
) {
  width: 100%;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  color: var(--yz-ink);
  font-family: var(--yz-font);
}

html[data-hbv-design="yanzhao-pro"] :where(
  table, .table, .data-table, .gov-table
) thead th {
  height: 44px;
  padding: 10px 14px !important;
  border-bottom: 1px solid var(--yz-line-strong) !important;
  background: #f5f8fc !important;
  color: #526780 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: .03em;
}

html[data-hbv-design="yanzhao-pro"] :where(
  table, .table, .data-table, .gov-table
) tbody td {
  min-height: 50px;
  padding: 12px 14px !important;
  border-bottom: 1px solid #ebf0f6 !important;
  background: #fff;
  font-size: 13px;
  vertical-align: middle;
}

html[data-hbv-design="yanzhao-pro"] :where(
  table, .table, .data-table, .gov-table
) tbody tr:hover td {
  background: #f7faff !important;
}

html[data-hbv-design="yanzhao-pro"] :where(
  table, .table, .data-table, .gov-table
) tbody tr:last-child td {
  border-bottom: 0 !important;
}

html[data-hbv-design="yanzhao-pro"] .empty-state {
  min-height: 170px;
  border: 1px dashed #c7d5e6 !important;
  border-radius: var(--yz-radius) !important;
  background: linear-gradient(145deg, #fbfcfe, #f5f8fc) !important;
  color: var(--yz-muted) !important;
  box-shadow: none !important;
}

/* 管理端：一套深海蓝导航 + 一套白色工作区。 */
html[data-hbv-design="yanzhao-pro"] :where(.admin-sidebar, #admin-sidebar) {
  width: 264px !important;
  border-right: 1px solid rgba(255, 255, 255, .065) !important;
  background:
    radial-gradient(circle at 35% -8%, rgba(43, 121, 255, .28), transparent 18rem),
    linear-gradient(180deg, var(--yz-navy-2) 0%, var(--yz-navy) 58%, #06172c 100%) !important;
  box-shadow: 10px 0 28px rgba(7, 29, 53, .08) !important;
}

html[data-hbv-design="yanzhao-pro"] :where(.admin-main, .admin-content) {
  margin-left: 264px !important;
  width: calc(100% - 264px) !important;
  background: transparent !important;
}

html[data-hbv-design="yanzhao-pro"] .admin-sidebar :where(
  .admin-brand, .brand, .sidebar-brand
) {
  min-height: 72px !important;
  border-bottom-color: rgba(255, 255, 255, .08) !important;
}

html[data-hbv-design="yanzhao-pro"] .admin-sidebar :where(
  .admin-brand strong, .brand strong, .sidebar-brand strong
) {
  color: #fff !important;
  font-size: 15px !important;
  letter-spacing: .01em;
}

html[data-hbv-design="yanzhao-pro"] .admin-sidebar :where(
  .admin-brand small, .brand small, .sidebar-brand small,
  .admin-nav-group > span, .nav-section-title
) {
  color: rgba(220, 233, 250, .56) !important;
}

html[data-hbv-design="yanzhao-pro"] .admin-sidebar .admin-nav {
  padding-inline: 12px !important;
}

html[data-hbv-design="yanzhao-pro"] .admin-sidebar .admin-nav button {
  min-height: 42px !important;
  margin: 2px 0 !important;
  padding: 0 12px !important;
  border: 1px solid transparent !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: rgba(236, 244, 255, .78) !important;
  box-shadow: none !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

html[data-hbv-design="yanzhao-pro"] .admin-sidebar .admin-nav button:hover {
  border-color: rgba(143, 184, 243, .13) !important;
  background: rgba(255, 255, 255, .065) !important;
  color: #fff !important;
}

html[data-hbv-design="yanzhao-pro"] .admin-sidebar .admin-nav button.active {
  border-color: rgba(139, 187, 255, .32) !important;
  background: linear-gradient(100deg, rgba(35, 109, 230, .92), rgba(25, 91, 196, .72)) !important;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(0, 32, 82, .24) !important;
}

html[data-hbv-design="yanzhao-pro"] .admin-sidebar .nav-icon {
  opacity: .88;
  filter: brightness(0) invert(1);
}

html[data-hbv-design="yanzhao-pro"] .admin-topbar {
  left: 0 !important;
  min-height: 72px !important;
  height: 72px !important;
  padding: 0 22px !important;
  border-bottom: 1px solid var(--yz-line) !important;
  background: rgba(255, 255, 255, .94) !important;
  box-shadow: 0 4px 18px rgba(15, 39, 68, .045) !important;
  backdrop-filter: blur(18px) saturate(150%);
}

html[data-hbv-design="yanzhao-pro"] .admin-topbar h1 {
  color: var(--yz-ink-strong) !important;
  font-size: 18px !important;
  font-weight: 760 !important;
}

html[data-hbv-design="yanzhao-pro"] .admin-topbar-left > div {
  color: var(--yz-muted) !important;
  font-size: 11px !important;
}

html[data-hbv-design="yanzhao-pro"] .admin-topbar-right {
  gap: 8px !important;
}

html[data-hbv-design="yanzhao-pro"] .admin-topbar :where(
  .hf21-s5-command-trigger, #admin-account-security, .r3-top-more > summary,
  .admin-chip, .s20-runtime-strip
) {
  min-height: 38px !important;
  border-color: var(--yz-line) !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #36516f !important;
  box-shadow: var(--yz-shadow-xs) !important;
}

html[data-hbv-design="yanzhao-pro"] .admin-topbar .s20-runtime-strip {
  background: var(--yz-success-soft) !important;
  color: #0b7254 !important;
}

html[data-hbv-design="yanzhao-pro"] .admin-topbar .admin-avatar {
  background: linear-gradient(135deg, var(--yz-brand), #0c9fc0) !important;
  box-shadow: 0 7px 16px rgba(31, 100, 232, .22) !important;
}

html[data-hbv-design="yanzhao-pro"] .hf21-s5-ops-context {
  max-width: var(--yz-content) !important;
  min-height: 74px !important;
  margin: 18px auto 0 !important;
  padding: 12px 16px !important;
  gap: 8px !important;
  border: 1px solid var(--yz-line) !important;
  border-radius: var(--yz-radius) !important;
  background: rgba(255, 255, 255, .92) !important;
  box-shadow: var(--yz-shadow-sm) !important;
}

html[data-hbv-design="yanzhao-pro"] .hf21-s5-ops-context > div {
  min-height: 48px !important;
  padding: 6px 14px !important;
  border-left: 1px solid #e7edf5 !important;
}

html[data-hbv-design="yanzhao-pro"] .hf21-s5-ops-context > div:first-child {
  border-left: 0 !important;
}

html[data-hbv-design="yanzhao-pro"] .hf21-s5-ops-context :where(span, small) {
  color: var(--yz-muted) !important;
  font-size: 10px !important;
}

html[data-hbv-design="yanzhao-pro"] .hf21-s5-ops-context b {
  color: var(--yz-ink-strong) !important;
  font-size: 13px !important;
}

html[data-hbv-design="yanzhao-pro"] .admin-page.page-head {
  max-width: var(--yz-content) !important;
  margin: 0 auto !important;
  padding: 28px 4px 20px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-hbv-design="yanzhao-pro"] .admin-page.page-head h2 {
  margin: 5px 0 6px !important;
  font-size: 30px !important;
  font-weight: 780 !important;
  letter-spacing: -.025em;
}

html[data-hbv-design="yanzhao-pro"] .admin-page.page-head p {
  color: var(--yz-muted) !important;
  font-size: 13px !important;
}

html[data-hbv-design="yanzhao-pro"] .admin-page:not(.page-head) {
  max-width: var(--yz-content) !important;
  margin-inline: auto !important;
}

html[data-hbv-design="yanzhao-pro"] .admin-command-card {
  min-height: 88px !important;
  border: 1px solid var(--yz-line) !important;
  border-radius: 13px !important;
  background: #fff !important;
  box-shadow: var(--yz-shadow-xs) !important;
}

html[data-hbv-design="yanzhao-pro"] .admin-command-card:hover {
  border-color: #a9c1ed !important;
  background: #f8faff !important;
  box-shadow: var(--yz-shadow-sm) !important;
  transform: translateY(-2px);
}

html[data-hbv-design="yanzhao-pro"] .admin-command-card .nav-icon {
  border-radius: 11px !important;
  background: var(--yz-brand-soft) !important;
  color: var(--yz-brand) !important;
}

html[data-hbv-design="yanzhao-pro"] .ops-status-card {
  border-left: 4px solid var(--yz-success) !important;
  background: linear-gradient(100deg, #f4fcf8, #fff) !important;
}

html[data-hbv-design="yanzhao-pro"] .ops-status-card.blocked {
  border-left-color: var(--yz-danger) !important;
  background: linear-gradient(100deg, #fff3f1, #fff) !important;
}

html[data-hbv-design="yanzhao-pro"] .ops-status-card.warning {
  border-left-color: var(--yz-warning) !important;
  background: linear-gradient(100deg, #fff8ec, #fff) !important;
}

html[data-hbv-design="yanzhao-pro"] .metric-grid {
  gap: 12px !important;
}

html[data-hbv-design="yanzhao-pro"] .metric-card {
  min-height: 118px !important;
  padding: 17px !important;
  overflow: hidden;
}

html[data-hbv-design="yanzhao-pro"] .metric-card::after {
  opacity: .28 !important;
}

html[data-hbv-design="yanzhao-pro"] .metric-value {
  color: var(--yz-ink-strong) !important;
  font-size: 28px !important;
  letter-spacing: -.025em;
}

/* 会员端：沿用同一品牌与组件，仅把决策上下文放在更靠前位置。 */
html[data-hbv-design="yanzhao-pro"] body.hbv-unified-member {
  background:
    radial-gradient(circle at 70% -6%, rgba(31, 100, 232, .08), transparent 27rem),
    var(--yz-canvas) !important;
}

html[data-hbv-design="yanzhao-pro"] .hf21-family-header,
html[data-hbv-design="yanzhao-pro"] body.hbv-unified-member .topbar {
  border-bottom: 1px solid var(--yz-line) !important;
  background: rgba(255, 255, 255, .95) !important;
  box-shadow: 0 5px 18px rgba(15, 39, 68, .045) !important;
  backdrop-filter: blur(18px) saturate(150%);
}

html[data-hbv-design="yanzhao-pro"] body.hbv-unified-member .topbar-heading h1 {
  color: var(--yz-ink-strong) !important;
  font-size: 20px !important;
  font-weight: 760 !important;
}

html[data-hbv-design="yanzhao-pro"] .preview-mode-banner {
  border: 0 !important;
  background: linear-gradient(100deg, #0a3f92, #136ad9) !important;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(10, 63, 146, .18) !important;
}

html[data-hbv-design="yanzhao-pro"] .preview-mode-banner :where(b, span) {
  color: #fff !important;
}

html[data-hbv-design="yanzhao-pro"] .preview-mode-banner span {
  opacity: .82;
}

html[data-hbv-design="yanzhao-pro"] .preview-mode-banner button {
  border-color: rgba(255, 255, 255, .42) !important;
  background: rgba(255, 255, 255, .14) !important;
  color: #fff !important;
}

html[data-hbv-design="yanzhao-pro"] .workspace-bar {
  max-width: 1480px !important;
  border: 1px solid var(--yz-line) !important;
  border-radius: var(--yz-radius) !important;
  background: rgba(255, 255, 255, .94) !important;
  box-shadow: var(--yz-shadow-sm) !important;
}

html[data-hbv-design="yanzhao-pro"] .hf21-journey-rail {
  max-width: 1480px !important;
  border: 1px solid var(--yz-line) !important;
  border-radius: var(--yz-radius) !important;
  background: #fff !important;
  box-shadow: var(--yz-shadow-sm) !important;
}

html[data-hbv-design="yanzhao-pro"] .hf21-journey-step {
  border: 1px solid #e1e8f2 !important;
  border-radius: 11px !important;
  background: #f8fafc !important;
}

html[data-hbv-design="yanzhao-pro"] .hf21-journey-step.current {
  border-color: #8db0ee !important;
  background: var(--yz-brand-soft) !important;
  color: var(--yz-brand-deep) !important;
  box-shadow: inset 0 -3px 0 var(--yz-brand) !important;
}

html[data-hbv-design="yanzhao-pro"] .dashboard-hero {
  min-height: 238px !important;
  border: 1px solid #cbdcf8 !important;
  border-radius: var(--yz-radius-lg) !important;
  background:
    radial-gradient(circle at 92% 0, rgba(20, 159, 192, .16), transparent 20rem),
    linear-gradient(135deg, #f8fbff 0%, #eef4ff 58%, #f6fbff 100%) !important;
  box-shadow: var(--yz-shadow-md) !important;
}

html[data-hbv-design="yanzhao-pro"] .dashboard-hero h2 {
  max-width: 720px;
  color: #0c376b !important;
  font-size: clamp(27px, 2.3vw, 38px) !important;
  font-weight: 790 !important;
  letter-spacing: -.03em;
}

html[data-hbv-design="yanzhao-pro"] .dashboard-hero-kpi {
  border: 1px solid rgba(180, 202, 235, .78) !important;
  border-radius: 13px !important;
  background: rgba(255, 255, 255, .78) !important;
  box-shadow: var(--yz-shadow-xs) !important;
}

html[data-hbv-design="yanzhao-pro"] .mobile-bottom-nav {
  border-top: 1px solid var(--yz-line) !important;
  background: rgba(255, 255, 255, .96) !important;
  box-shadow: 0 -10px 26px rgba(15, 39, 68, .07) !important;
  backdrop-filter: blur(18px);
}

html[data-hbv-design="yanzhao-pro"] .mobile-bottom-nav button {
  color: #66788e !important;
}

html[data-hbv-design="yanzhao-pro"] .mobile-bottom-nav button.active {
  background: var(--yz-brand-soft) !important;
  color: var(--yz-brand) !important;
}

/* 治理/数据页：同一平台工具栏、同一上下文、同一内容画布。 */
html[data-hbv-design="yanzhao-pro"] body.hbv-unified-aux .hbv-unified-page-toolbar {
  min-height: 68px !important;
  border-bottom: 1px solid var(--yz-line) !important;
  background: rgba(255, 255, 255, .95) !important;
  box-shadow: 0 5px 18px rgba(15, 39, 68, .045) !important;
  backdrop-filter: blur(18px) saturate(150%);
}

html[data-hbv-design="yanzhao-pro"] body.hbv-unified-aux .hbv-unified-page-toolbar .mark {
  border-radius: 12px !important;
  background: linear-gradient(135deg, var(--yz-brand), #0ba2bf) !important;
  box-shadow: 0 7px 16px rgba(31, 100, 232, .19) !important;
}

html[data-hbv-design="yanzhao-pro"] body.hbv-unified-aux .hbv-unified-page-toolbar h1 {
  color: var(--yz-ink-strong) !important;
  font-size: 17px !important;
  font-weight: 760 !important;
}

html[data-hbv-design="yanzhao-pro"] body.hbv-unified-aux .hbv-unified-page-toolbar p {
  color: var(--yz-muted) !important;
}

html[data-hbv-design="yanzhao-pro"] body.hbv-unified-aux .hbv-unified-page-toolbar nav > button {
  border-color: var(--yz-line) !important;
  background: #fff !important;
  color: #3b5674 !important;
  box-shadow: var(--yz-shadow-xs) !important;
}

html[data-hbv-design="yanzhao-pro"] body.hbv-unified-aux > .hf21-admin-context {
  max-width: var(--yz-content) !important;
  margin: 16px auto 14px !important;
  border: 1px solid var(--yz-line) !important;
  border-radius: var(--yz-radius) !important;
  background: #fff !important;
  box-shadow: var(--yz-shadow-sm) !important;
}

html[data-hbv-design="yanzhao-pro"] body.hbv-unified-aux > .hf21-admin-context > div {
  border-left-color: #e7edf5 !important;
}

html[data-hbv-design="yanzhao-pro"] body.hbv-unified-aux > :where(.main, main.main) {
  max-width: var(--yz-content) !important;
}

html[data-hbv-design="yanzhao-pro"] body.hbv-unified-aux .hero {
  border: 1px solid #cbdcf8 !important;
  border-radius: var(--yz-radius-lg) !important;
  background:
    radial-gradient(circle at 88% 0, rgba(18, 168, 196, .13), transparent 22rem),
    linear-gradient(135deg, #f8fbff, #edf4ff) !important;
  box-shadow: var(--yz-shadow-md) !important;
}

html[data-hbv-design="yanzhao-pro"] body.hbv-unified-aux .hero h2 {
  color: #0b376c !important;
  font-weight: 790 !important;
  letter-spacing: -.025em;
}

html[data-hbv-design="yanzhao-pro"] :where(.modal, [role="dialog"]) {
  font-family: var(--yz-font) !important;
}

html[data-hbv-design="yanzhao-pro"] :where(.modal-card, [role="dialog"] > .modal-card) {
  border: 1px solid var(--yz-line) !important;
  border-radius: var(--yz-radius-lg) !important;
  background: #fff !important;
  box-shadow: 0 24px 70px rgba(7, 29, 53, .2) !important;
}

html[data-hbv-design="yanzhao-pro"] .toast {
  border: 1px solid var(--yz-line) !important;
  border-radius: 11px !important;
  background: #102b49 !important;
  color: #fff !important;
  box-shadow: var(--yz-shadow-md) !important;
}

html[data-hbv-design="yanzhao-pro"] img.hbv-image-fallback {
  display: none !important;
}

html[data-hbv-design="yanzhao-pro"] .admin-brand.hbv-brand-fallback::before {
  content: "冀";
  display: grid;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  background: linear-gradient(135deg, var(--yz-brand), #0aa6bf);
  color: #fff;
  box-shadow: 0 8px 18px rgba(0, 30, 75, .24);
  font-size: 17px;
  font-weight: 850;
}

/* 终验精修：避免切页瞬间整页发灰，并把管理上下文压成一条清晰信息带。 */
html[data-hbv-design="yanzhao-pro"] .admin-page {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

html[data-hbv-design="yanzhao-pro"] .hf21-s5-ops-context {
  grid-template-columns: minmax(240px, 1.25fr) repeat(3, minmax(145px, .8fr)) !important;
}

html[data-hbv-design="yanzhao-pro"] .admin-page > .page-head,
html[data-hbv-design="yanzhao-pro"] .admin-page .page-head {
  position: relative !important;
  top: auto !important;
  max-width: var(--yz-content) !important;
  min-height: 0 !important;
  margin: 0 auto 14px !important;
  padding: 20px 4px 16px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-hbv-design="yanzhao-pro"] .admin-page > .page-head h2,
html[data-hbv-design="yanzhao-pro"] .admin-page .page-head h2 {
  margin: 5px 0 6px !important;
  color: var(--yz-ink-strong) !important;
  font-size: 30px !important;
  font-weight: 780 !important;
  letter-spacing: -.025em;
}

html[data-hbv-design="yanzhao-pro"] .admin-page > .page-head p,
html[data-hbv-design="yanzhao-pro"] .admin-page .page-head p {
  color: var(--yz-muted) !important;
  font-size: 13px !important;
  line-height: 1.65 !important;
}

/* 辅助治理页只保留一处页面标题：全局顶栏负责定位，第二层仅承载动作。 */
html[data-hbv-design="yanzhao-pro"] body.hbv-unified-aux .hbv-unified-page-toolbar {
  min-height: 52px !important;
  height: 52px !important;
  justify-content: flex-end !important;
  padding: 7px 28px !important;
}

html[data-hbv-design="yanzhao-pro"] body.hbv-unified-aux .hbv-unified-page-toolbar > .mark,
html[data-hbv-design="yanzhao-pro"] body.hbv-unified-aux .hbv-unified-page-toolbar > .mark + div {
  display: none !important;
}

html[data-hbv-design="yanzhao-pro"] body.hbv-unified-aux .hbv-unified-page-toolbar > nav {
  width: auto !important;
  margin-left: auto !important;
}

html[data-hbv-design="yanzhao-pro"] body.hbv-unified-aux > .hf21-admin-context {
  min-height: 66px !important;
  margin-top: 12px !important;
  margin-bottom: 12px !important;
  padding-block: 9px !important;
}

html[data-hbv-design="yanzhao-pro"] body.hbv-unified-aux .hero {
  min-height: 280px !important;
}

html[data-hbv-design="yanzhao-pro"] body.hbv-unified-aux .hero .status {
  color: #fff !important;
}

html[data-hbv-design="yanzhao-pro"] body.hbv-unified-aux .hero .status :where(
  b, strong, h3, h4
) {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  text-shadow: none !important;
}

html[data-hbv-design="yanzhao-pro"] body.hbv-unified-aux .hero .status :where(
  span, small, p
) {
  color: rgba(239, 248, 255, .76) !important;
  -webkit-text-fill-color: rgba(239, 248, 255, .76) !important;
}

/* 合并入口在无法自动跳转时也呈现为完整、可信的产品页面。 */
html[data-hbv-design="yanzhao-pro"] body.hbv-unified-aux > main.container {
  display: grid !important;
  min-height: 100dvh !important;
  place-items: center !important;
  padding: 28px !important;
}

html[data-hbv-design="yanzhao-pro"] body.hbv-unified-aux > main.container > .card {
  width: min(920px, 100%) !important;
  margin: 0 auto !important;
  padding: 34px !important;
  border-top: 4px solid var(--yz-brand) !important;
  border-radius: var(--yz-radius-lg) !important;
  box-shadow: var(--yz-shadow-md) !important;
}

html[data-hbv-design="yanzhao-pro"] body.hbv-unified-aux > main.container > .card > h1 {
  margin: 8px 0 12px !important;
  color: var(--yz-ink-strong) !important;
  font-size: clamp(28px, 3vw, 38px) !important;
  letter-spacing: -.03em;
}

@media (max-width: 1380px) {
  html[data-hbv-design="yanzhao-pro"] :where(.admin-sidebar, #admin-sidebar) {
    width: 248px !important;
  }
  html[data-hbv-design="yanzhao-pro"] :where(.admin-main, .admin-content) {
    margin-left: 248px !important;
    width: calc(100% - 248px) !important;
  }
}

@media (max-width: 920px) {
  html[data-hbv-design="yanzhao-pro"] :where(.admin-main, .admin-content) {
    margin-left: 0 !important;
    width: 100% !important;
  }

  html[data-hbv-design="yanzhao-pro"] .admin-topbar {
    min-height: 64px !important;
    height: 64px !important;
    padding: 0 14px !important;
  }

  html[data-hbv-design="yanzhao-pro"] .hf21-s5-ops-context {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    margin: 12px 12px 0 !important;
  }

  html[data-hbv-design="yanzhao-pro"] .admin-page.page-head,
  html[data-hbv-design="yanzhao-pro"] .admin-page > .page-head,
  html[data-hbv-design="yanzhao-pro"] .admin-page .page-head {
    padding: 22px 14px 16px !important;
  }

  html[data-hbv-design="yanzhao-pro"] .admin-page:not(.page-head) {
    padding-inline: 12px !important;
  }

  html[data-hbv-design="yanzhao-pro"] body.hbv-unified-aux .hbv-unified-page-toolbar {
    padding-inline: 14px !important;
  }

  html[data-hbv-design="yanzhao-pro"] body.hbv-unified-aux .hero {
    min-height: 0 !important;
  }
}

@media (max-width: 680px) {
  html[data-hbv-design="yanzhao-pro"] {
    font-size: 13px;
  }

  html[data-hbv-design="yanzhao-pro"] :where(
    button, .btn, a.button, .primary, .secondary, .ghost, .school-btn
  ) {
    min-height: 44px;
  }

  html[data-hbv-design="yanzhao-pro"] .hf21-s5-ops-context {
    display: none !important;
  }

  html[data-hbv-design="yanzhao-pro"] .admin-topbar-right {
    display: none !important;
  }

  html[data-hbv-design="yanzhao-pro"] .admin-topbar-left {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: none !important;
  }

  html[data-hbv-design="yanzhao-pro"] .admin-topbar-left > div,
  html[data-hbv-design="yanzhao-pro"] .admin-topbar #top-title {
    width: auto !important;
    min-width: 0 !important;
  }

  html[data-hbv-design="yanzhao-pro"] .hf21-s5-ops-context > div:first-child {
    padding: 4px 2px !important;
  }

  html[data-hbv-design="yanzhao-pro"] .admin-page.page-head h2,
  html[data-hbv-design="yanzhao-pro"] .admin-page > .page-head h2,
  html[data-hbv-design="yanzhao-pro"] .admin-page .page-head h2 {
    font-size: 25px !important;
  }

  html[data-hbv-design="yanzhao-pro"] .admin-command-card {
    min-height: 76px !important;
  }

  html[data-hbv-design="yanzhao-pro"] .metric-card {
    min-height: 104px !important;
  }

  html[data-hbv-design="yanzhao-pro"] .preview-mode-banner {
    min-height: 56px !important;
    padding: 6px 10px !important;
  }

  html[data-hbv-design="yanzhao-pro"] .preview-mode-banner button {
    min-height: 44px !important;
    height: 44px !important;
  }

  html[data-hbv-design="yanzhao-pro"] .workspace-bar,
  html[data-hbv-design="yanzhao-pro"] .hf21-journey-rail {
    margin-inline: 10px !important;
    border-radius: 13px !important;
  }

  html[data-hbv-design="yanzhao-pro"] .dashboard-hero {
    min-height: 0 !important;
    margin-inline: 10px !important;
    padding: 22px 18px !important;
    border-radius: 16px !important;
  }

  html[data-hbv-design="yanzhao-pro"] .dashboard-hero h2 {
    font-size: 27px !important;
  }

  html[data-hbv-design="yanzhao-pro"] body.hbv-unified-aux .hbv-unified-page-toolbar {
    min-height: 54px !important;
    height: 54px !important;
    padding-inline: 12px !important;
  }

  html[data-hbv-design="yanzhao-pro"] body.hbv-unified-aux > .hf21-admin-context {
    display: none !important;
  }

  html[data-hbv-design="yanzhao-pro"] body.hbv-unified-aux > :where(.main, main.main) {
    padding-inline: 10px !important;
  }

  html[data-hbv-design="yanzhao-pro"] body.hbv-unified-aux .hero {
    border-radius: 16px !important;
  }

  html[data-hbv-design="yanzhao-pro"] body.hbv-unified-aux > main.container {
    min-height: 100dvh !important;
    padding: 16px !important;
  }

  html[data-hbv-design="yanzhao-pro"] body.hbv-unified-aux > main.container > .card {
    padding: 24px 18px !important;
  }

  html[data-hbv-design="yanzhao-pro"] :where(
    table, .table, .data-table, .gov-table
  ) thead th,
  html[data-hbv-design="yanzhao-pro"] :where(
    table, .table, .data-table, .gov-table
  ) tbody td {
    padding-inline: 12px !important;
  }
}

@media (forced-colors: active) {
  html[data-hbv-design="yanzhao-pro"] :where(
    .panel, .card, .metric-card, .admin-command-card, .dashboard-hero,
    .hero, .workspace-bar, .hf21-journey-rail
  ) {
    border: 1px solid CanvasText !important;
    box-shadow: none !important;
  }
}

@media print {
  html[data-hbv-design="yanzhao-pro"],
  html[data-hbv-design="yanzhao-pro"] body {
    background: #fff !important;
  }

  html[data-hbv-design="yanzhao-pro"] :where(
    .panel, .card, .metric-card, .table-wrap, .hero, .dashboard-hero
  ) {
    border-color: #bbb !important;
    box-shadow: none !important;
  }
}
