/* Portal SSG shell — layout contracts expressed with --nz-* tokens.
 * Public pages use physical layout properties for older Chromium (360 speed mode).
 * Keep this baseline independent of the IE-only legacy stylesheet. */
:root {
  color-scheme: light;
  /* Keep responsive text at its declared size while preserving page zoom and reading preferences. */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-family: var(--nz-font-sans, "PingFang SC", "Microsoft YaHei", sans-serif);
  --nz-reading-line-height: 2;
  font-size: 100%;
  line-height: var(--nz-line-height-normal, 1.6);
  color: var(--nz-color-text-body, #1a1a1a);
  background: var(--nz-color-background, #fff);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--nz-color-background, #fff);
  font-size: var(--nz-font-size-body, 1rem);
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

.page-shell,
.content-width {
  width: calc(100% - 40px);
  max-width: 1184px;
  margin-left: auto;
  margin-right: auto;
}

.design-section-pad {
  padding-top: var(--nz-layout-section-gap-compact, 1.5rem);
  padding-bottom: var(--nz-layout-section-gap-compact, 1.5rem);
}

.legacy-browser-notice {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: auto;
  background: rgba(0, 0, 0, 0.5);
}

.legacy-browser-notice.is-visible {
  display: block;
}

.legacy-browser-notice__card {
  position: absolute;
  top: 20%;
  right: 0;
  left: 0;
  width: 90%;
  max-width: 480px;
  margin: 0 auto 24px;
  padding: 24px;
  color: #8a5a00;
  background: #fff9e8;
  border: 1px solid #f2dfae;
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
  font-size: 14px;
  line-height: 1.6;
}

.legacy-browser-notice__card h2 {
  margin: 0 0 12px;
  font-size: 18px;
}

.legacy-browser-notice__card p {
  margin: 0 0 20px;
}

.legacy-browser-notice__card button {
  display: block;
  margin-left: auto;
  padding: 8px 18px;
  color: #fff;
  background: #06447d;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}

.skip-link {
  position: absolute;
  z-index: var(--nz-z-dropdown, 300);
  top: 0;
  left: var(--nz-space-4, 1rem);
  padding: var(--nz-space-2, 0.5rem) var(--nz-space-4, 1rem);
  color: var(--nz-color-text-on-inverse, #fff);
  background: var(--nz-color-surface-inverse, #111);
  border-radius: var(--nz-radius-xs, 4px);
  font-size: var(--nz-font-size-sm, 0.875rem);
  font-weight: 600;
  transform: translateY(-101%);
  transition: transform 0.18s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* 全站公告条（站点参数 announce.*）：portal.js 按起止时间去掉 hidden。 */
.site-announce {
  /* 叠在页头（z-index 200）之上：页头里的「跳到主内容」平时藏在页头上沿之外，不能露在公告条上。 */
  position: relative;
  z-index: 201;
  display: block;
  color: var(--nz-color-warning, #8a5a00);
  background: var(--nz-color-warning-surface, #fff9e8);
  border-bottom: 1px solid var(--nz-color-warning-border, #f2dfae);
  font-size: var(--nz-font-size-sm, 0.875rem);
  line-height: var(--nz-line-height-normal, 1.5);
}

.site-announce[hidden] {
  display: none;
}

.site-announce__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.site-announce__label {
  flex: 0 0 auto;
  padding: 0 8px;
  color: var(--nz-color-text-on-inverse, #fff);
  background: var(--nz-color-warning, #8a5a00);
  border-radius: var(--nz-radius-xs, 2px);
  font-size: var(--nz-font-size-xs, 0.8125rem);
  font-weight: var(--nz-font-weight-semibold, 600);
}

.site-announce__text {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  color: inherit;
}

a.site-announce__text {
  text-decoration: underline;
  text-underline-offset: 3px;
}

a.site-announce__text:hover,
a.site-announce__text:focus-visible {
  color: var(--nz-color-text-accent, #c30f30);
}

.site-announce__close {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: var(--nz-radius-xs, 2px);
  cursor: pointer;
}

.site-announce__close:hover,
.site-announce__close:focus-visible {
  background: rgba(138, 90, 0, 0.12);
}

.site-announce__close .nz-icon {
  width: 18px;
  height: 18px;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: sticky;
  z-index: var(--nz-z-header, 200);
  top: 0;
  background: var(--nz-color-overlay-header, rgba(255, 255, 255, 0.96));
  border-bottom: 1px solid var(--nz-color-border, #e5e5e5);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: var(--nz-layout-header-height-compact, 64px);
  display: grid;
  grid-template-columns: minmax(0, auto) 1fr auto;
  align-items: center;
  gap: var(--nz-space-3, 0.75rem);
}

.brand {
  flex: 0 1 auto;
  min-width: 0;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.brand,
.brand img {
  width: 136px;
  height: auto;
}

/* 后台可换 Logo：比例不同的图按内置 Logo（316×84）在最宽档 176px 下的高度封顶，不撑高页头。 */
.brand img {
  max-height: 47px;
  object-fit: contain;
  object-position: left center;
}

@media (min-width: 640px) {
  .brand,
  .brand img {
    width: 158px;
  }
}

.brand:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: var(--nz-space-2, 0.5rem);
  justify-self: end;
}

.a11y-entry {
  min-height: 36px;
  padding: 6px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--nz-color-text-secondary, #555);
  background: transparent;
  border: 0;
  border-radius: var(--nz-radius-xs, 4px);
  font-size: var(--nz-font-size-2xs, 0.75rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
  cursor: pointer;
}

.a11y-entry__mark {
  color: var(--nz-color-text-brand, #0b5f98);
  font-size: var(--nz-font-size-sm, 0.875rem);
  font-weight: 700;
  line-height: 1;
}

.a11y-entry:hover {
  color: var(--nz-color-text-brand, #0b5f98);
  background: var(--nz-color-fill-brand-soft, #e8f2f9);
}

.a11y-entry[aria-expanded="true"] {
  color: var(--nz-color-text-on-brand, #fff);
  background: var(--nz-color-fill-brand, #0b5f98);
}

.a11y-entry[aria-expanded="true"] .a11y-entry__mark {
  color: inherit;
}

.a11y-entry__text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* 全局搜索入口：页头右上角，与无障碍入口同一视觉层级；窄屏只留图标。 */
.header-search {
  min-height: 36px;
  padding: 6px 10px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--nz-color-text-secondary, #555);
  border-radius: var(--nz-radius-xs, 4px);
  font-size: var(--nz-font-size-2xs, 0.75rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-decoration: none;
}

.header-search .nz-icon {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--nz-color-text-brand, #0b5f98);
}

.header-search:hover,
.header-search:focus-visible {
  color: var(--nz-color-text-brand, #0b5f98);
  background: var(--nz-color-fill-brand-soft, #e8f2f9);
}

.header-search > span[data-global-search-icon] {
  display: inline-flex;
}

.header-search > span[data-global-search-icon][hidden] {
  display: none;
}

/* 展开态：图标换成 ×、文字换成「关闭」，不加底色或下划线（与手机菜单按钮一致）。 */
.header-search[aria-expanded="true"] {
  color: var(--nz-color-text-strong, #00254f);
  background: transparent;
}

.header-search[aria-expanded="true"] .nz-icon {
  color: inherit;
}

.header-search[aria-expanded="true"]:hover,
.header-search[aria-expanded="true"]:focus-visible {
  background: var(--nz-color-fill-brand-soft, #f2f7fc);
}

.header-search__text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.global-search {
  position: fixed;
  z-index: calc(var(--nz-z-header, 200) - 1);
  top: var(--nz-layout-header-height-compact, 64px);
  right: 0;
  left: 0;
  max-height: calc(100vh - var(--nz-layout-header-height-compact, 64px));
  overflow-y: auto;
  background: var(--nz-color-surface, #fff);
  border-bottom: 1px solid var(--nz-color-border, #e5e5e5);
  box-shadow: var(--nz-shadow-md, 0 12px 32px rgba(0, 37, 79, 0.12));
}

.global-search[hidden],
.global-search-scrim[hidden],
.global-search__results[hidden],
.global-search__more[hidden] {
  display: none !important;
}

.global-search-scrim {
  position: fixed;
  z-index: calc(var(--nz-z-header, 200) - 2);
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 37, 79, 0.28);
}

.global-search__inner {
  padding-top: var(--nz-space-5, 1.25rem);
  padding-bottom: var(--nz-space-6, 1.5rem);
}

.global-search__bar {
  display: flex;
  align-items: center;
  gap: var(--nz-space-2, 0.5rem);
  max-width: 52rem;
  margin: 0 auto;
}

.global-search__form {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: var(--nz-space-2, 0.5rem);
  padding: 4px 4px 4px 12px;
  border: 1px solid var(--nz-color-border-strong, #b8c4d0);
  border-radius: var(--nz-radius-md, 6px);
  background: var(--nz-color-surface, #fff);
}

.global-search__form:focus-within {
  border-color: var(--nz-color-border-brand, #0b5f98);
  box-shadow: 0 0 0 3px var(--nz-color-fill-brand-soft, #e8f2f9);
}

.global-search__icon {
  display: inline-flex;
  color: var(--nz-color-text-muted, #666);
}

.global-search__icon .nz-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.global-search__form input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 2.5rem;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--nz-color-text, #222);
  font: inherit;
  font-size: var(--nz-font-size-md, 1rem);
}

/* 面板自带关闭按钮，去掉浏览器给 type=search 画的清除叉，免得两个 × 并排。 */
.global-search__form input::-webkit-search-cancel-button {
  appearance: none;
}

.global-search__submit {
  flex: 0 0 auto;
  min-height: 2.5rem;
  padding: 0 1.25rem;
  white-space: nowrap;
  border: 0;
  border-radius: var(--nz-radius-sm, 4px);
  background: var(--nz-color-fill-brand, #0757a6);
  color: var(--nz-color-text-on-brand, #fff);
  font: inherit;
  font-size: var(--nz-font-size-sm, 0.875rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background-color 0.18s ease;
}

.global-search__submit:hover,
.global-search__submit:focus-visible {
  background: var(--nz-color-fill-brand-hover, #06447d);
}

.global-search__status {
  max-width: 52rem;
  margin: 0.75rem auto 0;
  color: var(--nz-color-text-muted, #666);
  font-size: 0.8125rem;
}

.global-search__status:empty {
  display: none;
}

.global-search__results {
  max-width: 52rem;
  margin: 0.5rem auto 0;
  padding: 0;
  list-style: none;
}

.global-search__results a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--nz-radius-sm, 4px);
  color: var(--nz-color-text-strong, #00254f);
  text-decoration: none;
}

.global-search__results a:hover,
.global-search__results a:focus-visible {
  background: var(--nz-color-fill-brand-soft, #e8f2f9);
}

.global-search__title {
  min-width: 0;
  overflow: hidden;
  font-size: 0.9375rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.global-search__results mark {
  padding: 0;
  color: var(--nz-color-text-accent, #c43b2e);
  background: transparent;
  font-weight: 700;
}

.global-search__results time {
  flex: 0 0 auto;
  color: var(--nz-color-text-muted, #666);
  font-size: 0.75rem;
}

.global-search__more {
  display: block;
  max-width: 52rem;
  margin: 0.5rem auto 0;
  padding: 0.5rem 0.75rem;
  color: var(--nz-color-text-brand, #0b5f98);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.global-search__more:hover,
.global-search__more:focus-visible {
  text-decoration: underline;
}

@media (max-width: 639px) {
  .global-search__submit {
    padding: 0 0.85rem;
  }
}

@media (min-width: 640px) {
  .header-search__text {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip-path: none;
  }
}

@media (min-width: 1100px) {
  .global-search {
    top: var(--nz-layout-header-height, 82px);
    max-height: calc(100vh - var(--nz-layout-header-height, 82px));
  }
}

.service-phone {
  flex-shrink: 0;
  min-height: 42px;
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  column-gap: var(--nz-space-2, 0.5rem);
  padding: 6px 10px;
  color: var(--nz-color-text-muted, #666);
  font-size: var(--nz-font-size-3xs, 0.6875rem);
  line-height: var(--nz-line-height-tight, 1.2);
  white-space: nowrap;
  border-left: 1px solid var(--nz-color-border, #e5e5e5);
  text-decoration: none;
}

.service-phone .nz-icon {
  grid-row: 1 / span 2;
  width: 1em;
  height: 1em;
  font-size: var(--nz-font-size-lg, 1.125rem);
  color: var(--nz-color-text-brand, #0b5f98);
  justify-self: center;
}

.service-phone span {
  grid-column: 2;
}

.service-phone strong {
  grid-column: 2;
  color: var(--nz-color-text-strong, #00254f);
  font-size: var(--nz-font-size-xs, 0.8125rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* 窄屏页头放不下 Logo + 搜索 + 无障碍 + 客服电话 + 菜单：客服电话收进抽屉（抽屉里有同一入口）。 */
@media (max-width: 599px) {
  .service-phone {
    display: none;
  }
}

.menu-toggle {
  width: var(--nz-layout-tap-target-min, 44px);
  height: var(--nz-layout-tap-target-min, 44px);
  display: grid;
  place-items: center;
  color: var(--nz-color-text-strong, #111);
  background: transparent;
  border: 0;
  font-size: var(--nz-font-size-xl, 1.25rem);
  cursor: pointer;
}

.menu-toggle .nz-icon {
  width: 1.35rem;
  height: 1.35rem;
}

/* Desktop mega nav hidden below expand threshold (1100px). */
.site-nav {
  display: none;
}

.site-nav__row {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: clamp(0.625rem, 1vw, 1.25rem);
  margin-left: auto;
  margin-right: auto;
}

.site-nav__link,
.mega__trigger {
  padding-left: 2px;
  padding-right: 2px;
  display: inline-flex;
  align-items: center;
  color: var(--nz-color-text-secondary, #555);
  font-size: var(--nz-font-size-sm, 0.875rem);
  font-weight: var(--nz-font-weight-semibold, 600);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition:
    color 0.18s ease,
    border-color 0.18s ease;
}

.site-nav__link[aria-current],
.mega__trigger.is-active,
.site-nav__link:hover,
.site-nav__link:focus-visible,
.mega__trigger:hover,
.mega__trigger:focus-visible,
.mega__trigger[aria-expanded="true"] {
  color: var(--nz-color-text-accent, #c30f30);
  border-bottom-color: var(--nz-color-border-accent, #df1238);
}

.mega {
  position: relative;
  display: flex;
}

.mega__panel {
  position: absolute;
  z-index: var(--nz-z-dropdown, 300);
  top: 100%;
  left: 50%;
  min-width: 210px;
  padding: var(--nz-space-2, 0.5rem);
  display: grid;
  gap: var(--nz-space-1, 0.25rem);
  background: var(--nz-color-surface, #fff);
  border-top: 3px solid var(--nz-color-border-accent, #df1238);
  border-radius: var(--nz-radius-md, 6px);
  box-shadow: var(--nz-shadow-lg, 0 12px 32px rgba(25, 54, 84, 0.12));
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s ease;
}

.mega__panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.mega__item {
  min-height: var(--nz-layout-tap-target-min, 44px);
  padding: var(--nz-space-2, 0.5rem) var(--nz-space-3, 0.75rem);
  display: grid;
  align-content: center;
  gap: var(--nz-space-1, 0.25rem);
  border-radius: var(--nz-radius-xs, 4px);
  transition:
    color 0.18s ease,
    background 0.18s ease;
}

.mega__item-label {
  color: var(--nz-color-text-body, #3b4656);
  font-size: var(--nz-font-size-sm, 0.875rem);
  font-weight: var(--nz-font-weight-medium, 500);
  white-space: nowrap;
}

.mega__item-eyebrow {
  color: var(--nz-color-text-disabled, #9aa3af);
  font-size: var(--nz-font-size-3xs, 0.6875rem);
  letter-spacing: var(--nz-letter-spacing-wider, 0.04em);
  white-space: nowrap;
}

.mega__item:hover,
.mega__item:focus-visible,
.mega__item[aria-current] {
  background: var(--nz-color-fill-accent-soft, #fff1f4);
}

.mega__item:hover .mega__item-label,
.mega__item:focus-visible .mega__item-label,
.mega__item[aria-current] .mega__item-label {
  color: var(--nz-color-text-accent, #c30f30);
}

.site-main {
  flex: 1;
}

.site-footer {
  color: var(--nz-color-text-body, #3b4656);
  background: var(--nz-color-surface, #fff);
}

.footer-inner,
.scheme-a-footer__inner {
  padding-top: 42px;
  padding-bottom: 30px;
}

.footer-title,
.scheme-a-footer__title {
  margin: 0 0 24px;
  color: var(--nz-color-text-strong, #00254f);
  font-size: var(--nz-font-size-3xl, 1.5rem);
  font-weight: var(--nz-font-weight-bold, 700);
}

.partner-logos {
  margin: 0 0 28px;
  padding: 0 0 24px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  border-bottom: 1px solid var(--nz-color-border, #e2e7ed);
  list-style: none;
}

.partner-logos a {
  /* Keep absolute screen-reader hints inside the horizontally scrolling card. */
  position: relative;
  min-height: 64px;
  display: grid;
  place-items: center;
  padding: 10px 14px;
  background: var(--nz-color-surface-muted, #f6f9fc);
  border: 1px solid var(--nz-color-border, #e2e7ed);
  border-radius: var(--nz-radius-sm, 4px);
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.18s ease,
    transform 0.18s ease;
}

.partner-logos a:hover,
.partner-logos a:focus-visible {
  border-color: var(--nz-color-border-brand, #0757a6);
  transform: translateY(-2px);
}

.partner-logos img {
  width: 100%;
  height: auto;
  max-height: 44px;
  object-fit: contain;
}

.footer-link {
  min-height: var(--nz-layout-tap-target-min, 44px);
  display: inline-flex;
  align-items: center;
  color: var(--nz-color-text-secondary, #526075);
  font-size: var(--nz-font-size-sm, 0.875rem);
}

.footer-contact,
.scheme-a-footer__contacts {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  padding: 0 220px 28px 0;
  margin: 0;
  border-bottom: 1px solid var(--nz-color-border, #e2e7ed);
}

.footer-contact__item,
.scheme-a-footer__contact {
  margin: 0;
  display: flex;
  gap: 12px;
  color: var(--nz-color-text-secondary, #526075);
  font-size: var(--nz-font-size-sm, 0.875rem);
  line-height: var(--nz-line-height-normal, 1.5);
}

.footer-contact__item .nz-icon,
.wechat-link .nz-icon {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  color: var(--nz-color-text-brand, #06447d);
  font-size: var(--nz-font-size-md, 1rem);
}

.footer-contact__item small {
  color: var(--nz-color-text-muted, #626d7c);
}

.footer-contact__item a:hover,
.footer-contact__item a:focus-visible {
  color: var(--nz-color-text-accent, #c30f30);
}

.wechat-link,
.site-wechat-link {
  position: absolute;
  right: 0;
  bottom: 52px;
  min-width: 168px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--nz-color-text-brand, #06447d);
  border: 1px solid var(--nz-color-text-brand, #06447d);
  border-radius: var(--nz-radius-xs, 2px);
  text-decoration: none;
  font-size: var(--nz-font-size-sm, 0.875rem);
  font-weight: var(--nz-font-weight-semibold, 600);
  transition:
    color 0.18s ease,
    background 0.18s ease;
}

.wechat-link:hover,
.wechat-link:focus-visible,
.site-wechat-link:hover,
.site-wechat-link:focus-visible {
  color: var(--nz-color-text-on-inverse, #fff);
  background: var(--nz-color-surface-inverse, #00254f);
}

/*
 * 官方微信：配置了公众号二维码才渲染。悬停、键盘聚焦或点按（触屏，portal.js 切换 is-open）时在按钮上方显示二维码；
 * 点按收起或按 Esc 后加 is-dismissed，免得鼠标仍悬停、焦点仍在按钮上时浮层又被 hover / focus 撑开。
 */
.site-wechat {
  position: absolute;
  right: 0;
  bottom: 52px;
}

.site-wechat .site-wechat-link {
  position: relative;
  right: auto;
  bottom: auto;
  cursor: pointer;
  background: transparent;
  font-family: inherit;
}

.site-wechat__qr {
  display: none;
  position: absolute;
  z-index: var(--nz-z-dropdown, 300);
  right: 0;
  bottom: 54px;
  width: 176px;
  padding: 12px;
  color: var(--nz-color-text-secondary, #526075);
  background: var(--nz-color-surface, #fff);
  border: 1px solid var(--nz-color-border, #e2e7ed);
  border-radius: var(--nz-radius-sm, 4px);
  box-shadow: 0 8px 24px rgba(0, 37, 79, 0.16);
  font-size: var(--nz-font-size-xs, 0.8125rem);
  line-height: var(--nz-line-height-normal, 1.5);
  text-align: center;
}

.site-wechat__qr img {
  display: block;
  width: 150px;
  height: auto;
  margin: 0 auto 6px;
  object-fit: contain;
}

.site-wechat:hover .site-wechat__qr,
.site-wechat-link:focus-visible + .site-wechat__qr,
.site-wechat.is-open .site-wechat__qr {
  display: block;
}

.site-wechat.is-dismissed .site-wechat__qr {
  display: none;
}

.legal-row {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 38px;
  color: var(--nz-color-text-brand, #06447d);
  font-size: var(--nz-font-size-xs, 0.8125rem);
  line-height: var(--nz-line-height-normal, 1.5);
}

@media (max-width: 767px) {
  .partner-logos {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 144px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  .partner-logos::-webkit-scrollbar {
    display: none;
  }

  .footer-contact,
  .scheme-a-footer__contacts {
    padding-right: 0;
    padding-bottom: 18px;
  }

  .wechat-link,
  .site-wechat-link {
    position: static;
    width: 100%;
    margin-top: 8px;
  }

  .site-wechat {
    position: relative;
    right: auto;
    bottom: auto;
  }

  .site-wechat .site-wechat-link {
    width: 100%;
  }
}

.site-footer__inner {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  display: grid;
  gap: 0.35rem;
}

.site-footer__filings {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Reading aids toolbar */
.reading-aids {
  position: sticky;
  z-index: calc(var(--nz-z-header, 200) - 1);
  top: var(--nz-layout-header-height-compact, 64px);
  background: var(--nz-color-surface, #fff);
  border-bottom: 1px solid var(--nz-color-border, #e5e5e5);
  box-shadow: var(--nz-shadow-xs, 0 1px 2px rgba(0, 0, 0, 0.06));
}

.reading-aids[hidden] {
  display: none !important;
}

.reading-aids__accent {
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--nz-color-fill-brand, #0b5f98) 0%,
    var(--nz-color-brand-400, #3d8ec0) 55%,
    var(--nz-color-fill-accent, #c43b2e) 100%
  );
}

.reading-aids__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--nz-space-2, 0.5rem) var(--nz-space-3, 0.75rem);
  padding-top: var(--nz-space-2, 0.5rem);
  padding-bottom: var(--nz-space-2, 0.5rem);
}

.reading-aids__hint {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.5rem;
  margin: 0;
  color: var(--nz-color-text-muted, #666);
  font-size: var(--nz-font-size-2xs, 0.75rem);
  white-space: nowrap;
}

.reading-aids__groups {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--nz-space-2, 0.5rem) var(--nz-space-3, 0.75rem);
  min-width: 0;
}

.reading-aids__section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--nz-space-2, 0.5rem);
}

.reading-aids__section-label {
  color: var(--nz-color-text-brand, #0b5f98);
  font-size: var(--nz-font-size-2xs, 0.75rem);
  font-weight: 600;
}

.reading-aids__section-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--nz-space-2, 0.5rem);
}

.reading-aids__section-controls--chips {
  gap: var(--nz-space-1, 0.25rem);
}

.reading-aids__field {
  display: inline-flex;
  align-items: center;
  gap: var(--nz-space-1, 0.25rem);
}

.reading-aids__field-label {
  color: var(--nz-color-text-muted, #666);
  font-size: var(--nz-font-size-2xs, 0.75rem);
}

.reading-aids__segment {
  display: inline-flex;
  padding: 1px;
  background: var(--nz-color-surface-muted, #f7f7f7);
  border: 1px solid var(--nz-color-border, #e5e5e5);
  border-radius: var(--nz-radius-sm, 6px);
}

.reading-aids__segment-btn {
  min-width: 2.75em;
  min-height: 28px;
  padding: 0 var(--nz-space-2, 0.5rem);
  color: var(--nz-color-text-secondary, #555);
  background: transparent;
  border: 0;
  border-radius: var(--nz-radius-xs, 4px);
  font-size: var(--nz-font-size-2xs, 0.75rem);
  cursor: pointer;
}

.reading-aids__segment-btn[data-view="overview"] {
  color: var(--nz-color-text-on-brand, #fff);
  background: var(--nz-color-fill-brand, #0b5f98);
  font-weight: 600;
}

.reading-aids__chip,
.reading-aids__action {
  min-height: 28px;
  padding: 0 var(--nz-space-2, 0.5rem);
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  color: var(--nz-color-text-secondary, #555);
  background: var(--nz-color-surface, #fff);
  border: 1px solid var(--nz-color-border-control, #ccc);
  border-radius: 999px;
  font-size: var(--nz-font-size-2xs, 0.75rem);
  cursor: pointer;
}

.reading-aids__chip--on,
.reading-aids__chip[data-view="overview"] {
  color: var(--nz-color-text-brand, #0b5f98);
  background: var(--nz-color-fill-brand-soft, #e8f2f9);
  border-color: var(--nz-color-border-brand, #0b5f98);
  font-weight: 600;
}

.reading-aids__chip:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.reading-aids__divider {
  flex: 0 0 1px;
  align-self: stretch;
  width: 1px;
  min-height: 24px;
  background: var(--nz-color-border, #e5e5e5);
}

.reading-aids__actions {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: var(--nz-space-1, 0.25rem);
  margin-left: auto;
}

.reading-aids__action {
  background: transparent;
}

.reading-aids-guide {
  position: fixed;
  z-index: var(--nz-z-dropdown, 300);
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
}

.reading-aids-guide[hidden] {
  display: none !important;
}

.reading-aids-guide__h,
.reading-aids-guide__v {
  position: absolute;
  background: var(--nz-color-fill-accent, #c43b2e);
  opacity: 0.85;
}

.reading-aids-guide__h {
  left: 0;
  right: 0;
  height: 2px;
  transform: translateY(-1px);
}

.reading-aids-guide__v {
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-1px);
}

/* Mobile drawer */
.drawer-root {
  position: fixed;
  z-index: var(--nz-z-drawer, 400);
  top: var(--nz-layout-header-height-compact, 64px);
  right: 0;
  bottom: 0;
  left: 0;
}

.drawer-root[hidden] {
  display: none !important;
}

.drawer-scrim {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: var(--nz-color-overlay-scrim, rgba(0, 37, 79, 0.55));
}

.drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: auto;
  left: 0;
  max-height: 100%;
  padding: var(--nz-space-3, 0.75rem) var(--nz-layout-gutter-compact, 0.75rem) var(--nz-space-8, 2rem);
  overflow-y: auto;
  background: var(--nz-color-surface, #fff);
  border-bottom: 1px solid var(--nz-color-border, #e5e5e5);
  box-shadow: var(--nz-shadow-lg, 0 12px 32px rgba(0, 0, 0, 0.12));
}

.drawer__nav {
  display: grid;
}

.drawer__link {
  width: 100%;
  min-height: var(--nz-layout-tap-target-min, 44px);
  padding: 0 var(--nz-space-1, 0.25rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--nz-color-text-strong, #111);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--nz-color-border-subtle, #eee);
  font-size: var(--nz-font-size-md, 1rem);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.drawer__link[aria-current],
.drawer__toggle.is-active,
.drawer__sub-link[aria-current] {
  color: var(--nz-color-text-accent, #c30f30);
  background: var(--nz-color-fill-accent-soft, #fff1f4);
  box-shadow: inset 3px 0 0 var(--nz-color-border-accent, #df1238);
}

.drawer__caret {
  color: var(--nz-color-text-muted, #666);
  transition: transform 0.18s ease;
}

.drawer__toggle[aria-expanded="true"] .drawer__caret {
  transform: rotate(180deg);
}

.drawer__sub {
  padding: var(--nz-space-1, 0.25rem) 0 var(--nz-space-2, 0.5rem) var(--nz-space-3, 0.75rem);
  display: grid;
}

.drawer__sub[hidden] {
  display: none !important;
}

.drawer__sub-link {
  min-height: var(--nz-layout-tap-target-min, 44px);
  display: flex;
  align-items: center;
  color: var(--nz-color-text-secondary, #555);
  font-size: var(--nz-font-size-sm, 0.875rem);
}

.drawer__actions {
  margin-top: var(--nz-space-6, 1.5rem);
  display: grid;
  gap: var(--nz-space-2, 0.5rem);
}

.drawer__action {
  min-height: var(--nz-layout-tap-target-min, 44px);
  padding-left: var(--nz-space-4, 1rem);
  padding-right: var(--nz-space-4, 1rem);
  display: flex;
  align-items: center;
  gap: var(--nz-space-2, 0.5rem);
  color: var(--nz-color-text-strong, #111);
  border: 1px solid var(--nz-color-border, #e5e5e5);
  border-radius: var(--nz-radius-md, 8px);
  font-size: var(--nz-font-size-sm, 0.875rem);
  font-weight: 600;
  background: transparent;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
}

.drawer__action .nz-icon {
  width: 1.1em;
  height: 1.1em;
  flex: 0 0 auto;
}

.drawer__caret .nz-icon {
  width: 1.25em;
  height: 1.25em;
}

.drawer__action--accent {
  color: var(--nz-color-text-on-accent, #fff);
  background: var(--nz-color-fill-accent, #c43b2e);
  border-color: transparent;
}

.back-to-top {
  position: fixed;
  z-index: var(--nz-z-sticky, 100);
  right: var(--nz-layout-gutter-compact, 0.75rem);
  bottom: var(--nz-layout-gutter-compact, 0.75rem);
  width: var(--nz-layout-tap-target-min, 44px);
  height: var(--nz-layout-tap-target-min, 44px);
  display: grid;
  place-items: center;
  color: var(--nz-color-text-on-brand, #fff);
  background: var(--nz-color-fill-brand, #0b5f98);
  border: 0;
  border-radius: 999px;
  font-size: var(--nz-font-size-lg, 1.125rem);
  cursor: pointer;
  box-shadow: var(--nz-shadow-lg, 0 12px 32px rgba(0, 0, 0, 0.12));
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top .nz-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.article-pager {
  margin-top: var(--nz-space-4, 1rem);
  padding-top: var(--nz-space-5, 1.25rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--nz-space-4, 1rem);
  border-top: 1px solid var(--nz-color-border, #e5e5e5);
}

.article-pager__item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--nz-space-1, 0.25rem);
}

.article-pager__label,
.article-pager__empty {
  color: var(--nz-color-text-muted, #666);
  font-size: var(--nz-font-size-xs, 0.8125rem);
}

.article-pager__empty {
  opacity: 0.45;
}

.article-pager__item a {
  color: var(--nz-color-text-strong, #111);
  font-size: var(--nz-font-size-sm, 0.875rem);
  line-height: 1.5;
}

.article-pager__item a:hover {
  color: var(--nz-color-text-accent, #c43b2e);
}

.related-articles {
  margin-top: var(--nz-space-5, 1.25rem);
  padding-top: var(--nz-space-5, 1.25rem);
  border-top: 1px solid var(--nz-color-border, #e5e5e5);
}

.related-articles__title {
  margin: 0 0 var(--nz-space-3, 0.75rem);
  color: var(--nz-color-text-strong, #111);
  font-size: var(--nz-font-size-md, 1rem);
  font-weight: var(--nz-font-weight-semibold, 600);
  line-height: var(--nz-line-height-snug, 1.35);
}

.related-articles__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.related-articles__item {
  padding: var(--nz-space-3, 0.75rem) 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--nz-space-2, 0.5rem) var(--nz-space-4, 1rem);
  border-bottom: 1px solid var(--nz-color-border, #e5e5e5);
}

.related-articles__item:last-child {
  border-bottom: 0;
}

.related-articles__item a {
  min-width: 0;
  flex: 1 1 12rem;
  color: var(--nz-color-text-body, #333);
  font-size: var(--nz-font-size-sm, 0.875rem);
  line-height: var(--nz-line-height-normal, 1.5);
  text-decoration: none;
}

.related-articles__item a:hover {
  color: var(--nz-color-text-accent, #c43b2e);
}

.related-articles__item time {
  flex: 0 0 auto;
  color: var(--nz-color-text-muted, #666);
  font-size: var(--nz-font-size-2xs, 0.75rem);
  white-space: nowrap;
}

@media (min-width: 640px) {
  .a11y-entry__text {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip-path: none;
  }
}

@media (min-width: 768px) {
  .article-pager {
    grid-template-columns: 1fr 1fr;
    gap: var(--nz-space-6, 1.5rem);
  }

  .article-pager__item--next {
    text-align: right;
    align-items: flex-end;
  }

  .reading-aids__hint-text {
    display: none;
  }
}

/* Nav expand threshold — $nav-expand-min: 1100. */
@media (min-width: 1100px) {
  .header-inner {
    min-height: var(--nz-layout-header-height, 82px);
    height: var(--nz-layout-header-height, 82px);
    gap: clamp(0.75rem, 1.5vw, 1.75rem);
    grid-template-columns: minmax(176px, 196px) minmax(0, 1fr) auto;
  }

  .brand,
  .brand img {
    width: 176px;
  }

  .site-nav {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    align-self: stretch;
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding-right: var(--nz-space-2, 0.5rem);
  }

  .menu-toggle {
    display: none;
  }

  .drawer-root {
    display: none !important;
  }

  .reading-aids {
    top: var(--nz-layout-header-height, 82px);
  }

  .a11y-entry__text {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip-path: none;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nz-empty,
.muted {
  color: var(--nz-color-text-muted, #666);
  font-size: var(--nz-font-size-sm, 0.9rem);
}

/* —— PageBanner / CategoryShell —— */
.page-banner {
  color: var(--nz-color-text-on-inverse, #fff);
  background: linear-gradient(
    112deg,
    var(--nz-color-brand-700, #003664),
    var(--nz-color-fill-brand, #0b5f98)
  );
}

.page-banner__inner {
  min-height: 156px;
  padding-top: 28px;
  padding-bottom: 48px;
}

.page-banner--article .page-banner__inner {
  min-height: 88px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.page-banner--article .page-banner__lead p {
  margin-bottom: 6px;
}

.page-banner__lead p {
  margin: 0 0 12px;
  color: var(--nz-color-text-on-inverse-muted, rgba(255, 255, 255, 0.78));
  font-size: var(--nz-font-size-2xs, 0.75rem);
  font-weight: 700;
  letter-spacing: 0.18em;
}

.page-banner__lead h1 {
  margin: 0;
  font-size: var(--nz-font-size-3xl, 1.75rem);
  line-height: 1.25;
}

.page-banner__summary {
  margin-top: 14px;
  max-width: 520px;
  color: var(--nz-color-text-on-inverse-muted, rgba(255, 255, 255, 0.78));
  font-size: var(--nz-font-size-sm, 0.9rem);
  line-height: 1.7;
}

.inner-service-strip {
  position: relative;
  z-index: 2;
  margin-top: -32px;
}

.inner-service-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 155px);
  overflow-x: auto;
  border: 1px solid var(--nz-color-border, #e5e5e5);
  border-radius: 2px;
  background: var(--nz-color-surface, #fff);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  scrollbar-width: none;
}

.inner-service-strip__grid::-webkit-scrollbar {
  display: none;
}

.inner-service-strip__item {
  padding: 16px 18px;
  border-right: 1px solid var(--nz-color-border, #e5e5e5);
}

.inner-service-strip__item:last-child {
  border-right: 0;
}

.inner-service-strip__item strong {
  display: block;
  margin: 5px 0;
  color: var(--nz-color-text-strong, #111);
  font-size: var(--nz-font-size-lg, 1.05rem);
  white-space: nowrap;
}

.inner-service-strip__item span {
  display: block;
  color: var(--nz-color-text-muted, #666);
  font-size: 0.7rem;
  white-space: nowrap;
}

.inner-service-strip__item:hover strong {
  color: var(--nz-color-text-accent, #c41230);
}

.inner-layout {
  margin-top: 12px;
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.inner-layout__main {
  min-width: 0;
}

.inner-layout__main:only-child {
  grid-column: 1 / -1;
}

.section-nav {
  align-self: start;
  overflow: hidden;
  border: 1px solid var(--nz-color-border, #e5e5e5);
  border-radius: 2px;
  background: var(--nz-color-surface, #fff);
}

.section-nav h2 {
  margin: 0;
  padding: 14px 16px;
  color: var(--nz-color-text-on-inverse, #fff);
  background: var(--nz-color-surface-inverse, #0b2f4a);
  font-size: var(--nz-font-size-md, 0.95rem);
  font-weight: 700;
}

.section-nav__list {
  display: flex;
  overflow-x: auto;
}

.section-nav a {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  color: var(--nz-color-text-muted, #666);
  font-size: var(--nz-font-size-sm, 0.9rem);
  border-left: 1px solid var(--nz-color-border, #e5e5e5);
  white-space: nowrap;
}

.section-nav a:first-child {
  border-left: 0;
}

.section-nav a:hover,
.section-nav a.is-active {
  color: var(--nz-color-text-accent, #c41230);
  background: var(--nz-color-surface-muted, #f7f7f7);
  font-weight: 700;
}

.section-nav a.is-active {
  box-shadow: inset 0 -3px 0 var(--nz-color-fill-accent, #c41230);
}

.site-breadcrumb,
.breadcrumb {
  margin-bottom: 16px;
  color: var(--nz-color-text-muted, #626d7c);
  font-size: var(--nz-font-size-xs, 0.8125rem);
}

.site-breadcrumb ol,
.breadcrumb ol,
.breadcrumb__list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  list-style: none;
  white-space: nowrap;
  scrollbar-width: none;
}

.site-breadcrumb ol::-webkit-scrollbar,
.breadcrumb ol::-webkit-scrollbar,
.breadcrumb__list::-webkit-scrollbar {
  display: none;
}

.breadcrumb__item {
  display: flex;
  gap: 8px;
}

.breadcrumb__item strong {
  color: var(--nz-color-text-body, #3b4656);
  font-weight: var(--nz-font-weight-semibold, 600);
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--nz-color-text-accent, #c30f30);
}

/* Legacy site-breadcrumb used ::after separators; CategoryShell uses .breadcrumb__sep. */
.site-breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.4rem;
  opacity: 0.6;
}

.breadcrumb__list .breadcrumb__sep {
  opacity: 0.6;
}

@media (min-width: 768px) {
  .site-breadcrumb ol,
  .breadcrumb ol,
  .breadcrumb__list {
    flex-wrap: wrap;
    overflow: visible;
    white-space: normal;
  }
}

.page-banner--small .page-banner__inner {
  min-height: 0;
  padding-top: 28px;
  padding-bottom: 28px;
}

.search-page {
  padding-top: 56px;
  padding-bottom: 84px;
}

/* 后台关闭全站搜索时 /search 只显示这一块提示。 */
.search-closed {
  display: grid;
  justify-items: start;
  gap: 12px;
}

.search-closed__title {
  margin: 0;
  color: var(--nz-color-text-strong, #00254f);
  font-size: var(--nz-font-size-lg, 1.25rem);
  font-weight: 700;
}

.search-closed__text {
  margin: 0 0 8px;
  color: var(--nz-color-text-secondary, #626d7c);
  font-size: var(--nz-font-size-md, 1rem);
}

.search-page .search-form > label {
  color: var(--nz-color-text-strong, #00254f);
  font-size: var(--nz-font-size-sm, 0.875rem);
  font-weight: var(--nz-font-weight-bold, 700);
}

.listing-page {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--nz-color-border, #e2e7ed);
  border-top: 3px solid var(--nz-color-text-strong, #00254f);
  border-radius: var(--nz-radius-xs, 2px);
  background: var(--nz-color-surface, #fff);
}

.listing-page__header {
  padding: 10px 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  border-bottom: 1px solid var(--nz-color-border, #e2e7ed);
}

.listing-page__title {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  transform: translateY(-0.5px);
}

.listing-page__title h1,
.listing-page__title h2 {
  margin: 0;
  color: var(--nz-color-text-strong, #00254f);
  font-size: var(--nz-font-size-xl, 1.25rem);
  font-weight: var(--nz-font-weight-semibold, 600);
  line-height: 1;
  letter-spacing: 0.01em;
}

.listing-page__note {
  margin: 0;
  color: var(--nz-color-text-muted, #626d7c);
  font-size: var(--nz-font-size-2xs, 0.75rem);
  line-height: 1.25;
}

.listing-page__header-end {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.listing-page__header-end > span {
  color: var(--nz-color-text-muted, #626d7c);
  font-size: var(--nz-font-size-2xs, 0.75rem);
  line-height: 1.25;
}

.listing-page__body {
  padding: 4px 16px 12px;
}

/* —— ContentList —— */
.content-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.content-list__item {
  width: 100%;
  padding: var(--nz-space-4, 1rem) 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--nz-space-2, 0.5rem);
  border-bottom: 1px solid var(--nz-color-border, #dbe3ec);
}

.content-list__item--with-summary {
  padding: var(--nz-space-5, 1.25rem) 0;
  gap: 10px;
}

.content-list__item:last-child {
  border-bottom: 0;
}

.content-list__main h3 {
  margin: 0;
  color: var(--nz-color-text-strong, #00254f);
  font-size: var(--nz-font-size-lg, 1.125rem);
  font-weight: var(--nz-font-weight-semibold, 600);
  line-height: var(--nz-line-height-snug, 1.35);
}

.content-list__item--with-summary .content-list__main h3 {
  margin-bottom: 8px;
}

.content-list__main h3 a:hover {
  color: var(--nz-color-text-accent, #c30f30);
}

.content-list__summary {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--nz-color-text-muted, #7b8491);
  font-size: var(--nz-font-size-xs, 0.8125rem);
  line-height: var(--nz-line-height-relaxed, 1.7);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.content-list__meta {
  min-width: 0;
  color: var(--nz-color-text-muted, #7b8491);
  font-size: var(--nz-font-size-2xs, 0.75rem);
  text-align: left;
  white-space: nowrap;
}

.content-list__more {
  display: block;
  margin-top: 10px;
  color: var(--nz-color-text-accent, #c30f30);
  font-size: var(--nz-font-size-2xs, 0.75rem);
  font-weight: var(--nz-font-weight-bold, 700);
}

/* —— ImageTextList —— */
.image-text-list {
  padding-top: 1.25rem;
  display: grid;
  gap: 1.25rem;
}

.image-text-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--nz-color-border, #e5e5e5);
}

.image-text-cover {
  display: block;
  overflow: hidden;
  background: var(--nz-color-surface-subtle, #f2f2f2);
}

.image-text-cover img {
  width: 100%;
  height: auto;
}

.image-text-copy time {
  color: var(--nz-color-text-accent, #c41230);
  font-size: 0.75rem;
}

.image-text-copy h3 {
  margin: 0.5rem 0 0;
  font-size: var(--nz-font-size-lg, 1.05rem);
}

.image-text-summary {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  line-height: 1.7;
  overflow-wrap: anywhere;
  margin: 0.5rem 0 0;
  color: var(--nz-color-text-muted, #666);
  font-size: 0.8rem;
}

/* —— DocumentList / LIST_DOC year filter (header-end chrome) —— */
.doc-list {
  padding-top: var(--nz-space-4, 1rem);
}

.doc-list--flush {
  padding-top: 0;
}

.doc-filter {
  display: flex;
  align-items: center;
  gap: var(--nz-space-2, 0.5rem);
}

.doc-filter__label {
  color: var(--nz-color-text-muted, #7b8491);
  font-size: var(--nz-font-size-2xs, 0.75rem);
  line-height: 1;
  white-space: nowrap;
}

.doc-filter__label-short {
  display: none;
}

/*
 * Native <select> with brand chrome: hide OS arrow, soft border, room for「全部年份」,
 * and focus ring via --nz-* (keeps a11y of real select; no custom listbox widget).
 */
.nz-select,
.doc-filter select,
.research-field select {
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  min-width: 7.75rem;
  min-height: var(--nz-layout-tap-target-min, 44px);
  padding: 0 2rem 0 0.75rem;
  color: var(--nz-color-text-body, #3b4656);
  background-color: var(--nz-color-surface, #fff);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%237b8491' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.65rem center;
  background-size: 0.75rem;
  border: 1px solid var(--nz-color-border-strong, #c3ceda);
  border-radius: var(--nz-radius-xs, 4px);
  font-family: inherit;
  font-size: var(--nz-font-size-sm, 0.875rem);
  line-height: 1.25;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease;
}

.nz-select:hover,
.doc-filter select:hover,
.research-field select:hover {
  border-color: var(--nz-color-border-brand, #0757a6);
  background-color: var(--nz-color-surface-muted, #f6f9fc);
}

.nz-select:focus,
.nz-select:focus-visible,
.doc-filter select:focus,
.doc-filter select:focus-visible,
.research-field select:focus,
.research-field select:focus-visible {
  outline: none;
  border-color: var(--nz-color-border-brand, #0757a6);
  box-shadow: var(--nz-shadow-focus, 0 0 0 3px rgba(7, 87, 166, 0.24));
}

.nz-select:disabled,
.doc-filter select:disabled,
.research-field select:disabled {
  color: var(--nz-color-text-disabled, #9aa3af);
  background-color: var(--nz-color-surface-sunken, #eef2f6);
  border-color: var(--nz-color-border, #e2e7ed);
  cursor: not-allowed;
  opacity: 1;
}

@media (min-width: 768px) {
  .doc-filter__label-full {
    display: none;
  }

  .doc-filter__label-short {
    display: inline;
  }

  .nz-select,
  .doc-filter select,
  .research-field select {
    height: 2rem;
    min-height: 2rem;
    min-width: 7.25rem;
    padding-left: 0.65rem;
    padding-right: 1.75rem;
    font-size: var(--nz-font-size-xs, 0.8125rem);
    background-position: right 0.5rem center;
  }
}

.doc-entries {
  margin: 0;
  padding: 0;
  list-style: none;
}

.doc-entry {
  width: 100%;
  padding: var(--nz-space-4, 1rem) 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--nz-space-2, 0.5rem);
  border-bottom: 1px solid var(--nz-color-border, #dbe3ec);
}

.doc-entry--with-summary {
  padding: var(--nz-space-5, 1.25rem) 0;
  gap: var(--nz-space-3, 0.75rem);
}

.doc-entry:last-child {
  border-bottom: 0;
}

.doc-entry-main h3 {
  margin: 0;
  font-size: var(--nz-font-size-lg, 1.125rem);
}

.doc-entry-main h3 a {
  color: var(--nz-color-text-strong, #00254f);
  text-decoration: none;
}

.doc-entry-main h3 a:hover {
  color: var(--nz-color-text-accent, #c30f30);
}

.doc-entry-summary {
  display: -webkit-box;
  overflow: hidden;
  margin: var(--nz-space-2, 0.5rem) 0 0;
  color: var(--nz-color-text-muted, #7b8491);
  font-size: var(--nz-font-size-xs, 0.8125rem);
  line-height: var(--nz-line-height-normal, 1.6);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.doc-entry-meta {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--nz-space-2, 0.5rem) var(--nz-space-3, 0.75rem);
  color: var(--nz-color-text-muted, #7b8491);
  font-size: var(--nz-font-size-2xs, 0.75rem);
}

.doc-entry-meta time {
  color: var(--nz-color-text-muted, #7b8491);
  white-space: nowrap;
}

/* 组织架构：沿用发布数据的完整父子关系，静态渲染即可阅读。 */
.org-chart {
  container: organization / inline-size;
  padding: 20px 0 8px;
  min-width: 0;
}

.org-chart__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.org-chart__toolbar[hidden],
.org-chart__viewport[hidden],
.org-structure[hidden] {
  display: none !important;
}

.org-chart__toolbar button {
  padding: 7px 14px;
  border: 1px solid #b8cada;
  border-radius: 5px;
  background: #fff;
  color: #173b5b;
  font: inherit;
  cursor: pointer;
}

.org-chart__toolbar button:hover,
.org-chart__toolbar button:focus-visible {
  border-color: #145884;
  background: #eef4f9;
}

.org-chart__toolbar button:disabled {
  opacity: 0.5;
  cursor: default;
}

.org-chart__status {
  color: #52677b;
  font-size: 13px;
  line-height: 1.6;
}

.org-chart__status:empty {
  display: none;
}

.org-chart__viewport {
  width: 100%;
  height: 620px;
  overflow: hidden;
  border: 1px solid #d6e1ea;
  border-radius: 8px;
  background: #f8fafc;
}

.org-chart__toolbar:has([data-org-action='list'][aria-pressed='true'])
  button:not([data-org-action='list']) {
  display: none;
}

.org-chart__toolbar button {
  border-color: #dce5ed;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
}

.org-chart__status {
  margin: 0 0 24px;
  color: #728397;
  font-size: 12px;
}

.org-chart .org-structure {
  clear: both;
  padding: 28px 20px;
  border: 1px solid #e4ebf2;
  border-radius: 16px;
  background: linear-gradient(180deg, #f5f8fc 0, #fff 260px);
  --org-line: #d9e3ed;
  --org-gap: 36px;
}

.org-chart .org-structure__node {
  border-color: #e0e8f0;
  border-radius: 8px;
  min-height: 46px;
  padding: 10px;
}

.org-chart .org-structure__list--level-0 > .org-structure__item > .org-structure__node,
.org-chart .org-structure__list--level-1 > .org-structure__item > .org-structure__node {
  width: min(100%, 200px);
  min-height: 50px;
  border: 0;
  box-shadow: 0 5px 12px #143c6812;
  letter-spacing: 2px;
}

.org-chart .org-structure__list--level-2 > .org-structure__item > .org-structure__node {
  border: 1px solid #d5e2ed;
  background: #edf3f9;
  color: #174b73;
}

.org-chart .org-structure__list--level-3 {
  gap: 8px;
  padding: 10px;
  border-color: #e3eaf1;
  background: #f7f9fc;
}

.org-chart .org-structure__list--level-3 .org-structure__name {
  font-weight: 500;
  font-size: 13px;
}

@container organization (min-width: 800px) {
  .org-chart .org-structure__list--level-2 > .org-structure__item:has(> ul > li:nth-child(5)) {
    flex: 4 1 420px;
  }
  .org-chart .org-structure__list--level-3:has(> li:nth-child(5)) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@container organization (max-width: 620px) {
  .org-chart .org-structure {
    padding: 20px 12px;
    border-radius: 12px;
  }
  .org-chart__status {
    margin-bottom: 16px;
  }
}

@media print {
  .org-chart__viewport,
  .org-chart__toolbar,
  .org-chart__status {
    display: none;
  }

  .org-structure[hidden] {
    display: block;
  }
}

.org-structure {
  --org-line: #c5d4e3;
  --org-gap: 28px;

  color: var(--nz-color-text-strong, #00254f);
  font-size: 14px;
  line-height: 1.6;
}

.org-structure__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.org-structure__item {
  position: relative;
  min-width: 0;
}

.org-structure__node {
  position: relative;
  display: flex;
  min-height: 44px;
  flex-direction: column;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid var(--org-line);
  border-radius: 6px;
  background: #fff;
  text-align: center;
  overflow-wrap: anywhere;
}

.org-structure__name {
  font-weight: 600;
}

.org-structure__role {
  color: var(--nz-color-text-secondary, #555);
  font-size: 12px;
  font-weight: 400;
}

.org-structure__list--level-0,
.org-structure__list--level-1,
.org-structure__list--level-2 {
  display: flex;
  justify-content: center;
}

.org-structure__list--level-0 > .org-structure__item,
.org-structure__list--level-1 > .org-structure__item {
  flex: 1;
}

.org-structure__list--level-0 > .org-structure__item > .org-structure__node,
.org-structure__list--level-1 > .org-structure__item > .org-structure__node {
  width: min(100%, 220px);
  margin: 0 auto;
  border-color: #073c69;
  background: #073c69;
  color: #fff;
  font-size: 16px;
}

.org-structure__list--level-1 > .org-structure__item > .org-structure__node {
  background: #145884;
  border-color: #145884;
}

.org-structure__list--level-0 > .org-structure__item > .org-structure__node .org-structure__role,
.org-structure__list--level-1 > .org-structure__item > .org-structure__node .org-structure__role {
  color: #fff;
}

.org-structure__list--level-1,
.org-structure__list--level-2 {
  position: relative;
  padding-top: var(--org-gap);
}

.org-structure__list--level-1::before,
.org-structure__list--level-2::before {
  position: absolute;
  top: 0;
  left: 50%;
  height: calc(var(--org-gap) / 2);
  border-left: 1px solid var(--org-line);
  content: '';
}

.org-structure__list--level-1 > .org-structure__item::before,
.org-structure__list--level-2 > .org-structure__item::before {
  position: absolute;
  top: calc(var(--org-gap) / -2);
  right: 0;
  left: 0;
  height: calc(var(--org-gap) / 2);
  border-top: 1px solid var(--org-line);
  background: linear-gradient(var(--org-line), var(--org-line)) center / 1px 100% no-repeat;
  content: '';
}

.org-structure__list--level-1 > .org-structure__item:first-child::before,
.org-structure__list--level-2 > .org-structure__item:first-child::before {
  left: 50%;
  background-position: left;
}

.org-structure__list--level-1 > .org-structure__item:last-child::before,
.org-structure__list--level-2 > .org-structure__item:last-child::before {
  right: 50%;
  background-position: right;
}

.org-structure__list--level-1 > .org-structure__item:only-child::before,
.org-structure__list--level-2 > .org-structure__item:only-child::before {
  border-top: 0;
  border-left: 1px solid var(--org-line);
}

.org-structure__list--level-2 > .org-structure__item {
  flex: 1 1 140px;
  padding: 0 8px;
}

.org-structure__list--level-2 > .org-structure__item:has(> ul > li:nth-child(5)) {
  flex: 3 1 320px;
}

.org-structure__list--level-2 > .org-structure__item > .org-structure__node {
  border-top: 3px solid #145884;
  background: #eef4f9;
}

.org-structure__list--level-3 {
  position: relative;
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--org-line);
  border-radius: 8px;
  background: #f6f9fc;
}

.org-structure__list--level-3::before {
  position: absolute;
  top: -12px;
  left: 50%;
  height: 12px;
  border-left: 1px solid var(--org-line);
  content: '';
}

.org-structure__list--level-3:has(> li:nth-child(5)) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.org-structure__list--level-3 > .org-structure__item:has(> ul) {
  grid-column: 1 / -1;
}

.org-structure__list--level-3 .org-structure__list {
  margin: 10px 0 0 12px;
  padding-left: 12px;
  border-left: 1px solid var(--org-line);
}

.org-structure__list--level-3 .org-structure__list > .org-structure__item {
  margin-top: 8px;
}

.org-structure__list--level-3 .org-structure__list > .org-structure__item::before {
  position: absolute;
  top: 22px;
  left: -12px;
  width: 12px;
  border-top: 1px solid var(--org-line);
  content: '';
}

@container organization (max-width: 620px) {
  .org-structure__list--level-2 {
    display: block;
    margin-left: 12px;
    padding: 0 0 0 18px;
    border-left: 1px solid var(--org-line);
  }

  .org-structure__list--level-2::before {
    display: none;
  }

  .org-structure__list--level-2 > .org-structure__item {
    margin-top: 20px;
    padding: 0;
  }

  .org-structure__list--level-2 > .org-structure__item::before,
  .org-structure__list--level-2 > .org-structure__item:first-child::before,
  .org-structure__list--level-2 > .org-structure__item:last-child::before {
    top: 24px;
    right: auto;
    left: -18px;
    width: 18px;
    height: 0;
    border-top: 1px solid var(--org-line);
    border-left: 0;
    background: none;
  }

  .org-structure__list--level-1 > .org-structure__item > .org-structure__node {
    width: 100%;
  }
}

@container organization (max-width: 360px) {
  .org-structure__list--level-3:has(> li:nth-child(5)) {
    grid-template-columns: minmax(0, 1fr);
  }
}

.org-tree,
.branch-list,
.download-list,
.software-grid,
.faq-accordion {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.download-list__item a,
.software-card a {
  display: grid;
  gap: 0.25rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--nz-color-border, #eee);
}

.branch-card__meta,
.download-list__summary,
.org-tree__role {
  color: var(--nz-color-text-muted, #666);
  font-size: 0.85rem;
}

.software-download__tabs {
  display: flex;
  gap: 4px;
  margin-left: -16px;
  margin-right: -16px;
  padding-left: 16px;
  padding-right: 16px;
  overflow-x: auto;
  border-bottom: 1px solid var(--nz-color-border, #dbe3ec);
  scrollbar-width: none;
}

.software-download__tabs::-webkit-scrollbar {
  display: none;
}

.software-download__tab {
  flex: 0 0 auto;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--nz-color-text-muted, #7b8491);
  background: transparent;
  font-size: var(--nz-font-size-sm, 0.875rem);
  white-space: nowrap;
  cursor: pointer;
}

.software-download__tab.is-active {
  color: var(--nz-color-text-accent, #c30f30);
  border-bottom-color: var(--nz-color-text-accent, #c30f30);
  font-weight: var(--nz-font-weight-bold, 700);
}

@media (min-width: 768px) {
  .software-download__tabs {
    margin-left: -18px;
    margin-right: -18px;
    padding-left: 18px;
    padding-right: 18px;
  }
}

.guide-steps {
  padding-top: var(--nz-space-6, 1.5rem);
}

.guide-step-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--nz-space-5, 1.25rem);
  list-style: none;
}

.guide-step-list > li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--nz-space-4, 1rem);
  padding-bottom: var(--nz-space-5, 1.25rem);
  border-bottom: 1px dashed var(--nz-color-border, #dbe3ec);
}

.guide-step-index {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--nz-color-text-on-inverse, #fff);
  background: var(--nz-color-fill-brand, #0b5f98);
  border-radius: var(--nz-radius-circle, 50%);
  font-size: var(--nz-font-size-sm, 0.875rem);
  font-weight: var(--nz-font-weight-bold, 700);
}

.guide-step-body {
  min-width: 0;
  color: var(--nz-color-text-secondary, #626d7c);
  font-size: var(--nz-font-size-sm, 0.875rem);
  line-height: var(--nz-line-height-relaxed, 1.7);
}

.guide-step-body h3 {
  margin: 0 0 var(--nz-space-2, 0.5rem);
  color: var(--nz-color-text-strong, #00254f);
  font-size: var(--nz-font-size-column-l3, 1.125rem);
}

@media (min-width: 768px) {
  .guide-step-index {
    width: 44px;
    height: 44px;
    font-size: var(--nz-font-size-md, 1rem);
  }
}

.branch-finder {
  padding-top: var(--nz-space-5, 1.25rem);
}

.branch-filters {
  padding-bottom: var(--nz-space-5, 1.25rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--nz-space-3, 0.75rem);
  border-bottom: 1px solid var(--nz-color-border, #dbe3ec);
}

.branch-field {
  min-width: 0;
  display: grid;
  gap: var(--nz-space-1, 0.25rem);
}

.branch-field label {
  color: var(--nz-color-text-muted, #7b8491);
  font-size: var(--nz-font-size-2xs, 0.75rem);
}

.branch-field input,
.branch-field select {
  min-height: var(--nz-layout-tap-target-min, 44px);
  padding: 0 var(--nz-space-3, 0.75rem);
  color: var(--nz-color-text-body, #3b4656);
  background: var(--nz-color-surface, #fff);
  border: 1px solid var(--nz-color-border-control, #7b8491);
  border-radius: var(--nz-radius-xs, 4px);
  font-size: var(--nz-font-size-sm, 0.875rem);
  font: inherit;
}

.branch-count {
  margin: var(--nz-space-4, 1rem) 0;
  color: var(--nz-color-text-muted, #7b8491);
  font-size: var(--nz-font-size-2xs, 0.75rem);
}

.branch-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--nz-space-4, 1rem);
}

.branch-card {
  padding: var(--nz-space-5, 1.25rem);
  background: var(--nz-color-surface-muted, #f6f9fc);
  border: 0;
  border-left: 3px solid var(--nz-color-border-brand, #0757a6);
  border-radius: 0;
}

.branch-card h3 {
  margin: 0;
  color: var(--nz-color-text-strong, #00254f);
  font-size: var(--nz-font-size-lg, 1.125rem);
}

.branch-region {
  margin: var(--nz-space-1, 0.25rem) 0 var(--nz-space-3, 0.75rem);
  color: var(--nz-color-text-accent, #c30f30);
  font-size: var(--nz-font-size-3xs, 0.6875rem);
}

.branch-meta {
  margin: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: var(--nz-space-2, 0.5rem) var(--nz-space-3, 0.75rem);
}

.branch-meta dt {
  margin: 0;
  display: flex;
  align-items: center;
  color: var(--nz-color-text-muted, #7b8491);
}

.branch-meta dd {
  margin: 0;
  color: var(--nz-color-text-secondary, #626d7c);
  font-size: var(--nz-font-size-xs, 0.8125rem);
  line-height: var(--nz-line-height-normal, 1.6);
}

.branch-meta .nz-icon {
  width: 16px;
  height: 16px;
  color: var(--nz-color-text-muted, #7b8491);
}

@media (min-width: 768px) {
  .branch-filters {
    grid-template-columns: 200px minmax(0, 1fr);
    align-items: flex-end;
  }

  .branch-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.inquiry-form {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--nz-color-border, #e5e5e5);
}

.inquiry-form h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

.inquiry-lead {
  margin: 0 0 1rem;
  color: var(--nz-color-text-muted, #666);
  font-size: 0.875rem;
}

.inquiry-field {
  margin-bottom: 0.75rem;
}

.inquiry-field label {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--nz-color-text-muted, #555);
  font-size: 0.75rem;
}

.inquiry-field input,
.inquiry-field textarea {
  width: 100%;
  min-height: 2.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--nz-color-border-control, #ccc);
  border-radius: 4px;
  font: inherit;
}

.inquiry-field textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.inquiry-error {
  color: var(--nz-color-danger, #b42318);
  font-size: 0.875rem;
}

.inquiry-success {
  color: var(--nz-color-success, #067647);
  font-size: 0.875rem;
}

.faq-item {
  border-bottom: 1px dashed var(--nz-color-border, #dbe3ec);
}

.faq-list {
  padding-top: var(--nz-space-5, 1.25rem);
}

.faq-search {
  padding-bottom: var(--nz-space-5, 1.25rem);
  display: grid;
  gap: var(--nz-space-1, 0.25rem);
  border-bottom: 1px solid var(--nz-color-border, #dbe3ec);
}

.faq-search label {
  color: var(--nz-color-text-muted, #7b8491);
  font-size: var(--nz-font-size-2xs, 0.75rem);
}

.faq-search input {
  min-height: var(--nz-layout-tap-target-min, 44px);
  padding: 0 var(--nz-space-3, 0.75rem);
  color: var(--nz-color-text-body, #3b4656);
  background: var(--nz-color-surface, #fff);
  border: 1px solid var(--nz-color-border-control, #7b8491);
  border-radius: var(--nz-radius-xs, 4px);
  font-size: var(--nz-font-size-sm, 0.875rem);
}

.faq-group {
  padding-top: var(--nz-space-6, 1.5rem);
}

.faq-group h3 {
  margin: 0 0 var(--nz-space-3, 0.75rem);
  color: var(--nz-color-text-accent, #c30f30);
  font-size: var(--nz-font-size-2xs, 0.75rem);
  font-weight: var(--nz-font-weight-bold, 700);
  letter-spacing: 0.06em;
}

.faq-item summary {
  min-height: var(--nz-layout-tap-target-min, 44px);
  padding: var(--nz-space-4, 1rem) 0;
  display: flex;
  align-items: center;
  color: var(--nz-color-text-strong, #00254f);
  cursor: pointer;
  font-size: var(--nz-font-size-md, 1rem);
}

.faq-answer {
  padding-bottom: var(--nz-space-4, 1rem);
  color: var(--nz-color-text-secondary, #626d7c);
  font-size: var(--nz-font-size-sm, 0.875rem);
  line-height: var(--nz-line-height-relaxed, 1.7);
}

.faq-item__question {
  cursor: pointer;
  font-weight: 600;
}

.faq-item__answer {
  margin-top: 0.65rem;
  color: var(--nz-color-text-muted, #666);
}

.doc-attachment-stack {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--nz-space-2, 0.5rem);
  justify-content: flex-start;
}

.doc-attachment {
  min-height: var(--nz-layout-tap-target-min, 44px);
  padding: 0 var(--nz-space-3, 0.75rem);
  display: inline-flex;
  align-items: center;
  gap: var(--nz-space-2, 0.5rem);
  color: var(--nz-color-text-link, #0b5cab);
  background: var(--nz-color-surface-muted, #f6f9fc);
  border: 1px solid var(--nz-color-border-subtle, #e2e7ed);
  border-radius: var(--nz-radius-xs, 4px);
  font-size: var(--nz-font-size-2xs, 0.75rem);
  font-weight: var(--nz-font-weight-bold, 700);
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
}

.doc-attachment:hover {
  border-color: var(--nz-color-border-brand, #0757a6);
  color: var(--nz-color-text-link-hover, #06447d);
  background: var(--nz-color-surface, #fff);
}

.doc-attachment__type {
  letter-spacing: 0.02em;
}

.doc-attachment__size {
  color: var(--nz-color-text-muted, #7b8491);
  font-size: var(--nz-font-size-3xs, 0.6875rem);
  font-weight: 400;
}

.software-table-wrap {
  padding-top: 12px;
  padding-bottom: 8px;
  overflow-x: auto;
}

.software-table {
  width: 100%;
  min-width: 720px;
  table-layout: fixed;
  border-collapse: collapse;
  border: 1px solid var(--nz-color-border, #dbe3ec);
  font-size: var(--nz-font-size-xs, 0.8125rem);
}

.software-table thead th {
  padding: 8px 10px;
  color: var(--nz-color-text-strong, #00254f);
  font-size: var(--nz-font-size-xs, 0.8125rem);
  font-weight: var(--nz-font-weight-semibold, 600);
  text-align: center;
  background: var(--nz-color-surface-subtle, #f2f2f2);
  border-bottom: 1px solid var(--nz-color-border, #dbe3ec);
}

.software-table tbody td {
  padding: 12px 10px;
  vertical-align: middle;
  border-bottom: 1px solid var(--nz-color-border, #dbe3ec);
}

.software-table tbody tr:last-child td {
  border-bottom: 0;
}

.software-table__col-name {
  width: 176px;
}

.software-table__col-actions {
  width: 180px;
}

.software-table__icon {
  text-align: center;
}

.software-table__icon-img {
  display: block;
  width: 48px;
  height: 48px;
  margin-left: auto;
  margin-right: auto;
  object-fit: contain;
  border-radius: var(--nz-radius-xs, 4px);
}

.software-table__icon-fallback {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-left: auto;
  margin-right: auto;
  color: var(--nz-color-text-accent, #c30f30);
  background: var(--nz-color-fill-brand-soft, #f2f7fc);
  border-radius: var(--nz-radius-xs, 4px);
  font-size: var(--nz-font-size-xl, 1.25rem);
}

.software-table__icon-fallback .nz-icon {
  width: 1.1em;
  height: 1.1em;
}

.software-table__name {
  text-align: center;
}

.software-table__identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.software-table__name strong {
  display: block;
  color: var(--nz-color-text-strong, #00254f);
  font-size: var(--nz-font-size-xs, 0.8125rem);
  font-weight: var(--nz-font-weight-semibold, 600);
  line-height: var(--nz-line-height-snug, 1.35);
}

.software-table__date {
  display: block;
  margin-top: 0;
  color: var(--nz-color-text-accent, #c30f30);
  font-size: var(--nz-font-size-3xs, 0.6875rem);
  font-weight: var(--nz-font-weight-medium, 500);
}

.software-table__version {
  max-width: 100%;
  padding: 3px 8px;
  border: 1px solid var(--nz-color-border, #dbe3ec);
  border-radius: var(--nz-radius-xs, 4px);
  background: var(--nz-color-surface-muted, #f6f9fc);
  color: var(--nz-color-text-secondary, #626d7c);
  font-size: var(--nz-font-size-2xs, 0.75rem);
  line-height: var(--nz-line-height-normal, 1.6);
  overflow-wrap: anywhere;
}

.software-table tbody td.software-table__intro {
  vertical-align: middle;
}

.software-table__intro {
  color: var(--nz-color-text-muted, #7b8491);
  text-align: left;
}

.software-table__intro-structured {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.software-table__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 10px;
  color: var(--nz-color-text-muted, #7b8491);
  font-size: var(--nz-font-size-2xs, 0.75rem);
  line-height: var(--nz-line-height-normal, 1.6);
}

.software-table__meta code {
  min-width: 0;
  font: inherit;
  font-family: var(--nz-font-mono, ui-monospace, monospace);
  overflow-wrap: anywhere;
}

.software-table__intro-text {
  margin: 0;
  color: var(--nz-color-text-muted, #7b8491);
  font-size: var(--nz-font-size-xs, 0.8125rem);
  line-height: var(--nz-line-height-relaxed, 1.8);
  overflow-wrap: anywhere;
}

.software-table__intro-text p {
  margin: 0;
}

.software-table__intro-text p + p {
  margin-top: 8px;
}

.software-table__intro-structured.is-collapsed .software-table__intro-text {
  max-height: calc(10em * var(--nz-line-height-relaxed, 1.8));
  overflow: hidden;
}

.software-table__intro-toggle {
  align-self: flex-start;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: var(--nz-color-link, #0757a6);
  font: inherit;
  font-size: var(--nz-font-size-xs, 0.8125rem);
  cursor: pointer;
}

.software-table__intro-toggle[hidden] {
  display: none;
}

.software-table__actions-cell {
  text-align: center;
}

.software-table__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}

.software-table__installer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  min-width: 0;
}

.software-table__qr {
  margin: 0;
  color: var(--nz-color-text-muted, #7b8491);
  font-size: var(--nz-font-size-2xs, 0.75rem);
  line-height: var(--nz-line-height-normal, 1.6);
}

.software-table__qr img {
  display: block;
  width: 128px;
  height: 128px;
  max-width: 100%;
  margin: 0 auto 4px;
  object-fit: contain;
}

.software-table tbody tr.software-table__row--mobile td {
  vertical-align: middle;
}

.software-table__actions--mobile {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.software-table__actions--mobile .software-table__installer {
  display: contents;
}

.software-table__actions--mobile .software-table__qr {
  grid-column: 1 / -1;
}

.software-table__btn {
  box-sizing: border-box;
  width: 100%;
  min-height: 32px;
  padding: 4px 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--nz-radius-xs, 4px);
  font-size: var(--nz-font-size-2xs, 0.75rem);
  font-weight: var(--nz-font-weight-semibold, 600);
  line-height: var(--nz-line-height-snug, 1.35);
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.software-table__btn--download {
  color: var(--nz-color-text-on-brand, #fff);
  background: var(--nz-color-fill-brand, #0b5f98);
  border: 1px solid var(--nz-color-fill-brand, #0b5f98);
}

.software-table__btn--download:hover {
  background: var(--nz-color-fill-brand-hover, #06447d);
  border-color: var(--nz-color-fill-brand-hover, #06447d);
}

.software-table__btn--package {
  min-width: 0;
  max-width: 100%;
  flex-direction: column;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.software-table__package-size {
  font-weight: var(--nz-font-weight-normal, 400);
}

.software-table__btn--manual {
  color: var(--nz-color-text-on-accent, #fff);
  background: var(--nz-color-fill-accent, #df1238);
  border: 1px solid var(--nz-color-fill-accent, #df1238);
}

.software-table__btn--manual:hover {
  background: var(--nz-color-fill-accent-hover, #c30f30);
  border-color: var(--nz-color-fill-accent-hover, #c30f30);
}

.software-table__empty {
  color: var(--nz-color-text-muted, #7b8491);
}

.software-table__actions--mobile .software-table__btn {
  padding-left: 4px;
  padding-right: 4px;
  white-space: normal;
}

@media (max-width: 767px) {
  .software-table-wrap {
    overflow-x: visible;
  }

  .software-table {
    display: block;
    min-width: 0;
  }

  .software-table thead {
    display: none;
  }

  .software-table tbody {
    display: block;
  }

  .software-table tbody tr:not([hidden]) {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 16px 12px;
    border-bottom: 1px solid var(--nz-color-border, #dbe3ec);
  }

  .software-table tbody td {
    display: block;
    padding: 0;
    border: 0;
    min-width: 0;
  }

  .software-table__intro,
  .software-table__actions-cell {
    grid-column: 1 / -1;
  }

  .software-table__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .software-table__installer {
    flex: 1 1 100%;
  }

  .software-table__btn {
    width: auto;
    min-height: 44px;
    flex: 1 1 120px;
  }

  .software-table__installer .software-table__btn {
    flex: none;
    width: 100%;
  }
}

.category-pagination {
  margin-top: 1.5rem;
  padding-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--nz-color-border, #eee);
  font-size: 0.85rem;
}

.category-pagination__pages {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.category-pagination__pages a,
.category-pagination__pages span[aria-current="page"] {
  display: inline-flex;
  min-width: 2rem;
  min-height: 2rem;
  align-items: center;
  justify-content: center;
  padding: 0 0.45rem;
  border: 1px solid var(--nz-color-border, #ddd);
  border-radius: 4px;
  text-decoration: none;
}

.category-pagination__pages span[aria-current="page"] {
  background: var(--nz-color-surface-inverse, #0b2f4a);
  border-color: transparent;
  color: #fff;
  font-weight: 700;
}

.detail-layout {
  margin-top: 20px;
  margin-bottom: 64px;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--nz-space-6, 1.5rem);
}

.detail-layout--with-nav {
  /* single column until lg */
}

.detail-main {
  min-width: 0;
}

.detail-layout--detail-brief {
  --article-paragraph-gap: var(--nz-space-3, 0.75rem);
  --article-section-gap: var(--nz-space-5, 1.25rem);
}

.detail-layout--detail-research {
  --article-summary-border-width: 4px;
}

.detail-layout--detail-notice {
  --article-text-align: justify;
  --article-heading-align: center;
}

.detail-layout--detail-feature {
  --article-paragraph-gap: var(--nz-space-6, 1.5rem);
  --article-section-gap: var(--nz-space-10, 2.5rem);
}

.article-page {
  margin-bottom: 0;
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--nz-color-border, #dbe3ec);
  border-top: 3px solid var(--nz-color-text-strong, #00254f);
  border-radius: var(--nz-radius-xs, 4px);
  background: var(--nz-color-surface, #fff);
}

.article-page--embedded {
  padding: 12px 0 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.article-page__header {
  margin-bottom: 8px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--nz-color-border, #dbe3ec);
  text-align: var(--article-heading-align, center);
}

.article-page__title {
  max-width: none;
  margin: 0 0 12px;
  color: var(--nz-color-text-strong, #00254f);
  font-size: var(--nz-font-size-lg, 1.125rem);
  font-weight: var(--nz-font-weight-bold, 700);
  line-height: var(--nz-line-height-snug, 1.35);
}

.article-page__meta {
  margin: 0;
  padding: 0;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  list-style: none;
  color: var(--nz-color-text-muted, #7b8491);
  font-size: var(--nz-font-size-xs, 0.8125rem);
  line-height: var(--nz-line-height-tight, 1.25);
}

.article-page__meta-item {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.article-page__meta-label {
  color: var(--nz-color-text-muted, #7b8491);
}

.article-page__meta-label::after {
  content: "：";
}

.article-page__intro {
  margin: 16px 0 0;
  padding: 14px 16px;
  border-left: var(--article-summary-border-width, 3px) solid var(--nz-color-fill-accent, #df1238);
  color: var(--nz-color-text-secondary, #626d7c);
  background: var(--nz-color-surface-muted, #f6f9fc);
  font-size: var(--nz-font-size-sm, 0.875rem);
  line-height: var(--nz-line-height-relaxed, 1.7);
  text-align: left;
}

.article-page__abstract {
  margin-top: 16px;
  border: 1px solid var(--nz-color-border, #dbe3ec);
  border-radius: var(--nz-radius-xs, 4px);
  background: var(--nz-color-surface-muted, #f6f9fc);
  text-align: left;
}

.article-page__abstract summary {
  min-height: var(--nz-layout-tap-target-min, 44px);
  padding: 10px 12px;
  cursor: pointer;
  color: var(--nz-color-text-link, #0757a6);
  font-size: var(--nz-font-size-sm, 0.875rem);
  font-weight: 600;
  line-height: 1.7;
}

.article-page__abstract .article-page__intro {
  margin: 0;
  padding: 0 12px 12px;
  border: 0;
  background: transparent;
}

.article-page__body,
.article-body {
  padding: 16px 0;
  color: var(--nz-color-text-body, #3b4656);
  font-size: var(--nz-font-size-md, 1rem);
  line-height: var(--nz-reading-line-height, 2);
  text-align: var(--article-text-align, start);
}

.article-page__body > div > :first-child {
  margin-top: 0;
}

.article-page__body .risk-note {
  margin: 0 0 20px;
  padding: 16px 20px;
  color: var(--nz-color-warning, #8a5a00);
  background: var(--nz-color-warning-surface, #fff9e8);
  font-size: var(--nz-font-size-xs, 0.8125rem);
  line-height: var(--nz-line-height-relaxed, 1.7);
  text-align: left;
}

.detail-share {
  margin-top: 0.5rem;
}

.detail-back {
  margin-top: 1.5rem;
}

/* NzTextLink parity — accent back / inline text links */
.text-link {
  color: var(--nz-color-text-accent, #c30f30);
  font-size: var(--nz-font-size-sm, 0.875rem);
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.article-attachments {
  margin: 0 0 24px;
  padding: 0;
}

.article-attachments__title {
  margin: 0 0 12px;
  color: var(--nz-color-text-strong, #00254f);
  font-size: var(--nz-font-size-sm, 0.875rem);
  font-weight: var(--nz-font-weight-bold, 700);
}

.article-attachments__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--nz-color-border, #dbe3ec);
}

.article-attachments__item {
  border-bottom: 1px solid var(--nz-color-border, #dbe3ec);
}

.article-attachments__link {
  min-height: var(--nz-layout-tap-target-min, 44px);
  padding: 12px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  color: var(--nz-color-text-link, #0757a6);
  text-decoration: none;
}

.article-attachments__link:hover {
  color: var(--nz-color-text-link-hover, #06447d);
}

.article-attachments__label {
  flex: 1 1 12rem;
  font-size: var(--nz-font-size-sm, 0.875rem);
  line-height: var(--nz-line-height-normal, 1.6);
  overflow-wrap: anywhere;
}

.article-attachments__meta {
  flex: 0 0 auto;
  color: var(--nz-color-text-muted, #7b8491);
  font-size: var(--nz-font-size-2xs, 0.75rem);
}

.design-calendar {
  width: min(100%, 410px);
  margin-left: auto;
  margin-right: auto;
}

.design-calendar-head {
  height: 48px;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  margin-bottom: 9px;
}

.design-calendar-head h3 {
  margin: 0;
  text-align: center;
  font-size: var(--nz-font-size-xl, 1.25rem);
  font-weight: var(--nz-font-weight-bold, 700);
  letter-spacing: 0.06em;
}

.design-calendar-head button {
  width: 40px;
  height: 40px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--nz-color-text-on-inverse, #fff);
  cursor: pointer;
}

.design-calendar-head button .nz-icon {
  width: 1em;
  height: 1em;
}

.design-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.design-calendar-grid span,
.design-calendar-grid button {
  height: 35px;
  display: grid;
  place-items: center;
  color: var(--nz-color-text-on-inverse, #fff);
  font-size: var(--nz-font-size-xs, 0.8125rem);
  font-variant-numeric: tabular-nums;
}

.design-calendar-weekdays span {
  color: var(--nz-color-text-on-inverse, #fff);
  font-size: var(--nz-font-size-md, 1rem);
  font-weight: var(--nz-font-weight-bold, 700);
}

.design-calendar-grid .trading {
  color: var(--nz-color-text-on-inverse, #fff);
  font-weight: var(--nz-font-weight-semibold, 600);
}

.design-calendar-grid .today {
  width: 34px;
  height: 34px;
  place-self: center center;
  border-radius: 999px;
  background: var(--nz-color-fill-accent, #df1238);
  box-shadow: var(--nz-shadow-accent, 0 12px 28px rgba(195, 15, 48, 0.25));
  outline: none;
}

.design-calendar-grid .empty {
  visibility: hidden;
}

.design-calendar-note {
  color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 768px) {
  .article-page:not(.article-page--embedded) {
    padding: clamp(24px, 3vw, 32px);
  }

  .article-page--embedded {
    padding: 14px 0 6px;
  }

  .article-page__title {
    font-size: var(--nz-font-size-xl, 1.25rem);
  }

  .article-page__header {
    margin-bottom: 12px;
    padding-bottom: 20px;
  }
}

/* Article detail pages prioritize reading; category and service landing pages keep their hero. */
@media (max-width: 767px) {
  .page-banner--article .page-banner__inner {
    min-height: 0;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .page-banner--article .page-banner__lead {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 12px;
  }

  .page-banner--article .page-banner__lead p {
    margin: 0;
    letter-spacing: 0.06em;
  }

  .page-banner--article .page-banner__lead h1 {
    font-size: 1.125rem;
  }

  .detail-layout {
    width: calc(100% - 24px);
    gap: 12px;
    margin-top: 12px;
    margin-bottom: 40px;
  }

  .detail-layout .section-nav h2 {
    display: none;
  }

  .detail-layout .section-nav a {
    min-height: 44px;
  }

  .detail-layout .breadcrumb {
    margin-bottom: 12px;
  }

  .detail-layout .breadcrumb__item:last-child {
    display: none;
  }

  .article-page:not(.article-page--embedded) {
    --article-content-inset: 14px;
    padding: 16px 14px 0;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .article-page__header {
    margin-bottom: 0;
    padding-bottom: 12px;
  }

  .article-page__title {
    font-size: 1.25rem;
    line-height: 1.5;
    text-align: left;
  }

  .article-page__header,
  .article-page__meta {
    text-align: left;
  }

  .article-page__body {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .article-page__body .risk-note {
    padding: 12px;
    margin-bottom: 0;
  }
}

@media (min-width: 1024px) {
  .detail-layout--with-nav {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: var(--nz-space-6, 1.5rem);
    margin-top: 20px;
  }
}

.open-account-layout {
  display: grid;
  gap: 0.75rem;
  margin-top: 16px;
  margin-bottom: 64px;
}

.oa-header {
  overflow: hidden;
  border: 1px solid var(--nz-color-border, #e5e5e5);
  border-radius: 4px;
  background: var(--nz-color-surface, #fff);
}

.oa-header__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 12px 14px;
}

@media (min-width: 768px) {
  .oa-header__grid {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
  }
}

.oa-header__title {
  margin: 0.35rem 0 0.25rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.oa-header__note,
.oa-header__aside-hint {
  margin: 0;
  color: var(--nz-color-text-muted, #666);
  font-size: 0.875rem;
}

.oa-header__aside {
  padding: 10px 12px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--nz-color-brand, #0b5cab) 8%, #fff);
}

.oa-header__aside-label,
.oa-header__aside-time {
  margin: 0;
  font-weight: 600;
}

.oa-header__aside-time {
  font-size: 1.25rem;
}

.open-account-board {
  border: 1px solid var(--nz-color-border, #e5e5e5);
  border-radius: 4px;
  background: #fff;
  padding: 1rem 1.1rem 1.15rem;
}

.open-account {
  display: grid;
  gap: 1.25rem;
}

.open-account__section-title,
.open-account__channel-title {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
}

.open-account__prep-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.open-account__prep-item {
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0.5rem;
  border: 1px solid var(--nz-color-border, #e5e5e5);
  background: var(--nz-color-surface-muted, #f6f9fc);
}

.open-account__prep-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--nz-color-text-accent, #c41230);
}

.open-account__prep-icon .nz-icon {
  width: 28px;
  height: 28px;
}

.open-account__prep-label {
  color: var(--nz-color-text-secondary, #555);
  font-size: var(--nz-font-size-xs, 0.8125rem);
  line-height: 1.3;
  text-align: center;
}

.open-account__channels {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .open-account__channels {
    grid-template-columns: 1fr 1fr;
  }
}

.open-account__channel {
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  padding: 1.25rem 1rem;
  border: 1px solid var(--nz-color-border, #e5e5e5);
  background: var(--nz-color-surface, #fff);
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.open-account__channel--pc {
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.open-account__channel--pc:hover,
.open-account__channel--pc:focus-visible {
  border-color: var(--nz-color-border-accent, #c41230);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.open-account__qr-wrap {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  padding: 0.5rem;
  border: 1px solid var(--nz-color-border, #e5e5e5);
  background: var(--nz-color-surface, #fff);
}

.open-account__qr {
  display: block;
  width: 168px;
  height: 168px;
  object-fit: contain;
}

.open-account__pc-visual {
  width: 88px;
  height: 88px;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--nz-color-fill-brand, #0b5cab);
}

.open-account__pc-visual .nz-icon {
  width: 40px;
  height: 40px;
}

.open-account__channel-hint {
  margin: 0;
  color: var(--nz-color-text-secondary, #555);
  font-size: var(--nz-font-size-sm, 0.9rem);
}

.open-account__hours {
  margin: 0;
  color: var(--nz-color-text-muted, #666);
  font-size: var(--nz-font-size-xs, 0.8125rem);
}

.open-account__cta {
  margin-top: 0.5rem;
  min-height: 44px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--nz-color-fill-accent, #c41230);
  font-size: var(--nz-font-size-sm, 0.9rem);
  font-weight: 700;
}

.open-account__fallback-link {
  margin-top: 0.25rem;
  color: var(--nz-color-text-accent, #c41230);
  font-size: var(--nz-font-size-xs, 0.8125rem);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.open-account__note {
  margin: 0;
  color: var(--nz-color-text-muted, #666);
  font-size: 0.875rem;
  line-height: 1.55;
}

.research-finder__form,
.branch-finder__form,
.search-shell {
  display: grid;
  gap: 0.75rem;
  max-width: 40rem;
  margin-bottom: 1rem;
}

.research-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: var(--nz-space-2, 0.5rem);
  column-gap: var(--nz-space-3, 0.75rem);
}

.research-field {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: var(--nz-space-1, 0.25rem);
  min-width: 0;
}

.research-field__label {
  flex: 0 0 auto;
  color: var(--nz-color-text-muted, #7b8491);
  font-size: var(--nz-font-size-2xs, 0.75rem);
  line-height: 1;
  white-space: nowrap;
}

.research-field__label-short {
  display: none;
}

.research-field select,
.research-field input {
  box-sizing: border-box;
  min-height: var(--nz-layout-tap-target-min, 44px);
  color: var(--nz-color-text-body, #3b4656);
  background-color: var(--nz-color-surface, #fff);
  border: 1px solid var(--nz-color-border-strong, #c3ceda);
  border-radius: var(--nz-radius-xs, 4px);
  font-family: inherit;
  font-size: var(--nz-font-size-sm, 0.875rem);
  line-height: 1.25;
}

.research-field input {
  padding: 0 var(--nz-space-2, 0.5rem);
  outline: 0;
}

.research-field input:hover {
  border-color: var(--nz-color-border-brand, #0757a6);
}

.research-field input:focus,
.research-field input:focus-visible {
  outline: none;
  border-color: var(--nz-color-border-brand, #0757a6);
  box-shadow: var(--nz-shadow-focus, 0 0 0 3px rgba(7, 87, 166, 0.24));
}

.research-field select {
  /* width floor; chrome comes from shared .nz-select / .research-field select rules above */
  min-width: 6.5rem;
}

.research-field--keyword {
  flex: 1 1 12rem;
  min-width: min(100%, 12rem);
  max-width: 18rem;
}

.research-field--keyword input {
  flex: 1 1 12rem;
  min-width: 12rem;
  width: 100%;
}

.research-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: var(--nz-space-2, 0.5rem);
}

.research-actions .design-button,
.research-actions .button {
  min-height: var(--nz-layout-tap-target-min, 44px);
  padding-left: var(--nz-space-4, 1rem);
  padding-right: var(--nz-space-4, 1rem);
  font-size: var(--nz-font-size-sm, 0.875rem);
  font-weight: var(--nz-font-weight-semibold, 600);
}

.research-count {
  margin: 2px 0 var(--nz-space-2, 0.5rem);
  color: var(--nz-color-text-muted, #7b8491);
  font-size: var(--nz-font-size-xs, 0.8125rem);
  line-height: var(--nz-line-height-snug, 1.35);
}

@media (min-width: 768px) {
  .research-filters {
    flex-wrap: nowrap;
    gap: 0.625rem;
  }

  .research-field {
    gap: 0.5rem;
  }

  .research-field__label-full {
    display: none;
  }

  .research-field__label-short {
    display: inline;
  }

  .research-field__label--keyword {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }

  .research-field select,
  .research-field input {
    height: 2rem;
    min-height: 2rem;
    font-size: var(--nz-font-size-xs, 0.8125rem);
  }

  .research-field input {
    padding: 0 var(--nz-space-2, 0.5rem);
  }

  .research-field select {
    min-width: 5.5rem;
    padding: 0 1.75rem 0 0.65rem;
  }

  .research-field--keyword {
    flex: 1 1 14rem;
    min-width: 14rem;
    max-width: 22rem;
  }

  .research-field--keyword input {
    flex: 1 1 14rem;
    min-width: 14rem;
  }

  .research-actions .design-button {
    height: 2rem;
    min-height: 2rem;
    padding-left: 0.875rem;
    padding-right: 0.875rem;
    font-size: var(--nz-font-size-xs, 0.8125rem);
  }
}

.attachment-group {
  padding-top: var(--nz-space-2, 0.5rem);
}

.attachment-group h3 {
  margin: 0 0 var(--nz-space-3, 0.75rem);
  color: var(--nz-color-text-strong, #00254f);
  font-size: var(--nz-font-size-column-l3, 1.125rem);
}

.attachment-list,
.attachment-items,
.research-doc-list,
.research-api-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.attachment-item {
  padding: var(--nz-space-4, 1rem) 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: var(--nz-space-3, 0.75rem);
  border-bottom: 1px dashed var(--nz-color-border, #dbe3ec);
}

.attachment-item > .nz-icon,
.attachment-icon .nz-icon {
  color: var(--nz-color-text-accent, #c30f30);
  width: 1.25rem;
  height: 1.25rem;
}

.attachment-meta {
  min-width: 0;
  display: grid;
  gap: var(--nz-space-1, 0.25rem);
}

.attachment-meta strong {
  color: var(--nz-color-text-strong, #00254f);
  font-size: var(--nz-font-size-sm, 0.875rem);
}

.attachment-meta small {
  color: var(--nz-color-text-muted, #7b8491);
  font-size: var(--nz-font-size-3xs, 0.6875rem);
}

.attachment-action {
  grid-column: 1 / -1;
  min-height: var(--nz-layout-tap-target-min, 44px);
  padding: 0 var(--nz-space-4, 1rem);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--nz-space-2, 0.5rem);
  color: var(--nz-color-text-on-inverse, #fff);
  background: var(--nz-color-fill-brand, #0b5f98);
  border-radius: var(--nz-radius-xs, 4px);
  font-size: var(--nz-font-size-xs, 0.8125rem);
  text-decoration: none;
}

.attachment-action:hover {
  background: var(--nz-color-fill-brand-hover, #06447d);
}

.attachment-action .nz-icon {
  width: 1em;
  height: 1em;
}

@media (min-width: 768px) {
  .attachment-item {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .attachment-action {
    grid-column: auto;
    min-width: 7.5rem;
  }
}


.search-form {
  max-width: 52rem;
  margin-bottom: 1rem;
}

.search-form > label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--nz-color-text-strong, #00254f);
  font-size: var(--nz-font-size-sm, 0.875rem);
  font-weight: var(--nz-font-weight-bold, 700);
}

.search-form__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.search-form__row input[type='search'] {
  flex: 1 1 16rem;
  min-height: 2.75rem;
  padding: 0 0.85rem;
  border: 1px solid var(--nz-color-border-control, #ccc);
  border-radius: 4px;
  font: inherit;
}

.search-suggest {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  border: 1px solid var(--nz-color-border, #e5e5e5);
  border-radius: 4px;
  background: #fff;
}

.search-suggest button {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.search-suggest button:hover,
.search-suggest button:focus-visible {
  background: var(--nz-color-surface-muted, #f7f7f7);
}

.search-advanced {
  margin-top: 0.75rem;
}

.search-advanced__toggle {
  border: 0;
  background: transparent;
  color: var(--nz-color-brand, #0b5cab);
  font: inherit;
  cursor: pointer;
  padding: 0;
}

.search-filters {
  margin-top: 0.75rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.search-filters label {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--nz-color-text-muted, #666);
  font-size: 0.75rem;
}

.search-filters input {
  width: 100%;
  min-height: 2.5rem;
  padding: 0 0.65rem;
  border: 1px solid var(--nz-color-border-control, #ccc);
  border-radius: 4px;
  font: inherit;
}

.search-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin: 0 0 0.85rem;
}

.search-summary {
  min-height: 1.25rem;
  margin: 0;
  color: var(--nz-color-text-muted, #666);
  font-size: 0.875rem;
}

.search-summary--filled {
  color: var(--nz-color-text, #222);
}

.search-sort {
  display: inline-flex;
  border: 1px solid var(--nz-color-border-control, #ccc);
  border-radius: 4px;
  overflow: hidden;
}

.search-sort button {
  min-height: 2rem;
  padding: 0 0.85rem;
  border: 0;
  background: transparent;
  color: var(--nz-color-text-muted, #555);
  font: inherit;
  font-size: 0.8125rem;
  cursor: pointer;
}

.search-sort button + button {
  border-left: 1px solid var(--nz-color-border-control, #ccc);
}

.search-sort button:hover,
.search-sort button:focus-visible {
  color: var(--nz-color-text-brand, #0b5f98);
}

.search-sort button[aria-pressed="true"] {
  color: var(--nz-color-text-on-brand, #fff);
  background: var(--nz-color-fill-brand, #0b5f98);
}

.search-result-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.search-result-list li {
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--nz-color-border, #eee);
}

.search-result-list h2 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.search-result-list h2 a {
  color: var(--nz-color-text-strong, #00254f);
  text-decoration: none;
}

.search-result-list h2 a:hover,
.search-result-list h2 a:focus-visible {
  color: var(--nz-color-text-brand, #0b5f98);
  text-decoration: underline;
}

.search-result-list mark {
  padding: 0;
  color: var(--nz-color-text-accent, #c43b2e);
  background: transparent;
  font-weight: 700;
}

.search-result-summary {
  margin: 0 0 0.35rem;
  color: var(--nz-color-text-muted, #555);
  font-size: 0.875rem;
  line-height: 1.7;
}

.search-result-meta {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 1rem;
  color: var(--nz-color-text-muted, #666);
  font-size: 0.75rem;
}

.search-pager {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

@media (max-width: 640px) {
  .search-filters {
    grid-template-columns: 1fr;
  }
}

.research-hit {
  margin: 0.35rem 0;
  color: var(--nz-color-text-muted, #555);
  font-size: 0.8125rem;
}

.research-finder__form input,
.branch-finder__form input,
.search-shell input[type="search"] {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--nz-color-border, #ccc);
  border-radius: 4px;
}

.article-card__header h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
}

.article-card__meta,
.article-card__summary {
  color: var(--nz-color-text-muted, #666);
}

.article-body {
  line-height: var(--nz-reading-line-height, 2);
}

.error-page {
  text-align: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

/* legacy LegacyBridge parity */
.legacy-bridge {
  padding-top: var(--nz-space-14, 3.5rem);
  padding-bottom: var(--nz-space-20, 5rem);
}

.legacy-bridge h1 {
  margin: 0 0 var(--nz-space-3, 0.75rem);
  color: var(--nz-color-text-strong, #00254f);
  font-size: var(--nz-font-size-3xl, 1.75rem);
}

.legacy-detail {
  margin: 0;
  max-width: 60ch;
  color: var(--nz-color-text-muted, #7b8491);
  font-size: var(--nz-font-size-sm, 0.875rem);
  line-height: var(--nz-line-height-relaxed, 1.7);
}

.legacy-entries {
  margin-top: var(--nz-space-6, 1.5rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--nz-space-3, 0.75rem);
}

.legacy-entries a {
  min-height: var(--nz-layout-tap-target-min, 44px);
  padding: 0 var(--nz-space-4, 1rem);
  display: flex;
  align-items: center;
  color: var(--nz-color-text-link, #0757a6);
  background: var(--nz-color-surface, #fff);
  border: 1px solid var(--nz-color-border, #dbe3ec);
  border-radius: var(--nz-radius-xs, 4px);
  font-size: var(--nz-font-size-sm, 0.875rem);
  text-decoration: none;
}

.legacy-entries a:hover {
  color: var(--nz-color-text-on-inverse, #fff);
  background: var(--nz-color-fill-accent, #c30f30);
}

@media (min-width: 768px) {
  .legacy-entries {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.error-panel {
  padding-top: 4rem;
  padding-bottom: 5rem;
  text-align: center;
}

.error-status {
  margin: 0;
  color: var(--nz-color-border-strong, #c3ceda);
  font-size: clamp(3rem, 8vw, 4.5rem);
  font-weight: 700;
  line-height: 1;
}

.error-panel h1 {
  margin: 1rem 0 0.75rem;
  color: var(--nz-color-text-strong, #111);
  font-size: var(--nz-font-size-3xl, 1.75rem);
}

.error-detail {
  margin: 0 auto;
  max-width: 44ch;
  color: var(--nz-color-text-muted, #666);
  font-size: var(--nz-font-size-sm, 0.9rem);
  line-height: 1.7;
}

.error-actions {
  margin: 2rem auto 0;
  max-width: 420px;
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.error-entries {
  padding-bottom: 5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.error-entries a {
  min-height: 44px;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nz-color-text-link, #0b5cab);
  background: var(--nz-color-surface, #fff);
  border: 1px solid var(--nz-color-border, #e5e5e5);
  border-radius: 2px;
  font-size: var(--nz-font-size-sm, 0.9rem);
  text-decoration: none;
}

.error-entries a:hover {
  color: #fff;
  background: var(--nz-color-fill-accent, #c41230);
}

@media (min-width: 768px) {
  .error-entries {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .error-panel {
    padding-top: 5rem;
    padding-bottom: 6rem;
  }
}

.design-button--secondary-on-light {
  color: var(--nz-color-text-brand, #0b5f98);
  border-color: var(--nz-color-border-control, #7b8491);
  background: var(--nz-color-surface, #fff);
}

.design-button--secondary-on-light:hover {
  border-color: var(--nz-color-border-brand, #0757a6);
  background: var(--nz-color-fill-brand-soft, #e8f2f9);
  color: var(--nz-color-text-brand, #0b5f98);
}

.share-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  padding-top: 16px;
  border-top: 1px solid var(--nz-color-border, #dbe3ec);
  color: var(--nz-color-text-muted, #7b8491);
  font-size: var(--nz-font-size-xs, 0.8125rem);
  line-height: var(--nz-line-height-tight, 1.25);
}

.share-bar__label {
  flex: none;
  color: var(--nz-color-text-muted, #7b8491);
}

.share-bar__actions {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  min-width: 0;
}

.share-bar__action {
  min-height: var(--nz-layout-tap-target-min, 44px);
  margin: 0;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--nz-color-text-secondary, #626d7c);
  background: transparent;
  border: 0;
  font: inherit;
  line-height: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.18s ease;
}

.share-bar__action .nz-icon {
  width: 1rem;
  height: 1rem;
}

.share-bar__action + .share-bar__action {
  border-left: 1px solid var(--nz-color-border, #dbe3ec);
}

.share-bar__action:hover,
.share-bar__action:focus-visible {
  color: var(--nz-color-text-accent, #c30f30);
  outline: none;
}

.share-bar__status {
  color: var(--nz-color-text-brand, #0757a6);
}

/* —— HOME sections (legacy Home* boards) —— */
.design-hero {
  position: relative;
  isolation: isolate;
  height: 340px;
  overflow: hidden;
  color: var(--nz-color-text-on-inverse, #fff);
  background: var(--nz-color-surface-inverse, #0b2f4a);
}

.design-hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  background: linear-gradient(
    180deg,
    var(--nz-color-scrim-mid, rgba(0, 37, 79, 0.34)) 0%,
    var(--nz-color-overlay-scrim-strong, rgba(0, 37, 79, 0.78)) 100%
  );
  pointer-events: none;
}

.design-hero__slides {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
}

.design-hero__image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 61% center;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.design-hero__image.is-active {
  opacity: 1;
  animation: design-hero-breathe 16s ease-out both;
}

.design-hero__content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding-bottom: 68px;
}

.design-hero__content[hidden] {
  display: none;
}

/* 轮播「点击跳转」：链接层铺满首屏，叠在图片之上、文字层之下。
   有链接时文字层让出点击，只有按钮保留；分页器本来就在更上层。 */
.design-hero__link {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
}

.design-hero__link[hidden] {
  display: none;
}

.design-hero__link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -4px;
}

/* 有意为之：有链接的帧上眉标与标题选不中文字 —— 点在文字上也要跳转，
   整块首屏是一个链接目标；需要复制文字的场景不在首屏轮播。 */
.design-hero--linked .design-hero__content {
  pointer-events: none;
}

.design-hero--linked .design-hero__actions {
  pointer-events: auto;
}

.design-hero__kicker {
  margin: 0 0 5px;
  font-size: var(--nz-font-size-lg, 1.05rem);
  font-weight: var(--nz-font-weight-medium, 500);
  letter-spacing: 0.02em;
}

.design-hero__title {
  max-width: 340px;
  margin: 0;
  font-size: var(--nz-font-size-3xl, 1.75rem);
  line-height: var(--nz-line-height-tight, 1.25);
  letter-spacing: 0.01em;
  font-weight: var(--nz-font-weight-bold, 700);
  text-shadow: 0 4px 26px var(--nz-color-scrim-soft, rgba(0, 37, 79, 0.24));
}

.design-hero__actions {
  width: 100%;
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.design-button,
.nz-cta {
  min-width: 0;
  min-height: 44px;
  padding-left: var(--nz-space-4, 1rem);
  padding-right: var(--nz-space-4, 1rem);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--nz-color-text-on-inverse, #fff);
  border: 1px solid transparent;
  border-radius: var(--nz-radius-sm, 4px);
  font-size: var(--nz-font-size-sm, 0.875rem);
  font-weight: var(--nz-font-weight-bold, 700);
  white-space: nowrap;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.design-hero__actions .design-button,
.design-hero__actions .nz-cta {
  flex: 1;
}

.design-button .nz-icon,
.nz-cta .nz-icon {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
}

.design-button:hover,
.design-button:focus-visible,
.nz-cta:hover,
.nz-cta:focus-visible {
  transform: translateY(-2px);
}

.design-button--primary,
.nz-cta--primary {
  background: var(--nz-color-fill-accent, #df1238);
  color: var(--nz-color-text-on-inverse, #fff);
  box-shadow: var(--nz-shadow-accent, 0 12px 28px rgba(195, 15, 48, 0.25));
}

.design-button--primary:hover,
.nz-cta--primary:hover {
  background: var(--nz-color-fill-accent-hover, #c30f30);
}

/* Shallow-surface CTA (forms on light bg) — legacy NzButton accent, no hero shadow. */
.button {
  min-height: 44px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--nz-radius-xs, 4px);
  cursor: pointer;
  font-weight: var(--nz-font-weight-bold, 700);
  transition: 0.2s ease;
}

.button--accent {
  color: var(--nz-color-text-on-inverse, #fff);
  background: var(--nz-color-fill-accent, #df1238);
}

.button--accent:hover {
  background: var(--nz-color-fill-accent-hover, #c30f30);
  transform: translateY(-2px);
}

.button:disabled {
  background: var(--nz-color-surface-sunken, #eef2f6);
  color: var(--nz-color-text-disabled, #9aa3af);
  cursor: not-allowed;
}

.button:disabled:hover {
  background: var(--nz-color-surface-sunken, #eef2f6);
  transform: none;
}

@media (min-width: 768px) {
  .button {
    min-height: 48px;
    padding-left: 26px;
    padding-right: 26px;
  }
}

.design-button--secondary,
.nz-cta--secondary {
  border-color: var(--nz-color-border-inverse, rgba(255, 255, 255, 0.55));
  background: var(--nz-color-scrim-soft, rgba(0, 37, 79, 0.24));
  color: var(--nz-color-text-on-inverse, #fff);
  backdrop-filter: blur(10px);
}

.design-button--secondary:hover,
.nz-cta--secondary:hover {
  border-color: var(--nz-color-border-inverse, rgba(255, 255, 255, 0.55));
  background: var(--nz-color-overlay-on-dark, rgba(255, 255, 255, 0.18));
}

.design-hero__pager {
  position: absolute;
  z-index: 1;
  bottom: 9px;
  left: 50%;
  display: flex;
  gap: 7px;
  transform: translateX(-50%);
}

.design-hero__pager button {
  width: 28px;
  height: 2px;
  padding: 0;
  border: 0;
  background: var(--nz-color-overlay-on-dark, rgba(255, 255, 255, 0.45));
  cursor: pointer;
}

.design-hero__pager button.active {
  background: var(--nz-color-surface, #fff);
}

@keyframes design-hero-breathe {
  from { transform: scale(1.035); }
  to { transform: scale(1); }
}

@media (min-width: 768px) {
  .design-hero {
    height: 480px;
  }

  .design-hero::after {
    background: linear-gradient(
      180deg,
      var(--nz-color-scrim-faint, rgba(0, 37, 79, 0.08)) 0%,
      var(--nz-color-scrim-faint, rgba(0, 37, 79, 0.08)) 40%,
      var(--nz-color-overlay-scrim, rgba(0, 37, 79, 0.55)) 70%,
      var(--nz-color-overlay-scrim, rgba(0, 37, 79, 0.55)) 100%
    );
  }

  .design-hero__image {
    object-position: 60% center;
  }

  .design-hero__content {
    padding-bottom: 64px;
  }

  .design-hero__kicker {
    margin-bottom: 12px;
    font-size: var(--nz-font-size-3xl, 1.75rem);
  }

  .design-hero__title {
    max-width: 620px;
    font-size: var(--nz-font-size-display-sm, clamp(2rem, 4vw, 3.125rem));
  }

  .design-hero__actions {
    width: auto;
    gap: 14px;
    margin-top: 34px;
  }

  .design-hero__actions .design-button,
  .design-hero__actions .nz-cta {
    min-width: 160px;
    min-height: 50px;
    flex: 0 1 auto;
    font-size: var(--nz-font-size-lg, 1.05rem);
  }

  .design-hero__pager {
    bottom: 17px;
  }
}

@media (min-width: 1024px) {
  .design-hero {
    height: 520px;
  }

  .design-hero__image {
    object-position: center;
  }

  .design-hero__content {
    justify-content: center;
    padding-bottom: 16px;
  }

  .design-hero__title {
    font-size: var(--nz-font-size-display, clamp(2.75rem, 4vw, 3.75rem));
  }

  .design-hero__kicker {
    font-size: var(--nz-font-size-3xl, 1.75rem);
  }
}

/* HOME service rail — 方案 A */
.design-service-rail {
  background: var(--nz-color-surface, #fff);
  border-bottom: 1px solid var(--nz-color-border, #dbe3ec);
}

.design-service-grid {
  min-height: 112px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.design-service-item {
  position: relative;
  min-width: 0;
  min-height: 108px;
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 9px;
  padding: 16px 10px;
  color: inherit;
  text-decoration: none;
}

.design-service-item + .design-service-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: var(--nz-color-border, #dbe3ec);
}

.design-service-item:nth-child(3)::before {
  display: none;
}

.design-service-item:nth-child(n + 3)::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 0;
  height: 1px;
  background: var(--nz-color-border, #dbe3ec);
}

.design-service-item > .nz-icon:first-child {
  width: 31px;
  height: 31px;
  color: var(--nz-color-text-accent, #c30f30);
  justify-self: center;
  transition: transform 0.25s ease;
}

.design-service-item strong,
.design-service-item small {
  display: block;
}

.design-service-item strong {
  margin-bottom: 5px;
  color: var(--nz-color-text-strong, #00254f);
  font-size: var(--nz-font-size-md, 1rem);
  font-weight: var(--nz-font-weight-bold, 700);
}

.design-service-item small {
  color: var(--nz-color-text-muted, #7b8491);
  font-size: var(--nz-font-size-2xs, 0.75rem);
  line-height: var(--nz-line-height-snug, 1.35);
}

.design-service-arrow {
  color: var(--nz-color-text-accent, #c30f30);
  opacity: 0;
  transform: translateX(-8px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

svg.design-service-arrow {
  width: 1em;
  height: 1em;
  justify-self: end;
}

.design-service-arrow .nz-icon {
  width: 1em;
  height: 1em;
}

.design-service-item:hover {
  background: var(--nz-color-surface-muted, #f6f9fc);
  transform: translateY(-2px);
}

.design-service-item:hover > .nz-icon:first-child {
  transform: scale(1.08) translateY(-2px);
}

.design-service-item:hover .design-service-arrow {
  opacity: 1;
  transform: translateX(0);
}

.design-news-section {
  background: var(--nz-color-surface, #fff);
}

.design-news-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
}

.design-report-panel,
.design-notice-panel {
  min-width: 0;
}

.design-tab-list,
.design-panel-heading {
  height: 52px;
  display: flex;
  align-items: stretch;
  gap: 38px;
  border-bottom: 1px solid var(--nz-color-border, #e2e7ed);
}

.design-tab-list {
  gap: 28px;
}

.design-tab-list button {
  position: relative;
  padding: 0 0 15px;
  border: 0;
  background: transparent;
  font-size: var(--nz-font-size-md, 1rem);
  font-weight: var(--nz-font-weight-bold, 700);
  cursor: pointer;
  color: inherit;
}

.design-tab-list button::after,
.design-panel-heading h2::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -1px;
  height: 2px;
  background: var(--nz-color-fill-accent, #df1238);
  transition: right 0.2s ease;
}

.design-tab-list button:hover,
.design-tab-list button.active {
  color: var(--nz-color-text-accent, #c30f30);
}

.design-tab-list button.active::after,
.design-tab-list button:hover::after {
  right: 0;
}

.design-panel-heading {
  justify-content: space-between;
}

.design-panel-heading h2 {
  position: relative;
  margin: 0;
  padding-bottom: 15px;
  color: var(--nz-color-text-accent, #c30f30);
  font-size: var(--nz-font-size-md, 1rem);
  font-weight: var(--nz-font-weight-bold, 700);
}

.design-panel-heading h2::after {
  right: 0;
}

.design-panel-heading a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--nz-color-text-muted, #626d7c);
  font-size: var(--nz-font-size-2xs, 0.75rem);
  align-self: center;
  text-decoration: none;
}

.design-panel-heading a .nz-icon {
  width: 1em;
  height: 1em;
}

.design-news-list,
.nz-news-list {
  list-style: none;
  margin: 0;
  padding: 4px 0 0;
}

.design-news-list li,
.nz-news-list li {
  position: relative;
  min-height: 58px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 3px;
  padding: 11px 4px 11px 15px;
  border-bottom: 1px dashed var(--nz-color-border, #e2e7ed);
}

.design-news-list li::before,
.nz-news-list li::before {
  content: "";
  position: absolute;
  left: 1px;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--nz-color-border-strong, #c3ceda);
}

.design-news-list a,
.nz-news-list a {
  overflow: hidden;
  color: var(--nz-color-text-body, #3b4656);
  font-size: var(--nz-font-size-sm, 0.875rem);
  line-height: var(--nz-line-height-normal, 1.5);
  text-overflow: ellipsis;
  white-space: normal;
  text-decoration: none;
}

.design-news-list li:hover a,
.nz-news-list li:hover a {
  color: var(--nz-color-text-accent, #c30f30);
  transform: translateX(3px);
}

.design-news-list time,
.nz-news-list time {
  color: var(--nz-color-text-muted, #626d7c);
  font-size: var(--nz-font-size-xs, 0.8125rem);
  font-variant-numeric: tabular-nums;
}

.design-tools-section {
  background: var(--nz-color-surface, #fff);
}

.design-section-title {
  margin: 0 0 22px;
  color: var(--nz-color-text-strong, #00254f);
  font-size: var(--nz-font-size-2xl, 1.35rem);
  font-weight: var(--nz-font-weight-bold, 700);
  letter-spacing: 0.01em;
}

.design-tool-grid {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.design-tool-card {
  position: relative;
  isolation: isolate;
  min-height: 148px;
  display: grid;
  grid-template-columns: minmax(0, 42%) minmax(0, 58%);
  align-items: stretch;
  overflow: hidden;
  outline: none;
  background: var(--nz-color-surface, #fff);
  border: 1px solid var(--nz-color-border, #e2e7ed);
  border-radius: var(--nz-radius-md, 6px);
  box-shadow: var(--nz-shadow-sm, 0 2px 8px rgba(0, 0, 0, 0.04));
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

.design-tool-card:hover,
.design-tool-card:focus-within {
  transform: translateY(-5px);
  box-shadow: var(--nz-shadow-lg, 0 12px 28px rgba(0, 0, 0, 0.1));
}

.source-research-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  padding: 28px;
  background: var(--nz-color-surface-inverse, #00254f);
  color: var(--nz-color-text-on-inverse, #fff);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 180ms ease;
  pointer-events: none;
}

.design-tool-card:hover .source-research-overlay,
.design-tool-card:focus-within .source-research-overlay {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.source-research-overlay a {
  display: block;
  color: inherit;
  text-align: center;
  font-weight: var(--nz-font-weight-semibold, 600);
  font-size: var(--nz-font-size-sm, 0.875rem);
  line-height: var(--nz-line-height-normal, 1.5);
  text-decoration: none;
}

.design-tool-image-wrap {
  position: relative;
  height: 100%;
  min-height: 148px;
  overflow: hidden;
}

.design-tool-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.03);
}

.design-tool-icon {
  position: absolute;
  left: auto;
  right: -24px;
  bottom: 50%;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--nz-color-surface-inverse, #00254f);
  color: var(--nz-color-text-on-inverse, #fff);
  transform: translateY(50%);
  box-shadow: var(--nz-shadow-lg, 0 10px 24px rgba(0, 36, 78, 0.22));
}

.design-tool-icon .nz-icon {
  width: 1.35rem;
  height: 1.35rem;
}

.design-tool-copy {
  min-height: 148px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 18px 22px 30px;
  text-align: left;
}

.design-tool-copy h3 {
  margin: 0 0 8px;
  color: var(--nz-color-text-strong, #00254f);
  font-size: var(--nz-font-size-xl, 1.25rem);
  font-weight: var(--nz-font-weight-bold, 700);
}

.design-tool-copy p {
  max-width: 270px;
  margin: 0;
  color: var(--nz-color-text-muted, #626d7c);
  font-size: var(--nz-font-size-xs, 0.8125rem);
  line-height: var(--nz-line-height-normal, 1.6);
}

.design-quick-section {
  position: relative;
  overflow: hidden;
  color: var(--nz-color-text-on-inverse, #fff);
  background: var(--nz-color-surface-inverse, #00254f);
}

.design-quick-layout {
  min-height: 360px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 32px;
  padding-top: 40px;
  padding-bottom: 40px;
}

.design-quick-copy h2 {
  margin: 0 0 16px;
  font-size: var(--nz-font-size-2xl, 1.35rem);
}

.design-quick-copy > p {
  margin: 0;
  color: var(--nz-color-text-on-inverse, #fff);
  font-size: var(--nz-font-size-sm, 0.875rem);
}

.design-quick-actions {
  max-width: 520px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 32px;
}

.design-quick-actions a {
  min-height: 104px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--nz-color-text-on-inverse, #fff);
  border: 1px solid transparent;
  text-decoration: none;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}

.design-quick-actions a:hover {
  background: var(--nz-color-overlay-on-dark-weak, rgba(255, 255, 255, 0.07));
  border-color: var(--nz-color-border-inverse, rgba(255, 255, 255, 0.12));
  transform: translateY(-5px);
}

.design-quick-actions .nz-icon {
  width: 1em;
  height: 1em;
  font-size: var(--nz-font-size-4xl, 2.25rem);
}

.design-quick-actions span {
  font-size: var(--nz-font-size-sm, 0.875rem);
  text-align: center;
}

.design-quick-divider {
  width: 100%;
  height: 1px;
  background: var(--nz-color-overlay-on-dark, rgba(255, 255, 255, 0.12));
}

@media (min-width: 768px) {
  .design-section-pad {
    padding-top: var(--nz-layout-section-gap, 2.5rem);
    padding-bottom: var(--nz-layout-section-gap, 2.5rem);
  }

  .page-banner__inner {
    min-height: 190px;
    padding-top: 38px;
    padding-bottom: 52px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
  }

  .page-banner__lead h1 {
    font-size: 2rem;
  }

  .page-banner__summary {
    margin-top: 0;
    text-align: right;
  }

  .listing-page__header {
    padding: 8px 18px;
    flex-wrap: nowrap;
    gap: 8px 14px;
    min-height: 3rem;
  }

  .listing-page__body {
    padding: 2px 18px 14px;
  }

  .content-list__item {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
  }

  .content-list__item--with-summary {
    align-items: flex-start;
  }

  .content-list__meta {
    min-width: 106px;
    text-align: right;
  }

  .image-text-item--with-cover {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .doc-entry {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--nz-space-5, 1.25rem);
  }

  .doc-entry--with-summary {
    align-items: flex-start;
  }

  .doc-entry-meta {
    min-width: 7.5rem;
    flex-flow: column nowrap;
    align-items: flex-end;
    gap: var(--nz-space-2, 0.5rem);
    text-align: right;
  }

  .doc-attachment-stack {
    justify-content: flex-end;
  }

  /* hero height/title steps live with .design-hero block above */

  .design-service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .design-service-item {
    min-height: auto;
    grid-template-columns: 50px 1fr;
    gap: 15px;
    padding: 24px 18px;
  }

  .design-service-item + .design-service-item::before {
    top: 27%;
    bottom: 27%;
  }

  .design-service-item:nth-child(n + 3)::after {
    content: none;
  }

  .design-service-item > .nz-icon:first-child {
    width: 38px;
    height: 38px;
  }

  .design-service-item strong {
    font-size: var(--nz-font-size-lg, 1.125rem);
  }

  .design-service-item small {
    font-size: var(--nz-font-size-xs, 0.8125rem);
    line-height: var(--nz-line-height-normal, 1.5);
  }

  .design-tool-image-wrap {
    height: 260px;
    min-height: auto;
  }

  .design-tool-card {
    min-height: auto;
    display: block;
  }

  .design-tool-icon {
    left: 50%;
    right: auto;
    bottom: -32px;
    width: 64px;
    height: 64px;
    transform: translateX(-50%);
  }

  .design-tool-icon .nz-icon {
    width: 1.75rem;
    height: 1.75rem;
  }

  .design-tool-copy {
    min-height: 164px;
    display: block;
    padding: 44px 26px 26px;
    text-align: center;
  }

  .design-tool-copy p {
    margin: 0 auto;
    font-size: var(--nz-font-size-sm, 0.875rem);
    line-height: var(--nz-line-height-relaxed, 1.7);
  }

  .design-section-title {
    margin-bottom: 30px;
    font-size: var(--nz-font-size-3xl, 1.5rem);
  }

  .design-tool-grid {
    gap: 26px;
  }

  .design-news-layout {
    gap: 42px;
  }

  .design-tab-list {
    gap: 38px;
  }

  .design-news-list li,
  .nz-news-list li {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .design-news-list a,
  .nz-news-list a {
    white-space: nowrap;
  }

  .design-quick-layout {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .design-quick-copy h2 {
    font-size: var(--nz-font-size-3xl, 1.5rem);
  }

  .design-quick-actions {
    gap: 16px;
  }

  .design-quick-actions a {
    min-height: 118px;
  }

  .design-quick-actions .nz-icon {
    width: 1em;
    height: 1em;
    font-size: var(--nz-font-size-5xl, 3rem);
  }

  .design-quick-actions span {
    font-size: var(--nz-font-size-md, 1rem);
    text-align: inherit;
  }

  .design-calendar-head h3 {
    font-size: var(--nz-font-size-2xl, 1.35rem);
  }

  .design-calendar-grid span,
.design-calendar-grid button {
    height: 36px;
  }
}

@media (min-width: 1024px) {
  .inner-layout {
    margin-top: 20px;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 20px;
  }

  .section-nav__list {
    display: block;
    overflow-x: visible;
  }

  .section-nav a {
    width: 100%;
    min-height: 50px;
    padding: 0 20px;
    display: flex;
    border-left: 0;
    border-top: 1px solid var(--nz-color-border, #e5e5e5);
    white-space: normal;
  }

  .section-nav a.is-active {
    box-shadow: inset 4px 0 0 var(--nz-color-fill-accent, #c41230);
  }

  /* hero lg steps live with .design-hero block above */

  .design-service-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .design-service-item:nth-child(3)::before {
    display: block;
  }

  .design-news-layout {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }

  .design-tool-grid {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    grid-template-columns: repeat(3, 1fr);
  }

  .design-tool-image-wrap {
    height: 198px;
  }

  .inner-service-strip__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow-x: visible;
  }

  .design-quick-layout {
    grid-template-columns: 1fr 1px 1fr;
    gap: 48px;
  }

  .design-quick-divider {
    width: 1px;
    height: 260px;
  }
}

@media (min-width: 1280px) {
  .design-service-item {
    grid-template-columns: 50px 1fr auto;
    padding-left: 22px;
    padding-right: 22px;
  }

  .design-tool-grid {
    gap: 32px;
  }

  .design-tool-image-wrap {
    height: 208px;
  }
}

[data-nz-contrast="high"] {
  filter: contrast(1.25);
}

[data-nz-cursor="large"],
[data-nz-cursor="large"] *,
[data-nz-cursor="true"],
[data-nz-cursor="true"] * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Ccircle cx='8' cy='8' r='6' fill='black'/%3E%3C/svg%3E")
      4 4,
    auto;
}

/* Search state must override component flex/grid display rules. */
.search-page [hidden],
.research-finder [hidden],
.research-filters [hidden] {
  display: none;
}

.research-actions [data-research-clear] {
  color: var(--nz-color-text-brand, #0b5f98);
  background: var(--nz-color-surface, #fff);
  border-color: var(--nz-color-border-control, #7b8491);
}


.share-dialog {
  max-width: min(420px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 24px;
  border: 0;
  border-radius: 12px;
  text-align: center;
  background: #fff;
  color: #222;
}

.share-dialog::backdrop { background: rgb(0 0 0 / 45%); }
.share-dialog h2 { margin: 0 0 12px; font-size: 20px; }
.share-dialog p { margin: 0; line-height: 1.6; }
.share-dialog img { display: block; max-width: 100%; height: auto; margin: 12px auto; }
.share-dialog__actions { display: flex; justify-content: center; align-items: center; gap: 24px; }
.share-dialog__actions button { cursor: pointer; padding: 6px 16px; }

.page-share { padding-top: 24px; padding-bottom: 24px; }

/* Homepage calendar keeps native buttons and dialog within its own scope. */
.design-calendar-grid button { position: relative; border: 0; background: transparent; cursor: pointer; font-family: inherit; }
.design-calendar-grid button:focus-visible, .design-calendar-tools button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.design-calendar-grid button:hover { background-color: rgba(255,255,255,.14); border-radius: 999px; }
.design-calendar-grid button.today { background: var(--nz-color-fill-accent, #df1238); }
.design-calendar-grid .has-events::after { content: ''; position: absolute; bottom: 2px; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.design-calendar-tools { text-align: center; margin: -6px 0 8px; }
.design-calendar-tools button { border: 1px solid rgba(255,255,255,.4); border-radius: 4px; padding: 4px 14px; background: transparent; color: #fff; cursor: pointer; }
.design-calendar .calendar-dialog {
  width: min(520px, calc(100vw - 32px));
  max-height: 75vh;
  box-sizing: border-box;
  padding: 0;
  border: 1px solid rgba(18, 46, 77, .08);
  border-radius: 16px;
  color: #172b45;
  background: #fff;
  box-shadow: 0 24px 80px rgba(3, 23, 47, .24);
  text-align: left;
}
.design-calendar .calendar-dialog::backdrop { background: rgba(5, 23, 43, .42); backdrop-filter: blur(3px); }
.design-calendar .calendar-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 18px 28px;
  border-bottom: 1px solid #edf1f5;
}
.design-calendar .calendar-dialog h3 { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.5; }
.design-calendar .calendar-dialog-head button {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f4f6f8;
  color: #617184;
  cursor: pointer;
  transition: background-color .15s, color .15s;
}
.design-calendar .calendar-dialog-head button:hover { background: #e9eff5; color: #123e68; }
.design-calendar .calendar-dialog-head button:focus-visible { outline: 2px solid #166ca6; outline-offset: 3px; }
.design-calendar .calendar-dialog [data-calendar-event-list] { padding: 24px 28px 28px; }
.design-calendar .calendar-dialog [data-calendar-event-list] > p { margin: 0; padding: 30px 12px; border-radius: 10px; background: #f7f9fb; color: #64748b; text-align: center; font-size: 14px; line-height: 1.7; }
.design-calendar .calendar-dialog ul { list-style: none; margin: 0; padding: 0; }
.design-calendar .calendar-dialog li + li { margin-top: 10px; }
.design-calendar .calendar-dialog a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 18px; border: 1px solid #e7edf3; border-radius: 10px; color: #174a75; background: #f8fafc; font-size: 14px; line-height: 1.6; text-decoration: none; }
.design-calendar .calendar-dialog a::after { content: '›'; font-size: 24px; line-height: 1; color: #7f95aa; }
.design-calendar .calendar-dialog a:hover { border-color: #b6cbdf; background: #eef5fb; }
@media (max-width: 480px) {
  .design-calendar .calendar-dialog-head { padding: 14px 14px 14px 20px; }
  .design-calendar .calendar-dialog h3 { font-size: 15px; }
  .design-calendar .calendar-dialog [data-calendar-event-list] { padding: 20px; }
}

.error-panel { margin-top: 40px; border: 1px solid #e7edf4; border-radius: 20px; background: linear-gradient(145deg, #f4f8fc, #fff 65%); }
.error-panel .error-status { color: #164c7d; font-size: clamp(72px, 12vw, 120px); letter-spacing: .06em; }
.error-panel .error-redirect { margin: 24px 16px 0; color: #64748b; font-size: 13px; line-height: 1.8; }
.error-panel .error-redirect strong { color: #164c7d; font-variant-numeric: tabular-nums; }
.error-panel .error-redirect button { margin-left: 10px; padding: 4px 8px; border: 0; border-radius: 4px; background: transparent; color: #174a75; font: inherit; text-decoration: underline; cursor: pointer; }
.error-panel .error-redirect button:hover { background: #e8f0f7; }
.error-panel .error-redirect button:focus-visible { outline: 2px solid #166ca6; outline-offset: 2px; }
.error-entries { padding-top: 24px; }
@media (max-width: 600px) { .error-panel { margin-top: 24px; padding: 40px 20px; } }

.error-actions .design-button--secondary-on-light { color: #174a75; border: 1px solid #c5d5e4; background: #fff; }
.error-actions .design-button--secondary-on-light:hover { color: #123b62; background: #edf4fa; }

/* Whole-portal presentation boundary. Neutral palette: Ant Design colors-cn.
 * Root filtering includes source images and iframes; source bytes never change. */
html[data-nz-grayscale="true"]:not([data-nz-contrast="high"]) {
  --nz-color-background: #f5f5f5;
  --nz-color-surface: #fff;
  --nz-color-surface-muted: #fafafa;
  --nz-color-surface-subtle: #f5f5f5;
  --nz-color-surface-sunken: #f0f0f0;
  --nz-color-surface-inverse: #262626;
  --nz-color-surface-inverse-strong: #262626;
  --nz-color-text-strong: #262626;
  --nz-color-text-body: #434343;
  --nz-color-text-secondary: #595959;
  --nz-color-text-muted: #595959;
  --nz-color-text-disabled: #bfbfbf;
  --nz-color-text-link: #434343;
  --nz-color-text-link-hover: #262626;
  --nz-color-text-brand: #434343;
  --nz-color-text-accent: #434343;
  --nz-color-text-on-inverse-muted: #d9d9d9;
  --nz-color-border: #d9d9d9;
  --nz-color-border-subtle: #f0f0f0;
  --nz-color-border-strong: #bfbfbf;
  --nz-color-border-control: #8c8c8c;
  --nz-color-border-brand: #434343;
  --nz-color-border-accent: #434343;
  --nz-color-fill-brand: #434343;
  --nz-color-fill-brand-hover: #262626;
  --nz-color-fill-brand-soft: #f5f5f5;
  --nz-color-fill-accent: #434343;
  --nz-color-fill-accent-hover: #262626;
  --nz-color-fill-accent-soft: #f5f5f5;
  --nz-color-focus-ring: #595959;
  --nz-color-focus-halo: rgb(0 0 0 / 24%);
}
html[data-nz-grayscale="true"] {
  -webkit-filter: grayscale(1);
  filter: grayscale(1);
}
html[data-nz-grayscale="true"][data-nz-contrast="high"] {
  -webkit-filter: grayscale(1) contrast(1.25);
  filter: grayscale(1) contrast(1.25);
}
html[data-nz-grayscale="true"] a[href]:hover,
html[data-nz-grayscale="true"] a[href]:focus-visible {
  text-decoration: underline;
}

/* Text links must remain identifiable on touch screens without a hover state. */
html[data-nz-grayscale="true"] .nz-block-paragraph a[href],
html[data-nz-grayscale="true"] .nz-block-heading a[href],
html[data-nz-grayscale="true"] .nz-block-list a[href],
html[data-nz-grayscale="true"] .nz-block-table a[href],
html[data-nz-grayscale="true"] .nz-block-quote a[href] {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
