/* 云会计新版公共样式。统一使用 np- 前缀，不依赖旧站全局 reset / layui / Bootstrap。 */
:root {
    --np-color-primary: #0068ff;
    --np-color-primary-hover: #0057db;
    --np-color-heading: #081c50;
    --np-color-text: #294674;
    --np-color-text-strong: #152d48;
    --np-color-muted: #647c9e;
    --np-color-border: #cde3ff;
    --np-color-border-strong: #dee3e9;
    --np-color-soft: #e5f4ff;
    --np-color-info: #355789;
    --np-color-warning: #a56b16;
    --np-color-surface: #fff;
    --np-color-error: #c73843;
    --np-color-success: #168348;
    --np-header-blue: #1f6bff;
    --np-header-blue-hover: #0d4fd8;
    --np-header-blue-soft: #eaf2ff;
    --np-header-ink: #14203b;
    --np-header-muted: #5c6883;
    --np-header-shadow: 0 8px 22px rgba(31, 107, 255, .28);
    --np-radius-control: 7px;
    --np-radius-panel: 16px;
    --np-space-1: 4px;
    --np-space-2: 8px;
    --np-space-3: 12px;
    --np-space-4: 16px;
    --np-space-6: 24px;
    --np-space-8: 32px;
    --np-control-height: 44px;
    --np-container-width: 1680px;
    --np-shadow-panel: 0 12px 36px rgba(24, 77, 134, .15);
}

.np-site { margin: 0; color: #294674; color: var(--np-color-text); background: #f4faff; font: 16px/1.6 "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif; -webkit-text-size-adjust: 100%; }
.np-site *, .np-site *::before, .np-site *::after { box-sizing: border-box; }
.np-site h1, .np-site h2, .np-site h3, .np-site p, .np-site ul, .np-site figure { margin: 0; }
.np-site ul { padding: 0; list-style: none; }
.np-site a { color: inherit; text-decoration: none; }
.np-site button, .np-site input, .np-site select, .np-site textarea { font-family: inherit; }
.np-site button { cursor: pointer; }
.np-site img { display: block; max-width: 100%; border: 0; }
.np-site [hidden] { display: none !important; }
.np-site :focus-visible { outline: 3px solid #0048b8; outline-offset: 4px; }
.np-site button:focus, .np-site a:focus { outline: 3px solid #0048b8; outline-offset: 4px; }
.np-site button:focus:not(:focus-visible), .np-site a:focus:not(:focus-visible) { outline: none; }
.np-container { width: 90.4%; max-width: 1680px; max-width: var(--np-container-width); margin-right: auto; margin-left: auto; }
.np-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.np-skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 10px 16px; color: #fff !important; background: #0057db; border-radius: 4px; }
.np-skip-link:focus { top: 12px; }
.np-icon { display: inline-block; flex-shrink: 0; }
.np-icon--white { filter: brightness(0) invert(1); }
.np-icon--blue { filter: invert(30%) sepia(100%) saturate(5100%) hue-rotate(210deg) brightness(102%) contrast(108%); }

/* 公共按钮：primary / outline / text；small / large。aria-disabled 用于预留入口。 */
.np-button { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 6px 12px; border: 1px solid transparent; border-radius: 7px; border-radius: var(--np-radius-control); font-size: 14px; line-height: 24px; text-align: center; vertical-align: middle; transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.np-button .np-icon { margin-left: 14px; }
.np-button--primary { color: #fff !important; background: #0068ff; background: var(--np-color-primary); box-shadow: 0 6px 18px rgba(0, 104, 255, .12); }
.np-button--primary:hover { background: #0057db; background: var(--np-color-primary-hover); box-shadow: 0 8px 24px rgba(0, 104, 255, .22); }
.np-button--outline { color: #0068ff !important; border-color: #0068ff; background: rgba(255, 255, 255, .83); }
.np-button--outline:hover { background: #e8f3ff; }
.np-button--text { padding-right: 16px; padding-left: 16px; color: #355789; background: transparent; }
.np-button--text:hover { color: #0068ff; background: rgba(220, 240, 255, .7); }
.np-button--large { min-height: 64px; padding: 16px 32px; font-size: 23px; line-height: 30px; }
.np-button--small { min-height: 36px; padding: 5px 16px; font-size: 14px; }
.np-button--compact { min-height: 36px; padding: 5px 12px; border-radius: 5px; font-size: 13px; box-shadow: none; }
.np-button:active { transform: translateY(1px); }
.np-button:disabled, .np-button.is-disabled { color: #7c8ba1 !important; background: #e9eef5; border-color: #dce4ef; box-shadow: none; cursor: not-allowed; }

/* 后续页面的公用表单基础：label + control + hint/error，错误同时设置 aria-invalid。 */
.np-field { margin-bottom: 20px; }
.np-field__label { display: block; margin-bottom: 8px; color: #081c50; font-size: 14px; font-weight: 600; }
.np-field__required { margin-left: 4px; color: #c73843; }
.np-input, .np-select, .np-textarea { display: block; width: 100%; min-height: 44px; padding: 10px 14px; border: 1px solid #cde3ff; border-radius: 7px; color: #294674; background: #fff; font-size: 16px; line-height: 1.5; transition: border-color .18s ease, box-shadow .18s ease; }
.np-textarea { min-height: 104px; resize: vertical; }
.np-input::placeholder, .np-textarea::placeholder { color: #647c9e; }
.np-input:focus, .np-select:focus, .np-textarea:focus { border-color: #0068ff; outline: 2px solid #cde3ff; outline-offset: 1px; }
.np-input[aria-invalid="true"], .np-select[aria-invalid="true"], .np-textarea[aria-invalid="true"] { border-color: #c73843; }
.np-input:disabled, .np-select:disabled, .np-textarea:disabled { color: #78869a; background: #f0f4f8; cursor: not-allowed; }
.uc-form-control { display: block; width: 100%; height: 36px; padding: 6px 10px; border: 1px solid #bfd6ef; border-radius: 5px; color: #294674; background: #fff; font-size: 13px; line-height: 22px; }
.uc-form-control::placeholder { color: #9cb3cd; }
.uc-form-control:focus { border-color: #0068ff; outline: 2px solid #dcecff; outline-offset: 1px; }
.uc-form-control[aria-invalid="true"] { border-color: var(--np-color-error, #c73843); }
.np-control--compact { min-height: 34px; padding: 5px 10px; font-size: 13px; line-height: 20px; }

/* 新版页面表格：基础结构和交互统一，列宽及业务单元格由各页面设置。 */
.np-table-wrap { min-width: 0; overflow: auto; }
.np-table { width: 100%; border-collapse: collapse; table-layout: fixed; color: #152d48; color: var(--np-color-text-strong); font-size: 13px; }
.np-table th, .np-table td { color: #555; border-bottom: 1px solid #bccce0; border-bottom-color: var(--np-color-border-strong); }
.np-table th { position: sticky; top: 0; z-index: 1; height: 36px; padding: 0 12px; background: #e6eefb; font-size: 13px; font-weight: 600; text-align: left; white-space: nowrap; }
.np-table td { height: 42px; padding: 5px 12px; font-size: 13px; line-height: 18px; text-align: left; vertical-align: middle; overflow-wrap: break-word; }
.np-table tbody tr:hover, .np-table tbody tr:focus-within { background: #e8f2ff; }

/* 用户中心面包屑：所有子页使用同一字号、颜色和间距。 */
.uc-breadcrumb { display: flex; flex: 0 0 auto; align-items: center; color: #7a899d; font-size: 12px; line-height: 20px; }
.uc-breadcrumb i { margin: 0 10px; color: #9db8d5; font-style: normal; }
.uc-breadcrumb strong { color: #294674; font-weight: 400; }

/* 用户中心固定布局中的分页不随列表区域收缩；按钮外观仍由插件样式提供。 */
.np-usercenter-frame .pager { flex: 0 0 auto; }

/* 新版 select2：复用项目插件，外观与 np-input / uc-form-control 保持一致。 */
.np-site select.np-select + .select2-container,
.np-site select.uc-form-control + .select2-container { display: inline-block; max-width: 100%; vertical-align: top; }
.np-site select.np-select + .select2-container { font-size: 16px; }
.np-site select.np-select + .select2-container .select2-selection--single { height: 44px; min-height: 44px; padding: 0 40px 0 14px; border: 1px solid #cde3ff; border-radius: 7px; color: #294674; background: #fff; }
.np-site select.uc-form-control + .select2-container { font-size: 13px; }
.np-site select.uc-form-control + .select2-container .select2-selection--single { height: 36px; min-height: 36px; padding: 0 34px 0 10px; border: 1px solid #bfd6ef; border-radius: 5px; color: #294674; background: #fff; }
.np-site select.np-select.np-control--compact + .select2-container { font-size: 13px; }
.np-site select.np-select.np-control--compact + .select2-container .select2-selection--single { height: 34px; min-height: 34px; padding-left: 12px; border-radius: 6px; }
.np-site select.np-select.np-control--compact + .select2-container .select2-selection__rendered { line-height: 32px; }
.np-site select.np-select.np-control--compact + .select2-container .select2-selection__arrow { right: 8px; }
.np-site .select2-container--default .select2-selection--single .select2-selection__rendered { overflow: hidden; padding: 0; color: inherit; line-height: inherit; text-overflow: ellipsis; white-space: nowrap; }
.np-site .select2-container .select2-selection--single { width: 100%; box-sizing: border-box; }
.np-site select.np-select + .select2-container .select2-selection__rendered { line-height: 42px; }
.np-site select.uc-form-control + .select2-container .select2-selection__rendered { line-height: 34px; }
.np-site .select2-container--default .select2-selection--single .select2-selection__placeholder { color: #647c9e; }
.np-site .select2-container--default .select2-selection--single .select2-selection__arrow { top: 50%; right: 10px; width: 18px; height: 18px; transform: translateY(-50%); }
.np-site .select2-container--default .select2-selection--single .select2-selection__arrow b { margin: -2px 0 0 -4px; border-width: 5px 4px 0; border-color: #6c8caf transparent transparent; transition: transform .18s ease, border-color .18s ease; }
.np-site .select2-container--default.select2-container--open .select2-selection--single { border-color: #0068ff; outline: 2px solid #cde3ff; outline-offset: 1px; }
.np-site .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b { margin-top: -2px; border-width: 0 4px 5px; border-color: transparent transparent #0068ff; }
.np-site .select2-container--default.select2-container--focus .select2-selection--single { border-color: #0068ff; }
.np-site .select2-container--default.select2-container--disabled .select2-selection--single { color: #78869a; border-color: #dce4ef; background: #f0f4f8; cursor: not-allowed; }
.np-site .select2-container--default .select2-selection--single[aria-invalid="true"] { border-color: #c73843; }
.np-site .select2-dropdown { z-index: 1100; overflow: hidden; border: 1px solid #cde3ff; border-radius: 7px; background: #fff; box-shadow: 0 10px 26px rgba(24, 77, 134, .14); }
.np-site .select2-search--dropdown { padding: 8px; border-bottom: 1px solid #edf4fb; background: #fbfdff; }
.np-site .select2-search--dropdown .select2-search__field { height: 32px; padding: 5px 9px; border: 1px solid #cde3ff; border-radius: 5px; color: #294674; outline: none; font: inherit; }
.np-site .select2-search--dropdown .select2-search__field:focus { border-color: #0068ff; box-shadow: 0 0 0 2px #e5f2ff; }
.np-site .select2-results__option { padding: 8px 12px; color: #294674; font-size: 14px; line-height: 20px; }
.np-site .select2-results__option[aria-selected="true"] { color: #0068ff; background: #f1f8ff; }
.np-site .select2-results__option--highlighted[aria-selected] { color: #0068ff; background: #e5f2ff; }
.np-site .select2-results__option[aria-disabled="true"] { color: #9aaec6; background: transparent; }
.np-site .select2-results__message { padding: 9px 12px; color: #647c9e; font-size: 13px; }
.np-site .np-auth-compact select.np-select + .select2-container .select2-selection--single { height: 38px; min-height: 38px; padding-left: 12px; font-size: 14px; }
.np-site .np-auth-compact select.np-select + .select2-container .select2-selection__rendered { line-height: 36px; }
.np-site .np-auth-compact select.np-select + .select2-container .select2-selection__arrow { right: 8px; }
.np-site .uc-date-fields select#account-start-year + .select2-container { width: 92px !important; }
.np-site .uc-date-fields select#account-start-month + .select2-container { width: 74px !important; }
/* 公共提示：统一错误、警告、成功、一般提示的容器和状态色。 */
.np-message { display: block; margin: 0; padding: 2px 8px; border: 1px solid #cde3ff; border-radius: 4px; color: #0068ff; color: var(--np-color-primary); background: #eff7ff; font-size: 13px; line-height: 20px; }
.np-message--field { margin-top: 6px !important; }
.np-message--form { margin-top: 14px !important; }
.np-message--info { color: #355789; color: var(--np-color-info); border-color: #cde3ff; background: #eff7ff; }
.np-message--error { color: #c73843; color: var(--np-color-error); border-color: #ffcaca; background: #fff0f0; }
.np-message--warning { color: #a56b16; color: var(--np-color-warning); border-color: #ffe0a3; background: #fff8e8; }
.np-message--success { color: #168348; color: var(--np-color-success); border-color: #bfe7d0; background: #effaf3; }
.np-checkbox { display: inline-flex; align-items: baseline; font-size: 14px; cursor: pointer; }
.np-checkbox input { width: 16px; height: 16px; margin: 0 8px 0 0; accent-color: #0068ff; }
.np-panel { padding: 24px; border: 1px solid #dcecff; border-radius: 16px; background: #fff; }

/* 登录、注册及后续页面共用的表单组合与弹窗基础。 */
.np-button--block { display: flex; width: 100%; }
.np-link-button { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 0; border: 0; color: #0068ff; color: var(--np-color-primary); background: transparent; font-size: inherit; line-height: inherit; }
.np-text-link { color: #0068ff !important; color: var(--np-color-primary) !important; }
.np-link-button:hover, .np-text-link:hover { color: #0057db !important; text-decoration: underline; text-underline-offset: 3px; }
.np-form-fields { min-width: 0; margin: 0; padding: 0; border: 0; }
.np-input-wrap { position: relative; }
.np-input-wrap--leading .np-input { padding-left: 46px; }
.np-input-wrap--password .np-input { padding-right: 48px; }
.np-input-wrap__icon { position: absolute; top: 50%; left: 15px; transform: translateY(-50%); opacity: .6; pointer-events: none; }
.np-password-toggle { position: absolute; top: 1px; right: 1px; bottom: 1px; display: flex; align-items: center; justify-content: center; width: 44px; padding: 0; border: 0; border-radius: 0 7px 7px 0; background: transparent; }
.np-password-toggle img { opacity: .65; }
.np-password-toggle:hover { background: #edf6ff; }
.np-code-row { display: flex; align-items: stretch; gap: 12px; }
.np-code-row .np-input { flex: 1; min-width: 0; }
.np-code-row .np-button { flex-shrink: 0; padding-right: 18px; padding-left: 18px; white-space: nowrap; }
.np-password-strength { display: flex; width: 62%; margin: 10px auto 0; gap: 4px; }
.np-password-strength > span { flex: 1; color: #555; text-align: center; font-size: 13px; font-weight: 600;}
.np-password-strength i { display: block; height: 8px; margin-bottom: 3px; border-radius: 3px; background: #e1e6ed; }
.np-password-strength[data-level="1"] .is-active i { background: #d48635; }
.np-password-strength[data-level="2"] .is-active i { background: #238bf3; }
.np-password-strength[data-level="3"] .is-active i { background: #168348; }
/* 登录/注册共用紧凑密度，只影响显式使用此变体的表单。 */
.np-auth-compact { --np-auth-control-height: 38px; --np-auth-font-size: 14px; --np-auth-label-size: 13px; --np-auth-field-gap: 8px; --np-auth-label-gap: 4px; }
.np-auth-compact .np-field { margin-bottom: 8px; margin-bottom: var(--np-auth-field-gap); }
.np-auth-compact .np-field__label { margin-bottom: 4px; margin-bottom: var(--np-auth-label-gap); font-size: 13px; font-size: var(--np-auth-label-size); line-height: 1.5; }
.np-auth-compact .np-input, .np-auth-compact .np-select { min-height: 38px; min-height: var(--np-auth-control-height); padding: 6px 12px; font-size: 14px; font-size: var(--np-auth-font-size); line-height: 20px; }
.np-auth-compact .np-input-wrap--leading .np-input { padding-left: 38px; }
.np-auth-compact .np-input-wrap--password .np-input { padding-right: 38px; }
.np-auth-compact .np-input-wrap__icon { left: 12px; width: 16px; height: 16px; }
.np-auth-compact .np-password-toggle { width: 34px; }
.np-auth-compact .np-password-toggle img { width: 17px; height: 17px; }
.np-auth-compact .np-code-row { gap: 8px; }
.np-auth-compact .np-code-row .np-button { min-height: 38px; min-height: var(--np-auth-control-height); padding: 4px 12px; font-size: 12px; line-height: 20px; }
.np-auth-compact .np-checkbox, .np-auth-compact .np-link-button { font-size: 12px; }
.np-auth-compact .np-checkbox input { width: 14px; height: 14px; margin-right: 6px; }
.np-auth-compact .np-message--field { margin-top: 3px !important; font-size: 11px; line-height: 1.5; }
.np-auth-compact .np-message--form { margin-top: 8px !important; padding: 6px 10px; font-size: 12px; line-height: 1.5; }
.np-auth-compact .np-password-strength { margin-top: 5px; }
.np-auth-compact .np-password-strength > span { font-size: 10px; line-height: 1.5; }
.np-auth-compact .np-password-strength i { height: 5px; margin-bottom: 2px; }
@media (max-height: 760px) {
    .np-auth-compact { --np-auth-control-height: 34px; --np-auth-font-size: 13px; --np-auth-label-size: 12px; --np-auth-field-gap: 6px; --np-auth-label-gap: 3px; }
    .np-auth-compact .np-input, .np-auth-compact .np-select { padding-top: 4px; padding-bottom: 4px; }
}
@media (max-height: 640px) {
    .np-auth-compact { --np-auth-control-height: 30px; --np-auth-font-size: 12px; --np-auth-field-gap: 5px; --np-auth-label-gap: 2px; }
    .np-auth-compact .np-input, .np-auth-compact .np-select { padding-top: 3px; padding-bottom: 3px; line-height: 18px; }
}
.np-site.np-modal-open { overflow: hidden; }
.np-modal { position: fixed; inset: 0; z-index: 100; display: flex; padding: 24px; overflow-y: auto; overscroll-behavior: contain; background: rgba(34, 65, 97, .42); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.np-modal__panel { position: relative; flex: 0 1 464px; max-width: 100%; max-height: calc(100vh - 48px); margin: auto; padding: 30px 36px; overflow-y: auto; overscroll-behavior: contain; border: 1px solid #cde3ff; border-radius: 18px; color: #294674; background: #fff; box-shadow: 0 22px 70px rgba(16, 49, 81, .24); animation: np-modal-in .2s ease-out; }
.np-modal__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.np-modal__toolbar h2 { color: #081c50; font-size: 24px; }
.np-modal__close { display: flex; flex-shrink: 0; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 1px solid #cde3ff; border-radius: 50%; background: #fafdff; }
.np-modal__close:hover { background: #e5f4ff; }
@keyframes np-modal-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* 公共页头结构基础；官网标准页头的统一 design 视觉在下方定义。 */
.np-header { position: relative; }
.np-header__inner { display: flex; align-items: center; min-height: 78px; }
.np-header__account-links { display: none; align-items: center; margin-left: auto; gap: 8px; font-size: 16px; white-space: nowrap; }
.np-header--account .np-header__account-links { display: flex; }
.np-header--account .np-header__navigation, .np-header--account .np-menu-toggle { display: none !important; }
.np-header__home-link { display: inline-flex; align-items: center; min-height: 44px; margin-right: 12px; padding-right: 24px; border-right: 1px solid #cde3ff; }
.np-header__home-link img { margin-right: 8px; }
.np-brand { display: flex; flex: 0 0 160px; align-items: center; }
.np-brand img { width: 160px; height: auto; mix-blend-mode: multiply; }
.np-header__navigation { position: relative; z-index: 20; display: flex; align-items: center; justify-content: space-between; flex: 1; margin-left: 12%; }
.np-nav { display: flex; align-items: center; }
.np-nav__item { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-right: 20px; padding: 8px 20px; border: 0; border-radius: 18px; color: #081c50; background: transparent; white-space: nowrap; font-size: 17px; font-weight: 600; transition: color .18s ease, background-color .18s ease; }
.np-nav__item:hover { color: #0068ff; background: rgba(220, 240, 255, .7); }
.np-nav__item.is-current { color: #0068ff; background: #dcefff; }
.np-header__actions { display: flex; align-items: center; white-space: nowrap; }
.np-header__actions > .np-button { margin-left: 8px; }
.np-header__user-menu { position: relative; margin-left: 8px; }
.np-header__user-toggle { display: flex; align-items: center; padding: 5px 8px; border: 1px solid rgba(205, 227, 255, .85); border-radius: 8px; color: #173e79; background: rgba(255, 255, 255, .72); font-size: 14px; font-weight: 600; }
.np-header__user-toggle:hover, .np-header__user-toggle[aria-expanded="true"] { border-color: #a9d1fb; background: #fff; }
.np-header__user-avatar { width: 32px; height: 32px; margin-right: 8px; border-radius: 5px; object-fit: cover; }
.np-header__user-chevron { width: 14px; height: 14px; margin-left: 10px; transform: rotate(90deg); }
.np-header__user-dropdown { position: absolute; top: calc(100% + 8px); right: 0; z-index: 30; width: 152px; padding: 8px; border: 1px solid #d6e9ff; border-radius: 10px; background: #fff; box-shadow: 0 12px 30px rgba(24, 77, 134, .14); }
/* 覆盖头像与下拉层之间的 8px 间隙，鼠标缓慢移入菜单也不会中途收起。 */
.np-header__user-dropdown::before { position: absolute; top: -9px; right: -1px; left: -1px; height: 9px; content: ""; }
.np-header__user-dropdown a { display: block; padding: 8px 10px; border-radius: 6px; color: #294674; font-size: 13px; }
.np-header__user-dropdown a:hover { color: #0068ff; background: #edf7ff; }
.np-header__legacy { display: inline-flex; align-items: center; min-height: 32px; margin-left: 18px; padding: 0 0 0 18px; border: 0; border-left: 1px solid #c5dcf5; color: #42608c; background: transparent; font-size: 13px; }
.np-header__legacy img { margin-left: 7px; opacity: .65; }
.np-menu-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 10px; border: 1px solid #cde3ff; border-radius: 7px; color: #081c50; background: rgba(255, 255, 255, .85); }
.np-menu-toggle__close { display: none !important; }
.np-footer { position: relative; padding: 12px 0 24px; color: #5c7595; font-size: 12px; text-align: center; }
/* 避免公共段落 reset 覆盖版权容器的左右自动外边距。 */
.np-footer > .np-container { margin-right: auto; margin-left: auto; }
/* 备案号沿用页脚正文颜色，仅在悬停与键盘聚焦时给出下划线，避免打断页脚整体观感。 */
.np-footer__record { color: inherit; text-decoration: none; }
.np-footer__record:hover, .np-footer__record:focus-visible { text-decoration: underline; }

/* 共用客服组件：鼠标、触屏和键盘均可展开；内容来自旧站公共页脚。 */
.np-contact { position: fixed; left: 10px; bottom: 10%; z-index: 40; width: 70px; padding: 6px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 16px; color: #fff; background: #304a60; background: linear-gradient(160deg, rgba(54, 80, 101, .96), rgba(34, 57, 77, .96)); box-shadow: 0 8px 22px rgba(16, 49, 81, .18), inset 0 1px 0 rgba(255, 255, 255, .12); }
/* 始终使用同一客服图标；列表向上展开，不移动底部开关。 */
.np-contact__collapse-button { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; min-height: 72px; padding: 10px 0; border: 0; border-radius: 8px; color: #fff; background: transparent; font-size: 12px; line-height: 18px; white-space: nowrap; transition: background-color .18s ease; }
.np-contact__collapse-headset { width: 28px; height: 28px; margin-bottom: 6px; }
.np-contact__collapse-button:hover, .np-contact__collapse-button[aria-expanded="true"] { background: rgba(124, 188, 244, .18); }
.np-contact__content { overflow: visible; }
.np-contact.is-collapsed .np-contact__content { display: none; }
.np-contact__item { position: relative; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.np-contact__action { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; min-height: 72px; padding: 10px 0; border: 0; border-radius: 8px; color: #fff; background: transparent; box-shadow: none; font-size: 12px; font-weight: 400; line-height: 18px; text-align: center; white-space: nowrap; transition: background-color .18s ease; }
.np-contact__action > img { width: 28px; height: 28px; margin: 0 0 6px; object-fit: contain; filter: grayscale(1) brightness(0) invert(1); }
.np-contact__action:hover, .np-contact__action[aria-expanded="true"] { background: rgba(124, 188, 244, .18); }
.np-contact button:focus, .np-contact a:focus { outline-color: #9ad5ff; outline-offset: 2px; }
.np-contact__panel { position: absolute; left: 100%; bottom: 0; z-index: 2; width: 240px; margin-left: 12px; padding: 20px; border: 1px solid #d9e8fa; border-radius: 12px; color: #294674; background: #fff; box-shadow: 0 12px 36px rgba(24, 77, 134, .15); text-align: left; }
.np-contact__panel::before { position: absolute; top: 0; bottom: 0; left: -14px; width: 14px; content: ""; }
.np-contact__panel h2 { margin-bottom: 10px; color: #081c50; font-size: 16px; }
.np-contact__panel .np-button { margin-top: 12px; }
.np-contact__panel--wechat { width: 208px; text-align: center; }
.np-contact__qr { margin: 0 auto 10px; }
.np-contact__hint { margin-top: 10px !important; color: #647c9e; font-size: 12px; line-height: 1.7; }
.np-contact__phone { color: #0068ff !important; font-size: 22px; font-weight: 600; white-space: nowrap; }

@media (max-width: 1350px) {
    .np-header__navigation { margin-left: 6%; }
    .np-nav__item { margin-right: 8px; padding-right: 14px; padding-left: 14px; font-size: 16px; }
    .np-header__legacy { margin-left: 12px; padding-left: 12px; }
    .np-header__actions .np-button { padding-right: 20px; padding-left: 20px; }
}
@media (max-width: 1100px) {
    .np-header__navigation { margin-left: 3%; }
    .np-brand, .np-brand img { width: 140px; flex-basis: 140px; }
    .np-nav__item { margin-right: 3px; padding: 8px 12px; font-size: 15px; }
    .np-header__actions .np-button { padding-right: 14px; padding-left: 14px; }
    .np-header__legacy { padding-left: 10px; margin-left: 10px; }
}
@media (max-width: 960px) {
    .np-header__inner { justify-content: space-between;}
    .np-menu-toggle { display: inline-flex; }
    .np-header__navigation { display: none; position: absolute; top: 74px; right: 4.8%; left: 4.8%; margin: 0; padding: 16px; border: 1px solid #dcecff; border-radius: 16px; background: #fff; box-shadow: 0 12px 36px rgba(24, 77, 134, .15); }
    .np-header.is-menu-open .np-header__navigation { display: block; }
    .np-header.is-menu-open .np-menu-toggle__open { display: none; }
    .np-header.is-menu-open .np-menu-toggle__close { display: block !important; }
    .np-nav { display: block; }
    .np-nav__item { display: flex; width: 100%; margin: 0 0 4px; padding: 12px 16px; border-radius: 7px; text-align: left; justify-content: flex-start; }
    .np-header__actions { justify-content: flex-start; margin-top: 14px; padding-top: 16px; border-top: 1px solid #e3edfa; }
    .np-header__actions > .np-button:first-child { margin-left: 0; }
    .np-contact { left: 8px; bottom: 24px; width: 58px; padding: 4px; border-radius: 12px; }
    .np-contact__collapse-button { min-height: 62px; padding: 8px 0; font-size: 11px; line-height: 16px; }
    .np-contact__collapse-headset { width: 24px; height: 24px; margin-bottom: 5px; }
    .np-contact__action { min-height: 62px; padding: 8px 0; font-size: 11px; line-height: 16px; }
    .np-contact__action > img { width: 24px; height: 24px; margin-bottom: 5px; }
}
@media (max-width: 600px) {
    .np-modal { padding: 12px; }
    .np-modal__panel { max-height: calc(100vh - 24px); padding: 24px; border-radius: 14px; }
    .np-header__account-links { gap: 4px; font-size: 13px; }
    .np-header__account-prompt { display: none; }
    .np-header__home-link { margin-right: 6px; padding-right: 10px; }
    .np-header__home-link img { display: none; }
    .np-code-row { gap: 8px; }
    .np-code-row .np-button { padding-right: 10px; padding-left: 10px; font-size: 14px; }
    .np-container { width: calc(100% - 40px); }
    .np-brand, .np-brand img { width: 132px; flex-basis: 132px; }
    .np-header__user-toggle { padding-right: 8px; padding-left: 8px; font-size: 12px; }
    .np-header__user-avatar { width: 22px; height: 22px; margin-right: 5px; }
    .np-header__user-chevron { margin-left: 5px; }
    .np-header__navigation { right: 20px; left: 20px; }
    .np-contact { bottom: 12px; }
    .np-contact__collapse-button { min-height: 56px; padding: 6px 0; }
    .np-contact__collapse-headset { width: 22px; height: 22px; margin-bottom: 4px; }
    .np-contact__action { min-height: 56px; padding: 6px 0; }
    .np-contact__action > img { width: 22px; height: 22px; margin-bottom: 4px; }
    .np-contact__panel { position: fixed; left: 76px; bottom: 12px; margin: 0; max-width: calc(100vw - 92px); }
    .np-contact__panel::before { display: none; }
    .np-footer { padding-bottom: 100px; font-size: 11px; }
}

/* 标准页头统一使用首页 design 版；注册页保留简洁 account 模式。 */
.np-header:not(.np-header--account) {
    z-index: 30;
    border-bottom: 1px solid #eef3fb;
    background: #fff;
}
.np-header:not(.np-header--account) .np-header__inner { min-height: 68px; }
.np-header:not(.np-header--account) .np-container { width: min(90.4%, 1320px); max-width: 1320px; }
.np-header:not(.np-header--account) .np-brand { flex-basis: auto; gap: 10px; }
.np-header:not(.np-header--account) .np-brand img { width: 150px; mix-blend-mode: normal; }
.np-header:not(.np-header--account) .np-header__navigation {
    justify-content: space-between;
}
.np-header:not(.np-header--account) .np-nav {
    justify-content: flex-start;
    gap: 30px;
}
.np-header:not(.np-header--account) .np-nav__item {
    min-height: 40px;
    margin: 0;
    padding: 6px 15px;
    border-radius: 20px;
    color: var(--np-header-ink);
    font-size: 15px;
    font-weight: 600;
}
.np-header:not(.np-header--account) .np-nav__item:hover {
    color: var(--np-header-blue);
    background: var(--np-header-blue-soft);
}
.np-header:not(.np-header--account) .np-nav__item.is-current {
    padding-right: 24px;
    padding-left: 24px;
    color: #0868e8;
    background: #e4f2ff;
}
.np-header:not(.np-header--account) .np-header__actions {
    margin-left: 0;
    gap: 14px;
    color: var(--np-header-muted);
    font-size: 12.5px;
}
.np-header:not(.np-header--account) .np-header__actions > .np-button--primary {
    min-width: 0;
    min-height: 36px;
    padding: 6px 18px;
    border-radius: 10px;
    color: #fff !important;
    background: var(--np-header-blue);
    font-size: 13px;
    box-shadow: var(--np-header-shadow);
}
.np-header:not(.np-header--account) .np-header__actions > .np-button--primary:hover { background: var(--np-header-blue-hover); }
.np-header:not(.np-header--account) .np-header__actions > .np-button--text {
    min-width: 0;
    min-height: 36px;
    padding: 6px 12px;
    border-radius: 8px;
    color: var(--np-header-muted) !important;
    background: transparent;
    font-size: 13px;
}
.np-header:not(.np-header--account) .np-header__actions > .np-button--text:hover {
    color: var(--np-header-blue) !important;
    background: var(--np-header-blue-soft);
}
.np-header:not(.np-header--account) .np-header__user-toggle { border-radius: 8px; font-size: 13px; }
.np-header:not(.np-header--account) .np-header__legacy {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 30px;
    margin-left: 10px;
    padding: 0 2px;
    border: 0;
    color: #71819a;
    background: transparent;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
    transition: color .18s ease;
}
.np-header:not(.np-header--account) .np-header__legacy:hover { color: var(--np-header-blue); }
.np-header:not(.np-header--account) .np-header__legacy img { width: 13px; height: 13px; margin: 0; opacity: .7; }

/* 在线记账、解决方案、帮助中心和购买服务共用 design 版页面背景。 */
.np-online.np-page--design,
.np-solutions.np-page--design,
.np-help.np-page--design,
.np-purchase.np-page--design {
    background-color: #fff;
    background-image:
        radial-gradient(900px 460px at 78% -6%, rgba(88, 158, 255, .20), transparent 70%),
        radial-gradient(680px 420px at 4% 8%, rgba(120, 185, 255, .14), transparent 70%),
        linear-gradient(180deg, #eaf3ff 0%, #f1f7ff 38%, #f8fbff 70%, #fff 100%);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% 1200px;
}

@media (max-width: 1100px) {
    .np-header:not(.np-header--account) .np-nav { gap: 16px; }
    .np-header:not(.np-header--account) .np-brand img { width: 140px; }
}
@media (max-width: 960px) {
    .np-header:not(.np-header--account) .np-nav__item {
        min-height: 44px;
        padding: 12px 16px;
        border-radius: 7px;
        font-size: 15px;
        justify-content: flex-start;
    }
    .np-header:not(.np-header--account) .np-nav__item.is-current { padding-right: 16px; padding-left: 16px; }
    .np-header:not(.np-header--account) .np-header__actions {
        justify-content: flex-start;
        margin-top: 14px;
        padding-top: 16px;
        border-top: 1px solid #e3edfa;
    }
    .np-online.np-page--design,
    .np-solutions.np-page--design,
    .np-help.np-page--design,
    .np-purchase.np-page--design {
        background-image: linear-gradient(180deg, #eaf3ff 0%, #f5faff 46%, #fff 100%);
        background-size: 100% 640px;
    }
}
@media (max-width: 600px) {
    .np-header:not(.np-header--account) .np-container,
    .np-home--design .np-header:not(.np-header--account) .np-container { width: calc(100% - 40px); }
    .np-header:not(.np-header--account) .np-brand img { width: 132px; }
    .np-online.np-page--design,
    .np-solutions.np-page--design,
    .np-help.np-page--design,
    .np-purchase.np-page--design { background-size: 100% 640px; }
}
@media (prefers-reduced-motion: reduce) {
    .np-site *, .np-site *::before, .np-site *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* 公用等待遮罩：沿用新版色板、圆角、阴影；只在当前页面/iframe 内显示。 */
.np-loading { position: fixed; inset: 0; top: 0; right: 0; bottom: 0; left: 0; z-index: 2147483000; display: flex; align-items: center; justify-content: center; padding: 24px; padding: var(--np-space-6, 24px); background: rgba(229, 244, 255, .72); cursor: wait; overscroll-behavior: contain; touch-action: none; outline: none; }
.np-loading[hidden] { display: none !important; }
.np-loading__panel { display: flex; flex-direction: column; align-items: center; max-width: 100%; padding: 24px 32px; padding: var(--np-space-6, 24px) var(--np-space-8, 32px); border: 1px solid #cde3ff; border-color: var(--np-color-border, #cde3ff); border-radius: 16px; border-radius: var(--np-radius-panel, 16px); background: #fff; background: var(--np-color-surface, #fff); box-shadow: 0 12px 36px rgba(24, 77, 134, .15); box-shadow: var(--np-shadow-panel, 0 12px 36px rgba(24, 77, 134, .15)); }
.np-loading__spinner { display: block; width: 32px; height: 32px; margin-bottom: 16px; margin-bottom: var(--np-space-4, 16px); border: 3px solid #e5f4ff; border-color: var(--np-color-soft, #e5f4ff); border-top-color: #0068ff; border-top-color: var(--np-color-primary, #0068ff); border-right-color: #0068ff; border-right-color: var(--np-color-primary, #0068ff); border-radius: 50%; animation: np-loading-spin .8s linear infinite; }
.np-loading__label { max-width: 100%; color: #294674; color: var(--np-color-text, #294674); font-size: 14px; line-height: 1.6; text-align: center; word-wrap: break-word; overflow-wrap: break-word; }
@keyframes np-loading-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .np-loading__spinner { animation: none; } }
